Resource reservation method, electronic device, storage medium and computer program product

By dynamically allocating the use rights of resource units based on demand images, the problem of insufficient fairness and transparency in resource reservations is solved, intelligent and differentiated management of resource allocation is realized, and resource utilization efficiency and fairness are improved.

CN120354976AActive Publication Date: 2025-07-22BEIJING TRANSPORTATION RES CENT
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510862607.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-25
Publication Date
2025-07-22
Estimated Expiration
2045-06-25

AI Technical Summary

Technical Problem

In the existing resource reservation mechanism, the fairness and transparency of appointment quota allocation are insufficient, making it difficult to take into account the user groups with strong urgency and good historical performance records, resulting in an imbalance in resource allocation and affecting the effective implementation of the resource reservation system.

Method used

By responding to the initiator's demand portrait, the appointment priority is determined, and combining the mapping relationship between the preset priority and the resource level, the use rights of resource units are dynamically allocated, the demand characteristics and resource characteristics are quantified, and the intelligent and differentiated management of resource allocation is realized.

Benefits of technology

It improves resource utilization efficiency, ensures that high-priority users can obtain better resource services when resource tightness is needed, enhances the fairness and flexibility of the system, and is suitable for resource scheduling needs in a variety of complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120354976A_ABST
    Figure CN120354976A_ABST
Patent Text Reader

Abstract

The invention provides a resource reservation method, electronic equipment, a storage medium and a computer program product, and relates to the field of data processing. The resource reservation method comprises the steps that in response to a demand portrait of an initiator of a resource reservation request, the reservation priority of the initiator is determined, the resource reservation request is a request for use permissions of target resources, and the reservation priority represents the sequence of the use permissions of the target resources obtained by the initiator; the reservation priority of the initiator is compared with a first mapping table, the resource level of a resource unit which can be reserved by the initiator in the target resource is determined, and the first mapping table records the corresponding relation between the reservation priority and the resource level; and allocating the use right of the resource unit corresponding to the resource level to the initiator. According to the technical scheme disclosed by the invention, the fairness of resource configuration is ensured while the differentiated requirements are met in the resource reservation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to data processing technologies, and in particular, to a resource reservation method, an electronic device, a storage medium, and a computer program product. Background Art

[0002] The resource reservation mechanism can effectively ensure the rational use of resources, avoid the increase in time costs caused by resource waste or usage congestion, and is also convenient for users to arrange their time. Especially in scenarios such as medical emergencies, transportation, and the use of public facilities, by allocating resources through reservation, the queuing waiting time can be significantly shortened, and the service efficiency and user experience can be improved.

[0003] However, the fairness and transparency of reservation quota allocation are key factors affecting the effective implementation of the resource reservation system. If only the static allocation method of "first come, first served" is adopted, it is difficult to take into account user groups with strong urgency of usage needs and good historical performance records, which is likely to cause an imbalance in resource allocation. Overemphasizing the reservation process itself while ignoring the actual usage situation and differentiated needs may also lead to unfair phenomena. Summary of the Invention

[0004] The present disclosure provides a resource reservation method, an electronic device, a storage medium, and a computer program product.

[0005] According to one aspect of the present disclosure, a resource reservation method is provided, including: determining the reservation priority of the initiator in response to the demand portrait of the initiator of the resource reservation request, where the resource reservation request is a request for the usage right of a target resource, and the reservation priority represents the order in which the initiator obtains the usage right of the target resource; comparing the reservation priority of the initiator with a first mapping table to determine the resource level of the resource unit that the initiator can reserve in the target resource, where the first mapping table records the corresponding relationship between the reservation priority and the resource level; and allocating the usage right of the resource unit corresponding to the resource level to the initiator.

[0006] According to the technical solution of one aspect, by determining the reservation priority of the initiator according to the demand portrait of the initiator and combining the preset mapping relationship between the priority and the resource level, the usage right of the corresponding resource unit is dynamically allocated, thereby realizing the intelligent and differentiated management of resource allocation. This method not only improves the resource utilization efficiency, but also ensures that high-priority users can obtain better resource services in case of resource shortage, enhancing the fairness and flexibility of the system, and having good scalability and practicability, which is applicable to the resource scheduling requirements under various complex scenarios.

[0007] In some embodiments, determining the reservation priority of the initiator includes: converting the demand characteristics of the target resource in the demand portrait into corresponding first characteristic parameters, where the first characteristic parameters can characterize the corresponding demand characteristics; determining the characteristic weights of each demand characteristic; according to the characteristic weights, performing a weighted sum of each of the first characteristic parameters to determine the demand score of the initiator for the resource reservation request; and matching the demand score with the score ranges corresponding to each reservation priority to determine the reservation priority of the initiator for the resource reservation request.

[0008] According to the technical solution of one aspect, by quantifying demand characteristics and calculating the demand score through weighting, the dynamic and accurate division of reservation priorities is realized, improving the scientific nature and personalization level of resource allocation.

[0009] In some embodiments, the demand score , where n represents the total number of demand characteristics, i represents the serial number of the demand characteristic, represents the characteristic weight of the i-th demand characteristic, represents the first characteristic parameter of the i-th demand characteristic.

[0010] In some embodiments, allocating the right to use the resource unit corresponding to the resource level to the initiator includes: determining the number of associated users who have the same reservation priority as the initiator and submit reservation applications for the target resource; and when the number of users is less than or equal to the reservation quota configured for the reservation priority of the resource unit, allocating the right to use the resource unit to the initiator.

[0011] According to the technical solution of one aspect, by combining the comparison of the number of users and the reservation quota, the fair allocation of resources within the same priority is ensured, improving the rationality and execution efficiency of resource scheduling.

[0012] In some embodiments, determining the number of associated users who have the same reservation priority as the initiator and make reservations for the target resource includes: when the number of users is greater than the reservation quota, determining the number of priority users among the associated users whose demand scores are greater than the demand score of the initiator; and when the number of priority users is less than the reservation quota, allocating the right to use the resource unit to the initiator.

[0013] According to the technical solution of one aspect, by introducing a demand score competition mechanism among users with the same priority, more fine-grained resource screening and allocation are realized, improving the success rate of resource allocation for users with high-value demands.

[0014] In some embodiments, after determining the number of priority users among the associated users whose demand scores are greater than the demand score of the initiator, the following steps are included: when the number of priority users is greater than or equal to the reserved quota, determining the remaining quota of the high-level resource units in the target resources whose resource levels are greater than those of the resource units; when there is a remaining quota for the high-level resource units, allocating the usage rights of the high-level resource units to the associated users whose demand scores are greater than the demand score of the initiator; and after the associated users whose demand scores are greater than the demand score of the initiator obtain the usage rights of the high-level resource units, allocating the usage rights of the resource units to the initiator.

[0015] According to the technical solution of one aspect, by dynamically allocating the remaining quota of high-level resource units, the collaborative allocation mechanism between resource levels is optimized, and the overall resource utilization rate and user satisfaction are improved.

[0016] In some embodiments, it further includes: determining the resource levels of the respective resource units in the target resources.

[0017] In some embodiments, determining the resource levels of the respective resource units in the target resources includes: converting the resource characteristics of the target resources into corresponding second characteristic parameters, where the second characteristic parameters can represent the corresponding resource characteristics; configuring characteristic weights for the resource units; according to the characteristic weights, performing weighted summation on each of the second characteristic parameters to determine the level scores of the resource units; and matching the level scores with the score ranges corresponding to each resource level to determine the resource levels of the resource units.

[0018] According to the technical solution of one aspect, by quantifying resource characteristics and calculating level scores through weighting, the refined classification of resource units is realized, and the scientific nature of resource classification and the accuracy of allocation decisions are improved.

[0019] In some embodiments, the level score , where m represents the total number of resource characteristics, j represents the serial number of the resource characteristic, represents the characteristic weight of the jth resource characteristic, represents the second characteristic parameter of the jth resource characteristic.

[0020] In some embodiments, it further includes: configuring reserved quotas for the resource units for users with each reservation priority.

[0021] In some embodiments, reservation quotas for users of each reservation priority with respect to the resource unit are configured, including: determining the bearable capacity of the resource unit according to the physical characteristics of the resource unit; multiplying the adaptation coefficients in the first mapping table by the bearable capacity to determine the reservation quotas for users with the reservation priority in the bearable capacity, where the first mapping table includes a plurality of adaptation coefficients, and the adaptation coefficient represents the proportion of the number of users with the reservation priority to the bearable capacity.

[0022] According to the technical solution of one aspect, by dynamically allocating reservation quotas by combining the physical characteristics of the resource unit with the adaptation coefficients, a reasonable division and efficient utilization of the resource bearing capacity are achieved, and the flexibility and adaptability of resource allocation are improved.

[0023] In some embodiments, after allocating the right to use the resource unit corresponding to the resource level to the initiator, it includes: determining the performance status of the initiator.

[0024] In some embodiments, after determining the performance status of the initiator, it includes: adjusting the adaptation coefficients in the first mapping table according to the performance status of all the initiators.

[0025] According to the technical solution of one aspect, by dynamically adjusting the adaptation coefficients according to the user performance status, real-time optimization and self-correction of the resource allocation strategy are achieved, and the stability of system operation and the intelligent level of resource allocation are improved.

[0026] According to another aspect of the present disclosure, an electronic device is provided, including: a memory that stores execution instructions; and a processor that executes the execution instructions stored in the memory, so that the processor executes the resource reservation method of any embodiment of the present disclosure.

[0027] According to still another aspect of the present disclosure, a readable storage medium is provided, in which execution instructions are stored, and when the execution instructions are executed by a processor, they are used to implement the resource reservation method of any embodiment of the present disclosure.

[0028] According to yet another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, it implements the resource reservation method of any embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings illustrate exemplary embodiments of the present disclosure and, together with the description thereof, are used to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure, and the drawings are included in this specification and form a part of this specification.

[0030] Figure 1 Schematic diagram of the application scenario of the resource reservation method according to an embodiment of the present disclosure.

[0031] Figure 2 Flowchart of the resource reservation method according to an embodiment of the present disclosure.

[0032] Figure 3 Flowchart of obtaining the usage permission of the resource unit according to an embodiment of the present disclosure.

[0033] Figure 4 Schematic diagram of a target resource according to an embodiment of the present disclosure.

[0034] Figure 5 Structural schematic block diagram of the resource reservation device according to an embodiment of the present disclosure.

[0035] Figure 6 Structural schematic block diagram of an electronic device according to an embodiment of the present disclosure. Detailed implementation manners

[0036] The present disclosure will be further described in detail below with reference to the accompanying drawings and examples. It can be understood that the specific examples described herein are only used to explain the relevant content, rather than limiting the present disclosure. In addition, it should be noted that, for the sake of convenience of description, only the parts related to the present disclosure are shown in the drawings.

[0037] It should be noted that, without conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The technical solutions of the present disclosure will be described in detail below with reference to the drawings and in combination with the embodiments.

[0038] The resource reservation mechanism can effectively ensure the reasonable utilization of resources, avoid the increase in time costs caused by resource waste or usage congestion, and is also convenient for users to arrange their time. Especially in scenarios such as medical emergencies, transportation, and public facility use, the allocation of resources through the reservation method can significantly shorten the queuing waiting time and improve service efficiency and user experience.

[0039] However, the fairness and transparency of the reservation quota allocation are the key factors affecting the effective implementation of the resource reservation system. If only the static allocation method of "first come, first served" is adopted, it is difficult to take into account the user groups with strong urgency of usage needs and good historical performance records, which is likely to cause an imbalance in resource allocation. Overemphasizing the reservation process itself while ignoring the actual usage situation and differentiated needs may also lead to unfair phenomena. For example, in an emergency, if special vehicles such as ambulances and fire trucks cannot obtain priority dispatching rights, serious consequences may occur. Therefore, constructing a resource reservation and allocation mechanism that takes into account fairness, flexibility, and emergency response capabilities is of great significance for improving the overall operation efficiency of public resources.

[0040] Figure 1 This is a schematic diagram of the application scenario of the reservation resource method according to an embodiment of the present disclosure. As Figure 1 shown, in this application scenario, it may include a server 100 and a terminal device 200. The server 100 and the terminal device 200 can be connected through a network to perform data interaction. The server 100 can be a cloud server or a physical server, and the terminal device 200 can be an intelligent device such as a computer, a mobile phone, or a tablet. The server 100 can receive requests from the terminal device 200. For example, in this application, it can receive a reservation request from the initiator and run the resource reservation method of the present disclosure. In addition, the server 100 can provide reservation-related information to the terminal device 200.

[0041] For this reason, the present disclosure proposes a reservation resource method.

[0042] Figure 2 This is a flowchart of the reservation resource method according to an embodiment of the present disclosure. As Figure 2 shown, through steps S210 to S230, the resource level that the initiator can enjoy is determined according to the specific needs and circumstances of the initiator, and the corresponding level of resources is preferentially allocated to the initiator. This method ensures that users with a higher reservation priority can enjoy higher-level resources, while meeting differentiated needs and ensuring the fairness of resource allocation.

[0043] Step S210: Determine the reservation priority of the initiator in response to the demand profile of the initiator of the resource reservation request.

[0044] The resource reservation request is a request from the initiator for the usage right of the target resource. The target resource is the target space in the target time period, which is a two-dimensional concept of time and space. The resource reservation request usually includes the target resource to be used and the demand profile of the initiator. The target resource can also be further divided into multiple resource units according to the spatial granularity. Assuming that the section from point V to point W is used as the target resource, then there are multiple lanes in this section, and each lane has a different resource level according to its width, the number of allowed passing directions at intersections, etc.

[0045] The demand profile may include the initiator's purpose of use, purpose flexibility, historical performance record, willingness to pay, usage mode, social attributes of the initiator, etc. The purpose of use may be first aid, law enforcement, examinations, leisure, work commuting, etc. The purpose flexibility may be fixed, ordinary, free, etc., and may also include more subtle flexibility divisions, which will not be listed one by one here. The historical performance record may be the actual performance status of the initiator on the resources for which the usage permission is obtained in history. The performance status may be full performance, partial performance, non-performance, etc. The performance rate of the initiator can be calculated based on the historical performance record. The willingness to pay represents the proportion that the initiator is willing to pay for the target resources. For example, the initiator is willing to pay 1.5 times the original price for the usage fee, etc. The usage mode may be traveling by electric vehicle, traveling by gasoline vehicle, etc. The social attributes of the initiator may be disabled persons, the elderly, children, ordinary people, etc. Of course, the demand profile may also include other information, which will not be listed one by one here.

[0046] Based on the demand profile, various demand characteristics of the initiator can be determined. Then, according to the first characteristic parameter of these demand characteristics, the demand score of the initiator is determined. Furthermore, based on the demand score, a corresponding reservation priority is matched for the initiator.

[0047] The reservation priority represents the order in which the initiator obtains the usage permission of the target resources. Moreover, the reservation priority is also used to define the level of the target resources that the initiator can use, so that users with a higher reservation priority can enjoy higher-level resources, while ensuring the fairness of resource allocation while meeting differentiated demands.

[0048] In addition, when the same initiator makes reservations for different target resources, since the purpose of use, purpose flexibility, etc. are all different, its reservation priority is dynamically changing.

[0049] Step S202: Compare the reservation priority of the initiator with the first mapping table to determine the resource level of the resource unit that the initiator can reserve in the target resources.

[0050] The first mapping table records the corresponding relationship between the reservation priority and the resource level, and also records the proportion of the number of places allocated to users with different reservation priorities by the resource units at each resource level, that is, the proportion of the number of users with reservation priorities in the carrying capacity. The first mapping table should be determined based on the usage situation of the users for this resource or resources with similar attributes in the historical same period, as well as the actual physical state of the resources.

[0051] In the first mapping table, the reservation priority corresponds to the resource level. The resource units of each resource level can correspond to users with multiple reservation priorities; users with each reservation priority can use resource units of multiple resource levels. Suppose the reservation priorities are levels 1, 2, and 3, and the resource levels are categories a, b, and c. The corresponding relationship between the two can be that the resource units of resource level a can be allocated to users with reservation priorities 1 and 2; the resource units of resource level b can be allocated to users with reservation priorities 1, 2, and 3; the resource units of resource level c can be allocated to users with reservation priorities 2 and 3, etc.

[0052] Further, when it is clear that the reservation priority of the initiator is 1, by querying the first mapping table, it can be determined that the resource units it can reserve are a and b.

[0053] Step S230, allocate the right to use the resource units corresponding to the resource level to the initiator.

[0054] Specifically, determine the number of users of the associated users who have the same reservation priority as the initiator and submit reservation applications for the target resource; and when the number of users is less than or equal to the reservation quota configured for the reservation priority of the resource unit, allocate the right to use the resource unit to the initiator.

[0055] When the number of users is greater than the reservation quota, determine the number of priority users among the associated users whose demand scores are greater than the demand score of the initiator; and when the number of priority users is less than the reservation quota, allocate the right to use the resource unit to the initiator. When the number of priority users is greater than or equal to the reservation quota, determine the remaining quota of the high-level resource units in the target resource whose resource levels are higher than that of the resource unit; when there is a remaining quota for the high-level resource units, allocate the right to use the high-level resource units to the associated users whose demand scores are greater than the demand score of the initiator; and after the associated users whose demand scores are greater than the demand score of the initiator obtain the right to use the high-level resource units, allocate the right to use the resource unit to the initiator.

[0056] That is to say, when there is a remaining quota for the resource units corresponding to the resource level, allocate the right to use the resource unit to the initiator. During the allocation process, the resource units should be allocated to each initiator in the order of the initiator's reservation priority. For example, allocate the resource units to the initiators with higher reservation priorities first, and then to the initiators with lower reservation priorities to ensure that the initiators with higher reservation priorities obtain resources first.

[0057] Figure 3 It is a flowchart for obtaining the right to use resource units according to an embodiment of the present disclosure. The following combines Figure 3 Describe the process of the initiator obtaining the right to use the resource unit.

[0058] In step S311, determine the resource levels of each resource unit.

[0059] Determine whether the resource for reservation can be divided into multiple resource units. That is, judge whether the physical structure of the resource has the condition of being divided into multiple independent resource units. Taking a commuter bus as an example, each independent seat can be used as a resource unit; for a road section, each lane in the road section can be used as a resource unit.

[0060] If a certain resource does not have the condition of being divided into multiple resource units, determine the overall resource level of this resource. When the resource can be divided into resource units, then determine the resource levels of each resource unit.

[0061] Figure 4 It is a schematic diagram of a target resource according to an embodiment of the present disclosure. As Figure 4 shown, it shows a schematic diagram of the structure of lane resource 400. Lane resource 400 includes three lanes pointing in the same direction, namely lane A, lane B, and lane C. The three lanes are independent of each other, so the three lanes can be used as three independent resource units respectively. When the initiator submits a resource reservation application, it only needs to submit lane resource 400 as the target resource, and does not need to specify a specific lane.

[0062] Specifically, obtain the resource characteristics of the resource unit. The resource characteristics can be one or more of time granularity, space granularity, tolerance, stability level, and service treatment. Of course, other resource characteristics can also be included, which are not limited here.

[0063] Among them, the space granularity is the space range of the resource unit, such as a lane, a turnstile, a seat, etc.; the time granularity is the time span of the resource unit, such as 8:00 to 10:00 during the morning rush hour. The tolerance is the tolerance for the deviation when the user uses the resource unit; the stability level is the stability level of the resource unit that can be used for reservation. The higher the stability level, the less likely the resource unit cannot be used for reservation due to special circumstances; the service treatment represents the user's experience when using the resource unit, such as guiding service, etc.

[0064] Convert the resource characteristics of the target resource into corresponding second characteristic parameters, where the second characteristic parameters can characterize the corresponding resource characteristics; configure characteristic weights for the resource units; according to the characteristic weights, perform weighted summation on each second characteristic parameter to determine the level score of the resource unit; and match the level score with the score ranges corresponding to each resource level to determine the resource level of the resource unit.

[0065] The second characteristic parameter is actually the quantization result of the resource characteristic. For example, the larger the space granularity, the larger the corresponding second characteristic parameter; the higher the stability level, the higher the corresponding second characteristic parameter, etc. The quantization criteria for each resource characteristic are not limited here.

[0066] wherein, the level score , wherein, m represents the total number of resource characteristics, j represents the serial number of the resource characteristic, represents the characteristic weight of the j-th resource characteristic, represents the second characteristic parameter of the j-th resource characteristic.

[0067] It should be noted that the characteristic weight is directly proportional to the influence of the corresponding resource characteristic on the resource level, and can be adjusted according to the actual reservation situation and performance status.

[0068] The score range of different resource levels can be determined according to requirements and is not limited here. For example, if the level score Q calculated for a certain resource unit is 81 points, and the score range for the resource unit of resource level a in this reserved resource is set to 80 to 100, then it indicates that this resource unit is of resource level a.

[0069] In step S321, determine the first mapping table.

[0070] The first mapping table records the corresponding relationship between the reservation priority and the resource level, and also records the proportion of the number of places allocated to users with different reservation priorities by the resource units of each resource level, that is, the proportion of the number of users with reservation priority in the carrying capacity. The first mapping table should be determined according to the usage situation of the user for this resource or resources with similar attributes in the historical same period, and the actual physical state of the resource.

[0071] Table 1 Table 1 is the first mapping table, which records the corresponding relationship between the resource level and the reservation priority. When the resource units of the reserved resource are only divided into three levels a, b, and c and the reservation priority is only 1, 2, and 3, a 3×3 adaptation matrix can be extracted from the first mapping table. That is, the adaptation matrix . Among them, the element 0.9 in the first row and the first column of the adaptation matrix K means that 90% of the reservation places in the resource unit of resource level a are allocated to users with reservation priority 1; the element 0.1 in the first row and the second column means that 10% of the reservation places in the resource unit of resource level a are allocated to users with reservation priority 2; the element 0 in the first row and the third column means that the resource unit of resource level a does not allocate places to users with reservation priority 3, and the meanings of the remaining elements are the same and will not be listed one by one here.

[0072] In step S322, determine the reservation places provided by each resource unit for different reservation priorities.

[0073] According to the distribution of resource units in the resources, determine the carrying capacity of each resource unit. For example, in a commuter bus, there are 20 seats of resource level a, 20 seats of resource level b, and 10 seats of resource level c.

[0074] Then, according to the adaptation coefficients in the first mapping table, determine the reservation quotas configured for users with different reservation priorities for resource units of each resource level. Still taking the commuter bus as an example, the seats of resource level a reserve 20×0.9 reservation quotas for users with reservation priority 1, that is, 18 reservation quotas; similarly, the seats of resource level a reserve 2 reservation quotas for users with reservation priority 2.

[0075] In step S331, obtain a resource reservation request. That is, obtain the resource reservation request proposed by the initiator through the reservation platform. The resource reservation request may include the demand profile of the initiator and the target resource to be reserved.

[0076] In step S332, determine the reservation priority of the initiator.

[0077] Convert the demand characteristics regarding the target resource in the demand profile into corresponding first characteristic parameters, where the first characteristic parameters can characterize the corresponding demand characteristics; determine the characteristic weights of each demand characteristic; according to the characteristic weights, perform a weighted sum of each first characteristic parameter to determine the demand score of the initiator regarding the resource reservation request; and match the demand score with the score ranges corresponding to each reservation priority to determine the reservation priority of the initiator regarding the resource reservation request.

[0078] Demand score , where n represents the total number of demand characteristics, i represents the serial number of the demand characteristic, represents the characteristic weight of the i-th demand characteristic, represents the first characteristic parameter of the i-th demand characteristic.

[0079] The demand profile at least includes the initiator's purpose of use, purpose flexibility, historical performance record, willingness to pay, usage method, social attributes of the initiator, etc. And based on these demand profiles, the demand characteristics of the initiator can be further determined. For example, according to the purpose of use, determine the urgency of the reservation; evaluate the resource suitability between the target resource and the purpose of use; according to the resource reservation requests of all users, determine the efficiency gain for the whole when the request of this initiator is satisfied; according to the usage method, determine the external impacts when using the resource in this way, including social benefits such as exhaust gas, energy consumption, congestion time, etc.; according to the historical performance record, count the historical credit of this initiator. Among them, purpose flexibility, social attributes, etc. can be directly used as demand characteristics.

[0080] The first characteristic parameter is actually the quantification result of the demand characteristics. For example, the urgency level U ∈ [0, 1]. When the purpose of use is first aid, U can be 1; when the purpose of use is law enforcement, U can be 0.7; when the purpose of use is for leisure and entertainment, U can be 0.3. Similarly, the purpose elasticity F ∈ [0, 1]. When the purpose elasticity is fixed, F can be 0.9; when the purpose elasticity is free, F can be 0.1; when the purpose elasticity is ordinary, F can be 0.5. The resource adaptability R ∈ [0, 1] is mainly used to measure the adaptation ratio of the demand in each resource unit of the reserved resources. For example, if the traveler travels by motor vehicle and 3 out of the 4 lanes of the target resource are motor vehicle lanes, then the adaptability is 75%. The historical credit H ∈ [0, 1] is a comprehensive score based on the punctuality rate, performance rate, and number of defaults of the initiator. For example, H = punctuality rate × 0.7 + performance rate × 0.3. The willingness to pay W ∈ [0, +∞). Suppose the benchmark price for using a certain resource is 100 yuan, and the initiator is willing to pay 1.5 times the price for the usage fee of the resource, that is, 150 yuan, then W is 1.5. Of course, in order to avoid unfairness caused by excessive premium, a premium interval can be set for W. The efficiency gain S ∈ [0, 1]. For example, if carpooling is accepted, S is 0.8; if taking the bus is accepted, S is 1, etc.; the external influence E ∈ [0, 1]; the social attribute A ∈ [0, 1]. For example, for disabled people, A is 1; for the elderly and infants, A is 0.5; for ordinary people, A is 0.

[0081] For example, a doctor needs to travel across cities due to an emergency. At this time, U is 1; the purpose elasticity is fixed, so F = 0.9; most of the reserved dedicated lanes are adapted, so R = 0.8; the historical credit is good, so H = 0.9; willing to pay 2 times the fee, so W = 2; does not accept carpooling, so S = 0.4; uses an electric vehicle, then = 0.2, = 0; the social attribute is ordinary, so S is 0. And, the characteristic weight set for U is 0.25, the characteristic weight set for F is 0.15, the characteristic weight configured for R is 0.1, the characteristic weight configured for W is 0.15, the characteristic weight configured for S is 0.1, the characteristic weight configured for E is 0.05, and the characteristic weight configured for A is 0.1.

[0082] . Among them, P is the demand score; U is the urgency level, and the characteristic weight of U is 0.25; F is the purpose elasticity, and the characteristic weight of F is 0.15; R is the resource adaptability, and the characteristic weight of R is 0.1; H is the historical credit, and the characteristic weight of H is 0.1; W is the willingness to pay, and the characteristic weight of the willingness to pay is 0.15. The willingness to pay has a premium interval, and the upper limit of the premium interval is , can be set to 2. When calculating P, take W and The minimum value in it, min is the minimum value function; S is the efficiency gain, and the characteristic weight of S is 0.1; E represents the parameter of external influence, and the characteristic weight of E is 0.05. It represents the parameter value regarding the environmental protection dimension in the external influence. It represents the parameter value regarding the congestion dimension in the external influence; A is the parameter value of the social attribute, and the characteristic weight of A is 0.1. At this time, in the previous example, P is 0.905. Of course, in different scenarios, the weight parameters of each demand characteristic can be other values, which are not restricted here.

[0083] If the range of reservation priority 1 is from 0.8 to 1, since 0.905 is between 0.8 and 1, the reservation priority of this initiator is 1.

[0084] Of course, if the demand portrait of the initiator is incomplete, resulting in some demand characteristics not being obtainable from the demand portrait, default values can be adopted; or, it can be evaluated according to the historical reservation information of this initiator, which will not be elaborated here.

[0085] Furthermore, execute step S341 to determine the resource level that the initiator can use.

[0086] That is to say, after determining the reservation priority of the initiator, use the first mapping table to find the resource level corresponding to this reservation priority. For example, if the reservation priority is 1, it can be determined through table lookup that the resource levels it can use are a and b.

[0087] In step S342, determine whether there are remaining quotas for this resource level.

[0088] Specifically, after obtaining all the resource reservation applications for the target resource, count the reservation priorities of these users. Allocate the usage rights of the target resource to the users one by one in the order of reservation priority. Until it is the turn to allocate to the initiator, determine whether there are remaining quotas for the highest-level resource unit among the reservation resources that the initiator can use. If there are no remaining quotas, then determine in turn whether there are remaining quotas for the resource units of the remaining levels in the order of the resource levels it can use.

[0089] If there are no remaining places that can be allocated to the initiator, step S344 is executed to determine whether there are remaining places in the high-level resource unit. The high-level resource unit is a resource unit whose resource level is higher than the resource level that the initiator can use. If there are remaining places in the high-level resource unit, step S345 is executed to allocate the remaining places in the high-level resource unit to the remaining users who have the same reservation priority as the initiator but have a higher demand score than the initiator. Then, if there are still remaining places in the high-level resource unit, the usage right of the high-level resource unit is allocated to the initiator; or, the usage right of the resource unit that the remaining users have vacated and that the initiator could originally use is allocated to the initiator.

[0090] If there are remaining places that can be allocated to the initiator, step S343 is executed to determine whether the number of priority users is greater than or equal to the remaining places. The number of priority users is the number of the remaining users who have the same reservation priority as the initiator but have a higher demand score than the initiator. In other words, when there are remaining places in the resource unit that the initiator can use and all the reserved users have the same reservation priority, the allocation order is determined according to the demand score. If the number of priority users is greater than or equal to the remaining places, step S344 is executed to determine whether there are remaining places in the high-level resource unit.

[0091] Conversely, if the number of priority users is less than the remaining places, step S345 is executed to allocate the usage right of the resource unit to the initiator.

[0092] Furthermore, if there are no remaining places in the high-level resource unit, step S346 is executed to allocate new resource units for the initiator. In some embodiments, resource units with relatively lower resource levels can also be allocated to the initiator. However, when determining the first mapping table, places for resource units with lower levels have usually been allocated to users with each reservation priority. For example, 20% of the reservation places for resource units of resource level b are reserved for users with reservation priority 1.

[0093] Among them, the new resource unit is different from the resource unit in the target time period and can also be a resource unit among the remaining resources in the same target time period. For example, if there are no remaining places in lane resource 400 between 8:00 and 8:30, the corresponding lane of lane resource 400 between 8:30 and 9:00 can be allocated for the initiator.

[0094] After allocating the usage right of the target resource to the initiator, step S347 is executed to verify the performance of the initiator and determine its performance status. The performance status includes full performance, partial performance, non-performance, etc.

[0095] Further, according to the performance status, step S348 is executed to adjust the adaptation coefficient of the first mapping table. That is, according to the performance status of each user in the current reservation period, the matching relationship and adaptation coefficient between the resource level and the reservation priority are adjusted so that the first mapping table better conforms to the actual reservation requirements.

[0096] Of course, the credit score can also be updated for the initiator according to the initiator's performance status to keep the historical credit H continuously valid.

[0097] This solution determines the reservation priority of the initiator according to the demand portrait of the initiator, and combines the preset mapping relationship between the priority and the resource level to dynamically allocate the use right of the corresponding resource unit, thus realizing the intelligent and differentiated management of resource allocation. This method not only improves the resource utilization efficiency, but also ensures that high-priority users can obtain better resource services in case of resource shortage, enhances the fairness and flexibility of the system, has good scalability and practicability, and is applicable to the resource scheduling requirements in a variety of complex scenarios.

[0098] Figure 5 It is a structural schematic diagram of a reservation resource device according to an embodiment of the present disclosure. As Figure 5 shown, the present disclosure provides a reservation resource device 500, including: a priority determination module 510, configured to determine the reservation priority of the initiator in response to the demand portrait of the initiator of the resource reservation request, where the resource reservation request is a request for the use right of the target resource, and the reservation priority represents the order in which the initiator obtains the use right of the target resource; a resource level determination module 520, configured to compare the reservation priority of the initiator with the first mapping table to determine the resource level of the resource unit that the initiator can reserve in the target resource, where the first mapping table records the corresponding relationship between the reservation priority and the resource level; and an allocation module 530, configured to allocate the use right of the resource unit corresponding to the resource level to the initiator.

[0099] The reservation resource device 500 of the present disclosure may be in the form of computer software, and each module of the reservation resource device 500 may be in the form of a computer software module.

[0100] Each module of the reservation resource device 500 of the present disclosure is set to implement each step of the reservation resource method, and its execution principle and steps can be referred to the foregoing, and will not be elaborated herein.

[0101] Figure 6 It is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. As Figure 6As shown, the present disclosure also provides an electronic device 1000, including: a processor 1200 and a memory 1300, where the memory 1300 stores execution instructions; the processor 1200 executes the execution instructions stored in the memory 1300, such that the processor 1200 executes the method for reserving resources.

[0102] The hardware structure of the electronic device 1000 can be implemented using a bus architecture. The bus architecture can include any number of interconnected buses and bridges, depending on the specific application of the hardware and the overall design constraints. The bus 1100 connects various circuits including one or more processors 1200, a memory 1300, and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripheral devices, voltage regulators, power management circuits, external antennas, etc.

[0103] The bus 1100 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Component (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one connection line is shown in this figure, but it does not mean there is only one bus or one type of bus.

[0104] The present disclosure also provides a readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, it is used to implement the above method. The "readable storage medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples of the readable storage medium include the following: an electrical connection part (electronic device) having one or more wirings, a portable computer disk cartridge (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM), etc.

[0105] The present disclosure also provides a computer program product. The method of the present disclosure can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed, the processes or functions of the present disclosure are executed in whole or in part.

[0106] Computer programs or instructions can be stored in a readable storage medium or transmitted from one readable storage medium to another. For example, the computer programs or instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired or wireless manner. The readable storage medium can be any available medium that can be accessed or a data storage device such as a server or data center integrating one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile types of storage media.

[0107] Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, an electronic device, a readable storage medium, or a computer program product. Therefore, the present disclosure can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0108] The present disclosure is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present disclosure. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or combinations of blocks.

[0109] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device that implements the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or combinations of blocks.

[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable apparatus to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in one process or multiple processes and / or one block or multiple blocks. Figure 1 One process or multiple processes and / or Figure 1 blocks. The steps for implementing the functions specified in one block or multiple blocks.

[0111] In the description of this specification, the descriptions with reference to the terms "one embodiment / way", "some embodiments / ways", "example", "specific example", or "some examples", etc. mean that the specific features, structures, or characteristics described in connection with the embodiment / way or example are included in at least one embodiment / way or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / way or example. Moreover, the specific features, structures, or characteristics described can be combined in a suitable manner in any one or more embodiments / ways or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments / ways or examples described in this specification and the features of different embodiments / ways or examples.

[0112] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" can explicitly or implicitly include at least one of the features. In the description of the present disclosure, "a plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0113] Those skilled in the art should understand that the above embodiments are only for clearly explaining the present disclosure and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications can be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.

[0114] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0115] For example, when a user's active request is received, a prompt message is sent to the user to clearly prompt the user that the operation requested to be executed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application program, server, or storage medium that executes the operations of the technical solutions of the present disclosure according to the prompt message.

[0116] As an optional but non-limiting implementation manner, in response to receiving an active request from a user, the manner of sending a prompt message to the user may be, for example, a pop-up window manner, and the prompt message may be presented in text in the pop-up window. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0117] It can be understood that the above notification and the process of obtaining user authorization are only illustrative and do not constitute a limitation on the implementation manner of the present disclosure. Other manners that meet relevant laws and regulations can also be applied to the implementation manner of the present disclosure.

[0118] Meanwhile, it can be understood that the data involved in the technical solution of the present disclosure (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the corresponding laws, regulations and related provisions.

Claims

1. A resource reservation method, characterized in that, Including: In response to the demand portrait of the initiator of the resource reservation request, determining the reservation priority of the initiator, where the resource reservation request is a request for the usage right of a target resource, and the reservation priority represents the order in which the initiator obtains the usage right of the target resource; Comparing the reservation priority of the initiator with a first mapping table to determine the resource level of the resource unit that the initiator can reserve in the target resource, where the first mapping table records the corresponding relationship between the reservation priority and the resource level; And Allocating the usage right of the resource unit corresponding to the resource level to the initiator.

2. The resource reservation method according to claim 1, wherein Determining the reservation priority of the initiator includes: Converting the demand characteristics regarding the target resource in the demand portrait into corresponding first characteristic parameters, where the first characteristic parameters can represent the corresponding demand characteristics; Determining the characteristic weights of each demand characteristic; According to the characteristic weights, performing weighted summation on each of the first characteristic parameters to determine the demand score of the initiator regarding the resource reservation request; and Matching the demand score with the score ranges corresponding to each reservation priority to determine the reservation priority of the initiator regarding the resource reservation request.

3. The resource reservation method according to claim 2, wherein The required score , where n represents the total number of requirement features, i represents the serial number of the requirement feature, represents the feature weight of the i-th requirement feature, represents the first feature parameter of the i-th requirement feature.

4. The resource reservation method according to claim 1, wherein Allocating the usage right of the resource unit corresponding to the resource level to the initiator includes: Determining the number of associated users who have the same reservation priority as the initiator and have submitted a reservation application for the target resource; and When the number of users is less than or equal to the reservation quota configured for the reservation priority of the resource unit, allocating the usage right of the resource unit to the initiator.

5. The resource reservation method according to claim 4, wherein Determining the number of associated users who have the same reservation priority as the initiator and have reserved the target resource includes: When the number of users is greater than the reservation quota, determining the number of priority users among the associated users whose demand scores are greater than the demand score of the initiator; and When the number of priority users is less than the reservation quota, allocating the usage right of the resource unit to the initiator.

6. The resource reservation method according to claim 5, wherein After determining the number of priority users among the associated users whose demand scores are greater than the demand score of the initiator, it includes: When the number of priority users is greater than or equal to the reservation quota, determining the remaining quota of the high-level resource unit in the target resource whose resource level is higher than that of the resource unit; When there is a remaining quota for the high-level resource unit, allocating the usage right of the high-level resource unit to the associated users whose demand scores are greater than the demand score of the initiator; and After the associated users whose demand scores are greater than the demand score of the initiator obtain the usage right of the high-level resource unit, allocating the usage right of the resource unit to the initiator.

7. The resource reservation method according to claim 1, wherein It also includes: Determining the resource level of each resource unit in the target resource.

8. The resource reservation method according to claim 7, wherein Determining the resource level of each resource unit in the target resource includes: Converting the resource characteristics of the target resource into corresponding second characteristic parameters, where the second characteristic parameters can represent the corresponding resource characteristics; Configuring characteristic weights for the resource unit; Based on the described feature weights, perform weighted summation on each of the second feature parameters to determine the level score of the resource unit; and Match the level score with the score ranges corresponding to each resource level to determine the resource level of the resource unit.

9. The resource reservation method according to claim 8, characterized in that The level score , where m represents the total number of resource features, j represents the serial number of the resource feature, represents the feature weight of the j-th resource feature, represents the second feature parameter of the j-th resource feature.

10. The resource reservation method according to claim 8, wherein Further includes:[[]] Configure reservation quotas for users with each reservation priority regarding the resource unit.

11. The resource reservation method according to claim 10, characterized in that, Configuring reservation quotas for users with each reservation priority regarding the resource unit includes:[[]] Determine the load capacity of the resource unit according to the physical characteristics of the resource unit; Multiply the adaptation coefficient in the first mapping table by the load capacity to determine the reservation quota for users with the reservation priority in the load capacity. The first mapping table includes multiple adaptation coefficients, and the adaptation coefficient represents the proportion of the number of users with the reservation priority to the load capacity.

12. The resource reservation method according to claim 1, wherein, After allocating the right to use the resource unit corresponding to the resource level to the initiator, includes:[[]] Determine the performance status of the initiator.

13. The resource reservation method according to claim 12, wherein After determining the performance status of the initiator, includes:[[]] Adjust the adaptation coefficient in the first mapping table according to the performance status of all the initiators.

14. An electronic device, characterized in that, Includes:[[]] A memory that stores execution instructions; And A processor that executes the execution instructions stored in the memory, enabling the processor to execute the resource reservation method according to any one of claims 1 to 13.

15. A readable storage medium, characterized in that, Execution instructions are stored in the readable storage medium, and when the execution instructions are executed by a processor, they are used to implement the resource reservation method according to any one of claims 1 to 13.

16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the resource reservation method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Information processing method, server and computer storage medium

    CN108875291A

  • Multi-priority cross-domain resource reservation integration service guarantee method

    CN108924054A

  • Resource allocation method and device

    CN119130543A

  • Coordination system and method for intelligent appointment treatment of daytime chemotherapy

    CN119132540A

  • Intelligent online reservation management system

    CN119227883A