Movatterモバイル変換


[0]ホーム

URL:


CN119127621B - Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage medium - Google Patents

Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage medium
Download PDF

Info

Publication number
CN119127621B
CN119127621BCN202411591792.4ACN202411591792ACN119127621BCN 119127621 BCN119127621 BCN 119127621BCN 202411591792 ACN202411591792 ACN 202411591792ACN 119127621 BCN119127621 BCN 119127621B
Authority
CN
China
Prior art keywords
resource
residual
equipment
ops
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411591792.4A
Other languages
Chinese (zh)
Other versions
CN119127621A (en
Inventor
刘姜
刘应
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dingsheng Technology Co ltd
Original Assignee
Shenzhen Dingsheng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dingsheng Technology Co ltdfiledCriticalShenzhen Dingsheng Technology Co ltd
Priority to CN202411591792.4ApriorityCriticalpatent/CN119127621B/en
Publication of CN119127621ApublicationCriticalpatent/CN119127621A/en
Application grantedgrantedCritical
Publication of CN119127621BpublicationCriticalpatent/CN119127621B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明涉及设备控制技术领域,具体为一种应用OPS电脑的智能化设备控制系统、方法及存储介质,所述设备控制方法包括以下步骤:通过比较每个设备的资源需求量和OPS中的资源剩余量,得到每个设备的任务紧急程度,生成初步资源分配顺序集合;预测OPS下一次接收任务的剩余时长;每当有OPS接收到新的资源需求信号时,生成一个实时资源分配顺序;获取设备被剥夺资源时的剩余完成时长和设备异常情况,得到设备出现异常的概率;分析剩余完成时长与参考剩余完成时长之间的分布情况;得到设备出现异常的异常概率;根据各个设备计算得到各的风险值,对剩余设备按照风险值进行排序,生成资源剥夺顺序。

The present invention relates to the technical field of equipment control, in particular to an intelligent equipment control system, method and storage medium using an OPS computer. The equipment control method comprises the following steps: obtaining the task urgency of each device by comparing the resource demand of each device with the resource surplus in the OPS, and generating a preliminary resource allocation sequence set; predicting the remaining time of the next task received by the OPS; generating a real-time resource allocation sequence whenever an OPS receives a new resource demand signal; obtaining the remaining completion time and the abnormality of the device when the device is deprived of resources, and obtaining the probability of the device being abnormal; analyzing the distribution between the remaining completion time and the reference remaining completion time; obtaining the abnormal probability of the device being abnormal; calculating the risk value of each device, sorting the remaining devices according to the risk value, and generating a resource deprivation sequence.

Description

Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage medium
Technical Field
The invention relates to the technical field of equipment control, in particular to an intelligent equipment control system and method applying an OPS (open-loop control system) computer and a storage medium.
Background
The OPS computer is an external computing module and is used for increasing computing capacity for the interactive flat panel display, the design purpose of the OPS computer is to enable the interactive display devices such as the digital signage and the flat panel display to have computing and network functions through inserting the OPS computer module, so that the deployment and maintenance of the digital signage and the interactive display devices are simplified, and the OPS computer module is generally provided with a high-performance processor, a memory, a storage and a network interface, so that the computing requirements under various different scenes such as the digital signage, the digital advertisement, a conference room display system and the like can be met.
The OPS provides a unified interface, so that the OPS can communicate and cooperate with a plurality of devices, and the functions of data exchange, resource sharing, cooperative work and the like are realized no matter the devices are of the same type or different types, but in the process of interacting with the devices at the same time, the devices can simultaneously demand the same resource, but the corresponding resources in the OPS are limited, so that resource competition and conflict can occur between the devices, the OPS resource allocation can be unfair, the tasks or operation of part of the devices are failed, and the situations of data loss or system breakdown and the like can occur.
Disclosure of Invention
The invention aims to provide an intelligent equipment control system, an intelligent equipment control method and a storage medium applying an OPS (open-loop control system) computer so as to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme that an intelligent equipment control method applying an OPS computer comprises the following steps:
step 100, when a plurality of devices are connected with the OPS, judging whether to send a resource shortage reminder to the OPS by comparing the resource demand of each device with the resource residual quantity in the OPS, acquiring the task cut-off residual time of each device to obtain the task emergency degree of each device, generating a preliminary resource allocation sequence set, predicting the residual time of the next task receiving of the OPS according to the task receiving frequency of the historical OPS, and setting the reserved resource quantity of various resources;
step 200, calculating the task emergency degree of the new task every time the OPS receives the resource demand of the new task, and acquiring the real-time emergency degree of each residual task in the preliminary resource allocation sequence set to obtain a real-time resource allocation sequence;
Step 300, obtaining the residual completion time length and the equipment abnormality condition of the equipment when the equipment is deprived of resources each time, and calculating to obtain the probability of the equipment abnormality; the method comprises the steps of extracting the minimum value and the maximum value of the residual completion time to obtain a reference residual completion time when the equipment is deprived of resources, and analyzing the distribution situation between the residual completion time and the reference residual completion time;
Step S400, when the residual resources in the OPS can not meet the new resource demand, calculating to obtain the risk value of the resources currently deprived by each device according to the abnormal probability of each device, and if the risk value exceeds the set risk threshold, setting a non-deprivable state for the devices, and sequencing the residual devices according to the risk value to generate a resource deprivation sequence.
Further, step S100 includes the steps of:
step S101, obtaining the resource demand of the a-th device to the b-th resource in the OPS asSetting the number of devices connected with the OPS as n to obtain the total demand of n devices on the b-th resource asAcquiring the resource residual quantity of the b-th resource in the OPSIf there isSending a resource shortage reminder to the OPS;
Step S102, acquiring the task cut-off residual time length of the a-th device asObtaining the task emergency degree of the a-th equipmentAcquiring the task emergency degree of n devices, and sequencing the n devices according to the task emergency degree from large to small to obtain a preliminary resource allocation sequence set of n tasks,The tasks of part of the devices have no task deadline residual time, which means that the tasks of the devices are not urgent, and are sequenced to the rear in the resource allocation process, and are preferentially allocated to the tasks with urgent degree;
Step S103, obtaining the average receiving frequency f of the historical OPS receiving equipment task, and predicting the residual duration of the next OPS receiving equipment task asWherein, the method comprises the steps of, wherein,Acquiring a task cut-off residual time length corresponding to a c-th task in the preliminary resource allocation sequence set for receiving the time length of the resource demand signal from the latest OPSSetting an inequality group, and sequentially allocating resources to the first e tasks in the preliminary resource allocation sequence set when the following inequality group is satisfied:
Wherein,When the e-th device allocates resources, obtaining the resource surplus of the b-th resource in the OPS asWherein, the method comprises the steps of, wherein,Resource demand for the ith task for the b-th resource in the OPS,Allocating resources for the e-th task, the used amount of the b-th resource, and the remaining amount of the resourcesSetting the reserved resource quantity of the b-th resource to obtain a reserved resource set of the OPSWherein m is the number of resource categories in the OPS;
And normally distributing the resources in the residual time according to the distribution sequence by predicting the residual time of the next OPS receiving equipment task until the OPS is about to receive the equipment task, and reserving part of the residual resources to prevent the subsequent tasks with new high emergency degree from completing the tasks by using the resources normally under the condition that the resources of other equipment are not deprived as much as possible.
Further, step S200 includes the steps of:
Step S201, obtaining the resource demand of the new task on various resources in the OPS, and setting the new resource demand of the ith task on the b-th resource as the resource demandAcquiring the corresponding task cut-off residual duration asObtaining the emergency degree of the new task as follows;
Step S202, setting the task cut-off residual time length of the j-th residual task in the preliminary resource allocation sequence set asAcquiring the waiting time length of the j-th residual task asAccording to the formula, calculating to obtain the real-time emergency degree of the j-th residual task when the OPS receives the new resource demand signal:
Wherein,For the task urgency of the j-th remaining task,Resource demand for the jth remaining task for the b-th resource in the OPS,The emergency degree of the residual tasks in the resource allocation sequence is also influenced by factors such as waiting time for waiting for resource allocation and duration from the task deadline, and the like, and the allocation sequence of each task can be obtained in real time through calculation according to the formula, so that the rationality of resource allocation is ensured, and the continuity of equipment task completion is promoted;
Step S203, ifAnd sorting the resource allocation sequence of the ith task to the jth residual task according to the real-time emergency degree of each residual task and the numerical value between the ith task to obtain a real-time resource allocation sequence.
Further, step S300 includes the steps of:
step S301, obtaining the residual completion time length of the kth deprived resource of the historical alpha-th deviceJudging whether the deprived resources cause the abnormality of the equipment at the time, and setting an equipment abnormality condition judging functionIf the equipment is abnormal due to the kth resource deprivation of the a-th equipmentOtherwise, the device can be used to determine whether the current,;
Step S302, acquiring the residual completion time length and the equipment abnormality condition of the historical a-th equipment when resources are deprived each time, taking the residual completion time length of the a-th equipment as an abscissa and the equipment abnormality condition as an ordinate, and establishing a two-dimensional plane rectangular coordinate system to obtain an equipment abnormality distribution diagram of the a-th equipment;
Step S303, extracting the number of abnormal cases of the a-th device from the device abnormal distribution diagram as followsCalculating the probability of abnormality of the a-th equipment asWherein, the method comprises the steps of, wherein,Selecting a minimum remaining completion time period for the historical a-th device to be deprived of resourcesAnd maximum remaining completion timeCalculating the reference residual completion time length when the a-th equipment is deprived of resources as followsScreening the residual completion time lengths of all the a-th devices with abnormality to obtain the number of times that the residual completion time lengths are smaller than the reference residual completion time lengths as followsWhen the a-th equipment is abnormal, calculating that the probability that the residual completion time length is smaller than the reference residual completion time length is;
Setting a reference residual completion time length, determining abnormal distribution conditions when the equipment history is deprived of resources, analyzing that when the equipment is abnormal through comparison of each residual completion time length and the reference residual completion time length, a large part of residual completion time length is in a certain time period, and explaining to a certain extent that when the residual completion time length of the equipment is in a certain range, the probability that the equipment is abnormal is greatly increased when the resource is deprived;
step S304, a risk probability X is set, ifX, setting the residual completion time length smaller than the reference residual completion time length as the risk time length, and acquiring the current residual completion time length of the a-th equipment in real timeCalculating the related probability that the current residual completion time length of the a-th equipment is smaller than the reference residual completion time length according to a formula:
Wherein Sel () is a judgment function, if it satisfiesThen,If it meetsThen,;
Analyzing the size relation between the current residual completion time length and the reference residual completion time length of the equipment through the Sel () function, and obtaining the probability of occurrence of the residual completion time length of the current equipment;
acquiring probability of abnormality of a-th deviceAccording to the formula:
Calculating an abnormal probability of abnormality of the equipment caused by the current deprived resource of the a-th equipmentAnd comparing the probability of abnormality with the risk probability through the current residual completion time, if the probability exceeds the risk probability, the probability of abnormality of the equipment caused by deprivation of resources when the equipment is in the current residual completion time is extremely high, so that the probability of abnormality of the historical equipment is increased by the formula.
Step S401, obtaining an abnormality probability of abnormality of the device caused by the current deprived resource of the a-th deviceAnd the task cutoff remaining duration of the current a-th deviceCalculating the risk value of the current deprived resource of the a-th equipment according to a formula:
Wherein,The total of the residual time length is cut off for the tasks of all the current devices;
step S402, setting a risk thresholdIf (if)Setting a device a to be in a non-deprivable state, sorting the rest devices according to the risk value from low to high except all the devices in the non-deprivable state to generate a resource deprivation sequence, and when the risk value of the device deprived of resources is too high, the device crashes or the resources are lost, so that the device should wait until the task is completed to spontaneously release the resources.
In order to better realize the method, an intelligent equipment control system applying an OPS computer is also provided, and the equipment control system comprises a resource allocation module, an equipment abnormality analysis module and a resource deprivation analysis module;
The resource allocation module is used for judging whether to send a resource shortage reminder to the OPS by comparing the resource demand of each device with the resource residual quantity in the OPS when a plurality of devices are connected with the OPS, acquiring the task deadline residual duration of each device to obtain the task emergency degree of each device, generating a preliminary resource allocation sequence set, predicting the residual duration of the task received next time by the OPS according to the task receiving frequency of the historical OPS, and setting the reserved resource quantity of various resources;
The equipment abnormality analysis module is used for acquiring the residual completion time length and equipment abnormality condition of equipment when the equipment is deprived of resources each time, and calculating to obtain the probability of the equipment abnormality; the method comprises the steps of extracting the minimum value and the maximum value of the residual completion time to obtain a reference residual completion time when the equipment is deprived of resources, and analyzing the distribution situation between the residual completion time and the reference residual completion time;
The resource deprivation analysis module is used for calculating the risk value of each device currently deprived of resources according to the abnormal probability of each device when the residual resources in the OPS cannot meet the new resource demand, setting the non-deprivable state for the device and sequencing the residual devices according to the risk value if the risk value exceeds the set risk threshold, so as to generate a resource deprivation sequence.
Further, the resource allocation module comprises a resource quantity comparison unit, an allocation sequence analysis unit and a reserved resource setting unit;
The resource quantity comparison unit is used for judging whether to send a resource shortage reminding to the OPS by comparing the resource demand quantity of each device with the resource residual quantity in the OPS when a plurality of devices are connected with the OPS, the distribution sequence analysis unit is used for obtaining the task deadline residual duration of each device to obtain the task emergency degree of each device and generate a preliminary resource distribution sequence set, and the reserved resource setting unit is used for predicting the residual duration of the task received next by the OPS according to the task receiving frequency of the historical OPS and setting the reserved resource quantity of various resources.
Further, the equipment abnormality analysis module comprises an abnormality distribution analysis unit and an abnormality probability calculation unit;
The abnormal distribution analysis unit is used for obtaining the residual completion time length of the equipment when the equipment is deprived of resources each time and the equipment abnormal condition, calculating to obtain the probability of the equipment abnormal occurrence, extracting the minimum value and the maximum value of the residual completion time length to obtain the reference residual completion time length of the equipment when the equipment is deprived of resources, analyzing the distribution condition between the residual completion time length and the reference residual completion time length, and calculating to obtain the abnormal probability of the equipment abnormal occurrence caused by the current resource deprivation of the equipment according to the current residual completion time length of the equipment.
Further, the resource deprivation analysis module comprises a risk value calculation unit and a deprivation sequence setting unit;
The risk value calculation unit is used for calculating the risk value of each device which is deprived of resources currently according to the abnormal probability of each device when the residual resources in the OPS cannot meet the new resource demand, and the deprivation sequence setting unit is used for setting the non-deprivable state of the device and sequencing the residual devices according to the risk value if the risk value exceeds the set risk threshold value to generate the resource deprivation sequence.
A storage medium having stored thereon computer instructions which, when executed by a processor, implement a method of intelligent device control employing an OPS computer.
Compared with the prior art, the method has the beneficial effects that (1) the resource allocation sequence of each equipment task is reasonably arranged according to the emergency degree and the resource demand of each equipment task, so that the equipment tasks can be normally operated and completed at all times, each equipment cannot normally operate due to the fact that a plurality of equipment simultaneously occupy limited resources, (2) the method simultaneously considers the resource allocation sequence and reallocates resources from other equipment to avoid resource competition and conflict between the equipment, so that OPS resource allocation is fairer and more reasonable, and (3) the method obtains the risk value of each equipment being deprived of resources by analyzing the abnormal probability of the equipment being deprived of resources, selectively deprives the resources of each equipment, effectively ensures the normal operation of the equipment, and avoids the occurrence of the situations of data loss, system breakdown and the like.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of steps of an intelligent device control method using an OPS computer;
Fig. 2 is a schematic structural diagram of an intelligent device control system using an OPS computer.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1 to 2, the present invention provides a technical solution, which is an intelligent device control method using an OPS computer, the device control method includes the following steps:
step 100, when a plurality of devices are connected with the OPS, judging whether to send a resource shortage reminder to the OPS by comparing the resource demand of each device with the resource residual quantity in the OPS, acquiring the task cut-off residual time of each device to obtain the task emergency degree of each device, generating a preliminary resource allocation sequence set, predicting the residual time of the next task receiving of the OPS according to the task receiving frequency of the historical OPS, and setting the reserved resource quantity of various resources;
wherein, step S100 includes the following steps:
step S101, obtaining the resource demand of the a-th device to the b-th resource in the OPS asSetting the number of devices connected with the OPS as n, and obtaining the total demand of n devices on the b-th resource asAcquiring the resource residual quantity of the b-th resource in the OPSIf there isSending a resource shortage reminder to the OPS;
Step S102, acquiring the task cut-off residual time length of the a-th device asObtaining the task emergency degree of the a-th equipmentAcquiring the task emergency degree of n devices, and sequencing the n devices according to the task emergency degree from large to small to obtain a preliminary resource allocation sequence set of n tasks,C, allocating a task in the sequence for the preliminary resource;
Step S103, obtaining the average receiving frequency f of the historical OPS receiving equipment task, and predicting the residual duration of the next OPS receiving equipment task asWherein, the method comprises the steps of, wherein,Acquiring a task cut-off residual time length corresponding to a c-th task in the preliminary resource allocation sequence set for receiving the time length of the resource demand signal from the latest OPSSetting an inequality group, and sequentially allocating resources to the first e tasks in the preliminary resource allocation sequence set when the following inequality group is satisfied:
Wherein,When the e-th device allocates resources, obtaining the resource surplus of the b-th resource in the OPS asWherein, the method comprises the steps of, wherein,Resource demand for the ith task for the b-th resource in the OPS,Allocating resources for the e-th task, the used amount of the b-th resource, and the remaining amount of the resourcesSetting the reserved resource quantity of the b-th resource to obtain a reserved resource set of the OPSWhere m is the number of resource categories in the OPS.
Step 200, calculating the task emergency degree of the new task every time the OPS receives the resource demand of the new task, and acquiring the real-time emergency degree of each residual task in the preliminary resource allocation sequence set to obtain a real-time resource allocation sequence;
wherein, step S200 includes the following steps:
Step S201, obtaining the resource demand of the new task on various resources in the OPS, and setting the new resource demand of the ith task on the b-th resource as the resource demandAcquiring the corresponding task cut-off residual duration asObtaining the emergency degree of the new task as follows;
Step S202, setting the task cut-off residual time length of the j-th residual task in the preliminary resource allocation sequence set asAcquiring the waiting time length of the j-th residual task asAccording to the formula, calculating to obtain the real-time emergency degree of the j-th residual task when the OPS receives the new resource demand signal:
Wherein,For the task urgency of the j-th remaining task,Resource demand for the jth remaining task for the b-th resource in the OPS,Reserving the number of resources for the b-th resource, wherein m is the number of resource types in the OPS;
Step S203, ifAnd sorting the resource allocation sequence of the ith task to the jth residual task according to the real-time emergency degree of each residual task and the numerical value between the ith task to obtain a real-time resource allocation sequence.
Step 300, obtaining the residual completion time length and the equipment abnormality condition of the equipment when the equipment is deprived of resources each time, and calculating to obtain the probability of the equipment abnormality; the method comprises the steps of extracting the minimum value and the maximum value of the residual completion time to obtain a reference residual completion time when the equipment is deprived of resources, and analyzing the distribution situation between the residual completion time and the reference residual completion time;
wherein, step S300 includes the following steps:
step S301, obtaining the residual completion time length of the kth deprived resource of the historical alpha-th deviceJudging whether the deprived resources cause the abnormality of the equipment at the time, and setting an equipment abnormality condition judging functionIf the equipment is abnormal due to the kth resource deprivation of the a-th equipmentOtherwise, the device can be used to determine whether the current,;
Step S302, acquiring the residual completion time length and the equipment abnormality condition of the historical a-th equipment when resources are deprived each time, taking the residual completion time length of the a-th equipment as an abscissa and the equipment abnormality condition as an ordinate, and establishing a two-dimensional plane rectangular coordinate system to obtain an equipment abnormality distribution diagram of the a-th equipment;
Step S303, extracting the number of abnormal cases of the a-th device from the device abnormal distribution diagram as followsCalculating the probability of abnormality of the a-th equipment asWherein, the method comprises the steps of, wherein,Selecting a minimum remaining completion time period for the historical a-th device to be deprived of resourcesAnd maximum remaining completion timeCalculating the reference residual completion time length when the a-th equipment is deprived of resources as followsScreening the residual completion time lengths of all the a-th devices with abnormality to obtain the number of times that the residual completion time lengths are smaller than the reference residual completion time lengths as followsWhen the a-th equipment is abnormal, calculating that the probability that the residual completion time length is smaller than the reference residual completion time length is;
Step S304, a risk probability X is set, ifX, setting the residual completion time length smaller than the reference residual completion time length as the risk time length, and acquiring the current residual completion time length of the a-th equipment in real timeCalculating the related probability that the current residual completion time length of the a-th equipment is smaller than the reference residual completion time length according to a formula:
Wherein Sel () is a judgment function, if it satisfiesThen,If it meetsThen,;
Acquiring probability of abnormality of a-th deviceAccording to the formula:
Calculating an abnormal probability of abnormality of the equipment caused by the current deprived resource of the a-th equipment
Step 400, when the residual resources in the OPS can not meet the new resource demand, calculating to obtain the risk value of the resources currently deprived by each device according to the abnormal probability of each device, setting a non-deprivable state for the device and sequencing the residual devices according to the risk value if the risk value exceeds the set risk threshold value to generate a resource deprivation sequence;
wherein, step S400 includes the following steps:
Step S401, obtaining an abnormality probability of abnormality of the device caused by the current deprived resource of the a-th deviceAnd the task cutoff remaining duration of the current a-th deviceCalculating the risk value of the current deprived resource of the a-th equipment according to a formula:
Wherein,The total of the residual time length is cut off for the tasks of all the current devices;
step S402, setting a risk thresholdIf (if)And sorting the rest devices according to the risk value from low to high to generate a resource deprivation sequence except all the devices in the non-deprivable state.
An intelligent equipment control system applying an OPS computer comprises a resource allocation module, an equipment abnormality analysis module and a resource deprivation analysis module;
The resource allocation module is used for judging whether to send a resource shortage reminder to the OPS by comparing the resource demand of each device with the resource residual quantity in the OPS when a plurality of devices are connected with the OPS, acquiring the task deadline residual duration of each device to obtain the task emergency degree of each device, generating a preliminary resource allocation sequence set, predicting the residual duration of the task received next time by the OPS according to the task receiving frequency of the historical OPS, and setting the reserved resource quantity of various resources;
The equipment abnormality analysis module is used for acquiring the residual completion time length and equipment abnormality condition of equipment when the equipment is deprived of resources each time, and calculating to obtain the probability of the equipment abnormality; the method comprises the steps of extracting the minimum value and the maximum value of the residual completion time to obtain a reference residual completion time when the equipment is deprived of resources, and analyzing the distribution situation between the residual completion time and the reference residual completion time;
The resource deprivation analysis module is used for calculating the risk value of each device currently deprived of resources according to the abnormal probability of each device when the residual resources in the OPS cannot meet the new resource demand, setting the non-deprivable state for the device and sequencing the residual devices according to the risk value if the risk value exceeds the set risk threshold, so as to generate a resource deprivation sequence.
The resource allocation module comprises a resource quantity comparison unit, an allocation sequence analysis unit and a reserved resource setting unit;
The resource quantity comparison unit is used for judging whether to send a resource shortage reminding to the OPS by comparing the resource demand quantity of each device with the resource residual quantity in the OPS when a plurality of devices are connected with the OPS, the distribution sequence analysis unit is used for obtaining the task deadline residual duration of each device to obtain the task emergency degree of each device and generate a preliminary resource distribution sequence set, and the reserved resource setting unit is used for predicting the residual duration of the task received next by the OPS according to the task receiving frequency of the historical OPS and setting the reserved resource quantity of various resources.
The equipment abnormality analysis module comprises an abnormality distribution analysis unit and an abnormality probability calculation unit;
The abnormal distribution analysis unit is used for obtaining the residual completion time length of the equipment when the equipment is deprived of resources each time and the equipment abnormal condition, calculating to obtain the probability of the equipment abnormal occurrence, extracting the minimum value and the maximum value of the residual completion time length to obtain the reference residual completion time length of the equipment when the equipment is deprived of resources, analyzing the distribution condition between the residual completion time length and the reference residual completion time length, and calculating to obtain the abnormal probability of the equipment abnormal occurrence caused by the current resource deprivation of the equipment according to the current residual completion time length of the equipment.
The resource deprivation analysis module comprises a risk value calculation unit and a deprivation sequence setting unit;
The risk value calculation unit is used for calculating the risk value of each device which is deprived of resources currently according to the abnormal probability of each device when the residual resources in the OPS cannot meet the new resource demand, and the deprivation sequence setting unit is used for setting the non-deprivable state of the device and sequencing the residual devices according to the risk value if the risk value exceeds the set risk threshold value to generate the resource deprivation sequence.
A storage medium having stored thereon computer instructions which, when executed by a processor, implement a method of intelligent device control employing an OPS computer.
Assuming that three resources exist in the OPS computer, the OPS computer is connected with three devices, wherein the resource demand of the device A is 1,2 and 0, the resource demand of the device B is 1, 0 and 2, and the resource demand of the device C is 0,1 and 2, wherein the resource residual quantity of the OPS computer is 3, 2 and 3;
The method comprises the steps of obtaining the task cut-off residual time of a device A to be 10h, obtaining the task cut-off residual time of a device B to be 30h and obtaining the task emergency degree of the device A to be calculated, wherein the total requirement of a 2 nd resource is 2+1= 3>2, the resource surplus of the OPS can not meet the total resource requirement of three devices, and sending a resource shortage prompt to the OPSTask urgency for device B =1/10=1/30, Task urgency of device C=1/40, Generating a preliminary resource allocation order A, B, C;
predicting the remaining time length of the next OPS receiving equipment task as=20H, since 10h <20h <10+30h, the resource is allocated to the device a first, and after assuming 20h, the task of the device a is completed, the resource is released, and the remaining resource is used as the reserved resource of the OPS;
When the OPS receives a new resource demand signal of the device D, the emergency degree of the new task is 1/50, the device B and the device C are arranged in the primary resource allocation sequence set, the task cut-off residual time of the device B is 10h, the task cut-off residual time of the device C is 20h, the waiting time of waiting for resource allocation of the device B is 20h, the waiting time of waiting for resource allocation of the device C is 20h, and the method comprises the following steps: The real-time emergency degree of the equipment B is calculated to be 0.03+2 multiplied by 3/8=0.78, and the real-time emergency degree of the equipment C is calculated to be 0.025+1 multiplied by 3/8=0.4, so that the real-time resource allocation sequence is B, C, D;
Obtaining the residual completion time length of the 1 st time of the deprived resource of the historical equipment A for 5h, wherein the abnormality occurs, the residual completion time length of the 2 nd time of the deprived resource for 15h, the abnormality does not occur, the residual completion time length of the 3 rd time of the deprived resource for 6h, the abnormality occurs, and selecting the minimum value of the residual completion time length when the historical equipment A is deprived of the resourceAnd maximum remaining completion timeCalculating the reference residual completion time length when the equipment A is deprived of resources as followsWhen the abnormality occurs in the device a, the probability that the remaining completion time length is smaller than the reference remaining completion time length is calculated as=1, Setting a risk probability as 70%, setting the remaining completion time length smaller than 10h as risk time length, and acquiring the current remaining completion time length of the equipment A in real timeAnd according to the formula: =1×1+0=1, according to the formula: =2/3× (1+1) =1.33, and the anomaly probability of the anomaly occurring in the device due to the current deprivation of resources by the device a is calculated to be 1.33;
When the residual resources in the OPS cannot meet the new resource demand of the new task, calculating to obtain the risk value of the current deprived resources of the equipment AThe risk threshold is set to 10 because 13.3>10, device a is set to the non-deprivable state, and the rest devices except all devices in the non-deprivable state are ordered according to the risk value from low to high, so as to generate a resource deprivation sequence.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the above-mentioned embodiments are merely preferred embodiments of the present invention, and the present invention is not limited thereto, but may be modified or substituted for some of the technical features thereof by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

Step S303, extracting the number of abnormal cases of the a-th device from the device abnormal distribution diagram as followsCalculating the probability of abnormality of the a-th equipment asWherein, the method comprises the steps of, wherein,Selecting a minimum remaining completion time period for the historical a-th device to be deprived of resourcesAnd maximum remaining completion timeCalculating the reference residual completion time length when the a-th equipment is deprived of resources as followsScreening the residual completion time lengths of all the a-th devices with abnormality to obtain the number of times that the residual completion time lengths are smaller than the reference residual completion time lengths as followsWhen the a-th equipment is abnormal, calculating that the probability that the residual completion time length is smaller than the reference residual completion time length is;
The abnormal distribution analysis unit is used for obtaining the residual completion time length of the equipment when the equipment is deprived of resources each time and the equipment abnormal condition, calculating to obtain the probability of the equipment abnormal occurrence, extracting the minimum value and the maximum value of the residual completion time length to obtain the reference residual completion time length of the equipment when the equipment is deprived of resources, analyzing the distribution condition between the residual completion time length and the reference residual completion time length, and calculating to obtain the abnormal probability of the equipment abnormal occurrence caused by the current resource deprivation of the equipment according to the current residual completion time length of the equipment.
CN202411591792.4A2024-11-082024-11-08Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage mediumActiveCN119127621B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202411591792.4ACN119127621B (en)2024-11-082024-11-08Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202411591792.4ACN119127621B (en)2024-11-082024-11-08Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage medium

Publications (2)

Publication NumberPublication Date
CN119127621A CN119127621A (en)2024-12-13
CN119127621Btrue CN119127621B (en)2025-02-11

Family

ID=93752290

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202411591792.4AActiveCN119127621B (en)2024-11-082024-11-08Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage medium

Country Status (1)

CountryLink
CN (1)CN119127621B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2013161305A (en)*2012-02-062013-08-19Nippon Telegr & Teleph Corp <Ntt>Resource monitoring device, resource monitoring system, method for monitoring resource, resource monitoring program
CN118193169A (en)*2024-04-022024-06-14小舟(海南)智慧水务科技有限公司 A task scheduling optimization method and system based on equipment status analysis

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2013161305A (en)*2012-02-062013-08-19Nippon Telegr & Teleph Corp <Ntt>Resource monitoring device, resource monitoring system, method for monitoring resource, resource monitoring program
CN118193169A (en)*2024-04-022024-06-14小舟(海南)智慧水务科技有限公司 A task scheduling optimization method and system based on equipment status analysis

Also Published As

Publication numberPublication date
CN119127621A (en)2024-12-13

Similar Documents

PublicationPublication DateTitle
CN110350609B (en) AGV charging management method and system, equipment and storage medium
CN112269641B (en)Scheduling method, scheduling device, electronic equipment and storage medium
CN106874031B (en)Method and device for starting system program of terminal equipment
CN111258737B (en)Resource scheduling method and device and filter scheduler
CN109857551B (en)Service resource scheduling method and device based on cloud computing and electronic equipment
KR100509794B1 (en)Method of scheduling jobs using database management system for real-time processing
US12135996B2 (en)Computing resource scheduling method, scheduler, internet of things system, and computer readable medium
CN110991808A (en)Task allocation method and device
JP7728974B2 (en) Robot scheduling method, device, electronic device, and storage medium
CN112527490B (en)Node resource management and control method and device, electronic equipment and storage medium
CN116483546A (en) Distributed training task scheduling method, device, equipment and storage medium
US20240020168A1 (en)Resource Scheduling Method and Apparatus, Computer Device, System, and Storage Medium
CN106325997B (en)Virtual resource allocation method and device
CN112650449B (en)Method and system for releasing cache space, electronic device and storage medium
CN113658351B (en)Method and device for producing product, electronic equipment and storage medium
CN119127621B (en)Intelligent equipment control system and method applying OPS (open-loop control system) computer and storage medium
CN114253686A (en)Task scheduling method and device, electronic equipment and storage medium
CN118528848A (en) A coordinated control method for EV charging in an integrated charging station
CN114138453B (en)Resource optimization allocation method and system suitable for edge computing environment
CN115562115A (en)Shore bridge, remote operation system and method thereof, and remote control equipment
CN115509713A (en)A task processing method, system device, electronic apparatus, and storage medium
CN117112121A (en)Distributed task processing system, method, apparatus and computer program product
CN114418282A (en)Station scene management method, device, equipment and computer program product
CN115033392B (en)Method and system for self-adaptively allocating computing resources
CN120256134B (en) Storage resource allocation method, electronic device, storage medium and program product

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp