CN114019809A - Household monitoring method, household equipment monitoring management system, electronic equipment and computer readable storage medium - Google Patents

Household monitoring method, household equipment monitoring management system, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN114019809A
CN114019809A CN202111289305.5A CN202111289305A CN114019809A CN 114019809 A CN114019809 A CN 114019809A CN 202111289305 A CN202111289305 A CN 202111289305A CN 114019809 A CN114019809 A CN 114019809A
Authority
CN
China
Prior art keywords
equipment
parameter information
household
household equipment
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111289305.5A
Other languages
Chinese (zh)
Other versions
CN114019809B (en
Inventor
郭少军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xiri Electronic Technology Co ltd
Original Assignee
Shanghai Xiri Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Xiri Electronic Technology Co ltd filed Critical Shanghai Xiri Electronic Technology Co ltd
Priority to CN202111289305.5A priority Critical patent/CN114019809B/en
Publication of CN114019809A publication Critical patent/CN114019809A/en
Application granted granted Critical
Publication of CN114019809B publication Critical patent/CN114019809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a home monitoring method, a home equipment monitoring and management system, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: the method comprises the steps that a 9P file registration module obtains a registration request sent by home equipment, wherein the registration request carries equipment parameter information of the home equipment; generating a virtual file of the household equipment according to the 9P protocol based on the equipment parameter information of the household equipment in the registration request; under the condition that the equipment parameter information of the household equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to the data processing module; the data processing module writes the change parameters into a virtual file of the household equipment; and the monitoring management module reads the equipment parameter information of the virtual file and displays the equipment parameter information. The unified management and control of the household equipment are realized.

Description

Household monitoring method, household equipment monitoring management system, electronic equipment and computer readable storage medium
Technical Field
The invention relates to the field of home management, in particular to a home monitoring method, a home equipment monitoring and management system, electronic equipment and a computer readable storage medium.
Background
At present, smart home devices are a branch of internet of things, and smart home devices are various home devices in a user family through internet of things, for example: the intelligent television, the intelligent sound equipment, the intelligent computer, the intelligent desk lamp and the like are connected into a whole through the Internet of things technology, and the collective monitoring management is realized.
However, in the manner of performing collective monitoring and management on smart home devices in the prior art, there is a case that the brand of the product a can only monitor and manage different home devices under the brand a, and when the brand B also needs to perform collective monitoring and management, it is usually only able to download the monitoring application programs corresponding to different brands B to perform monitoring and management on different home devices under the brand B. When home equipment products of various brands exist in a family, a user needs to download monitoring management application programs corresponding to the various brands to realize supervision on all home equipment.
Therefore, the monitoring mode of the household equipment in the prior art cannot perform unified supervision on household equipment of different brands, and the supervision flow of the household equipment is complex and tedious.
Disclosure of Invention
The invention aims to provide a home monitoring method, a home equipment monitoring and management system, electronic equipment and a computer readable storage medium, which can realize unified supervision on home equipment of different brands.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a home monitoring method, which is applied to a home device monitoring and management system, where the home device monitoring and management system includes a 9P file registration module, a data processing module, and a monitoring and management module, and the method includes:
the 9P file registration module acquires a registration request sent by home equipment, wherein the registration request carries equipment parameter information of the home equipment;
generating a virtual file of the household equipment according to a 9P protocol based on the equipment parameter information of the household equipment in the registration request;
under the condition that the equipment parameter information of the household equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to the data processing module;
the data processing module writes the change parameters into a virtual file of the household equipment;
and the monitoring management module reads the equipment parameter information of the virtual file and displays the equipment parameter information.
In an alternative embodiment, the method further comprises:
the 9P file registration module acquires first equipment parameter information of the household equipment in real time;
the 9P file registration module compares the first device parameter information with the device parameter information in the virtual file;
and determining that the equipment parameter information of the household equipment changes under the condition that the first equipment parameter information changes compared with the equipment parameter information in the virtual file.
In an optional embodiment, in a case that the device parameter information of the home device changes, the step of acquiring, by the 9P file registration module, a change parameter and sending the change parameter to the data processing module includes:
when the equipment state parameter information of the equipment parameter information of the household equipment is switched from a closed state to an open state, the 9P file registration module acquires first parameter information corresponding to the open state and sends the first parameter information to the data processing module;
the step of writing the change parameters into the virtual file of the household equipment by the data processing module comprises the following steps:
the data processing module acquires a virtual file of the household equipment;
changing the equipment state of the equipment state parameter information in the virtual file into first parameter information to obtain a changed virtual file of the household equipment;
or the like, or, alternatively,
adding first parameter information to the equipment state parameter information in the virtual file to obtain the changed virtual file of the household equipment, wherein the first parameter information carries adding time.
In an alternative embodiment, the method further comprises:
the 9P file registration module determines second parameter information indicating a protocol interface of the household equipment in the registration request;
judging whether the protocol interface indicated by the second parameter information is a 9P protocol interface or not;
when the protocol interface indicated by the second parameter information is a 9P protocol interface, executing the step of generating a virtual file of the home equipment according to the 9P protocol based on the equipment parameter information of the home equipment in the registration request;
and when the protocol interface indicated by the second parameter information is a non-9P protocol interface, rejecting the registration of the household equipment.
In an alternative embodiment, the method further comprises:
the monitoring management module receives touch operation of a user on target household equipment;
determining an operation instruction corresponding to the touch operation, and sending the target household equipment and the operation instruction to the data processing module;
the data processing module writes the operation instruction into a target virtual file corresponding to the target household equipment to obtain the target virtual file corresponding to the target household equipment;
and the 9P file registration module sends target parameter information corresponding to the operation instruction in the target virtual file to the target household equipment through a 9P protocol.
In a second aspect, an embodiment of the present application provides a home device monitoring and management system, where the system includes:
the system comprises a 9P file registration module, a data processing module and a monitoring management module;
the 9P file registration module is used for acquiring a registration request sent by home equipment, wherein the registration request carries equipment parameter information of the home equipment;
generating a virtual file of the household equipment according to a 9P protocol based on the equipment parameter information of the household equipment in the registration request;
under the condition that the equipment parameter information of the household equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to the data processing module;
the data processing module is used for writing the change parameters into a virtual file of the household equipment;
and the monitoring management module is used for reading the equipment parameter information of the virtual file and displaying the equipment parameter information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the home monitoring method when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the home monitoring method.
The application has the following beneficial effects:
according to the method, a 9P file registration module acquires a registration request sent by home equipment, based on equipment parameter information of the home equipment in the registration request, a virtual file of the home equipment is generated according to a 9P protocol, under the condition that the equipment parameter information of the home equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to a data processing module, the data processing module writes the change parameter into the virtual file of the home equipment, and the monitoring management module reads the equipment parameter information of the virtual file and displays the change parameter. In the prior art, most household equipment brands are developed and completed under the framework based on the 9P protocol, and therefore most household equipment has 9P protocol interfaces, the household equipment monitoring and management system completes registration of the household equipment through the 9P file registration module, virtual files are generated for the household equipment in the household equipment monitoring and management system, and unified management of the household equipment of different brands is achieved. When the equipment parameter information of the household equipment changes, the household equipment monitoring and management system writes the changed parameters in real time through the 9P protocol, so that the household equipment monitoring and management system can realize monitoring and management of the household equipment. The household equipment or the household equipment monitoring and management system does not need to be developed additionally, so that the development cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a procedure of a home monitoring method according to an embodiment of the present invention;
fig. 3 is a second flowchart illustrating steps of a home monitoring method according to an embodiment of the present invention;
fig. 4 is a third flowchart illustrating steps of a home monitoring method according to a third embodiment of the present invention;
fig. 5 is a fourth step flowchart of a home monitoring method according to an embodiment of the present invention;
fig. 6 is a fifth flowchart illustrating steps of a home monitoring method according to an embodiment of the present invention;
fig. 7 is a block diagram of a monitoring and management system for home devices according to an embodiment of the present invention.
Detailed Description
In order to make the objects, 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 with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Through a large amount of researches of the inventor, in the process of monitoring and managing the household equipment, the household equipment of different brands needs to be separately monitored and managed, and the household equipment of different brands cannot be uniformly managed. When there are home devices of multiple brands, the home devices of each brand need to be developed, and a monitoring protocol for home devices of different brands and application programs corresponding to monitoring management are designed, so that the research and development cost is greatly increased. When monitoring and management are required to be performed on a certain household device, an application program for monitoring and management corresponding to the household device to be monitored and managed needs to be opened, so that the problems that monitoring and management processes of numerous household devices are complicated, user experience is poor and the like are caused.
In view of the discovery of the above problems, the present embodiment provides a home monitoring method, a home device monitoring and management system, an electronic device, and a computer-readable storage medium, which can implement unified management on home devices of different brands. When the equipment parameter information of the household equipment changes, the household equipment monitoring and management system writes the changed parameters in real time through the 9P protocol, so that the household equipment monitoring and management system can realize monitoring and management of the household equipment. The household equipment or the household equipment monitoring and management system does not need to be developed additionally, so that the development cost is reduced. The scheme provided by the present embodiment is explained in detail below.
The embodiment provides an electronic device capable of monitoring household equipment. In one possible implementation, the electronic Device may be a user terminal, for example, the electronic Device may be, but is not limited to, a server, a smart phone, a Personal Computer (PC), a tablet computer, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and the like.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure. The electronic device 100 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The electronic device 100 includes a home device monitoring and management system 110, a memory 120, and a processor 130.
The elements of the memory 120 and the processor 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The home device monitoring and management system 110 includes at least one software function module, which may be stored in the memory 120 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 100. The processor 130 is configured to execute executable modules stored in the memory 120, such as software functional modules and computer programs included in the home device monitoring and management system 110.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction.
Referring to fig. 2, fig. 2 is a flowchart of a home monitoring method applied to the electronic device 100 of fig. 1, and the method including various steps will be described in detail below.
Step 201: the 9P file registration module acquires a registration request sent by the household equipment.
The registration request carries equipment parameter information of the household equipment.
Step 202: and generating a virtual file of the household equipment according to the 9P protocol based on the equipment parameter information of the household equipment in the registration request.
Step 203: under the condition that the equipment parameter information of the household equipment changes, the 9P file registration module acquires the change parameters and sends the change parameters to the data processing module.
Step 204: and the data processing module writes the change parameters into a virtual file of the household equipment.
Step 205: and the monitoring management module reads the equipment parameter information of the virtual file and displays the equipment parameter information.
The 9P protocol is a network protocol developed by bell labs distributed operating system for Plan 9 as a means of connecting Plan 9 system components. The file is a key object in Plan 9. They represent windows, network connections, processes, and almost everything available in the operating system.
Most of household equipment in the prior art is developed and constructed based on a 9P protocol, and therefore most of household equipment in the prior art has a 9P protocol interface.
It should be noted that, home devices generally refer to devices that can perform internet of things connection, for example: intelligent refrigerator, intelligent TV, intelligent desk lamp, intelligent air conditioner etc..
When a certain household device initiates a registration request to a household device monitoring and management system, the household device monitoring and management system obtains the registration request of the household device through a 9P file registration module, wherein the registration request includes device parameter information of the household device, and the device parameter information includes a name of the household device, a grade of a directory file in the household device, and the directory file. For example: registering an intelligent refrigerator, wherein the intelligent refrigerator has device parameter information such as open (on), close (c lose), top, middle and bottom layers (top, middle and bottom), temperature regulation (temperature) and the like, and a registration request sent by the intelligent refrigerator to a household device monitoring and management system carries the device parameter information.
The home equipment monitoring and management system generates a virtual file of home equipment based on equipment parameter information of the home equipment and a 9P protocol, wherein the home equipment has a file corresponding to the equipment parameter information of the home equipment, and the home equipment monitoring and management system simultaneously has a virtual file corresponding to the equipment parameter information of the home equipment.
Under the condition that the equipment parameter information of the household equipment changes, for example, a refrigerator door of the intelligent refrigerator is opened, at the moment, parameters in a file corresponding to the equipment parameter information in the household equipment are changed based on the opening state of the refrigerator door, the changed parameters are sent to a household equipment monitoring management system through a 9P protocol, the household equipment monitoring management system writes the changed parameters into a virtual file of the household equipment, a monitoring management module in the household equipment monitoring management system reads the virtual file of the household equipment, and the refrigerator door of the household equipment is displayed to be in the opening state. Therefore, the household equipment is supervised.
According to the method, a 9P file registration module acquires a registration request sent by home equipment, based on equipment parameter information of the home equipment in the registration request, a virtual file of the home equipment is generated according to a 9P protocol, under the condition that the equipment parameter information of the home equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to a data processing module, the data processing module writes the change parameter into the virtual file of the home equipment, and the monitoring management module reads the equipment parameter information of the virtual file and displays the change parameter. In the prior art, most household equipment brands are developed and completed under the framework based on the 9P protocol, and therefore most household equipment has 9P protocol interfaces, the household equipment monitoring and management system completes registration of the household equipment through the 9P file registration module, virtual files are generated for the household equipment in the household equipment monitoring and management system, and unified management of the household equipment of different brands is achieved. When the equipment parameter information of the household equipment changes, the household equipment monitoring and management system writes the changed parameters in real time through the 9P protocol, so that the household equipment monitoring and management system can realize monitoring and management of the household equipment. The household equipment or the household equipment monitoring and management system does not need to be developed additionally, so that the development cost is reduced.
In another embodiment of the present application, as shown in fig. 3, a home monitoring method is provided for how to determine that device parameter information in home devices changes, and specifically includes the following steps:
step 301: the 9P file registration module acquires first equipment parameter information of the household equipment in real time.
Step 302: the 9P file registration module compares the first device parameter information with the device parameter information in the virtual file.
Step 303: and determining that the equipment parameter information of the household equipment changes under the condition that the first equipment parameter information is changed compared with the equipment parameter information in the virtual file.
The first equipment parameter information is the equipment parameter information of the household equipment which realizes the internet of things with the household equipment monitoring and management system.
In the process of supervising the home equipment by the home equipment monitoring and management system, various modes are provided, exemplarily, the home equipment monitoring and management system acquires the first equipment parameter information of the home equipment in real time through the 9P file registration module, and in another example, the home equipment monitoring and management system acquires the first equipment parameter information of the home equipment according to a preset period through the 9P file registration module.
The first device parameter information comprises all device parameter information of the household device.
It should be noted that the preset period may be set to 1 minute, 2 minutes, 3 minutes, and the like, and the embodiment of the present invention is not particularly limited thereto.
And the 9P file registration module compares the first equipment parameter information with the equipment parameter information in the virtual file when the household equipment is registered, and determines the changed parameters.
In another example, a file corresponding to the device parameter information of the home device is stored in the home device, and when the device parameter information of the home device changes, for example: and when the internal temperature of the household equipment is increased from the temperature A to the temperature B, writing the temperature B into a file corresponding to the equipment parameter information of the household equipment based on a 9P protocol, and sending the written information to a household equipment monitoring and management system through a 9P protocol interface.
The method has the advantages that the files of the equipment parameter information of the household equipment and the virtual files of the household equipment do not need to be compared, the household equipment directly sends the changed equipment parameter information to the household equipment monitoring and management system through the 9P protocol, the calculation amount of the household equipment monitoring and management system is reduced, the data processing speed of the household equipment monitoring and management system is improved, and therefore the household equipment monitoring and management system is more sensitive to monitoring of the household equipment.
Based on the changed parameters, operating the virtual file of the home device, and as shown in fig. 4 for the above step 203 and step 204, providing a home monitoring method, specifically including the following steps:
step 401: when the equipment state parameter information of the equipment parameter information of the household equipment is switched from a closed state to an open state, the 9P file registration module acquires first parameter information corresponding to the open state and sends the first parameter information to the data processing module.
Step 402: and changing the equipment state of the equipment state parameter information in the virtual file into the first parameter information to obtain the changed virtual file of the household equipment.
Or after the 9P file registration module sends the first parameter information to the data processing module, the data processing module adds the first parameter information to the device state parameter information in the virtual file to obtain a virtual file of the modified home device, where the first parameter information carries adding time.
When the equipment state parameter information of the equipment parameter information of the household equipment is switched from a closed state to an open state, first parameter information corresponding to the open state of the household equipment is added to a file corresponding to the equipment parameter information in the household equipment, the first parameter information is sent to a household equipment monitoring management system through a 9P protocol, and a data processing module in the household equipment monitoring management system determines a virtual file corresponding to the first parameter information based on identification information of the household equipment carried in the first parameter information and updates the parameter information corresponding to the first parameter information in the virtual file into the first parameter information. Or the data processing module directly writes the first parameter information into a virtual file of the household equipment, the first parameter information carries writing time, and the monitoring management module only reads the equipment parameter information corresponding to the latest time, so that the monitoring management module reads that the equipment state of the household equipment is an open state.
Before registering according to a registration request sent by a home device, in another embodiment of the present application, as shown in fig. 5, a home monitoring method is provided, which specifically includes the following steps:
step 501: and the 9P file registration module determines second parameter information indicating a protocol interface of the household equipment in the registration request.
Step 502: and judging whether the protocol interface indicated by the second parameter information is a 9P protocol interface.
Step 503: and when the protocol interface indicated by the second parameter information is a 9P protocol interface, executing a step of generating a virtual file of the home equipment according to the 9P protocol based on the equipment parameter information of the home equipment in the registration request.
Step 504: and when the protocol interface indicated by the second parameter information is a non-9P protocol interface, rejecting the registration of the household equipment.
The registration request sent by the household equipment to the household equipment monitoring management system also comprises second parameter information indicating a protocol interface of the household equipment, the registration request of the household equipment is responded under the condition that the second parameter information indicates that the protocol interface is a 9P protocol interface, and the registration request of the household equipment is rejected under the condition that the second parameter information indicates that the protocol interface is a non-9P protocol interface.
The home device monitoring and management system may also manage the home devices, and in another embodiment of the present application, as shown in fig. 6, a home monitoring method is provided, which specifically includes the following steps:
step 601: and the monitoring management module receives touch operation of a user on the target household equipment.
Step 602: and determining an operation instruction corresponding to the touch operation, and sending the target household equipment and the operation instruction to the data processing module.
Step 603: and the data processing module writes an operation instruction in a target virtual file corresponding to the target household equipment to obtain the target virtual file corresponding to the target household equipment.
Step 604: and the 9P file registration module sends the target parameter information corresponding to the operation instruction in the target virtual file to the target household equipment through a 9P protocol.
The home equipment monitoring and management system can monitor the state of home equipment and control registered home equipment.
The monitoring management module in the home equipment monitoring management system has a display function, all home equipment connected in the home equipment monitoring management system is displayed in a display interface of the monitoring management module, a user touches a control corresponding to a certain target home equipment, touch operation is generated based on the touch of the control, and an operation instruction corresponding to the touch operation can be opening, disconnecting, adjusting temperature, adjusting air volume, adjusting brightness and the like of the target home equipment.
The monitoring management module sends the target household equipment and the operation instruction to a data processing module in the household equipment monitoring management system, the data processing module searches a target virtual file of the corresponding target household equipment in virtual files of the plurality of household equipment based on the identification of the target household equipment, writes parameter information corresponding to the operation instruction in the target virtual file, and sends the parameter information corresponding to the operation instruction to the target household equipment based on a 9P protocol. And the target household equipment writes or modifies the file corresponding to the equipment parameter information in the target household equipment according to the parameter information, so that the target household equipment is controlled.
Referring to fig. 7, an embodiment of the present application further provides a home device monitoring and management system 110 applied to the electronic device 100 shown in fig. 1, where the home device monitoring and management system 110 includes:
a 9P file registration module 111, a data processing module 112, and a monitoring management module 113;
the 9P file registration module 111 is configured to obtain a registration request sent by a home device, where the registration request carries device parameter information of the home device;
generating a virtual file of the household equipment according to a 9P protocol based on the equipment parameter information of the household equipment in the registration request;
under the condition that the equipment parameter information of the household equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to the data processing module;
the data processing module 112 is configured to write the change parameter into a virtual file of the home equipment;
the monitoring management module 113 is configured to read and display the device parameter information of the virtual file.
Optionally, the 9P file registration module 111 is further configured to:
acquiring first equipment parameter information of the household equipment in real time;
comparing the first device parameter information with the device parameter information in the virtual file;
and determining that the equipment parameter information of the household equipment changes under the condition that the first equipment parameter information is changed compared with the equipment parameter information in the virtual piece.
Optionally, the 9P file registration module 111 is further configured to:
when the equipment state parameter information of the equipment parameter information of the household equipment is switched from a closed state to an open state, acquiring first parameter information corresponding to the open state, and sending the first parameter information to the data processing module;
the data processing module 112 is further configured to:
changing the equipment state of the equipment state parameter information in the virtual file into first parameter information to obtain a changed virtual file of the household equipment;
or the like, or, alternatively,
adding first parameter information to the equipment state parameter information in the virtual file to obtain the changed virtual file of the household equipment, wherein the first parameter information carries adding time.
Optionally, the 9P file registration module is further configured to:
the 9P file registration module determines second parameter information indicating a protocol interface of the household equipment in the registration request;
judging whether the protocol interface indicated by the second parameter information is a 9P protocol interface or not;
when the protocol interface indicated by the second parameter information is a 9P protocol interface, executing the step of generating a virtual file of the home equipment according to the 9P protocol based on the equipment parameter information of the home equipment in the registration request;
and when the protocol interface indicated by the second parameter information is a non-9P protocol interface, rejecting the registration of the household equipment.
Optionally, the monitoring management module 113 is further configured to: receiving touch operation of a user on target household equipment;
determining an operation instruction corresponding to the touch operation, and sending the target household equipment and the operation instruction to the data processing module;
the data processing module 112 is further configured to: writing the operation instruction into a target virtual file corresponding to the target household equipment to obtain the target virtual file corresponding to the target household equipment;
and the 9P file registration module sends target parameter information corresponding to the operation instruction in the target virtual file to the target household equipment through a 9P protocol.
According to the method, a 9P file registration module acquires a registration request sent by home equipment, based on equipment parameter information of the home equipment in the registration request, a virtual file of the home equipment is generated according to a 9P protocol, under the condition that the equipment parameter information of the home equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to a data processing module, the data processing module writes the change parameter into the virtual file of the home equipment, and the monitoring management module reads the equipment parameter information of the virtual file and displays the change parameter. In the prior art, most household equipment brands are developed and completed under the framework based on the 9P protocol, and therefore most household equipment has 9P protocol interfaces, the household equipment monitoring and management system completes registration of the household equipment through the 9P file registration module, virtual files are generated for the household equipment in the household equipment monitoring and management system, and unified management of the household equipment of different brands is achieved. When the equipment parameter information of the household equipment changes, the household equipment monitoring and management system writes the changed parameters in real time through the 9P protocol, so that the household equipment monitoring and management system can realize monitoring and management of the household equipment. The household equipment or the household equipment monitoring and management system does not need to be developed additionally, so that the development cost is reduced.
The present application further provides an electronic device 100, where the electronic device 100 includes a processor 130 and a memory 120. The memory 120 stores computer-executable instructions that, when executed by the processor 130, implement the home monitoring method.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by the processor 130, the home monitoring method is implemented.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for various embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A home monitoring method is applied to a home equipment monitoring management system, the home equipment monitoring management system comprises a 9P file registration module, a data processing module and a monitoring management module, and the method is characterized by comprising the following steps:
the 9P file registration module acquires a registration request sent by home equipment, wherein the registration request carries equipment parameter information of the home equipment;
generating a virtual file of the household equipment according to a 9P protocol based on the equipment parameter information of the household equipment in the registration request;
under the condition that the equipment parameter information of the household equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to the data processing module;
the data processing module writes the change parameters into a virtual file of the household equipment;
and the monitoring management module reads the equipment parameter information of the virtual file and displays the equipment parameter information.
2. The method of claim 1, further comprising:
the 9P file registration module acquires first equipment parameter information of the household equipment in real time;
the 9P file registration module compares the first device parameter information with the device parameter information in the virtual file;
and determining that the equipment parameter information of the household equipment changes under the condition that the first equipment parameter information changes compared with the equipment parameter information in the virtual file.
3. The method according to claim 1, wherein the step of acquiring a change parameter by the 9P file registration module and sending the change parameter to the data processing module when the device parameter information of the home device changes includes:
when the equipment state parameter information of the equipment parameter information of the household equipment is switched from a closed state to an open state, the 9P file registration module acquires first parameter information corresponding to the open state and sends the first parameter information to the data processing module;
the step of writing the change parameters into the virtual file of the household equipment by the data processing module comprises the following steps:
the data processing module acquires a virtual file of the household equipment;
changing the equipment state of the equipment state parameter information in the virtual file into first parameter information to obtain a changed virtual file of the household equipment;
or the like, or, alternatively,
adding first parameter information to the equipment state parameter information in the virtual file to obtain the changed virtual file of the household equipment, wherein the first parameter information carries adding time.
4. The method of claim 1, further comprising:
the 9P file registration module determines second parameter information indicating a protocol interface of the household equipment in the registration request;
judging whether the protocol interface indicated by the second parameter information is a 9P protocol interface or not;
when the protocol interface indicated by the second parameter information is a 9P protocol interface, executing the step of generating a virtual file of the home equipment according to the 9P protocol based on the equipment parameter information of the home equipment in the registration request;
and when the protocol interface indicated by the second parameter information is a non-9P protocol interface, rejecting the registration of the household equipment.
5. The method of claim 1, further comprising:
the monitoring management module receives touch operation of a user on target household equipment;
determining an operation instruction corresponding to the touch operation, and sending the target household equipment and the operation instruction to the data processing module;
the data processing module writes the operation instruction into a target virtual file corresponding to the target household equipment to obtain the target virtual file corresponding to the target household equipment;
and the 9P file registration module sends target parameter information corresponding to the operation instruction in the target virtual file to the target household equipment through a 9P protocol.
6. The utility model provides a house equipment control management system which characterized in that, the system includes:
the system comprises a 9P file registration module, a data processing module and a monitoring management module;
the 9P file registration module is used for acquiring a registration request sent by home equipment, wherein the registration request carries equipment parameter information of the home equipment;
generating a virtual file of the household equipment according to a 9P protocol based on the equipment parameter information of the household equipment in the registration request;
under the condition that the equipment parameter information of the household equipment changes, the 9P file registration module acquires a change parameter and sends the change parameter to the data processing module;
the data processing module is used for writing the change parameters into a virtual file of the household equipment;
and the monitoring management module is used for reading the equipment parameter information of the virtual file and displaying the equipment parameter information.
7. The system of claim 6, wherein the 9P file registration module is further configured to:
acquiring first equipment parameter information of the household equipment in real time;
comparing the first device parameter information with the device parameter information in the virtual file;
and determining that the equipment parameter information of the household equipment changes under the condition that the first equipment parameter information changes compared with the equipment parameter information in the virtual file.
8. The system of claim 6, wherein the 9P file registration module is further configured to:
when the equipment state parameter information of the equipment parameter information of the household equipment is switched from a closed state to an open state, acquiring first parameter information corresponding to the open state, and sending the first parameter information to the data processing module;
the data processing module is further configured to:
changing the equipment state of the equipment state parameter information in the virtual file into first parameter information to obtain a changed virtual file of the household equipment;
or the like, or, alternatively,
adding first parameter information to the equipment state parameter information in the virtual file to obtain the changed virtual file of the household equipment, wherein the first parameter information carries adding time.
9. An electronic device, comprising a memory storing a computer program and a processor implementing the steps of the method according to any of claims 1-5 when the processor executes the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN202111289305.5A 2021-11-02 2021-11-02 Household monitoring method and household equipment monitoring management system Active CN114019809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111289305.5A CN114019809B (en) 2021-11-02 2021-11-02 Household monitoring method and household equipment monitoring management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111289305.5A CN114019809B (en) 2021-11-02 2021-11-02 Household monitoring method and household equipment monitoring management system

Publications (2)

Publication Number Publication Date
CN114019809A true CN114019809A (en) 2022-02-08
CN114019809B CN114019809B (en) 2023-08-15

Family

ID=80059688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111289305.5A Active CN114019809B (en) 2021-11-02 2021-11-02 Household monitoring method and household equipment monitoring management system

Country Status (1)

Country Link
CN (1) CN114019809B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120060018A1 (en) * 2010-09-02 2012-03-08 International Business Machines Corporation Collective Operations in a File System Based Execution Model
CN104734893A (en) * 2015-04-02 2015-06-24 重庆邮电大学 TR069 protocol management method oriented to WIA-PA network
CN107809356A (en) * 2017-10-16 2018-03-16 杭州古北电子科技有限公司 By the control method and system of Internet resources access smart home platform
CN108196846A (en) * 2017-12-28 2018-06-22 美的智慧家居科技有限公司 Home appliance control interface configuration method, terminal and computer readable storage medium
CN109541955A (en) * 2018-12-14 2019-03-29 陕西理工大学 Smart home device management method and system
CN110798462A (en) * 2019-10-25 2020-02-14 青岛海信智慧家居系统股份有限公司 Smart home system and equipment access method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120060018A1 (en) * 2010-09-02 2012-03-08 International Business Machines Corporation Collective Operations in a File System Based Execution Model
CN104734893A (en) * 2015-04-02 2015-06-24 重庆邮电大学 TR069 protocol management method oriented to WIA-PA network
CN107809356A (en) * 2017-10-16 2018-03-16 杭州古北电子科技有限公司 By the control method and system of Internet resources access smart home platform
CN108196846A (en) * 2017-12-28 2018-06-22 美的智慧家居科技有限公司 Home appliance control interface configuration method, terminal and computer readable storage medium
CN109541955A (en) * 2018-12-14 2019-03-29 陕西理工大学 Smart home device management method and system
CN110798462A (en) * 2019-10-25 2020-02-14 青岛海信智慧家居系统股份有限公司 Smart home system and equipment access method

Also Published As

Publication number Publication date
CN114019809B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
US20210350279A1 (en) Situation forecast mechanisms for internet of things integration platform
US10171586B2 (en) Physical environment profiling through Internet of Things integration platform
US10353939B2 (en) Interoperability mechanisms for internet of things integration platform
US11102147B2 (en) Method and system for managing access to a resource in a decentralized peer-to-peer network
CN109564579B (en) Situation prediction mechanism for integrated platform of Internet of things
US7847699B2 (en) Apparatus and method of ubiquitous context-aware agent based on sensor networks
CN107948231B (en) Scene-based service providing method, system and operating system
CN109076331A (en) The control method of electronic equipment and electronic equipment
AU2014342430A1 (en) Data management for connected devices
CN112671887B (en) Asset identification method and device, electronic equipment and computer storage medium
KR20180080620A (en) System for sharing contents between electronic devices and method for sharing contents in an electronic device
CN106503077A (en) The management method of media content, device and equipment
CN107632751B (en) Information display method and device
CN114385287B (en) Presentation content determining method, apparatus, electronic device and storage medium
CN117092926B (en) Equipment control method and electronic equipment
CN112615808B (en) Method, device and medium for representing white list of process layer messages of intelligent substation
CN114019809A (en) Household monitoring method, household equipment monitoring management system, electronic equipment and computer readable storage medium
CN108604362A (en) For controlling the electronic equipment shown and method and for its server and method
KR20150110877A (en) User based home automation method, apparatus thereof, and supporting method and apparatus therefor
KR20110136058A (en) Method and apparatus for determinig object change in home network
CN118193096A (en) Configuration method and device of prompt identifier, electronic equipment and storage medium
CN113177622A (en) Intelligent recognition system and method for standard cabinet
CN116383145A (en) File management method, device, electronic equipment and computer readable storage medium
CN112581744A (en) Cloud service method of infrared code, infrared cloud code library, equipment and medium
CN112416897A (en) Log query method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant