Glass batch rapid accounting method and related device
By automatically processing glass frit cube data and batch material type information, the time-consuming and laborious problem of manual accounting is solved, fast and accurate glass batch material accounting is achieved, and the efficiency and accuracy of glass frit cube development are improved.
Patent Information
- Application Number
- CN202410984268.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, manual calculation of batch materials during the development process of glass frit formulations is time-consuming and labor-intensive, and there are problems with accuracy. A method for quickly calculating glass batch materials is needed to improve calculation efficiency and accuracy.
Provide a quick accounting method and system for glass batch materials. By obtaining glass batch data and batch material type information, calculations are performed based on the preset accounting benchmark and glass weight, and automatic processing is performed to obtain batch material type and weight information, reducing human factors. Interference and errors.
It achieves rapid and accurate calculation of the proportion of glass batch materials, improves calculation efficiency and reliability, and can be adjusted and optimized according to different glass production needs and product standards.
Smart Images

Figure CN118762783A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of substrate glass, and in particular to a method for quickly calculating glass batch materials and a related device. Background Art
[0002] With the development of the global economy and the improvement of residents' living standards, the demand for special glass in various industries such as construction, automobiles, and electronics is growing. With the continuous emergence of new materials, new processes, and new technologies, the urgency of glass formula development is stronger and the workload is increasing. Glass formula development is an important part of technological innovation in the glass industry. At present, in the process of glass formula development, manual calculation of the formula batch is often used to melt the batch to characterize the performance of the melt-formed glass. However, manual calculation is time-consuming and labor-intensive, and there are certain problems with accuracy. Therefore, it is necessary to study a method for quickly calculating glass batches and improving the accuracy of calculations. Summary of the invention
[0003] The purpose of the present invention is to provide a method for quickly calculating glass batch materials and related devices to solve the disadvantage of slow manual calculation in the prior art.
[0004] In order to achieve the above object, the present invention provides the following technical solutions:
[0005] In a first aspect, a method for quickly calculating glass batch materials comprises the following steps:
[0006] Get glass material data;
[0007] Obtain the type information and corresponding mass fraction information of the batch material;
[0008] After the glass material square data matches the type information and the corresponding mass fraction information of the batch material, the batch material type information and the batch material weight information are calculated according to the preset calculation basis and the glass weight;
[0009] Matching the batch material type information with the batch material weight information, obtaining the batch material type information and the corresponding weight information and displaying them;
[0010] The batch material type information and the corresponding weight information are exported as batch material weight data to complete the rapid calculation of the batch material.
[0011] In some implementations, the step of obtaining glass frit data specifically includes:
[0012] Convert the horizontal material square data in the glass material square data into vertical material square data and then obtain the data;
[0013] In some implementations, the step of obtaining glass frit data further includes:
[0014] Directly obtain the original longitudinal material cube data in the glass material cube data.
[0015] In some embodiments, the calculation basis is based on mole fraction or mass fraction.
[0016] In some implementations, in the step of importing the glass frit cube data, repeated glass frit cube data is imported only once.
[0017] In a second aspect, a glass batch material rapid calculation system comprises:
[0018] A material formula acquisition module is used to acquire glass material formula data and transmit it to the material formula data conversion module;
[0019] The batch material type and content acquisition module is used to obtain the type information and corresponding mass fraction information of the batch material, and transmit the type information and mass fraction information to the material data conversion batch material module;
[0020] The material data conversion module is used to match the glass material data with the type information and the corresponding mass fraction information of the batch material, and then calculate according to the preset calculation basis and the glass weight to obtain the batch material type information and the corresponding weight information;
[0021] A batch material result display module is used to match the batch material type information with the batch material weight information, obtain the batch material type information and the corresponding weight information, and display them;
[0022] The batch material result export module is used to export the batch material type information and the corresponding weight information as batch material weight data to complete the rapid calculation of the batch material.
[0023] In some embodiments, the material square acquisition module includes: a horizontal material square acquisition module and a vertical material square acquisition module;
[0024] The horizontal material square acquisition module is used to convert the horizontal material square data in the glass material square data into vertical material square data and then acquire the data;
[0025] The longitudinal material cube acquisition module is used to directly acquire the original longitudinal material cube data in the glass material cube data.
[0026] In a third aspect, an electronic device comprises a memory, a processor and a computer program stored in the memory and executable in the processor, wherein the processor implements the steps of the method for rapid calculation of glass batch materials when executing the computer program.
[0027] In a fourth aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for rapid calculation of glass batch materials are implemented.
[0028] A fifth aspect provides a computer program product, the computer product comprising a computer program, and the computer program, when executed by a processor, implements the steps of the method for rapid calculation of glass batch materials.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] The present invention provides a method for rapid calculation of glass batch materials, comprising the following steps: configuring the type information of the batch materials and the mass fraction information corresponding to the batch materials; importing the glass material square data; calculating the batch material type information and the corresponding weight information according to the type information, mass fraction information and the glass material square data, and in combination with the preset calculation benchmark and the glass weight; obtaining the batch material ratio result according to the batch material type information and the corresponding weight information. The present invention can quickly calculate the batch material type and the corresponding weight information according to the batch material type information, mass fraction information and the glass material square data through the preset calculation benchmark and the automated data processing flow, greatly improving the efficiency and accuracy of the calculation. Compared with the traditional manual calculation method, the present invention adopts an automated data processing method, reduces human interference and errors, improves the accuracy and reliability of the calculation, and can be adjusted and optimized according to different glass production requirements and product standards. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is the main interface diagram of the glass batch material rapid calculation system provided in this embodiment;
[0032] Figure 2 This is a diagram of the import interface of the horizontal and vertical material squares in the glass batch material rapid calculation system provided in this embodiment;
[0033] Figure 3 This is a diagram of the import interface of the vertical material formula in the glass batch material rapid calculation system provided in this embodiment;
[0034] Figure 4 This is a diagram showing the batch material result display interface in the glass batch material rapid calculation system provided in this embodiment;
[0035] Figure 5 This is a diagram of the interface for exporting batch weight in the glass batch rapid calculation system provided in this embodiment.
[0036] Figure 6 A flow chart of a method for quickly calculating glass batch materials provided in this embodiment;
[0037] Figure 7 This is a schematic diagram of the structure of the glass batch material rapid calculation system provided in this embodiment. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings, and the described content is intended to explain the present invention rather than to limit it.
[0039] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or are inherent to these processes, methods, systems, products or apparatus.
[0040] like Figure 6 As shown, this embodiment provides a method for quickly calculating glass batch materials, comprising the following steps:
[0041] Step 1: Input glass frit cubic data and glass weight (in g), and select the calculation basis of glass frit cubic data, which is based on mass fraction or mole fraction;
[0042] Glass material data can be input manually. Glass material data can also be input by copying the material data in the Excel material table and pasting it, or by selecting the Excel material table in the file dialog box and batch writing the material data in the Excel material table.
[0043] When inputting glass material cube data, the horizontal cube data is converted into the vertical cube data and then inputted. The original vertical cube data can be directly inputted. After the cube formation and oxide position information in the glass material cube data are inputted for the first time, they are saved in the configuration file. There is no need to repeat the input operation when loading later. Therefore, the repeated glass material cube data is only imported once.
[0044] Step 2: In the batch configuration area, select the type of batch information and the corresponding mass fraction information of the batch;
[0045] Step 3: Based on the calculation benchmark, glass material data and glass weight in step 1, and combined with the batch material type information and the corresponding mass fraction information of the batch material in step 2, the batch material type information and the corresponding weight analysis are obtained through the preset calculation model, and finally the batch material mixing result is obtained.
[0046] When key information is entered in this method, it will be saved in the configuration file at the same time. When the operation is performed again, it will be automatically configured without the need for repeated operations.
[0047] like Figure 7 As shown, this embodiment provides a glass batch material rapid calculation system, including:
[0048] A glass batch material rapid calculation system, comprising:
[0049] A material formula acquisition module is used to acquire glass material formula data and transmit it to the material formula data conversion module;
[0050] The batch material type and content acquisition module is used to obtain the type information and corresponding mass fraction information of the batch material, and transmit the type information and mass fraction information to the material data conversion batch material module;
[0051] The material data conversion module is used to match the glass material data with the type information and the corresponding mass fraction information of the batch material, and then calculate according to the preset calculation basis and the glass weight to obtain the batch material type information and the corresponding weight information;
[0052] A batch material result display module is used to match the batch material type information with the batch material weight information, obtain the batch material type information and the corresponding weight information, and display them;
[0053] The batch material result export module is used to export the batch material type information and the corresponding weight information as batch material weight data to complete the rapid calculation of the batch material.
[0054] The glass batch material rapid calculation system provided in this embodiment includes a graphical human-computer interaction interface, including a main interface, a material recipe import interface and a batch material result export interface. The main interface is composed of a material recipe or batch material display area and a batch material type configuration area;
[0055] The material formula or batch material display area includes two tabs, including a batch material calculation benchmark tab and a batch material weighing weight tab. The batch material calculation benchmark tab is opened by default to display the material formula information. The batch material weighing weight tab is hidden by default, and this tab is used to display the batch material weight data. The batch material calculation benchmark tab includes a table (DataGridView control) for displaying the material formula information. The table displays the glass material square oxide vertically by default, and also includes a button for opening the material formula import interface (import material formula table excel), two buttons for pasting Excel data into the table (paste button and transpose paste button), a button for clearing the table data, a button for calculating the material formula, a glass weight input box, and a glass material square benchmark list box (the benchmark is mass fraction or molar fraction). The material formula or batch material display area corresponds to the material formula display module, which can display the glass material square data, and obtain the batch material type information and corresponding weight information through the preset calculation model, and display them.
[0056] The two buttons for pasting Excel data into the table are used to paste the glass material cube data presented vertically (vertical material cube); the transpose paste button is used to transpose the glass material cube data presented horizontally (horizontal material cube) and then write it into the table.
[0057] The batch material type configuration area is used to select the relevant batch material single option, and at the same time configure the mass fraction of the oxide introduced by the relevant nitrate and the additional introduction amount of phosphorus pentoxide (in mass fraction units). The batch material type configuration area corresponds to the above-mentioned batch material type configuration module, and can configure the type information of the batch material and the corresponding mass fraction information.
[0058] The material recipe import interface includes two interfaces: a horizontal material recipe tab and a vertical material recipe tab. The material recipe import interface corresponds to the material recipe import module.
[0059] The horizontal material recipe tab includes a button for selecting the path of the material recipe table (Excel), a worksheet name in the material recipe table (Excel), an input box (text box) for the position information of the material recipe name and the oxide in the worksheet, a list box for displaying all the material recipe names in the worksheet, a list box for displaying the names of the material recipes to be calculated, and a button for loading material recipe information, etc. After the material recipe import interface is displayed, it is activated (selected) by default, and the relevant information in the configuration file is automatically loaded into the input box (text box) for the position information of the material recipe name and the oxide in the worksheet. After modifying the content in the input box and closing the material recipe import interface, it is automatically saved in the configuration file. After the horizontal material party tab is activated, click the Select Material Party Table button to open the file selection dialog box, select the material party Excel file, and after confirming, load all material party names into the list box, then select the material party name to be calculated from the list box, and load it into the list box that displays the material party name to be calculated, then click the Load Material Party Information button to load the material party data to be calculated into the table that displays the material party information on the Mix Material Calculation Basis tab on the main interface, and close the interface where the horizontal material party tab is located.
[0060] The vertical material prescription tab has a similar function to the horizontal material prescription tab, and is mainly used to load the vertical material prescription data into the table displaying the material prescription information on the batch material calculation benchmark tab on the main interface.
[0061] After the material calculation basis, glass weight, and material data are all entered on the batch calculation basis tab, and the batch configuration on the batch configuration area is completed, click the calculation button on the batch calculation basis tab to activate the batch weighing tab and display the results on the tab.
[0062] The batch data on the batch weight tab is copied or imported into the specified Excel table. The specific operation is to click the Export batch button on the tab to pop up the batch result export interface. After the batch result export interface is displayed, the path and worksheet name of the Excel table to be imported in the loading configuration file and other information details are automatically sent. These information details can be modified. After confirmation, click the Export batch table button to automatically save the modified information details into the configuration file, export the batch weight data, and close the batch result export interface. This part of the exported batch result content corresponds to the above-mentioned batch proportion result export module.
[0063] The specific construction process of the glass batch material rapid calculation system provided in this embodiment is as follows:
[0064] like Figure 1 As shown, create the main form, create a TabControl1 control and a GroupBox1 control on it. The function of the TabControl1 control is to display the material formula table or the batch material calculation result table; the function of the GroupBox1 control is to configure the batch material type and the introduced oxide content. The isMdiContainer property of form1 is true. Add two tabs TabPage1 and TabPage2 to the TabControl1 control, and the corresponding Text properties are batch material calculation and batch material weighing table respectively. TabPage1 is opened by default, and TabPage2 is not displayed by default.
[0065] Create and arrange controls in the TabPage1 tab. The properties and events of each control are shown in Table 1.
[0066] Table 1 Properties and events of each control on TabPage1
[0067]
[0068]
[0069] The Text property of GroupBox1 is configured for the type of batch. The layout of the Label, TextBox, CheckBox, and RadioButton controls on it is shown in Figure 1 All TextBox controls on TabPage1 and GroupBox1 are bound to the text_keypress event, which ensures that the input content can only be numbers.
[0070] like Figure 4 As shown, create and arrange controls in the tab TabPage2. The properties and events of each control are shown in Table 2.
[0071] Table 2 Properties and events of each control on TabPage2
[0072]
[0073] Create a child form of form1, create a TabControl1 control on it, and create two tabs TabPage1 and TabPage2 on the control. The corresponding text attributes are material formula table information setting and batch weight export information setting, respectively. Figure 2 and Figure 3 . When the calculation button on form1 is clicked, the childform pops up, TabPage1 is displayed on it, but TabPage2 is not. When the export batch data button on form1 is clicked, the childform pops up, TabPage1 is not displayed on it, but TabPage2 is. The configuration file is opened in the constructor of childform, and the contents of the configuration file are stored in the public string array variable WbConfigur.
[0074] Create a Groupbox1 control on the Material Table Information Settings tab, set the text property of the control to the target file, and then create a TabControl3 control on the control. Create two tabs TabPage3 and TabPage4 on the TabControl3 control, and their corresponding text properties are horizontal material and vertical material. Both tabs are displayed, and TabPage3 is activated by default.
[0075] like Figure 2 As shown, controls are created and arranged on the TabPage3 control. The properties of each control are shown in Table 3 below;
[0076] Table 3 Properties of controls on TabPage3
[0077]
[0078] When TabPage3 is activated, TextBox1, TextBox2, TextBox3, TextBox4 and TextBox5 automatically load the corresponding information in WbConfigur. When TextBox1 and TextBox2 are not empty, click Button1 to pop up the file selection dialog box (the file type has been limited to excel files), select the material table, and then load all the material names in the selected material table into ListBox1 according to the contents of TextBox1 and TextBox2. Select the name of the material to be calculated in ListBox1, and then click Button2, and the name of the material to be calculated will be displayed in ListBox2. If the name of the material in ListBox2 is incorrect and needs to be modified, click Button3 or Button4. When TextBox3, TextBox4 and TextBox5 are not empty, after clicking Button5, the information in TextBox1, TextBox2, TextBox3, TextBox4 and TextBox5 is saved in the configuration file, and the material information to be calculated (material name, ingredients and content) is loaded into DataGridView1 in form1, and the child form childform is closed.
[0079] like Figure 3 As shown, the control properties and events on the TabPage4 tab are similar to those on TabPage3, except that TabPage2 is used to load vertically placed material information into DataGridView1 in form1.
[0080] TabPage3 and TabPage4 can be switched freely. After each switch, the TextBox text controls in the selected tab automatically load the corresponding information in WbConfigur.
[0081] When you click the Export Batch Data button on form1, the childform pops up, TabPage1 on the form is not displayed, but TabPage2 is displayed. Figure 5, the information in WbConfigur is automatically loaded into each TextBox control on TabPage2. If you need to modify it, manually modify the relevant information on each TextBox control. After the information in each TextBox control is confirmed, click the Export Mix Table button, and the mix information in the DataGridView2 control on the form will be automatically saved in the target excel file; in addition, the information entered in each TextBox control on the TabPage2 tab on the childform form is automatically saved in the configuration file, and then close the childform form and return to the form1 form.
[0082] The division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present invention may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0083] In this embodiment, a computer device is also provided, which includes a processor and a memory, wherein the memory is used to store a computer program (in this embodiment, the computer program includes a calculation component and an iteration component, and can perform model calculation and model update), the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of a method for rapid calculation of glass batch materials.
[0084] This embodiment also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the computer device and the extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of a glass batch material rapid accounting method in the above embodiment.
[0085] This embodiment further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the corresponding steps of a method for rapid calculation of glass batch materials in the above embodiment are implemented.
[0086] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0087] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for rapid calculation of glass batch materials, characterized in that: The following steps are involved: Get glass material data; Obtain the type information and corresponding mass fraction information of the batch material; After the glass material square data matches the type information and the corresponding mass fraction information of the batch material, the batch material type information and the batch material weight information are calculated according to the preset calculation basis and the glass weight; Matching the batch material type information with the batch material weight information, obtaining the batch material type information and the corresponding weight information and displaying them; The batch material type information and the corresponding weight information are exported as batch material weight data to complete the rapid calculation of the batch material.
2. A method for rapid calculation of glass batch materials according to claim 1, characterized in that: The step of obtaining glass material data specifically includes: The transverse material square data in the glass material square data is converted into longitudinal material square data and then acquired.
3. A method for rapid calculation of glass batch materials according to claim 2, characterized in that: The step of obtaining glass material data specifically includes: Directly obtain the original longitudinal material cube data in the glass material cube data.
4. A method for rapid calculation of glass batch materials according to claim 1, characterized in that: The calculation basis is based on mole fraction or mass fraction.
5. A method for rapid calculation of glass batch materials according to claim 1, characterized in that: In the step of importing the glass frit cube data, repeated glass frit cube data is imported only once.
6. A glass batch material rapid calculation system, characterized in that: include: A material formula acquisition module is used to acquire glass material formula data and transmit it to the material formula data conversion module; The batch material type and content acquisition module is used to obtain the type information and corresponding mass fraction information of the batch material, and transmit the type information and mass fraction information to the material data conversion batch material module; The material data conversion module is used to match the glass material data with the type information and the corresponding mass fraction information of the batch material, and then calculate according to the preset calculation basis and the glass weight to obtain the batch material type information and the corresponding weight information; A batch material result display module is used to match the batch material type information with the batch material weight information, obtain the batch material type information and the corresponding weight information, and display them; The batch material result export module is used to export the batch material type information and the corresponding weight information as batch material weight data to complete the rapid calculation of the batch material.
7. A glass batch material rapid calculation system according to claim 6, characterized in that: The material acquisition module includes: a horizontal material acquisition module and a vertical material acquisition module; The horizontal material square acquisition module is used to convert the horizontal material square data in the glass material square data into vertical material square data and then acquire the data; The longitudinal material cube acquisition module is used to directly acquire the original longitudinal material cube data in the glass material cube data.
8. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable in the processor. When the processor executes the computer program, the steps of a method for rapid calculation of glass batch materials as claimed in any one of claims 1 to 5 are realized.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for rapid calculation of glass batch materials according to any one of claims 1 to 5 are implemented.
10. A computer program product, the computer product comprising a computer program, characterized in that: When the computer program is executed by a processor, the steps of a method for rapidly calculating glass batch materials as claimed in any one of claims 1 to 5 are implemented.
