Method, system and equipment for automatically generating quality assurance state and medium
By automatically generating warranty status methods, systems and equipment, the warranty status of new energy power generation equipment is automatically calculated, solving the problems of low efficiency and insufficient accuracy of manual input, and realizing efficient and accurate warranty status management.
Patent Information
- Application Number
- CN202510673704.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2025-09-05
AI Technical Summary
In the existing technology, the calculation of the warranty status of new energy power generation equipment relies on manual input, which is inefficient, lacks accuracy, wastes labor costs, and cannot meet the needs of large-scale data processing.
By using a method, system and device for automatically generating warranty status, the status information of the device is regularly obtained, and a computer program is used to automatically calculate the warranty status based on the device's warranty entry date, warranty exit date and current time, thereby achieving automatic update and verification.
It realizes the automatic generation of quality assurance status, improves calculation efficiency and accuracy, reduces manual intervention, and improves the real-time and accuracy of data processing.
Smart Images

Figure CN120598519A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data computing and relates to a method, system, device and medium for automatically generating quality assurance status. Background Art
[0002] Continuous advancements in renewable energy power generation technology are improving equipment performance and enhancing reliability. For example, the conversion efficiency of photovoltaic cells continues to rise, and the capacity of wind turbines continues to increase. These improvements provide a stronger technical foundation for establishing a quality assurance system. Consumers are highly concerned with the performance and after-sales service of renewable energy power generation equipment. Warranty policies, as a key indicator of a company's after-sales service level, directly influence consumer purchasing decisions.
[0003] As the group's business continues to expand, the amount of basic information collected and entered increases exponentially, and the requirements for some basic information are becoming increasingly stringent. Previously, warranty dates were manually calculated, entered, and modified, which had certain limitations, low efficiency, wasted labor costs, and lacked accuracy and real-time performance. Summary of the Invention
[0004] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, system, device and medium for automatically generating warranty status. This method, system, device and medium can automatically generate the warranty status of the device and avoid various problems caused by manual calculation.
[0005] To achieve the above object, the present invention discloses a method for automatically generating warranty status, comprising:
[0006] Regularly obtain device status information, including the device's warranty entry and end-of-warranty dates;
[0007] Generate the device's warranty status based on the device's status information and current time.
[0008] The method for automatically generating warranty status according to the present invention is further improved in that:
[0009] Furthermore, when both the warranty entry date and the warranty exit date of the equipment are empty, the warranty status of the equipment is not under warranty.
[0010] Furthermore, when the warranty entry date of the equipment is empty and the warranty exit date is not empty, it will be prompted that the warranty exit date is not empty and cannot be saved.
[0011] Furthermore, when the warranty entry date of the equipment is not empty and the warranty exit date of the equipment is empty, the warranty period is first checked to see if it is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. If the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. If the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is edited, and the warranty status of the equipment is now under warranty.
[0012] Furthermore, when the equipment's warranty entry date and warranty exit date are not empty, the system first checks whether the warranty period is filled in. When the warranty period is not filled in, it prompts that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is allowed to be edited, and the current time is compared with the warranty exit date. When the current time is greater than the warranty exit date, the equipment's warranty status is out of warranty. When the current time is less than the warranty exit date, the equipment's warranty status is in warranty.
[0013] The present invention discloses a system for automatically generating warranty status, comprising:
[0014] An acquisition module is used to periodically acquire device status information, wherein the device status information includes a warranty entry date and a warranty expiration date of the device;
[0015] The generation module is used to generate the warranty status of the device based on the status information of the device and the current time.
[0016] The system for automatically generating warranty status according to the present invention is further improved in that:
[0017] Furthermore, when the warranty entry date of the equipment is not empty and the warranty exit date of the equipment is empty, the warranty period is first checked to see if it is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. If the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. If the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is edited, and the warranty status of the equipment is now under warranty.
[0018] Furthermore, when the equipment's warranty entry date and warranty exit date are not empty, the system first checks whether the warranty period is filled in. When the warranty period is not filled in, it prompts that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is allowed to be edited, and the current time is compared with the warranty exit date. When the current time is greater than the warranty exit date, the equipment's warranty status is out of warranty. When the current time is less than the warranty exit date, the equipment's warranty status is in warranty.
[0019] The present invention discloses a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for automatically generating a warranty status are implemented.
[0020] The present invention discloses a computer-readable storage medium, wherein 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 automatically generating a warranty status are implemented.
[0021] The present invention has the following beneficial effects:
[0022] The method, system, device, and medium for automatically generating warranty status described in the present invention periodically obtain device status information during specific operation, and generate the device warranty status based on the device status information and the current time, thereby achieving the purpose of automatically generating the device warranty status and avoiding various problems caused by manual calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings, which constitute part of the present invention, are intended to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are intended to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:
[0024] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0026] In the description of the present invention, it is to be understood that the terms “include” and “comprise” indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0027] It should also be understood that the terms used in the present specification are only for the purpose of describing particular embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0028] It should be further understood that the term "and / or" as used in the present specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.
[0029] It should be understood that although the terms "first," "second," and "third" may be used to describe preset ranges in embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are merely used to distinguish one preset range from another. For example, without departing from the scope of embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0030] The word "if," as used herein, may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.
[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0032] The accompanying drawings illustrate various schematic diagrams of structures according to embodiments disclosed herein. These figures are not drawn to scale; for clarity, some details are exaggerated and some details may be omitted. The shapes of the various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary and may deviate in practice due to manufacturing tolerances or technical limitations. Those skilled in the art may design regions / layers with different shapes, sizes, and relative positions as needed.
[0033] Example 1
[0034] refer to Figure 1 The method for automatically generating warranty status of the present invention comprises the following steps:
[0035] Regularly obtain device status information;
[0036] Specifically, when both the warranty entry date and warranty exit date of the device are empty, the warranty status of the device is out of warranty;
[0037] When the warranty entry date of the device is empty and the warranty exit date is not empty, it will prompt that the warranty exit date is not empty and cannot be saved;
[0038] If the warranty entry date of the device is not empty and the warranty exit date of the device is empty, the system will first check whether the warranty period is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and the data cannot be saved. If the warranty period is filled in, the scheduled warranty exit period will be calculated based on the warranty entry date and the warranty period. The scheduled warranty exit period will then be compared with the current time to determine whether the scheduled warranty exit period is greater than the current time. If the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date will be edited and the device's warranty status will be "in warranty";
[0039] When both the warranty entry date and the warranty exit date of the equipment are not empty, the system will first check whether the warranty period is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is allowed to be edited, and the current time is compared with the warranty exit date. When the current time is greater than the warranty exit date, the warranty status of the equipment is out of warranty. When the current time is less than the warranty exit date, the warranty status of the equipment is in warranty.
[0040] The warranty status of the device is updated regularly at the preset time every day, and the information with a blank warranty date is filtered out; the current time is obtained, and the warranty date format is verified to be a standard date format. Then the current time is compared with the warranty date. If the current time is greater than the warranty date, the warranty status of the device is changed to warranty, otherwise, it is not warranty.
[0041] It should be noted that enabling a scheduled task means that the time is updated daily after the warranty period is configured through the management platform. For example, if the configuration information is "under warranty", after the warranty period has expired and the warranty requirements are met, the program will automatically enter the warranty period and be used for daily variable verification to achieve real-time and accurate automatic updates and detection.
[0042] Example 2
[0043] The system for automatically generating warranty status according to the present invention includes:
[0044] An acquisition module is used to periodically acquire device status information, wherein the device status information includes a warranty entry date and a warranty expiration date of the device;
[0045] The generation module is used to generate the warranty status of the device based on the status information of the device and the current time.
[0046] In this embodiment, when the warranty entry date of the equipment is not empty and the warranty exit date of the equipment is empty, the warranty period is first checked to see if it is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. If the warranty period is filled in, the scheduled warranty exit period is calculated by the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. If the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is edited, and the warranty status of the equipment is now under warranty.
[0047] In this embodiment, when the warranty entry date and warranty exit date of the equipment are not empty, the warranty period is first checked to see if it is filled in. When the warranty period is not filled in, a prompt appears indicating that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated using the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is allowed to be edited, and the current time is compared with the warranty exit date. When the current time is greater than the warranty exit date, the warranty status of the equipment is out of warranty. When the current time is less than the warranty exit date, the warranty status of the equipment is in warranty.
[0048] The division of modules in the embodiments of the present application is illustrative and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of the present application may be integrated into a single processor, or may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules.
[0049] Example 3
[0050] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for automatically generating a warranty status are implemented, for example, including: periodically obtaining device status information, wherein the device status information includes the device's warranty entry and end dates; and generating the device's warranty status based on the device status information and the current time. The memory may include internal memory, such as a high-speed random access memory (RAM), or may also include non-volatile memory, such as at least one disk drive. The processor, network interface, and memory are interconnected via an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (ESIA) bus, and may be categorized as an address bus, a data bus, a control bus, or the like. The memory is used to store programs, specifically, programs that may include program code, which includes computer operating instructions. The memory may include both internal memory and non-volatile memory, and provides instructions and data to the processor.
[0051] Example 4
[0052] A computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for automatically generating warranty status, including, for example: periodically obtaining device status information, the device status information including the device's warranty entry and end dates; and generating the device's warranty status based on the device status information and the current time. Specifically, the computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. The volatile memory may include random access memory and / or cache memory, etc. The non-volatile memory may include read-only memory, a hard disk, flash memory, an optical disk, a magnetic disk, etc.
[0053] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0054] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 steps in the process. 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.
[0055] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work 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 The function specified in one or more boxes.
[0056] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0057] Those skilled in the art will readily identify other embodiments of the present invention after considering the specification and disclosure of the invention. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
[0058] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
[0059] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any simple modification, change and equivalent structural change made to the above embodiment based on the technical essence of the present invention shall still fall within the scope of protection of the technical solution of the present invention.
Claims
1. A method for automatically generating warranty status, characterized in that: include: Regularly obtain device status information, including the device's warranty entry and end-of-warranty dates; Generate the device's warranty status based on the device's status information and current time.
2. The method for automatically generating warranty status according to claim 1, characterized in that: When both the warranty entry date and warranty expiration date of a device are empty, the warranty status of the device is Out of warranty.
3. The method for automatically generating warranty status according to claim 1, characterized in that: When the device's warranty entry date is empty and the warranty exit date is not empty, a prompt will appear saying that the warranty exit date is not empty and the data cannot be saved.
4. The method for automatically generating warranty status according to claim 1, characterized in that: When the equipment's warranty entry date is not empty and the equipment's warranty exit date is empty, first check whether the warranty period is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is edited. At this time, the warranty status of the equipment is under warranty.
5. The method for automatically generating warranty status according to claim 1, characterized in that: When both the warranty entry date and the warranty exit date of the equipment are not empty, the system will first check whether the warranty period is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is allowed to be edited, and the current time is compared with the warranty exit date. When the current time is greater than the warranty exit date, the warranty status of the equipment is out of warranty. When the current time is less than the warranty exit date, the warranty status of the equipment is in warranty.
6. A system for automatically generating warranty status, characterized in that: include: An acquisition module is used to periodically acquire device status information, wherein the device status information includes a warranty entry date and a warranty expiration date of the device; The generation module is used to generate the warranty status of the device based on the status information of the device and the current time.
7. The system for automatically generating warranty status according to claim 6, characterized in that: When the equipment's warranty entry date is not empty and the equipment's warranty exit date is empty, first check whether the warranty period is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is edited. At this time, the warranty status of the equipment is under warranty.
8. The system for automatically generating warranty status according to claim 6, characterized in that: When both the warranty entry date and the warranty exit date of the equipment are not empty, the system will first check whether the warranty period is filled in. If the warranty period is not filled in, it will prompt that the warranty period is not filled in and cannot be saved. When the warranty period is filled in, the scheduled warranty exit period is calculated based on the warranty entry date and the warranty period, and then the scheduled warranty exit period is compared with the current time. When the scheduled warranty exit period is greater than or equal to the current time, the warranty date cannot be edited. Otherwise, the warranty date is allowed to be edited, and the current time is compared with the warranty exit date. When the current time is greater than the warranty exit date, the warranty status of the equipment is out of warranty. When the current time is less than the warranty exit date, the warranty status of the equipment is in warranty.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for automatically generating a warranty status according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for automatically generating a warranty status according to any one of claims 1 to 5 are implemented.