Disclosure of Invention
The embodiment of the application provides a method, a device, a system, computer equipment and a storage medium for scheduling processing, so as to at least solve the problem of low efficiency in a method for scheduling and processing production inventory in the related art.
In a first aspect, an embodiment of the present application provides a method for scheduling processing, where the method includes:
receiving a basic parameter file sent by a terminal, and receiving a service parameter file sent by the terminal;
under the condition of receiving a scheduling generation instruction, reading a scheduling algorithm parameter and a basic parameter of the basic parameter file, and reading a service parameter of the service parameter file;
and calling a scheduling algorithm file to obtain a scheduling result according to the scheduling algorithm parameter, the basic parameter and the service parameter.
In some embodiments, after receiving the schedule generation instruction, the method further comprises:
and under the condition that the basic parameter file is an Excel file and the service parameter file is an Excel file, reading the scheduling algorithm parameters and the service parameters by using an Apache POI technology, inputting the scheduling algorithm parameters and the service parameters into the scheduling algorithm file, and obtaining the scheduling result.
In some embodiments, after the calling the scheduling algorithm file to obtain the scheduling result, the method further includes:
and under the condition of receiving a scheduling preview instruction, sending the scheduling result to the terminal through a WebSocket protocol for displaying.
In some embodiments, after receiving the service parameter file sent by the terminal and before receiving the scheduling generation instruction, the method further includes:
comparing the basic parameter file with a first preset template, and opening a first editing right according to a received basic modification instruction under the condition that the basic parameter file is matched with the first preset template;
and comparing the service parameter file with a second preset template, and opening a second editing right according to the received service modification instruction under the condition that the service parameter file is matched with the second preset template.
In some embodiments, after receiving the service parameter file sent by the terminal and before receiving the scheduling generation instruction, the method further includes:
and under the condition of receiving a synchronization instruction, performing synchronization processing on the service parameter file through an enterprise resource management (SAP) system.
In some embodiments, after the synchronizing the service parameter file by the SAP system, the method further includes:
detecting a first updating time of the basic parameter file and a second updating time of the service parameter file;
and sending a reminding message to the terminal under the condition that the first updating time is greater than a preset time range, or the first updating time is later than the second updating time, or the service parameter file is not uploaded again in the synchronous processing.
In some embodiments, after receiving the basic parameter file sent by the terminal, the method further includes:
and sending the basic parameter file to a FastDFS file server for storage.
In a second aspect, an embodiment of the present application provides an apparatus for scheduling processing, where the apparatus includes: the device comprises a receiving module, a reading module and an obtaining module;
the receiving module is used for receiving a basic parameter file sent by a terminal and receiving a service parameter file sent by the terminal;
the reading module is used for reading the scheduling algorithm parameters and the basic parameters of the basic parameter file and reading the service parameters of the service parameter file under the condition of receiving a scheduling generation instruction;
the obtaining module is used for calling a scheduling algorithm file to obtain a scheduling result according to the scheduling algorithm parameter, the basic parameter and the service parameter.
In a third aspect, an embodiment of the present application provides a system for scheduling processing, where the system includes: a terminal, a transmission device and a server; the terminal is connected with the server through the transmission equipment;
the server is used for receiving the basic parameter file sent by the terminal and the service parameter file sent by the terminal;
the server reads the scheduling algorithm parameters of the basic parameter file and the service parameters of the service parameter file under the condition of receiving a scheduling generation instruction;
the server calls a scheduling algorithm file to obtain a scheduling result of the service parameter according to the scheduling algorithm parameter; wherein the scheduling algorithm parameters are matched with the scheduling algorithm file;
the transmission equipment is used for sending the scheduling result to the terminal through a WebSocket protocol under the condition of receiving a scheduling preview instruction;
and the terminal is used for displaying the scheduling result.
In some of these embodiments, the system further comprises a FastDFS file server; wherein the FastDFS file server is connected with the server;
and the FastDFS file server is used for receiving and storing the basic parameter file sent by the server.
In a fourth aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method of scheduling processing according to the first aspect when executing the computer program.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method of scheduling processing according to the first aspect.
Compared with the related art, the scheduling processing method, device, system, computer equipment and storage medium provided by the embodiment of the application receive the basic parameter file sent by the terminal and receive the service parameter file sent by the terminal; under the condition of receiving a scheduling generation instruction, reading a scheduling algorithm parameter and a basic parameter of the basic parameter file, and reading a service parameter of the service parameter file; according to the scheduling algorithm parameter, the basic parameter and the service parameter, the scheduling algorithm file is called to obtain the scheduling result, the problem that the efficiency is low in the method for scheduling and processing the production inventory is solved, and the accuracy and the efficiency of scheduling and processing are improved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The scheduling processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 12 communicates with the server 14 via a network. The server 14 receives the basic parameter file and the service parameter file sent by the terminal 12, and calls a scheduling algorithm file to obtain a scheduling result according to the basic parameter file and the service parameter file; or, the server 14 receives the synchronization instruction sent by the terminal 12, and synchronizes the service parameters from the SAP system, thereby obtaining a service parameter file; the terminal 12 provides an operation interface and displays the scheduling result sent by the server 14 through the operation interface. The terminal 12 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 14 may be implemented by an independent server or a server cluster composed of a plurality of servers.
In this embodiment, a method of scheduling processing is provided. Fig. 2 is a first flowchart of a scheduling processing method according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
step S202, receiving a basic parameter file sent by the terminal 12, and receiving a service parameter file sent by the terminal 12; or, in case of receiving a synchronization instruction sent by the terminal 12, synchronizing the service parameter file from the SAP system to the server 14; wherein, two types of parameter files need to be provided in the scheduling process, and the scheduler uploads the files through an operation interface of the terminal 12; for example, the operation interface of the terminal 12 includes a basic data maintenance frame and a business data maintenance frame, both of which provide a separate upload entry "upload update file" button, and the scheduler can upload the basic parameter file and the business parameter file after clicking the button.
Step S204, under the condition of receiving a scheduling generation instruction, reading basic parameters and scheduling algorithm parameters of the basic parameter file, and reading service parameters of the service parameter file; calling a scheduling algorithm file to obtain a scheduling result according to the scheduling algorithm parameter, the basic parameter and the service parameter; for example, an algorithm file written in the Python language can be called by the Java Runtime class to perform algorithm calculation; the basic parameters are static data such as material codes, material names, material types, material attributes and the like; the business parameters are dynamic data of material weight, material quantity and the like which change along with a time axis.
The scheduling algorithm file can be used for acquiring a material stock preparation coefficient according to the scheduling algorithm parameter, acquiring data such as a change value between materials and a stock according to the basic parameter, acquiring data such as a difference value between an actual material number and a target material number according to the service parameter, inputting the acquired data into a scheduling algorithm model in the scheduling algorithm file, and outputting a scheduling result through the scheduling algorithm model.
In addition, the basic parameter file and the service parameter file may be a sps file, a txt file, an Excel file or other data processing files, and the two types of parameter files are analyzed and read by the server 14; for example, when the basic parameter file and the service parameter file are both spss files, the spss files can be called through an interface in a Java spssjavasplierin.
In the related art, the process of production inventory scheduling usually requires a dispatcher to perform manual calculation or use an algorithm with high learning difficulty to perform processing, so that the efficiency of scheduling processing is influenced; in the embodiment of the present application, through the above steps S202 to S204, the scheduling generation instruction input by the scheduler at the terminal 12 is received, and the scheduling result is obtained by calling the scheduling algorithm file according to the received basic parameter file and the service parameter file, so in the scheduling processing method, the scheduler can quickly obtain the scheduling result only by editing and uploading the basic parameter file and the service parameter file on the operation page of the terminal 12, thereby reducing excessive dependence of the scheduler on the experience and technology of the scheduler, and effectively reducing the error problem caused by the human energy problem in the scheduling process, thereby solving the problem of low efficiency in the scheduling processing method, and achieving the improvement of the accuracy and efficiency of the scheduling processing.
In some embodiments, when the basic parameter file is an Excel file and the service parameter file is an Excel file, reading and analyzing the content in the Excel file by using an Apache POI technology, reading the scheduling algorithm parameter, the basic parameter and the service parameter, and inputting the scheduling algorithm parameter, the basic parameter and the service parameter into a scheduling algorithm model in the scheduling algorithm file to obtain the scheduling result; in the embodiment of the application, the Excel file is analyzed by calling the POI open source library, so that a dispatcher can edit basic parameters and service parameters by using common and easily-handed Excel software, the working difficulty of the dispatcher is simplified, and the efficiency of the dispatching processing method is further improved.
In some of these embodiments, a method of scheduling a process is provided. Fig. 3 is a second flowchart of a scheduling processing method according to an embodiment of the present application, and as shown in fig. 3, the method further includes the following steps:
step S302, under the condition of receiving the scheduling preview instruction, sending the scheduling result to the terminal 12 through the WebSocket protocol for displaying; during the calculation process, the server 14 transmits the execution content to the operation interface of the terminal 12 through the WebSocket protocol for display; and after the calculation is finished, the server 14 reads the Excel result file generated by the calculation, analyzes the Excel result file and finally displays the Excel result file on the operation interface of the terminal 12. In addition, the dispatcher can also check and download basic parameter files, service parameter files and dispatching result files which are executed in the dispatching record calendar list each time, and can delete and modify dispatching results. Through the step S302, the dispatcher can more conveniently check the historical dispatching record, so that the informatization degree of the factory dispatching work is further improved.
In some of these embodiments, a method of scheduling a process is provided. Fig. 4 is a flowchart of a third scheduling processing method according to an embodiment of the present application, and as shown in fig. 4, the method further includes the following steps:
step S402, comparing the basic parameter file with a first preset template, where the first preset template may be a basic parameter template file that is input by a dispatcher at the terminal 12 in advance and stored in the server 14; under the condition that the basic parameter file is matched with the first preset template, the basic parameter file passes the file template verification, and a first editing authority is opened according to the received basic modification instruction, wherein the first editing authority allows the dispatcher to edit the basic parameter file on line in the terminal 12; for example, after the basic parameter file is uploaded, if the scheduling algorithm parameter in the uploaded basic parameter file needs to be modified, the scheduler may click an "online edit" button in the basic data maintenance frame to edit the basic parameter file, and click a "save" button to save after the modification is completed.
Step S404, comparing the service parameter file with a second preset template, where the second preset template may be a service parameter template file that is input by a dispatcher at the terminal 12 in advance and stored in the server 14; and under the condition that the service parameter file is matched with the second preset template, the basic parameter file passes the file template verification, and a second editing right is opened according to the received service modification instruction.
In addition, in the case that the basic parameter file or the service parameter file does not pass the file template verification, it indicates that the basic parameter file or the service parameter file is not compliant, the server 14 needs to send an error prompt message to the terminal 12, so as to prompt the dispatcher to modify the format of the basic parameter file or the service parameter file.
Through the steps S402 to S404, template verification is carried out on the basic parameter file and the service parameter file, so that the file uploading standardization of a dispatcher is ensured; meanwhile, under the condition that the uploaded files are in compliance, the dispatcher is allowed to edit the uploaded files on line, so that the dispatching processing process is more convenient and faster, and the efficiency and the accuracy of the dispatching processing method are improved.
In some embodiments, after receiving the service parameter file sent by the terminal 12 and before receiving the scheduling generation instruction, the method further includes the following steps: under the condition of receiving a synchronization instruction, carrying out synchronization processing on the service parameter file through an SAP system; wherein, the SAP system is synchronized through an http interface of Restful; when a dispatcher synchronizes data from the SAP system to a service parameter file, the obtained data needs to be written into an Excel file through the POI, and the Excel file is stored in a specified directory. Through the steps, the method provides a function of synchronizing data from SAP, and is convenient for a dispatcher to update dynamic service parameters in real time, so that the dispatching processing process is more convenient and faster.
In some embodiments, after the service parameter file is synchronized by the SAP system, the method further includes the following steps: detecting a first updating time of the basic parameter file and a second updating time of the service parameter file; sending a reminding message to the terminal 12 when the first updating time is greater than a preset time range, or the first updating time is later than the second updating time, or the service parameter file is not uploaded again after the synchronization processing; wherein, the reminding information can comprise: cause of error and time of error; the preset time range can be set by a dispatcher according to actual conditions; through the steps, under the condition that the basic parameter file and/or the service parameter file are not updated in time, the reminding information is sent to the terminal 12, so that a dispatcher is reminded of updating the file in time, errors of a dispatching result caused by untimely file updating are avoided, and the accuracy of the dispatching processing method is effectively improved.
In some embodiments, after receiving the basic parameter file sent by the terminal 12, the method further includes the following steps: sending the basic parameter file to a FastDFS file server, and storing a database; when the algorithm calculation needs to be carried out on the designated parameters, the stored Excel parameter file is downloaded, the content in the Excel is read and analyzed through the POI technology, and then data display and data standby are carried out. The basic parameter files are stored through the FastDFS file server, so that data safety and backup in the scheduling processing process are realized, and the safety of the scheduling processing method is improved.
The following describes an embodiment of the present invention in detail with reference to an actual application scenario, and fig. 5 is a fourth flowchart of a scheduling processing method according to the embodiment of the present application, and specific implementation steps of the scheduling processing method are shown in fig. 5.
Step S502, indicating the system to start running; fig. 6A is a schematic view of an operation interface according to an embodiment of the present application, as shown in fig. 6A, a dispatcher clicks an "upload update file" button in a basic data maintenance frame of an operation interface of a terminal 12, selects an Excel file stored with basic parameters, and at this time, a program checks template compliance of the basic parameter file, and performs error reporting and displaying if a rule is not met; after the basic parameter file is uploaded, if parameters in the uploaded file need to be modified, an online editing button in the basic data maintenance frame can be clicked to edit the file, and a saving button is clicked to save the file after the modification is finished.
Step S504, the dispatcher clicks an 'upload update file' button in a service data maintenance frame of an operation interface, selects an Excel file stored with service parameters, and the server 14 performs template compliance check on the uploaded Excel file as the basic parameter file is checked; if the uploaded service parameter file needs to be modified, an 'online editing' button can be clicked to modify online.
Step S506, determining whether SAP synchronization is needed, as shown in fig. 6A, if data needs to be synchronized from SAP to the service parameter file, the dispatcher clicks the "synchronize SAP" button to perform data synchronization.
Step S508, after uploading the basic parameters and the service parameters is completed, fig. 6B is a schematic diagram of an operation interface according to the embodiment of the present application, as shown in fig. 6B, the dispatcher clicks a "dispatch generation" button, calls out the execution console, and after clicking a "start generation" button in the console, the server 14 will automatically execute, and output the execution information to a page to be displayed to the dispatcher; at this time, the server 14 checks whether the basic parameter file is updated within 30 days, and if not, the server performs error prompt through the terminal 12.
Step S510, the server 14 checks whether the service parameter file is newer than the basic data file; if not, carrying out error prompt and uploading the service parameter file again; in addition, if the service parameters are SAP synchronized but are not edited online or uploaded again, an error prompt is made.
Step S512, calling out a scheduling execution console, starting to execute scheduling, and printing an execution process to the terminal 12 console through Websocket in the scheduling execution process; in the execution process of the scheduling processing, a dispatcher can click a 'stop scheduling' button at any time to carry out termination operation; in the case of execution failure, the server 14 stops the program operation in advance.
And step S514, after the scheduling execution is finished, the dispatcher can click the 'preview scheduling result' in the scheduling execution console to perform online preview of the scheduling result. Or clicking a 'scheduling result' button on a scheduling record list page to download a scheduling result Excel file.
It should be understood that, although the steps in the flowcharts of fig. 2 to 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
This embodiment also provides a scheduling processing apparatus, which is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus is omitted here. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a first block diagram of a scheduling processing apparatus according to an embodiment of the present application, and as shown in fig. 7, the apparatus includes: a receiving module 72, a reading module 74 and an obtaining module 76; the receiving module 72 is configured to receive a basic parameter file sent by the terminal 12, and receive a service parameter file sent by the terminal 12; the reading module 74 is configured to, in a case of receiving a scheduling generation instruction, read a scheduling algorithm parameter and a basic parameter of the basic parameter file, and read a service parameter of the service parameter file; the obtaining module 76 is configured to invoke a scheduling algorithm file to obtain a scheduling result according to the scheduling algorithm parameter, the basic parameter, and the service parameter.
Through the above embodiment, the receiving module 72 receives the scheduling generation instruction input by the scheduler at the terminal 12, and the obtaining module 76 obtains the scheduling result by calling the scheduling algorithm file according to the received basic parameter file and the service parameter file, so in the scheduling processing method, the scheduler can quickly obtain the scheduling result only by editing and uploading the basic parameter file and the service parameter file on the operation page of the terminal 12, thereby reducing excessive dependence of the scheduling work on the experience and technology of the scheduler, and effectively reducing the error problem caused by the energy problem of people in the scheduling process, thereby solving the problem of low efficiency in the scheduling processing method, and realizing the improvement of the accuracy and efficiency of the scheduling processing.
In some embodiments, the obtaining module 76 is further configured to, in a case that the basic parameter file is an Excel file and the service parameter file is an Excel file, read the scheduling algorithm parameter and the service parameter through an Apache POI technique, and input the scheduling algorithm parameter and the service parameter into the scheduling algorithm file to obtain the scheduling result.
In some embodiments, a scheduling processing apparatus is provided, fig. 8 is a structural block diagram of a scheduling processing apparatus according to an embodiment of the present application, and as shown in fig. 8, the apparatus includes all the modules shown in fig. 7, and further includes a display module 82, where the display module 82 is configured to, in a case that a scheduling preview instruction is received, send a scheduling result to the terminal 12 through a WebSocket protocol for display.
In some embodiments, the apparatus for scheduling processing further comprises an editing module. The editing module is used for comparing the basic parameter file with a first preset template, and opening a first editing permission according to a received basic modification instruction under the condition that the basic parameter file is matched with the first preset template; the editing module compares the service parameter file with a second preset template, and opens a second editing right according to the received service modification instruction under the condition that the service parameter file is matched with the second preset template.
In some embodiments, the apparatus for scheduling processing further comprises a synchronization module; the synchronization module is used for carrying out synchronization processing on the service parameter file through the SAP system under the condition of receiving the synchronization instruction.
In some embodiments, the apparatus for scheduling processing further comprises an update module; the updating module is used for detecting the first updating time of the basic parameter file and the second updating time of the service parameter file; the update module sends a reminding message to the terminal 12 when the first update time is greater than a preset time range, or the first update time is later than the second update time, or the service parameter file is not uploaded again after the synchronization processing.
In some embodiments, the receiving module 72 is further configured to send the base parameter file to a FastDFS file server for storage.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
In this embodiment, a system for scheduling processing is provided, and fig. 9 is a first structural block diagram of a scheduling processing system according to an embodiment of the present application, and as shown in fig. 9, the system includes: a terminal 12, a transmission device 92, and a server 14; wherein the terminal 12 is connected to the server 14 through the transmission device 92;
the server 14 is configured to receive a basic parameter file sent by the terminal 12 and a service parameter file sent by the terminal 12; the server 14 reads the scheduling algorithm parameter and the basic parameter of the basic parameter file and reads the service parameter of the service parameter file when receiving the scheduling generation instruction; the server 14 calls the scheduling algorithm file to obtain the scheduling result according to the scheduling algorithm parameter, the basic parameter and the service parameter.
The transmission device 92 is configured to, when receiving the scheduling preview instruction, send the scheduling result to the terminal 12 through the WebSocket protocol. The terminal 12 is used for providing an operation interface for user interaction; the operation interface comprises an uploading inlet of the basic parameter file and an uploading inlet of the service parameter file, and displays the scheduling result; through the operation interface, when the dispatcher prepares to calculate the parameters, the server 14 can automatically execute the scheduling processing only by clicking the 'scheduling generation' button and clicking the 'generation start' button in the popup window, and as shown in fig. 6B, the execution information of the scheduling processing process is output to the operation interface and displayed to the dispatcher; in the execution process, the dispatcher can stop the executing dispatch by clicking a 'stop generation' button of the operation interface; after the execution is completed, the dispatcher can click a 'preview dispatching result' button to preview the result.
Through the above embodiment, the server 14 receives the scheduling generation instruction input by the scheduler at the terminal 12, and obtains the scheduling result by calling the scheduling algorithm file according to the received basic parameter file and the service parameter file, so in the scheduling processing method, the scheduler can quickly obtain the scheduling result only by editing and uploading the basic parameter file and the service parameter file on the operation page of the terminal 12, thereby reducing excessive dependence of the scheduling operation on the experience and technology of the scheduler, and effectively reducing the error problem caused by the energy problem of people in the scheduling process, thereby solving the problem of low efficiency in the scheduling processing method, and realizing improvement of the accuracy and efficiency of the scheduling processing.
In some embodiments, a system for scheduling processing is provided, and fig. 10 is a block diagram of a second structure of a scheduling processing system according to an embodiment of the present application, and as shown in fig. 10, the system further includes: the FastDFS file server 102; wherein the FastDFS file server 102 is connected to the server 14; the FastDFS file server 102 is configured to receive and store the basic parameter file sent by the server 14.
In addition, the scheduling processing method described in the embodiment of the present application with reference to fig. 2 may be implemented by a computer device. Fig. 11 is a hardware configuration diagram of a computer device according to an embodiment of the present application.
The computer device may include a processor 112 and a memory 114 storing computer program instructions.
Specifically, the processor 112 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 114 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 114 may include a Hard Disk Drive (Hard Disk Drive, abbreviated HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 114 may include removable or non-removable (or fixed) media, where appropriate. The memory 114 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 114 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, Memory 114 includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically rewritable ROM (EAROM), or FLASH Memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
The memory 114 may be used to store or cache various data files for processing and/or communication use, as well as possibly computer program instructions for execution by the processor 112.
The processor 112 implements any of the methods of scheduling processing in the above embodiments by reading and executing computer program instructions stored in the memory 114.
In some of these embodiments, the computer device may also include a communication interface 116 and a bus 118. As shown in fig. 11, the processor 112, the memory 114, and the communication interface 116 are connected via a bus 118 to complete communication therebetween.
The communication interface 116 is used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application. The communication port 116 may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
The bus 118 includes hardware, software, or both to couple the components of the computer device to one another. Bus 118 includes, but is not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation, Bus 118 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (FSB), a HyperTransport (HT) interconnect, an ISA (ISA) Bus, an InfiniBand (InfiniBand) interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a Micro Channel Architecture (MCA) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a Video electronics standards Association Local Bus (VLB) Bus, or other suitable Bus or a combination of two or more of these. Bus 118 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The computer device may execute the scheduling processing method in the embodiment of the present application based on the obtained basic parameter file and the obtained service parameter file, thereby implementing the scheduling processing method described in conjunction with fig. 2.
In addition, in combination with the scheduling processing method in the foregoing embodiments, the embodiments of the present application may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the scheduling processing methods in the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.