Dynamic configuration method for WeChat applet refrigerator control interface

By configuring the layout configuration corresponding to the material number on the cloud server, the refrigerator control interface is dynamically generated, which solves the problem of fixed refrigerator control interface in the existing technology, and realizes the dynamic configuration of multiple refrigerators, saving development time and improving efficiency.

CN119311324APending Publication Date: 2025-01-14SICHUAN HONGMEI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411100181.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing refrigerator control interface is a fixed program interface, which leads to the need to redevelop and release new applet codes every time you modify or add functions, which is time-consuming and labor-intensive, and the refrigerator control interface of different models needs to be developed separately.

Method used

Using the dynamic configuration method of the WeChat mini-program refrigerator control interface, by configuring the layout configuration corresponding to the material number on the cloud server, sending a request to obtain the configuration file, parsing and dynamically generating the control interface, and users operate functional components to control the refrigerator to realize the dynamic configuration of the interface. .

Benefits of technology

The dynamic configuration of the refrigerator control interface is realized. Only a set of mini program code is needed to develop, and multiple refrigerator controls are realized through different configuration files. Modifying the refrigerator function does not require modifying the mini program code, saving development and maintenance time, improving development efficiency and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311324A_ABST
    Figure CN119311324A_ABST
Patent Text Reader

Abstract

The invention discloses a dynamic configuration method for a WeChat applet refrigerator control interface. The method comprises the steps that a refrigerator WeChat applet is started to select a refrigerator for control; sending a request to the cloud and carrying the refrigerator material number parameter; the cloud server returns a corresponding configuration file; analyzing the configuration file by the applet; dynamically generating a control interface; a user operates the functional assembly to control the refrigerator. The dynamic configuration method for the WeChat applet refrigerator control interface has the remarkable advantage that dynamic configuration of the refrigerator control interface is achieved. Only one set of applet codes needs to be developed, and control over multiple types of refrigerators is achieved through different configuration files.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and more specifically to a dynamic configuration method for a WeChat applet refrigerator control interface. Background Art

[0002] In the prior art, the control interface of the refrigerator is mostly a fixed program interface, and the control interface of refrigerators of different models is also developed separately. Every time a modification or addition of a new function is required, a new mini-program code needs to be redeveloped and released, which is time-consuming and laborious. Summary of the invention

[0003] In view of the deficiencies in the prior art, the present invention proposes a dynamic configuration method for a WeChat applet refrigerator control interface.

[0004] A method for dynamically configuring a refrigerator control interface of a WeChat applet, comprising:

[0005] Open the refrigerator WeChat applet and select the refrigerator to control;

[0006] Send a request to the cloud and carry the refrigerator material number parameter;

[0007] The cloud server returns the corresponding configuration file;

[0008] Mini program parses configuration files;

[0009] Dynamically generate control interfaces;

[0010] The user operates the functional component to control the refrigerator.

[0011] In some embodiments, sending a request to the cloud and carrying the material number parameter of the refrigerator includes: configuring a layout configuration corresponding to each material number in a management background, and saving the configuration to a cloud server.

[0012] In some embodiments, sending a request to the cloud and carrying the refrigerator material number parameter also includes: sending a request to a cloud server to obtain a configuration file corresponding to the material number.

[0013] In some embodiments, the cloud server returns the corresponding configuration file, including: the mobile terminal receives the configuration file and passes it to the layout entry component.

[0014] In some embodiments, the applet parses the configuration file and dynamically generates a control interface, including laying out entry components according to the structure nesting, cabin names and functions described in the configuration file, and dynamically assembling the control interface.

[0015] In some embodiments, the configuration file is in JSON format and includes interface layout, functional components, and cabin structure description.

[0016] In some embodiments, the layout entry component dynamically loads and assembles functional components by recursively parsing a configuration file.

[0017] The beneficial effects of the present invention are:

[0018] A significant advantage of the present invention is that it provides a dynamic configuration method for a refrigerator control interface of a WeChat applet, thereby realizing dynamic configuration of the refrigerator control interface. Only one set of applet code needs to be developed to control multiple refrigerators through different configuration files. To modify the refrigerator function, there is no need to modify the applet code, but only to update the cloud configuration file. This greatly saves development and maintenance time and improves development efficiency and flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0020] Figure 1 This is a framework diagram of a dynamic configuration system for the refrigerator control interface of a WeChat applet;

[0021] Figure 2 It is a flow chart of a method for dynamically configuring a refrigerator control interface of a WeChat applet;

[0022] Figure 3-Figure 6 This is a flow chart taking the Meiling Smart Control applet as an example in the embodiment. DETAILED DESCRIPTION

[0023] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0024] It should be understood that the "system", "device", "unit" and / or "module" used in this specification is a method for distinguishing different components, elements, parts, parts or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

[0025] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0026] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0027] See also Figure 2 , a dynamic configuration method of a WeChat applet refrigerator control interface, comprising:

[0028] Open the refrigerator WeChat applet and select the refrigerator to control;

[0029] Send a request to the cloud and carry the material number parameters of the refrigerator: configure the layout configuration corresponding to each material number in the management background, and save the configuration to the cloud server; send a request to the cloud server to obtain the configuration file corresponding to the material number. In some embodiments, the configuration file format adopts JSON format, including interface layout, functional components, and cabin structure description.

[0030] The cloud server returns the corresponding configuration file: the mobile terminal receives the configuration file and passes it to the layout entry component.

[0031] The mini program parses the configuration file: the layout entry component dynamically assembles the control interface according to the structure nesting, cabin name and function described in the configuration file.

[0032] The layout entry component dynamically loads and assembles functional components by recursively parsing the configuration file. Functional components: include temperature control, switch control, function switching and other functions.

[0033] Dynamically generate control interfaces;

[0034] The user operates the functional component to control the refrigerator.

[0035] See also Figure 1 , is the system architecture diagram of this application; including:

[0036] Mini Program End:

[0037] Layout entry component: receives and parses the configuration file, and dynamically generates the interface based on the configuration.

[0038] Functional components: including temperature control, switch control, function switching and other functions.

[0039] Management backend:

[0040] Configuration management module: provides the binding, editing and saving functions of material numbers and layout configurations.

[0041] Cloud Server:

[0042] Configuration storage module: stores the configuration files corresponding to each material number.

[0043] Interface module: provides a query interface for the mobile terminal to obtain configuration files based on the material number.

[0044] The specific embodiments are as follows:

[0045] A method for dynamically configuring a refrigerator control interface of a WeChat applet, comprising:

[0046] Step 1: Open the Meiling Smart Control applet and click Figure 3 The first BCD-511WPCZX refrigerator item in the list;

[0047] Step 2: The applet establishes Bluetooth communication with the device and then jumps to the device control page;

[0048] Step 3: Use the cloud interface to pass in the SN parameters to obtain the corresponding layout configuration file;

[0049] Step 4: The applet renders the corresponding refrigerator layout and function list according to the layout file, such as Figure 4 ;

[0050] Step 5: Return to the applet list page and click the second BCD-507WPU9CZX item in the list;

[0051] Step 6: Go through steps 3 and 4 again to render the corresponding refrigerator interface, such as Figure 5 ;

[0052] Step 7: It is not difficult to see Figure 4 and Figure 5 The blue layout structure of the refrigerator is completely different. Figure 5 Refrigerator Ratio Figure 4 More variable temperature zones, Figure 4 Compare Figure 5 Added voice control menu;

[0053] Step 8: Click Figure 5 In the middle variable temperature zone, you can switch to the appropriate variable temperature zone temperature mode, such as Figure 6 shown.

[0054] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. A dynamic configuration method for a WeChat applet refrigerator control interface, characterized in that: include: Open the refrigerator WeChat applet and select the refrigerator to control; Send a request to the cloud and carry the refrigerator material number parameter; The cloud server returns the corresponding configuration file; Mini program parses configuration files; Dynamically generate control interfaces; The user operates the functional component to control the refrigerator.

2. A method for dynamically configuring a refrigerator control interface of a WeChat applet according to claim 1, characterized in that: The sending of the request to the cloud and carrying the material number parameter of the refrigerator includes: configuring the layout configuration corresponding to each material number in the management background, and saving the configuration to the cloud server.

3. A method for dynamically configuring a refrigerator control interface of a WeChat applet according to claim 1, characterized in that: The sending of the request to the cloud and carrying the material number parameter of the refrigerator also includes: sending a request to a cloud server to obtain a configuration file corresponding to the material number.

4. A method for dynamically configuring a WeChat applet refrigerator control interface according to claim 1, characterized in that: The cloud server returns the corresponding configuration file, including: the mobile terminal receives the configuration file and passes it to the layout entry component.

5. A method for dynamically configuring a WeChat applet refrigerator control interface according to claim 4, characterized in that: The mini program parses the configuration file and dynamically generates a control interface, including layout entry components according to the structure nesting, cabin name and function described in the configuration file, and dynamically assembling the control interface.

6. A method for dynamically configuring a refrigerator control interface of a WeChat applet according to claim 4, characterized in that: The configuration file is in JSON format and contains interface layout, functional components, and cabin structure description.

7. A method for dynamically configuring a refrigerator control interface of a WeChat applet according to claim 4, characterized in that: The layout entry component dynamically loads and assembles functional components by recursively parsing the configuration file.