CN113609780B - Control method and device for clock running strategy based on event network and electronic equipment - Google Patents

Control method and device for clock running strategy based on event network and electronic equipment Download PDF

Info

Publication number
CN113609780B
CN113609780B CN202110939094.9A CN202110939094A CN113609780B CN 113609780 B CN113609780 B CN 113609780B CN 202110939094 A CN202110939094 A CN 202110939094A CN 113609780 B CN113609780 B CN 113609780B
Authority
CN
China
Prior art keywords
event
value
clock
simulation analysis
clock value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110939094.9A
Other languages
Chinese (zh)
Other versions
CN113609780A (en
Inventor
刘震
毛波
安博琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aolin Technology Co ltd
Original Assignee
Aolin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aolin Technology Co ltd filed Critical Aolin Technology Co ltd
Priority to CN202110939094.9A priority Critical patent/CN113609780B/en
Publication of CN113609780A publication Critical patent/CN113609780A/en
Application granted granted Critical
Publication of CN113609780B publication Critical patent/CN113609780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a control method and device of a clock running strategy based on an event network and electronic equipment, wherein the method comprises the following steps: based on the event simulation analysis model, outputting simulation analysis data results of each event node; gradually calculating a target clock value for processing simulation analysis data results of each event node through a preset algorithm; determining a target running speed value corresponding to the target clock value; and controlling the simulation analysis data result of each event node to execute the synchronous operation instruction according to the target operation rate value. And (3) gradually calculating event simulation analysis data results for processing each event node to obtain a target clock value for the event simulation data results analyzed by the event simulation analysis model, and utilizing the target running speed value corresponding to the target clock value to realize high-efficiency control of each event node in the event simulation data results, thereby being beneficial to comprehensively and synchronously controlling the simulation analysis data results of each event node.

Description

Control method and device for clock running strategy based on event network and electronic equipment
Technical Field
The present invention relates to the field of event analysis technologies, and in particular, to a method and an apparatus for controlling a clock running policy based on an event network, and an electronic device.
Background
Simulation analysis is the profiling and evaluation of decision-making simulation processes and results. The event network is a digital simulation analysis platform based on compatible discrete and continuous data. Based on the event network, simulation analysis of various data under similar or related conditions can be achieved, which will produce results related to the set of conditions.
In the related art, the event simulation analysis data result is often controlled directly according to a specific clock running mode only based on an established event network digital simulation analysis platform, and the specific clock running mode is more mechanized in data processing, so that the event simulation analysis data result is difficult to be controlled efficiently.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect that in the prior art, if the event network digital simulation analysis platform is directly used, the event simulation analysis data result is difficult to be controlled rapidly based on a specific mode, so that a control method, a device and electronic equipment based on the clock running strategy of the event network are provided.
According to a first aspect, the present invention provides a method for controlling a clock running strategy based on an event network, comprising the steps of: based on the event simulation analysis model, outputting simulation analysis data results of each event node; gradually calculating a target clock value for processing the simulation analysis data result of each event node through a first preset algorithm; determining a target running speed value corresponding to the target clock value; and controlling the simulation analysis data result of each event node to execute a synchronous operation instruction according to the target operation rate value.
In one embodiment, the step of gradually calculating the target clock value for processing the event simulation analysis data result of each event node through a preset algorithm further includes: determining an event simulation analysis data result of the current node from the simulation analysis data results of the event nodes; determining a first clock value and a second clock value for calculating event simulation analysis data results of the current node respectively; operating the event simulation analysis data result of the current node according to the first clock value and the second clock value respectively, and recording a first operation speed value corresponding to the first clock value, and a second operation speed value corresponding to the second clock value, wherein the second clock value is larger than the first clock value; determining a third clock value for calculating event simulation analysis data results of the current node based on the first and second operation rate values, the third clock value belonging to a range value between the first and second clock values; operating the event simulation analysis data result of the current node according to the third clock value, and recording a third operation speed value corresponding to the first clock value; gradually determining each clock value corresponding to the event simulation analysis data result of each event node according to the first operation speed value corresponding to the first clock value, the second operation speed value corresponding to the second clock value and the third operation speed value corresponding to the third clock value; operating the event simulation analysis data result of the current node according to the clock values, and recording the operation speed values corresponding to the clock values respectively; and determining a target clock value for processing event simulation analysis data results of each event node according to each operation speed value corresponding to each clock value.
In one embodiment, the first clock value, the second clock value, and the third clock value are determined by a dichotomy based on the standard clock value.
In one embodiment, the step of determining the target clock value for processing the event simulation analysis data result of each event node according to each operation speed value corresponding to each clock value respectively further includes determining an optimal clock value in each operation speed value corresponding to each clock value through a stepwise regression algorithm; and determining the optimal clock value as the target clock value.
In one embodiment, the step of controlling the simulation analysis data result of each event node to execute the synchronous operation instruction according to the target operation rate value further includes: controlling an event node with an original operation speed value smaller than the target operation speed value to improve the original operation speed value, and further keeping synchronization with the event node with the original operation speed value equal to the target operation speed value; and controlling the event node with the original operation speed value being larger than the target operation speed value to reduce the original operation speed value, and further keeping synchronization with the event node with the original operation speed value being equal to the target operation speed value.
In one embodiment, the step of outputting the simulation analysis data result of each event node based on the event simulation analysis model further includes: acquiring service data of an event to be analyzed; extracting feature vectors from the service data according to a second preset algorithm; and inputting the feature vector into an event simulation analysis model for training, and outputting the event simulation analysis data result.
According to a second aspect, the present invention provides a control device for a clock running strategy based on an event network, comprising the following modules: the output module is used for outputting simulation analysis data results of each event node based on the event simulation analysis model; the calculation module is used for gradually calculating a target clock value for processing the simulation analysis data result of each event node through a preset algorithm; the determining module is used for determining a target running speed value corresponding to the target clock value; and the control module is used for controlling the simulation analysis data result of each event node to execute a synchronous operation instruction according to the target clock value. .
In one embodiment, the control device of the clock running strategy based on the event network, the computing module further includes: the first determining submodule is used for determining event simulation analysis data results of the current node from simulation analysis data results of all the event nodes; a second determining submodule for respectively determining a first clock value and a second clock value for calculating event simulation analysis data results of the current node; the first recording submodule is used for respectively operating event simulation analysis data results of the current node according to the first clock value and the second clock value, recording a first operation speed value corresponding to the first clock value, and recording a second operation speed value corresponding to the second clock value, wherein the second clock value is larger than the first clock value; a third determining submodule, configured to determine a third clock value used to calculate an event simulation analysis data result of the current node based on the first operation rate value and the second operation rate value, where the third clock value belongs to a range value between the first clock value and the second clock value; the second recording submodule is used for operating the event simulation analysis data result of the current node according to the third clock value and recording a third operating speed value corresponding to the first clock value; a fourth determining submodule, configured to gradually determine each clock value corresponding to an event simulation analysis data result of each event node according to the first operation speed value corresponding to the first clock value, the second operation speed value corresponding to the second clock value, and the third operation speed value corresponding to the third clock value; the third recording sub-module is used for operating the event simulation analysis data result of the current node according to each clock value and recording each operation speed value corresponding to each clock value; and the fifth determining submodule is used for determining a target clock value for processing event simulation analysis data results of each event node according to each running speed value corresponding to each clock value.
According to a third aspect, the present invention provides a storage medium having stored thereon computer instructions which when executed by a processor implement the steps of the method of controlling an event network based clock running strategy as described in the first aspect or any implementation manner of the first aspect.
According to a fourth aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for controlling an event network based clock running strategy as described in the first aspect or any implementation manner of the first aspect when the program is executed.
The technical scheme of the invention has the following advantages:
the invention provides a control method and device of a clock running strategy based on an event network and electronic equipment, wherein the method comprises the following steps: based on the event simulation analysis model, outputting simulation analysis data results of each event node; gradually calculating a target clock value for processing simulation analysis data results of each event node through a preset algorithm; determining a target running speed value corresponding to the target clock value; and controlling the simulation analysis data result of each event node to execute the synchronous operation instruction according to the target operation rate value. And (3) gradually calculating event simulation analysis data results for processing each event node to obtain a target clock value for the event simulation data results analyzed by the event simulation analysis model, and utilizing the target running speed value corresponding to the target clock value to realize high-efficiency control of each event node in the event simulation data results, thereby being beneficial to comprehensively and synchronously controlling the simulation analysis data results of each event node.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a first flowchart of a method for controlling an event network based clock running strategy according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a method for controlling an event network based clock running strategy in an embodiment of the present invention;
FIG. 3 is a third flowchart of a method for controlling a clock running strategy based on an event network according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart of a method for controlling a clock running strategy based on an event network according to an embodiment of the present invention;
FIG. 5 is a block diagram of a control device based on a clock running strategy of an event network according to an embodiment of the present invention;
fig. 6 is a schematic hardware diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, or can be communicated inside the two components, or can be connected wirelessly or in a wired way. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
Simulation analysis is the profiling and evaluation of decision-making simulation processes and results. The basis of the decision simulation is the similarity and correlation between things, i.e. when a similar set of conditions is provided, it is possible to produce a result related to the set of conditions. The purpose of decision simulation is to serve the overall implementation of decisions, so that scientific simulation analysis of decision simulation is performed.
In the related art, petri Net (abbreviated as PN) is generally used, and PN is a mathematical representation of a discrete parallel system, so that the PN can perform analog analysis on various discrete data in the physical world. PN is suitable for describing asynchronous and concurrent computer system models, and the discrete event dynamic system is a dynamic system which is evolved by asynchronous and sudden event-driven states. Because PN only supports a limited number of discrete data, the PN has limitation in practical application, and can not effectively express continuous data information.
Therefore, the event network disclosed by the embodiment of the invention can realize clear expression of continuous and discrete data information, is a digital simulation analysis platform based on compatible discrete and continuous data, is a system platform based on event-driven realization of distributed concurrency, compatible discrete and stream hybrid models, and presents global simulation, diagnosis and optimization in a dragging mode.
In the related art, the event simulation analysis data result is often controlled directly according to a specific clock running mode only based on an established event network digital simulation analysis platform, and the specific clock running mode is more mechanized in data processing, so that the event simulation analysis data result is difficult to be controlled efficiently.
In view of this, the embodiment of the invention discloses a control method of a clock running strategy based on an event network, as shown in fig. 1, comprising the following steps:
step S11: based on the event simulation analysis model, the simulation analysis data result of each event node is output.
The event simulation analysis model is a digital simulation analysis platform for performing simulation analysis on various data information in the physical world.
In one embodiment, the step S11 may specifically include the following steps in the execution process, as shown in fig. 2:
step S111: and acquiring service data of the event to be analyzed.
The service data of the event to be analyzed may include internal and external data related to the event. For example: the internal data may be business system data, which may also include data in information systems such as enterprise resource planning (Enterprise Resource Planning, ERP), customer relationship management (Customer Relationship Management, CRM), and warehouse management systems (Warehouse Management System, WMS), financial management (Financial Management); the external data may be business peripheral data, which may include information of markets, customers, suppliers, etc. The service data can be directly called from an enterprise database or can be tidied and provided by an event responsible person, and the method for acquiring the service data is not limited and can be selected according to the actual situation of the event.
Step S112: and extracting the feature vector from the service data according to a second preset algorithm.
The preset algorithm can extract the feature vector through a random function, a distribution function, an integral and differential algorithm and an algorithm supporting a continuous model and a discrete model.
Step S113: and inputting the feature vector into an event simulation analysis model for training, and outputting event simulation analysis data results.
For example: the event simulation analysis data result can be event duration, event duration range, event evolution rule, event attribution department, event related department and the like, and the analysis results can respectively correspond to different specific evaluation indexes, wherein the specific evaluation indexes can be specific numerical values or trend curves which change with time. The embodiment of the invention does not limit the specific evaluation index, and can be determined according to specific events.
Step S12: gradually calculating a target clock value for processing the simulation analysis data result of each event node through a first preset algorithm.
The target clock value here can be used as a standard time for normal and synchronous operation as a result of the analog analysis data of each event node. The standard time can be utilized to carry out specific analysis on event simulation analysis data results of each event node under a unified clock.
Step S13: and determining a target running speed value corresponding to the target clock value.
And synchronously recording a target running speed value corresponding to the target clock value under the condition that the target clock value is determined. The target running speed value is the speed value of the simulated event network data running of the event simulation analysis model in the simulation process, and the unit is the multiplying power of seconds. For example: the target operating rate is 1008/s.
For example: the target clock value is 105s, and the corresponding target running speed value is 1008/s.
Step S14: and controlling the simulation analysis data result of each event node to execute the synchronous operation instruction according to the target clock value.
According to the same operation rhythm, the event simulation analysis data results of all event nodes can be ensured to be always kept synchronous, and further, the event nodes are ensured to realize data synchronous interaction.
In one implementation manner, in the control method of the clock running strategy based on the event network in the embodiment of the present invention, as shown in fig. 3, step S12 of gradually calculating, by using a first preset algorithm, a target clock value for processing an event simulation analysis data result of each event node further includes:
step S121: and determining the event simulation analysis data result of the current node from the simulation analysis data results of each event node.
For example: the event simulation analysis data results respectively comprise events of iron ore production of steel factories, events of selling fruits by sellers, events of profile of certain universities, events of building site construction and the like. Then the event simulation analysis data result of the current node is determined to be a certain university profile event from the event simulation analysis data results. Of course, the event simulation analysis data result of the current node can also be used for producing iron ore events for steelworks and selling fruit events for sellers.
Step S122: a first clock value and a second clock value are determined, respectively, for calculating event simulation analysis data results for the current node.
Step S123: and respectively operating event simulation analysis data results of the current node according to the first clock value and the second clock value, and recording a first operation speed value corresponding to the first clock value, and a second operation speed value corresponding to the second clock value, wherein the second clock value is larger than the first clock value.
In one embodiment, the first, second and third clock values are determined by a dichotomy.
Specifically, the so-called dichotomy is to determine a function y=f (x) where f (a) ·f (b) <0 continuously over a plurality of particle values, and to divide the interval where the zero point of the function f (x) is located into two continuously, so that the two end points of the interval gradually approach the zero point, and an approximation of the zero point is obtained.
Specifically, in the above steps S132 and S133, the first clock value may be a smaller clock value, which may be determined by a dichotomy, as the clock value of the normal operation performed as a result of the event simulation analysis data of the current node. For example: the first clock value may be 5s, 10s, 13s, 15s; wherein, the first operation speed value corresponding to 5s is 2050/s, the first operation speed value corresponding to 10s is 3065/s, the first operation speed value corresponding to 13s is 3150/s, and the first operation speed value corresponding to 15s is 3235/s. The first operating speed value corresponding to the first clock value of 7s is 2078/s over the interval between 5s and 10s by the dichotomy.
Specifically, in the steps S132 and S133, the second clock value may be a clock value for performing the normal operation for the event simulation analysis data result of the current node, and the second clock value may be a larger clock value, and the larger clock value may also be determined by a dichotomy. For example: the second clock values may be 21s, 30s, 40s, 45s, wherein the second operation speed value corresponding to 21s is 4405/s, the second operation speed value corresponding to 30s is 4415/s, the second operation speed value corresponding to 40s is 4460/s, and the second operation speed value corresponding to 45s is 4480/s. The second operating speed value corresponding to the second clock value of 42s can be determined to be 4470/s over the interval between 40s-45s by the dichotomy.
Step S124: a third clock value is determined for calculating an event simulation analysis data result for the current node based on the first and second operational speed values, the third clock value belonging to a range of values between the first and second clock values.
For example: the first running speed value 2078/s corresponding to the first clock value 7s, the second running speed value 4470/s corresponding to the second clock value 42s, and further comparing the running conditions of the first running speed value and the second running speed value under the corresponding clock values, and determining the third clock value on the interval between 7s and 42s based on the bisection method.
Step S125: and operating the event simulation analysis data result of the current node according to the third clock value, and recording a third operation speed value corresponding to the first clock value.
For example: the third clock value is 25s over a period between 7s and 42s based on the dichotomy, and the third operating speed value corresponding to the third operating speed value 25s is 4410/s.
Step S126: and gradually determining each clock value corresponding to the event simulation analysis data result of each event node according to the first operation speed value corresponding to the first clock value, the second operation speed value corresponding to the second clock value and the third operation speed value corresponding to the third clock value.
Because the event network is composed of a plurality of event nodes, in event simulation analysis data results of each event node, each event simulation analysis data result of each event node corresponds to a clock value, and each clock value corresponds to an operation speed value. Therefore, according to the steps S121-S126, the first operation speed value corresponding to the first clock value, the second operation speed value corresponding to the second clock value, and the third operation speed value corresponding to the third clock value may be determined, so as to gradually determine the event simulation analysis data result of each node in the event network.
Step S127: and operating the event simulation analysis data result of the current node according to each clock value, and recording each operation speed value corresponding to each clock value.
Because of the number of event nodes, the number of clock values corresponding to the event simulation analysis data results of the story component nodes is large. Therefore, each clock value constitutes a discrete clock value, each clock value corresponds to an operating speed value, and each operating speed value also constitutes a discrete operating speed value.
Step S128: and determining a target clock value for processing event simulation analysis data results of each event node according to each running speed value corresponding to each clock value.
Specifically, the event simulation analysis data result may be represented by EN, en= (P, E, T, a, F). P is the set of the platoon (Place), E is the set of events (Event), T is the set of transitions (transitions), A is the set of directed arcs (Arc), and F is the set of occurrence functions.
For example: e is one event node, namely an iron ore event produced by a steel mill, P is the steel mill, wherein the quantity of the iron ore stored in a high-temperature furnace P of the steel mill is a real number, namely a discrete natural number or a continuous decimal number, T is the iron ore produced in the high-temperature furnace of the steel mill, A is a first clock value and a corresponding first operation speed value, a second clock value and a corresponding second operation speed value, a third clock value and a corresponding third operation speed value in the iron ore event produced by the steel mill, and F is high Wen Shenghuo.
In one implementation manner, in the embodiment of the present invention, the step S128 of determining the target clock value for processing the event simulation analysis data result of each event node according to each operation rate value corresponding to each clock value respectively further includes
The first step: and determining the optimal clock value from the operation speed values corresponding to the clock values through a stepwise regression algorithm.
And a second step of: the optimal clock value is determined as the target clock value.
For example: 101s-990/s,102s-998/s,103s-1001/s,105s-1008/s, etc., for example: and determining that the optimal clock value is 105s based on a stepwise regression algorithm in the related technology, wherein the optimal clock value is the target clock value.
In one embodiment, as shown in fig. 4, step S13 of controlling the simulation analysis data result of each event node to execute the synchronous operation instruction according to the target clock value further includes:
step S131, controlling the event nodes with the original operation speed value smaller than the target operation speed value to increase the original operation speed value, and further keeping synchronization with the event nodes with the original operation speed value equal to the target operation speed value.
For example: the target operation speed value is 1008/s, the original operation speed value corresponding to the event node A is 998/s, the original operation speed value corresponding to the event node B is 985/s, the original operation speed value corresponding to the event node C is 1008/s, the original operation speed value corresponding to the event node D is 1020/s, and the original operation speed value corresponding to the event node E is 978/s. Since 998/s < 1008/s,985/s < 1008/s,978/s < 1008/s, the original operating rate values for control event node A, event node B and event node E are equal to the target operating rate value 1008/s, i.e., the original operating rate value of control event node A, B, E increases the operating rate to maintain synchronization with the event node equal to the target operating rate value.
Step S132, controlling the event node with the original operation speed value larger than the target operation speed value to reduce the original operation speed value, and further keeping synchronization with the event node with the original operation speed value equal to the target operation speed value.
In the above example, 1020/s & gt 1008/s, so the original operational rate value 1020/s of the control event node D is equal to the target operational rate value 1008/s, i.e., the original operational rate value of the control event node D decreases the operational rate to stay synchronized with the event node equal to the target operational rate value.
According to the control method of the clock running strategy based on the event network, disclosed by the embodiment of the invention, the event simulation data result of each event node after simulation analysis is carried out on the event simulation analysis model is gradually calculated based on the preset algorithm to obtain the target clock value, and the target running speed value corresponding to the target clock value is determined, so that synchronous control of each event node in the event simulation data result can be realized, and the event simulation data result of each event node can be comprehensively and efficiently analyzed.
Based on the same conception, the embodiment of the invention also discloses a control device of the clock running strategy based on the event network, as shown in fig. 5, comprising the following modules:
the output module 51 is configured to output a simulation analysis data result of each event node based on the event simulation analysis model;
a calculating module 52, configured to gradually calculate, by using a first preset algorithm, a target clock value for processing a result of the analog analysis data of each event node;
a determining module 53, configured to determine a target operation rate value corresponding to the target clock value;
the control module 54 is configured to control the simulation analysis data result of each event node to execute the synchronous operation instruction according to the target operation rate value.
In the control device of the clock running strategy based on the event network according to the embodiment of the present invention, in fig. 5, the calculation module 52 further includes:
a first determining sub-module 521, configured to determine an event simulation analysis data result of the current node from simulation analysis data results of each event node;
a second determining sub-module 522 for determining a first clock value and a second clock value for calculating an event simulation analysis data result of the current node, respectively;
the first recording submodule 523 is configured to operate the event simulation analysis data result of the current node according to a first clock value and a second clock value, and record a first operation speed value corresponding to the first clock value, and a second operation speed value corresponding to the second clock value, where the second clock value is greater than the first clock value;
a third determining submodule 524, configured to determine a third clock value for calculating an event simulation analysis data result of the current node based on the first operation rate value and the second operation rate value, where the third clock value belongs to a range value between the first clock value and the second clock value;
a second recording sub-module 525, configured to operate the event simulation analysis data result of the current node according to the third clock value, and record a third operation rate value corresponding to the first clock value;
a fourth determining sub-module 526, configured to gradually determine each clock value corresponding to the event simulation analysis data result of each event node according to the first operation speed value corresponding to the first clock value, the second operation speed value corresponding to the second clock value, and the third operation speed value corresponding to the third clock value;
the third recording sub-module 527 is configured to operate the event simulation analysis data result of the current node according to each clock value, and record each operation speed value corresponding to each clock value.
A fifth determining sub-module 528 is configured to determine a target clock value for processing the event simulation analysis data result of each event node according to each operation speed value corresponding to each clock value.
According to the control device based on the clock running strategy of the event network, which is disclosed by the embodiment of the invention, the first clock value, the second clock value and the third clock value are determined by a dichotomy.
In the control device of the clock running strategy based on the event network according to the embodiment of the present invention, the fifth determining submodule 528 further includes
The first determining unit is used for determining an optimal clock value in each operation speed value corresponding to each clock value through a stepwise regression algorithm;
and a second determining unit for determining the optimal clock value as the target clock value.
In the control device of the clock running strategy based on the event network according to the embodiment of the present invention, in fig. 5, the control module 54 further includes:
a first control submodule 541, configured to control an event node whose original operation rate value is smaller than the target operation rate value to increase the original operation rate value, and further keep synchronization with an event node whose original operation rate value is equal to the target operation rate value;
the second control sub-module 542 is configured to control the event node with the original operation rate value greater than the target operation rate value to decrease the original operation rate value, and further keep in synchronization with the event node with the original operation rate value equal to the target operation rate value.
In the control device of the clock running strategy based on the event network according to the embodiment of the present invention, in fig. 5, the control module 51 further includes:
the acquiring sub-module 511 is configured to acquire service data of an event to be analyzed.
An obtaining sub-module 512 is configured to extract the feature vector from the service data according to a second preset algorithm.
The output sub-module 513 is configured to input the feature vector into the event simulation analysis model for training, and output an event simulation analysis data result.
Based on the same conception, the embodiment of the present invention also discloses an electronic device, as shown in fig. 6, which may include a processor 61 and a memory 62, wherein the processor 61 and the memory 62 may be connected by a bus or other means, and in fig. 6, the connection is exemplified by the bus.
The processor 61 may be a central processing unit (Central Processing Unit, CPU). Processor 61 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above.
The memory 62 is used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to a control method for a clock running strategy based on an event network in an embodiment of the present invention. The processor 61 executes various functional applications of the processor and data processing, i.e. a control method implementing an event network based clock running strategy in the above method embodiments, by running non-transitory software programs, instructions and modules stored in the memory 62.
Memory 62 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created by the processor 61, etc. In addition, the memory 62 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 62 may optionally include memory located remotely from processor 61, which may be connected to processor 61 via a network. Examples of such networks include, but are not limited to, the power grid, the internet, an intranet, a local area network, a mobile communication network, and combinations thereof. One or more modules are stored in the memory 62 that, when executed by the processor 61, perform the control method of the event network based clock running strategy in the embodiment shown in fig. 1.
The specific details of the electronic device may be understood correspondingly with reference to the corresponding related descriptions and effects in the embodiments shown in fig. 1 to 5, which are not repeated here.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, and the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It is apparent that the above examples are given by way of illustration only and are not limiting of the embodiments. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. While still being apparent from variations or modifications that may be made by those skilled in the art are within the scope of the invention.

Claims (8)

1. The control method of the clock running strategy based on the event network is characterized by comprising the following steps:
based on the event simulation analysis model, outputting simulation analysis data results of each event node;
gradually calculating a target clock value for processing the simulation analysis data result of each event node through a first preset algorithm;
determining a target running speed value corresponding to the target clock value;
controlling the simulation analysis data result of each event node to execute a synchronous operation instruction according to the target operation rate value; the step of gradually calculating the target clock value for processing the event simulation analysis data result of each event node through the first preset algorithm further comprises the following steps:
determining an event simulation analysis data result of the current node from the simulation analysis data results of the event nodes;
determining a first clock value and a second clock value for calculating event simulation analysis data results of the current node respectively;
operating the event simulation analysis data result of the current node according to the first clock value and the second clock value respectively, and recording a first operation speed value corresponding to the first clock value, and a second operation speed value corresponding to the second clock value, wherein the second clock value is larger than the first clock value;
determining a third clock value for calculating event simulation analysis data results of the current node based on the first and second operation rate values, the third clock value belonging to a range value between the first and second clock values;
operating the event simulation analysis data result of the current node according to the third clock value, and recording a third operation speed value corresponding to the first clock value;
gradually determining each clock value corresponding to the event simulation analysis data result of each event node according to a first operation speed value corresponding to the first clock value, a second operation speed value corresponding to the second clock value and a third operation speed value corresponding to the third clock value;
operating the event simulation analysis data result of the current node according to the clock values, and recording the operation speed values corresponding to the clock values respectively;
and determining a target clock value for processing event simulation analysis data results of each event node according to each operation speed value corresponding to each clock value.
2. The method of claim 1, wherein the first clock value, the second clock value, and the third clock value are determined by a dichotomy.
3. The method according to claim 2, wherein the step of determining a target clock value for processing the event simulation analysis data result of each event node according to each operation rate value corresponding to each clock value, further comprises:
determining an optimal clock value in each operation speed value corresponding to each clock value through a stepwise regression algorithm;
and determining the optimal clock value as the target clock value.
4. The method for controlling a clock running strategy based on an event network according to claim 1, wherein the step of controlling the simulation analysis data result of each event node to execute the synchronous running instruction according to the target running rate value further comprises:
controlling an event node with an original operation speed value smaller than the target operation speed value to improve the original operation speed value, and further keeping synchronization with the event node with the original operation speed value equal to the target operation speed value;
and controlling the event node with the original operation speed value being larger than the target operation speed value to reduce the original operation speed value, and further keeping synchronization with the event node with the original operation speed value being equal to the target operation speed value.
5. The method for controlling a clock running strategy based on an event network according to claim 1, wherein the step of outputting the simulation analysis data result of each event node based on the event simulation analysis model further comprises:
acquiring service data of an event to be analyzed;
extracting feature vectors from the service data according to a second preset algorithm;
and inputting the feature vector into an event simulation analysis model for training, and outputting the event simulation analysis data result.
6. The control device of the clock running strategy based on the event network is characterized by comprising the following modules:
the output module is used for outputting simulation analysis data results of each event node based on the event simulation analysis model;
the calculation module is used for gradually calculating a target clock value for processing the simulation analysis data result of each event node through a first preset algorithm;
the determining module is used for determining a target running speed value corresponding to the target clock value;
the control module is used for controlling the simulation analysis data result of each event node to execute a synchronous operation instruction according to the target operation rate value;
the computing module further includes:
the first determining submodule is used for determining event simulation analysis data results of the current node from simulation analysis data results of all the event nodes;
a second determining submodule for respectively determining a first clock value and a second clock value for calculating event simulation analysis data results of the current node;
the first recording submodule is used for respectively operating event simulation analysis data results of the current node according to the first clock value and the second clock value, recording a first operation speed value corresponding to the first clock value, and recording a second operation speed value corresponding to the second clock value, wherein the second clock value is larger than the first clock value;
a third determining submodule, configured to determine a third clock value used to calculate an event simulation analysis data result of the current node based on the first operation rate value and the second operation rate value, where the third clock value belongs to a range value between the first clock value and the second clock value;
the second recording submodule is used for operating the event simulation analysis data result of the current node according to the third clock value and recording a third operating speed value corresponding to the first clock value;
a fourth determining submodule, configured to gradually determine each clock value corresponding to the event simulation analysis data result of each event node according to the first operation speed value corresponding to the first clock value, the second operation speed value corresponding to the second clock value, and the third operation speed value corresponding to the third clock value;
the third recording sub-module is used for operating the event simulation analysis data result of the current node according to each clock value and recording each operation speed value corresponding to each clock value;
and the fifth determining submodule is used for determining a target clock value for processing event simulation analysis data results of each event node according to each running speed value corresponding to each clock value.
7. A storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of controlling an event network based clock running strategy of any of claims 1 to 5.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for controlling an event network based clock running strategy according to any of claims 1 to 5 when said program is executed by said processor.
CN202110939094.9A 2021-08-16 2021-08-16 Control method and device for clock running strategy based on event network and electronic equipment Active CN113609780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110939094.9A CN113609780B (en) 2021-08-16 2021-08-16 Control method and device for clock running strategy based on event network and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110939094.9A CN113609780B (en) 2021-08-16 2021-08-16 Control method and device for clock running strategy based on event network and electronic equipment

Publications (2)

Publication Number Publication Date
CN113609780A CN113609780A (en) 2021-11-05
CN113609780B true CN113609780B (en) 2023-11-14

Family

ID=78308721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110939094.9A Active CN113609780B (en) 2021-08-16 2021-08-16 Control method and device for clock running strategy based on event network and electronic equipment

Country Status (1)

Country Link
CN (1) CN113609780B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276437A (en) * 2008-05-15 2008-10-01 王坚 Enterprise energy consumption process model building and emulation method
CN102662428A (en) * 2012-03-01 2012-09-12 中国科学院计算技术研究所 Clock synchronization method for network simulation environment of discrete event
CN105932666A (en) * 2016-05-18 2016-09-07 中国电力科学研究院 Complex distribution network multi-time-scale digital-analog hybrid simulation system and simulation method therefor
US10209974B1 (en) * 2017-12-04 2019-02-19 Banjo, Inc Automated model management methods
CN111582488A (en) * 2020-04-23 2020-08-25 傲林科技有限公司 Event deduction method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210157312A1 (en) * 2016-05-09 2021-05-27 Strong Force Iot Portfolio 2016, Llc Intelligent vibration digital twin systems and methods for industrial environments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276437A (en) * 2008-05-15 2008-10-01 王坚 Enterprise energy consumption process model building and emulation method
CN102662428A (en) * 2012-03-01 2012-09-12 中国科学院计算技术研究所 Clock synchronization method for network simulation environment of discrete event
CN105932666A (en) * 2016-05-18 2016-09-07 中国电力科学研究院 Complex distribution network multi-time-scale digital-analog hybrid simulation system and simulation method therefor
US10209974B1 (en) * 2017-12-04 2019-02-19 Banjo, Inc Automated model management methods
CN111582488A (en) * 2020-04-23 2020-08-25 傲林科技有限公司 Event deduction method and device

Also Published As

Publication number Publication date
CN113609780A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
Lu The current status and developing trends of industry 4.0: A review
US11694124B2 (en) Artificial intelligence (AI) based predictions and recommendations for equipment
JP2020106470A (en) Learning device, estimation device, learning method, estimation method, learning program, and estimation program
US20180107961A1 (en) Task Support System and Task Support Method
CN112308281A (en) Temperature information prediction method and device
CN105260835A (en) Method for modeling, analyzing, and self-optimizing multi-source business big data
JP2001325582A (en) Learning and predicting device for time-series data
CN113822585A (en) Intelligent smelting factory informatization management system
CN113378418B (en) Model construction method and device based on event network technology and electronic equipment
CN114546365B (en) Flow visualization modeling method, server, computer system and medium
Li et al. Improved LSTM-based prediction method for highly variable workload and resources in clouds
CN103885867A (en) Online evaluation method of performance of analog circuit
CN113609780B (en) Control method and device for clock running strategy based on event network and electronic equipment
US20230267007A1 (en) System and method to simulate demand and optimize control parameters for a technology platform
WO2024082530A1 (en) High-performance virtual simulation method and system driven by digital twin data model
US11762562B2 (en) Performance analysis apparatus and performance analysis method
CN115439015A (en) Local area power grid data management method, device and equipment based on data middleboxes
JPH09101947A (en) Time series forcasting method
CN114065460A (en) Model processing method, storage medium and electronic device in thermal power generation system
Wang et al. IoT Real-Time Production Monitoring and Automated Process Transformation in Smart Manufacturing
Mdima et al. Development of a Practical ERP Pre–Implementation Assessment Model for Organisations in Tanzania.
CN111786824A (en) Data center energy efficiency ratio optimization method, system, equipment and readable storage medium
JP4419814B2 (en) Service quality evaluation support equipment
Otto et al. Methodology for Product Development in R&D Companies
CN117335416B (en) Method, device, equipment and storage medium for optimizing power load

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant