A real-time strategy adjustment method, system, storage medium and electronic device
By obtaining and logically judging the equipment information and work plan of the target equipment, the problem of low efficiency in the work plan adjustment in the existing technology is solved, more efficient work plan adjustment is achieved, and manual errors and operation time is reduced.
Patent Information
- Application Number
- CN202411917345.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-04
AI Technical Summary
The inefficient adjustment of work plan in the prior art has resulted in the need of the therapists to modify training plans for multiple patients' conflicts, increasing operational complexity and time costs.
By obtaining the device information and initial work plan of the target device, making logical judgments and assigning work plans that meet the conditions, modifying the status mark of the device page area according to the status code, and making adjustments according to the work plan adjustment instructions.
It effectively avoids mistakes in manual work plan adjustment, improves planning adjustment efficiency, and reduces operational complexity and time cost.
Smart Images

Figure CN119762031A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of policy adjustment, and in particular, to a real-time policy adjustment method, system, storage medium and electronic device. Background Art
[0002] In different fields, how to ensure that relevant equipment works accurately according to established strategies or to adjust the operation plan in time when the work plan changes is an important part of effective equipment management.
[0003] For example, in the field of medical rehabilitation, a patient's multi-day training plan usually involves multiple date time periods. It is necessary to ensure that these plans are accurately recorded and executed and to avoid conflicts with other patients' training times. However, since each patient's training plan covers multiple time periods on multiple dates, existing components often cause time period conflicts when displaying the patient's planned time periods, causing therapists to modify conflicting training plans for multiple patients, increasing operational complexity and time costs. Summary of the invention
[0004] The embodiments of the present invention provide a real-time strategy adjustment method, system, storage medium and electronic device to at least solve the problem of low efficiency of work plan adjustment in the related art.
[0005] According to an embodiment of the present invention, a real-time policy adjustment method is provided, comprising: Acquire device information of the target device, an initial work plan to be executed within a target time period, and status information corresponding to the initial work plan, wherein the initial work plan includes an action execution plan of the target device, and the status information includes a plan completion status code; Performing logical judgment on the initial work plan, and allocating the initial work plan that meets the logical conditions to the corresponding target device; Modify or add a status identifier in the device page area corresponding to the initial work plan of the target device according to the status code; A work plan adjustment instruction is obtained, and the state identifier and the initial work plan are adjusted according to the work plan adjustment instruction.
[0006] In an exemplary embodiment, after modifying or adding a status identifier in a device page area corresponding to an initial work plan of the target device according to the status code, the method further includes: Obtain a plan viewing instruction, wherein the plan viewing instruction includes all work plans of the first time period that need to be viewed; Performing database screening based on the ID information of the first time period in the plan viewing instruction to obtain first work plan information corresponding to the first time period; The first work plan information is fed back to the target interface and displayed in a floating mode.
[0007] In an exemplary embodiment, after performing logical judgment on the initial work plan and allocating the initial work plan that meets the logical conditions to the corresponding target device, the method further includes: Acquire a work plan adding instruction, wherein the work plan adding instruction is used to instruct to execute a second work plan for the target device in a second time period; comparing the execution time of the second work plan with the execution time of the initial work plan; When it is determined that the execution time of the second work plan conflicts with the execution time of the initial work plan, an abnormal alarm feedback is performed.
[0008] In an exemplary embodiment, the method further comprises: Acquire device status information, wherein the device status information includes the current status of the target device or the work plan currently being executed; Comparing and matching the device status information with historical status information; When it is determined that the device status information has changed compared to the historical status information, sending the first parameter or first information in the device status information that has been modified or changed compared to the historical status information to the client; The client determines the first parameter or the first information, adjusts or calls the first parameter or the first information on the display interface, and displays the device status information.
[0009] In an exemplary embodiment, after acquiring the device status information, the method further includes: Compiling the device status information, and normalizing the compilation result to obtain first status information; Filling the first state information as a matrix element into a preset state matrix, and performing state calculation on the state matrix to obtain a state score; When the status score does not meet the first condition, it is determined that an abnormality exists in the target device.
[0010] According to another embodiment of the present invention, a real-time policy adjustment system is provided, comprising: An information collection module, used to obtain device information of a target device, an initial work plan to be executed within a target time period, and status information corresponding to the initial work plan, wherein the initial work plan includes an action execution plan of the target device, and the status information includes a plan completion status code; A logic judgment module, used for performing logic judgment on the initial work plan and allocating the initial work plan that meets the logic conditions to the corresponding target device; An identification modification module, used to modify or add a status identification in a device page area corresponding to an initial work plan of the target device according to the status code; The adjustment module is used to obtain a work plan adjustment instruction and adjust the state identifier and the initial work plan according to the work plan adjustment instruction.
[0011] In an exemplary embodiment, the system further comprises: A viewing instruction receiving module, configured to obtain a plan viewing instruction after modifying or adding a status identifier in a device page area corresponding to an initial work plan of the target device according to the status code, wherein the plan viewing instruction includes all work plans of a first time period that need to be viewed; A plan screening module, used for performing database screening based on the ID information of the first time period in the plan viewing instruction to obtain the first work plan information corresponding to the first time period; The information display module is used to feed back the first work plan information to the target interface and display it in a floating mode.
[0012] In an exemplary embodiment, the system further comprises: An adding instruction receiving module is used to obtain a work plan adding instruction after performing a logical judgment on the initial work plan and allocating the initial work plan that meets the logical conditions to the corresponding target device, wherein the work plan adding instruction is used to instruct the target device to execute a second work plan in a second time period; A time comparison module, used to compare the execution time of the second work plan with the execution time of the initial work plan; The abnormality feedback module is used to provide abnormality alarm feedback when it is determined that the execution time of the second work plan conflicts with the execution time of the initial work plan.
[0013] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.
[0014] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0015] Through the present invention, since logical judgment is performed automatically, mistakes in manual work plan adjustment can be effectively avoided and the efficiency of plan adjustment can be improved. Therefore, the problem of low work plan adjustment efficiency can be solved and the effect of improving the work plan adjustment efficiency can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flow chart of a real-time strategy adjustment method according to an embodiment of the present invention; Figure 2 It is a structural block diagram of a policy real-time adjustment system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0018] In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0019] In addition, in the present application, directional terms such as "up", "down", "left" and "right" may be defined including but not limited to the orientation relative to the schematic placement of the components in the drawings. It should be understood that these directional terms may be relative concepts, which are used for relative description and clarification, and may change accordingly according to the change in the orientation of the components in the drawings.
[0020] In this application, unless otherwise specified or limited, the term "connection" should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection or an indirect connection through an intermediate medium. In addition, the term "coupling" can be a way of achieving electrical connection for signal transmission.
[0021] As used herein, "about," "substantially," or "approximately" includes the stated value and an average value that is within an acceptable range of variation from the particular value as determined by one of ordinary skill in the art taking into account the measurements in question and the errors associated with the measurement of the particular quantity (i.e., the limitations of the measurement system).
[0022] In this embodiment, a real-time strategy adjustment method is provided. Figure 1 is a flow chart of a real-time strategy adjustment method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S11, obtaining device information of the target device, an initial work plan to be executed within a target time period, and status information corresponding to the initial work plan, wherein the initial work plan includes an action execution plan of the target device, and the status information includes a plan completion status code; In this embodiment, since the work plan of each working device at different times and in different states is different, whether the work plan needs to be adjusted or modified is determined by detecting the state code of each working device.
[0023] Among them, the target device can be a production device, a medical rehabilitation device, or other types of equipment; correspondingly, the action execution plan can be a plan for production actions that the target device needs to participate in, or a medical rehabilitation plan for medical rehabilitation actions that the target device needs to participate in, or other plans, which are not limited here; the status code can be the status identifier of each device after completing a certain work plan, such as "completed", "in progress", "not started", etc. For example, for equipment used for rehabilitation medicine, the status code can be used to indicate the training status of the current rehabilitation plan, and whether training has started on the device or has been completed, which is not limited here.
[0024] Step S12, performing logical judgment on the initial work plan, and allocating the initial work plan that meets the logical conditions to the corresponding target device; In this embodiment, when changes occur in production or rehabilitation plans, the work plan needs to be adjusted. At this time, logical judgment of the work plan is required. On the one hand, it is necessary to determine which equipment the relevant work plan corresponds to, and at the same time, it is also necessary to determine whether there is a time or action conflict between the new work plan and the original work plan to ensure the smooth execution of the work plan.
[0025] The logic judgment includes whether the time period, work content, etc. of the initial work plan conflict with the working status, operating time, executable actions, etc. of the target device. If there is no conflict, it is judged to meet the logic conditions, otherwise it is judged to not meet the logic conditions.
[0026] For example, for rehabilitation medical equipment, plan A is executed at 10-11 o'clock, but plan B needs to be executed from 9:30 to 10:30, or the device cannot execute the actions in plan A. At this time, there is a conflict, which is judged as not meeting the logical conditions, and then a conflict alarm is issued.
[0027] Step S13, modifying or adding a status identifier in the device page area corresponding to the initial work plan of the target device according to the status code; In this embodiment, some plans need to be executed repeatedly, and some work plans may need to be canceled. Therefore, the status needs to be readjusted according to the execution of the work plan, and reminders are given through labels so that the staff can intuitively understand the working status of related equipment; wherein, the device page area includes an area in the display interface on the target device for displaying relevant information, such as an area on a Web page.
[0028] For example, taking rehabilitation medical equipment as an example, intuitive identification such as color marking, icon prompts, etc. can be modified according to the status code of the patient's plan, so that therapists can see at a glance in the calendar view which patients have problems with their planned time periods.
[0029] Step S14, obtaining a work plan adjustment instruction, and adjusting the state identifier and the initial work plan according to the work plan adjustment instruction.
[0030] In this embodiment, when a new work plan adjustment instruction is received, the relevant plans and identifications are adjusted and modified according to the above results.
[0031] For example, taking rehabilitation medical equipment as an example, when calling the rehabilitation medical equipment component, the interface is called to obtain the plans of all devices and all patients for the day, perform logical judgment, and then add the plans that meet the requirements to the corresponding devices. Then, according to the status code of the patient plan, intuitive identification is added, such as color marking, icon prompts, etc., so that the therapist can see at a glance in the calendar view which patients have problems in the planned time period. For example, a red background is used to indicate that a patient has not completed the training in the current time period, or a fault icon is displayed to indicate a device failure, and so on.
[0032] Through the above steps, since logical judgment is performed automatically, mistakes in manual work plan adjustment can be effectively avoided, the low efficiency of work plan adjustment is solved, and the efficiency of work plan adjustment is improved.
[0033] In an optional embodiment, after modifying or adding a status identifier in a device page area corresponding to an initial work plan of the target device according to the status code, the method further includes: Step S131, obtaining a plan viewing instruction, wherein the plan viewing instruction includes all work plans of the first time period that need to be viewed; Step S132, performing database screening based on the ID information of the first time period in the plan viewing instruction to obtain first work plan information corresponding to the first time period; Step S133: Feedback the first work plan information to the target interface and display it in a floating mode.
[0034] In this embodiment, during the actual execution process, when the staff needs to directly modify the work plan for a specific device, the modified work plan is displayed through the suspension mode, so that key information can be obtained without entering the creation page, thereby improving operational efficiency.
[0035] For example, taking rehabilitation medical equipment as an example, when the therapist clicks on a time period plan for a patient (corresponding to the aforementioned plan viewing instruction), the clicked time period ID (corresponding to the aforementioned ID information of the first time period) is transmitted to the back-end through the interface for database screening, and the plan details for the selected time period training are returned (corresponding to the aforementioned first work plan information), including training time, patient name, training game, etc.
[0036] In an optional embodiment, after performing logical judgment on the initial work plan and allocating the initial work plan that meets the logical conditions to the corresponding target device, the method further includes: Step S121, obtaining a work plan adding instruction, wherein the work plan adding instruction is used to instruct to execute a second work plan for the target device in a second time period; Step S122, comparing the execution time of the second work plan with the execution time of the initial work plan; Step S123: when it is determined that the execution time of the second work plan conflicts with the execution time of the initial work plan, an abnormal alarm feedback is performed.
[0037] In this embodiment, when performing conflict judgment, it is mainly to judge whether there is a conflict in the execution time of the work plan, for example, whether there is a conflict between 10 and 11 o'clock in the work plan.
[0038] Among them, the second time period can be a time period that is completely unrelated to the first time period, or just an overlapping time period, or it can be other time periods. For example, when the first time period is 10-11 o'clock, the second time period can be 1-2 o'clock, or 9-12 o'clock, or 9:30-10:30, etc., and there is no restriction here; the second work plan can be the same plan content as the initial work plan, or it can be a different plan content, and there is no restriction here.
[0039] In an optional embodiment, the method further includes: Step S15, obtaining device status information, wherein the device status information includes the current status of the target device or the currently executed work plan; Step S16, comparing and matching the device status information with historical status information; Step S17, when it is determined that the device status information has changed compared to the historical status information, sending the first parameter or first information in the device status information that has been modified or changed compared to the historical status information to the client; Step S18: The client determines the first parameter or the first information, adjusts or calls the first parameter or the first information on the display interface, and displays the device status information.
[0040] In this embodiment, when adjusting the work plan, the current equipment status and the execution status of its work plan are mainly compared, for example, the equipment status and work plan at 10-11 o'clock are compared with the equipment status and work plan at 9-10 o'clock.
[0041] When the device status changes or a plan is created on another PC, the backend sends the modification information or some of the modified parameters; after receiving the information, the information type is determined, the page display is modified or the data is retrieved to ensure data synchronization; in particular, heartbeat packets need to be sent regularly to keep the connection active and ensure the stability of the WebSocket connection. If the connection is disconnected, it can automatically try to reconnect, where WebSocket (a network transmission protocol for full-duplex communication on a single TCP connection) is a transmission protocol in which the server actively sends messages to the client, which creates a link channel with the backend when the Web page is opened, and then transmits and modifies the data.
[0042] It should be noted that the status information of the target device can be collected in real time through built-in sensors or external monitoring systems. The device status information includes the device's operating parameters (such as speed, temperature, pressure, etc.), working mode, power assist, motion trajectory, etc.; in addition to the WebSocket protocol, other interfaces and protocols (such as Modbus, OPC UA, etc.) can also be used to extract status data from the device control system, and then the collected status information is formatted into a unified data structure (such as JSON, XML, etc.), and the historical status information is stored in the database for comparison with the current status information; when comparing data, the current status information can be compared with the historical status information item by item to identify any changes or differences; or algorithms (such as time series analysis, machine learning models, etc.) can be used to detect changes in the status information and evaluate the significance of the changes.
[0043] After determining that the device status information has changed compared to the historical status information, it is necessary to encapsulate the changed first parameter or first information into a message or notification, and send the changed information to the client through a wireless network or a wired network.
[0044] After receiving the status change information from the device, the client determines the nature and impact of the change; if user intervention is required, the client provides an interface for the user to adjust the changed parameters and updates the latest status information of the device on the client's display interface, so that the user can understand the device status in real time and achieve data synchronization; if the change has a negative impact on the operation of the device, the client can display an alarm or prompt information to guide the user to take appropriate measures.
[0045] In an optional embodiment, after acquiring the device status information, the method further includes: Step S151, compiling the device status information, and normalizing the compilation result to obtain first status information; Step S152, filling the first state information as a matrix element into a preset state matrix, and performing state calculation on the state matrix to obtain a state score; Step S153: When the status score does not meet the first condition, it is determined that an abnormality exists in the target device.
[0046] In this embodiment, the abnormal situation of the device can also be judged by the status score of the status information to improve the efficiency of device management.
[0047] Specifically, after the state information is filled into the state matrix, its correlation can be calculated, and the correlation value can be used as the state score. Alternatively, the state score can be calculated using the following formula: (Formula 1) In the formula, is the matrix element, m and n are the number of rows and columns corresponding to the matrix respectively; is the weight value corresponding to each matrix element.
[0048] Of course, the state matrix can also be used as a grayscale value matrix, whose elements are the grayscale values of the element points corresponding to their positions, thereby converting the matrix into a grayscale image composed of multiple pixels, and then inputting the grayscale image into a pre-trained neural network model, and calculating the grayscale image through the softmax function of the neural network, and using the calculation result as the state score.
[0049] In particular, when a new work plan needs to be added, the traditional way of adding is to enter the time, content, etc. in the relevant plan one by one, while the present application can generate multiple work plans by itself through a preset model after obtaining the work plan adding instruction for the staff to choose from, wherein the work plan adding instruction mainly includes the required work items and related parameters; it is easy to understand that after generating multiple work plans, logical conflict detection is required according to the aforementioned steps S121-S123 to ensure that the relevant equipment can operate normally.
[0050] For example, taking rehabilitation medical equipment as an example, when doing running training, you only need to enter data such as training duration, training action type, training equipment working mode, and assistance size to automatically generate a training plan through the model. The specific generation process is as follows: 1. Basic heart rate calculation: Estimated maximum heart rate (HRmax): HRmax = 220 - age Resting heart rate (HRrest): Heart rate measured when you are at rest.
[0051] 2. Training intensity calculation: Target Heart Rate (HR): The training intensity percentage can be set according to the training purpose and the specific situation of the patient. For example, moderate intensity training may be 60%-70% HRmax.
[0052] 3. Metabolic equivalent (Dx) calculation: Different Dx values are set according to different training action types and equipment working modes. For example, walking may be 3.0 Dx, and running may be 6.0 Dx.
[0053] Training intensity (Dx): Training intensity (Dx) = basic Dx + (training equipment working mode coefficient × assistance size coefficient) 4. Comprehensive training intensity calculation: Comprehensive training intensity (TD): TD = training intensity (Dx) × training duration coefficient The training duration factor can be adjusted according to the training duration. For example, if the training duration exceeds 30 minutes, the factor can be increased.
[0054] Application Examples Assume that a 40-year-old patient with a resting heart rate of 70 bpm then enters the relevant parameters on the treadmill: moderate intensity training (assuming 70% HRmax), training intensity (assuming basic Dx is 6.0), equipment working mode is medium (assuming factor is 1.2), assistance size is low (assuming factor is 0.9), and training time is 30 minutes.
[0055] 1. Calculate HRmax: HRmax = 220 - 40 = 180 bpm 2. Calculate HR: 3. Calculate training intensity (Dx): Training intensity (Dx) = 6.0 + (1.2×0.9) = 7.08 Dx 4. Calculate TD: Assuming the training duration coefficient is 1.0 (because the training duration is 30 minutes, which is medium), then TD = 7.08×1.0 = 7.08. Then a treadmill training plan is generated, which includes: the basic heart rate needs to reach 180 bpm, the target heart rate is 161 bpm, the metabolic equivalent is 7.08Dx, the training intensity is 7.08, and so on.
[0056] It should be noted that the above plan generation process is only one of the training plan generation methods. When different equipment is needed for different training, the generation process of the relevant plan can be adjusted, which is not limited here.
[0057] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0058] In this embodiment, a real-time policy adjustment system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0059] Figure 2 is a structural block diagram of a real-time policy adjustment system according to an embodiment of the present invention. Figure 2 As shown, the system includes: The information acquisition module 21 is used to obtain device information of the target device, an initial work plan to be executed within a target time period, and status information corresponding to the initial work plan, wherein the initial work plan includes an action execution plan of the target device, and the status information includes a plan completion status code; A logic judgment module 22 is used to perform logic judgment on the initial work plan and allocate the initial work plan that meets the logic conditions to the corresponding target device; An identification modification module 23, used to modify or add a status identification in a device page area corresponding to an initial work plan of the target device according to the status code; The adjustment module 24 is used to obtain a work plan adjustment instruction and adjust the state identifier and the initial work plan according to the work plan adjustment instruction.
[0060] In an optional embodiment, the system further includes: A viewing instruction receiving module, configured to obtain a plan viewing instruction after modifying or adding a status identifier in a device page area corresponding to an initial work plan of the target device according to the status code, wherein the plan viewing instruction includes all work plans of a first time period that need to be viewed; A plan screening module, used for performing database screening based on the ID information of the first time period in the plan viewing instruction to obtain the first work plan information corresponding to the first time period; The information display module is used to feed back the first work plan information to the target interface and display it in a floating mode.
[0061] In an optional embodiment, the system further includes: An adding instruction receiving module is used to obtain a work plan adding instruction after performing a logical judgment on the initial work plan and allocating the initial work plan that meets the logical conditions to the corresponding target device, wherein the work plan adding instruction is used to instruct the target device to execute a second work plan in a second time period; A time comparison module, used to compare the execution time of the second work plan with the execution time of the initial work plan; The abnormality feedback module is used to provide abnormality alarm feedback when it is determined that the execution time of the second work plan conflicts with the execution time of the initial work plan.
[0062] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0063] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0064] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0065] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0066] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0067] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0068] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0069] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0070] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0071] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0072] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A real-time strategy adjustment method, characterized in that: include: Acquire device information of the target device, an initial work plan to be executed within a target time period, and status information corresponding to the initial work plan, wherein the initial work plan includes an action execution plan of the target device, and the status information includes a plan completion status code; Performing logical judgment on the initial work plan, and allocating the initial work plan that meets the logical conditions to the corresponding target device; Modify or add a status identifier in the device page area corresponding to the initial work plan of the target device according to the status code; A work plan adjustment instruction is obtained, and the state identifier and the initial work plan are adjusted according to the work plan adjustment instruction.
2. The method according to claim 1, characterized in that: After modifying or adding a status identifier in a device page area corresponding to the initial work plan of the target device according to the status code, the method further includes: Obtain a plan viewing instruction, wherein the plan viewing instruction includes all work plans of the first time period that need to be viewed; Performing database screening based on the ID information of the first time period in the plan viewing instruction to obtain first work plan information corresponding to the first time period; The first work plan information is fed back to the target interface and displayed in a floating mode.
3. The method according to claim 1, characterized in that After performing logical judgment on the initial work plan and allocating the initial work plan that meets the logical conditions to the corresponding target device, the method further includes: Acquire a work plan adding instruction, wherein the work plan adding instruction is used to instruct to execute a second work plan for the target device in a second time period; comparing the execution time of the second work plan with the execution time of the initial work plan; When it is determined that the execution time of the second work plan conflicts with the execution time of the initial work plan, an abnormal alarm feedback is performed.
4. The method according to claim 1, characterized in that: The method further comprises: Acquire device status information, wherein the device status information includes the current status of the target device or the work plan currently being executed; Comparing and matching the device status information with historical status information; When it is determined that the device status information has changed compared to the historical status information, sending the first parameter or first information in the device status information that has been modified or changed compared to the historical status information to the client; The client determines the first parameter or the first information, adjusts or calls the first parameter or the first information on the display interface, and displays the device status information.
5. The method according to claim 4, characterized in that After acquiring the device status information, the method further includes: Compiling the device status information, and normalizing the compilation result to obtain first status information; Filling the first state information as a matrix element into a preset state matrix, and performing state calculation on the state matrix to obtain a state score; When the status score does not meet the first condition, it is determined that an abnormality exists in the target device.
6. A real-time strategy adjustment system, characterized in that: include: An information collection module, used to obtain device information of a target device, an initial work plan to be executed within a target time period, and status information corresponding to the initial work plan, wherein the initial work plan includes an action execution plan of the target device, and the status information includes a plan completion status code; A logic judgment module, used for performing logic judgment on the initial work plan and allocating the initial work plan that meets the logic conditions to the corresponding target device; An identification modification module, used to modify or add a status identification in a device page area corresponding to an initial work plan of the target device according to the status code; The adjustment module is used to obtain a work plan adjustment instruction and adjust the state identifier and the initial work plan according to the work plan adjustment instruction.
7. The system according to claim 6, characterized in that The system further comprises: A viewing instruction receiving module, configured to obtain a plan viewing instruction after modifying or adding a status identifier in a device page area corresponding to an initial work plan of the target device according to the status code, wherein the plan viewing instruction includes all work plans of a first time period that need to be viewed; A plan screening module, used for performing database screening based on the ID information of the first time period in the plan viewing instruction to obtain the first work plan information corresponding to the first time period; The information display module is used to feed back the first work plan information to the target interface and display it in a floating mode.
8. The system according to claim 6, characterized in that The system further comprises: An adding instruction receiving module is used to obtain a work plan adding instruction after performing a logical judgment on the initial work plan and allocating the initial work plan that meets the logical conditions to the corresponding target device, wherein the work plan adding instruction is used to instruct the target device to execute a second work plan in a second time period; A time comparison module, used to compare the execution time of the second work plan with the execution time of the initial work plan; The abnormality feedback module is used to provide abnormality alarm feedback when it is determined that the execution time of the second work plan conflicts with the execution time of the initial work plan.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 5 when executed.
10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.