CN118012633B - Resource allocation method and system for high-office public sports courses - Google Patents
Resource allocation method and system for high-office public sports courses Download PDFInfo
- Publication number
- CN118012633B CN118012633B CN202410427746.4A CN202410427746A CN118012633B CN 118012633 B CN118012633 B CN 118012633B CN 202410427746 A CN202410427746 A CN 202410427746A CN 118012633 B CN118012633 B CN 118012633B
- Authority
- CN
- China
- Prior art keywords
- occupation information
- resource occupation
- resource
- scene
- data item
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000013468 resource allocation Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000012217 deletion Methods 0.000 claims description 12
- 230000037430 deletion Effects 0.000 claims description 12
- 230000004083 survival effect Effects 0.000 claims description 12
- 238000010276 construction Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 8
- 238000012937 correction Methods 0.000 claims description 6
- 230000006698 induction Effects 0.000 claims description 6
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 230000002688 persistence Effects 0.000 claims description 5
- 230000014759 maintenance of location Effects 0.000 claims description 4
- 238000012549 training Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000000638 solvent extraction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000002068 genetic effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of resource allocation, in particular to a resource allocation method and a system for a high-position public sports course, which are used for collecting resource occupation information of a resource occupation information system in a current allocation area, determining current resource occupation information utilization rate data items according to the resource occupation information, collecting an allocation trigger scene of the resource occupation information, and allocating the resource occupation information utilization rate data items through the allocation trigger scene; controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode; and according to the received resource allocation request, allocating the resource allocation request in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources. The invention can not only meet the public demands of public sports resources to the greatest extent, but also balance the course demands of the high-office institutions.
Description
Technical Field
The application relates to the technical field of resource allocation, in particular to a resource allocation method and a system for high-office public sports courses.
Background
In the age of the year when network technology evolves with universal interconnection, it is often necessary to face the demand of resource allocation. When the resource allocation is carried out, the needed resources may need to be selected and allocated from a plurality of resource pools with different types and different reserve conditions, so as to obtain a plurality of alternative resource allocation schemes, and then the scheme meeting the requirements is selected from the resource allocation schemes to implement the resource allocation. At present, a resource allocation method for allocating a resource allocation scheme based on a plurality of alternative resource pools mainly comprises the steps of forming a resource allocation scheme matched with a preset event template based on the preset event template, solving the resource allocation scheme based on a genetic algorithm and the like. In the former method, because the preset event templates cannot cope with more changeable application scenes, the method has poor flexibility and adaptability; in the latter method, the genetic algorithm relies on a large number of samples for training, and has the advantages of higher time cost and lower resource allocation efficiency.
In particular, the sports resources in the current society are continuously abundant, and various public sports resources gradually meet the public demands, but for the high-office institutions, the problem of how to meet the public demands of the public sports resources to the greatest extent and balance the course demands of the high-office institutions is needed to be solved because the public sports resources are often used for the internal sports courses of the high-office institutions due to the limitation of school conditions.
Disclosure of Invention
In order to achieve the above purpose, the present application provides the following technical solutions:
According to a first aspect of the present invention, the present invention claims a resource allocation method for a high-office public sports lesson, characterized in that the method comprises:
Acquiring resource occupation information of a resource occupation information system in a current distribution area, and determining a current resource occupation information utilization rate data item according to the resource occupation information, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, higher-authority condition data, resource occupation information period data, a resource occupation information course category and resource occupation information distribution period data;
acquiring an allocation trigger scene of the resource occupation information, and allocating the utilization rate data items of the resource occupation information through the allocation trigger scene;
Controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode;
And according to the received resource allocation request, allocating the resource occupation information in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources.
Further, the collecting the resource occupation information of the resource occupation information system in the current distribution area, and determining the current resource occupation information usage rate data item according to the resource occupation information, includes:
determining a current resource occupation information utilization rate data item according to a resource occupation information utilization rate data item of a resource occupation information system, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, condition data of a college of higher authority, resource occupation information period data, a resource occupation information course category and resource occupation information allocation period data;
in a preset period interval, acquiring a resource occupation information parameter data item through the resource occupation information utilization rate data item, outputting a first data set, acquiring an allocation data item of a resource occupation information system re-automatic allocation control, and outputting a second data set;
The acquiring the allocation triggering scene of the resource occupation information, and allocating the resource occupation information usage rate data item through the allocation triggering scene comprises the following steps:
Acquiring resource occupation information parameters in an occupation scene in the resource occupation information utilization rate data item, and outputting a third data set;
and allocating the resource occupation information utilization rate data items through comparison analysis of the third data set and the first data set.
Further, the allocating the resource occupancy information usage data item through the comparison analysis of the third data set and the first data set includes:
under the condition that the third data set coincides with the first data set resource occupation information field:
according to the fact that all the residual data in the data set are not distributed, the current scene name is ignored;
and distributing at least one item of the rest data in the data set, constructing a data item in the resource occupation information utilization rate data item, wherein the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the resource occupation information creation time are reserved, and the resource occupation information distribution time is set to be the current time.
Further, the method further comprises:
Under the condition that the resource occupation information field of the third data set is not included in the first data set:
constructing a data item in the resource occupation information utilization rate data item according to the second data set related to the allocation of the resource occupation information name, reserving an original scene id value, keeping the original scene as a history scene, reserving the new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
Distributing the resource occupation information name deletion according to the second data set, taking the data item of the occupation scene of the resource occupation information utilization rate data item as history, and adjusting the deletion time of the resource occupation information as the current time;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
Under the condition that the resource occupation information field of the first data set is not included in the third data set:
According to the condition that the second data set relates to allocation of resource occupation information names, under the condition that adjustment is not carried out, constructing a data item in the resource occupation information utilization rate data item, reserving an original scene id value, keeping the original data item as a historical scene, reserving a new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
constructing a data item according to the resource occupation information related to the second data set, constructing a data item in the resource occupation information utilization rate data item, and constructing a scene id value;
And setting the resource to be allocated for standby according to the fact that the second data set does not have the resource occupation information name.
Further, the historical resource occupation information control mode includes:
Polling the resource occupation information utilization rate data item without corresponding resource occupation information in the time division manner when the resource occupation information is constructed;
Polling the corresponding resource occupation information in the resource occupation information utilization rate data item in a time division manner when the resource occupation information is deleted;
When the resource occupation information is distributed, if the resource occupation information name is continuous, the relation between the scene before distribution and the scene after distribution is clear in the automatic distribution;
In the process of the resource occupation information survival, related scenes are polled in advance in the resource occupation information utilization rate data item, and if the scene allocation is adopted and the resource occupation information is not additionally constructed if the scene allocation is only related to the resource occupation information configuration, the resource occupation information retention period and the survival of the resource occupation information course category;
When the system is synchronous and the address or course name is continuous, confirming the scene of the course to be allocated related to the resource occupation information:
If the original course to be allocated is not used after synchronization, the course to be allocated is used as general resource occupation information for persistence;
If the original course to be allocated is still used after synchronization, adopting resource occupation information allocation operation for the extended course to be allocated, and adopting scene construction operation for the new branch course to be allocated;
The step of distributing the resource occupation information system according to the received resource distribution request and the resource occupation information utilization rate data item, and outputting available resources, comprising the following steps:
Distributing in the resource occupation information system according to the received conventional distribution request containing the resource occupation information and the relevant grade courses of the resource occupation information, and outputting available resources;
And acquiring id values of all related resource occupation information in the resource occupation information utilization rate data items according to request data according to the received fuzzy allocation request which does not contain the resource occupation information or the related grade courses of the resource occupation information, determining historical data items related to resource occupation information allocation according to the id values, planning and returning according to the period of the demand, allocating in the resource occupation information system according to a return result, and outputting available resources.
According to a second aspect of the present invention, the present invention claims a resource allocation system for a high-office public sports lesson, characterized in that the system comprises:
The resource occupation information induction distribution module is used for: acquiring resource occupation information of a resource occupation information system in a current distribution area, and determining a current resource occupation information utilization rate data item according to the resource occupation information, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, higher-authority condition data, resource occupation information period data, a resource occupation information course category and resource occupation information distribution period data;
The resource occupation information correction module is used for: acquiring an allocation trigger scene of the resource occupation information, and allocating the utilization rate data items of the resource occupation information through the allocation trigger scene;
The resource occupation information control specification module is used for: controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode;
A resource allocation module for: and according to the received resource allocation request, allocating the resource occupation information in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources.
Further, the resource occupation information induction distribution module includes:
determining a current resource occupation information utilization rate data item according to a resource occupation information utilization rate data item of a resource occupation information system, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, condition data of a college of higher authority, resource occupation information period data, a resource occupation information course category and resource occupation information allocation period data;
in a preset period interval, acquiring a resource occupation information parameter data item through the resource occupation information utilization rate data item, outputting a first data set, acquiring an allocation data item of a resource occupation information system re-automatic allocation control, and outputting a second data set;
The resource occupation information correction module comprises:
Acquiring resource occupation information parameters in an occupation scene in the resource occupation information utilization rate data item, and outputting a third data set;
and allocating the resource occupation information utilization rate data items through comparison analysis of the third data set and the first data set.
Further, the allocating the resource occupancy information usage data item through the comparison analysis of the third data set and the first data set includes:
under the condition that the third data set coincides with the first data set resource occupation information field:
according to the fact that all the residual data in the data set are not distributed, the current scene name is ignored;
and distributing at least one item of the rest data in the data set, constructing a data item in the resource occupation information utilization rate data item, wherein the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the resource occupation information creation time are reserved, and the resource occupation information distribution time is set to be the current time.
Further, the method further comprises:
Under the condition that the resource occupation information field of the third data set is not included in the first data set:
constructing a data item in the resource occupation information utilization rate data item according to the second data set related to the allocation of the resource occupation information name, reserving an original scene id value, keeping the original scene as a history scene, reserving the new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
Distributing the resource occupation information name deletion according to the second data set, taking the data item of the occupation scene of the resource occupation information utilization rate data item as history, and adjusting the deletion time of the resource occupation information as the current time;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
Under the condition that the resource occupation information field of the first data set is not included in the third data set:
According to the condition that the second data set relates to allocation of resource occupation information names, under the condition that adjustment is not carried out, constructing a data item in the resource occupation information utilization rate data item, reserving an original scene id value, keeping the original data item as a historical scene, reserving a new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
constructing a data item according to the resource occupation information related to the second data set, constructing a data item in the resource occupation information utilization rate data item, and constructing a scene id value;
And setting the resource to be allocated for standby according to the fact that the second data set does not have the resource occupation information name.
Further, the historical resource occupation information control mode includes:
Polling the resource occupation information utilization rate data item without corresponding resource occupation information in the time division manner when the resource occupation information is constructed;
Polling the corresponding resource occupation information in the resource occupation information utilization rate data item in a time division manner when the resource occupation information is deleted;
When the resource occupation information is distributed, if the resource occupation information name is continuous, the relation between the scene before distribution and the scene after distribution is clear in the automatic distribution;
In the process of the resource occupation information survival, related scenes are polled in advance in the resource occupation information utilization rate data item, and if the scene allocation is adopted and the resource occupation information is not additionally constructed if the scene allocation is only related to the resource occupation information configuration, the resource occupation information retention period and the survival of the resource occupation information course category;
When the system is synchronous and the address or course name is continuous, confirming the scene of the course to be allocated related to the resource occupation information:
If the original course to be allocated is not used after synchronization, the course to be allocated is used as general resource occupation information for persistence;
If the original course to be allocated is still used after synchronization, adopting resource occupation information allocation operation for the extended course to be allocated, and adopting scene construction operation for the new branch course to be allocated;
The step of distributing the resource occupation information system according to the received resource distribution request and the resource occupation information utilization rate data item, and outputting available resources, comprising the following steps:
Distributing in the resource occupation information system according to the received conventional distribution request containing the resource occupation information and the relevant grade courses of the resource occupation information, and outputting available resources;
And acquiring id values of all related resource occupation information in the resource occupation information utilization rate data items according to request data according to the received fuzzy allocation request which does not contain the resource occupation information or the related grade courses of the resource occupation information, determining historical data items related to resource occupation information allocation according to the id values, planning and returning according to the period of the demand, allocating in the resource occupation information system according to a return result, and outputting available resources.
The invention relates to the technical field of resource allocation, in particular to a resource allocation method and a system for a high-position public sports course, which are used for collecting resource occupation information of a resource occupation information system in a current allocation area, determining current resource occupation information utilization rate data items according to the resource occupation information, collecting an allocation trigger scene of the resource occupation information, and allocating the resource occupation information utilization rate data items through the allocation trigger scene; controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode; and according to the received resource allocation request, allocating the resource allocation request in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources. The invention can not only meet the public demands of public sports resources to the greatest extent, but also balance the course demands of the high-office institutions.
Drawings
FIG. 1 is a workflow diagram of a method of resource allocation for a high-office public sports lesson as claimed in an embodiment of the present application;
FIG. 2 is a second workflow diagram of a method of resource allocation for a high-office public sports lesson, as claimed in an embodiment of the present application;
FIG. 3 is a third workflow diagram of a method of resource allocation for a high-office public sports lesson, as claimed in an embodiment of the present application;
FIG. 4 is a fourth operational flow diagram of a method for resource allocation for a high-office public sports lesson, in accordance with an embodiment of the present application;
FIG. 5 is a block diagram of a resource allocation system for a high-office public sports lesson in accordance with an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
The terms "first," "second," "third," and the like in this disclosure are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "first," "second," and "third" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise. All directional indications (such as up, down, left, right, front, back … …) in the embodiments of the present application are merely used to explain the relative positional relationship, movement conditions, etc. between the components in a particular gesture (as shown in the drawings), and if the particular gesture is changed, the directional indication is changed accordingly. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
According to a first embodiment of the present invention, the present invention claims a resource allocation method for a high-office public sports course, referring to fig. 1, the method includes:
Acquiring the resource occupation information of a resource occupation information system in a current distribution area, and determining a current resource occupation information utilization rate data item according to the resource occupation information, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, condition data of a college of high office, resource occupation information period data, a resource occupation information course category and resource occupation information distribution period data;
Acquiring an allocation trigger scene of the resource occupation information, and allocating the utilization rate data items of the resource occupation information through the allocation trigger scene;
controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode;
And according to the received resource allocation request, allocating the resource allocation request in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources.
In this embodiment, the current allocation area refers to an area where the current colleges and universities are located, and related resources in the area need to be used for allocation of corresponding courses;
the resource occupation information system is a central summarizing and analyzing system for carrying out resource occupation information according to public sports resources in the area of the current high-office institution;
The resource occupation information is related information that public sports resources in the area where the current high-office institution is located are being used;
Common sports resources such as the region of the territory include at least: sports fields, table tennis tables, badminton courts, tennis courts, dance practice halls, etc.;
The resource occupation information id value is a unique identifier of the public sports resource, the resource occupation information name is the current occupied condition of the public sports resource, the condition data of the universities and colleges are conditions of the public sports resource which are allowed to be occupied by the universities and colleges, the resource occupation information period data is the period length of the public sports resource which is occupied in history, the resource occupation information course category is the course category of the public sports resource which is allowed to be occupied and used, and the resource occupation information allocation period data is the period condition of predicting that the public sports resource can be idle to be allocated according to the resource occupation information period data;
The distribution triggering scene of the resource occupation information refers to that the higher-office universities need to search related public sports resources according to own course conditions;
further, collecting the resource occupation information of the resource occupation information system in the current distribution area, and determining the current resource occupation information utilization rate data item according to the resource occupation information, including:
Determining a current resource occupation information utilization rate data item according to a resource occupation information utilization rate data item of a resource occupation information system, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, higher-authority condition data, resource occupation information period data, a resource occupation information course category and a resource occupation information allocation period data;
in a preset period interval, acquiring a resource occupation information parameter data item through a resource occupation information utilization rate data item, outputting a first data set, acquiring an allocation data item of a resource occupation information system re-automatic allocation control, and outputting a second data set;
the method comprises the steps of collecting an allocation trigger scene of resource occupation information, and allocating the utilization rate data items of the resource occupation information through the allocation trigger scene, and comprises the following steps:
acquiring resource occupation information parameters in an occupation scene in a resource occupation information utilization rate data item, and outputting a third data set;
and allocating the resource occupation information utilization rate data items through comparison analysis of the third data set and the first data set.
Further, allocating the resource occupancy information usage data item through the comparison analysis of the third data set and the first data set includes:
Under the condition that the third data set coincides with the resource occupation information field in the first data set:
according to the fact that all the residual data in the data set are not distributed, the current scene name is ignored;
And distributing at least one item of the rest data in the data set, constructing a data item in the utilization rate data item of the resource occupation information, wherein the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the resource occupation information creation time are reserved, and the resource occupation information distribution time is set to be the current time.
Further, the method further comprises:
Referring to fig. 2, in a condition that the resource occupancy information field of the third data set is not included in the first data set:
Constructing a data item in the resource occupation information utilization rate data item according to the relation of the second data set to the resource occupation information name, reserving an original scene id value, reserving a continuous original data item as a historical scene, reserving a scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
distributing the resource occupation information name deletion according to the second data set, taking the data items of the occupation scene of the resource occupation information utilization rate data items as histories, and adjusting the deletion time of the resource occupation information as the current time;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
Referring to fig. 3, in a condition that the resource occupancy information field of the first data set is not included in the third data set:
According to the condition that the second data set is related to the allocation of the resource occupation information name, under the condition that adjustment is not carried out, a data item is constructed in the utilization rate data item of the resource occupation information, the original scene id value is reserved, the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the creation time of the resource occupation information are reserved, and the allocation time of the resource occupation information is set to be the current time;
Constructing a data item in the resource occupation information utilization rate data item according to the construction of the resource occupation information related to the second data set, and constructing a scene id value;
and setting the standby allocated resources according to the fact that the second data set does not have the resource occupation information name.
Further, referring to fig. 4, the historical resource occupation information control mode includes:
When the resource occupation information is constructed, the corresponding resource occupation information is not found in the utilization rate data item of the graded polling resource occupation information;
Polling the corresponding resource occupation information in the resource occupation information utilization rate data item when the resource occupation information is deleted;
When the resource occupation information is distributed, if the resource occupation information name is continuous, the relation between the scene before distribution and the scene after distribution is clear in the automatic distribution;
In the process of the survival of the resource occupation information, related scenes are polled in advance in the data item of the utilization rate of the resource occupation information, and if the configuration of the resource occupation information, the reservation period of the resource occupation information and the survival of the class of the resource occupation information are only related, scene allocation is adopted, so that the resource occupation information is not additionally constructed;
When the system is synchronous and the address or course name is continuous, confirming the scene of the course to be allocated related to the resource occupation information:
if the original course to be allocated after synchronization is not used, the course to be allocated is stored as general resource occupation information, if the original course to be allocated after synchronization is still used, resource occupation information allocation operation is adopted for the extended course to be allocated, and scene construction operation is adopted for the new branched course to be allocated;
According to the received resource allocation request, allocating the resource allocation request in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources, wherein the method comprises the following steps:
Distributing in a resource occupation information system according to the received conventional distribution request containing the resource occupation information and the related grade courses of the resource occupation information, and outputting available resources;
And acquiring id values of all related resource occupation information in the resource occupation information utilization rate data items according to request data according to the received fuzzy allocation request of the class courses which do not contain the resource occupation information or the related resource occupation information, determining historical data items related to resource occupation information allocation according to the id values, demarcating and returning according to the period of the demand, allocating in a resource occupation information system according to a return result, and outputting available resources.
According to a second embodiment of the present invention, the present invention claims a resource allocation system for a high-office public sports lesson, referring to fig. 5, the system comprising:
The resource occupation information induction distribution module is used for: acquiring the resource occupation information of a resource occupation information system in a current distribution area, and determining a current resource occupation information utilization rate data item according to the resource occupation information, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, condition data of a college of high office, resource occupation information period data, a resource occupation information course category and resource occupation information distribution period data;
the resource occupation information correction module is used for: acquiring an allocation trigger scene of the resource occupation information, and allocating the utilization rate data items of the resource occupation information through the allocation trigger scene;
The resource occupation information control specification module is used for: controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode;
A resource allocation module for: and according to the received resource allocation request, allocating the resource allocation request in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources.
Further, the resource occupation information induction distribution module includes:
Determining a current resource occupation information utilization rate data item according to a resource occupation information utilization rate data item of a resource occupation information system, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, higher-authority condition data, resource occupation information period data, a resource occupation information course category and a resource occupation information allocation period data;
in a preset period interval, acquiring a resource occupation information parameter data item through a resource occupation information utilization rate data item, outputting a first data set, acquiring an allocation data item of a resource occupation information system re-automatic allocation control, and outputting a second data set;
The resource occupation information correction module comprises:
acquiring resource occupation information parameters in an occupation scene in a resource occupation information utilization rate data item, and outputting a third data set;
and allocating the resource occupation information utilization rate data items through comparison analysis of the third data set and the first data set.
Further, allocating the resource occupancy information usage data item through the comparison analysis of the third data set and the first data set includes:
Under the condition that the third data set coincides with the resource occupation information field in the first data set:
according to the fact that all the residual data in the data set are not distributed, the current scene name is ignored;
And distributing at least one item of the rest data in the data set, constructing a data item in the utilization rate data item of the resource occupation information, wherein the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the resource occupation information creation time are reserved, and the resource occupation information distribution time is set to be the current time.
Further, the method further comprises:
under the condition that the resource occupation information field of the third data set is not provided in the first data set:
Constructing a data item in the resource occupation information utilization rate data item according to the relation of the second data set to the resource occupation information name, reserving an original scene id value, reserving a continuous original data item as a historical scene, reserving a scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
distributing the resource occupation information name deletion according to the second data set, taking the data items of the occupation scene of the resource occupation information utilization rate data items as histories, and adjusting the deletion time of the resource occupation information as the current time;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
Under the condition that the resource occupation information field of the first data set is not provided in the third data set:
According to the condition that the second data set is related to the allocation of the resource occupation information name, under the condition that adjustment is not carried out, a data item is constructed in the utilization rate data item of the resource occupation information, the original scene id value is reserved, the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the creation time of the resource occupation information are reserved, and the allocation time of the resource occupation information is set to be the current time;
Constructing a data item in the resource occupation information utilization rate data item according to the construction of the resource occupation information related to the second data set, and constructing a scene id value;
and setting the standby allocated resources according to the fact that the second data set does not have the resource occupation information name.
Further, the historical resource occupation information control mode includes:
When the resource occupation information is constructed, the corresponding resource occupation information is not found in the utilization rate data item of the graded polling resource occupation information;
Polling the corresponding resource occupation information in the resource occupation information utilization rate data item when the resource occupation information is deleted;
When the resource occupation information is distributed, if the resource occupation information name is continuous, the relation between the scene before distribution and the scene after distribution is clear in the automatic distribution;
In the process of the survival of the resource occupation information, related scenes are polled in advance in the data item of the utilization rate of the resource occupation information, and if the configuration of the resource occupation information, the reservation period of the resource occupation information and the survival of the class of the resource occupation information are only related, scene allocation is adopted, so that the resource occupation information is not additionally constructed;
When the system is synchronous and the address or course name is continuous, confirming the scene of the course to be allocated related to the resource occupation information:
If the original course to be allocated is not used after synchronization, the course to be allocated is used as general resource occupation information for persistence;
If the original course to be allocated is still used after synchronization, adopting resource occupation information allocation operation for the extended course to be allocated, and adopting scene construction operation for the new branch course to be allocated;
According to the received resource allocation request, allocating the resource allocation request in the resource occupation information system according to the resource occupation information utilization rate data item, and outputting available resources, wherein the method comprises the following steps:
Distributing in a resource occupation information system according to the received conventional distribution request containing the resource occupation information and the related grade courses of the resource occupation information, and outputting available resources;
And acquiring id values of all related resource occupation information in the resource occupation information utilization rate data items according to request data according to the received fuzzy allocation request of the class courses which do not contain the resource occupation information or the related resource occupation information, determining historical data items related to resource occupation information allocation according to the id values, demarcating and returning according to the period of the demand, allocating in a resource occupation information system according to a return result, and outputting available resources.
In the several embodiments provided in the present application, it should be understood that the disclosed system, system and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative, e.g., the partitioning of elements is merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not implemented. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may be physically provided separately, or two or more units may be integrated into one unit. The integrated units may be implemented in hardware or in software functional units. The foregoing is only an embodiment of the present application, and is not limited to the patent section of the present application, and all equivalent structures or equivalent flow changes made by the content of the present specification and the accompanying drawings, or direct or indirect application in other related technical fields, are included in the patent protection section of the present application.
The embodiments of the application have been described in detail above, but they are merely examples, and the application is not limited to the above-described embodiments. It will be apparent to those skilled in the art that any equivalent or alternative to the present application is within the scope of the application, and therefore, equivalent alterations and modifications, etc., may be made without departing from the spirit and principles of the present application.
Claims (2)
1. A method of resource allocation for a high-office public sports lesson, the method comprising:
Acquiring resource occupation information of a resource occupation information system in a current distribution area, and determining a current resource occupation information utilization rate data item according to the resource occupation information, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, higher-authority condition data, resource occupation information period data, a resource occupation information course category and resource occupation information distribution period data;
acquiring an allocation trigger scene of the resource occupation information, and allocating the utilization rate data items of the resource occupation information through the allocation trigger scene;
Controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode;
Distributing the resource occupation information data items in the resource occupation information system according to the received resource allocation request and outputting available resources;
The current allocation area refers to the area where the current high-office institution is located, and relevant resources of the area are used for allocating corresponding courses;
the resource occupation information system is a central summarizing and analyzing system for carrying out resource occupation information according to public sports resources in the area of the current high-office institution;
The resource occupation information is related information that public sports resources in the area where the current high-office institution is located are being used;
The public sports resources of the region at least comprise: track and field sports ground, table tennis table, badminton court, tennis court, dance training hall;
The resource occupation information id value is a unique identifier of the public sports resource, the resource occupation information name is the current occupied condition of the public sports resource, the condition data of the universities and colleges are conditions of the public sports resource which are allowed to be occupied, the resource occupation information period data is the period length of the public sports resource which is occupied in history, the resource occupation information course category is the course category of the public sports resource which is allowed to be occupied and used, and the resource occupation information allocation period data is the period condition of predicting the public sports resource which is free to be allocated according to the resource occupation information period data;
The distribution triggering scene of the resource occupation information refers to that the higher-office universities need to search related public sports resources according to own course conditions;
The collecting the resource occupation information of the resource occupation information system in the current distribution area, and determining the current resource occupation information utilization rate data item according to the resource occupation information, comprising:
determining a current resource occupation information utilization rate data item according to a resource occupation information utilization rate data item of a resource occupation information system, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, condition data of a college of higher authority, resource occupation information period data, a resource occupation information course category and resource occupation information allocation period data;
in a preset period interval, acquiring a resource occupation information parameter data item through the resource occupation information utilization rate data item, outputting a first data set, acquiring an allocation data item of a resource occupation information system re-automatic allocation control, and outputting a second data set;
The acquiring the allocation triggering scene of the resource occupation information, and allocating the resource occupation information usage rate data item through the allocation triggering scene comprises the following steps:
Acquiring resource occupation information parameters in an occupation scene in the resource occupation information utilization rate data item, and outputting a third data set;
Allocating the resource occupancy information usage data items through comparison analysis of the third data set and the first data set;
The allocation of the resource occupancy information usage data item by the comparison of the third data set with the first data set comprises:
under the condition that the third data set coincides with the first data set resource occupation information field:
according to the fact that all the residual data in the data set are not distributed, the current scene name is ignored;
Distributing according to at least one item of the rest data in the data set, constructing a data item in the resource occupation information utilization rate data item, wherein the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the resource occupation information creation time are reserved, and the resource occupation information distribution time is set to be the current time;
The method further comprises the steps of:
Under the condition that the resource occupation information field of the third data set is not included in the first data set:
constructing a data item in the resource occupation information utilization rate data item according to the second data set related to the allocation of the resource occupation information name, reserving an original scene id value, keeping the original scene as a history scene, reserving the new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
Distributing the resource occupation information name deletion according to the second data set, taking the data item of the occupation scene of the resource occupation information utilization rate data item as history, and adjusting the deletion time of the resource occupation information as the current time;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
Under the condition that the resource occupation information field of the first data set is not included in the third data set:
According to the condition that the second data set relates to allocation of resource occupation information names, under the condition that adjustment is not carried out, constructing a data item in the resource occupation information utilization rate data item, reserving an original scene id value, keeping the original data item as a historical scene, reserving a new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
constructing a data item according to the resource occupation information related to the second data set, constructing a data item in the resource occupation information utilization rate data item, and constructing a scene id value;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
The historical resource occupation information control mode comprises the following steps:
Polling the resource occupation information utilization rate data item without corresponding resource occupation information in the time division manner when the resource occupation information is constructed;
Polling the corresponding resource occupation information in the resource occupation information utilization rate data item in a time division manner when the resource occupation information is deleted;
When the resource occupation information is distributed, if the resource occupation information name is continuous, the relation between the scene before distribution and the scene after distribution is clear in the automatic distribution;
In the process of the resource occupation information survival, related scenes are polled in advance in the resource occupation information utilization rate data item, and if the scene allocation is adopted and the resource occupation information is not additionally constructed if the scene allocation is only related to the resource occupation information configuration, the resource occupation information retention period and the survival of the resource occupation information course category;
When the system is synchronous and the address or course name is continuous, confirming the scene of the course to be allocated related to the resource occupation information:
If the original course to be allocated is not used after synchronization, the course to be allocated is used as general resource occupation information for persistence;
If the original course to be allocated is still used after synchronization, adopting resource occupation information allocation operation for the extended course to be allocated, and adopting scene construction operation for the new branch course to be allocated;
The step of distributing the resource occupation information system according to the received resource distribution request and the resource occupation information utilization rate data item, and outputting available resources, comprising the following steps:
Distributing in the resource occupation information system according to the received conventional distribution request containing the resource occupation information and the relevant grade courses of the resource occupation information, and outputting available resources;
And acquiring id values of all related resource occupation information in the resource occupation information utilization rate data items according to request data according to the received fuzzy allocation request which does not contain the resource occupation information or the related grade courses of the resource occupation information, determining historical data items related to resource occupation information allocation according to the id values, planning and returning according to the period of the demand, allocating in the resource occupation information system according to a return result, and outputting available resources.
2. A resource allocation system for a high-office public sports lesson, the system comprising:
The resource occupation information induction distribution module is used for: acquiring resource occupation information of a resource occupation information system in a current distribution area, and determining a current resource occupation information utilization rate data item according to the resource occupation information, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, higher-authority condition data, resource occupation information period data, a resource occupation information course category and resource occupation information distribution period data;
The resource occupation information correction module is used for: acquiring an allocation trigger scene of the resource occupation information, and allocating the utilization rate data items of the resource occupation information through the allocation trigger scene;
The resource occupation information control specification module is used for: controlling the allocation interval of the resource occupation information through a historical resource occupation information control mode;
A resource allocation module for: distributing the resource occupation information data items in the resource occupation information system according to the received resource allocation request and outputting available resources;
The current allocation area refers to the area where the current high-office institution is located, and relevant resources of the area are used for allocating corresponding courses;
the resource occupation information system is a central summarizing and analyzing system for carrying out resource occupation information according to public sports resources in the area of the current high-office institution;
The resource occupation information is related information that public sports resources in the area where the current high-office institution is located are being used;
The public sports resources of the region at least comprise: track and field sports ground, table tennis table, badminton court, tennis court, dance training hall;
The resource occupation information id value is a unique identifier of the public sports resource, the resource occupation information name is the current occupied condition of the public sports resource, the condition data of the universities and colleges are conditions of the public sports resource which are allowed to be occupied, the resource occupation information period data is the period length of the public sports resource which is occupied in history, the resource occupation information course category is the course category of the public sports resource which is allowed to be occupied and used, and the resource occupation information allocation period data is the period condition of predicting the public sports resource which is free to be allocated according to the resource occupation information period data;
The distribution triggering scene of the resource occupation information refers to that the higher-office universities need to search related public sports resources according to own course conditions;
The resource occupation information induction distribution module comprises:
determining a current resource occupation information utilization rate data item according to a resource occupation information utilization rate data item of a resource occupation information system, wherein the resource occupation information utilization rate data item comprises a resource occupation information id value, a resource occupation information name, condition data of a college of higher authority, resource occupation information period data, a resource occupation information course category and resource occupation information allocation period data;
in a preset period interval, acquiring a resource occupation information parameter data item through the resource occupation information utilization rate data item, outputting a first data set, acquiring an allocation data item of a resource occupation information system re-automatic allocation control, and outputting a second data set;
The resource occupation information correction module comprises:
Acquiring resource occupation information parameters in an occupation scene in the resource occupation information utilization rate data item, and outputting a third data set;
Allocating the resource occupancy information usage data items through comparison analysis of the third data set and the first data set;
The allocation of the resource occupancy information usage data item by the comparison of the third data set with the first data set comprises:
under the condition that the third data set coincides with the first data set resource occupation information field:
according to the fact that all the residual data in the data set are not distributed, the current scene name is ignored;
Distributing according to at least one item of the rest data in the data set, constructing a data item in the resource occupation information utilization rate data item, wherein the original data item is a historical scene, the new data item is an occupied scene, the scene id number and the resource occupation information creation time are reserved, and the resource occupation information distribution time is set to be the current time;
The system further comprises:
Under the condition that the resource occupation information field of the third data set is not included in the first data set:
constructing a data item in the resource occupation information utilization rate data item according to the second data set related to the allocation of the resource occupation information name, reserving an original scene id value, keeping the original scene as a history scene, reserving the new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
Distributing the resource occupation information name deletion according to the second data set, taking the data item of the occupation scene of the resource occupation information utilization rate data item as history, and adjusting the deletion time of the resource occupation information as the current time;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
Under the condition that the resource occupation information field of the first data set is not included in the third data set:
According to the condition that the second data set relates to allocation of resource occupation information names, under the condition that adjustment is not carried out, constructing a data item in the resource occupation information utilization rate data item, reserving an original scene id value, keeping the original data item as a historical scene, reserving a new data item as an occupied scene, reserving the scene id number and the resource occupation information creation time, and setting the resource occupation information allocation time as the current time;
constructing a data item according to the resource occupation information related to the second data set, constructing a data item in the resource occupation information utilization rate data item, and constructing a scene id value;
Setting as standby allocated resources according to the fact that the second data set does not have the resource occupation information name;
The historical resource occupation information control mode comprises the following steps:
Polling the resource occupation information utilization rate data item without corresponding resource occupation information in the time division manner when the resource occupation information is constructed;
Polling the corresponding resource occupation information in the resource occupation information utilization rate data item in a time division manner when the resource occupation information is deleted;
When the resource occupation information is distributed, if the resource occupation information name is continuous, the relation between the scene before distribution and the scene after distribution is clear in the automatic distribution;
In the process of the resource occupation information survival, related scenes are polled in advance in the resource occupation information utilization rate data item, and if the scene allocation is adopted and the resource occupation information is not additionally constructed if the scene allocation is only related to the resource occupation information configuration, the resource occupation information retention period and the survival of the resource occupation information course category;
When the system is synchronous and the address or course name is continuous, confirming the scene of the course to be allocated related to the resource occupation information:
If the original course to be allocated is not used after synchronization, the course to be allocated is used as general resource occupation information for persistence;
If the original course to be allocated is still used after synchronization, adopting resource occupation information allocation operation for the extended course to be allocated, and adopting scene construction operation for the new branch course to be allocated;
The step of distributing the resource occupation information system according to the received resource distribution request and the resource occupation information utilization rate data item, and outputting available resources, comprising the following steps:
Distributing in the resource occupation information system according to the received conventional distribution request containing the resource occupation information and the relevant grade courses of the resource occupation information, and outputting available resources;
And acquiring id values of all related resource occupation information in the resource occupation information utilization rate data items according to request data according to the received fuzzy allocation request which does not contain the resource occupation information or the related grade courses of the resource occupation information, determining historical data items related to resource occupation information allocation according to the id values, planning and returning according to the period of the demand, allocating in the resource occupation information system according to a return result, and outputting available resources.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410427746.4A CN118012633B (en) | 2024-04-10 | 2024-04-10 | Resource allocation method and system for high-office public sports courses |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410427746.4A CN118012633B (en) | 2024-04-10 | 2024-04-10 | Resource allocation method and system for high-office public sports courses |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118012633A CN118012633A (en) | 2024-05-10 |
CN118012633B true CN118012633B (en) | 2024-06-11 |
Family
ID=90952425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410427746.4A Active CN118012633B (en) | 2024-04-10 | 2024-04-10 | Resource allocation method and system for high-office public sports courses |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118012633B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101305563A (en) * | 2006-10-31 | 2008-11-12 | 华为技术有限公司 | Method and system for distributing communication resource in land radio communication system |
CN104427624A (en) * | 2013-08-20 | 2015-03-18 | ***通信集团北京有限公司 | Distribution method and system of public network resources |
WO2018155160A1 (en) * | 2017-02-21 | 2018-08-30 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Communication device and communication method |
CN114565291A (en) * | 2022-03-02 | 2022-05-31 | 郑州科技学院 | College public resource reservation management system |
CN115102913A (en) * | 2022-06-06 | 2022-09-23 | 深圳一粒云科技有限公司 | Cloud desktop resource configuration method and system based on user behavior and storage medium |
CN115495231A (en) * | 2022-08-09 | 2022-12-20 | 徐州医科大学 | Dynamic resource scheduling method and system under complex scene of high concurrent tasks |
CN116795541A (en) * | 2023-06-01 | 2023-09-22 | 阿里云计算有限公司 | Resource scheduling and resource scheduling query method, equipment and medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9996807B2 (en) * | 2011-08-17 | 2018-06-12 | Roundhouse One Llc | Multidimensional digital platform for building integration and analysis |
EP3780838A4 (en) * | 2018-04-25 | 2021-12-15 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for indicating occupation of semi-persistent scheduling unit, and base station |
-
2024
- 2024-04-10 CN CN202410427746.4A patent/CN118012633B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101305563A (en) * | 2006-10-31 | 2008-11-12 | 华为技术有限公司 | Method and system for distributing communication resource in land radio communication system |
CN104427624A (en) * | 2013-08-20 | 2015-03-18 | ***通信集团北京有限公司 | Distribution method and system of public network resources |
WO2018155160A1 (en) * | 2017-02-21 | 2018-08-30 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Communication device and communication method |
CN114565291A (en) * | 2022-03-02 | 2022-05-31 | 郑州科技学院 | College public resource reservation management system |
CN115102913A (en) * | 2022-06-06 | 2022-09-23 | 深圳一粒云科技有限公司 | Cloud desktop resource configuration method and system based on user behavior and storage medium |
CN115495231A (en) * | 2022-08-09 | 2022-12-20 | 徐州医科大学 | Dynamic resource scheduling method and system under complex scene of high concurrent tasks |
CN116795541A (en) * | 2023-06-01 | 2023-09-22 | 阿里云计算有限公司 | Resource scheduling and resource scheduling query method, equipment and medium |
Non-Patent Citations (1)
Title |
---|
基于遗传算法高职教学资源短缺排课问题的探究;王志江;;福建电脑;20131125(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN118012633A (en) | 2024-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7725344B2 (en) | System and method for computer-aided technician dispatch and communication | |
EP0616713B1 (en) | Method and system for creating and maintaining multiple document versions in a data processing system library | |
US5021968A (en) | Graphics-based wire-cable management system | |
US5323445A (en) | Multi-location television conference system | |
CN104620296B (en) | On-demand vehicle operation management device, on-demand vehicle operation management method, and on-demand vehicle operation management system | |
CN110444041B (en) | Partition-based parking lot refined management method | |
CN105007287A (en) | public cloud resource dynamic configuration method and system | |
CN103945236B (en) | Gathering method and system of on-line live channels | |
CN107292398B (en) | Intelligent management system for sports field | |
CN108230972A (en) | A kind of scenic region guide system based on smart mobile phone APP applications | |
CN110968905A (en) | House space area allocation method and device, storage medium and electronic equipment | |
CN118012633B (en) | Resource allocation method and system for high-office public sports courses | |
CN101084631A (en) | Mobile terminal for multi-displa yable contents information which is composed with independent channel, method thereof, and computer readable record medium on which program for executing method is REC | |
CN109784519A (en) | A kind of intelligence place reservation system and method | |
JP3115230B2 (en) | Resource management system | |
CN101170610A (en) | Call center service system | |
CN110472326A (en) | A kind of convenient selection system and method for decorating scheme | |
Cook et al. | The transformation of broadcasting and film in Manchester and Liverpool | |
CN113826126A (en) | Rental area | |
US20210148710A1 (en) | Methods, systems, and media for modifying open space access using generative design | |
CN114970906A (en) | Appointment cue assignment method, appointment cue assignment device, computer equipment and storage medium | |
CN108428002A (en) | A kind of is to wait for the method and apparatus that restocking machine determines seat in the plane | |
KR20000058229A (en) | Golf course reservation system | |
CN107493579A (en) | A kind of colleges and universities' wireless network builds preplanning method and apparatus | |
CN103237236A (en) | Information processing method, BOSS (Business Operation Support System) and information processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |