CN110896369A - Method, device, equipment and medium for determining working time limit of equipment - Google Patents

Method, device, equipment and medium for determining working time limit of equipment Download PDF

Info

Publication number
CN110896369A
CN110896369A CN201911075362.6A CN201911075362A CN110896369A CN 110896369 A CN110896369 A CN 110896369A CN 201911075362 A CN201911075362 A CN 201911075362A CN 110896369 A CN110896369 A CN 110896369A
Authority
CN
China
Prior art keywords
time
working
preset
range
equipment
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.)
Granted
Application number
CN201911075362.6A
Other languages
Chinese (zh)
Other versions
CN110896369B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911075362.6A priority Critical patent/CN110896369B/en
Publication of CN110896369A publication Critical patent/CN110896369A/en
Application granted granted Critical
Publication of CN110896369B publication Critical patent/CN110896369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications

Abstract

The invention discloses a method, a device, equipment and a medium for determining the working time limit of equipment. And calculating the range of the continuous working time of the equipment which is not lower than the preset continuous working lower limit time according to the fault rate and the preset continuous working lower limit time, wherein the range is the first working time range of the working time limit. And calculating the range of the equipment fault duration time which is not higher than the preset fault duration upper limit time according to the fault rate and the preset fault duration upper limit time, wherein the range is a second working time range of the working time limit. Based on the intersection of the first operating time range and the second operating time range, an operating time limit for the device may be determined. The method determines the working time limit through the continuous working time and the fault duration, and the working time limit is more consistent with the actual working state of the equipment, so that the working time limit consistent with the actual working time limit can be obtained, and the accuracy of calculating the working time limit of the equipment is improved.

Description

Method, device, equipment and medium for determining working time limit of equipment
Technical Field
The invention relates to the field of vehicle networking, in particular to a method, a device, equipment and a medium for determining the working time limit of the equipment.
Background
When network devices are connected with each other to form a network, for example, a car networking formed by a cloud server, the working time limit of each device needs to be considered to ensure the service quality of the network devices. The main functions of the car networking are: the vehicle-mounted equipment on the vehicle effectively utilizes all vehicle dynamic information in the information network platform through a wireless communication technology, and provides different functional services in the running process of the vehicle. Therefore, the Internet of vehicles can provide guarantee for the distance between the vehicles, the probability of collision accidents of the vehicles is reduced, the Internet of vehicles can help the vehicle owners to navigate in real time, and the efficiency of traffic operation is improved through communication with other vehicles and a network system. Therefore, the working time limit of the cloud server in the internet of vehicles needs to be obtained to ensure the normal operation of the internet of vehicles.
In the prior art, the method for determining the working time limit of the vehicle cloud server is to acquire the time when the vehicle cloud server is expected to work normally and the failure duration, and take the sum of the expected normal working time and the failure duration as the working time limit of the vehicle cloud server, and the failure condition of the vehicle cloud server is not considered, so the accuracy is low.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for determining the working time limit of equipment. The accuracy of the determined working time limit of the equipment can be improved.
In one aspect, the present invention provides a method for determining an operating time limit of a device, where the method includes:
acquiring the fault rate of equipment in a preset unit time based on historical data in the preset unit time;
obtaining a first working time range of each device based on the fault rate and preset continuous working lower limit time;
obtaining a second working time range of each device based on the fault rate and a preset fault duration upper limit time;
and determining the working time limit of each device according to the first working time range and the second working time range.
Another aspect provides an apparatus for determining an operating time limit of a device, the apparatus comprising: the system comprises a failure rate acquisition module, a first working time range acquisition module, a second working time range acquisition module and a working time limit acquisition module:
the fault rate acquisition module is used for acquiring the fault rate of the equipment in the preset unit time based on historical data in the preset unit time;
the first working time range acquisition module is used for acquiring a first working time range of each device based on the fault rate and preset continuous working lower limit time;
the second working time range acquisition module is used for acquiring a second working time range of each device based on the fault rate and preset fault duration upper limit time;
and the working time limit acquisition module is used for determining the working time limit of each device according to the first working time range and the second working time range.
Another aspect provides an apparatus comprising a processor and a memory having stored therein at least one instruction, at least one program, set of codes or set of instructions, which is loaded and executed by the processor to implement a method of determining a working time limit of an apparatus as described above.
A further aspect provides a storage medium comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes or set of instructions, the at least one instruction, the at least one program, set of codes or set of instructions being loaded and executed by the processor to implement a method of determining a device uptime as described above.
The method, the device, the equipment and the medium for determining the working time limit of the equipment are provided by the invention, the working time limit of the equipment is determined based on the determined fault rate, and the fault rates of the equipment can be the same or different. And calculating the range of the continuous working time of the equipment which is not lower than the preset continuous working lower limit time according to the fault rate and the preset continuous working lower limit time, wherein the range is the first working time range of the working time limit. And calculating the range of the equipment fault duration time which is not higher than the preset fault duration upper limit time according to the fault rate and the preset fault duration upper limit time, wherein the range is a second working time range of the working time limit. Based on the intersection of the first operating time range and the second operating time range, an operating time limit for the device may be determined. The method determines the working time limit through the continuous working time and the fault duration, and the working time limit is in accordance with the actual working state of the equipment, so that the working time limit in accordance with the actual working time limit can be obtained, the accuracy of the working time limit of the computing equipment is improved, a network formed by the equipment can be better monitored, and the normal operation of the network is maintained.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic application scenario diagram of a method for determining an operating time limit of a device according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining an operating time limit of a device according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for calculating a failure rate of a device in a method for determining an operating time limit of the device according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for obtaining a first operating time range in a method for determining an operating time limit of a device according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a relationship between a continuous operation time and a fault duration in a method for determining an operation time limit of a device according to an embodiment of the present invention;
fig. 6 is a flowchart of a method for calculating a range of continuous operating time of a device not less than a lower limit time in a method for determining an operating time limit of the device according to an embodiment of the present invention;
fig. 7 is a flowchart of a method for obtaining a second operating time range in a method for determining an operating time limit of a device according to an embodiment of the present invention;
fig. 8 is a flowchart of a method for calculating a range of a device fault duration not higher than an upper limit time in a method for determining a device operating time limit according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating a training data model of a method for determining a working time limit of a device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an apparatus for determining an operating time limit of a device according to an embodiment of the present invention;
fig. 11 is a schematic hardware structure diagram of an apparatus for implementing the method provided in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Moreover, the terms "first," "second," and the like, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Referring to fig. 1, an application scenario diagram of a method for determining an operating time limit of a device according to an embodiment of the present invention is shown, where the application scenario includes a device 110 and a user terminal 120. The staff presets a fixed unit time, and acquires the historical data of the device 110 in the preset unit time through the user terminal 120, so as to obtain the failure rate of the device to be determined. And obtaining the continuous working time range of each device based on the fault rate and the preset continuous working lower limit time. And obtaining the time range of the fault duration of each device based on the fault rate and the preset fault duration upper limit time. The user terminal 120 may select the operating time limit of the device according to the intersection of the time range of continuous operation and the time range of fault duration.
In the embodiment of the present invention, the device 110 includes a cloud server, a server, and other devices having a service life, and the user terminal 120 may obtain a failure rate of the device 110 in a preset unit time according to the collected data, so as to calculate the working time limit of the device.
In the embodiment of the present invention, the ue 120 includes a physical device of a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and the like, and may also include software running in the physical device, such as a computing program and the like. The operating system running on the user terminal 110 in this embodiment of the present application may include, but is not limited to, an android system, an IOS system, linux, windows, Mac, and the like. The program running on the user terminal 110 in the embodiment of the present application may be developed using a programming language python, or any other computer language. The user terminal 110 may perform calculation of the operation time limit of the device based on the failure rate and feed back the operation time limit of each device to the user.
Referring to fig. 2, a method for determining an operation time limit of a device, which is applicable to a user terminal side, is shown, and the method includes:
s210, acquiring the fault rate of equipment in a preset unit time based on historical data in the preset unit time;
further, referring to fig. 3, the obtaining the failure rate of the device in the preset unit time based on the historical data in the preset unit time includes:
s310, acquiring the working quantity of equipment in preset unit time;
s320, acquiring the number of faults of equipment with faults in preset unit time;
s330, acquiring the failure rate of the equipment in the preset unit time according to the failure number and the working number.
Specifically, the preset unit time is selected as the case may be, and may be one day, one month, one year, ten years, and the like. Since the failure rate of the equipment is basically kept unchanged under the condition that the production and the use meet the specifications, the failure rate of the equipment can be directly determined based on the preset historical data in unit time. For example: assuming that the device is a cloud server, acquiring the number of cloud servers which are working in a preset unit time, and acquiring the number of cloud servers which have faults in the preset unit time, wherein the ratio of the number of the cloud servers which have faults to the number of the cloud servers which are working in the preset unit time is the fault rate of the cloud servers in the preset unit time.
S220, acquiring a first working time range of each device based on the fault rate and preset continuous working lower limit time;
further, referring to fig. 4, the obtaining the first operating time range of each device based on the failure rate and the preset continuous operating lower limit time includes:
s410, determining preset continuous working lower limit time, wherein the preset continuous working lower limit time is the lower limit time for continuous normal working of the equipment;
s420, calculating the range of the continuous working time of the equipment, which is not less than the preset continuous working lower limit time, based on the fault rate;
and S430, taking the calculated range of the continuous working time as a first working time range.
Specifically, referring to fig. 5, the continuous operation time is a time for the device to perform continuous normal operation. The relation between the continuous working time and the fault duration and the working time limit is that the continuous working time and the fault duration alternately appear to form the working time limit when the equipment works. Specifically, a fault occurs after a certain time of continuous operation, the fault is removed after the fault lasts for a period of time, and the equipment continues to operate, namely the continuous operation time and the fault duration are mutually interlaced time.
The method comprises the steps of determining at least how many preset unit times the expected equipment continuously and normally works on average, namely determining preset continuous working lower limit time, and obtaining the continuous working lower limit time according to requirements and specific conditions. For example, the time for which the apparatus can operate for 20 years is desired, and if the environment of the apparatus is suitable, the time for setting the lower limit time for continuous operation can be suitably extended to 23 to 25 years, and if the environment of the apparatus is severe, the time for setting the lower limit time for continuous operation can be shortened to 15 to 17 years.
And under the condition of determining the fault rate, calculating the range of continuous working time of the equipment, wherein the range of the continuous working time can ensure that the average continuous normal working time of the equipment under the condition of determining the fault rate is not lower than the preset continuous working lower limit time.
If the failure rates of the different devices are the same, setting the serial number of the device as i, i belongs to {1,2, · · h }, setting the failure rate as p, and presetting the lower limit time of continuous operation as tiThe operating time of the apparatus is TiAnd calculating the range of the continuous working time of the equipment which is not lower than the preset continuous working lower limit time by the following formula to obtain a first working time range.
Figure BDA0002262266430000061
The first operating time range for each device at the same failure rate may be calculated based on the above formula.
If the failure rates of different devices are different, the serial number of the device is set as i, i belongs to {1,2, · · h }, and the failure rate is piPresetting the lower limit time of continuous operation as tiThe operating time of the apparatus is TiThe continuous working time of the equipment which is not less than the preset continuous working lower limit time can be calculated by the following formulaAnd making a time range to obtain a first working time range. When the failure rates of different devices are different, each device can be specifically positioned through the serial numbers of the devices, so that the failure rate of the corresponding device can be obtained for calculation.
Figure BDA0002262266430000071
The first operating time range for each device at different failure rates can be calculated based on the above formula.
Based on the failure rate of the equipment obtained according to the historical data, the continuous working time range which is not lower than the preset continuous working lower limit time can be determined, so that the working time limit can meet the requirement of the lowest continuous working time, and the continuous working time of the equipment is ensured.
Further, referring to fig. 6, the calculating the range of the continuous operation time of the device not less than the preset continuous operation lower limit time based on the failure rate includes:
s610, calculating a plurality of continuous working probabilities of the equipment in continuous working at different integral multiples in preset unit time based on the fault rate;
s620, obtaining the theoretical working time limit of the continuous working of the equipment according to the plurality of continuous working probabilities;
and S630, calculating the range of the continuous working time of the equipment according to the theoretical working time limit of the continuous working and the preset continuous working lower limit time.
Specifically, when calculating the range of the continuous operation time of the equipment based on the above formula, if the failure rates of the respective equipments are the same, under the condition that the failure rate of the equipment is p, the continuous operation probabilities of 1,2, … n preset unit times that the equipment can continuously and normally operate are respectively obtained, where n is an integer. And calculating the theoretical working time limit of the continuous working of the equipment based on the continuous working probability, namely an expression on the left of the unequal number of the formula. The theoretical working time limit can be enabled to be not lower than the first working time range of the equipment when the preset continuous working lower limit time is achieved through inequality calculation, and the time that the equipment can continuously and normally work is guaranteed not to be lower than a real expected value.
For example, if the equipment failure rate is 2% per year and the unit time is 1 year, the probability of the equipment failing within one year of continuous operation, the probability of the equipment failing within two years of continuous operation, and the like need to be obtained, and finally the probability of the equipment failing within n years of continuous operation is obtained, if the preset continuous operation time limit is 10 years, the equipment needs to be continuously operated for at least 10 years under the condition that the annual failure rate is 2%, and the first operation time range of the equipment can be obtained by substituting the numerical values into the above formula.
Specifically, when the range of the continuous operating time of the equipment is calculated based on the above formula, if the failure rates of the respective equipments are different, the failure rate of the equipment is piUnder the condition of (1), respectively calculating the continuous operation probability of 1,2 and … n preset unit times of continuous normal operation of the equipment based on different failure rates of each equipment, wherein n is an integer. And calculating the theoretical working time limit of the continuous working of the equipment based on the continuous working probability, namely an expression on the left of the unequal number of the formula. The theoretical working time limit can be enabled to be not lower than the first working time range of the equipment when the preset continuous working lower limit time is achieved through inequality calculation, and the time that the equipment can continuously and normally work is guaranteed not to be lower than a real expected value.
For example, under the condition that one-third of the equipment failure rates are 2% per year and two-thirds of the equipment failure rates are 3% per year, the failure rates of different equipment are different, and therefore, the calculation needs to be performed on different equipment respectively. Under the condition that the failure rate is 2% per year, the unit time is 1 year, the probability that the equipment fails within one year of continuous operation, the probability that the equipment fails within two years of continuous operation and the like needs to be calculated, the probability that the equipment fails within n years of continuous operation is finally obtained, if the preset continuous operation time limit is 10 years, under the condition that the annual failure rate is 2%, the equipment needs to be continuously operated for at least 10 years, and the first operation time range of the one-third equipment can be obtained by substituting various numerical values into the formula.
If the preset continuous operation time limit is 10 years, at least 10 years of continuous operation of the equipment is finally required under the condition that the annual fault rate is 3%, and the numerical values are substituted into the formula, so that the first operating time range of the other two thirds of the equipment can be obtained.
S230, obtaining a second working time range of each device based on the fault rate and preset fault duration upper limit time;
further, referring to fig. 7, the obtaining the second operating time range of each device based on the failure rate and the preset failure duration upper limit time includes:
s710, determining preset fault duration upper limit time, wherein the preset fault duration upper limit time is preset fault duration upper limit time of equipment;
s720, calculating the fault duration range of the equipment which is not higher than the preset fault duration upper limit time based on the fault rate;
and S730, taking the range of the fault duration as a second working time range.
Specifically, how many preset unit times the device is expected to operate at most on average, that is, the preset upper limit time of the fault duration is determined, and the upper limit time of the fault duration may be obtained according to the demand and the specific situation. For example, the upper limit time of the fault duration of the equipment is expected to be 10 minutes, and in the case of qualified equipment and appropriate environment, the upper limit time of the fault duration can be appropriately shortened and the value can be taken between 7 and 9 minutes, and in the case of severe environment, the upper limit time of the fault duration can be appropriately lengthened and the value can be taken between 11 and 13 minutes. And calculating the range of the fault duration time of the equipment under the condition of fault rate determination, wherein the range of the fault duration time can ensure that the average time of the equipment under the condition of fault rate determination for continuously working is not higher than the preset fault duration upper limit time.
If the failure rates are the same, setting the serial number of the equipment as i, i belongs to {1,2, · · h }, setting the failure rate as p, and setting the preset failure duration upper limit time as biThe operating time of the apparatus is TiAnd calculating the range of the equipment fault duration time which is not higher than the preset fault duration upper limit time through the following formula to obtain a second working time range.
Figure BDA0002262266430000091
A second operating time range for each device at the same failure rate may be calculated based on the above formula.
If the failure rates are different, the serial number of the equipment is set as i, i belongs to {1,2, · · h }, and the failure rate is set as piThe preset fault duration upper limit time is biThe operating time of the apparatus is TiAnd calculating the range of the equipment fault duration time which is not higher than the preset fault duration upper limit time through the following formula to obtain a second working time range. When the failure rates of different devices are different, the number of the device can be specifically positioned to each device, so that the failure rate of the corresponding device can be obtained for calculation.
Figure BDA0002262266430000092
A second operating time range for each device at a different failure rate may be calculated based on the above formula.
Based on the failure rate of the equipment obtained through the historical data, the failure duration range which is not higher than the preset failure duration upper limit time can be determined, so that the working time limit can meet the requirement of the highest failure duration time, and the failure duration of the equipment is ensured not to influence the working condition of the equipment.
Further, referring to fig. 8, the calculating a range of the failure duration of the device not higher than the preset failure duration upper limit time based on the failure rate includes:
s810, calculating a plurality of fault persistence probabilities of the equipment in different integer multiples of preset unit time based on the fault rate;
s820, obtaining the fault continuous theoretical working time limit of the equipment according to the multiple fault continuous probabilities;
and S830, calculating the range of the fault duration of the equipment according to the theoretical working time limit of the fault duration and the preset fault duration upper limit time.
S240, determining the working time limit of each device according to the first working time range and the second working time range.
Specifically, when calculating the range of the equipment fault duration time based on the above formula, if the fault rates are the same, the fault duration probabilities of 1,2, and … n preset unit times of equipment fault duration are respectively obtained under the condition that the fault rate of the equipment is p, where n is an integer. And calculating the theoretical working time limit of the fault duration of the equipment based on the fault duration probability, namely the expression on the left side of the unequal number of the formula. The inequality calculation can enable the theoretical working time limit to be not higher than the second working time range of the equipment when the preset fault duration upper limit time is reached, and the time for which the equipment can carry out fault duration is not higher than a real expected value.
For example, if the equipment failure rate is 2% per year, and the unit time is 1 year, it is necessary to obtain the probability that the equipment will fail and continue to fail in one year of operation, the probability that the equipment will fail and continue to fail in two years of operation, and the like, and finally obtain the probability that the equipment will fail and continue to fail in n years of operation, and if the preset upper limit time for failure duration is 15 minutes, then the probability that the equipment will fail and continue to fail in n years of operation is 15 minutes or less, and the second operating time range of the equipment can be obtained by substituting the numerical values into the above formula under the condition that the equipment failure rate is 2%.
When the range of the equipment fault duration is calculated based on the formula, if the fault rates are different, the equipment fault duration is calculatedFailure rate at the device is piUnder the condition (1), based on different failure rates of the devices, failure continuation probabilities of 1,2 and … n preset unit times of device failure continuation are respectively obtained, wherein n is an integer. And calculating the theoretical working time limit of the fault persistence of each device based on the fault persistence probability, namely an expression on the left of the unequal number of the formula. The inequality calculation can enable the theoretical working time limit to be not higher than the second working time range of the equipment when the preset fault duration upper limit time is reached, and the time for which the equipment can carry out fault duration is not higher than a real expected value.
For example, the unit time is 1 year under the condition that one third of the equipment failure rate is 2% per year, and the other two thirds of the equipment failure rate is 3% per year. And respectively calculating the probability that the equipment fails and continues to fail within one year when working under the condition that the failure rate is 2% per year, the probability that the equipment fails and continues to fail within two years when working, and the like, and finally obtaining the probability that the equipment fails and continues to fail within n years when working, wherein if the preset upper limit time for failure duration is 15 minutes, the time for failure occurrence and continues to fail within n years when working is not more than 15 minutes under the condition that the failure rate is 2%, and each numerical value is substituted into the formula, so that the second working time range of one third of the equipment can be obtained.
And under the condition that the fault rate is 3% per year, the probability that the equipment fails and continues to fail within one year when working, the probability that the equipment fails and continues to fail within two years when working and the like are finally obtained, if the preset upper limit time for the fault duration is 15 minutes, under the condition that the fault rate is 3%, the time for the fault to occur and continue to fail within n years of working is finally required to be less than or equal to 15 minutes, and the numerical values are substituted into the formula, so that the second working time range of the other two thirds of equipment can be obtained.
Further, referring to fig. 9, the determining the preset operating time of each device according to the first operating time range and the second operating time range includes:
s910, acquiring an intersection of the first working time range and the second working time range according to the first working time range and the second working time range;
s920, determining the working time limit of each device according to the working time in the intersection.
Specifically, the time included in the intersection of the first operating time range and the second operating time range may be the operating time limit of the device. And selecting one time in the intersection as the working time limit of the equipment according to the requirement.
In determining the preset operation time limit of each device, the accuracy of the method of determining the operation time limit of the device may be checked. After the working time limit is set for each device, the actual continuous working time and the actual fault duration of the device are collected, the number of devices meeting the preset working time is counted, and the percentage of the devices meeting the preset working time limit in actual application is obtained. In a specific example, a preset working time limit is set for all vehicle cloud servers, the average continuous normal working time and the average failure duration of the servers are counted, the vehicle cloud server proportion meeting the preset time is calculated, the number of the vehicle cloud servers meeting the requirement is divided by the total number of the vehicle cloud servers, and the vehicle cloud server proportion meeting the preset time in the average continuous normal working time is 95%, and the vehicle cloud server proportion meeting the preset time in the average failure duration is 95%.
In a particular embodiment, the device may be a cloud server of a vehicle. And determining a preset unit time, and calculating the fault rate of the cloud server according to historical data in the preset unit time. The failure rates of the different cloud servers may be different or the same, for example, the failure rate of the cloud servers may be a uniform annual failure rate of 1.2%, or the failure rate of some cloud servers may be an annual failure rate of 1.1%, or the failure rate of some cloud servers may be a different annual failure rate of 1.33%. The operating time limit of the cloud server of the vehicle may be calculated based on different failure rates or the same failure rate.
The number of the vehicle cloud servers is determined, the vehicle cloud servers are numbered, and the working time limit of the vehicle cloud servers is obtained based on the continuous working time and the fault duration. According to the fault of each vehicle cloud server, performing polling calculation on a first working time range related to continuous working time and a second working time range related to fault duration to obtain related data of each vehicle cloud server, and obtaining the working time limit of each vehicle cloud server based on the intersection of the first working time range and the second working time range.
In a particular embodiment, the first operating time range is obtained for a given failure rate. According to the operation requirement of the cloud server, presetting a continuous working lower limit time, and calculating a continuous working time range not lower than the continuous working lower limit time based on the determined fault rate to obtain a first working time range.
In a specific embodiment, the second operating time range is obtained for a given failure rate. According to the operation requirement of the cloud server, a fault duration upper limit time is preset, and based on the determined fault rate, a fault duration time range which is not higher than the fault duration upper limit time is calculated to obtain a second working time range.
The invention provides a method for determining the working time limit of equipment, which is used for determining the working time limit of the equipment based on a determinable failure rate, wherein the failure rates of the equipment can be the same or different. And calculating the range of the continuous working time of the equipment which is not lower than the preset continuous working lower limit time according to the fault rate and the preset continuous working lower limit time, wherein the range is the first working time range of the working time limit. And calculating the range of the equipment fault duration time which is not higher than the preset fault duration upper limit time according to the fault rate and the preset fault duration upper limit time, wherein the range is a second working time range of the working time limit. Based on the intersection of the first operating time range and the second operating time range, an operating time limit for the device may be determined. The method determines the working time limit through the continuous working time and the fault duration, and the working time limit is more consistent with the actual working state of the equipment, so that the working time limit consistent with the actual working time limit can be obtained, and the accuracy of calculating the working time limit of the equipment is improved. According to the method, through accurate working time limit calculation, the network formed by the equipment can be better monitored, and the normal operation of the network is maintained.
Referring to fig. 10, a failure rate obtaining module 1010, a first operating time range obtaining module 1020, a second operating time range obtaining module 1030, and an operating time limit obtaining module 1040:
the failure rate obtaining module 1010 is configured to obtain a failure rate of the device in a preset unit time based on historical data in the preset unit time;
the first working time range obtaining module 1020 is configured to obtain a first working time range of each device based on the failure rate and a preset continuous working lower limit time;
the second working time range obtaining module 1030 is configured to obtain a second working time range of each device based on the fault rate and a preset fault duration upper limit time;
the working time limit obtaining module 1040 is configured to determine the working time limit of each device according to the first working time range and the second working time range.
Further, the failure rate acquisition module comprises a working equipment acquisition unit, a failure equipment acquisition unit and a failure rate calculation unit:
the working equipment acquisition unit is used for acquiring the working quantity of equipment in preset unit time;
the fault equipment acquisition unit is used for acquiring the fault quantity of equipment with faults in preset unit time;
and the fault rate calculation unit is used for acquiring the fault rate of the equipment in the preset unit time according to the fault quantity and the working quantity.
Further, the first operating time range acquisition module includes a lower limit time determination unit and a first range calculation unit:
the lower limit time determining unit is used for determining preset continuous working lower limit time, and the preset continuous working lower limit time is the lower limit time for continuously carrying out normal working on preset equipment;
and the first range calculating unit is used for calculating the range of the continuous working time of the equipment which is not lower than the preset continuous working lower limit time based on the fault rate, and taking the range of the continuous working time obtained by calculation as a first working time range.
Further, the second operating time range acquisition module includes an upper limit time determination unit and a second range calculation unit:
the upper limit time determining unit is used for determining preset fault duration upper limit time, and the preset fault duration upper limit time is preset upper limit time of fault duration of equipment;
the second range calculating unit is configured to calculate a range of the failure duration time of the device that is not higher than the preset failure duration upper limit time based on the failure rate, and take the range of the failure duration time as a second operating time range.
Further, the working time limit acquisition module comprises an intersection acquisition unit and a working time limit determination unit:
the intersection acquisition unit is used for acquiring the intersection of the first working time range and the second working time range according to the first working time range and the second working time range;
and the working time limit determining unit is used for determining the working time limit of each device according to the working time in the intersection.
The device provided in the above embodiments can execute the method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a method for determining an operating time limit of a device according to any embodiment of the present invention.
The present embodiment also provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are loaded by a processor and execute the method for determining the working time limit of the device according to the present embodiment.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The present embodiment also provides an apparatus comprising a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform a method of determining an operating time limit of an apparatus as described above in the present embodiment.
The device may be a computer terminal, a mobile terminal or a server, and the device may also participate in forming the apparatus or system provided by the embodiments of the present invention. As shown in fig. 11, the computer terminal 11 (or mobile terminal 11 or server 11) may include one or more (shown as 1102a, 1102b, … …, 1102 n) processors 1102 (the processors 1102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1104 for storing data, and a transmission device 1106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 11 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 11 may also include more or fewer components than shown in FIG. 11, or have a different configuration than shown in FIG. 11.
It should be noted that the one or more processors 1102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Furthermore, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 11 (or mobile terminal). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 1104 may be used for storing software programs and modules of application software, such as program instructions/data storage devices corresponding to the method according to the embodiment of the present invention, and the processor 1102 may execute various functional applications and data processing by running the software programs and modules stored in the memory 1104, so as to implement the above-mentioned method for generating the self-attention-network-based time-series behavior capture block. The memory 1104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1104 may further include memory located remotely from the processor 1102, which may be connected to the computer terminal 11 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 1106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 11. In one example, the transmission device 1106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 1106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 11 (or mobile terminal).
The present specification provides method steps as described in the examples or flowcharts, but may include more or fewer steps based on routine or non-inventive labor. The steps and sequences recited in the embodiments are but one manner of performing the steps in a multitude of sequences and do not represent a unique order of performance. In the actual system or interrupted product execution, it may be performed sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The configurations shown in the present embodiment are only partial configurations related to the present application, and do not constitute a limitation on the devices to which the present application is applied, and a specific device may include more or less components than those shown, or combine some components, or have an arrangement of different components. It should be understood that the methods, apparatuses, and the like disclosed in the embodiments may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a division of one logic function, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or unit modules.
Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of determining a device operating time limit, the method comprising:
acquiring the fault rate of equipment in a preset unit time based on historical data in the preset unit time;
obtaining a first working time range of each device based on the fault rate and preset continuous working lower limit time;
obtaining a second working time range of each device based on the fault rate and a preset fault duration upper limit time;
and determining the working time limit of each device according to the first working time range and the second working time range.
2. The method for determining the working time limit of the device according to claim 1, wherein the obtaining the failure rate of the device in the preset unit time based on the historical data in the preset unit time comprises:
acquiring the working quantity of equipment in preset unit time;
acquiring the fault number of equipment with faults in preset unit time;
and acquiring the fault rate of the equipment in the preset unit time according to the fault quantity and the working quantity.
3. The method for determining the operation time limit of a device according to claim 1, wherein the obtaining the first operation time range of each device based on the failure rate and the preset continuous operation lower limit time comprises:
determining preset continuous working lower limit time, wherein the preset continuous working lower limit time is the preset lower limit time for continuously carrying out normal working on equipment;
calculating the range of the continuous working time of the equipment which is not lower than the preset continuous working lower limit time based on the fault rate;
and taking the range of the continuous working time obtained by calculation as a first working time range.
4. The method of claim 3, wherein said calculating a range of continuous operating times of the device not less than said preset lower continuous operating limit time based on said failure rate comprises:
calculating a plurality of continuous working probabilities of the equipment continuously working for different integer multiples of preset unit time based on the fault rate;
obtaining the theoretical working time limit of the continuous working of the equipment according to the plurality of continuous working probabilities;
and calculating the range of the continuous working time of the equipment according to the theoretical working time limit of the continuous working and the preset continuous working lower limit time.
5. The method for determining the operation time limit of the device according to claim 1, wherein the obtaining the second operation time range of each device based on the failure rate and the preset failure duration upper limit time comprises:
determining preset fault duration upper limit time, wherein the preset fault duration upper limit time is preset fault duration upper limit time of equipment;
calculating a range of the fault duration time of the equipment which is not higher than the preset fault duration upper limit time based on the fault rate;
and taking the range of the fault duration as a second working time range.
6. The method of claim 5, wherein calculating the range of fault durations for the devices not greater than the preset fault duration upper-limit time based on the fault rate comprises:
calculating a plurality of fault duration probabilities of the equipment fault lasting for different integer multiples of a preset unit time based on the fault rate;
obtaining the fault continuous theoretical working time limit of the equipment according to the plurality of fault continuous probabilities;
and calculating the range of the fault duration time of the equipment according to the theoretical working time limit of the fault duration and the preset fault duration upper limit time.
7. The method for determining the operation time limit of a device according to claim 1, wherein the determining the preset operation time of each device according to the first operation time range and the second operation time range comprises:
acquiring an intersection of the first working time range and the second working time range according to the first working time range and the second working time range;
and determining the working time limit of each device according to the working time in the intersection.
8. An apparatus for determining an operational time limit for a device, the apparatus comprising: the system comprises a failure rate acquisition module, a first working time range acquisition module, a second working time range acquisition module and a working time limit acquisition module:
the fault rate acquisition module is used for acquiring the fault rate of the equipment in the preset unit time based on historical data in the preset unit time;
the first working time range acquisition module is used for acquiring a first working time range of each device based on the fault rate and preset continuous working lower limit time;
the second working time range acquisition module is used for acquiring a second working time range of each device based on the fault rate and preset fault duration upper limit time;
and the working time limit acquisition module is used for determining the working time limit of each device according to the first working time range and the second working time range.
9. An apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes or set of instructions, the at least one instruction, the at least one program, set of codes or set of instructions being loaded and executed by the processor to implement a method of determining a device working time limit as claimed in any one of claims 1-7.
10. A storage medium comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement a method of determining a device uptime according to any one of claims 1 to 7.
CN201911075362.6A 2019-11-06 2019-11-06 Method, device, equipment and medium for determining working time limit of equipment Active CN110896369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911075362.6A CN110896369B (en) 2019-11-06 2019-11-06 Method, device, equipment and medium for determining working time limit of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911075362.6A CN110896369B (en) 2019-11-06 2019-11-06 Method, device, equipment and medium for determining working time limit of equipment

Publications (2)

Publication Number Publication Date
CN110896369A true CN110896369A (en) 2020-03-20
CN110896369B CN110896369B (en) 2021-09-14

Family

ID=69787562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911075362.6A Active CN110896369B (en) 2019-11-06 2019-11-06 Method, device, equipment and medium for determining working time limit of equipment

Country Status (1)

Country Link
CN (1) CN110896369B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112257263A (en) * 2020-10-22 2021-01-22 中国科学院自动化研究所 Equipment residual life prediction system based on self-attention mechanism
CN115002977A (en) * 2022-07-18 2022-09-02 成都盛及航空科技发展有限公司 Landing lamp fault detection platform and landing lamp fault detection method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746312A (en) * 1993-07-29 1995-02-14 Nippon Telegr & Teleph Corp <Ntt> Method for estimating communications service interruption time
JP2007257356A (en) * 2006-03-23 2007-10-04 Nissan Motor Co Ltd Working time management device and operation management method
CN106951648A (en) * 2017-03-27 2017-07-14 国家电网公司 A kind of interacted system reliability estimation method for considering equipment life cycle management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0746312A (en) * 1993-07-29 1995-02-14 Nippon Telegr & Teleph Corp <Ntt> Method for estimating communications service interruption time
JP2007257356A (en) * 2006-03-23 2007-10-04 Nissan Motor Co Ltd Working time management device and operation management method
CN106951648A (en) * 2017-03-27 2017-07-14 国家电网公司 A kind of interacted system reliability estimation method for considering equipment life cycle management

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112257263A (en) * 2020-10-22 2021-01-22 中国科学院自动化研究所 Equipment residual life prediction system based on self-attention mechanism
CN115002977A (en) * 2022-07-18 2022-09-02 成都盛及航空科技发展有限公司 Landing lamp fault detection platform and landing lamp fault detection method
CN115002977B (en) * 2022-07-18 2022-10-28 成都盛及航空科技发展有限公司 Landing lamp fault detection platform and landing lamp fault detection method

Also Published As

Publication number Publication date
CN110896369B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN110896369B (en) Method, device, equipment and medium for determining working time limit of equipment
CN109254839B (en) Method for determining task trigger time, method and system for constructing task timer
CN109375151B (en) Monitoring channel scheduling method and device for electric energy meter metering error on-line monitoring technology
JP2020507147A (en) Real-time data processing method and apparatus
CN114500339B (en) Node bandwidth monitoring method and device, electronic equipment and storage medium
CN104915855B (en) The predictor method and device of order competition for orders rate
CN111769985A (en) Data traffic prediction method and device
CN110365598B (en) Heartbeat message sending method, device, server, terminal and storage medium
CN107566480A (en) The user activity information acquisition method and device, storage medium of mobile terminal application
CN106534239A (en) Method and device for acquiring perception data
CN109800085A (en) Detection method, device, storage medium and the electronic equipment of resource distribution
CN112422369A (en) Method and device for determining offline time, storage medium and electronic device
CN112613724A (en) Compliance assessment method and device for enterprise, storage medium and electronic equipment
CN108347355A (en) A kind of detection method and its equipment of application state
CN113792058B (en) Index data processing method and device, electronic equipment and storage medium
CN110647543A (en) Data aggregation method, device and storage medium
CN114173396A (en) Method and device for determining terminal networking time, electronic equipment and storage medium
CN111369270B (en) Method, device and system for distributing rewarding resources
CN106294721A (en) A kind of company-data statistics and deriving method and device
CN112968933A (en) Data transmission method, device, server and storage medium
CN111291291B (en) Page loading time processing method, device and system
CN113722088A (en) Recommendation method and device for cloud host specification, storage medium and electronic device
CN105188071A (en) Method, device and system for testing terminal power consumption
CN113569137A (en) Recommendation method and device for cloud host specification, storage medium and electronic device
WO2014117566A1 (en) Ranking method and 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40022073

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant