CN110765667B - Simulation method and system of laser printer - Google Patents

Simulation method and system of laser printer Download PDF

Info

Publication number
CN110765667B
CN110765667B CN201911194094.XA CN201911194094A CN110765667B CN 110765667 B CN110765667 B CN 110765667B CN 201911194094 A CN201911194094 A CN 201911194094A CN 110765667 B CN110765667 B CN 110765667B
Authority
CN
China
Prior art keywords
simulation
result
condition
post
control
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
CN201911194094.XA
Other languages
Chinese (zh)
Other versions
CN110765667A (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.)
Shenzhen Castle Security Tech Co ltd
Original Assignee
Shenzhen Castle Security Tech 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 Shenzhen Castle Security Tech Co ltd filed Critical Shenzhen Castle Security Tech Co ltd
Priority to CN201911194094.XA priority Critical patent/CN110765667B/en
Publication of CN110765667A publication Critical patent/CN110765667A/en
Application granted granted Critical
Publication of CN110765667B publication Critical patent/CN110765667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides a simulation method and system of a laser printer, first simulation control information of simulation processes of all simulation tasks is considered, data processing is carried out in advance to obtain a simulation control result, then a simulation preposed result of the simulation processes is predicted, a server carries out big data analysis on the simulation preposed results of all access tasks to obtain simulation postpositioned results, and second simulation control information is obtained after combination of the simulation preposed results and the simulation preposed results, so that the laser printer can carry out simulation operation according to the first simulation control information and the second simulation control information of the simulation processes corresponding to all the simulation tasks, on one hand, manual experience is not needed, time cost and labor cost can be greatly reduced, and simulation efficiency and accuracy of the simulation processes are improved. In addition, the situation that the actual simulation effect is possibly not matched with the effect of the initial simulation process due to the fact that the subsequent simulation process is variable is avoided.

Description

Simulation method and system of laser printer
Technical Field
The application relates to the technical field of printers, in particular to a simulation method and system of a laser printer.
Background
In the prior art, in the process of simulating a laser printer, the final simulation result is fed back according to specific user experience. The concrete expression is as follows: and aiming at each simulation request, feeding back a final simulation result by carrying out partial simulation monitoring on partial simulation tasks. However, the method depends on manual experience, and the simulation efficiency is low due to extremely high time cost and labor cost when the simulation task is performed for a long simulation process, and the accuracy of the simulation process is reduced due to the fact that a plurality of simulation results are difficult to measure. In addition, in the prior art, the result is fed back after the simulation is finished, and usually, no prediction operation exists before the simulation, but the simulation process is variable actually, and the actual simulation effect may not match with the initial simulation process effect, so that the final simulation result is difficult to accurately reflect the real printer operation result.
Disclosure of Invention
In order to overcome at least the above-mentioned disadvantages of the prior art, it is an object of the present application to provide a simulation method and system for a laser printer, which, in consideration of first simulation control information of simulation processes of all simulation tasks, and predicting the simulation pre-result of the simulation process after performing data processing in advance to obtain a simulation control result, performing big data analysis on the simulation pre-result of all access tasks by the server to obtain a simulation post-result, and then respectively combining the first simulation control information and the second simulation control information to obtain second simulation control information, so that the laser printer can perform simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task without depending on manual experience on one hand, the time cost and the labor cost can be greatly reduced, and the simulation efficiency and the accuracy of the simulation process are improved. In addition, the situation that the actual simulation effect is possibly not matched with the effect of the initial simulation process due to the fact that the subsequent simulation process is variable is avoided.
In a first aspect, the present application provides a simulation method for a laser printer, which is applied to a simulation system for a laser printer, where the simulation system for a laser printer includes a laser printer and a server in communication connection with the laser printer, and the method includes:
the laser printer obtains first simulation control information of a simulation process corresponding to each simulation task according to simulation process conditions of each simulation task corresponding to a simulation request generated by operation and a simulation process control code line corresponding to each simulation task;
performing data processing according to first simulation control information of a simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server after obtaining the simulation pre-result of the simulation request according to the simulation control result, wherein the simulation pre-result is a simulation prediction result before the simulation process starts;
the server obtains a simulation post result corresponding to the simulation request according to the simulation pre result, and obtains second simulation control information of a simulation process corresponding to each simulation task of the simulation request according to the simulation pre result and the simulation post result and then sends the second simulation control information to the laser printer, wherein the simulation post result is a simulation prediction result when the simulation process is finished;
and the laser printer carries out simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
In a possible design of the first aspect, the step of obtaining, by the laser printer, first simulation control information of the simulation process corresponding to each simulation task according to the simulation process condition of each simulation task corresponding to the simulation request generated by the operation and the simulation process control code line corresponding to each simulation task includes:
for each access task, acquiring a condition sequence set according to the simulation process condition of the simulation task, wherein the condition sequence set comprises a plurality of condition sequences with the simulation times larger than the set times and a condition sequence identifier corresponding to each condition sequence;
acquiring a control code line corresponding to the condition sequence set from a simulation process control code line corresponding to each simulation task, wherein the control code line comprises a control code corresponding to each condition sequence and a control code corresponding to each condition sequence identifier, the control code corresponding to each condition sequence comprises the condition sequence, and the control code corresponding to each condition sequence identifier comprises the condition sequence identifier;
acquiring a condition sequence in each control code in the control code line;
acquiring a condition sequence simulation function position corresponding to a condition sequence in each control code, generating a condition sequence simulation code set according to the control code line, the condition sequence in each control code in the control code line and the condition sequence simulation function position corresponding to the condition sequence in each control code, and taking the condition sequence simulation code set as first simulation control information of a simulation process corresponding to the simulation task.
In a possible design of the first aspect, the step of performing data processing according to the first simulation control information of the simulation process corresponding to the simulation task to obtain a simulation control result includes:
acquiring simulation condition data and simulation control data corresponding to the simulation task according to first simulation control information of a simulation process corresponding to the simulation task, wherein the simulation condition data are divided into a plurality of groups according to simulation condition grades;
acquiring first analog control information of each group of the simulation condition grade corresponding to the simulation control data according to the simulation condition data and the simulation control data corresponding to the simulation task;
acquiring the processing priority of the simulation control data and second simulation control information of the simulation condition grade according to the simulation condition grade;
determining the simulation duration of the simulation control data and third simulation control information of the processing priority of the simulation control data according to the processing priority of the simulation control data;
according to the second analog control information and the third analog control information, determining the simulation duration of the simulation control data and fourth analog control information of the simulation condition level;
and carrying out corresponding synchronous simulation on the simulation condition data and the simulation control data according to the first simulation control information and the fourth simulation control information to obtain a simulation control result.
In a possible design of the first aspect, the step of sending the pre-simulation result to the server after obtaining the pre-simulation result of the simulation request according to the simulation control result includes:
processing the simulation control operation state data of each change point in the simulation control result to obtain simulation prepositive data;
calculating first simulation container data of the simulation preposed data in a preset simulation model according to the simulation control model corresponding to each change point;
when the first simulation container data is simulation container data of the simulation prepositive data under a preset condition, calculating second simulation container data corresponding to the preset condition by the first simulation container data;
acquiring a simulation data set of the simulation prepositive data according to the correlation degree of the first simulation container data and the second simulation container data;
acquiring a candidate simulation data set corresponding to the simulation control result from the simulation data set according to a target control parameter in the simulation control result;
according to the target control parameter, obtaining the confidence coefficient of the target control parameter belonging to each simulation data to be selected in the candidate simulation data set;
determining the simulation data to be selected corresponding to the maximum value in the confidence coefficients as a simulation control dynamic library corresponding to the simulation control result;
acquiring a simulation node mark set of the simulation control dynamic library which dynamically changes in a preset simulation node range section and a change point mark set corresponding to the simulation node mark set;
marking each simulation node in the simulation node mark set as a simulation fixed node or a simulation variable node;
acquiring a first simulation change node and a previous simulation fixed node of the first simulation change node which are executed each time, taking an overlapping point of the first simulation change node and the previous simulation fixed node as a simulation condition node which is executed this time, and taking a middle point of a change point corresponding to the first simulation change node and a change point corresponding to the previous simulation fixed node as a change point corresponding to the simulation condition node;
acquiring a last simulation change node and a next simulation fixed node of the last simulation change node which are executed each time, taking an overlapping point of the last simulation change node and the next simulation fixed node as a simulation decision node which is executed this time, and taking a middle point of a change point corresponding to the last simulation change node and a change point corresponding to the next simulation fixed node as a change point corresponding to the simulation decision node;
establishing a pre-simulation interval by taking each simulation condition node and each simulation decision node as a simulation reference, acquiring a simulation strategy matched with each pre-simulation interval, and detecting simulation strategy data matched with each pre-simulation interval;
if the simulation strategy data matched with the preposed simulation interval comprises a simulation strategy, taking the simulation result from the simulation condition node or the simulation decision node to the matched simulation strategy as a simulation preposed result;
if the simulation strategy data matched with the preposed simulation interval comprises a plurality of simulation strategies, taking simulation results from the simulation condition node or the simulation decision node to the plurality of simulation strategies as simulation preposed results;
if the simulation strategy data matched with the preposed simulation interval does not comprise a simulation strategy, acquiring a matching simulation strategy list of the known laser printer matched with the preposed simulation interval and a simulation result of the known laser printer in each matching simulation strategy;
traversing each matching simulation strategy in the matching simulation strategy list, searching a candidate simulation result containing track points with deviation of the simulation result of the matching simulation strategy within a preset deviation range in a matching simulation strategy database, and forming a candidate simulation result list of each matching simulation strategy;
counting the matching number of each candidate simulation result in the candidate simulation result list, taking the candidate simulation result with the largest matching number as a target candidate simulation result, and taking the target candidate simulation result as a simulation preposed result;
and sending the simulation preposed result to the server.
In a possible design of the first aspect, the step of obtaining a simulation post result corresponding to the simulation request according to the simulation pre result, and obtaining second simulation control information of the simulation process corresponding to each simulation task of the simulation request according to the simulation pre result and the simulation post result includes:
acquiring target simulation post sequences of a plurality of simulation conditions from a simulation post database according to the simulation pre-result, wherein the target simulation post sequences of the plurality of simulation conditions are obtained by simultaneously simulating according to the same simulation strategy, and the target simulation post sequences of each simulation condition comprise target simulation post data to be simulated of each simulation condition;
respectively making and extracting the target simulation post sequence of each simulation condition to obtain the target making simulation post sequence of each simulation condition;
respectively determining a reference production simulation post sequence matched with the target production simulation post sequence of each simulation condition from a plurality of pre-stored reference production simulation post sequences as the target reference production simulation post sequence of each simulation condition;
based on the pre-stored attitude information corresponding to each simulation post in each reference production simulation post sequence, respectively determining simulation post production information corresponding to the reference production simulation post corresponding to the target simulation post from the target reference production simulation post sequence of each simulation condition as the simulation post information of each simulation condition;
acquiring each first simulation post result of a simulation post result set through the simulation post information of each simulation condition, wherein the simulation post result set is composed of a simulation post head end simulation node and a simulation post tail end simulation node in the simulation post information of each simulation condition;
aiming at each condition simulation post result in the first simulation post result, determining a plurality of condition quantities and/or a plurality of decision quantities of a simulation change node according to simulation post information of a plurality of pairs of condition nodes and/or simulation post information of a plurality of pairs of decision nodes preset in the condition simulation post result and simulation post information of the simulation change node;
determining a condition simulation process corresponding to the condition simulation post result according to a plurality of condition quantities and/or a plurality of weighted quantities of decision quantities of the simulation change node;
selecting a condition simulation post result of the corresponding condition simulation process in the first simulation post result within a preset process range as a target condition simulation post result, and acquiring a post simulation attribute of each target condition simulation post result in the first simulation post result according to each target condition simulation post result in the first simulation post result;
obtaining a simulation post result corresponding to the simulation request according to the post simulation attribute of each target condition simulation post result in the first simulation post result;
identifying at least one simulation control process strategy in the simulation post-result;
if the occupancy rate of the simulation control process strategy identified in the simulation post result meets the preset occupancy rate condition, acquiring at least two pieces of simulation pre-positioned control information matched with the simulation post result from the simulation pre-positioned result;
and determining simulation control state information of the simulation control process strategy according to the simulation control process strategy identified by the at least two pieces of simulation prepositive control information so as to obtain second simulation control information of the simulation process corresponding to each simulation task of the simulation request.
In a possible design of the first aspect, the step of performing, by the laser printer, a simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task includes:
acquiring a simulation control strategy of a simulation process corresponding to each simulation task and a simulation condition of each simulation control strategy according to the first simulation control information and the second simulation control information;
acquiring the number of simulation nodes required by the multiple simulation of the simulation process according to the simulation control strategies and the simulation conditions of each simulation control strategy;
splitting the simulation process into a main simulation process and at least one distributed simulation process according to the number of simulation nodes required by the multiple simulation of the simulation process, respectively executing the main simulation process and the distributed simulation process, combining simulation results obtained after the main simulation process and the distributed simulation process are respectively executed, and generating a simulation operation result.
In a possible design of the first aspect, the simulation system of the laser printer further includes a simulation service terminal communicatively connected to the server, and the method further includes:
the server sends the simulation operation result fed back by the laser printer to the simulation service terminal;
and the simulation service terminal generates a corresponding simulation report according to the simulation operation result and displays the simulation report to a user.
In a possible design of the first aspect, the step of generating, by the simulation service terminal, a corresponding simulation report according to the simulation operation result includes:
determining an item matching parameter for generating a simulation report from the simulation operation result according to a known report item;
determining the conversion strategy of the known report item and the conversion typesetting amount of conversion format sequence points in a conversion format sequence established in advance according to the item matching parameters;
determining the conversion area amount of the conversion format sequence points according to the conversion strategy of the known report item;
determining the conversion format sequence generation amount of the conversion format sequence points according to the conversion typesetting amount and the conversion area amount, and establishing a conversion model according to the conversion format sequence generation amount;
determining the conversion format sequence generation amount of a target conversion format sequence point corresponding to the item to be converted from the conversion model;
determining the generation amount of the item to be converted according to the conversion format sequence generation amount of the target conversion format sequence point;
and determining the simulation operation result according to the generated quantity of the item to be converted to generate a corresponding simulation report.
In a second aspect, an embodiment of the present application provides a method for simulating a laser printer, which is applied to a laser printer, where the laser printer is in communication connection with a server, and the method includes:
obtaining first simulation control information of a simulation process corresponding to each simulation task according to simulation process conditions of each simulation task corresponding to a simulation request generated by operation and a simulation process control code line corresponding to each simulation task;
performing data processing according to first simulation control information of a simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server after obtaining the simulation pre-result of the simulation request according to the simulation control result, wherein the simulation pre-result is a simulation prediction result before the simulation process starts;
receiving a simulation post result corresponding to the simulation request obtained by the server according to the simulation pre result, and obtaining second simulation control information of the simulation process corresponding to each simulation task of the simulation request according to the simulation pre result and the simulation post result, wherein the simulation post result is a simulation prediction result when the simulation process is finished;
and carrying out simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
In a third aspect, an embodiment of the present application provides a simulation apparatus for a laser printer, which is applied to a laser printer, where the laser printer is in communication connection with a server, and the apparatus includes:
the simulation system comprises a first determining module, a second determining module and a control module, wherein the first determining module is used for obtaining first simulation control information of a simulation process corresponding to each simulation task according to a simulation process condition of each simulation task corresponding to a simulation request generated by operation and a simulation process control code line corresponding to each simulation task;
the second determining module is used for performing data processing according to the first simulation control information of the simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server after obtaining the simulation pre-result of the simulation request according to the simulation control result, wherein the simulation pre-result is a simulation prediction result before the simulation process starts;
the receiving module is used for receiving a simulation post result corresponding to the simulation request obtained by the server according to the simulation pre result and second simulation control information of the simulation process corresponding to each simulation task of the simulation request obtained according to the simulation pre result and the simulation post result, wherein the simulation post result is a simulation prediction result when the simulation process is finished;
and the simulation operation module is used for carrying out simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
In a fourth aspect, an embodiment of the present application provides a simulation system for a laser printer, where the simulation system for a laser printer includes a laser printer and a server in communication connection with the laser printer;
the laser printer is used for obtaining first simulation control information of the simulation process corresponding to each simulation task according to the simulation process condition of each simulation task corresponding to the simulation request generated by operation and the simulation process control code line corresponding to each simulation task;
the laser printer is used for carrying out data processing according to first simulation control information of a simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server after obtaining the simulation pre-result of the simulation request according to the simulation control result, wherein the simulation pre-result is a simulation prediction result before the simulation process starts;
the server is used for obtaining a simulation post result corresponding to the simulation request according to the simulation pre result, obtaining second simulation control information of a simulation process corresponding to each simulation task of the simulation request according to the simulation pre result and the simulation post result, and sending the second simulation control information to the laser printer, wherein the simulation post result is a simulation prediction result when the simulation process is finished;
and the laser printer is used for carrying out simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
In a fifth aspect, embodiments of the present application provide a laser printer, which includes a processor, a memory, and a network interface. The memory and the network interface processor can be connected through a bus system. The network interface is used for receiving messages, the memory is used for storing programs, instructions or codes, and the processor is used for executing the programs, the instructions or the codes in the memory so as to complete the operation executed by the method.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein instructions that, when detected on a computer, cause the computer to perform the above-mentioned method.
Based on any one of the aspects, the method considers the first simulation control information of the simulation processes of all the simulation tasks, predicts the simulation preposed result of the simulation process after performing data processing in advance to obtain the simulation control result, performs big data analysis on the simulation preposed results of all the access tasks by the server with stronger operation capability to obtain the simulation postpositional result, and obtains the second simulation control information after combining the simulation preposed results and the simulation preposed results respectively, so that the laser printer can perform simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task, on one hand, the method does not need to rely on artificial experience, can greatly reduce time cost and labor cost when aiming at the simulation tasks with longer simulation process, improves simulation efficiency, and can effectively measure all the simulation results, the accuracy of the simulation process is improved. In addition, simulation prediction operation is usually carried out before simulation, so that the situation that the actual simulation effect is possibly not matched with the effect of the initial simulation process due to the fact that the subsequent simulation process is variable is avoided, and the final simulation result can accurately reflect the real printer operation result.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic view of an application scenario of a simulation system of a laser printer according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a simulation method of a laser printer according to an embodiment of the present disclosure;
fig. 3 is a second schematic flowchart of a simulation method of a laser printer according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another simulation method for a laser printer according to an embodiment of the present application
Fig. 5 is a functional block diagram of an emulation apparatus of a laser printer according to an emulation method of the laser printer shown in fig. 4 according to an embodiment of the present application;
fig. 6 is a schematic block diagram of a laser printer according to an embodiment of the present application for executing the simulation method of the laser printer.
Detailed Description
The present application will now be described in detail with reference to the drawings, and the specific operations in the method embodiments may also be applied to the apparatus embodiments or the system embodiments. In the description of the present application, "at least one" includes one or more unless otherwise specified. "plurality" means two or more. For example, at least one of A, B and C, comprising: a alone, B alone, a and B in combination, a and C in combination, B and C in combination, and A, B and C in combination. In this application, "/" means "or, for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
Fig. 1 is an interactive schematic diagram of an emulation system 10 of a laser printer according to an embodiment of the present application. For example, the emulation system 10 for a laser printer may be an online commissioning platform for a laser printer, for example. The simulation system 10 of the laser printer may include a laser printer 100, a server 200, and a simulation service terminal 300, and the server 200 may include a processor therein to perform an instruction operation. The simulation system 10 of the laser printer shown in fig. 1 is only one possible example, and in other possible embodiments, the simulation system 10 of the laser printer may include only one of the components shown in fig. 1 or may also include other components.
In some embodiments, the server 200 may be a single server or a group of servers. The set of operating servers may be centralized or distributed (e.g., server 200 may be a distributed system). In some embodiments, server 200 may be local or remote to laser printer 100. For example, the server 200 may access information stored in the laser printer 100, the emulation service terminal 300, and the database, or any combination thereof, via a network. As another example, the server 200 may be directly connected to at least one of the laser printer 100, the emulation service terminal 300, and a database to access information and/or data stored therein. In some embodiments, the server 200 may be implemented on a cloud platform; by way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud (communicuted), a distributed cloud, an inter-cloud, a multi-cloud, and the like, or any combination thereof. In some embodiments, the server 200, the laser printer 100, and the emulation service terminal 300 can be implemented on an electronic device 200 having one or more components shown in fig. 2 in embodiments of the present application.
In some embodiments, the server 200 may include a processor. The processor may process information and/or data related to the service request to perform one or more of the functions described herein. For example, in a shared printing service, the processor may determine a target laser printer based on a print request obtained from the emulation service terminal 300. A processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). Merely by way of example, a Processor may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), an Application Specific Instruction Set Processor (ASIP), a Graphics Processing Unit (GPU), a Physical Processing Unit (PPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), a controller, a microcontroller Unit, a reduced Instruction Set computer (reduced Instruction Set computer), a microprocessor, or the like, or any combination thereof.
The network may be used for the exchange of information and/or data. In some embodiments, one or more components in the laser printer's emulation system 10 (e.g., the server 200, the laser printer 100, the emulation service terminal 300, and the database) can send information and/or data to other components. For example, the server 200 may acquire a print request to the laser printer 100 via a network. In some embodiments, the network may be any type of wired or wireless network, or combination thereof. Merely by way of example, the Network 130 may include a wired Network, a Wireless Network, a fiber optic Network, a telecommunications Network, an intranet, the internet, a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a Public Switched Telephone Network (PSTN), a bluetooth Network, a ZigBee Network, or a Near Field Communication (NFC) Network, among others, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include wired or wireless network access points, such as base stations and/or network switching nodes, through which one or more components of the laser printer's emulation system 10 may connect to the network to exchange data and/or information.
The aforementioned database may store data and/or instructions. In some embodiments, the database may store data obtained from the laser printer 100 and/or the emulation service terminal 300. In some embodiments, the database may store data and/or instructions for the exemplary methods described herein. In some embodiments, the database may include mass storage, removable storage, volatile Read-write Memory, or Read-Only Memory (ROM), among others, or any combination thereof. By way of example, mass storage may include magnetic disks, optical disks, solid state drives, and the like; removable memory may include flash drives, floppy disks, optical disks, memory cards, zip disks, tapes, and the like; volatile read-write Memory may include Random Access Memory (RAM); the RAM may include Dynamic RAM (DRAM), Double data Rate Synchronous Dynamic RAM (DDR SDRAM); static RAM (SRAM), Thyristor-Based Random Access Memory (T-RAM), Zero-capacitor RAM (Zero-RAM), and the like. By way of example, ROMs may include Mask Read-Only memories (MROMs), Programmable ROMs (PROMs), Erasable Programmable ROMs (PERROMs), Electrically Erasable Programmable ROMs (EEPROMs), compact disk ROMs (CD-ROMs), digital versatile disks (ROMs), and the like. In some embodiments, the database may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, across clouds, multiple clouds, or the like, or any combination thereof.
In some embodiments, a database may be connected to a network to communicate with one or more components in the laser printer's emulation system 10 (e.g., server 200, laser printer 100, emulation service terminal 300, etc.). One or more components in the emulation system 10 of the laser printer may access data or instructions stored in a database via a network. In some embodiments, the database may be directly connected to one or more components in the laser printer's emulation system 10 (e.g., server 200, laser printer 100, emulation service terminal 300, etc.); alternatively, in some embodiments, the database may also be part of the server 200.
In order to solve the technical problem in the foregoing background, fig. 2 is a schematic flow chart of a simulation method of a laser printer according to an embodiment of the present application, which can be executed by the simulation system 10 of the laser printer shown in fig. 1, and the simulation method of the laser printer is described in detail below.
In step S110, the laser printer 100 obtains first simulation control information of the simulation process corresponding to each simulation task according to the simulation process condition of each simulation task corresponding to the simulation request generated by the operation and the simulation process control code line corresponding to each simulation task.
Step S120, performing data processing according to the first simulation control information of the simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server 200 after obtaining the simulation pre-result of the simulation request according to the simulation control result, where the simulation pre-result is a simulation prediction result before the simulation process starts.
In step S130, the server 200 obtains a simulation post result corresponding to the simulation request according to the simulation pre result, and obtains second simulation control information of the simulation process corresponding to each simulation task of the simulation request according to the simulation pre result and the simulation post result, and then sends the second simulation control information to the laser printer 100, where the simulation post result is a simulation prediction result at the end of the simulation process.
In step S140, the laser printer 100 performs a simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
Based on the above design, the present embodiment considers the first simulation control information of the simulation process for all the simulation tasks, and predicting the simulation pre-result of the simulation process after data processing is carried out in advance to obtain a simulation control result, and the server 200 with stronger operation capability performs big data analysis on the simulation prepositive results of all the access tasks to obtain simulation postpositive results, and the second simulation control information is obtained after the first simulation control information and the second simulation control information are respectively combined, so that the laser printer 100 can perform simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task without depending on manual experience on one hand, when aiming at a simulation task with a longer simulation process, the time cost and the labor cost can be greatly reduced, the simulation efficiency is improved, all simulation results can be effectively measured, and the accuracy of the simulation process is improved. In addition, simulation prediction operation is usually carried out before simulation, so that the situation that the actual simulation effect is possibly not matched with the effect of the initial simulation process due to the fact that the subsequent simulation process is variable is avoided, and the final simulation result can accurately reflect the real printer operation result.
In some possible designs, the first simulation control information needs to be accurately determined in order to ensure simulation accuracy. The first simulation control information typically includes a plurality of sets of simulation control information, each set of simulation control information includes a control code line, a condition sequence in the control code line, and a condition sequence representation of each condition sequence. In the prior art, accurate and complete first simulation control information is difficult to consider, and the accuracy of a subsequent simulation control process is influenced.
Based on this, step S110 may be specifically implemented as follows:
firstly, acquiring a condition sequence set according to simulation process conditions of each access task, wherein the condition sequence set comprises a plurality of condition sequences with simulation times larger than set times and condition sequence identifications corresponding to the condition sequences.
And secondly, acquiring a control code line corresponding to the condition sequence set from a simulation process control code line corresponding to each simulation task, wherein the control code line comprises a control code corresponding to each condition sequence and a control code corresponding to each condition sequence identifier, the control code corresponding to each condition sequence comprises a condition sequence, and the control code corresponding to each condition sequence identifier comprises a condition sequence identifier.
And thirdly, acquiring a condition sequence in each control code in the control code line.
And fourthly, acquiring a condition sequence simulation function position corresponding to the condition sequence in each control code, generating a condition sequence simulation code set according to the control code line, the condition sequence in each control code in the control code line and the condition sequence simulation function position corresponding to the condition sequence in each control code, and taking the condition sequence simulation code set as first simulation control information of the simulation process corresponding to the simulation task.
Thus, in the above process, since the condition sequence set includes a plurality of condition sequences with simulation times greater than the set times and the condition sequence identifier corresponding to each condition sequence, and the condition sequence with the simulation times larger than the set times is a heavy condition sequence, so that the quality and the accuracy of the control codes in the code control lines obtained according to the condition sequence set are higher, by acquiring the control code line corresponding to the condition sequence set from the simulation process control code line corresponding to each simulation task, the control codes in the acquired control code lines can be more suitable for the actual simulation control situation, it is also possible to make the control codes included in the obtained control code lines more comprehensive, and therefore, on the premise of ensuring the quality of the first simulation control information, the generation efficiency and the integrity of the first simulation control information are improved.
In some possible designs, in order to enable the simulation control result to reflect the accurate synchronization of the simulation condition data and the simulation control data, the simulation condition data is divided into a plurality of groups according to the simulation condition level, and corresponding synchronous simulation is performed according to the relationship information determining each group and the simulation control data, and for step S120, the following steps may be specifically implemented:
firstly, according to first simulation control information of a simulation process corresponding to a simulation task, simulation condition data and simulation control data corresponding to the simulation task are obtained, and the simulation condition data are divided into a plurality of groups according to the simulation condition grades.
And secondly, acquiring first simulation control information of the simulation condition grade corresponding to the simulation control data of each group according to the simulation condition data and the simulation control data corresponding to the simulation task.
And thirdly, acquiring the processing priority of the simulation control data and second simulation control information of the simulation condition grade according to the simulation condition grade.
And fourthly, determining the simulation duration of the simulation control data and the third simulation control information of the processing priority of the simulation control data according to the processing priority of the simulation control data.
And fifthly, determining the simulation duration of the simulation control data and fourth simulation control information of the simulation condition level according to the second simulation control information and the third simulation control information.
And sixthly, carrying out corresponding synchronous simulation on the simulation condition data and the simulation control data according to the first simulation control information and the fourth simulation control information to obtain a simulation control result.
Therefore, the simulation control result can reflect the accurate synchronization of the simulation condition data and the simulation control data, the simulation condition data is divided into a plurality of groups according to the simulation condition grade, and corresponding synchronous simulation is carried out according to the relation information of each group and the simulation control data, so that the effect that the simulation control result can reflect the accurate synchronization of the simulation condition data and the simulation control data is effectively improved.
In some possible designs, step S120 may be further specifically implemented as follows:
firstly, processing the simulation control operation state data of each change point in the simulation control result to obtain simulation prepositive data.
And secondly, calculating first simulation container data of the simulation preposed data in a preset simulation model according to the simulation control model corresponding to each change point.
And thirdly, when the first simulation container data is simulation container data of the simulation prepositive data under the preset condition, calculating second simulation container data corresponding to the preset condition by the first simulation container data.
And fourthly, acquiring a simulation data set of the simulation prepositive data according to the correlation degree of the first simulation container data and the second simulation container data.
And fifthly, acquiring a candidate simulation data set corresponding to the simulation control result from the simulation data set according to the target control parameter in the simulation control result.
And sixthly, acquiring the confidence coefficient that the target control parameter belongs to each to-be-selected simulation data in the candidate simulation data set according to the target control parameter.
And seventhly, determining the simulation data to be selected corresponding to the maximum value in the confidence degrees as a simulation control dynamic library corresponding to the simulation control result.
And eighthly, acquiring a simulation node mark set and a corresponding change point mark set of the simulation node mark set, wherein the simulation node mark set dynamically changes in the preset simulation node range section in the simulation control dynamic library.
And ninthly, marking each simulation node in the simulation node mark set as a simulation fixed node or a simulation variable node.
Tenth, a first simulation change node and a previous simulation fixed node of the first simulation change node which are executed each time are obtained, an overlapping point of the first simulation change node and the previous simulation fixed node is used as a simulation condition node which is executed this time, and a middle point of a change point corresponding to the first simulation change node and a change point corresponding to the previous simulation fixed node is used as a change point corresponding to the simulation condition node.
Eleventh, a last simulation change node and a next simulation fixed node of the last simulation change node are obtained, an overlapping point of the last simulation change node and the next simulation fixed node is used as a simulation decision node of the current execution, and a middle point of a change point corresponding to the last simulation change node and a change point corresponding to the next simulation fixed node is used as a change point corresponding to the simulation decision node.
Twelfth, establishing a pre-simulation interval by taking each simulation condition node and each simulation decision node as a simulation reference, acquiring a simulation strategy matched with each pre-simulation interval, and detecting simulation strategy data matched with each pre-simulation interval.
Thirteenth, if the simulation strategy data matched with the pre-simulation interval comprises a simulation strategy, taking the simulation result from the simulation condition node or the simulation decision node to the matched simulation strategy as the simulation pre-result.
Fourteenth, if the simulation strategy data matched with the pre-simulation interval comprises a plurality of simulation strategies, taking the simulation result from the simulation condition node or the simulation decision node to the plurality of simulation strategies as the simulation pre-result. If the simulation strategy data matched with the pre-simulation interval does not include the simulation strategy, a matching simulation strategy list of the known laser printer 100 matched with the pre-simulation interval and a simulation result of the known laser printer 100 in each matching simulation strategy are obtained.
Fifteenth, traversing each matching simulation strategy in the matching simulation strategy list, searching candidate simulation results containing track points with deviation of the simulation results of the matching simulation strategies within a preset deviation range in the matching simulation strategy database, and forming a candidate simulation result list of each matching simulation strategy.
Sixthly, counting the matching number of each candidate simulation result in the candidate simulation result list, taking the candidate simulation result with the largest matching number as a target candidate simulation result, taking the target candidate simulation result as a simulation pre-result, and sending the simulation pre-result to the server 200.
Therefore, the simulation control dynamic library can be quickly positioned, the efficiency and the accuracy of the simulation preposed process are improved, the simulation condition nodes and each simulation decision node are easy to obtain, the calculation complexity is low, and then the matching can be further quickly completed from a mixed multiple matching simulation strategy list to obtain a simulation preposed result.
In some possible designs, step S130 may be specifically implemented as follows:
firstly, acquiring target simulation post sequences of a plurality of simulation conditions from a simulation post database according to a simulation pre-result, wherein the target simulation post sequences of the plurality of simulation conditions are obtained by simultaneously simulating according to the same simulation strategy, and the target simulation post sequences of each simulation condition comprise target simulation post data to be simulated of each simulation condition.
And secondly, respectively manufacturing and extracting the target simulation post sequence of each simulation condition to obtain the target manufacturing simulation post sequence of each simulation condition.
And thirdly, respectively determining a reference production simulation post sequence matched with the target production simulation post sequence of each simulation condition from a plurality of pre-stored reference production simulation post sequences as the target reference production simulation post sequence of each simulation condition.
Fourthly, based on the pre-stored attitude information corresponding to each simulation post in each reference production simulation post sequence, the simulation post production information corresponding to the reference production simulation post corresponding to the target simulation post is determined from the target reference production simulation post sequence of each simulation condition and is used as the simulation post information of each simulation condition.
And fifthly, acquiring each first simulation post result of the simulation post result set through the simulation post information of each simulation condition, wherein the simulation post result set is composed of a simulation post head end simulation node and a simulation post tail end simulation node in the simulation post information of each simulation condition.
And sixthly, aiming at each condition simulation post result in the first simulation post result, determining a plurality of condition quantities and/or a plurality of decision quantities of the simulation change node according to simulation post information of a plurality of pairs of condition nodes and/or simulation post information of a plurality of pairs of decision nodes preset in the condition simulation post result and simulation post information of the simulation change node.
And seventhly, determining a condition simulation process corresponding to the condition simulation post-result according to the multiple condition quantities and/or the weighted quantities of the multiple decision quantities of the simulation change node.
And eighthly, selecting the condition simulation post result of the corresponding condition simulation process in the first simulation post result within the preset process range as a target condition simulation post result, and acquiring the post simulation attribute of each target condition simulation post result in the first simulation post result according to each target condition simulation post result in the first simulation post result.
And ninthly, obtaining a simulation post result corresponding to the simulation request according to the post simulation attribute of each target condition simulation post result in the first simulation post result.
Tenth, identifying at least one simulation control process strategy in the simulation post results.
Eleventh, if it is determined that the occupancy rate of the simulation control process strategy identified in the simulation post result satisfies the preset occupancy rate condition, acquiring at least two pieces of simulation pre-set control information matched with the simulation post result from the simulation pre-set result.
Twelfth, according to the simulation control process strategy identified by the at least two pieces of simulation pre-control information, determining the simulation control state information of the simulation control process strategy to obtain second simulation control information of the simulation process corresponding to each simulation task of the simulation request.
Therefore, based on the above steps, the second simulation control information of the simulation process corresponding to each simulation task of the simulation request is obtained by combining the simulation pre-result and the simulation post-result, so that the laser printer 100 can perform simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task, on one hand, the dependence on artificial experience is not required, the time cost and the labor cost can be greatly reduced when aiming at the simulation task with a longer simulation process, the simulation efficiency is improved, all simulation results can be effectively measured, and the accuracy of the simulation process is improved. In addition, simulation prediction operation is usually carried out before simulation, so that the situation that the actual simulation effect is possibly not matched with the effect of the initial simulation process due to the fact that the subsequent simulation process is variable is avoided, and the final simulation result can accurately reflect the real printer operation result.
In some possible designs, step S140 may be specifically implemented as follows:
firstly, acquiring a simulation control strategy of a simulation process corresponding to each simulation task and simulation conditions of each simulation control strategy according to the first simulation control information and the second simulation control information.
And secondly, acquiring the number of simulation nodes required by multiple simulations in the simulation process according to the simulation control strategies and the simulation conditions of the simulation control strategies.
And thirdly, splitting the simulation process into a main simulation process and at least one distributed simulation process according to the number of simulation nodes required by the multiple simulation of the simulation process, respectively executing the main simulation process and the distributed simulation processes, combining simulation results obtained after the main simulation process and the distributed simulation processes are respectively executed, and generating a simulation operation result.
In some possible designs, combining simulation results obtained after the main simulation process and the distributed simulation process are respectively executed, and generating a simulation operation result, which may specifically be:
firstly, comparing node association information of a plurality of simulation nodes in a parameter range between a main simulation process and a distributed simulation process in the simulation process, and judging that the simulation nodes in the parameter range between the main simulation process and the distributed simulation process in the simulation process are known simulation nodes when the node association information of the plurality of simulation nodes completely falls into the node association information range of the plurality of simulation nodes corresponding to the known simulation node.
And secondly, acquiring simulation node information of a plurality of simulation nodes in a preset simulation process within a preset parameter range according to the known simulation node, wherein the preset simulation process is the simulation process of the known simulation node.
And thirdly, taking the simulation node which is started to be executed by the preset simulation process simulation node as a main simulation process to obtain the simulation node information of the plurality of simulation nodes in the main simulation process in the preset simulation process.
Fourthly, acquiring simulation node information of a plurality of simulation nodes in the distributed simulation process in the preset simulation process in the distributed simulation process of the first preset node in the associated main simulation process.
Fifthly, comparing the simulation node information of the simulation nodes in the distributed simulation process with the simulation node information of the simulation nodes in the main simulation process to obtain the node association information of the simulation nodes in the parameter range between the main simulation process and the distributed simulation process.
And sixthly, obtaining simulation node pairs according to the corresponding relation between the known simulation nodes and the node association information of the simulation nodes in the parameter range between the main simulation process and the distributed simulation process, wherein each simulation node pair comprises the known simulation nodes and the node association information of the simulation nodes corresponding to the known simulation nodes.
And seventhly, obtaining the node association information range of the plurality of simulation nodes corresponding to the known simulation node according to the plurality of simulation node pairs.
And eighthly, determining the simulation operation result basic information of the node associated information of the plurality of simulation nodes in the parameter range between the main simulation process and the distributed simulation process in the simulation process according to the node associated information range of the plurality of simulation nodes corresponding to the known simulation nodes.
And ninthly, acquiring the structural characteristics of the basic information of the simulation operation result.
And tenthly, fusing the structural features based on a standard simulation result table to obtain structural data, generating corresponding data structure pairs from the structural data, and obtaining a simulation operation structure according to the data structures.
For example, the process program interaction data and program data for the simulation process may be obtained from a standard simulation results table based on the structured features, determining process parameters corresponding to the process program interactive data of the simulation process according to the preset corresponding relationship between the process program interactive data and the process parameters, and using the process parameters as first process program interactive parameters of the simulation process, then, the program data is subjected to process program interactive identification, a plurality of preset behavior deviation values of the process program interactive behaviors are output, the behavior deviation value of each process program interactive behavior corresponding to the process program interactive state in the behavior deviation values of the process program interactive behaviors is extracted, and then, calculating a second process program interaction parameter of the simulation process according to the behavior deviation value of each process program interaction behavior corresponding to the process program interaction state of the simulation process. And then, carrying out weighted average calculation on the first process program interaction parameter and the second process program interaction parameter to obtain a comprehensive process program interaction state of the simulation process, and determining a process program interaction state evaluation stage corresponding to the comprehensive process program interaction state of the simulation process according to a preset corresponding relation between a process program interaction state range and a process program interaction state evaluation stage, wherein the process program interaction state evaluation stage is used for identifying the process program interaction state degree of the simulation process. And then executing a fusion strategy corresponding to the evaluation grade of the interactive state of the process program to fuse the structural features and obtain structural data, generating a corresponding data structure pair from the structural data, and obtaining a simulation operation structure according to the data structure.
In some possible designs, referring to fig. 3, after step S140, the simulation method of the laser printer provided in this embodiment may further include the following steps:
in step S150, the server 200 transmits the simulation operation result fed back by the laser printer 100 to the simulation service terminal 300.
In step S160, the simulation service terminal 300 generates a corresponding simulation report according to the simulation operation result and displays the simulation report to the user.
In some possible designs, the simulation service terminal 300 generates a corresponding simulation report according to the simulation operation result, specifically, may determine an item matching parameter for generating the simulation report from the simulation operation result according to the known report item, then determine a conversion policy of the known report item and a conversion layout amount of a conversion format sequence point in a conversion format sequence established in advance according to the item matching parameter, then determine a conversion area amount of the conversion format sequence point according to the conversion policy of the known report item, determine a conversion format sequence generation amount of the conversion format sequence point according to the conversion layout amount and the conversion area amount, and establish a conversion model according to the conversion format sequence generation amount. And then, determining the conversion format sequence generation amount of a target conversion format sequence point corresponding to the item to be converted from the conversion model, determining the generation amount of the item to be converted according to the conversion format sequence generation amount of the target conversion format sequence point, and determining a simulation operation result according to the generation amount of the item to be converted to generate a corresponding simulation report.
Fig. 4 is another schematic flow chart of a simulation method of a laser printer according to an embodiment of the present application, and unlike the foregoing embodiment, the simulation method of the laser printer according to the present embodiment may be executed by the laser printer 100 shown in fig. 1. It should be noted that details of steps to be described next in the present embodiment have been described in the foregoing embodiments, and details regarding the following embodiments may refer to parts of the foregoing embodiments, and only the steps performed by the laser printer 100 will be described in detail below.
Step S210, obtaining first simulation control information of the simulation process corresponding to each simulation task according to the simulation process condition of each simulation task corresponding to the simulation request generated by the operation and the simulation process control code line corresponding to each simulation task.
Step S220, performing data processing according to the first simulation control information of the simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server 200 after obtaining the simulation pre-result of the simulation request according to the simulation control result, where the simulation pre-result is a simulation prediction result before the simulation process starts.
Step S230, receiving a simulation post result corresponding to the simulation request obtained by the server 200 according to the simulation pre-result, and obtaining second simulation control information of the simulation process corresponding to each simulation task of the simulation request according to the simulation pre-result and the simulation post result, where the simulation post result is a simulation prediction result when the simulation process is finished.
Step S240, performing simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
Fig. 5 is a schematic diagram of functional modules of an emulation apparatus 400 of a laser printer according to an embodiment of the present application, and the present embodiment may divide the functional modules of the emulation apparatus 400 of the laser printer according to the foregoing method embodiment. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation. For example, in the case of dividing each function module in correspondence with each function, the simulation apparatus 400 of the laser printer shown in fig. 5 is only an apparatus diagram. The simulation apparatus 400 of the laser printer may include a first determining module 410, a second determining module 420, a receiving module 430, and a simulation operating module 440, and the functions of the functional modules of the simulation apparatus 400 of the laser printer are described in detail below.
The first determining module 410 is configured to obtain first simulation control information of a simulation process corresponding to each simulation task according to a simulation process condition of each simulation task corresponding to an operation-generated simulation request and a simulation process control code line corresponding to each simulation task.
The second determining module 420 is configured to perform data processing according to the first simulation control information of the simulation process corresponding to the simulation task to obtain a simulation control result, and send the simulation pre-result to the server 200 after obtaining the simulation pre-result of the simulation request according to the simulation control result, where the simulation pre-result is a simulation prediction result before the simulation process starts.
A receiving module 430, configured to receive a simulation post result corresponding to the simulation request obtained by the server 200 according to the simulation pre-result, and obtain second simulation control information of the simulation process corresponding to each simulation task of the simulation request according to the simulation pre-result and the simulation post result, where the simulation post result is a simulation prediction result when the simulation process ends.
A simulation operation module 440, configured to perform a simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
Fig. 6 is a schematic structural diagram of a laser printer 100 for executing the simulation method of the laser printer according to the embodiment of the present application, and as shown in fig. 6, the laser printer 100 may include a network interface 110, a machine-readable storage medium 120, a processor 130, and a bus 140. The simulation container data of the processor 130 may be one or more, and one processor 130 is taken as an example in fig. 6; the network interface 110, the machine-readable storage medium 120, and the processor 130 may be connected by a bus 140 or otherwise, as exemplified by the connection by the bus 140 in fig. 6.
The machine-readable storage medium 120, which is a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the simulation method of the laser printer in the embodiment of the present application (for example, the first determining module 410, the second determining module 420, the receiving module 430, and the simulation operating module 440 in the simulation apparatus 400 of the laser printer shown in fig. 5). The processor 130 executes various functional applications and data processing of the terminal device by detecting software programs, instructions and modules stored in the machine-readable storage medium 120, that is, the above-mentioned simulation method of the laser printer is implemented, and details are not described herein.
The machine-readable storage medium 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the machine-readable storage medium 120 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double data rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and direct memory bus RAM (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to comprise, without being limited to, these and any other memories suitable for emulating a node. In some examples, the machine-readable storage medium 120 may further include memory located remotely from the processor 130, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, transit communication networks, and combinations thereof.
The processor 130 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 130. The processor 130 may be a general-purpose processor, a digital signal processor (digital signal processor dsp), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
The laser printer 100 can perform information interaction with other devices (e.g., the server 200) through the communication interface 110. Communication interface 110 may be a circuit, bus, transceiver, or any other device that may be used to exchange information. Processor 130 may send and receive information using communication interface 110.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (10)

1. A simulation method of a laser printer is characterized in that the simulation method is applied to a simulation system of the laser printer, the simulation system of the laser printer comprises the laser printer and a server which is in communication connection with the laser printer, and the method comprises the following steps:
the laser printer obtains first simulation control information of a simulation process corresponding to each simulation task according to simulation process conditions of each simulation task corresponding to a simulation request generated by operation and a simulation process control code line corresponding to each simulation task;
performing data processing according to first simulation control information of a simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server after obtaining the simulation pre-result of the simulation request according to the simulation control result, wherein the simulation pre-result is a simulation prediction result before the simulation process starts;
the server obtains a simulation post result corresponding to the simulation request according to the simulation pre result, and sends second simulation control information of a simulation process corresponding to each simulation task of the simulation request to the laser printer after obtaining the second simulation control information according to the simulation pre result and the simulation post result, wherein the simulation post result is a simulation prediction result when the simulation process is finished;
and the laser printer carries out simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
2. The simulation method of a laser printer according to claim 1, wherein the step of obtaining, by the laser printer, the first simulation control information of the simulation process corresponding to each simulation task according to the simulation process condition of each simulation task corresponding to the simulation request generated by the operation and the simulation process control code line corresponding to each simulation task, includes:
for each access task, acquiring a condition sequence set according to the simulation process condition of the simulation task, wherein the condition sequence set comprises a plurality of condition sequences with the simulation times larger than the set times and a condition sequence identifier corresponding to each condition sequence;
acquiring a control code line corresponding to the condition sequence set from a simulation process control code line corresponding to each simulation task, wherein the control code line comprises a control code corresponding to each condition sequence and a control code corresponding to each condition sequence identifier, the control code corresponding to each condition sequence comprises the condition sequence, and the control code corresponding to each condition sequence identifier comprises the condition sequence identifier;
acquiring a condition sequence in each control code in the control code line;
acquiring a condition sequence simulation function position corresponding to a condition sequence in each control code, generating a condition sequence simulation code set according to the control code line, the condition sequence in each control code in the control code line and the condition sequence simulation function position corresponding to the condition sequence in each control code, and taking the condition sequence simulation code set as first simulation control information of a simulation process corresponding to the simulation task.
3. The simulation method of a laser printer according to claim 1, wherein the step of performing data processing according to the first simulation control information of the simulation process corresponding to the simulation task to obtain a simulation control result includes:
acquiring simulation condition data and simulation control data corresponding to the simulation task according to first simulation control information of a simulation process corresponding to the simulation task, wherein the simulation condition data are divided into a plurality of groups according to simulation condition grades;
acquiring first analog control information of each group of the simulation condition grade corresponding to the simulation control data according to the simulation condition data and the simulation control data corresponding to the simulation task;
acquiring the processing priority of the simulation control data and second simulation control information of the simulation condition grade according to the simulation condition grade;
determining the simulation duration of the simulation control data and third simulation control information of the processing priority of the simulation control data according to the processing priority of the simulation control data;
according to the second analog control information and the third analog control information, determining the simulation duration of the simulation control data and fourth analog control information of the simulation condition level;
and carrying out corresponding synchronous simulation on the simulation condition data and the simulation control data according to the first simulation control information and the fourth simulation control information to obtain a simulation control result.
4. The method for simulating a laser printer according to claim 1, wherein the step of sending the pre-simulation result to the server after obtaining the pre-simulation result of the simulation request according to the simulation control result includes:
processing the simulation control operation state data of each change point in the simulation control result to obtain simulation prepositive data;
calculating first simulation container data of the simulation preposed data in a preset simulation model according to the simulation control model corresponding to each change point;
when the first simulation container data is simulation container data of the simulation prepositive data under a preset condition, calculating second simulation container data corresponding to the preset condition by the first simulation container data;
acquiring a simulation data set of the simulation prepositive data according to the correlation degree of the first simulation container data and the second simulation container data;
acquiring a candidate simulation data set corresponding to the simulation control result from the simulation data set according to a target control parameter in the simulation control result;
according to the target control parameter, obtaining the confidence coefficient of the target control parameter belonging to each simulation data to be selected in the candidate simulation data set;
determining the simulation data to be selected corresponding to the maximum value in the confidence coefficients as a simulation control dynamic library corresponding to the simulation control result;
acquiring a simulation node mark set of the simulation control dynamic library which dynamically changes in a preset simulation node range section and a change point mark set corresponding to the simulation node mark set;
marking each simulation node in the simulation node mark set as a simulation fixed node or a simulation variable node;
acquiring a first simulation change node and a previous simulation fixed node of the first simulation change node which are executed each time, taking an overlapping point of the first simulation change node and the previous simulation fixed node as a simulation condition node which is executed this time, and taking a middle point of a change point corresponding to the first simulation change node and a change point corresponding to the previous simulation fixed node as a change point corresponding to the simulation condition node;
acquiring a last simulation change node and a next simulation fixed node of the last simulation change node which are executed each time, taking an overlapping point of the last simulation change node and the next simulation fixed node as a simulation decision node which is executed this time, and taking a middle point of a change point corresponding to the last simulation change node and a change point corresponding to the next simulation fixed node as a change point corresponding to the simulation decision node;
establishing a pre-simulation interval by taking each simulation condition node and each simulation decision node as a simulation reference, acquiring a simulation strategy matched with each pre-simulation interval, and detecting simulation strategy data matched with each pre-simulation interval;
if the simulation strategy data matched with the preposed simulation interval comprises a simulation strategy, taking the simulation result from the simulation condition node or the simulation decision node to the matched simulation strategy as a simulation preposed result;
if the simulation strategy data matched with the preposed simulation interval comprises a plurality of simulation strategies, taking simulation results from the simulation condition node or the simulation decision node to the plurality of simulation strategies as simulation preposed results;
if the simulation strategy data matched with the preposed simulation interval does not comprise a simulation strategy, acquiring a matching simulation strategy list of the known laser printer matched with the preposed simulation interval and a simulation result of the known laser printer in each matching simulation strategy;
traversing each matching simulation strategy in the matching simulation strategy list, searching a candidate simulation result containing track points with deviation of the simulation result of the matching simulation strategy within a preset deviation range in a matching simulation strategy database, and forming a candidate simulation result list of each matching simulation strategy;
counting the matching number of each candidate simulation result in the candidate simulation result list, taking the candidate simulation result with the largest matching number as a target candidate simulation result, and taking the target candidate simulation result as a simulation preposed result;
and sending the simulation preposed result to the server.
5. The method for simulating a laser printer according to claim 1, wherein the step of obtaining a simulation post result corresponding to the simulation request according to the simulation pre result and obtaining second simulation control information of the simulation process corresponding to each simulation task of the simulation request according to the simulation pre result and the simulation post result comprises:
acquiring target simulation post sequences of a plurality of simulation conditions from a simulation post database according to the simulation pre-result, wherein the target simulation post sequences of the plurality of simulation conditions are obtained by simultaneously simulating according to the same simulation strategy, and the target simulation post sequences of each simulation condition comprise target simulation post data to be simulated of each simulation condition;
respectively making and extracting the target simulation post sequence of each simulation condition to obtain the target making simulation post sequence of each simulation condition;
respectively determining a reference production simulation post sequence matched with the target production simulation post sequence of each simulation condition from a plurality of pre-stored reference production simulation post sequences as the target reference production simulation post sequence of each simulation condition;
based on the pre-stored attitude information corresponding to each simulation post in each reference production simulation post sequence, respectively determining simulation post production information corresponding to the reference production simulation post corresponding to the target simulation post from the target reference production simulation post sequence of each simulation condition as the simulation post information of each simulation condition;
acquiring each first simulation post result of a simulation post result set through the simulation post information of each simulation condition, wherein the simulation post result set is composed of a simulation post head end simulation node and a simulation post tail end simulation node in the simulation post information of each simulation condition;
aiming at each condition simulation post result in the first simulation post result, determining a plurality of condition quantities and/or a plurality of decision quantities of a simulation change node according to simulation post information of a plurality of pairs of condition nodes and/or simulation post information of a plurality of pairs of decision nodes preset in the condition simulation post result and simulation post information of the simulation change node;
determining a condition simulation process corresponding to the condition simulation post result according to a plurality of condition quantities and/or a plurality of weighted quantities of decision quantities of the simulation change node;
selecting a condition simulation post result of the corresponding condition simulation process in the first simulation post result within a preset process range as a target condition simulation post result, and acquiring a post simulation attribute of each target condition simulation post result in the first simulation post result according to each target condition simulation post result in the first simulation post result;
obtaining a simulation post result corresponding to the simulation request according to the post simulation attribute of each target condition simulation post result in the first simulation post result;
identifying at least one simulation control process strategy in the simulation post-result;
if the occupancy rate of the simulation control process strategy identified in the simulation post result meets the preset occupancy rate condition, acquiring at least two pieces of simulation pre-positioned control information matched with the simulation post result from the simulation pre-positioned result;
and determining simulation control state information of the simulation control process strategy according to the simulation control process strategy identified by the at least two pieces of simulation prepositive control information so as to obtain second simulation control information of the simulation process corresponding to each simulation task of the simulation request.
6. The method for simulating a laser printer according to claim 1, wherein the step of performing the simulation operation by the laser printer according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task includes:
acquiring a simulation control strategy of a simulation process corresponding to each simulation task and a simulation condition of each simulation control strategy according to the first simulation control information and the second simulation control information;
acquiring the number of simulation nodes required by the multiple simulation of the simulation process according to the simulation control strategies and the simulation conditions of each simulation control strategy;
splitting the simulation process into a main simulation process and at least one distributed simulation process according to the number of simulation nodes required by the multiple simulation of the simulation process, respectively executing the main simulation process and the distributed simulation process, combining simulation results obtained after the main simulation process and the distributed simulation process are respectively executed, and generating a simulation operation result.
7. The method for simulating a laser printer according to claim 6, wherein the simulation system for a laser printer further comprises a simulation service terminal communicatively connected to the server, the method further comprising:
the server sends the simulation operation result fed back by the laser printer to the simulation service terminal;
and the simulation service terminal generates a corresponding simulation report according to the simulation operation result and displays the simulation report to a user.
8. The method for simulating a laser printer according to claim 7, wherein the step of generating a corresponding simulation report by the simulation service terminal according to the simulation operation result comprises:
determining an item matching parameter for generating a simulation report from the simulation operation result according to a known report item;
determining the conversion strategy of the known report item and the conversion typesetting amount of conversion format sequence points in a conversion format sequence established in advance according to the item matching parameters;
determining the conversion area amount of the conversion format sequence points according to the conversion strategy of the known report item;
determining the conversion format sequence generation amount of the conversion format sequence points according to the conversion typesetting amount and the conversion area amount, and establishing a conversion model according to the conversion format sequence generation amount;
determining the conversion format sequence generation amount of a target conversion format sequence point corresponding to the item to be converted from the conversion model;
determining the generation amount of the item to be converted according to the conversion format sequence generation amount of the target conversion format sequence point;
and determining the simulation operation result according to the generated quantity of the item to be converted to generate a corresponding simulation report.
9. A simulation method of a laser printer is applied to the laser printer, the laser printer is in communication connection with a server, and the method comprises the following steps:
obtaining first simulation control information of a simulation process corresponding to each simulation task according to simulation process conditions of each simulation task corresponding to a simulation request generated by operation and a simulation process control code line corresponding to each simulation task;
performing data processing according to first simulation control information of a simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server after obtaining the simulation pre-result of the simulation request according to the simulation control result, wherein the simulation pre-result is a simulation prediction result before the simulation process starts;
receiving a simulation post result corresponding to the simulation request obtained by the server according to the simulation pre result, and obtaining second simulation control information of the simulation process corresponding to each simulation task of the simulation request according to the simulation pre result and the simulation post result, wherein the simulation post result is a simulation prediction result when the simulation process is finished;
and carrying out simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
10. The simulation system of the laser printer is characterized by comprising the laser printer and a server in communication connection with the laser printer;
the laser printer is used for obtaining first simulation control information of the simulation process corresponding to each simulation task according to the simulation process condition of each simulation task corresponding to the simulation request generated by operation and the simulation process control code line corresponding to each simulation task;
the laser printer is used for carrying out data processing according to first simulation control information of a simulation process corresponding to the simulation task to obtain a simulation control result, and sending the simulation pre-result to the server after obtaining the simulation pre-result of the simulation request according to the simulation control result, wherein the simulation pre-result is a simulation prediction result before the simulation process starts;
the server is used for obtaining a simulation post result corresponding to the simulation request according to the simulation pre result, and sending second simulation control information of a simulation process corresponding to each simulation task of the simulation request to the laser printer after obtaining the second simulation control information according to the simulation pre result and the simulation post result, wherein the simulation post result is a simulation prediction result when the simulation process is finished;
and the laser printer is used for carrying out simulation operation according to the first simulation control information and the second simulation control information of the simulation process corresponding to each simulation task.
CN201911194094.XA 2019-11-28 2019-11-28 Simulation method and system of laser printer Active CN110765667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911194094.XA CN110765667B (en) 2019-11-28 2019-11-28 Simulation method and system of laser printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911194094.XA CN110765667B (en) 2019-11-28 2019-11-28 Simulation method and system of laser printer

Publications (2)

Publication Number Publication Date
CN110765667A CN110765667A (en) 2020-02-07
CN110765667B true CN110765667B (en) 2020-06-16

Family

ID=69339982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911194094.XA Active CN110765667B (en) 2019-11-28 2019-11-28 Simulation method and system of laser printer

Country Status (1)

Country Link
CN (1) CN110765667B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7784099B2 (en) * 2005-02-18 2010-08-24 Pace University System for intrusion detection and vulnerability assessment in a computer network using simulation and machine learning
CN102184288A (en) * 2011-05-05 2011-09-14 北京航空航天大学 All-digital simulation system and method for infrared imaging system
CN102982209A (en) * 2012-12-03 2013-03-20 哈尔滨工业大学深圳研究生院 Space network visual simulation system and method based on HLA (high level architecture)
CN103049307A (en) * 2011-10-12 2013-04-17 富士通株式会社 Simulation apparatus and simulation method
CN103926847A (en) * 2014-05-04 2014-07-16 威海正棋机电技术有限公司 Robot simulation system
CN109002663A (en) * 2018-09-14 2018-12-14 中车齐齐哈尔车辆有限公司 A kind of emulation mode and emulation platform
JP2019087254A (en) * 2017-11-08 2019-06-06 株式会社リコー Mechanism for predicting print performance using print metadata

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04172295A (en) * 1990-11-05 1992-06-19 Mitsubishi Electric Corp Test device for control rod drive system
US20040136020A1 (en) * 2002-10-31 2004-07-15 Canon Kabushiki Kaisha Image processing appartus and method
CN100395669C (en) * 2003-04-14 2008-06-18 北京启迪时代科技有限公司 Image coding/ decoding device of laser printing system and method
CN108540351B (en) * 2018-04-20 2021-06-25 西北工业大学 Automatic testing method for distributed big data service

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7784099B2 (en) * 2005-02-18 2010-08-24 Pace University System for intrusion detection and vulnerability assessment in a computer network using simulation and machine learning
CN102184288A (en) * 2011-05-05 2011-09-14 北京航空航天大学 All-digital simulation system and method for infrared imaging system
CN103049307A (en) * 2011-10-12 2013-04-17 富士通株式会社 Simulation apparatus and simulation method
CN102982209A (en) * 2012-12-03 2013-03-20 哈尔滨工业大学深圳研究生院 Space network visual simulation system and method based on HLA (high level architecture)
CN103926847A (en) * 2014-05-04 2014-07-16 威海正棋机电技术有限公司 Robot simulation system
JP2019087254A (en) * 2017-11-08 2019-06-06 株式会社リコー Mechanism for predicting print performance using print metadata
CN109002663A (en) * 2018-09-14 2018-12-14 中车齐齐哈尔车辆有限公司 A kind of emulation mode and emulation platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"激光雷达系统的仿真测试";易翔等;《光子学报》;20040131;第33卷(第1期);第21-23页 *

Also Published As

Publication number Publication date
CN110765667A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
CN111158613B (en) Data block storage method and device based on access heat and storage equipment
CN112083933A (en) Service function chain deployment method based on reinforcement learning
CN111352712B (en) Cloud computing task tracking processing method and device, cloud computing system and server
CN109842563A (en) Content delivery network flow dispatching method, device and computer readable storage medium
CN111371856B (en) Cloud computing task scheduling method and device, cloud computing system and server
CN111209336A (en) Data distribution method and device based on block chain and server
CN110019838A (en) Intelligent Answer System and intelligent terminal
CN110968273B (en) Laser color printing method and system based on Internet of things
CN110826606A (en) Element matching method, device, server and readable storage medium
CN110765667B (en) Simulation method and system of laser printer
CN112235376B (en) Electric vehicle information monitoring method and device and electric vehicle management system
CN111090401B (en) Storage device performance prediction method and device
CN111327706B (en) Remote meter reading data processing method and device, gas meter system and gas cloud platform
CN111338955B (en) Software graphical interface testing method and device, software development system and server
CN111106960A (en) Mapping method and mapping device of virtual network and readable storage medium
CN112949853B (en) Training method, system, device and equipment for deep learning model
CN111124321B (en) Debugging method and system of laser printer
CN111445191B (en) Method, device and storage medium for estimating distribution difficulty
CN111107162B (en) Indoor positioning data processing method, device and system based on Internet of things
CN115203556A (en) Score prediction model training method and device, electronic equipment and storage medium
CN111209509B (en) Information display method and device based on big data platform and big data platform
CN112181425B (en) Compiling method and device for software development kit based on cloud platform
CN110781202B (en) Intelligent data collection method and system for textbook teaching quality information
CN111311150B (en) Distribution task grouping method, platform, electronic equipment and storage medium
CN111178209B (en) Nuclear magnetic resonance interaction processing method and device and nuclear magnetic resonance interaction system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200207

Assignee: Zhaoqing Anke Electronic Technology Co.,Ltd.

Assignor: SHENZHEN CASTLE SECURITY TECH. Co.,Ltd.

Contract record no.: X2021440000040

Denomination of invention: Simulation method and system of laser printer

Granted publication date: 20200616

License type: Common License

Record date: 20210202

Application publication date: 20200207

Assignee: Guobao Union Information Security Technology (Guangdong) Co.,Ltd.

Assignor: SHENZHEN CASTLE SECURITY TECH. Co.,Ltd.

Contract record no.: X2021440000041

Denomination of invention: Simulation method and system of laser printer

Granted publication date: 20200616

License type: Common License

Record date: 20210202

Application publication date: 20200207

Assignee: Shenzhen Deli Technology Co.,Ltd.

Assignor: SHENZHEN CASTLE SECURITY TECH. Co.,Ltd.

Contract record no.: X2021440000042

Denomination of invention: Simulation method and system of laser printer

Granted publication date: 20200616

License type: Common License

Record date: 20210202