Operation parameter generation method and device and industrial control system

By obtaining scene parameters and evaluation function parameters and dynamically adjusting the operating parameters, the problem of taking into account both performance and real-time data in complex operating environments is solved, and efficient rendering and data push is achieved.

CN119484626APending Publication Date: 2025-02-18HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310981234.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-04
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In complex operating environments, it is difficult for the prior art to dynamically adjust operating parameters to take into account both the display performance and data real-time.

Method used

By obtaining scene parameters, the initial running parameters are determined, and the rendering performance and data real-time performance are evaluated in real time based on the evaluation function parameters. If the evaluation result does not meet the pass conditions, the self-adjustment function will be used to optimize the running parameters until the conditions are met.

Benefits of technology

It realizes dynamic adjustment of operating parameters in complex operating environments, taking into account both rendering performance and data real-time performance, and is suitable for high-frequency data push and rendering scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484626A_ABST
    Figure CN119484626A_ABST
Patent Text Reader

Abstract

The invention relates to an operation parameter generation method and device and an industrial control system, and relates to the technical field of computers, and the method comprises the steps: obtaining a scene parameter, a pass function parameter, an evaluation function parameter and a self-adjustment function parameter, determining an initial operation parameter according to the scene parameter, and enabling a server and a client to control image rendering according to the initial operation parameter; based on the evaluation function parameter, obtaining execution data of picture rendering, and generating an evaluation result of the execution data; if the evaluation result meets a passing condition determined based on the passing function parameter, taking the initial operation parameter as an operation parameter generation result; and if the target evaluation result does not meet the passing condition, adjusting the initial operation parameter based on the self-adjusting function parameter until the target evaluation result corresponding to the obtained target operation parameter meets the passing condition, and taking the target operation parameter as an operation parameter generation result. According to the method, the operation parameters are optimized in real time, so that the obtained operation parameter generation result gives consideration to rendering performance and data real-time performance during operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for generating operating parameters, and an industrial control system. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by its inclusion in this section.

[0003] In some industrial high-frequency data push and rendering scenarios, the server pushes data to the client according to the push frequency. After receiving the pushed data, the client renders according to the rendering frequency and the number of supported components. For scenarios with a single operating environment, the settings of operating parameters such as push frequency, rendering frequency, and number of rendering components can be completed before the system runs, but there are often many actual scenarios with complex and changeable operating environments. For example, the performance, network, and data protocol types of the client used to display the screen may be different, and the number of components and data components used by different applications running on the client are also different. In the case of limited display performance of the client used to display the screen, the display performance of the client can be guaranteed by reducing the back-end data push frequency, but reducing the data push frequency will affect the real-time nature of the data. In some scenarios where the operating environment changes dynamically and better performance needs to be pursued, the initialization parameter setting method cannot set better dynamic parameters. Summary of the invention

[0004] The operating parameter generation method and device, and the industrial control system provided by the embodiments of the present invention can at least dynamically generate operating parameters, thereby taking into account the display performance and data real-time performance during operation to a greater extent.

[0005] According to one aspect of the present application, there is also provided an operating parameter generation method, including: obtaining scene parameters, passing function parameters, evaluation function parameters and self-adjusting function parameters, determining initial operating parameters according to the scene parameters, and sending the initial operating parameters to a server and a client, so that the server and the client control screen rendering according to the initial operating parameters; wherein the scene parameters are used to describe the usage scenarios of the operating parameters; based on the evaluation function parameters, obtaining the execution data of the screen rendering, and generating an evaluation result of the execution data; wherein the evaluation function parameters are used to evaluate rendering performance and data real-time performance; if the evaluation result meets the passing condition determined based on the passing function parameters, the initial operating parameters are used as operating parameter generation results; if the evaluation result does not meet the passing condition, the initial operating parameters are adjusted based on the self-adjusting function parameters until the target evaluation result corresponding to the target operating parameters meets the passing condition, and the target operating parameters are used as operating parameter generation results.

[0006] According to another aspect of the present application, there is also provided an operating parameter generating device, including: an initialization module, used to obtain scene parameters, pass function parameters, evaluation function parameters and self-adjustment function parameters, determine initial operating parameters according to the scene parameters, and send the initial operating parameters to the server and the client, so that the server and the client control screen rendering according to the initial operating parameters; wherein the scene parameters are used to describe the use scenario of the operating parameters; an evaluation module, used to obtain the execution data of the screen rendering based on the evaluation function parameters, and generate an evaluation result of the execution data; wherein the evaluation function parameters are used to evaluate rendering performance and data real-time performance; a pass module, used to use the initial operating parameters as operating parameter generation results if the evaluation result meets the pass condition determined based on the pass function parameters; a self-adjustment module, used to adjust the initial operating parameters based on the self-adjustment function parameters if the evaluation result does not meet the pass condition, until the target evaluation result corresponding to the target operating parameters meets the pass condition, and the target operating parameters are used as operating parameter generation results.

[0007] According to another aspect of the present application, an industrial control system is also provided, including: a server, a client and the above-mentioned operating parameter generating device; the operating parameter generating device is used to send the operating parameter generation result to the server and the client respectively; the server is used to receive the operating parameter generation result, and send push data to the client according to the operating parameter generation result; the client is used to receive the push data and the operating parameter generation result, and generate a display screen using the push data according to the operating parameter generation result.

[0008] According to another aspect of the present application, an electronic device is provided, comprising: a processor; and a memory storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the above method.

[0009] According to another aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to enable the computer to execute the steps of the above method.

[0010] According to another aspect of the present application, a computer program product is also provided. The computer program product includes a computer program. When the computer program is executed by a processor, the above method steps are implemented.

[0011] Beneficial effects of the embodiments of the present invention:

[0012] In an embodiment of the present invention, by acquiring a scenario parameter for describing a usage scenario of an operation parameter, the operation requirements of a system using the operation parameter can be acquired in real time. Afterwards, the initial operation parameter determined based on the scenario parameter is sent to the server and the client, so that the server and the client control the rendering of the screen according to the initial operation parameter, and then based on the evaluation function parameter set by the user, the execution data of the rendering operation is acquired in real time, and the evaluation result of the execution data is generated, thereby realizing the evaluation of the rendering performance and the real-time performance of the data. When the evaluation result meets the passing condition determined by the user through the function parameter, the initial operation parameter is used as the operation parameter generation result. Otherwise, based on the self-adjusting function set by the user, the initial operation parameter is optimized, and the evaluation result is generated again for the optimized operation parameter, until the target evaluation result corresponding to the target operation parameter meets the passing condition, and the target operation parameter is used as the operation parameter generation result. In an embodiment of the present invention, the initial operation parameter is first sent to the server and the client for use. When the server and the client render based on the initial operation parameter, the evaluation result of the rendered execution data is generated in real time, so that the obtained operation parameter generation result takes into account the rendering performance and the real-time performance of the data at runtime.

[0013] The details of one or more embodiments of the invention are set forth in the following drawings and description so that other features, objects, and advantages of the invention are more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other embodiments can be obtained based on these drawings without creative work.

[0015] Figure 1 is a flow chart of a method for generating operating parameters according to an embodiment of the present invention;

[0016] Figure 2 It is a schematic diagram of the implementation steps of the method for generating operating parameters according to an embodiment of the present invention;

[0017] FIG3( a ) is a schematic diagram of the first part of an industrial application example of an embodiment of the present invention;

[0018] FIG3( b ) is a schematic diagram of the second part of an industrial application example of an embodiment of the present invention;

[0019] Figure 4 Schematic diagram of the structure of the electronic device of this embodiment. DETAILED DESCRIPTION

[0020] Embodiments of the present embodiment will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present embodiment are shown in the accompanying drawings, it should be understood that the present embodiment can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, which are instead provided for a more thorough and complete understanding of the present embodiment. It should be understood that the drawings and embodiments of the present embodiment are only for exemplary purposes and are not intended to limit the scope of protection of the present embodiment.

[0021] The functions of the industrial workshop production control system include a) production data collection and b) visualization of the production process and equipment status and equipment control. The system can be applied to application scenarios such as digitalization of the user's industrial production process, industrial equipment control, industrial production management, and industrial digital twins. These scenarios have high requirements in terms of data communication and rendering engines.

[0022] Industrial configuration often encounters the following challenges when displaying, communicating and rendering industrial real-time high-concurrency data: 1) There are many screen elements (components), ranging from thousands to tens of thousands; 2) The amount of data is large, and many components will subscribe to backend data and respond to data for real-time refresh and rendering; 3) The operating environment is complex, and some are running on a weak HMI (Human Machine Interface, a small computer with a screen), and some are running on industrial supercomputers. The problem brought about by these challenges is that the client performance of the running application first leads to the limitation of the number of components that can be supported. This problem can be solved by reducing the frequency of backend data push, but it affects the real-time performance of the data. So the question is how to face the challenges of points 1), 2) and 3) above, and calculate more operating parameters according to the different running machines, components of different applications and the data communication protocols corresponding to the components, so as to take into account the user's requirements for data real-time performance and rendering performance.

[0023] In response to the above problems, the existing solution one is based on the frequency refresh rate setting, frame rate priority, image quality priority and other user manual configuration options. The existing solution two is about the animation frequency refresh rate solution, but these existing solutions are limited to client rendering refresh. The existing solution three is based on a more practical experience system. The system sets the value that the system thinks is better during initialization. The existing solution four sets the parameter value for the first time and does not make any adjustments during operation. The existing solutions three and four are similar. The operating parameter settings are completed before the system runs, and the static parameters cannot meet the needs of the vastly different operating environments. The solution is judged based on a single environment: server performance or client performance, which cannot better adapt to environmental changes. In addition, the current existing solution only supports a maximum rendering element of 1000 / s, and the technical specifications cannot meet user needs.

[0024] Based on the above background, the present invention provides an operating parameter generation method and device, and an industrial control system. The method is based on the integration of rendering refresh + data refresh + data push, and dynamic parameter calculation is performed based on runtime, so that the parameter calculation is more accurate, and the hyperparameters can be dynamically adjusted in the application field of industrial production control systems. When the initial value cannot be set more accurately and the operating environment varies greatly, the method calculates more dynamic operating parameters according to the environment through dynamic scoring and dynamic adjustment at runtime, which can better take into account data real-time and rendering performance.

[0025] The terms involved are explained below.

[0026] Configuration: SCADA system (Supervisory Control and Data Acquisition) is divided into two parts, data acquisition and configuration. Configuration is a tool system that users use to configure the application of industrial workshop production control.

[0027] Industrial control system: industrial control system.

[0028] DPA (Dynamic Parameter Adjustment): Dynamic parameter calculation device.

[0029] Dynamic parameters: Parameters formed by dynamic calculation through input parameters.

[0030] In an embodiment of the present invention, a running parameter generation method is provided. The running parameter generation result obtained by the method can be provided to the client and the server, wherein the server can be used to generate push data, and the running parameter generation result can be used to control the push of the push data to the client. The client receives the push data sent by the server, and uses the running parameter generation result to control the rendering operation of the push data on the client. Figure 1 is a flow chart of a method for generating operating parameters according to an embodiment of the present application. Figure 1 The method steps involved are described.

[0031] Step S101, obtain scene parameters, pass function parameters, evaluation function parameters and self-adjustment function parameters, determine initial operating parameters according to the scene parameters, and send the initial operating parameters to the server and the client, so that the server and the client control the screen rendering according to the initial operating parameters; wherein the scene parameters are used to describe the usage scenarios of the operating parameters.

[0032] In this step, the operating parameters can be used to implement industrial control of the client and / or server, which may include but are not limited to rendering parameters and push parameters. Among them, the rendering parameters are used by the client to control the rendering operation, and the push parameters can be used by the server to control the data push operation. In a specific embodiment, the operating parameters can be the client screen synchronous rendering frequency, the channel data push frequency of the client and the server to establish a connection, and the frequency of the server pushing data to the client.

[0033] The scenario parameters are used to describe the usage scenario of the operating parameters. The usage scenario includes information about the hardware device that is to use the operating parameters, for example, performance information about the client that is to use the operating parameters, performance information about the server that is to use the operating parameters, etc. The usage scenario also includes user-specified demand information, for example, the user requires rendering performance to be better than data real-time performance, or the user specifies data push at a certain time interval, etc. The user's specified demand information can be customized by the user, and the embodiment of the present invention does not specifically limit this. The usage scenario can also include information about the software that uses the operating parameters, for example, a certain software pre-sets the number of components included in the rendering area, etc. The software information can be specifically determined according to different applications, and the embodiment of the present invention does not specifically limit this.

[0034] The function parameters, evaluation function parameters and self-adjusting function parameters are user-defined parameters, which can be used to construct functions and implement user-defined functions based on the constructed functions.

[0035] After the user has customized the scene parameters, function parameters, evaluation function parameters, and self-adjustment function parameters, these parameters are obtained, and the initial operation parameters are determined according to the scene parameters. For example, the initial operation parameters can be obtained by calculating the scene parameters, or the operation parameters that better match the current environment can be selected from the existing operation parameter generation results according to the scene parameters as the initial operation parameters. The specific determination means can be determined according to user needs.

[0036] After the initial operation parameters are determined, the initial operation parameters can be sent to the server and the client so that the server and the client control the screen rendering according to the initial operation parameters. It should be noted that the initial operation parameters can be sent to the server and the client respectively, and the server and the client respectively obtain the required parameters from the initial operation parameters. The initial operation parameters can also be classified according to the client and the server, and the parameters required by the client are sent to the client, and the parameters required by the server are sent to the server. The specific sending method can be selected according to actual needs, and the embodiment of the present invention does not specifically limit this. The client and the server respectively use the initial operation parameters to control the rendering of the screen to obtain a display screen.

[0037] It should also be noted that, in the embodiment of the present invention, the client may be a terminal device used by a user, including but not limited to a personal computer, a mobile phone, a tablet, etc., and the server may refer to an application running on a server.

[0038] Based on the dynamic parameter calculation performed in the above steps, the client implements dynamic refresh, and the server performs data frequency control, and the client rendering refresh, server data refresh and data push are integrated. This step sends the initialization operation parameters to the server and the client, so that the server and the client perform rendering using the initial operation parameters, so as to evaluate the rendering results in real time, and then dynamically optimize the operation parameters in real time.

[0039] Step S102, based on the evaluation function parameters, acquiring the execution data of the screen rendering, and generating an evaluation result of the execution data; wherein the evaluation function parameters are used to evaluate rendering performance and data real-time performance.

[0040] In this step, the evaluation function parameters are used to evaluate the rendering performance and data real-time performance. Among them, the rendering performance may include data of multiple dimensions such as rendering speed, rendering quality, and stability of the client operation during rendering. The screen displayed on the client is obtained by rendering, and some data included in the screen that needs to be updated in real time is provided to the client by the server. The data real-time performance can be used to describe the timeliness of the screen display of these real-time updated data. The user can customize the settings of the data to be evaluated, the evaluation method, and the evaluation results by configuring the evaluation function parameters, that is, based on the evaluation function parameters, the execution data of the screen rendering is obtained, and the evaluation results of the execution data are generated.

[0041] In this step, screen rendering refers to the process of converting data in the computer into images or animations. Screen rendering may include the following steps: Geometry processing: converting 3D models into 2D images, including vertex transformation, clipping, projection and other operations. Rasterization: converting geometrically processed graphics into pixels, including scan line algorithms, triangle filling and other operations. Shading: assigning color values ​​to each pixel, including lighting calculations, texture mapping and other operations. Synthesis: synthesizing all pixels into the final image, including operations such as blending and transparency. Display: displaying the rendered image on the screen, including operations such as refresh rate and resolution.

[0042] The data to be processed, generated, and recorded during the screen rendering process can be used as execution data. The execution data may include but is not limited to the following data: Frame rate (FPS): The number of frames rendered per second, usually the higher the better. Latency: The time from user input to feedback displayed on the screen, usually the lower the better. GPU utilization: The utilization rate of the GPU, usually the higher the better. CPU utilization: The utilization rate of the CPU, usually the lower the better. Memory utilization: The utilization rate of the memory, usually the lower the better. Rendering time: The time required to render each frame, usually the shorter the better. Rendering quality: The quality of the rendered image, usually the higher the better. Stability: Whether there are problems such as freezing and flickering during the rendering process, usually the more stable the better. Power consumption: The amount of power consumed during the rendering process, usually the lower the better. Network latency: The data transmission latency from the server to the client, usually the lower the better.

[0043] In the embodiment of the present invention, instead of acquiring all execution data each time, the dimension data to be evaluated is acquired as execution data according to the evaluation function parameters to generate the evaluation result of the execution data. The evaluation result can be described in the form of numerical data, text data, image data, etc., which can be set by the user through the evaluation function parameters.

[0044] In the above steps, the user can customize the evaluation function parameters to evaluate the execution data of the screen rendering, thereby meeting the different evaluation requirements of the user.

[0045] Step S103: If the evaluation result satisfies the passing condition determined based on the passing function parameter, the initial operating parameter is used as the operating parameter to generate the result.

[0046] In this step, the pass condition can be obtained by user-defined configuration through function parameters. The form of the pass condition can be determined in combination with the form of the evaluation result, for example, including but not limited to numerical data, text data, and image data. If the evaluation result meets the pass condition determined based on the function parameters, the initial operation parameters are used as the operation parameter generation result. The operation parameter generation result is provided to the client and the server, thereby taking into account both rendering performance and data real-time performance.

[0047] In the above steps, the function parameters can be used to determine whether the evaluation result meets the pass condition. If it passes, the calculation is stopped. If it does not pass, step S104 is executed to start the dynamic adjustment of the operating parameters.

[0048] Step S104, if the evaluation result does not meet the passing condition, the initial operating parameters are adjusted based on the self-adjusting function parameters until the target evaluation result corresponding to the obtained target operating parameters meets the passing condition, and the target operating parameters are used as the operating parameter generation result.

[0049] In this step, the self-adjusting function parameters can be used to determine how to adjust the initial operating parameters, and the specific adjustment steps can be customized by the user. After adjusting the initial operating parameters, the adjusted operating parameters are sent to the server and the client, so that the server and the client control the screen rendering according to the adjusted operating parameters, and the adjusted operating parameters are evaluated based on the evaluation function parameters, that is, steps S102-S104 are executed again until the target evaluation result corresponding to the target operating parameter meets the passing condition, and the target operating parameter is used as the operating parameter generation result.

[0050] In the above steps, users can customize their requirements for operating parameters through scene parameters, function parameters, evaluation function parameters, and self-adjusting function parameters, and combine them with dynamic real-time adjustment of operating parameters to make the operating parameter generation results meet the user's various needs, for example, including but not limited to taking into account both rendering performance and data real-time performance. When the initial value cannot be set and the operating environment varies greatly, better runtime performance can be obtained through dynamic automatic calculation, thereby ensuring that different environments can be configured with lower data latency and better performance based on information such as components and network conditions. It can not only ensure performance priority scenarios, but also support ultra-large industrial application scenarios with more than 10,000 single application components.

[0051] In an embodiment of the present invention, by acquiring a scenario parameter for describing a usage scenario of an operation parameter, the operation requirements of a system using the operation parameter can be acquired in real time. Afterwards, the initial operation parameter determined based on the scenario parameter is sent to the server and the client, so that the server and the client control the rendering of the screen according to the initial operation parameter, and then based on the evaluation function parameter set by the user, the execution data of the rendering operation is acquired in real time, and the evaluation result of the execution data is generated, thereby realizing the evaluation of the rendering performance and the real-time performance of the data. When the evaluation result meets the passing condition determined by the user through the function parameter, the initial operation parameter is used as the operation parameter generation result. Otherwise, based on the self-adjusting function set by the user, the initial operation parameter is optimized, and the evaluation result is generated again for the optimized operation parameter, until the target evaluation result corresponding to the target operation parameter meets the passing condition, and the target operation parameter is used as the operation parameter generation result. In an embodiment of the present invention, the initial operation parameter is first sent to the server and the client for use. When the server and the client render based on the initial operation parameter, the evaluation result of the rendered execution data is generated in real time, so that the obtained operation parameter generation result takes into account the rendering performance and the real-time performance of the data at runtime.

[0052] In a possible implementation, the scenario parameters include: an operation strategy parameter, an operation application parameter, and an operation environment parameter; determining the initial operation parameters according to the scenario parameters can be performed according to the following steps: if the difference between the historical operation application parameters corresponding to the historical operation parameters and the operation application parameters is less than a preset application difference threshold, and the difference between the historical operation environment parameters corresponding to the historical operation parameters and the operation environment parameters is less than a preset environment difference threshold, then the historical operation parameters are used as candidate operation parameters; determine the weight ratio of each sub-parameter in the operation parameters according to the operation strategy parameters, and determine the initial operation parameters from the candidate operation parameters according to the weight ratio.

[0053] In this possible implementation, the operation strategy parameters are parameters used to characterize the user's requirements for rendering performance and data real-time performance. In the same client environment and server environment, the strategy selection is often made according to the preference of the usage scenario (for example: rendering performance priority, delay performance priority, rendering performance and data real-time balance strategy), and the operation strategy parameters will affect the default values ​​of the evaluation function and the initial operation parameters, wherein the evaluation function is a function used to implement the evaluation function according to the evaluation function parameters.

[0054] The running parameters can be used by different software (applications) on the client. The running application parameters are parameters used to characterize the software environment where the running parameters are located. This parameter can represent the parameters of application execution, for example: the running application has 1000 components, 200 data components, the minimum delay of the data component protocol is 200ms, the evaluation delay is 500ms, etc. Different data protocols and different numbers of page components can become important bases for calculation in the evaluation function and the self-adjusting function, among which the self-adjusting function is a function used to implement the self-adjusting function according to the self-adjusting function parameters.

[0055] The operating parameters can be used by the client and the server. The operating environment parameters are used to characterize the hardware environment in which the operating parameters are located. For example, they may include but are not limited to: the client performance of the current application running, network latency, data protocol type and corresponding maximum latency, server environment, server maximum push frequency and other parameters.

[0056] The historical operating parameters are the operating parameter generation results obtained in the past. Among the historical operating parameters, operating parameters similar to the current operating application parameters and operating environment parameters are selected as the operating parameters to be selected, that is, if the difference between the historical operating application parameters corresponding to the historical operating parameters and the operating application parameters is less than the preset application difference threshold, and the difference between the historical operating environment parameters corresponding to the historical operating parameters and the operating environment parameters is less than the preset environment difference threshold, then the historical operating parameters are used as the operating parameters to be selected. It should be noted that the application difference threshold and the environment difference threshold can be set according to actual needs, and the embodiments of the present invention do not specifically limit them.

[0057] The operating parameters may include multiple sub-parameters. For example, the operating parameters include rendering parameters and push parameters, where both rendering parameters and push parameters are sub-parameters. The weight ratio of the sub-parameters is used to characterize the user's preference for the sub-parameters. For example, if the user requires higher rendering quality, the weight ratio of the rendering parameter will be higher than that of the push parameter. Based on the weight ratio, rendering performance can be prioritized.

[0058] After determining one or more candidate operating parameters, select the candidate parameters corresponding to the weight ratio that meets the current requirements from the candidate parameters as the initial operating parameters, that is, determine the weight ratio of each sub-parameter in the operating parameters according to the operating strategy parameters, and determine the initial operating parameters from the candidate operating parameters according to the weight ratio.

[0059] In the above steps, the initial operation parameters are generated based on the operation strategy parameters, the operation application parameters and the operation environment parameters, so that the initial operation parameters can take into account the requirements of the operation strategy, the operation application and the operation environment, and the historical operation parameters that are more similar to the current operation strategy, the operation application and the operation environment are used as the initial operation parameters. Among them, the historical operation parameters are the operation parameter generation results calculated historically, and their evaluation scores are higher, so the initial operation parameters obtained based on them are better.

[0060] In a possible implementation, based on the evaluation function parameters, the execution data of the rendering operation is obtained, and the evaluation result of the execution data is generated. This can be performed according to the following steps: determine the evaluation content, the evaluation score corresponding to the evaluation content, and the execution data corresponding to the evaluation content according to the evaluation function parameters; if the execution data satisfies the evaluation content, the evaluation score is used as the evaluation result.

[0061] In this possible implementation, since the execution data may include data of multiple dimensions involved in the rendering operation process, in order to more accurately meet user needs, the user may customize the evaluation function, customize the evaluation content, the evaluation score corresponding to the evaluation content, and the execution data corresponding to the evaluation content. The evaluation content is evaluation data on rendering performance and / or data real-time performance in a certain dimension. The evaluation content may correspond to one or more execution data.

[0062] If the execution data meets the evaluation content, the evaluation score is used as the evaluation result, that is, it is determined whether the execution data meets the conditions determined by the evaluation content. If so, the evaluation score corresponding to the evaluation content is used as the evaluation result. For example, if the evaluation content is that the rendering speed is greater than A (A is a specified value, which can be set according to actual needs), the evaluation score corresponding to the evaluation content is B, and the execution data corresponding to the evaluation content includes frame rate data, rendering time data, etc. The rendering speed value is calculated through the execution data such as frame rate data and rendering time data. If it is greater than A, the evaluation result of the execution data is determined to be B.

[0063] It should be noted that the evaluation function can be determined based on the evaluation function parameters, and the evaluation function is used in the evaluation module of the adjustment operation phase to score the performance parameters of each input operation and calculate the evaluation score. The function is customized according to the system of the device using the method. The factors that usually affect the evaluation are: client CPU (Central Processing Unit) and memory load, server IO (Input / Output) and CPU load, the direct delay between the real client receiving data and the server returning data, and other data.

[0064] In this step, the evaluation score is used as the evaluation result, so that the rendering performance and data real-time performance can be evaluated more intuitively.

[0065] In a possible implementation, the evaluation content includes one or more of the following data: rendering speed data, rendering time data, rendering stability data, and rendering quality data.

[0066] In this possible implementation, the rendering timeliness data is used to characterize the timeliness of the data pushed by the server when displayed on the client. The rendering stability data is used to characterize whether there are problems such as freezing and flickering in the rendering process on the user side. The rendering quality data is used to characterize the display effect of the display screen after the rendering is completed. It should be noted that the evaluation content may include but is not limited to the above-mentioned data, and the specific data included can be customized according to actual needs.

[0067] In this step, by specifying the dimensions of the evaluation content, a more targeted evaluation can be achieved, and the operating parameters can be adjusted more specifically, thereby obtaining operating parameter generation results that can more accurately meet the needs.

[0068] The function parameter can be used to determine the pass function, which is used when adjusting the evaluation of the operation stage. The evaluation score is input, and the return value is true and false, which is used to determine whether the score calculation is passed. If it passes, the method will enter the stable operation stage. If it does not pass, the self-adjustment function is used to adjust the operation performance parameters. However, considering that there may be a situation where multiple calculations cannot obtain the operation parameters that meet the pass conditions, in order to reduce unnecessary calculations, in a possible implementation, the following steps can also be performed: the number of times the initial operation parameters are adjusted is counted, and if the number is greater than the preset cycle number threshold, the operation parameter generation result is determined in the historical operation parameter generation result; wherein the evaluation score of the operation parameter generation result is higher than the historical operation parameter generation result other than the operation parameter generation result in the historical operation parameter generation result.

[0069] In this possible implementation, the maximum number of attempts, i.e., the loop number threshold, can be set by using function parameters, and the number of times the initial operating parameters are adjusted can be counted. If the number is greater than the preset loop number threshold, i.e., the passing condition cannot be met within the maximum number of times, then the operating parameter generation result is determined in the historical operating parameter generation results, wherein the evaluation score of the operating parameter generation result is higher than the historical operating parameter generation results other than the operating parameter generation result in the historical operating parameter generation results, i.e., the operating parameters corresponding to the highest historical scores and the highest historical scores are obtained, and the passing condition is met using the historical values, and the corresponding operating parameters are used as the operating parameter generation results.

[0070] In the above steps, the abnormal situation is handled. When the evaluation function fails to evaluate a higher score for many times, this step is enabled, and the operating parameters corresponding to the highest historical score are used as operating parameters to generate results, avoiding unnecessary calculations.

[0071] In a possible implementation, adjusting the initial operating parameters based on the self-adjusting function parameters can be performed according to the following steps: determining the sub-parameters to be adjusted in the initial operating parameters, as well as the adjustment direction and adjustment amplitude of the sub-parameters based on the self-adjusting function parameters; and adjusting the sub-parameters according to the adjustment direction and the adjustment amplitude.

[0072] In this possible implementation, the adjustment of the operating parameter includes adjusting one or more sub-parameters of the operating parameter. Based on the self-adjusting function parameters, one or more sub-parameters to be adjusted, as well as the adjustment direction and adjustment amplitude of the sub-parameters can be determined, wherein the adjustment direction includes increasing or decreasing the value of the sub-parameter, and the adjustment amplitude is used to determine the change in the sub-parameter value, and the sub-parameter is adjusted according to the adjustment direction and the adjustment amplitude, thereby realizing automatic real-time dynamic adjustment of the operating parameter.

[0073] It should be noted that, in specific implementation, the self-adjusting function can be determined by the self-adjusting function parameters. This function is used when adjusting the evaluation of the running stage. Currently, the return value is true and false, which is used to determine whether the score calculation is passed. If passed, the method will enter the stable operation stage. If not, the running performance parameters, current score, running parameters, execution strategy and other data are used as input parameters, and the self-adjusting function is used for calculation to calculate the new performance parameters, and then the execution is performed again and the score is re-evaluated.

[0074] In a possible implementation, before obtaining the execution data of the rendering operation based on the evaluation function parameters and generating the evaluation result of the execution data, the following steps may also be performed: obtaining the delay function parameters, determining the interval duration or the start time according to the delay function parameters, and obtaining the execution data of the rendering operation based on the evaluation function parameters according to the interval duration or the start time, and generating the evaluation result of the execution data.

[0075] In this possible implementation, the delay function parameters can be set by the user. The delay function parameters can be used to determine the interval duration or the start time to start the evaluation function, that is, according to the interval duration or the start time, based on the evaluation function parameters, the execution data of the rendering operation is obtained, and the evaluation result of the execution data is generated.

[0076] It should be noted that in the specific implementation, the delay function can be determined according to the delay function parameters. This function is used when adjusting the evaluation of the running stage, and is used for the delay of each evaluation function calculation setting. This design is used to improve the performance of the overall method. It is often used in 1) self-adjusting the recalculation interval, such as 200ms, or more flexible settings according to the operating environment. 2) Initialization environment delay to avoid the high-density CPU calculation peak of application initialization. By introducing the delay function, the calculation efficiency is improved.

[0077] In a possible implementation, the following steps may also be performed: when a change in the operating environment in which the operating parameter generation result is located is detected, the operating parameter generation result is adjusted based on the self-adjusting function parameters until the updated evaluation result corresponding to the updated operating parameter meets the passing condition, and the updated operating parameter is used as the updated operating parameter generation result.

[0078] In this possible implementation, the operating environment where the operating parameter generation result is located includes the software environment and hardware environment that use the operating parameters to generate the result. Among them, the software environment includes the software and operating system environment that the program running using the operating parameters depends on, which includes the type and version of the operating system, the version of the programming language, the required libraries and frameworks, etc. The hardware environment includes the computer hardware devices that the program running using the operating parameters depends on. It includes the computer's processor, memory, hard disk, graphics card and other hardware components.

[0079] When it is monitored that the operating environment where the operating parameter generation result is located changes, the self-adjustment function is started, that is, based on the self-adjustment function parameters, the operating parameter generation result is adjusted until the updated evaluation result corresponding to the updated operating parameter meets the passing condition, and the updated operating parameter is used as the updated operating parameter generation result.

[0080] In specific implementation, according to the self-adjusting function parameters, a self-adjusting function is determined, and the function is used during monitoring in the stable operation stage to return the method from the stable operation stage to the adjustment operation stage. This step can solve the problem that when the operating environment changes, such as the dynamic data protocol of the operating system, the data point position changes, and the client server operating environment changes, resulting in the operating performance parameters no longer being the best solution, the adjustment operation stage is re-entered for calculation, the operating parameter generation result is adjusted, and the updated operating parameter generation result is obtained.

[0081] In this step, when the external environment changes, self-adjustment is started so that the updated operating parameter generation result can meet the changed operating environment.

[0082] Taking into account that the method involves multiple processing functions and each processing function involves a data acquisition step, in order to facilitate improving data processing efficiency, in a possible implementation, the following steps can also be performed: save the scene parameters, the operating parameters, and the operating values ​​calculated when generating the operating parameters as context parameters.

[0083] In this possible implementation, the context parameters include input parameters: operating application parameters, operating environment parameters, and operating strategy parameters. The context parameters also include operating values ​​calculated when generating operating parameters, including but not limited to: dynamic operating parameters (initial operating parameters that need to be adjusted dynamically, and operating parameters obtained after adjusting the initial operating parameters), evaluation points, number of cycles, historical evaluation scores and corresponding context parameters, monitoring system startup times, monitoring system change data and other operating values ​​calculated when operating parameters, etc.

[0084] In this possible implementation, the scene parameters, the operating parameters, and the operating values ​​calculated when generating the operating parameters are saved as context parameters. The context parameters serve as global parameters, and each function obtains the required data from the context parameters, which facilitates data acquisition and improves the computing efficiency of each function.

[0085] See also Figure 2 The schematic diagram of the implementation steps of the operating parameter generation method is shown, and the implementation of the method is described below with a specific embodiment. Figure 2 The device for applying this method is demonstrated. In order to have more real-time data, calculations are performed through this device, which is divided into three stages: Initialization stage: Run with system default parameters. Adjustment operation stage: Mainly modify the execution parameter values ​​by self-adjusting functions, and calculate better parameters according to the final score of the evaluation module. Stable operation stage: After calculating the better operating parameters, the system enters the stable operation stage and starts the monitoring module. The monitoring module can re-trigger self-adjustment when the environment changes. The process of generating operating parameters based on this device specifically includes the following processes:

[0086] Process 1-Set input parameters: Follow up the system and scenario where the device is used, and set the input parameters of the device, including: Parameter 1: operation strategy parameters, Parameter 2: operation application parameters; Parameter 3: operation environment parameters; Parameter 4: delay function parameters; Parameter 5: evaluation function parameters; Parameter 6: pass function parameters; Parameter 7: self-adjustment function; Parameter 8: monitoring function parameters.

[0087] Process 2-initialization: Initialization, this process mainly does three things, 1) Initialize DPA-Context (up and down line parameters), including evaluation points, running application parameters, running environment parameters, running strategy parameters, dynamic running parameters. 2) Initialize performance parameters (running parameters). This parameter is the dynamic running parameter value that enters the scoring machine for the first time. This parameter can generally be given based on system experience, such as the more common running parameters of the machine environment and application environment. 3) Load the various functions that are input into the various modules of the device.

[0088] Process 3 - Score calculation: After the DPA-Context is initialized, it enters the evaluation module through the delay function (the delay function is generally used to control the delay value of the first calculation and the interval value of each re-scoring calculation), and the evaluation score is calculated through the evaluation function gradeFun.

[0089] Process 4 - Determine the score: After calculating the evaluation score, it is calculated through the passFun function (the return value of this function is true and false, which is used to determine whether the score calculation is passed). If it passes, the device enters the stable operation stage, otherwise it enters the next stage.

[0090] Process 5-Adjust dynamic operation parameters: By using the self-adjusting function, DPA-Context is used to obtain the running application parameters, running system parameters, current scores, execution strategies and other data as input parameters, and recalculate more appropriate dynamic performance parameters for the next calculation. The new dynamic performance parameters will enter the delay function here, and repeat processes 3 to 5 in a loop until passFun calculates a passable score through the function, and the method is set to the stable operation stage. If there is an environmental anomaly, passFun will never pass. This is a more practical problem for the device. Refer to the practice in exception handling.

[0091] Process 6-Start monitoring during stable operation: After passing passFun, the device enters the stable operation stage, starts the monitoring module, and monitors environmental changes.

[0092] Process 7-Restarting self-adjustment: When the environment change parameters are input into the monitoring function standbyFun, the calculated solution flag needs to readjust the dynamic parameters, then the device re-enters the adjustment operation phase and returns to process 5. This situation also happens frequently, especially due to the application of alternative modification and re-release, the parameters have changed, and re-running can set more appropriate operating parameters.

[0093] Exception handling: passFun cannot calculate a better score: Set the maximum number of attempts in passFun. If passFun cannot be passed within the maximum number of attempts, you can obtain the highest historical score and the DPA-Context running at that time from DPA-Context, use the historical better value to pass paasFun and enter the stable operation stage.

[0094] With reference to the first schematic diagram of the industrial application example shown in FIG. 3( a ) and the second schematic diagram of the industrial application example shown in FIG. 3( b ), the application of the method will be described below with reference to a specific embodiment.

[0095] In an embodiment of the present invention, an industrial configuration application scenario obtains an operation parameter generation result by applying the device of the operation parameter generation method. The operation parameter generation result is used to set the maximum rendering element and the minimum delay parameter, so that industrial applications can improve performance and reduce delay. Figure 3 (a) and Figure 3 (b) can be combined into the same picture and displayed on the page. Each box in Figure 3 (a) or Figure 3 (b) represents a garage, and the number in the garage represents the unique identification information of the completed car. For the application, the page has more than 500 dynamic data points, and most of the data sources behind it are based on PLC.

[0096] (Programmable Logic Controller), 200ms delay, partly based on HTTP (Hypertext Transfer Protocol), 2000ms delay. This application will be displayed on different devices, including HMI with weak performance and PC with good performance. The server will also sort out and select machines with different performance according to the number of points actually collected in the factory.

[0097] To ensure that data latency is as low as possible, if the operating parameters are set to 200ms push and 200ms refresh rate before the system is running, the high-frequency screen updates will slow down the system calculation and cause frame drops, resulting in the actual display time of more than 1000ms.

[0098] Then, compared with the device that applies the operating parameter generation method, by dynamically calculating more dynamic parameters during runtime, more accurate operating parameters can be obtained in different operating environments, ensuring the best performance in different environments.

[0099] This solution can not only be used in industrial configuration communication and application rendering and data push, but also in industrial high-frequency data push and rendering scene reuse, optimize rendering performance, data low latency and reduce communication delay, but also can be used in any scenario where application client and data communication balance optimization is needed. This solution can not only solve the problem of client and data communication balance optimization, but also can be used in any scenario where it is impossible to set a more initial value and it is necessary to dynamically calculate more operating parameters at runtime.

[0100] Based on the above-mentioned operation parameter generation method provided by the embodiment of the present invention, the embodiment of the present invention also provides an operation parameter generation device, including: an initialization module, which is used to obtain scene parameters, pass function parameters, evaluation function parameters and self-adjustment function parameters, determine initial operation parameters according to the scene parameters, and send the initial operation parameters to the server and the client, so that the server and the client control the screen rendering according to the initial operation parameters; wherein the scene parameters are used to describe the usage scenario of the operation parameters; an evaluation module, which is used to obtain the execution data of the screen rendering based on the evaluation function parameters and generate an evaluation result of the execution data; wherein the evaluation function parameters are used to evaluate rendering performance and data real-time performance; a pass module, which is used to use the initial operation parameters as the operation parameter generation result if the evaluation result meets the pass condition determined based on the pass function parameters; and a self-adjustment module, which is used to adjust the initial operation parameters based on the self-adjustment function parameters if the evaluation result does not meet the pass condition, until the target evaluation result corresponding to the target operation parameter meets the pass condition, and the target operation parameter is used as the operation parameter generation result.

[0101] The embodiment of the present invention can obtain the operation requirements of the system using the operation parameters in real time by obtaining the scene parameters used to describe the use scene of the operation parameters. After that, the initial operation parameters determined based on the scene parameters are sent to the server and the client, so that the server and the client control the screen rendering according to the initial operation parameters, and then based on the evaluation function parameters set by the user, the execution data of the rendering operation is obtained in real time, and the evaluation results of the execution data are generated, so as to realize the evaluation of the rendering performance and the real-time performance of the data. When the evaluation results meet the passing conditions determined by the user through the function parameters, the initial operation parameters are used as the operation parameter generation results, otherwise, based on the self-adjusting function set by the user, the initial operation parameters are optimized, and the evaluation results are generated for the optimized operation parameters again, until the target evaluation results corresponding to the target operation parameters meet the passing conditions, and the target operation parameters are used as the operation parameter generation results. The embodiment of the present invention first sends the initial operation parameters to the server and the client for use. When the server and the client render based on the initial operation parameters, the evaluation results of the execution data of the rendering are generated in real time, so as to realize the real-time optimization of the operation parameters, so that the obtained operation parameter generation results take into account the rendering performance and the real-time performance of the data at runtime.

[0102] In one possible implementation, the scenario parameters include: operation strategy parameters, operation application parameters and operation environment parameters; the initialization module is specifically used to: if the difference between the historical operation application parameters corresponding to the historical operation parameters and the operation application parameters is less than a preset application difference threshold, and the difference between the historical operation environment parameters corresponding to the historical operation parameters and the operation environment parameters is less than a preset environment difference threshold, then use the historical operation parameters as the candidate operation parameters; determine the weight ratio of each sub-parameter in the operation parameters according to the operation strategy parameters, and determine the initial operation parameters from the candidate operation parameters according to the weight ratio.

[0103] In a possible implementation, the evaluation module is specifically used to: determine the evaluation content, the evaluation score corresponding to the evaluation content, and the execution data corresponding to the evaluation content according to the evaluation function parameters; if the execution data satisfies the evaluation content, the evaluation score is used as the evaluation result.

[0104] In a possible implementation, the evaluation content includes one or more of the following data: rendering speed data, rendering time data, rendering stability data, and rendering quality data.

[0105] In a possible implementation, it also includes an exception handling module, which is used to: count the number of times the initial operating parameters are adjusted, and if the number is greater than a preset cycle number threshold, determine the operating parameter generation result in the historical operating parameter generation results; wherein the evaluation score of the operating parameter generation result is higher than the historical operating parameter generation results in the historical operating parameter generation results except the operating parameter generation result.

[0106] In a possible implementation, the self-adjustment module is used to: determine the sub-parameter to be adjusted in the initial operating parameter, as well as the adjustment direction and adjustment amplitude of the sub-parameter based on the self-adjustment function parameter; and adjust the sub-parameter according to the adjustment direction and the adjustment amplitude.

[0107] In a possible implementation, it also includes a delay module, which is used to: obtain delay function parameters, determine the interval duration or the start time according to the delay function parameters, obtain the execution data of the rendering operation according to the interval duration or the start time and based on the evaluation function parameters, and generate an evaluation result of the execution data.

[0108] In a possible implementation, it also includes a monitoring module, which is used to: when it monitors that the operating environment where the operating parameter generation result is located has changed, adjust the operating parameter generation result based on the self-adjusting function parameters until the updated evaluation result corresponding to the updated operating parameter meets the passing condition, and use the updated operating parameter as the updated operating parameter generation result.

[0109] In a possible implementation manner, a global module is further included, which is used to save the scene parameter, the operating parameter, and the operating value calculated when generating the operating parameter as a context parameter.

[0110] An embodiment of the present invention also provides an industrial control system, comprising: a server, a client and the above-mentioned operating parameter generating device; the operating parameter generating device is used to send the operating parameter generation result to the server and the client respectively; the server is used to receive the operating parameter generation result, and send push data to the client according to the operating parameter generation result; the client is used to receive the push data and the operating parameter generation result, and generate a display screen using the push data according to the operating parameter generation result.

[0111] In an embodiment of the present invention, by obtaining a scenario parameter for describing a usage scenario of an operation parameter, the operation requirements of a system using the operation parameter can be obtained in real time. After that, the initial operation parameter determined based on the scenario parameter is sent to the server and the client, so that the server and the client control the rendering of the screen according to the initial operation parameter, and then based on the evaluation function parameter set by the user, the execution data of the rendering operation is obtained in real time, and the evaluation result of the execution data is generated, thereby realizing the evaluation of the rendering performance and the real-time performance of the data. When the evaluation result meets the passing condition determined by the user through the function parameter, the initial operation parameter is used as the operation parameter generation result, otherwise, based on the self-adjusting function set by the user, the initial operation parameter is optimized, and the evaluation result is generated again for the optimized operation parameter, until the target evaluation result corresponding to the target operation parameter meets the passing condition, and the target operation parameter is used as the operation parameter generation result. In an embodiment of the present invention, the initial operation parameter is first sent to the server and the client for use. When the server and the client render based on the initial operation parameter, the evaluation result of the rendered execution data is generated in real time, so that the obtained operation parameter generation result takes into account the rendering performance and the real-time performance of the data at runtime.

[0112] An embodiment of the present invention further provides an electronic device, comprising: at least one processor; and a memory in communication with the at least one processor. The memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the electronic device executes the method of the embodiment of the present invention.

[0113] An embodiment of the present invention further provides a non-transitory machine-readable medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to execute the method of the embodiment of the present invention.

[0114] An embodiment of the present invention further provides a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is used to enable the computer to execute the method of the embodiment of the present invention.

[0115] refer to Figure 4, a block diagram of an electronic device that can be used as a server or client of an embodiment of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0116] like Figure 4 As shown, the electronic device includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In RAM 403, various programs and data required for the operation of the electronic device can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0117] Multiple components in the electronic device are connected to the I / O interface 405, including: an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 can be any type of device that can input information to the electronic device, and the input unit 406 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 407 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 408 can include but is not limited to a disk, an optical disk. The communication unit 409 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0118] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present invention may be implemented as a computer program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 402 and / or communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the above-described method in any other appropriate manner (e.g., by means of firmware).

[0119] The computer programs for implementing the methods of the embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0120] In the context of an embodiment of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable signal medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0121] It should be noted that the term "including" and its variations used in the embodiments of the present invention are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present invention are illustrative rather than restrictive. Those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".

[0122] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0123] The various steps described in the method implementation methods provided in the embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method implementation methods may include additional steps and / or omit the steps shown. The scope of protection of the present invention is not limited in this respect.

[0124] The term "embodiment" in this specification refers to specific features, structures or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments refer to each other. In particular, for the device, equipment, and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment.

[0125] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the attached claims.

Claims

1. A method for generating operating parameters, comprising: Obtaining scene parameters, passing function parameters, evaluation function parameters and self-adjustment function parameters, determining initial operation parameters according to the scene parameters, and sending the initial operation parameters to the server and the client, so that the server and the client control screen rendering according to the initial operation parameters; wherein the scene parameters are used to describe the usage scenarios of the operation parameters; Based on the evaluation function parameters, the execution data of the screen rendering is obtained, and an evaluation result of the execution data is generated; wherein the evaluation function parameters are used to evaluate the rendering performance and the real-time performance of the data; If the evaluation result satisfies the pass condition determined based on the pass function parameter, the initial operation parameter is used as the operation parameter to generate the result; If the evaluation result does not meet the passing condition, the initial operating parameters are adjusted based on the self-adjusting function parameters until the target evaluation result corresponding to the obtained target operating parameters meets the passing condition, and the target operating parameters are used as the operating parameter generation result.

2. The method according to claim 1, wherein: The scenario parameters include: operation strategy parameters, operation application parameters and operation environment parameters; determining the initial operation parameters according to the scenario parameters includes: If the difference between the historical operating application parameter corresponding to the historical operating parameter and the operating application parameter is less than the preset application difference threshold, and the difference between the historical operating environment parameter corresponding to the historical operating parameter and the operating environment parameter is less than the preset environment difference threshold, the historical operating parameter is used as the operating parameter to be selected; The weight ratio of each sub-parameter in the operating parameter is determined according to the operating strategy parameter, and the initial operating parameter is determined from the candidate operating parameters according to the weight ratio.

3. The method according to claim 1, wherein: Based on the evaluation function parameters, acquiring the execution data of the rendering operation and generating an evaluation result of the execution data, including: Determine evaluation content, evaluation points corresponding to the evaluation content, and execution data corresponding to the evaluation content according to the evaluation function parameters; If the execution data satisfies the evaluation content, the evaluation score is used as the evaluation result.

4. The method according to claim 3, wherein: The evaluation content includes one or more of the following data: rendering speed data, rendering time data, rendering stability data and rendering quality data.

5. The method according to claim 3, wherein: Also includes: The number of times the initial operating parameters are adjusted is counted, and if the number is greater than a preset cycle number threshold, the operating parameter generation result is determined in the historical operating parameter generation results; wherein the evaluation score of the operating parameter generation result is higher than the historical operating parameter generation results in the historical operating parameter generation results except the operating parameter generation result.

6. The method according to claim 1, wherein: Adjusting the initial operating parameters based on the self-adjusting function parameters includes: Determining the sub-parameters to be adjusted in the initial operating parameters, and the adjustment direction and adjustment range of the sub-parameters based on the self-adjusting function parameters; The sub-parameter is adjusted according to the adjustment direction and the adjustment amplitude.

7. The method according to claim 1, wherein: Before obtaining the execution data of the rendering operation based on the evaluation function parameter and generating the evaluation result of the execution data, the method further includes: Obtain delay function parameters, determine the interval duration or the start time according to the delay function parameters, obtain execution data of the rendering operation according to the interval duration or the start time and based on the evaluation function parameters, and generate an evaluation result of the execution data.

8. The method according to claim 1, wherein: Also includes: When it is monitored that the operating environment where the operating parameter generation result is located changes, the operating parameter generation result is adjusted based on the self-adjusting function parameters until the updated evaluation result corresponding to the updated operating parameter meets the passing condition, and the updated operating parameter is used as the updated operating parameter generation result.

9. The method according to any one of claims 1 to 8, wherein: Also includes: The scene parameter, the operation parameter, and the operation value calculated when the operation parameter is generated are saved as context parameters.

10. An operating parameter generating device, comprising: An initialization module is used to obtain scene parameters, determine initial operation parameters according to the scene parameters through function parameters, evaluation function parameters and self-adjustment function parameters, and send the initial operation parameters to the server and the client so that the server and the client control the screen rendering according to the initial operation parameters; wherein the scene parameters are used to describe the usage scenarios of the operation parameters; An evaluation module, used to obtain the execution data of the screen rendering based on the evaluation function parameters, and generate an evaluation result of the execution data; wherein the evaluation function parameters are used to evaluate rendering performance and data real-time performance; A passing module, configured to use the initial operating parameters as operating parameter generation results if the evaluation result satisfies a passing condition determined based on the passing function parameters; A self-adjusting module is used to adjust the initial operating parameters based on the self-adjusting function parameters if the evaluation result does not meet the passing condition, until the target evaluation result corresponding to the target operating parameter meets the passing condition, and use the target operating parameter as the operating parameter generation result.

11. An industrial control system comprising: A server, a client, and an operating parameter generating device as claimed in claim 10; The operating parameter generating device is used to send the operating parameter generating result to the server and the client respectively; The server is used to receive the operation parameter generation result and send push data to the client according to the operation parameter generation result; The client is used to receive the push data and the operation parameter generation result, and generate a display screen using the push data according to the operation parameter generation result.

12. An electronic device comprising: A processor, and a memory storing a program, wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 9.

13. A non-transitory machine-readable medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-9.

14. A computer program product, wherein: The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.