Method and system for dynamic calculation and unified display of weight based on material type unit configuration

CN122925495APending Publication Date: 2026-10-16SHENZHEN INFINITE SESAME TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511984700.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-26
Publication Date
2026-10-16

AI Technical Summary

Technical Problem

[0004]1、数据不一致性:用户在不同模块中手动录入或查看可损耗固体物料重量时,可能因单位混淆而导致数据错误

Benefits of technology

[0019] 1. High data accuracy: The system automatically converts data, eliminating data errors caused by manual conversion mistakes or unit confusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122925495A_ABST
    Figure CN122925495A_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on the method and system of dynamic calculation and show weight of consumable solid material type, applied to commodity management field.The method comprises: in commodity basic setting, the basic unit of different consumable solid material type is pre-defined;When the system needs to show the total weight of consumable solid material goods in any module, the consumable solid material type associated with the goods and its pre-defined unit are obtained;According to the pre-set unit conversion rule, the weight of non-standard unit consumable solid material is dynamically converted into system unified g for collection and display.The application solves the total weight calculation error and display confusion caused by the different units of consumable solid material in multi-module commodity management system through unified configuration center, realizes the consistency and accuracy of data, and improves the automation level and user experience of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer software technology, and in particular to a method and system for dynamically calculating and uniformly displaying the weight of different types of perishable solid materials in a commodity management system. Background Technology

[0002] In commodity management systems for industries such as jewelry and mining, it is often necessary to manage various types of consumable solid materials, such as diamonds and jade. These different consumable solid materials use different basic units in industry practice. For example, diamonds are usually measured in "ct" (ct) as the primary unit for transactions and measurement, while jade and other gemstones are usually measured in "g" (g). However, in a complete enterprise management system, multiple modules such as inventory management, cost accounting, and sales outbound shipments require a unified and accurate total weight data, usually expressed in the standard weight unit "g".

[0003] The existing technical solutions have the following drawbacks:

[0004] 1. Data inconsistency: When users manually enter or view the weight of perishable solid materials in different modules, data errors may occur due to unit confusion.

[0005] 2. Calculation complexity: When calculating the total weight of goods containing multiple types of perishable solid materials, users need to manually convert the weights of different units before adding them up, which is tedious and prone to errors.

[0006] 3. Low level of system automation: The system lacks the ability to intelligently identify and automatically convert differences in units, and relies heavily on manual intervention, which reduces the efficiency and accuracy of data processing.

[0007] Therefore, there is an urgent need for a technical solution that can intelligently solve the data calculation and display problems caused by the different units of consumable solid materials at the system level. Summary of the Invention

[0008] (a) Purpose of the invention The purpose of this invention is to overcome the shortcomings of the prior art and provide a method and system for dynamically calculating and displaying the weight based on the type of consumable solid material. Through centralized configuration and automatic conversion, it achieves accurate and unified management of weight data for the entire system.

[0009] (II) Technical Solution To achieve the above objectives, the present invention adopts the following technical solution:

[0010] A method for dynamically calculating and displaying the weight based on the type of consumable solid material includes:

[0011] In the system's basic settings, a dedicated basic unit is preset for each type of consumable solid material.

[0012] When any module of the system needs to display the total weight of goods, the system will parse the perishable solid materials contained in the goods and query their corresponding basic units.

[0013] The system determines whether the base unit is consistent with the standard weight unit g set by the system.

[0014] If there is a discrepancy, the preset unit conversion rules will be invoked to automatically convert the weight of the consumable solid material to grams.

[0015] Finally, the system summarizes the weight of all materials and displays it uniformly in grams (g).

[0016] A system for implementing the above method includes: The module includes a configuration module, an identification module, a query module, a judgment and conversion module, and a display module.

[0017] (III) Beneficial Effects

[0018] Compared with the prior art, the beneficial effects of the present invention are:

[0019] 1. High data accuracy: The system automatically converts data, eliminating data errors caused by manual conversion mistakes or unit confusion.

[0020] 2. Strong consistency: Ensures that the total weight data displayed by all modules of the system is consistent in terms of data type and source.

[0021] 3. Improved efficiency: Users do not need to worry about unit conversions; the system automatically completes complex calculations, greatly improving the efficiency of data entry and query analysis.

[0022] 4. Flexible configuration: Managed through basic settings, it can be easily expanded to support more types of consumable solid materials and their corresponding unit conversion rules, making the system highly adaptable. Attached Figure Description

[0023] Figure 1 This is a general flowchart of the method according to an embodiment of the present invention.

[0024] Figure 2 This is a schematic diagram of the user interface used for basic unit configuration in the system of this invention. Detailed Implementation

[0025] Example 1:

[0026] refer to Figure 1 This embodiment provides a method for dynamically calculating and displaying the weight based on the type of consumable solid material. The specific process is as follows:

[0027] After the process begins, basic configuration is performed first: the system operator accesses the system's "Basic Product Settings" interface (corresponding to...). Figure 2 In this context, a dedicated base unit is preset for each type of consumable solid material. For example, the unit ct can be set for consumable solid material type A, and the unit g can be set for consumable solid material type B.

[0028] When a user views a product in the system's inventory or sales modules, a command is triggered, and the system responds by displaying the product's weight.

[0029] Next, the system performs acquisition and query operations: acquires the type of perishable solid material associated with the target product, and queries the basic unit set in the basic configuration based on the type of perishable solid material.

[0030] The system then proceeds to the judgment phase: determining whether the basic unit of measurement for the consumable solid material is the system's standard weight unit (i.e., g).

[0031] If not, proceed to the unit conversion step: the system converts the weight data to g according to preset rules (for example, for consumable solid materials in ct, the rule "weight (g) = weight (ct) / 5" is applied).

[0032] If so, no conversion is needed; proceed directly to the next step.

[0033] Finally, the system performs a summary display: it sums up all perishable solid materials and their weights (all in grams), and displays the total weight of the goods in grams on the interface. The process then concludes.

[0034] Example 2:

[0035] This embodiment focuses on illustrating the basic configuration steps for implementing the method of the present invention. Figure 2 This invention demonstrates the user interface used in the system for global unit configuration. This interface is the core of the system configuration module, allowing operators to establish a mapping between consumable solid material types and their specific basic units (such as g, ct). The configuration information stored in this interface serves as global basic data, shared and accessed by other functional modules of the system (such as inventory management and sales invoicing). When a user triggers weight calculation in any process described in Example 1, the system accesses the data rules configured through this interface, ensuring the consistency of weight data standards and the accuracy of calculations throughout the system. This static configuration interface is the logical starting point and core data source for subsequent dynamic calculations and unified display.

Claims

1. A method for dynamically calculating and displaying weight based on material type, characterized in that, Includes the following steps: S1: In the system's basic settings module, configure a basic unit for each type of consumable solid material; S2: In response to a product weight display command triggered in any functional module of the system, obtain the type of perishable solid material associated with the target product; S3: Based on the type of consumable solid material, query the basic unit configured in the basic settings module; S4: Determine whether the basic unit is the system's standard weight unit, g; S5: If not, then according to the preset unit conversion rules, convert the weight data recorded in the target goods in the basic unit into weight data expressed in g. S6: Summarize the weight data of all materials and / or perishable solid materials and display them uniformly in grams.

2. The method according to claim 1, characterized in that, In step S1, the basic unit includes at least one of g and ct.

3. The method according to claim 1, characterized in that, In steps S4 and S5, when the base unit is ct, the unit conversion rule is: weight (g) = weight (ct) / 5.

4. A system for implementing the method as described in any one of claims 1-3, characterized in that, include: The configuration module is used to configure a basic unit for each type of consumable solid material. The identification module is used to identify the type of perishable solid material associated with the target product in response to the product weight display instruction; The query module is used to query the configured basic unit based on the identified type of consumable solid material; The judgment and conversion module is used to determine whether the basic unit is g, and when the determination is no, to convert the weight data into g according to the preset unit conversion rules; The display module is used to summarize and display the total weight in a unified 'g' format.

5. The system according to claim 4, characterized in that, The configuration module is the global basic data setting module of the system, and its configuration data applies to the system's inventory management module, sales module, and procurement module.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1-3.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-3.