Industrial big data analysis method and system
By calculating and sorting task urgency values in real time, the problems of unreasonable resource allocation and emergency task delay in traditional methods are solved, achieving precise allocation of resources and improving production efficiency.
Patent Information
- Application Number
- CN202410841243.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Traditional industrial big data analysis methods lack real-time resource data synchronization in production line task allocation, resulting in unreasonable resource allocation and possible delays in emergency tasks.
By obtaining the pending and temporary tasks of the production line in real time, the urgency value of each task is calculated, and tasks are sorted and inserted based on the urgency value to ensure that urgent tasks are prioritized.
It achieves precise allocation of resources, avoids waste of resources, reduces production costs, and improves production efficiency and task processing efficiency.
Smart Images

Figure CN118410993B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial big data analysis, and in particular to an industrial big data analysis method and system thereof. Background Art
[0002] Industrial big data refers to the massive data collected from the industrial field or industrial enterprises. Even if there are certain differences in the data types, they all show the following prominent characteristics: large capacity, fast update, rich types and high value. In recent years, various industries and fields have promoted technological changes and optimized transformations. Industrial big data has gradually evolved into a very important new service type, collecting, storing, analyzing and collating various types of data information, mining valuable information, and obtaining industrial data that can be effectively used, helping enterprises to accurately grasp and understand the information content contained therein. On this basis, with the help of targeted strategies to obtain effective information, promote the orderly development of various production activities of enterprises, and help enterprises to develop sustainably and healthily.
[0003] During the industrial big data analysis process, traditional production line task allocation methods may only rely on the scheduling time of tasks to determine their priorities, and the operations of production line task sorting and inserting new tasks are not updated and synchronized with the relevant resource data in real time, which may lead to unreasonable resource allocation and delays in urgent tasks. Summary of the invention
[0004] The purpose of the present invention is to provide an industrial big data analysis method to solve the technical problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] An industrial big data analysis method, comprising:
[0007] Acquire real-time tasks of the production line according to industrial big data, wherein the real-time tasks include tasks to be processed and temporary processing tasks;
[0008] Acquire multiple first tasks according to the tasks to be processed, and acquire the expected completion time of each first task;
[0009] Obtaining a first resource supply rate for each first task;
[0010] Get the first access frequency of each first task;
[0011] Acquire a first urgency value of each first task according to the expected completion time of the task, the first resource supply rate, and the first access frequency;
[0012] Sort the first tasks corresponding to the first urgency values to obtain a first task processing sequence;
[0013] Acquire multiple second tasks according to the temporary processing task, and acquire second urgency values of the second tasks;
[0014] According to the second urgency value, the corresponding second task is integrated into the first task processing sequence to obtain a second task processing sequence;
[0015] The arranged first tasks and second tasks are processed based on the second task processing sequence.
[0016] Preferably, the step of acquiring a plurality of first tasks according to the tasks to be processed and acquiring the expected completion time of each first task includes:
[0017] Obtaining metadata of each first task, wherein the metadata includes historical execution information, expected resource information, and business information of the task;
[0018] Obtain execution completion time and delay time based on historical execution information;
[0019] Obtain business communication time based on business information;
[0020] Obtain resource transportation time based on expected resource information;
[0021] Get the expected completion time of the task based on execution completion time, resource transportation time, delay time, and business communication time.
[0022] Preferably, the step of obtaining the first resource supply rate of each first task includes:
[0023] Obtaining available resource supply values for each first task;
[0024] Obtaining the expected resource supply value of each first task;
[0025] Get multiple preset supply time periods based on resource transportation time;
[0026] The first resource supply rate is calculated according to the preset supply time period, the available resource supply value and the expected resource supply value. The calculation formula is:
[0027] ;
[0028] Among them, K is the first resource supply rate, is the available resource supply value for the i-th preset supply time period, is the expected resource supply value for the i-th preset supply time period, The preset supply time period.
[0029] Preferably, the step of obtaining the first access frequency of each first task includes:
[0030] Get the number of customer communications for the first task;
[0031] Get the communication interval time of each customer communication information;
[0032] Get the duration of each customer communication;
[0033] Obtaining a first proportional factor according to the communication interval time;
[0034] Obtain a second proportional factor based on the communication duration;
[0035] The first access frequency is calculated based on the communication interval, the number of customer communications, the communication duration, the first proportional factor and the second proportional factor. The calculation formula is:
[0036] ;
[0037] in, is the first access frequency, For the communication interval, is the kth communication duration, is the first scaling factor, is the second scale factor, Number of communications with customers.
[0038] Preferably, the step of acquiring the first urgency value of each first task according to the expected completion time of the task, the first resource supply rate and the first access frequency includes:
[0039] Get the current real time;
[0040] Obtaining a first urgency factor according to the expected completion time of the task;
[0041] Obtaining a second urgency factor according to the first resource supply rate;
[0042] Acquire a third urgency factor according to the first access frequency;
[0043] The first urgency value is calculated according to the current real-time time, the expected completion time of the task, the first resource supply rate, the first access frequency, the first urgency factor, the second urgency factor and the third urgency factor. The calculation formula is:
[0044] ;
[0045] in, is the first urgency value, is the current real time, is the expected completion time of the task, is the first urgency factor, is the second urgency factor, is the third urgency factor, K is the first resource supply rate, is the first access frequency.
[0046] Preferably, the step of sorting the first tasks corresponding to the first urgency values to obtain the first task processing sequence includes:
[0047] Get the first urgency value of each first task,
[0048] Get the start time of each first task;
[0049] Sort the first tasks according to the start time to obtain a first sequence;
[0050] Determine the magnitude of the first urgency value of the adjacent first task, and adjust the first sequence of the adjacent first tasks from large to small to obtain a second sequence;
[0051] The second sequence is treated as the first task processing sequence.
[0052] The present invention also discloses an industrial big data analysis system, comprising:
[0053] A first acquisition module is used to acquire real-time tasks of the production line according to industrial big data, wherein the real-time tasks include tasks to be processed and temporary processing tasks;
[0054] A second acquisition module is used to acquire multiple first tasks according to the tasks to be processed, and acquire the expected completion time of each first task;
[0055] A third acquisition module is used to acquire a first resource supply rate of each first task;
[0056] A fourth acquisition module, used for acquiring a first access frequency of each first task;
[0057] a fifth acquisition module, configured to acquire a first urgency value of each first task according to an expected completion time of the task, a first resource supply rate, and a first access frequency;
[0058] A first sorting module, used to sort the first tasks corresponding to the first urgency values to obtain a first task processing sequence;
[0059] A sixth acquisition module, used to acquire a plurality of second tasks according to the temporary processing task, and acquire a second urgency value of the second task;
[0060] A second sorting module is used to integrate the corresponding second task into the first task processing sequence according to the second urgency value to obtain a second task processing sequence;
[0061] The processing module is used to process the arranged first task and the second task based on the second task processing sequence.
[0062] Preferably, the third acquisition module includes:
[0063] A first acquisition unit, used to acquire an available resource supply value of each first task;
[0064] A second acquisition unit, used for acquiring an expected resource supply value of each first task;
[0065] A third acquisition unit, used to acquire a plurality of preset supply time periods according to resource transportation time;
[0066] The first calculation unit is used to calculate a first resource supply rate according to a preset supply time period, an available resource supply value, and an expected resource supply value, and the calculation formula is:
[0067] ;
[0068] Among them, K is the first resource supply rate, is the available resource supply value for the i-th preset supply time period, is the expected resource supply value for the i-th preset supply time period, The preset supply time period.
[0069] Preferably, the fourth acquisition module includes:
[0070] A fourth acquisition unit, used to acquire the number of customer communications for the first task;
[0071] A fifth acquisition unit, used for acquiring the communication interval time of each customer communication information;
[0072] A sixth acquisition unit, used to acquire the communication duration of each customer communication information;
[0073] A seventh acquisition unit, configured to acquire a first proportional factor according to a communication interval;
[0074] An eighth acquisition unit, configured to acquire a second proportional factor according to the communication duration;
[0075] The second calculation unit is used to calculate the first access frequency according to the communication interval time, the number of customer communications, the communication duration, the first proportional factor and the second proportional factor, and the calculation formula is:
[0076] ;
[0077] in, is the first access frequency, For the communication interval, is the kth communication duration, is the first scaling factor, is the second scale factor, Number of communications with customers.
[0078] Preferably, the fifth acquisition module includes:
[0079] A ninth acquisition unit, used for the second acquisition unit, for acquiring the current real time;
[0080] a tenth obtaining unit, configured to obtain a first urgency factor according to an expected completion time of the task;
[0081] an eleventh obtaining unit, configured to obtain a second urgency factor according to the first resource supply rate;
[0082] a twelfth acquiring unit, configured to acquire a third urgency factor according to the first access frequency;
[0083] The third calculation unit is used to calculate the first urgency value according to the current real-time time, the expected task completion time, the first resource supply rate, the first access frequency, the first urgency factor, the second urgency factor and the third urgency factor, and the calculation formula is:
[0084] ;
[0085] in, is the first urgency value, is the current real time, is the expected completion time of the task, is the first urgency factor, is the second urgency factor, is the third urgency factor, K is the first resource supply rate, is the first access frequency.
[0086] The beneficial effects of this application are:
[0087] Through big data analysis, the present invention can accurately understand the resource requirements of each production task, including equipment, manpower, raw materials, etc. When inserting a new production task, the required amount of resources can be automatically calculated and matched with existing resources to achieve accurate resource allocation, which helps to avoid waste of resources and reduce production costs. By obtaining the pending tasks and temporary processing tasks of the production line in real time through big data analysis, the current status of the production line can be instantly understood. Based on this information, the company can quickly adjust the production strategy and optimize the production process, thereby improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0088] Figure 1 Schematic diagram of the method flow of this application.
[0089] Figure 2 Schematic diagram of the system structure of this application
[0090] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0091] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0092] like Figure 1 As shown, the present application provides an industrial big data analysis method, comprising:
[0093] S1. Acquire real-time tasks of the production line according to industrial big data, wherein the real-time tasks include tasks to be processed and temporary processing tasks;
[0094] S2. Acquire multiple first tasks according to the tasks to be processed, and acquire the expected completion time of each first task;
[0095] S3, obtaining a first resource supply rate for each first task;
[0096] S4, obtaining a first access frequency of each first task;
[0097] S5. Obtain a first urgency value for each first task according to the expected completion time of the task, the first resource supply rate, and the first access frequency;
[0098] S6. Sort the first tasks corresponding to the first urgency values to obtain a first task processing sequence;
[0099] S7, acquiring a plurality of second tasks according to the temporary processing task, and acquiring a second urgency value of the second task;
[0100] S8. According to the second urgency value, the corresponding second task is integrated into the first task processing sequence to obtain a second task processing sequence;
[0101] S9. Process the arranged first task and second task based on the second task processing sequence.
[0102] As described in steps S1-S8 above, in the fierce market competition, enterprises need to constantly seek innovation and improvement to meet the growing needs of customers. Industrial big data analysis can help enterprises gain in-depth understanding of market demand, customer behavior, product performance and other aspects, thereby guiding enterprises to make decisions in product development, marketing, customer service and other aspects. In addition, by analyzing data in the production process in real time, enterprises can also promptly identify potential problems and make adjustments to ensure product quality and production efficiency;
[0103] In industrial production environments, existing production line task sequencing methods are often static. When inserting a new production task into an existing production line task, it may be necessary to recalculate the task sequencing of the entire production line, which is time-consuming and complicated. In addition, if there is a resource conflict between the new task and the existing task (such as equipment, personnel, raw materials, etc.), additional coordination and arrangement may be required. If the production line task sequencing and the insertion of new tasks are not updated and synchronized with the relevant raw material data and time data in real time, data inconsistency may occur, thus affecting the normal operation of the production line;
[0104] The present invention can instantly understand the current status of the production line by acquiring the pending tasks and temporary processing tasks of the production line in real time. Based on this information, the enterprise can quickly adjust the production strategy and optimize the production process, thereby improving production efficiency. The expected completion time of each first task provides information about the expected completion date of the task. By accurately predicting the task completion time, the enterprise can manage inventory more effectively and reduce cost waste caused by inventory backlog or shortage. In addition, optimizing resource allocation also helps to reduce the consumption of energy and human resources, thereby reducing operating costs, and can solve the problem of resource waste often faced by enterprises due to the lack of accurate task completion time prediction and resource allocation strategy for existing assigned tasks. For example, some tasks may be delayed due to insufficient resources, while other tasks may be wasted due to excess resources. Through real-time task data and expected task completion time, the enterprise can manage resources more effectively and avoid waste. By obtaining the first resource supply rate of each first task, the availability and allocation of current resources (such as manpower, equipment, materials, etc.) can be understood, and it can accurately evaluate whether the resources can meet the task requirements, thereby avoiding resource shortages. or waste, the first access frequency reflects the frequency with which the task is asked or requested, and thus the importance of the task can be indirectly inferred. Tasks with high access frequencies may be more critical or urgent and need to be processed first. Combining the first resource supply rate and the first access frequency of each first task, and calculating the first urgency value based on these parameters, not only can the urgency and priority of the task be evaluated more accurately, but also resource allocation can be optimized and task processing efficiency can be improved, thereby solving the problem caused by judging the urgency only by time in the traditional method. By sorting the first tasks according to the first urgency value, it can be ensured that urgent and important tasks are processed first, which helps to shorten the waiting time of critical tasks and improve overall production efficiency. When a temporary processing task (i.e., the second task) appears, by calculating its second urgency value, its priority can be quickly evaluated and flexibly inserted into the existing task sequence. This flexibility enables the production line to respond to changes quickly and meet the urgent needs of customers. By comprehensively considering multiple factors (such as expected completion time, resource supply rate and access frequency) to calculate the urgency value, the decision on task sorting and insertion is more scientific and reasonable.This helps to reduce interference from human factors, improve the accuracy and reliability of decision-making, and solve the problem that existing task sorting methods may only rely on the scheduled time of the task to judge its priority, which may lead to unreasonable resource allocation and delays in urgent tasks. By comprehensively considering multiple factors to calculate the urgency value, the priority of the task can be evaluated more accurately to avoid this defect. Finally, by integrating the second task into the first task processing sequence according to the second urgency value, a comprehensive task processing sequence (i.e., the second task processing sequence) is formed. This comprehensive sequence can ensure that urgent tasks are processed first, thereby improving the overall task processing efficiency. At the same time, the addition of the second task may bring new resource requirements, but integration according to the second urgency value can ensure that resources are reasonably allocated. Urgent tasks with high resource requirements will be given priority to avoid resource bottlenecks and waste. When a new temporary task (second task) appears, it can respond quickly and calculate its urgency value, and then integrate it into the existing task sequence. This flexibility enables the production line to cope with rapidly changing needs. For example, a manufacturing company receives orders from different customers, including 1,000 units of type A products, 500 units of type B products, and 200 units of type C products. The manufacturing company converts these orders into specific production tasks, where type A products and type B products are classified as scheduled pending tasks as the first tasks, and type C products are classified as the second tasks as temporary processing tasks added later. Then, the expected completion time, first resource supply rate, and first access frequency of each first task are obtained. According to the production process, equipment capacity, human resources and other factors of each first task, the expected completion time of each task is calculated. The expected completion time includes production preparation time, actual production time, quality inspection time, etc., and is classified according to the product model, quantity, delivery deadline and other information of the first task. Then, resource evaluation and allocation are carried out to evaluate the company's existing first resource supply rate. In addition to considering the delivery deadline, the urgency of the task is also considered. For example, if a customer urgently needs to deliver the goods in advance due to changes in market demand, then the urgency of the task is very high. Taking into account the delivery deadline, urgency, resource supply rate, first access frequency and other factors of the task, the urgency value is calculated for each task, and then the tasks are sorted and scheduled according to the urgency value, start time and other factors. For example, tasks with high urgency and short delivery deadlines can be arranged first to ensure that these tasks can be completed on time. If a second task is inserted during the execution of the task, it is necessary to re-evaluate the allocation of resources and the sorting of tasks, calculate the urgency value of the new task, and merge it into the existing task sequence to ensure that the urgent task is processed first. This can solve the problem in the prior art that if the second task is not merged into the first task processing sequence, then the newly emerging urgent task may be delayed due to waiting for the current task to be completed. By merging the second task into the sequence according to the urgency value, it can be ensured that the urgent task is processed in a timely manner to avoid delays.
[0105] In one embodiment, the step of acquiring multiple first tasks according to the tasks to be processed and acquiring the expected completion time of each first task includes:
[0106] S201, obtaining metadata of each first task, wherein the metadata includes historical execution information, expected resource information, and business information of the task;
[0107] S202, obtaining execution completion time and delay time according to historical execution information;
[0108] S203, obtaining business communication time according to business information;
[0109] S204, obtaining resource transportation time according to expected resource information;
[0110] S205. Obtain the expected task completion time according to the execution completion time, resource transportation time, delay time and business communication time.
[0111] As described in the above steps S201-S205, by obtaining the metadata of each first task, including historical execution information, expected resource information and business information, multiple factors can be comprehensively considered to calculate the expected completion time of the task, which makes the prediction more accurate and closer to the actual situation. The execution completion time and delay time in the historical execution information can be used to effectively predict the execution of the task, which helps to predict the possible completion of the task under similar conditions. Resource transportation time is usually an important part of the production project. Taking it into consideration can more accurately estimate the start time and completion time of the task, which can solve the problem that the task completion time estimation in the prior art may be based only on experience or intuition and lacks scientific basis. Through the above steps, predictions can be made based on actual data and historical information, thereby improving the accuracy of the prediction, and resources can be allocated according to the urgency of the task and the required resources to ensure that key tasks are given priority. For example, the first process of a production line: the raw material cutting task, the metadata of this task may include:
[0112] Historical execution information: execution time, success rate, failure reasons, etc. of the past few tasks.
[0113] Expected resource information: type, quantity, shipping time and arrival time of raw materials required.
[0114] Business information: communication records with customers or internal teams, notifications of demand changes, etc.
[0115] Then, based on the historical execution information, the execution completion time and delay time are obtained. The historical data is checked. For example, the average completion time of the past five raw material cutting tasks is 2 hours. If there is a record of task delay in the historical data, the average delay time can be calculated. For example, the average delay is 10 minutes each time. Then, the business communication time is obtained based on the business information. Before the task starts, it usually takes 30 minutes to communicate with the production manager and the customer to confirm the requirements and details, and it usually takes 2 hours to obtain raw materials from the supplier (including transportation and unloading time). Finally, the expected completion time of the task is calculated based on the execution completion time, resource transportation time, delay time and business communication time.
[0116] Expected task completion time = resource transportation time + business communication time + execution completion time + delay time;
[0117] Expected task completion time = 2 hours (resource transportation) + 0.5 hours (business communication) + 2 hours (execution completion) + 0.17 hours (delay, converted to 10 minutes);
[0118] = 4.67 hours;
[0119] Finally, using metadata and historical data to predict task completion time can improve the transparency and traceability of project management, and clearly understand the progress and expected completion time of each task, thereby better grasping the overall situation of the project.
[0120] In one embodiment, the step of obtaining the first resource supply rate of each first task includes:
[0121] S301, obtaining the available resource supply value of each first task;
[0122] S302, obtaining the expected resource supply value of each first task;
[0123] S303, obtaining multiple preset supply time periods according to resource transportation time;
[0124] S304: Calculate a first resource supply rate according to a preset supply time period, an available resource supply value, and an expected resource supply value, using the following calculation formula:
[0125] ;
[0126] Among them, K is the first resource supply rate, is the available resource supply value for the i-th preset supply time period, is the expected resource supply value for the i-th preset supply time period, The preset supply time period.
[0127] As described in the above steps S301-S304, by obtaining the available resource supply value (the available resource supply value is used to represent the existing amount of raw materials) and the expected resource supply value (the expected resource supply value is used to represent the expected amount of raw materials required) of each first task, the difference between the actual supply and the expected supply of current resources can be clearly understood. Multiple preset supply time periods are obtained according to the resource transportation time. Refined time management helps to more accurately manage the flow and allocation of resources at different time points, thereby avoiding delays or waste in resource supply. Finally, by using the first resource supply rate (K) as an evaluation indicator, the gap between the actual resource supply and the expected target can be quantitatively compared, providing a more specific basis for decision-making. Suppose we are preparing the required resources for the first task on a production line: parts assembly. This resource may be a specific screw, nut or other For other parts, we need to determine the available quantity of this resource in the current inventory, that is, the available resource supply value. For example, we query the inventory and find out that there are currently 1,000 screws available for assembly tasks, and then obtain the expected resource supply value for each first task. The expected resource supply value is based on the production plan and demand forecast, and the estimated number of resources required for the task within a specific time period. For example, according to the production plan, we estimate that 1,200 screws will be needed to complete the assembly task within the next 24 hours, and the screws in the inventory need to be replenished. Then, based on the resource transportation time, multiple preset supply time periods are obtained. If the resources need to be purchased or transported from external suppliers, we need to consider the resource transportation time and set multiple preset supply time periods accordingly. Assume that it takes 2 hours to purchase screws from a supplier, and the supplier ships twice a day: 10 am and 2 pm. Then, we can set two preset supply time periods: 10 am to 12 noon, and 2 pm to 4 pm. In this example, assume that from 10 am to 12 noon, our available resources are 500 screws (200 screws are in transit), and the expected demand is 600; from 2 pm to 4 pm, our available resources are 500 screws (assuming that not all have arrived), and the expected demand is 600. Through [K = \frac{500 + 500}{600 + 600}The above calculation gives the first resource supply rate: 83%. Through the above steps, the resource supply situation can be obtained and evaluated in real time, and the management efficiency can be improved to solve the problem that the resource management method in the prior art may lack real-time performance, and the time management in the prior art is not refined and cannot reflect the changes in resource supply in a timely manner. In addition, the resource management method may only focus on the overall resource supply situation, but ignore the differences in different time periods. By presetting the supply time period, the flow and allocation of resources at different time points can be more finely managed.
[0128] In one embodiment, the step of obtaining the first access frequency of each first task includes:
[0129] S401, obtaining the number of customer communications for the first task;
[0130] S402, obtaining the communication interval time of each customer communication information;
[0131] S403, obtaining the communication duration of each customer communication information;
[0132] S404, obtaining a first proportional factor according to the communication interval time;
[0133] S405, obtaining a second proportional factor according to the communication duration;
[0134] S406. Calculate the first access frequency according to the communication interval, the number of customer communications, the communication duration, the first proportional factor and the second proportional factor. The calculation formula is:
[0135] ;
[0136] in, is the first access frequency, For the communication interval, is the kth communication duration, is the first scaling factor, is the second scale factor, Number of communications with customers.
[0137] As described in the above steps S401-S406, by obtaining the information of each customer communication, the communication interval time and the communication duration, a complete customer communication database can be constructed, which not only focuses on the communication duration, but also takes into account the communication interval time, which can reflect the closeness of the customer relationship and the customer's expectations of the service from another perspective, and clarify the importance of the business to the communication interval time and communication duration. For example, in customer docking management, a shorter communication interval time and a longer communication duration may be regarded as more active and effective communication. According to business needs, different first proportional factors are set for different communication interval times (using an exponential function, an inverse proportional function or other suitable functions to calculate the first proportional factor). Factor), for example, a shorter interval may have a higher first proportional factor; similarly, according to business needs, different second proportional factors are set for different communication durations (using exponential functions, direct proportional functions or other appropriate functions to calculate the second proportional factor), for example, a longer communication duration may have a higher second proportional factor; according to actual business feedback and data effects, the calculation formulas of the first proportional factor and the second proportional factor are adjusted, and the first proportional factor and the second proportional factor are calculated according to the communication interval time and the communication duration, respectively. First, obtain the number of customer communications for the first task. Suppose we are communicating with customers for a customized production task: producing mechanical equipment of specific specifications. We need to collect all customer communication information related to this task.
[0138] We communicated with the customer 5 times, and the communication records are as follows:
[0139] First communication: 2023-04-01, 9:00 am, lasting 30 minutes;
[0140] Second communication: 2023-04-02, 3:00 pm, lasting 45 minutes;
[0141] The third communication: 2023-04-04, 10:00 am, lasting 20 minutes;
[0142] Fourth communication: 2023-04-05, 2:00 pm, lasting 35 minutes;
[0143] Fifth communication: 2023-04-07, 11:00 am, lasting 40 minutes;
[0144] The duration of each communication is: 30 minutes, 45 minutes, 20 minutes, 35 minutes and 40 minutes, and the communication interval refers to the time difference between each communication.
[0145] The time difference is:
[0146] The interval between the first and second communication is 1 day;
[0147] The interval between the second and third communication is 2 days;
[0148] The interval between the third and fourth communication is 1 day;
[0149] The interval between the fourth and fifth communication is 2 days.
[0150] The first proportional factor can be determined based on the average value of the communication interval or some weighted average value. For example, if we believe that a shorter communication interval is more important, we can use the harmonic mean to calculate it. But for simplicity, we assume here that the first proportional factor is the average value of the reciprocal of the communication interval, and the second proportional factor can be determined based on the average value of the communication duration or some weighted average value. For simplicity, we assume that the second proportional factor is the average value of the communication duration. According to the above calculation formula, the first visit frequency is about 23.61. Considering that the first visit frequency is high (about 23.61), we should ensure close communication with customers and respond to customer needs and questions in a timely manner. According to the distribution of communication duration and communication interval, we can adjust the frequency and method of communication with customers. For example, when the communication interval is long, we can actively initiate communication to understand the latest needs of customers. The above method solves the problem that customer communication evaluation in the prior art may rely on subjective judgment and feeling, lacking objectivity and accuracy. The above steps reduce the influence of subjectivity through quantitative evaluation indicators and improve the objectivity of the evaluation; the first visit frequency is a comprehensive score that takes into account multiple aspects of customer communication. Communication interval It reflects the frequency of communication between customers and enterprises. The shorter the interval, the more frequent the communication. It reflects the depth or duration of each communication. The longer the duration, the more in-depth or effective the communication may be.
[0151] In one embodiment, the step of acquiring the first urgency value of each first task according to the expected completion time of the task, the first resource supply rate and the first access frequency includes:
[0152] S501, obtaining the current real time;
[0153] S502, obtaining a first urgency factor according to the expected completion time of the task;
[0154] S503, obtaining a second urgency factor according to the first resource supply rate;
[0155] S504, obtaining a third urgency factor according to the first access frequency;
[0156] S505: Calculate a first urgency value according to the current real-time time, the expected task completion time, the first resource supply rate, the first access frequency, the first urgency factor, the second urgency factor, and the third urgency factor. The calculation formula is:
[0157] ;
[0158] in, is the first urgency value, is the current real time, is the expected completion time of the task, is the first urgency factor, is the second urgency factor, is the third urgency factor, K is the first resource supply rate, is the first access frequency.
[0159] As described in the above steps S501-S505, this step not only considers the basic factor of the expected completion time of the task, but also incorporates the two important dimensions of the first resource supply rate and the first access frequency, so as to more comprehensively evaluate the urgency of the task. By obtaining the current real-time time and comparing it with the expected completion time of the task, the dynamic changes of the urgency of the task can be reflected in real time, and the urgency is subdivided into multiple factors (first urgency factor, second urgency factor, third urgency factor). The first urgency factor , Second urgency factor , and the third urgency factor and The acquisition step usually involves evaluating and calculating different attributes of a specific task or event. The above factors are usually used to measure the urgency or priority of the task to provide guidance in resource allocation and decision making. To obtain the first urgency factor First, we need to clarify the expected completion time (t2) of the task. The expected completion time (t2) is usually set when the task is assigned or created. Then, we need to obtain the current real time (t1), which can be obtained through the existing clock. Then, we need to calculate the time urgency based on the current time and the expected completion time, and calculate the time difference (t2 - t1) or the remaining time percentage ((t2- t1) / t2). Finally, we need to convert the calculation result of the time urgency into the first urgency factor. , which can be achieved by mapping the time urgency value to a preset urgency range or scoring system; to obtain the second urgency factor The resource supply rate refers to the availability of resources (such as manpower, material resources, time, etc.) that can be used to complete the task. It usually requires resource evaluation and prediction. Then, based on the resource supply rate, the resource tension is calculated. This can be achieved by comparing the difference or ratio between resource demand and supply. Finally, the calculated result of resource tension is converted into the second urgency factor. Similarly, this can be achieved by mapping the resource tension value to a preset urgency range or scoring system. To obtain the second urgency factor ,Access frequency refers to the number of queries or requests for tasks or related information. It can be obtained through system logs, user behavior data or specific contact tools (such as mobile phones, computers). Then, based on the access frequency, the access activity of the task is calculated. This can be achieved by calculating the average, peak or change trend of the number of accesses. Finally, the calculation result of the access activity is converted into the third urgency factor ,Similarly, this can be achieved by mapping the access activity value to a preset urgency range or scoring system; ,therefore, each factor can be adjusted and optimized independently.,In existing methods, tasks may be sorted only based on the expected completion time, ignoring other important factors such as resource availability and ,access frequency. The above steps address this limitation by introducing multiple factors;
[0160] Suppose we have the following factors and their values:
[0161] Factors related to the expected completion time of the task: (1 - / ),in = current time, = Expected Completion Time
[0162] Resource supply rate related factors: 1 - (1 - K), where K = resource supply rate
[0163] Access frequency related factors: 1 - (1 - ),in = Access frequency
[0164] And each factor is assigned a weight:
[0165] = 0.5 (expected completion time is most important);
[0166] = 0.3 (resource supply rate is second most important);
[0167] = 0.2 (frequency of access is relatively unimportant);
[0168] The first urgency value The calculation formula is:
[0169] = 0.5 * (1 - t1 / t2) + 0.3 * (1 - (1 - K)) + 0.2 * (1 - (1 - ));
[0170] And suppose the expected completion time of the task is 2023-04-20 12:00:00. We can calculate the time difference between the current time and the expected completion time, and determine the first urgency factor based on this time difference. For example, we can use a simple linear relationship to define this factor: if the time difference is less than or equal to 3 days, the factor is 1 (highest urgency); if the time difference is between 3 and 7 days, the factor gradually decreases; if the time difference is more than 7 days, the factor is 0 (lowest urgency).
[0171] In this example, the time difference between the current time and the expected completion time is 5 days, assuming that the first urgency factor is 0.6;
[0172] Resource supply rate refers to the supply of resources (such as manpower, raw materials, equipment, etc.) currently available for tasks. Assuming that our first resource supply rate is 70% (that is, only 70% of the resources are available for this task), we can set the second urgency factor to the complement of the resource supply rate, that is, 1 - resource supply rate. Therefore, the second urgency factor is 1 -0.7 = 0.3;
[0173] In the above example, we have calculated that the first access frequency is about 23.61. We can define the third urgency factor based on this frequency. For example, if the access frequency is above a certain threshold (such as 20), the factor is 1; if it is below the threshold, the factor gradually decreases;
[0174] Now that we have all the variables and factors we need, we can use the formula to calculate the first urgency value of 1.71, and therefore the task scheduling suggestion:
[0175] Due to the high first urgency value (1.71), this task should be prioritized to ensure that it can be completed within the expected completion time. The resource supply situation should be closely monitored, and consideration should be given to increasing resource input or optimizing resource allocation to improve the resource supply rate. The frequency of communication with customers should continue to be maintained to ensure timely acquisition of customer feedback and demand changes.
[0176] In one embodiment, the step of sorting the first tasks corresponding to the first urgency values to obtain the first task processing sequence includes:
[0177] S601, obtaining a first urgency value of each first task,
[0178] S602, obtaining the start time of each first task;
[0179] S603, sorting the first tasks according to the start time to obtain a first sequence;
[0180] S604, determining the magnitude of the first urgency values of the adjacent first tasks, and adjusting the first sequence of the adjacent first tasks from large to small to obtain a second sequence;
[0181] S605: Use the second sequence as the first task processing sequence.
[0182] As described in the above steps S601-S605, by considering the first urgency value and the start time of the first task at the same time, the process can ensure that when allocating resources and processing tasks, urgent tasks can be processed first, and the start time sequence of tasks can be considered, so as to arrange the priority of task processing more reasonably, and through the generation of preset sequences and adjustments based on urgency values, an optimized task processing sequence can be quickly generated. This helps to improve the overall efficiency of task processing, reduce resource waste and delays caused by improper task processing sequence, and avoid unreasonable task processing sequence, which may cause some urgent and important tasks to be delayed, or some non-urgent but important tasks to be processed prematurely. Assume that we have three first tasks (T1, T2, T3), and their respective first urgency values have been calculated:
[0183] The first urgency value of T1 is 2.5;
[0184] The first urgency value of T2 is 1.8;
[0185] The first urgency value of T3 is 2.0.
[0186] These start times may be based on the nature of the task, resource availability, or other factors:
[0187] The start time of T1 is 2023-04-15 08:00:00;
[0188] The start time of T2 is 2023-04-16 10:00:00;
[0189] The start time of T3 is 2023-04-15 14:00:00,
[0190] Based on the start time, we can create an initial task sequence (the first sequence):
[0191] First sequence: T1, T3, T2 (Note: here we arrange the tasks in the order of start time);
[0192] Now we need to adjust the first sequence according to the urgency value. We compare the first urgency values of adjacent tasks. If the urgency value of the previous task is less than the urgency value of the next task, we swap their positions.
[0193] Initial first sequence: T1 (2.5), T3 (2.0), T2 (1.8);
[0194] Compare T1 and T3. Since 2.5 > 2.0, no exchange is needed.
[0195] Compare T3 and T2. Since 2.0 > 1.8, no exchange is needed.
[0196] Since there are no task pairs that need to be exchanged, the first sequence is already arranged from the highest to the lowest urgency value.
[0197] Therefore, the second sequence (also the final task processing sequence) is the same as the first sequence: T1, T3, T2. Finally, we use the second sequence (T1, T3, T2) as the first task processing sequence and arrange production tasks accordingly.
[0198] The above process can generate a more reasonable task processing sequence by comprehensively considering urgency and start time, thus avoiding this situation.
[0199] like Figure 2 As shown, the present invention also provides an industrial big data analysis system, comprising:
[0200] The present invention also discloses an industrial big data analysis system, comprising:
[0201] The first acquisition module 1 is used to acquire the real-time tasks of the production line according to the industrial big data, wherein the real-time tasks include tasks to be processed and temporary processing tasks;
[0202] A second acquisition module 2 is used to acquire multiple first tasks according to the tasks to be processed, and acquire the expected completion time of each first task;
[0203] A third acquisition module 3 is used to acquire a first resource supply rate of each first task;
[0204] A fourth acquisition module 4 is used to acquire a first access frequency of each first task;
[0205] A fifth acquisition module 5, configured to acquire a first urgency value of each first task according to an expected completion time of the task, a first resource supply rate, and a first access frequency;
[0206] A first sorting module 6, used for sorting the first tasks corresponding to the first urgency values to obtain a first task processing sequence;
[0207] A sixth acquisition module 7, configured to acquire a plurality of second tasks according to the temporary processing task, and acquire a second urgency value of the second task;
[0208] A second sorting module 8 is used to integrate the corresponding second task into the first task processing sequence according to the second urgency value to obtain a second task processing sequence;
[0209] The processing module 9 is used to process the arranged first task and the second task based on the second task processing sequence.
[0210] Preferably, the third acquisition module 3 includes:
[0211] A first acquisition unit, used to acquire an available resource supply value of each first task;
[0212] A second acquisition unit, used for acquiring an expected resource supply value of each first task;
[0213] A third acquisition unit, used to acquire a plurality of preset supply time periods according to resource transportation time;
[0214] The first calculation unit is used to preset a supply time period and calculate a first resource supply rate according to the available resource supply value and the expected resource supply value, and the calculation formula is:
[0215] ;
[0216] Among them, K is the first resource supply rate, is the available resource supply value for the i-th preset supply time period, is the expected resource supply value for the i-th preset supply time period, The preset supply time period.
[0217] Preferably, the fourth acquisition module 4 includes:
[0218] A fourth acquisition unit, used to acquire the number of customer communications for the first task;
[0219] A fifth acquisition unit, used for acquiring the communication interval time of each customer communication information;
[0220] A sixth acquisition unit, used to acquire the communication duration of each customer communication information;
[0221] A seventh acquisition unit, configured to acquire a first proportional factor according to a communication interval;
[0222] An eighth acquisition unit, configured to acquire a second proportional factor according to the communication duration;
[0223] The second calculation unit is used to calculate the first access frequency according to the communication interval time, the number of customer communications, the communication duration, the first proportional factor and the second proportional factor, and the calculation formula is:
[0224] ;
[0225] in, is the first access frequency, For the communication interval, is the kth communication duration, is the first scaling factor, is the second scale factor, Number of communications with customers.
[0226] Preferably, the fifth acquisition module 5 includes:
[0227] A ninth acquisition unit, used for the second acquisition unit, for acquiring the current real time;
[0228] a tenth obtaining unit, configured to obtain a first urgency factor according to an expected completion time of the task;
[0229] an eleventh obtaining unit, configured to obtain a second urgency factor according to the first resource supply rate;
[0230] a twelfth acquiring unit, configured to acquire a third urgency factor according to the first access frequency;
[0231] The third calculation unit is used to calculate the first urgency value according to the current real-time time, the expected task completion time, the first resource supply rate, the first access frequency, the first urgency factor, the second urgency factor and the third urgency factor, and the calculation formula is:
[0232] ;
[0233] in, is the first urgency value, is the current real time, is the expected completion time of the task, is the first urgency factor, is the second urgency factor, is the third urgency factor, K is the first resource supply rate, is the first access frequency.
[0234] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0235] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0236] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An industrial big data analysis method, characterized in that: include: Acquire real-time tasks of the production line according to industrial big data, wherein the real-time tasks include tasks to be processed and temporary processing tasks; Acquire multiple first tasks according to the tasks to be processed, and acquire the expected completion time of each first task; Obtaining available resource supply values for each first task; Obtaining the expected resource supply value of each first task; Get multiple preset supply time periods based on resource transportation time; The first resource supply rate is calculated according to the preset supply time period, the available resource supply value and the expected resource supply value. The calculation formula is: ; Among them, K is the first resource supply rate, is the available resource supply value for the i-th preset supply time period, is the expected resource supply value for the i-th preset supply time period, It is a preset supply time period; Get the number of customer communications for the first task; Get the communication interval time of each customer communication information; Get the duration of each customer communication; Obtaining a first proportional factor according to the communication interval time; Obtain a second proportional factor based on the communication duration; The first access frequency is calculated based on the communication interval, the number of customer communications, the communication duration, the first proportional factor and the second proportional factor. The calculation formula is: ; in, is the first access frequency, For the communication interval, is the kth communication duration, is the first scaling factor, is the second scale factor, Number of communications with customers; Get the current real time; Obtaining a first urgency factor according to the expected completion time of the task; Obtaining a second urgency factor according to the first resource supply rate; Acquire a third urgency factor according to the first access frequency; The first urgency value is calculated according to the current real-time time, the expected completion time of the task, the first resource supply rate, the first access frequency, the first urgency factor, the second urgency factor and the third urgency factor. The calculation formula is: ; in, is the first urgency value, is the current real time, is the expected completion time of the task, is the first urgency factor, is the second urgency factor, is the third urgency factor, K is the first resource supply rate, is the first access frequency; Get the first urgency value of each first task, Get the start time of each first task; Sort the first tasks according to the start time to obtain a first sequence; Determine the magnitude of the first urgency value of the adjacent first task, and adjust the first sequence of the adjacent first tasks from large to small to obtain a second sequence; treating the second sequence as the first task processing sequence; Acquire multiple second tasks according to the temporary processing task, and acquire second urgency values of the second tasks; According to the second urgency value, the corresponding second task is integrated into the first task processing sequence to obtain a second task processing sequence; The arranged first tasks and second tasks are processed based on the second task processing sequence.
2. The industrial big data analysis method according to claim 1, characterized in that: The step of obtaining a plurality of first tasks according to the tasks to be processed and obtaining the expected completion time of each first task includes: Obtaining metadata of each first task, wherein the metadata includes historical execution information, expected resource information, and business information of the task; Obtain execution completion time and delay time based on historical execution information; Obtain business communication time based on business information; Obtain resource transportation time based on expected resource information; Get the expected completion time of the task based on execution completion time, resource transportation time, delay time, and business communication time.
3. An industrial big data analysis system, characterized in that: include: A first acquisition module is used to acquire real-time tasks of the production line according to industrial big data, wherein the real-time tasks include tasks to be processed and temporary processing tasks; A second acquisition module is used to acquire multiple first tasks according to the tasks to be processed, and acquire the expected completion time of each first task; A third acquisition module, used to acquire the available resource supply value of each first task; Obtaining the expected resource supply value of each first task; Get multiple preset supply time periods based on resource transportation time; The first resource supply rate is calculated according to the preset supply time period, the available resource supply value and the expected resource supply value. The calculation formula is: ; Among them, K is the first resource supply rate, is the available resource supply value for the i-th preset supply time period, is the expected resource supply value for the i-th preset supply time period, It is a preset supply time period; A fourth acquisition module is used to acquire the number of customer communications for the first task; Get the communication interval time of each customer communication information; Get the duration of each customer communication; Obtaining a first proportional factor according to the communication interval time; Obtain a second proportional factor based on the communication duration; The first access frequency is calculated based on the communication interval, the number of customer communications, the communication duration, the first proportional factor and the second proportional factor. The calculation formula is: ; in, is the first access frequency, For the communication interval, is the kth communication duration, is the first scaling factor, is the second scale factor, Number of communications with customers; The fifth acquisition module is used to obtain the current real time; Obtaining a first urgency factor according to the expected completion time of the task; Obtaining a second urgency factor according to the first resource supply rate; Acquire a third urgency factor according to the first access frequency; The first urgency value is calculated according to the current real-time time, the expected completion time of the task, the first resource supply rate, the first access frequency, the first urgency factor, the second urgency factor and the third urgency factor. The calculation formula is: ; in, is the first urgency value, is the current real time, is the expected completion time of the task, is the first urgency factor, is the second urgency factor, is the third urgency factor, K is the first resource supply rate, is the first access frequency; A first sorting module is used to obtain a first urgency value of each first task, Get the start time of each first task; Sort the first tasks according to the start time to obtain a first sequence; Determine the magnitude of the first urgency value of the adjacent first task, and adjust the first sequence of the adjacent first tasks from large to small to obtain a second sequence; treating the second sequence as the first task processing sequence; A sixth acquisition module, used to acquire a plurality of second tasks according to the temporary processing task, and acquire a second urgency value of the second task; A second sorting module is used to integrate the corresponding second task into the first task processing sequence according to the second urgency value to obtain a second task processing sequence; The processing module is used to process the arranged first task and the second task based on the second task processing sequence.
