Intelligent equipment operation method based on rule configuration distribution and medium

By building a rule engine and splitting operation rules in smart devices, a new operation mode is generated, the problem of smart device function stereotypes is solved, user-defined and multi-device control is realized, and the intelligence and interoperability of the device is improved.

CN119002318APending Publication Date: 2024-11-22BEIJING MINGTUO HENGXIN TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411078646.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The functions of existing smart devices are fixed, making it difficult for users to expand outside the functional framework set by the manufacturer or customize the operating mode of the device, resulting in insufficient intelligent development of smart devices.

Method used

By building a rule engine, splitting and programming the operating rules of smart devices, a new operating mode is generated, allowing users to customize the operating mode of the device and controlling it through mobile applications, breaking the functional framework of the device manufacturer.

Benefits of technology

The multi-mode control and user-defined functions of smart devices are realized, which enhances the intelligence and humanization of the devices, reduces conflict problems during programming, and expands the functions and interoperability of the devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002318A_ABST
    Figure CN119002318A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of intelligent equipment, and particularly discloses an intelligent equipment operation method based on rule configuration distribution and a medium. The method comprises the steps that firstly, on one hand, a rule engine is built based on an equipment end application program, and on the other hand, operation rules of the intelligent equipment are extracted; then, the operation rule is split into independent meta-rules with a single function; then, judging whether every two meta rules conflict or not during execution; and finally, programming the rule configuration between the meta-rules by using an equipment end application program or a developed mobile end application program, and generating a new programmed operation mode to be executed by the intelligent equipment. By using the method, the intelligent equipment can have a programming function, so that a user can customize the operation mode of the intelligent equipment, and the intelligent equipment is more intelligent. The method can be widely applied to operation control of intelligent equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent devices, and in particular relates to an intelligent device operation method and medium based on rule-based configuration distribution. Background Art

[0002] With the development of intelligent technology, the intelligence level of equipment is also constantly improving. Existing intelligent devices, such as air conditioners, aromatherapy machines, humidifiers, etc. can be put into an intelligent network together to form an intelligent environment system.

[0003] Currently, smart devices on the market are generally equipped with WIFI chips. Users need to connect their smart devices to home WIFI and download the corresponding applications of the device manufacturers to remotely control the smart devices. However, the functions that users can control are basically preset by the smart device manufacturers. Because when the smart device is developed, the functions of the smart device are basically finalized, and it is difficult to support more functions. In this way, users can only issue instructions to the device within some functional frameworks set by the smart device manufacturers, and the smart development level of smart devices is not enough. Summary of the invention

[0004] The purpose of the present invention is to provide a method for operating an intelligent device based on rule-based configuration distribution. By using the method of the present invention, the intelligent device can have a programming function, so that the user can customize the operation mode of the intelligent device, making the intelligent device more intelligent; A second object of the present invention is to provide a computer-readable storage medium for storing a corresponding computer program of a smart device operation method based on rule-based configuration distribution.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows: A method for operating an intelligent device based on rule configuration distribution includes the following steps: S1. On the one hand, a rule engine is built based on the device-side application on the smart device; on the other hand, the operation rules of the smart device are extracted based on the operation mode of the smart device; S2. Split the operation rules of the smart device into a state where they cannot be split any further, and obtain meta-rules that are not dependent on other rules and can be run independently; S3, determining whether each two meta-rules conflict during execution; If there is no conflict between the two meta-rules, proceed to the next judgment; If there is a conflict between two meta-rules, the rule configuration between the two conflicting meta-rules is eliminated in the rule engine, and then the next judgment is made; When all judgments are completed, execute step S4; S4, programming the rule configuration between the meta-rules to generate a new programmed operation mode; S5. Allow the smart device to execute the programmed operating mode.

[0006] As a limitation, the rule engine constructed in step S2 uses the EasyRules rule engine.

[0007] As a second limitation, in step S4, the rule configuration between the meta-rules is programmed using a device-side application on a smart device or a mobile-side application developed on a mobile terminal.

[0008] As a further limitation, the steps of developing a mobile application on the mobile terminal include: Step 1: Demand analysis and planning. First, understand the target market, competitor analysis and user demand research, clarify the target users, core functions and expected problems of the App, and write a demand document; Step 2: In the design phase, design the interface layout, interaction flow, and visual elements of the App according to the requirements document to ensure a good user experience. Use tools to create interactive prototypes for easy review by team members and customers. Step 3: Formulate a technical solution, select a suitable platform, choose native development or cross-platform development based on needs and target groups, determine the backend technology stack such as server, database, API interface, and select necessary third-party services; Step 4: In the development phase, write code to implement the interface and interaction logic according to the UI design drawing; Step 5: During the testing phase, unit test the code modules to ensure that each function works as expected; integrate the functionality, performance, compatibility, and security of the entire App; invite users or use tools to conduct professional testing and collect feedback; Step 6: Deployment and launch, prepare the server and database for the production environment, produce the mobile app, and submit the app to the application center. Follow the rules of each market, and officially release the app after passing the review.

[0009] As a further limitation, when programming the rule configuration between the meta-rules in step S4 uses a mobile application developed on the mobile terminal, the smart device and the mobile terminal are connected to the same network.

[0010] As a third limitation, in step S5, the smart device is allowed to execute the programmed operating mode using a device-side application on the smart device or a mobile-side application on the mobile terminal.

[0011] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the above-mentioned smart device operation method based on rule-based configuration distribution.

[0012] Due to the adoption of the above technical solution, the present invention has the following technical advances compared with the prior art: (1) The present invention splits the operation mode of smart devices, which can break the functional framework of device manufacturers and expand the operation mode of smart devices; (2) The present invention can divide and program rules for multiple smart devices. The programmed operation mode can simultaneously control multiple smart devices, thereby strengthening the mutual cooperation between smart devices. (3) The present invention, based on the rule engine, allows users to customize the operation mode of smart devices through programming, making smart devices more intelligent, more in line with users' own usage habits, and more humane; (4) The present invention solves the conflict problem between meta-rules before programming, which can reduce the problem of program errors during programming.

[0013] The present invention belongs to the technical field of intelligent devices, and can enable intelligent devices to have programming functions, allowing users to customize the operation mode of the intelligent devices, making the intelligent devices more intelligent. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0015] In the attached picture: Figure 1 This is a flow chart of Example 1 of the present invention; Figure 2 This is a schematic diagram of rule splitting and conflict judgment in Example 1 of the present invention; Figure 3 This is an interactive diagram of the editing page of the mobile application in Example 1 of the present invention. DETAILED DESCRIPTION

[0016] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0017] Embodiment 1 A method for operating a smart device based on rule-based configuration distribution In this embodiment, the smart device selected is a smart purification aromatherapy machine, and the mobile terminal selected is a user's mobile phone. In actual application, the smart device can select one or more different smart devices according to needs, and the mobile terminal is not limited to a mobile phone.

[0018] like Figure 1 As shown, this embodiment includes the following steps performed in sequence: S100, on the one hand, builds the EasyRules rule engine based on the device-side application of the smart purification aromatherapy machine; on the other hand, extracts the operation rules of the smart purification aromatherapy machine based on the operation mode of the smart purification aromatherapy machine.

[0019] The operation rules of the intelligent purification aromatherapy machine in this embodiment include wind speed gear adjustment, negative oxygen ion on and off, UV light on and off, and aromatherapy on and off.

[0020] When this embodiment is not used, when the user wants to adjust the operating mode of the intelligent purification aromatherapy machine, he can only adjust the wind speed, negative oxygen ions, UV light or aromatherapy one by one, and cannot adjust multiple rules at the same time, nor can he set mutual jumps between the operating rules.

[0021] S200, split the operation rules of the intelligent purification aromatherapy machine into a state where they cannot be split any further, and obtain meta-rules that are not dependent on other rules and can be run independently.

[0022] In this embodiment, after the intelligent purification aromatherapy machine is split into rules, the meta-rules obtained are: wind speed adjustment, negative oxygen ion on, negative oxygen ion off, UV light on, UV light off, aromatherapy on, aromatherapy off.

[0023] S300, determining whether every two meta-rules conflict during execution; If there is no conflict between the two meta-rules, proceed to the next judgment; If there is a conflict between two meta-rules, the rule configuration between the two conflicting meta-rules is eliminated in the rule engine, and then the next judgment is made; When all judgments are completed, step S400 is executed.

[0024] like Figure 2 As shown, the meta-rules after splitting the intelligent purification aromatherapy machine rules are judged for conflicts, and it is obvious that conflicting meta-rules can be obtained. At this time, it is necessary to eliminate the rule configuration between the two conflicting meta-rules in the rule engine.

[0025] S400, programming the rule configuration between the meta-rules on the device-side application of the intelligent purification aromatherapy machine or the mobile-side application developed on the user's mobile phone to generate a new programmed operation mode.

[0026] When programming, you need to use the device-side application of the smart purification aromatherapy machine or the mobile-side application developed on the user's mobile phone, and the operating mode after programming is not unique.

[0027] The steps to develop the corresponding mobile application on the user's phone include: Step 1: Demand analysis and planning. First, understand the target market, competitor analysis and user demand research, clarify the target users, core functions and expected problems of the App, and write a demand document; Step 2: In the design phase, design the interface layout, interaction flow, and visual elements of the App according to the requirements document to ensure a good user experience. Use tools (such as Figma, Sketch, Adobe XD) to create interactive prototypes for easy review by team members and customers. Step 3: Formulate a technical solution, select a suitable platform, choose native development or cross-platform development based on needs and target groups, determine the backend technology stack such as server, database, API interface, and select necessary third-party services such as push notifications, payment interface, login and registration; Step 4: In the development phase, write code to implement the interface and interaction logic according to the UI design drawing; Step 5: During the testing phase, unit test the code modules to ensure that each function works as expected; integrate the functionality, performance, compatibility, and security of the entire App; invite users or use tools to conduct professional testing and collect feedback; Step 6: Deployment and launch, prepare the server and database for the production environment, produce the mobile app, and submit the app to the application center. Follow the rules of each market, and officially release the app after passing the review.

[0028] In order to control the smart purification aromatherapy machine, the smart purification aromatherapy machine and the user's mobile phone need to be connected to the same network.

[0029] S500, let the smart purification aromatherapy machine execute the programmed operating mode.

[0030] When the smart purification aromatherapy machine is allowed to execute the programmed operating mode, it can be directly controlled through the device-side application on the smart purification aromatherapy machine, so that the smart purification aromatherapy machine executes the operating mode programmed on the device-side application; or instructions can be sent to the device-side application on the smart purification aromatherapy machine through the mobile application on the user's mobile phone, and then the smart purification aromatherapy machine executes the operating mode programmed by the mobile application.

[0031] In this embodiment, after programming the meta-rules of the intelligent purification aromatherapy machine, two operation modes are generated: Mode 1: Purification mode.

[0032] 1. Adjust the wind speed to level 6, turn on the negative oxygen ions and UV light for 10 minutes; 2. After 10 minutes, the wind speed will automatically adjust to level 2, and the negative oxygen ions and UV light will be turned off.

[0033] This mode 1 applies five meta-rules: wind speed adjustment, negative oxygen ion on, negative oxygen ion off, UV light on, UV light off, and also expands the meta-rules through programming, adding time factors and mutual jumps between rule combinations.

[0034] Mode 2: Aromatherapy mode.

[0035] 1. Adjust the wind speed to level 6, turn on the negative oxygen ions and UV light for 10 minutes; 2. After 10 minutes, the wind speed will automatically adjust to level 1, the negative oxygen ions and UV light will be turned off, and the aromatherapy spray will be sprayed once every 30 minutes, each spray lasting 1 second, for a total of 4 sprays; 3. After the aromatherapy spray is applied 4 times (2 hours), the aromatherapy mode will automatically exit and switch to the purification mode.

[0036] This mode 2 applies seven meta-rules: wind speed adjustment, negative oxygen ion on, negative oxygen ion off, UV light on, UV light off, aromatherapy on, aromatherapy off, and also expands the meta-rules through programming, adding time factors, mutual jumps between rule combinations, and mutual jumps between modes.

[0037] The programming of these two modes can be implemented on the device-side application of the smart aromatherapy machine or on the mobile application of the user's mobile phone. Figure 3 As shown, the user can also program and configure the operation mode of the smart purification aromatherapy machine on the mobile application of the user's mobile phone, and can also save the programmed operation mode for direct control of the operation next time. If new smart devices are added later and new rules are generated, only the corresponding application needs to be updated.

[0038] This embodiment can customize the operation mode of the smart device, which can better fit the user's own usage habits and is more intelligent and user-friendly.

[0039] Embodiment 2 A computer-readable storage medium The computer-readable storage medium in this embodiment stores a computer program, and when the computer program is executed by the processor, it is used to implement a method for operating an intelligent device based on rule-based configuration distribution in embodiment 1. Among them, the computer-readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that is convenient for transmitting a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general or special-purpose computer. For example, a computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can be located in an application-specific integrated circuit (ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the computer-readable storage medium can also exist in a communication device as discrete components. Specifically, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk, etc. The storage medium can be any available medium that can be accessed by a general or special-purpose computer.

Claims

1. A smart device operation method based on rule configuration distribution, It is characterized in that The following steps are involved: S1. On the one hand, a rule engine is built based on the device-side application on the smart device; on the other hand, the operation rules of the smart device are extracted based on the operation mode of the smart device; S2. Split the operation rules of the smart device into a state where they cannot be split any further, and obtain meta-rules that are not dependent on other rules and can be run independently; S3, determining whether each two meta-rules conflict during execution; If there is no conflict between the two meta-rules, proceed to the next judgment; If there is a conflict between two meta-rules, the rule configuration between the two conflicting meta-rules is eliminated in the rule engine, and then the next judgment is made; When all judgments are completed, execute step S4; S4, programming the rule configuration between the meta-rules to generate a new programmed operation mode; S5. Allow the smart device to execute the programmed operating mode.

2. A method for operating an intelligent device based on rule-based configuration distribution according to claim 1, It is characterized in that The rule engine constructed in step S2 uses the EasyRules rule engine.

3. The method for operating an intelligent device based on rule-based configuration distribution according to claim 1, It is characterized in that In step S4, the rule configuration between the meta-rules is programmed using a device-side application on the smart device or a mobile-side application developed on the mobile terminal.

4. A method for operating an intelligent device based on rule-based configuration distribution according to claim 3, It is characterized in that The steps of developing the mobile application on the mobile terminal include: Step 1: Demand analysis and planning. First, understand the target market, competitor analysis and user demand research, clarify the target users, core functions and expected problems of the App, and write a demand document; Step 2: In the design phase, design the interface layout, interaction flow, and visual elements of the App according to the requirements document to ensure a good user experience. Use tools to create interactive prototypes for easy review by team members and customers. Step 3: Formulate a technical solution, select a suitable platform, choose native development or cross-platform development based on needs and target groups, determine the backend technology stack such as server, database, API interface, and select necessary third-party services; Step 4: In the development phase, write code to implement the interface and interaction logic according to the UI design drawing; Step 5: During the testing phase, unit test the code modules to ensure that each function works as expected; integrate the functionality, performance, compatibility, and security of the entire App; invite users or use tools to conduct professional testing and collect feedback; Step 6: Deployment and launch, prepare the server and database for the production environment, produce the mobile app, and submit the app to the application center. Follow the rules of each market, and officially release the app after passing the review.

5. A method for operating an intelligent device based on rule-based configuration distribution according to claim 3 or 4, It is characterized in that When the rule configuration between the meta-rules is programmed in step S4 using a mobile application developed on the mobile terminal, the smart device and the mobile terminal are connected to the same network.

6. A method for operating an intelligent device based on rule-based configuration distribution according to claim 1, It is characterized in that In step S5, the smart device is allowed to execute the programmed operation mode using a device-side application on the smart device or a mobile-side application on the mobile terminal.

7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the smart device operation method based on rule-based configuration distribution as described in any one of claims 1 to 6.