+

WO2018133280A1 - Air treatment device control apparatus, method and system - Google Patents

Air treatment device control apparatus, method and system Download PDF

Info

Publication number
WO2018133280A1
WO2018133280A1 PCT/CN2017/086344 CN2017086344W WO2018133280A1 WO 2018133280 A1 WO2018133280 A1 WO 2018133280A1 CN 2017086344 W CN2017086344 W CN 2017086344W WO 2018133280 A1 WO2018133280 A1 WO 2018133280A1
Authority
WO
WIPO (PCT)
Prior art keywords
air
information
air treatment
treatment device
device control
Prior art date
Application number
PCT/CN2017/086344
Other languages
French (fr)
Chinese (zh)
Inventor
郭军
邹品元
Original Assignee
广东美的制冷设备有限公司
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
Priority claimed from CN201710053470.8A external-priority patent/CN106595003A/en
Priority claimed from CN201710192165.7A external-priority patent/CN106996618A/en
Priority claimed from CN201710191937.5A external-priority patent/CN107036235B/en
Application filed by 广东美的制冷设备有限公司 filed Critical 广东美的制冷设备有限公司
Publication of WO2018133280A1 publication Critical patent/WO2018133280A1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements

Definitions

  • the present invention relates to the field of air treatment equipment, and in particular, to an air treatment equipment control apparatus, an air treatment equipment control method, and an air treatment equipment control system having the air treatment equipment control apparatus.
  • air handling equipment such as air conditioners, humidifiers, dehumidifiers, air purifiers, etc.
  • air handling equipment such as air conditioners, humidifiers, dehumidifiers, air purifiers, etc.
  • the control of air handling equipment is no longer limited to infrared remote controllers for air handling equipment, based on Application scenarios for controlling air handling equipment are gradually emerging.
  • Users only need to install air handling equipment control devices on their mobile terminals (such as smart phones, tablets, etc.), and then start air handling equipment control devices in mobile terminals. View the operating information of the air handling equipment in the air handling equipment control unit.
  • the control device causes a technical problem that the operation information of the air processing device is displayed on the mobile terminal is cumbersome and the operation efficiency is low.
  • the main object of the present invention is to provide an air treatment device control device, which aims to alleviate the technical problem that the operation information of the air treatment device based on the mobile terminal is cumbersome and the operation efficiency is low.
  • the air treatment device includes an air inlet, an air outlet, and a duct connecting the air inlet and the air outlet, and in the air duct, There is a functional module; the air handling device control device includes a Widget display window, and the air handling device control device is associated with at least one air handling device, the air handling device control device comprising:
  • An air conditioning module when the air conditioning module is turned on, starting a service process
  • An obtaining module configured to obtain operation information that is sent back by the air processing device to the service process
  • a display module configured to receive, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, and obtain, from the first broadcast information, operation information of the air processing device, and The running information is displayed in the display window.
  • the air treatment device control device and the air treatment device are respectively connected to a server;
  • the air treatment device control device further includes:
  • an association module configured to acquire a device number of the air processing device, and associate the air processing device control device with the air processing device corresponding to the device number according to the device number.
  • the obtaining module comprises:
  • An obtaining unit configured to acquire operation information of the air processing device, and send the operation information to the server;
  • a feedback unit configured to feed back, to the service process, an air processing device associated with the air processing device control device according to the request of the service process and an association relationship between the air processing device control device and the air processing device Running information.
  • the Widget further includes a control button displayed in the display window for adjusting operation information of the air processing device;
  • the air treatment device control device further includes:
  • a sending module configured to acquire, in the service process, instruction information triggered by the user according to the control button, and acquire a device control code generated by the service process according to the instruction information, and the air processing device control device
  • the associated air handling device sends the device control code
  • the obtaining module is further configured to:
  • the sending module includes:
  • a first subunit configured to acquire the control button touched by the user in the display window
  • a second subunit configured to acquire instruction information corresponding to the control button, generate second broadcast information according to the instruction information, and send the second broadcast information to the service process;
  • a third subunit configured to acquire the instruction information according to the second broadcast information in the service process.
  • the present invention also provides an air treatment device control method, which is applied to an air treatment device control device, the air treatment device includes an air inlet, an air outlet, and the air inlet and the air outlet. a wind tunnel in which a function module is provided; the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control method includes The following steps:
  • the air treatment device control device and the air treatment device are respectively connected to a server;
  • the method further includes:
  • the acquiring the operation information that the air processing device feeds back to the service process includes:
  • the operation information of the air processing device associated with the air processing device control device is fed back to the service process.
  • the Widget further includes a control button displayed in the display window for adjusting operation information of the air processing device;
  • the service process And receiving, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and using the operation information Before being displayed in the display window, it also includes:
  • the obtaining the running information that is sent back by the air processing device to the service process includes:
  • the acquiring the instruction information triggered by the user according to the control button in the service process includes:
  • the instruction information is acquired according to the second broadcast information.
  • the present invention also provides an air treatment apparatus control system including an air treatment apparatus and the air treatment apparatus control apparatus, the air treatment apparatus control apparatus and the air Processing device associations, the display window displaying operational information of the air handling device.
  • the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control device is when the air adjustment module is turned on. And starting the service process, acquiring operation information that is sent back by the air processing device to the service process, and receiving, by the service process, the first broadcast information that is generated according to the operation information, and sent to the Widget, from the first Acquiring the running information of the air processing device in the broadcast information, and displaying the running information in the display window. Therefore, the user only needs to view the Widget display window to obtain the running information of the air processing device.
  • the utility model effectively alleviates the technical problem that the operation information of the air processing device based on the mobile terminal is cumbersome and the operation efficiency is low.
  • FIG. 1 is a schematic diagram of deployment of an air handling device control page card on a Widget in an air handling device control method according to the present invention
  • FIG. 2 is a schematic diagram of functional modules of a first embodiment of an air handling device control apparatus according to the present invention
  • FIG. 3 is a schematic diagram of functional modules of a second embodiment of an air handling device control apparatus according to the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a third embodiment of an air handling device control apparatus according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a fourth embodiment of an air handling device control apparatus according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a fifth embodiment of an air handling device control apparatus according to the present invention.
  • FIG. 7 is a schematic flow chart of a first embodiment of a method for controlling an air handling device according to the present invention.
  • FIG. 8 is a schematic flow chart of a second embodiment of a method for controlling an air handling device according to the present invention.
  • FIG. 9 is a schematic flow chart of a third embodiment of a method for controlling an air handling device according to the present invention.
  • FIG. 10 is a schematic flow chart of a fourth embodiment of a method for controlling an air handling device according to the present invention.
  • FIG. 11 is a schematic flow chart of a fifth embodiment of a method for controlling an air handling device according to the present invention.
  • APPWidget is a desktop widget application that can be placed on the desktop of a mobile terminal. It can be used to display clock, calendar, weather and other information. It is displayed on the desktop of the mobile terminal as a floating window for displaying specific information. Therefore, the user does not need to APPWidget can click to open or open the first time to view the specific information presented on the floating window.
  • the display information on the APPWidget can be refreshed automatically, or manually click the preset control button to refresh.
  • control APP of the air processing device can be deployed into the Widget. Therefore, the user can directly control the operation of the air processing device or read the air through the APPWidget window suspended on the desktop of the mobile terminal. Process information about the operation of the device.
  • the process of creating an APPWidget for an APP is mainly a process of performing related operations on the AppWidgetProvider and AppWidgetProviderInfo classes.
  • AppWidgetProvider is used to receive widget-related broadcasts, such as update, delete, enable, and disable of wigdet.
  • AppWidgetProviderInfo is defined in XML and is used to specify the relevant data of the AppWidget, such as the layout of the Widget, the corresponding AppWidgetProvider class, and so on.
  • Deploying a Widget in an app mainly includes the following steps:
  • the data transfer process can be started when the Widget is added to the desktop, and stops when the Widget is deleted from the desktop.
  • AppWidgetProviderInfo in XML to specify the layout of the Widget, the AppWidgetProvider class, and so on.
  • the created widget will appear in the system's widget list, and the user can choose whether to add it to the desktop.
  • the air treatment device may be any device that regulates air parameters, such as an air conditioner, a humidifier, a dehumidifier, an air cleaner, and the like.
  • the air processing device is enumerated as an air conditioner, and the air conditioner control page card is deployed to the Widget as an example to describe the deployment process and the loading process of the Widget in detail.
  • the information displayed in the air conditioning control page card is the operation information of the air conditioner, for example, the air conditioner name, the air conditioner position, the air conditioning operation mode, and the current set temperature.
  • the control control in the air conditioning control page card is the control control button of the air conditioner. For example, the temperature adjustment button and the shutdown button.
  • the synchronization mode can be used to query the operation data of the air conditioner or automatically report the air conditioner at regular intervals.
  • the operation information of the air conditioner is sent out as a broadcast, and the broadcast will carry an action flag, such as action1, in the AppWidgetProvider through onReceive(Context, Intent) receives the broadcast of action1 as action1, and obtains the running information of the air conditioner in the broadcast, and updates the data to the Widget interface in real time to implement the interface update process of the Widget.
  • action1 such as action1
  • onReceive(Context, Intent) receives the broadcast of action1 as action1
  • obtains the running information of the air conditioner in the broadcast and updates the data to the Widget interface in real time to implement the interface update process of the Widget.
  • the control button of the air conditioner When the control button of the air conditioner is clicked, you can set to send a broadcast to the outside, and pass the onReceive(Context, in the AppWidgetProvider. Intent) receiving a broadcast of the control of the air conditioner's control control button and adding corresponding logic.
  • the logic added here is mainly to process the user's control commands (such as shutdown, temperature increase of 1 degree, temperature by 1 degree) into corresponding data, and send it out through the broadcast.
  • the broadcast will also carry an action flag, such as Action2, receiving the broadcast of the control button of the air conditioner in the Service, and reading the control command carried in the broadcast (such as shutdown, temperature rise of 1 degree, temperature decrease by 1 degree), and compiling the control code of the air conditioner , sent to the corresponding air conditioner to implement the process of controlling the air conditioner by the Widget.
  • Action2 receiving the broadcast of the control button of the air conditioner in the Service, and reading the control command carried in the broadcast (such as shutdown, temperature rise of 1 degree, temperature decrease by 1 degree), and compiling the control code of the air conditioner , sent to the corresponding air conditioner to implement the process of controlling the air conditioner by the Widget.
  • the APP process is killed, the corresponding Service will also be killed, then the Widget is in an unavailable state, unless the APP is restarted, the Service is started again.
  • the invention provides an air treatment device control device.
  • a first embodiment of the present invention provides an air treatment device control device, which includes an air inlet, an air outlet, and a connection between the air inlet and the air outlet. a wind tunnel in which a function module is provided; the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, the air treatment device control device comprising:
  • the air conditioning module 10 when the air conditioning module 10 is turned on, starts a service process
  • the obtaining module 20 is configured to obtain operation information that is sent back by the air processing device to the service process;
  • the display module 30 is configured to receive first broadcast information that is generated by the service process according to the operation information and sent to the Widget, and obtain operation information of the air processing device from the first broadcast information, and The run information is displayed in the display window.
  • the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control device is when the air adjustment module is turned on. And starting the service process, acquiring operation information that is sent back by the air processing device to the service process, and receiving, by the service process, the first broadcast information that is generated according to the operation information, and sent to the Widget, from the first Acquiring the running information of the air processing device in the broadcast information, and displaying the running information in the display window. Therefore, the user only needs to view the Widget display window to obtain the running information of the air processing device.
  • the utility model effectively alleviates the technical problem that the operation information of the air processing device based on the mobile terminal is cumbersome and the operation efficiency is low.
  • the air treatment device is an air conditioner, and the operation information includes setting a wind speed, a set temperature, an operation mode, and the like;
  • the function module is air
  • the purification component the air purification component includes a filter net, a dust removal layer, etc.
  • the air treatment device is an air purifier, and the operation information includes setting the wind speed, PM2.5, formaldehyde content, dust concentration, etc.;
  • the functional module is a dehumidification/humidification component
  • the air treatment device is a dehumidifier/humidifier, and the operation information includes setting a wind speed, setting a humidity, and the like.
  • the air treatment apparatus is exemplified as an air conditioner for convenience of description.
  • the air treatment device associated with the air treatment device control device may be various, such as a humidifier, a dehumidifier, an air conditioner, an air cleaner, and the like.
  • the mobile terminal may be a mobile phone, an Ipad, a notebook computer, or the like, but the type of the mobile terminal is not limited thereto.
  • the air treatment device control device in the present invention is associated with the air treatment device, the service process is a Service process, and the Service is used for data interaction between the air treatment device control device and the air treatment device.
  • the information displayed in the display window of the Widget is part of the information in the air handling device control device.
  • the Widget of the air handling device control page card is added to the desktop of the mobile terminal.
  • the Widget has a display window, and the running information fed back to the Service by the air processing device is updated into the display window.
  • the service may request the operation information from the air processing device according to a preset data update period, or may also preset a reporting period of the operation information for the air processing device, where the air processing device is timed according to the reporting period. Feedback to the Service to run the information.
  • the operation information may include a device name of the air handling device (eg, air conditioner 1), a setting parameter (eg, a current set temperature), a current operating mode (eg, a cooling mode), current location information (eg, located at The master bedroom), and any one or more combinations of the current power-on state (eg, power on or power off).
  • a device name of the air handling device eg, air conditioner 1
  • a setting parameter eg, a current set temperature
  • a current operating mode eg, a cooling mode
  • current location information eg, located at The master bedroom
  • any one or more combinations of the current power-on state eg, power on or power off.
  • the service After receiving the operation information, the service generates first broadcast information, where the first broadcast information includes all the operation information reported by the air processing device.
  • the Service sends the first broadcast information.
  • an action flag may be added to the first broadcast information.
  • the action flag here may be action1, and the action receives the action action1 in the Widget.
  • the running information is obtained from the first broadcast information, and the running information is displayed in the display window to complete the running information update process in the display window of the Widget.
  • the air treatment device control device and the air treatment device respectively Server communication connection;
  • the air treatment device control device further includes:
  • the association module 40 is configured to acquire a device number of the air processing device, and associate the air processing device control device with an air processing device corresponding to the device number according to the device number.
  • the Widget Correlating the air handling device control device with the air handling device corresponding to the device number according to the device number, after the association is completed, the Widget obtains the running information of the air processing device by using the service process, and The running information is updated in the display window.
  • the air treatment device may be directly connected to the air treatment device control device, or the air treatment device and the air treatment device control device may be respectively connected to the server, and the server reads the An operation information of the air processing device, and sending the operation information to the service through the server, the server may further receive the instruction information sent by the service, and forward the instruction information to the air processing device, to The air handling equipment is controlled.
  • the WiFi module disposed in the air treatment device is connected to the air treatment device control device through a local routing network, and the WiFi module will be the air
  • the device number of the processing device is provided to the air handling device control device, the air handling device control device identifying the air handling device by the device number to obtain control authority of the air handling device.
  • the connection of the WiFi module is generally a one-to-one connection. In the connection mode, when the air treatment device control device is in communication connection with the air conditioner 1, if the air conditioner 2 and the air air treatment device are required to be controlled, When the device is connected, the connection between the air conditioner 1 and the air treatment device control device needs to be disconnected before the air conditioner 2 can be connected.
  • the air treatment device and the air treatment device control device are respectively communicably connected to the server, which is convenient for implementing the air treatment device control device and the Widget to simultaneously control a plurality of the air treatment devices.
  • the WiFi module of the air processing device stores the device number of the air processing device, and after the WiFi module accesses the local routing network, the user name and password of the local router are provided to the air processing.
  • the device so that the air processing device can register the network in the server, and after completing the step of registering the network, the server can obtain the device number of the air processing device and the operating parameter uploaded by the air processing device.
  • the acquisition module 20 includes:
  • the obtaining unit 21 is configured to acquire operation information of the air processing device, and send the operation information to the server;
  • the feedback unit 22 is configured to feed back, according to the request of the service process, the air processing device control device and the air processing device, the air processing associated with the air processing device control device to the service process Information about the operation of the device.
  • the air treatment device After the server is in communication with the air treatment device control device and the air treatment device, the air treatment device feeds back its operation information to the server, and the service sends the operation parameter to the server to obtain the air treatment device.
  • the server sends the operation information fed back by the air processing device to the service, and the service sends the operation information to the Widget in the form of the first broadcast information.
  • the operation information of the air processing device may be sent to the server according to a preset reporting period, or may be sent to the server according to a request of the Service.
  • the Widget further includes any one of the first to third embodiments of the air treatment device control device of the present invention.
  • the air treatment device control device further includes:
  • the sending module 50 is configured to acquire instruction information triggered by the user according to the control button in the service process, and acquire a device control code generated by the service process according to the instruction information, and control the device with the air processing device. Transmitting, by the air processing device associated with the device, the device control code;
  • the obtaining module 20 is further configured to:
  • the operation information of the air processing device not only the operation information of the air processing device but also the control button of the air processing device may be set.
  • the instruction information for controlling the operation of the air processing device may be triggered according to the control button, and the Service generates a control code for controlling the operation of the air processing device according to the instruction information.
  • the Service When the air treatment device is in direct communication connection with the air treatment device control device, the Service directly transmits the control code to the air treatment device.
  • the air processing device When the air processing device is connected to the air handling device control device through the server, the Service transmits the control code to the server, and transmits the control code to the air processing device through the server.
  • the server controls the device code identification carried in the interaction data (eg, device control code, operation information) and the air processing device control Device-associated air handling equipment to avoid data mis-delivery in data interaction.
  • the interaction data eg, device control code, operation information
  • the air processing device After receiving the device control code, the air processing device operates according to the device control code to adjust its own operation information, and the air processing device feeds back to the Service or the server after completing its own operation information adjustment.
  • the second run information after adjustment For example, when the set temperature of the air treatment device is 23 ° C, and the device control code is to lower the set temperature by 1 ° C, the air processing device lowers the set temperature by 1 ° C according to the device control code.
  • the air processing device feeds back a current set temperature value of 22 ° C to the Service, or feeds back to the server the current set temperature value of 22 ° C.
  • the transmission module 50 includes:
  • a first subunit 51 configured to acquire the control button touched by the user in the display window
  • a second sub-unit 52 configured to acquire instruction information corresponding to the control button, generate second broadcast information according to the instruction information, and send the second broadcast information to the service process;
  • the third subunit 53 is configured to acquire the instruction information according to the second broadcast information in the service process.
  • the second broadcast information is sent to the Service according to the control button.
  • the logic mainly refers to processing user's instruction information (for example, shutdown, temperature increase of 1 ° C, temperature decrease by 1 ° C) into corresponding data, and
  • the instruction information is sent out through the second broadcast information.
  • the action information is also included in the second broadcast information.
  • the action flag is action2.
  • the service obtains the instruction information from the second broadcast information, and converts the instruction information into a device control code that can be identified by the air processing device, and directly sends the device to the air processing device, or first
  • the device control code is sent to the server, and then sent to the air processing device by the server, so that the control process of the Widget to the air processing device can be implemented.
  • a first embodiment of the present invention provides a method for controlling an air treatment device, which is applied to an air treatment device control device, the air treatment device including an air inlet, an air outlet, and a connection a air duct of the air inlet and the air outlet, wherein a functional module is disposed in the air duct; the air processing equipment control device includes a Widget display window, and the air processing equipment control device is associated with at least one air processing device
  • the air handling device control method includes the following steps:
  • Step S10 when the air adjustment module is turned on, starting a service process
  • Step S20 Acquire operation information that the air processing device feeds back to the service process.
  • Step S30 receiving the first broadcast information generated by the service process according to the operation information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and performing the operation. Information is displayed in the display window.
  • the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control device is when the air adjustment module is turned on. And starting the service process, acquiring operation information that is sent back by the air processing device to the service process, and receiving, by the service process, the first broadcast information that is generated according to the operation information, and sent to the Widget, from the first Acquiring the running information of the air processing device in the broadcast information, and displaying the running information in the display window. Therefore, the user only needs to view the Widget display window to obtain the running information of the air processing device.
  • the utility model effectively alleviates the technical problem that the operation information of the air processing device based on the mobile terminal is cumbersome and the operation efficiency is low.
  • the air treatment device is an air conditioner, and the operation information includes setting a wind speed, a set temperature, an operation mode, and the like;
  • the function module is air
  • the purification component the air purification component includes a filter net, a dust removal layer, etc.
  • the air treatment device is an air purifier, and the operation information includes setting the wind speed, PM2.5, formaldehyde content, dust concentration, etc.;
  • the functional module is a dehumidification/humidification component
  • the air treatment device is a dehumidifier/humidifier, and the operation information includes setting a wind speed, setting a humidity, and the like.
  • the air treatment apparatus is exemplified as an air conditioner for convenience of description.
  • the air treatment device associated with the air treatment device control device may be various, such as a humidifier, a dehumidifier, an air conditioner, an air cleaner, and the like.
  • the mobile terminal may be a mobile phone, an Ipad, a notebook computer, or the like, but the type of the mobile terminal is not limited thereto.
  • the air treatment device control device in the present invention is associated with the air treatment device, the service process is a Service process, and the Service is used for data interaction between the air treatment device control device and the air treatment device.
  • the information displayed in the display window of the Widget is part of the information in the air handling device control device.
  • the Widget of the air handling device control page card is added to the desktop of the mobile terminal.
  • the Widget has a display window, and the running information fed back to the Service by the air processing device is updated into the display window.
  • the service may request the operation information from the air processing device according to a preset data update period, or may also preset a reporting period of the operation information for the air processing device, where the air processing device is timed according to the reporting period. Feedback to the Service to run the information.
  • the operation information may include a device name of the air handling device (eg, air conditioner 1), a setting parameter (eg, a current set temperature), a current operating mode (eg, a cooling mode), current location information (eg, located at The master bedroom), and any one or more combinations of the current power-on state (eg, power on or power off).
  • a device name of the air handling device eg, air conditioner 1
  • a setting parameter eg, a current set temperature
  • a current operating mode eg, a cooling mode
  • current location information eg, located at The master bedroom
  • any one or more combinations of the current power-on state eg, power on or power off.
  • the service After receiving the operation information, the service generates first broadcast information, where the first broadcast information includes all the operation information reported by the air processing device.
  • the Service sends the first broadcast information.
  • an action flag may be added to the first broadcast information.
  • the action flag here may be action1, and the action receives the action action1 in the Widget.
  • the running information is obtained from the first broadcast information, and the running information is displayed in the display window to complete the running information update process in the display window of the Widget.
  • the air treatment device control device and the air treatment device respectively Server communication connection;
  • the method further includes:
  • Step S40 Acquire a device number of the air processing device, and associate the air processing device control device with an air processing device corresponding to the device number according to the device number.
  • the Widget Correlating the air handling device control device with the air handling device corresponding to the device number according to the device number, after the association is completed, the Widget obtains the running information of the air processing device by using the service process, and The running information is updated in the display window.
  • the air treatment device may be directly connected to the air treatment device control device, or the air treatment device and the air treatment device control device may be respectively connected to the server, and the server reads the An operation information of the air processing device, and sending the operation information to the service through the server, the server may further receive the instruction information sent by the service, and forward the instruction information to the air processing device, to The air handling equipment is controlled.
  • the WiFi module disposed in the air treatment device is connected to the air treatment device control device through a local routing network, and the WiFi module will be the air
  • the device number of the processing device is provided to the air handling device control device, the air handling device control device identifying the air handling device by the device number to obtain control authority of the air handling device.
  • the connection of the WiFi module is generally a one-to-one connection. In the connection mode, when the air treatment device control device is in communication connection with the air conditioner 1, if the air conditioner 2 and the air air treatment device are required to be controlled, When the device is connected, the connection between the air conditioner 1 and the air treatment device control device needs to be disconnected before the air conditioner 2 can be connected.
  • the air treatment device and the air treatment device control device are respectively communicably connected to the server, which is convenient for implementing the air treatment device control device and the Widget to simultaneously control a plurality of the air treatment devices.
  • the WiFi module of the air processing device stores the device number of the air processing device, and after the WiFi module accesses the local routing network, the user name and password of the local router are provided to the air processing.
  • the device so that the air processing device can register the network in the server, and after completing the step of registering the network, the server can obtain the device number of the air processing device and the operating parameter uploaded by the air processing device.
  • step S20 includes:
  • Step S21 acquiring operation information of the air processing device, and transmitting the operation information to the server;
  • Step S22 feeding back, to the service process, the operation of the air processing device associated with the air processing device control device according to the request of the service process and the relationship between the air processing device control device and the air processing device information.
  • the air treatment device After the server is in communication with the air treatment device control device and the air treatment device, the air treatment device feeds back its operation information to the server, and the service sends the operation parameter to the server to obtain the air treatment device.
  • the server sends the operation information fed back by the air processing device to the service, and the service sends the operation information to the Widget in the form of the first broadcast information.
  • the operation information of the air processing device may be sent to the server according to a preset reporting period, or may be sent to the server according to a request of the Service.
  • the Widget further includes a control button for adjusting operational information of the air treatment device displayed in the display window;
  • the method further includes:
  • Step S50 (not shown), acquiring instruction information triggered by the user according to the control button in the service process, and acquiring a device control code generated by the service process according to the instruction information, and processing with the air
  • the air handling device associated with the device control device sends the device control code
  • the step S20 includes:
  • Step S23 acquiring second operation information after the air processing device is operated according to the device control code
  • Step S24 determining the second running information as the running information, and feeding back the running information to the service process.
  • the operation information of the air processing device not only the operation information of the air processing device but also the control button of the air processing device may be set.
  • the instruction information for controlling the operation of the air processing device may be triggered according to the control button, and the Service generates a control code for controlling the operation of the air processing device according to the instruction information.
  • the Service When the air treatment device is in direct communication connection with the air treatment device control device, the Service directly transmits the control code to the air treatment device.
  • the air processing device When the air processing device is connected to the air handling device control device through the server, the Service transmits the control code to the server, and transmits the control code to the air processing device through the server.
  • the server controls the device code identification carried in the interaction data (eg, device control code, operation information) and the air processing device control Device-associated air handling equipment to avoid data mis-delivery in data interaction.
  • the interaction data eg, device control code, operation information
  • the air processing device After receiving the device control code, the air processing device operates according to the device control code to adjust its own operation information, and the air processing device feeds back to the Service or the server after completing its own operation information adjustment.
  • the second run information after adjustment For example, when the set temperature of the air treatment device is 23 ° C, and the device control code is to lower the set temperature by 1 ° C, the air processing device lowers the set temperature by 1 ° C according to the device control code.
  • the air processing device feeds back a current set temperature value of 22 ° C to the Service, or feeds back to the server the current set temperature value of 22 ° C.
  • a fourth embodiment of the air treatment device control method according to the present invention in the fifth embodiment of the air treatment device control method of the present invention, the obtaining in the service process in the step S50
  • the instruction information triggered by the user according to the control button includes:
  • Step S51 acquiring the control button touched by the user in the display window
  • Step S52 acquiring instruction information corresponding to the control button, generating second broadcast information according to the instruction information, and transmitting the second broadcast information to the service process;
  • Step S53 in the service process, acquiring the instruction information according to the second broadcast information.
  • the second broadcast information is sent to the Service according to the control button.
  • the logic mainly refers to processing user's instruction information (for example, shutdown, temperature increase of 1 ° C, temperature decrease by 1 ° C) into corresponding data, and
  • the instruction information is sent out through the second broadcast information.
  • the action information is also included in the second broadcast information.
  • the action flag is action2.
  • the service obtains the instruction information from the second broadcast information, and converts the instruction information into a device control code that can be identified by the air processing device, and directly sends the device to the air processing device, or first
  • the device control code is sent to the server, and then sent to the air processing device by the server, so that the control process of the Widget to the air processing device can be implemented.
  • the present invention also provides an air treatment device control system including an air treatment device and the air treatment device control device, the air treatment device control device being associated with the air treatment device, the display The window displays the operation information of the air processing device
  • the air treatment device control device may be disposed on the mobile terminal, and the display interface of the mobile terminal is provided with an air treatment device control device for controlling the air treatment device, and is provided with a trigger for entering the air on the display interface.

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

An air treatment device control apparatus, comprising a Widget display window. The air treatment device control apparatus is at least associated with an air treatment device. The air treatment device control apparatus comprises: an air adjustment module (10), wherein when the air adjustment module (10) is turned on, a service process is started; an acquisition module (20) for acquiring running information fed back by the air treatment device to the service process; and a display module (30) for receiving first broadcast information generated by the service process according to the running information and sent to a Widget, acquiring, from the first broadcast information, the running information about the air treatment device, and displaying the running information in a display window. Further disclosed are an air treatment device control method and an air treatment device control system. The air treatment device control apparatus solves the technical problem that the operation for displaying running information about an air treatment device based on a mobile terminal is cumbersome and inefficient.

Description

空气处理设备控制装置、方法和系统  Air treatment equipment control device, method and system
技术领域Technical field
本发明涉及空气处理设备技术领域,尤其涉及一种空气处理设备控制装置、空气处理设备控制方法,以及具有所述空气处理设备控制装置的空气处理设备控制系统。The present invention relates to the field of air treatment equipment, and in particular, to an air treatment equipment control apparatus, an air treatment equipment control method, and an air treatment equipment control system having the air treatment equipment control apparatus.
背景技术Background technique
随着科技的进步,空气处理设备(例如,空调、加湿机、除湿机、空气净化器等)得到了广泛使用,空气处理设备的控制也不再局限于空气处理设备配套的红外遥控器,基于对空气处理设备进行控制的应用场景逐渐出现,用户只需在自己的移动终端(如智能手机、平板电脑等)安装空气处理设备控制装置,然后在移动终端启动空气处理设备控制装置,即可在空气处理设备控制装置中查看空气处理设备的运行信息。With the advancement of technology, air handling equipment (such as air conditioners, humidifiers, dehumidifiers, air purifiers, etc.) has been widely used, and the control of air handling equipment is no longer limited to infrared remote controllers for air handling equipment, based on Application scenarios for controlling air handling equipment are gradually emerging. Users only need to install air handling equipment control devices on their mobile terminals (such as smart phones, tablets, etc.), and then start air handling equipment control devices in mobile terminals. View the operating information of the air handling equipment in the air handling equipment control unit.
但是,用户若需要操作移动终端来查看空气处理设备的运行信息,需要切换移动终端显示界面,找到并点击启动空气处理设备控制装置,然后等待空气处理设备控制装置启动后,再对空气处理设备控制装置进行操作以实现对当前关联空气处理设备运行信息的显示,特别是在移动终端显示界面上应用图标很多时,用户需要经过花费较长时间来寻找空气处理设备控制装置,并频繁开启空气处理设备控制装置,造成基于移动终端显示空气处理设备的运行信息操作繁琐、操作效率低的技术问题。However, if the user needs to operate the mobile terminal to view the operation information of the air processing device, it is necessary to switch the display interface of the mobile terminal, find and click to start the air treatment device control device, and then wait for the air treatment device control device to start, then control the air treatment device. The device operates to display the current associated air handling device operation information, especially when the application icon is many on the mobile terminal display interface, the user needs to spend a long time searching for the air treatment device control device, and frequently turn on the air treatment device. The control device causes a technical problem that the operation information of the air processing device is displayed on the mobile terminal is cumbersome and the operation efficiency is low.
发明内容Summary of the invention
本发明的主要目的在于提供一种空气处理设备控制装置,旨在缓解基于移动终端显示空气处理设备的运行信息操作繁琐、操作效率低的技术问题。The main object of the present invention is to provide an air treatment device control device, which aims to alleviate the technical problem that the operation information of the air treatment device based on the mobile terminal is cumbersome and the operation efficiency is low.
为实现上述目的,本发明提供的空气处理设备控制装置中,所述空气处理设备包括进风口、出风口,以及连接所述进风口和所述出风口的风道,在所述风道中,设置有功能模块;所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制装置包括:In the air treatment device control device provided by the present invention, the air treatment device includes an air inlet, an air outlet, and a duct connecting the air inlet and the air outlet, and in the air duct, There is a functional module; the air handling device control device includes a Widget display window, and the air handling device control device is associated with at least one air handling device, the air handling device control device comprising:
空气调整模块,所述空气调整模块开启时,启动服务进程;An air conditioning module, when the air conditioning module is turned on, starting a service process;
获取模块,用于获取所述空气处理设备向所述服务进程反馈的运行信息;An obtaining module, configured to obtain operation information that is sent back by the air processing device to the service process;
显示模块,用于接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示。a display module, configured to receive, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, and obtain, from the first broadcast information, operation information of the air processing device, and The running information is displayed in the display window.
优选地,所述空气处理设备控制装置与所述空气处理设备分别与服务器通讯连接;Preferably, the air treatment device control device and the air treatment device are respectively connected to a server;
所述空气处理设备控制装置还包括:The air treatment device control device further includes:
关联模块,用于获取所述空气处理设备的设备号,根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联。And an association module, configured to acquire a device number of the air processing device, and associate the air processing device control device with the air processing device corresponding to the device number according to the device number.
优选地,所述获取模块包括:Preferably, the obtaining module comprises:
获取单元,用于获取所述空气处理设备的运行信息,并将所述运行信息发送至所述服务器;An obtaining unit, configured to acquire operation information of the air processing device, and send the operation information to the server;
反馈单元,用于根据所述服务进程的请求,以及所述空气处理设备控制装置与所述空气处理设备的关联关系,向所述服务进程反馈与所述空气处理设备控制装置关联的空气处理设备的运行信息。a feedback unit, configured to feed back, to the service process, an air processing device associated with the air processing device control device according to the request of the service process and an association relationship between the air processing device control device and the air processing device Running information.
优选地,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;Preferably, the Widget further includes a control button displayed in the display window for adjusting operation information of the air processing device;
所述空气处理设备控制装置,还包括:The air treatment device control device further includes:
发送模块,用于在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;a sending module, configured to acquire, in the service process, instruction information triggered by the user according to the control button, and acquire a device control code generated by the service process according to the instruction information, and the air processing device control device The associated air handling device sends the device control code;
所述获取模块进一步用于:The obtaining module is further configured to:
获取所述空气处理设备根据所述设备控制码运行后的第二运行信息,将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Obtaining, by the air processing device, the second running information according to the device control code, determining the second running information as the running information, and feeding back the running information to the service process.
优选地,所述发送模块包括:Preferably, the sending module includes:
第一子单元,用于获取用户在所述显示窗口中触控的所述控制按键;a first subunit, configured to acquire the control button touched by the user in the display window;
第二子单元,用于获取与所述控制按键对应的指令信息,根据所述指令信息生成第二广播信息,并向所述服务进程发送所述第二广播信息;a second subunit, configured to acquire instruction information corresponding to the control button, generate second broadcast information according to the instruction information, and send the second broadcast information to the service process;
第三子单元,用于在所述服务进程中,根据所述第二广播信息获取所述指令信息。a third subunit, configured to acquire the instruction information according to the second broadcast information in the service process.
此外,为实现上述目的,本发明还提供一种空气处理设备控制方法,应用于空气处理设备控制装置,所述空气处理设备包括进风口、出风口,以及连接所述进风口和所述出风口的风道,在所述风道中,设置有功能模块;所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制方法包括如下步骤:In addition, in order to achieve the above object, the present invention also provides an air treatment device control method, which is applied to an air treatment device control device, the air treatment device includes an air inlet, an air outlet, and the air inlet and the air outlet. a wind tunnel in which a function module is provided; the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control method includes The following steps:
所述空气调整模块开启时,启动服务进程;When the air adjustment module is turned on, the service process is started;
获取所述空气处理设备向所述服务进程反馈的运行信息;Obtaining operation information that the air processing device feeds back to the service process;
接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示。Receiving, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and using the operation information in the Displayed in the display window.
优选地,所述空气处理设备控制装置与所述空气处理设备分别与服务器通讯连接;Preferably, the air treatment device control device and the air treatment device are respectively connected to a server;
所述空气调整模块开启时,启动服务进程之前,还包括:When the air conditioning module is turned on, before starting the service process, the method further includes:
获取所述空气处理设备的设备号,根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联。Obtaining a device number of the air treatment device, and associating the air treatment device control device with an air treatment device corresponding to the device number according to the device number.
优选地,所述获取所述空气处理设备向所述服务进程反馈的运行信息,包括:Preferably, the acquiring the operation information that the air processing device feeds back to the service process includes:
获取所述空气处理设备的运行信息,并将所述运行信息发送至所述服务器;Obtaining operation information of the air processing device, and transmitting the operation information to the server;
根据所述服务进程的请求,以及所述空气处理设备控制装置与所述空气处理设备的关联关系,向所述服务进程反馈与所述空气处理设备控制装置关联的空气处理设备的运行信息。And according to the request of the service process, and the association relationship between the air processing device control device and the air processing device, the operation information of the air processing device associated with the air processing device control device is fed back to the service process.
优选地,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;Preferably, the Widget further includes a control button displayed in the display window for adjusting operation information of the air processing device;
所述接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示之前,还包括:And receiving, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and using the operation information Before being displayed in the display window, it also includes:
在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;Acquiring, in the service process, instruction information triggered by the user according to the control button, and acquiring a device control code generated by the service process according to the instruction information, to an air processing device associated with the air processing device control device Sending the device control code;
所述获取所述空气处理设备向所述服务进程反馈的运行信息,包括:The obtaining the running information that is sent back by the air processing device to the service process includes:
获取所述空气处理设备根据所述设备控制码运行后的第二运行信息;Obtaining second running information after the air processing device is operated according to the device control code;
将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Determining the second running information as the running information, and feeding back the running information to the service process.
优选地,所述在所述服务进程中获取用户根据所述控制按键所触发的指令信息,包括:Preferably, the acquiring the instruction information triggered by the user according to the control button in the service process includes:
获取用户在所述显示窗口中触控的所述控制按键;Obtaining the control button touched by the user in the display window;
获取与所述控制按键对应的指令信息,根据所述指令信息生成第二广播信息,并向所述服务进程发送所述第二广播信息;Obtaining instruction information corresponding to the control button, generating second broadcast information according to the instruction information, and transmitting the second broadcast information to the service process;
在所述服务进程中,根据所述第二广播信息获取所述指令信息。In the service process, the instruction information is acquired according to the second broadcast information.
此外,为实现上述目的,本发明还提供一种空气处理设备控制系统,所述空气处理设备控制系统包括空气处理设备和所述空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息。Further, in order to achieve the above object, the present invention also provides an air treatment apparatus control system including an air treatment apparatus and the air treatment apparatus control apparatus, the air treatment apparatus control apparatus and the air Processing device associations, the display window displaying operational information of the air handling device.
在本发明的技术方案中,所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制装置在所述空气调整模块开启时,启动服务进程,获取所述空气处理设备向所述服务进程反馈的运行信息,接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示,因此,用户只需要查看所述Widget显示窗口,即可获取所述空气处理设备的运行信息,有效缓解了基于移动终端显示空气处理设备的运行信息操作繁琐、操作效率低的技术问题。In the technical solution of the present invention, the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control device is when the air adjustment module is turned on. And starting the service process, acquiring operation information that is sent back by the air processing device to the service process, and receiving, by the service process, the first broadcast information that is generated according to the operation information, and sent to the Widget, from the first Acquiring the running information of the air processing device in the broadcast information, and displaying the running information in the display window. Therefore, the user only needs to view the Widget display window to obtain the running information of the air processing device. The utility model effectively alleviates the technical problem that the operation information of the air processing device based on the mobile terminal is cumbersome and the operation efficiency is low.
附图说明DRAWINGS
图1为本发明空气处理设备控制方法中的空气处理设备控制页卡在Widget上的部署示意图;1 is a schematic diagram of deployment of an air handling device control page card on a Widget in an air handling device control method according to the present invention;
图2为本发明空气处理设备控制装置第一实施例的功能模块示意图;2 is a schematic diagram of functional modules of a first embodiment of an air handling device control apparatus according to the present invention;
图3为本发明空气处理设备控制装置第二实施例的功能模块示意图;3 is a schematic diagram of functional modules of a second embodiment of an air handling device control apparatus according to the present invention;
图4为本发明空气处理设备控制装置第三实施例的功能模块示意图;4 is a schematic diagram of functional modules of a third embodiment of an air handling device control apparatus according to the present invention;
图5为本发明空气处理设备控制装置第四实施例的功能模块示意图;5 is a schematic diagram of functional modules of a fourth embodiment of an air handling device control apparatus according to the present invention;
图6为本发明空气处理设备控制装置第五实施例的功能模块示意图;6 is a schematic diagram of functional modules of a fifth embodiment of an air handling device control apparatus according to the present invention;
图7为本发明空气处理设备控制方法第一实施例的流程示意图;7 is a schematic flow chart of a first embodiment of a method for controlling an air handling device according to the present invention;
图8为本发明空气处理设备控制方法第二实施例的流程示意图;8 is a schematic flow chart of a second embodiment of a method for controlling an air handling device according to the present invention;
图9为本发明空气处理设备控制方法第三实施例的流程示意图;9 is a schematic flow chart of a third embodiment of a method for controlling an air handling device according to the present invention;
图10为本发明空气处理设备控制方法第四实施例的流程示意图;10 is a schematic flow chart of a fourth embodiment of a method for controlling an air handling device according to the present invention;
图11为本发明空气处理设备控制方法第五实施例的流程示意图。11 is a schematic flow chart of a fifth embodiment of a method for controlling an air handling device according to the present invention.
本发明目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The object, features, and advantages of the invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应在理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The specific embodiments described herein are to be construed as illustrative only and not limiting.
APPWidget是一款可以置于移动终端桌面上的桌面小组件应用,可以用于显示时钟、日历、天气等信息,其在移动终端桌面上呈现为显示特定信息的悬浮窗口,因此,用户不需要对APPWidget进行点击或打开操作,即可第一时间查看到在悬浮窗口上呈现的特定信息。APPWidget上的显示信息可以自动刷新,或者手动点击预设控制按键进行刷新。APPWidget is a desktop widget application that can be placed on the desktop of a mobile terminal. It can be used to display clock, calendar, weather and other information. It is displayed on the desktop of the mobile terminal as a floating window for displaying specific information. Therefore, the user does not need to APPWidget can click to open or open the first time to view the specific information presented on the floating window. The display information on the APPWidget can be refreshed automatically, or manually click the preset control button to refresh.
在本发明的技术方案中,可以将空气处理设备的控制APP部署到Widget中,因此,用户通过悬浮于移动终端桌面上的APPWidget窗口,即可直接控制空气处理设备的运行,或者读取到空气处理设备的运行信息。In the technical solution of the present invention, the control APP of the air processing device can be deployed into the Widget. Therefore, the user can directly control the operation of the air processing device or read the air through the APPWidget window suspended on the desktop of the mobile terminal. Process information about the operation of the device.
为APP创建APPWidget的过程,主要是对AppWidgetProvider和AppWidgetProviderInfo两大类进行相关操作的过程。The process of creating an APPWidget for an APP is mainly a process of performing related operations on the AppWidgetProvider and AppWidgetProviderInfo classes.
AppWidgetProvider用于接收widget相关的广播,例如wigdet的更新、删除、开启和禁用等。AppWidgetProvider is used to receive widget-related broadcasts, such as update, delete, enable, and disable of wigdet.
AppWidgetProviderInfo在XML里定义,用于指定AppWidget的相关数据,如Widget的布局、对应的AppWidgetProvider类等。AppWidgetProviderInfo is defined in XML and is used to specify the relevant data of the AppWidget, such as the layout of the Widget, the corresponding AppWidgetProvider class, and so on.
在一个APP中部署一个Widget主要包括如下步骤:Deploying a Widget in an app mainly includes the following steps:
1、定义Widget的布局,设置控件的摆放位置;1, define the layout of the Widget, set the placement of the control;
2、自定义一个AppWidgetProvider类,以处理Widget的所有相关逻辑,并更新Widget的控件显示(如图片显示或文字显示);还可以通过自定义设置当预设按钮被点击时发送广播,并且用onReceive(Context, Intent)接收预设按钮点击的广播,并添加相应的按钮点击逻辑。2, customize an AppWidgetProvider class to handle all the relevant logic of the Widget, and update the control display of the Widget (such as picture display or text display); you can also send a broadcast when the preset button is clicked through the custom settings, and use onReceive (Context, Intent) Receives a broadcast of a preset button click and adds a corresponding button click logic.
3、自定义一个Service以处理App与Widget之间的数据传输,数据传输过程可以自Widget添加到桌面时启动,并到Widget从桌面删除时停止;3. Customize a Service to handle data transfer between the App and the Widget. The data transfer process can be started when the Widget is added to the desktop, and stops when the Widget is deleted from the desktop.
4、在XML中定义AppWidgetProviderInfo,以指定Widget的布局、AppWidgetProvider类等。4. Define AppWidgetProviderInfo in XML to specify the layout of the Widget, the AppWidgetProvider class, and so on.
通过以上步骤即可完成一个Widget的部署过程。Through the above steps, you can complete the deployment process of a Widget.
当App安装完成之后,会在系统的小组件列表中出现所创建的Widget,用户可以选择是否将其添加至桌面。When the app is installed, the created widget will appear in the system's widget list, and the user can choose whether to add it to the desktop.
所述空气处理设备可以是任意对空气参数进行调节的装置,例如,空调、加湿机、除湿机、空气净化器等。The air treatment device may be any device that regulates air parameters, such as an air conditioner, a humidifier, a dehumidifier, an air cleaner, and the like.
下文中,将所述空气处理设备列举为空调,并以空调控制页卡部署到Widget为例,详细说明Widget的部署过程和加载过程。请参阅图1,空调控制页卡中显示的信息为空调的运行信息,例如,空调名称、空调位置、空调运行模式以及当前设定温度,空调控制页卡中的控制控件为空调的控制控制按键,例如,温度调节按钮以及关机按钮。Hereinafter, the air processing device is enumerated as an air conditioner, and the air conditioner control page card is deployed to the Widget as an example to describe the deployment process and the loading process of the Widget in detail. Referring to FIG. 1, the information displayed in the air conditioning control page card is the operation information of the air conditioner, for example, the air conditioner name, the air conditioner position, the air conditioning operation mode, and the current set temperature. The control control in the air conditioning control page card is the control control button of the air conditioner. For example, the temperature adjustment button and the shutdown button.
在APP开启的状态下(只要APP的进程未被杀死,都认为APP处于开启状态),用户将空调控制页卡的Widget添加到桌面后,会启动APP中定义的Service,该Service将同步该空调的运行信息,同步方式可以通过每隔一定的时间对空调的运行数据进行查询或空调自动上报等方式。在Service获取到空调的相关数据之后,将空调的运行信息作为广播发送出去,该广播中将带上一个action标志,如action1,在AppWidgetProvider中通过onReceive(Context, Intent)接收action为action1的广播,并且获取广播中的空调的运行信息,并将这些数据实时更新到Widget界面上,以实现Widget的界面更新过程。When the APP is turned on (as long as the process of the APP is not killed, the APP is considered to be in the open state), after the user adds the Widget of the air conditioning control page card to the desktop, the Service defined in the APP is started, and the Service will synchronize the The operation information of the air conditioner, the synchronization mode can be used to query the operation data of the air conditioner or automatically report the air conditioner at regular intervals. After the service obtains the relevant data of the air conditioner, the operation information of the air conditioner is sent out as a broadcast, and the broadcast will carry an action flag, such as action1, in the AppWidgetProvider through onReceive(Context, Intent) receives the broadcast of action1 as action1, and obtains the running information of the air conditioner in the broadcast, and updates the data to the Widget interface in real time to implement the interface update process of the Widget.
当空调的控制控制按键被点击后,可以设置向外发送一个广播,在AppWidgetProvider中通过onReceive(Context, Intent)接收所述空调的控制控制按键点击的广播,并且添加相应的逻辑。此处添加的逻辑主要是将用户的控制指令(如关机、温度升高1度、温度降低1度)处理成相应的数据,并通过广播发送出去,该广播也会带上一个action标志,如action2,在Service中接收所述空调的控制控制按键点击的广播,并且读取该广播中携带的控制指令(如关机、温度升高1度、温度降低1度),并编成空调的控制码,发送给相应的空调,以实现Widget控制空调的过程。When the control button of the air conditioner is clicked, you can set to send a broadcast to the outside, and pass the onReceive(Context, in the AppWidgetProvider. Intent) receiving a broadcast of the control of the air conditioner's control control button and adding corresponding logic. The logic added here is mainly to process the user's control commands (such as shutdown, temperature increase of 1 degree, temperature by 1 degree) into corresponding data, and send it out through the broadcast. The broadcast will also carry an action flag, such as Action2, receiving the broadcast of the control button of the air conditioner in the Service, and reading the control command carried in the broadcast (such as shutdown, temperature rise of 1 degree, temperature decrease by 1 degree), and compiling the control code of the air conditioner , sent to the corresponding air conditioner to implement the process of controlling the air conditioner by the Widget.
如果APP进程被杀死了,相应的Service也会被杀死,那么Widget处于不可用的状态,除非重新启动APP,再次触发Service开启。If the APP process is killed, the corresponding Service will also be killed, then the Widget is in an unavailable state, unless the APP is restarted, the Service is started again.
本发明提供一种空气处理设备控制装置。The invention provides an air treatment device control device.
请参阅图2,为实现上述目的,本发明的第一实施例提供一种空气处理设备控制装置,所述空气处理设备包括进风口、出风口,以及连接所述进风口和所述出风口的风道,在所述风道中,设置有功能模块;所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制装置包括:Referring to FIG. 2, in order to achieve the above object, a first embodiment of the present invention provides an air treatment device control device, which includes an air inlet, an air outlet, and a connection between the air inlet and the air outlet. a wind tunnel in which a function module is provided; the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, the air treatment device control device comprising:
空气调整模块10,所述空气调整模块10开启时,启动服务进程;The air conditioning module 10, when the air conditioning module 10 is turned on, starts a service process;
获取模块20,用于获取所述空气处理设备向所述服务进程反馈的运行信息;The obtaining module 20 is configured to obtain operation information that is sent back by the air processing device to the service process;
显示模块30,用于接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示。The display module 30 is configured to receive first broadcast information that is generated by the service process according to the operation information and sent to the Widget, and obtain operation information of the air processing device from the first broadcast information, and The run information is displayed in the display window.
在本发明的技术方案中,所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制装置在所述空气调整模块开启时,启动服务进程,获取所述空气处理设备向所述服务进程反馈的运行信息,接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示,因此,用户只需要查看所述Widget显示窗口,即可获取所述空气处理设备的运行信息,有效缓解了基于移动终端显示空气处理设备的运行信息操作繁琐、操作效率低的技术问题。In the technical solution of the present invention, the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control device is when the air adjustment module is turned on. And starting the service process, acquiring operation information that is sent back by the air processing device to the service process, and receiving, by the service process, the first broadcast information that is generated according to the operation information, and sent to the Widget, from the first Acquiring the running information of the air processing device in the broadcast information, and displaying the running information in the display window. Therefore, the user only needs to view the Widget display window to obtain the running information of the air processing device. The utility model effectively alleviates the technical problem that the operation information of the air processing device based on the mobile terminal is cumbersome and the operation efficiency is low.
若功能模块为换热组件(换热组件包括蒸发器、冷媒回路、毛细管等),则空气处理设备为空调器,运行信息包括设定风速、设定温度、运行模式等;若功能模块为空气净化组件(空气净化组件包括过滤网、除尘层等),则空气处理设备为空气净化器,运行信息包括设定风速、PM2.5、甲醛含量、粉尘浓度等;若功能模块为除湿/加湿组件,则空气处理设备为除湿器/加湿器,运行信息包括设定风速、设定湿度等。If the functional module is a heat exchange component (the heat exchange component includes an evaporator, a refrigerant circuit, a capillary tube, etc.), the air treatment device is an air conditioner, and the operation information includes setting a wind speed, a set temperature, an operation mode, and the like; if the function module is air The purification component (the air purification component includes a filter net, a dust removal layer, etc.), the air treatment device is an air purifier, and the operation information includes setting the wind speed, PM2.5, formaldehyde content, dust concentration, etc.; if the functional module is a dehumidification/humidification component The air treatment device is a dehumidifier/humidifier, and the operation information includes setting a wind speed, setting a humidity, and the like.
在本实施例中,为了便于介绍,将所述空气处理设备列举为空调器。In the present embodiment, the air treatment apparatus is exemplified as an air conditioner for convenience of description.
与所述空气处理设备控制装置关联的所述空气处理设备可以是多种,例如加湿机、除湿机、空调、空气净化器等,The air treatment device associated with the air treatment device control device may be various, such as a humidifier, a dehumidifier, an air conditioner, an air cleaner, and the like.
所述移动终端可以为手机、Ipad、笔记本电脑等,但所述移动终端的种类不限于此。The mobile terminal may be a mobile phone, an Ipad, a notebook computer, or the like, but the type of the mobile terminal is not limited thereto.
本发明中的空气处理设备控制装置与所述空气处理设备关联,所述服务进程为Service进程,Service用于在空气处理设备控制装置与所述空气处理设备中进行数据交互。所述Widget的显示窗口中显示的信息是所述空气处理设备控制装置中的部分信息。当空气调整模块关闭时,Service仍然开启。The air treatment device control device in the present invention is associated with the air treatment device, the service process is a Service process, and the Service is used for data interaction between the air treatment device control device and the air treatment device. The information displayed in the display window of the Widget is part of the information in the air handling device control device. When the air conditioning module is turned off, the Service is still on.
当所述空气调整模块启动时,空气处理设备控制页卡的Widget即被添加至所述移动终端的桌面上。所述Widget具有显示窗口,所述空气处理设备向Service反馈的运行信息被更新至所述显示窗口中。When the air conditioning module is activated, the Widget of the air handling device control page card is added to the desktop of the mobile terminal. The Widget has a display window, and the running information fed back to the Service by the air processing device is updated into the display window.
Service可以按照预设的数据更新周期定时向所述空气处理设备请求运行信息,或者,也可以为所述空气处理设备预设运行信息的上报周期,所述空气处理设备按照所述上报周期,定时向Service反馈运行信息。The service may request the operation information from the air processing device according to a preset data update period, or may also preset a reporting period of the operation information for the air processing device, where the air processing device is timed according to the reporting period. Feedback to the Service to run the information.
所述运行信息可以包括所述空气处理设备的设备名称(例如空调1)、设定参数(例如,当前设定温度)、当前运行模式(例如,制冷模式)、当前的位置信息(例如,位于主卧),以及当前开机状态(例如,开机或关机)中的任意一种或一种以上的组合。The operation information may include a device name of the air handling device (eg, air conditioner 1), a setting parameter (eg, a current set temperature), a current operating mode (eg, a cooling mode), current location information (eg, located at The master bedroom), and any one or more combinations of the current power-on state (eg, power on or power off).
Service接收到所述运行信息后,生成第一广播信息,所述第一广播信息中包含所述空气处理设备上报的全部运行信息。Service将所述第一广播信息发送出去。After receiving the operation information, the service generates first broadcast information, where the first broadcast information includes all the operation information reported by the air processing device. The Service sends the first broadcast information.
为了使所述Widget识别Service发送的第一广播信息,可以为所述第一广播信息添加action标志,在本实施例中,此处的action标志可以为action1,在Widget中接收action为action1的第一广播信息后,从所述第一广播信息中获取所述运行信息,并将所述运行信息在所述显示窗口中显示,以完成所述Widget的显示窗口中的运行信息更新过程。In order to enable the Widget to identify the first broadcast information sent by the service, an action flag may be added to the first broadcast information. In this embodiment, the action flag here may be action1, and the action receives the action action1 in the Widget. After the broadcast information, the running information is obtained from the first broadcast information, and the running information is displayed in the display window to complete the running information update process in the display window of the Widget.
请参阅图3,基于本发明的空气处理设备控制装置的第一实施例,本发明的空气处理设备控制装置的第二实施例中,所述空气处理设备控制装置与所述空气处理设备分别与服务器通讯连接;Referring to FIG. 3, in a second embodiment of the air treatment device control device according to the present invention, in the second embodiment of the air treatment device control device of the present invention, the air treatment device control device and the air treatment device respectively Server communication connection;
所述空气处理设备控制装置还包括:The air treatment device control device further includes:
关联模块40,用于获取所述空气处理设备的设备号,根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联。The association module 40 is configured to acquire a device number of the air processing device, and associate the air processing device control device with an air processing device corresponding to the device number according to the device number.
根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联,完成关联后,Widget通过Service进程即可获取到所述空气处理设备的运行信息,并在所述显示窗口中更新所述运行信息。Correlating the air handling device control device with the air handling device corresponding to the device number according to the device number, after the association is completed, the Widget obtains the running information of the air processing device by using the service process, and The running information is updated in the display window.
所述空气处理设备可以直接与所述空气处理设备控制装置通讯连接,也可以将所述空气处理设备和所述空气处理设备控制装置分别与所述服务器通讯连接,通过所述服务器读取所述空气处理设备的运行信息,并通过所述服务器向Service发送所述运行信息,所述服务器还可以接受Service发送的指令信息,并将所述指令信息转发至所述空气处理设备,以对所述空气处理设备进行控制。The air treatment device may be directly connected to the air treatment device control device, or the air treatment device and the air treatment device control device may be respectively connected to the server, and the server reads the An operation information of the air processing device, and sending the operation information to the service through the server, the server may further receive the instruction information sent by the service, and forward the instruction information to the air processing device, to The air handling equipment is controlled.
当所述空气处理设备直接与所述空气处理设备控制装置通讯连接时,所述空气处理设备中设置的WiFi模块通过本地路由网络连接所述空气处理设备控制装置,所述WiFi模块将所述空气处理设备的设备号提供给所述空气处理设备控制装置,所述空气处理设备控制装置通过所述设备号识别所述空气处理设备,以获得所述空气处理设备的控制权限。所述WiFi模块的连接一般为一对一连接,在此种连接模式下,当所述空气处理设备控制装置与空调器1通讯连接时,如果需要将空调器2与所述空气空气处理设备控制装置连接,则需要先将所述空调器1与所述空气处理设备控制装置的连接断开,才能进行空调器2的连接。When the air treatment device is directly in communication connection with the air treatment device control device, the WiFi module disposed in the air treatment device is connected to the air treatment device control device through a local routing network, and the WiFi module will be the air The device number of the processing device is provided to the air handling device control device, the air handling device control device identifying the air handling device by the device number to obtain control authority of the air handling device. The connection of the WiFi module is generally a one-to-one connection. In the connection mode, when the air treatment device control device is in communication connection with the air conditioner 1, if the air conditioner 2 and the air air treatment device are required to be controlled, When the device is connected, the connection between the air conditioner 1 and the air treatment device control device needs to be disconnected before the air conditioner 2 can be connected.
将所述空气处理设备和所述空气处理设备控制装置分别与所述服务器通讯连接,有利于实现所述空气处理设备控制装置和所述Widget同时控制多个所述空气处理设备。此种连接模式下,所述空气处理设备的WiFi模块中存储有所述空气处理设备的设备号,所述WiFi模块接入本地路由网络后,将本地路由器的用户名和密码提供给所述空气处理设备,以使所述空气处理设备可以在所述服务器中注册联网,完成注册联网的步骤后,所述服务器即可获取所述空气处理设备的设备号和所述空气处理设备上传的运行参数。The air treatment device and the air treatment device control device are respectively communicably connected to the server, which is convenient for implementing the air treatment device control device and the Widget to simultaneously control a plurality of the air treatment devices. In the connection mode, the WiFi module of the air processing device stores the device number of the air processing device, and after the WiFi module accesses the local routing network, the user name and password of the local router are provided to the air processing. The device, so that the air processing device can register the network in the server, and after completing the step of registering the network, the server can obtain the device number of the air processing device and the operating parameter uploaded by the air processing device.
请参阅图4,基于本发明的空气处理设备控制装置的第二实施例,本发明的空气处理设备控制装置的第三实施例中,所述获取模块20包括:Referring to FIG. 4, in a third embodiment of the air treatment device control device of the present invention, the acquisition module 20 includes:
获取单元21,用于获取所述空气处理设备的运行信息,并将所述运行信息发送至所述服务器;The obtaining unit 21 is configured to acquire operation information of the air processing device, and send the operation information to the server;
反馈单元22,用于根据所述服务进程的请求,以及所述空气处理设备控制装置与所述空气处理设备的关联关系,向所述服务进程反馈与所述空气处理设备控制装置关联的空气处理设备的运行信息。The feedback unit 22 is configured to feed back, according to the request of the service process, the air processing device control device and the air processing device, the air processing associated with the air processing device control device to the service process Information about the operation of the device.
所述服务器分别与所述空气处理设备控制装置和所述空气处理设备通讯连接后,所述空气处理设备将其运行信息向服务器反馈,Service向所述服务器发送获取所述空气处理设备的运行参数的请求时,所述服务器将所述空气处理设备反馈的运行信息发送给Service,Service再将所述运行信息以第一广播信息的形式发送给Widget。After the server is in communication with the air treatment device control device and the air treatment device, the air treatment device feeds back its operation information to the server, and the service sends the operation parameter to the server to obtain the air treatment device. The server sends the operation information fed back by the air processing device to the service, and the service sends the operation information to the Widget in the form of the first broadcast information.
所述空气处理设备的运行信息可以按照预设的上报周期发送至所述服务器,亦可以根据Service的请求发送至所述服务器。The operation information of the air processing device may be sent to the server according to a preset reporting period, or may be sent to the server according to a request of the Service.
请参阅图5,基于本发明的空气处理设备控制装置的第一实施例至第三实施例中的任意一项,本发明的空气处理设备控制装置的第四实施例中,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;Referring to FIG. 5, in a fourth embodiment of the air treatment device control apparatus of the present invention, the Widget further includes any one of the first to third embodiments of the air treatment device control device of the present invention. a control button for adjusting operational information of the air treatment device displayed in the display window;
所述空气处理设备控制装置,还包括:The air treatment device control device further includes:
发送模块50,用于在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;The sending module 50 is configured to acquire instruction information triggered by the user according to the control button in the service process, and acquire a device control code generated by the service process according to the instruction information, and control the device with the air processing device. Transmitting, by the air processing device associated with the device, the device control code;
所述获取模块20进一步用于:The obtaining module 20 is further configured to:
获取所述空气处理设备根据所述设备控制码运行后的第二运行信息,将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Obtaining, by the air processing device, the second running information according to the device control code, determining the second running information as the running information, and feeding back the running information to the service process.
在所述Widget的显示窗口中不仅可以显示所述空气处理设备的运行信息,还可以设置所述空气处理设备的控制按键。In the display window of the Widget, not only the operation information of the air processing device but also the control button of the air processing device may be set.
根据所述控制按键可以触发用于控制所述空气处理设备运行的指令信息,Service根据所述指令信息生成用于控制空气处理设备运行的控制码。当所述空气处理设备与所述空气处理设备控制装置直接通讯连接时,Service将所述控制码直接发送给所述空气处理设备。当所述空气处理设备与所述空气处理设备控制装置通过所述服务器连接时,Service将所述控制码发送给所述服务器,并通过所述服务器向所述空气处理设备发送所述控制码。The instruction information for controlling the operation of the air processing device may be triggered according to the control button, and the Service generates a control code for controlling the operation of the air processing device according to the instruction information. When the air treatment device is in direct communication connection with the air treatment device control device, the Service directly transmits the control code to the air treatment device. When the air processing device is connected to the air handling device control device through the server, the Service transmits the control code to the server, and transmits the control code to the air processing device through the server.
所述空气处理设备与所述空气处理设备控制装置通过所述服务器实现数据交互时,服务器通过识别交互数据(例如,设备控制码,运行信息)中携带的设备码识别与所述空气处理设备控制装置关联的空气处理设备,以避免数据交互中的数据误传。When the air processing device and the air processing device control device implement data interaction by the server, the server controls the device code identification carried in the interaction data (eg, device control code, operation information) and the air processing device control Device-associated air handling equipment to avoid data mis-delivery in data interaction.
所述空气处理设备接收到所述设备控制码后,根据所述设备控制码运行,以调整自身的运行信息,所述空气处理设备在完成自身的运行信息调整后,向Service或者所述服务器反馈调整之后的第二运行信息。例如,所述空气处理设备的设定温度为23℃,所述设备控制码为将设定温度下调1℃时,所述空气处理设备根据所述设备控制码将其设定温度下调1℃,所述空气处理设备向Service反馈当前设定温度值22℃,或向所述服务器反馈当前设定温度值22℃。After receiving the device control code, the air processing device operates according to the device control code to adjust its own operation information, and the air processing device feeds back to the Service or the server after completing its own operation information adjustment. The second run information after adjustment. For example, when the set temperature of the air treatment device is 23 ° C, and the device control code is to lower the set temperature by 1 ° C, the air processing device lowers the set temperature by 1 ° C according to the device control code. The air processing device feeds back a current set temperature value of 22 ° C to the Service, or feeds back to the server the current set temperature value of 22 ° C.
请参阅图6,基于本发明的空气处理设备控制装置的第四实施例,本发明的空气处理设备控制装置的第五实施例中,所述发送模块50包括:Referring to FIG. 6, in a fifth embodiment of the air treatment device control apparatus of the present invention, in the fifth embodiment of the air treatment device control apparatus of the present invention, the transmission module 50 includes:
第一子单元51,用于获取用户在所述显示窗口中触控的所述控制按键;a first subunit 51, configured to acquire the control button touched by the user in the display window;
第二子单元52,用于获取与所述控制按键对应的指令信息,根据所述指令信息生成第二广播信息,并向所述服务进程发送所述第二广播信息;a second sub-unit 52, configured to acquire instruction information corresponding to the control button, generate second broadcast information according to the instruction information, and send the second broadcast information to the service process;
第三子单元53,用于在所述服务进程中,根据所述第二广播信息获取所述指令信息。The third subunit 53 is configured to acquire the instruction information according to the second broadcast information in the service process.
当用户触控所述控制按键时,根据所述控制按键向Service发送第二广播信息。在所述第二广播信息中添加相应的逻辑,此处的逻辑主要是指将用户的指令信息(例如,关机、温度升高1℃、温度降低1℃)处理成相应的数据,并将所述指令信息通过第二广播信息发送出去,为了便于Service识别和接收所述第二广播信息,所述第二广播信息中也附带action标志,在本实施例中,所述action标志为action2。Service从所述第二广播信息中获取到所述指令信息,并将所述指令信息转换成所述空气处理设备可以识别的设备控制码,直接发送给所述空气处理设备,或者先将所述设备控制码发送给所述服务器,再通过所述服务器发送给所述空气处理设备,即可实现所述Widget对所述空气处理设备的控制过程。When the user touches the control button, the second broadcast information is sent to the Service according to the control button. Adding corresponding logic to the second broadcast information, where the logic mainly refers to processing user's instruction information (for example, shutdown, temperature increase of 1 ° C, temperature decrease by 1 ° C) into corresponding data, and The instruction information is sent out through the second broadcast information. In order to facilitate the service to identify and receive the second broadcast information, the action information is also included in the second broadcast information. In this embodiment, the action flag is action2. The service obtains the instruction information from the second broadcast information, and converts the instruction information into a device control code that can be identified by the air processing device, and directly sends the device to the air processing device, or first The device control code is sent to the server, and then sent to the air processing device by the server, so that the control process of the Widget to the air processing device can be implemented.
请参阅图7,为实现上述目的,本发明的第一实施例提供一种空气处理设备控制方法,应用于空气处理设备控制装置,所述空气处理设备包括进风口、出风口,以及连接所述进风口和所述出风口的风道,在所述风道中,设置有功能模块;所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制方法包括如下步骤:Referring to FIG. 7, in order to achieve the above object, a first embodiment of the present invention provides a method for controlling an air treatment device, which is applied to an air treatment device control device, the air treatment device including an air inlet, an air outlet, and a connection a air duct of the air inlet and the air outlet, wherein a functional module is disposed in the air duct; the air processing equipment control device includes a Widget display window, and the air processing equipment control device is associated with at least one air processing device The air handling device control method includes the following steps:
步骤S10,所述空气调整模块开启时,启动服务进程;Step S10, when the air adjustment module is turned on, starting a service process;
步骤S20,获取所述空气处理设备向所述服务进程反馈的运行信息;Step S20: Acquire operation information that the air processing device feeds back to the service process.
步骤S30,接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示。Step S30, receiving the first broadcast information generated by the service process according to the operation information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and performing the operation. Information is displayed in the display window.
在本发明的技术方案中,所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制装置在所述空气调整模块开启时,启动服务进程,获取所述空气处理设备向所述服务进程反馈的运行信息,接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示,因此,用户只需要查看所述Widget显示窗口,即可获取所述空气处理设备的运行信息,有效缓解了基于移动终端显示空气处理设备的运行信息操作繁琐、操作效率低的技术问题。In the technical solution of the present invention, the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control device is when the air adjustment module is turned on. And starting the service process, acquiring operation information that is sent back by the air processing device to the service process, and receiving, by the service process, the first broadcast information that is generated according to the operation information, and sent to the Widget, from the first Acquiring the running information of the air processing device in the broadcast information, and displaying the running information in the display window. Therefore, the user only needs to view the Widget display window to obtain the running information of the air processing device. The utility model effectively alleviates the technical problem that the operation information of the air processing device based on the mobile terminal is cumbersome and the operation efficiency is low.
若功能模块为换热组件(换热组件包括蒸发器、冷媒回路、毛细管等),则空气处理设备为空调器,运行信息包括设定风速、设定温度、运行模式等;若功能模块为空气净化组件(空气净化组件包括过滤网、除尘层等),则空气处理设备为空气净化器,运行信息包括设定风速、PM2.5、甲醛含量、粉尘浓度等;若功能模块为除湿/加湿组件,则空气处理设备为除湿器/加湿器,运行信息包括设定风速、设定湿度等。If the functional module is a heat exchange component (the heat exchange component includes an evaporator, a refrigerant circuit, a capillary tube, etc.), the air treatment device is an air conditioner, and the operation information includes setting a wind speed, a set temperature, an operation mode, and the like; if the function module is air The purification component (the air purification component includes a filter net, a dust removal layer, etc.), the air treatment device is an air purifier, and the operation information includes setting the wind speed, PM2.5, formaldehyde content, dust concentration, etc.; if the functional module is a dehumidification/humidification component The air treatment device is a dehumidifier/humidifier, and the operation information includes setting a wind speed, setting a humidity, and the like.
在本实施例中,为了便于介绍,将所述空气处理设备列举为空调器。In the present embodiment, the air treatment apparatus is exemplified as an air conditioner for convenience of description.
与所述空气处理设备控制装置关联的所述空气处理设备可以是多种,例如加湿机、除湿机、空调、空气净化器等,The air treatment device associated with the air treatment device control device may be various, such as a humidifier, a dehumidifier, an air conditioner, an air cleaner, and the like.
所述移动终端可以为手机、Ipad、笔记本电脑等,但所述移动终端的种类不限于此。The mobile terminal may be a mobile phone, an Ipad, a notebook computer, or the like, but the type of the mobile terminal is not limited thereto.
本发明中的空气处理设备控制装置与所述空气处理设备关联,所述服务进程为Service进程,Service用于在空气处理设备控制装置与所述空气处理设备中进行数据交互。所述Widget的显示窗口中显示的信息是所述空气处理设备控制装置中的部分信息。当空气调整模块关闭时,Service仍然开启。The air treatment device control device in the present invention is associated with the air treatment device, the service process is a Service process, and the Service is used for data interaction between the air treatment device control device and the air treatment device. The information displayed in the display window of the Widget is part of the information in the air handling device control device. When the air conditioning module is turned off, the Service is still on.
当所述空气调整模块启动时,空气处理设备控制页卡的Widget即被添加至所述移动终端的桌面上。所述Widget具有显示窗口,所述空气处理设备向Service反馈的运行信息被更新至所述显示窗口中。When the air conditioning module is activated, the Widget of the air handling device control page card is added to the desktop of the mobile terminal. The Widget has a display window, and the running information fed back to the Service by the air processing device is updated into the display window.
Service可以按照预设的数据更新周期定时向所述空气处理设备请求运行信息,或者,也可以为所述空气处理设备预设运行信息的上报周期,所述空气处理设备按照所述上报周期,定时向Service反馈运行信息。The service may request the operation information from the air processing device according to a preset data update period, or may also preset a reporting period of the operation information for the air processing device, where the air processing device is timed according to the reporting period. Feedback to the Service to run the information.
所述运行信息可以包括所述空气处理设备的设备名称(例如空调1)、设定参数(例如,当前设定温度)、当前运行模式(例如,制冷模式)、当前的位置信息(例如,位于主卧),以及当前开机状态(例如,开机或关机)中的任意一种或一种以上的组合。The operation information may include a device name of the air handling device (eg, air conditioner 1), a setting parameter (eg, a current set temperature), a current operating mode (eg, a cooling mode), current location information (eg, located at The master bedroom), and any one or more combinations of the current power-on state (eg, power on or power off).
Service接收到所述运行信息后,生成第一广播信息,所述第一广播信息中包含所述空气处理设备上报的全部运行信息。Service将所述第一广播信息发送出去。After receiving the operation information, the service generates first broadcast information, where the first broadcast information includes all the operation information reported by the air processing device. The Service sends the first broadcast information.
为了使所述Widget识别Service发送的第一广播信息,可以为所述第一广播信息添加action标志,在本实施例中,此处的action标志可以为action1,在Widget中接收action为action1的第一广播信息后,从所述第一广播信息中获取所述运行信息,并将所述运行信息在所述显示窗口中显示,以完成所述Widget的显示窗口中的运行信息更新过程。In order to enable the Widget to identify the first broadcast information sent by the service, an action flag may be added to the first broadcast information. In this embodiment, the action flag here may be action1, and the action receives the action action1 in the Widget. After the broadcast information, the running information is obtained from the first broadcast information, and the running information is displayed in the display window to complete the running information update process in the display window of the Widget.
请参阅图8,基于本发明的空气处理设备控制方法的第一实施例,本发明的空气处理设备控制方法的第二实施例中,所述空气处理设备控制装置与所述空气处理设备分别与服务器通讯连接;Referring to FIG. 8, in a second embodiment of the air treatment device control method according to the present invention, in the second embodiment of the air treatment device control method of the present invention, the air treatment device control device and the air treatment device respectively Server communication connection;
所述步骤S10之前,还包括:Before the step S10, the method further includes:
步骤S40,获取所述空气处理设备的设备号,根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联。Step S40: Acquire a device number of the air processing device, and associate the air processing device control device with an air processing device corresponding to the device number according to the device number.
根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联,完成关联后,Widget通过Service进程即可获取到所述空气处理设备的运行信息,并在所述显示窗口中更新所述运行信息。Correlating the air handling device control device with the air handling device corresponding to the device number according to the device number, after the association is completed, the Widget obtains the running information of the air processing device by using the service process, and The running information is updated in the display window.
所述空气处理设备可以直接与所述空气处理设备控制装置通讯连接,也可以将所述空气处理设备和所述空气处理设备控制装置分别与所述服务器通讯连接,通过所述服务器读取所述空气处理设备的运行信息,并通过所述服务器向Service发送所述运行信息,所述服务器还可以接受Service发送的指令信息,并将所述指令信息转发至所述空气处理设备,以对所述空气处理设备进行控制。The air treatment device may be directly connected to the air treatment device control device, or the air treatment device and the air treatment device control device may be respectively connected to the server, and the server reads the An operation information of the air processing device, and sending the operation information to the service through the server, the server may further receive the instruction information sent by the service, and forward the instruction information to the air processing device, to The air handling equipment is controlled.
当所述空气处理设备直接与所述空气处理设备控制装置通讯连接时,所述空气处理设备中设置的WiFi模块通过本地路由网络连接所述空气处理设备控制装置,所述WiFi模块将所述空气处理设备的设备号提供给所述空气处理设备控制装置,所述空气处理设备控制装置通过所述设备号识别所述空气处理设备,以获得所述空气处理设备的控制权限。所述WiFi模块的连接一般为一对一连接,在此种连接模式下,当所述空气处理设备控制装置与空调器1通讯连接时,如果需要将空调器2与所述空气空气处理设备控制装置连接,则需要先将所述空调器1与所述空气处理设备控制装置的连接断开,才能进行空调器2的连接。When the air treatment device is directly in communication connection with the air treatment device control device, the WiFi module disposed in the air treatment device is connected to the air treatment device control device through a local routing network, and the WiFi module will be the air The device number of the processing device is provided to the air handling device control device, the air handling device control device identifying the air handling device by the device number to obtain control authority of the air handling device. The connection of the WiFi module is generally a one-to-one connection. In the connection mode, when the air treatment device control device is in communication connection with the air conditioner 1, if the air conditioner 2 and the air air treatment device are required to be controlled, When the device is connected, the connection between the air conditioner 1 and the air treatment device control device needs to be disconnected before the air conditioner 2 can be connected.
将所述空气处理设备和所述空气处理设备控制装置分别与所述服务器通讯连接,有利于实现所述空气处理设备控制装置和所述Widget同时控制多个所述空气处理设备。此种连接模式下,所述空气处理设备的WiFi模块中存储有所述空气处理设备的设备号,所述WiFi模块接入本地路由网络后,将本地路由器的用户名和密码提供给所述空气处理设备,以使所述空气处理设备可以在所述服务器中注册联网,完成注册联网的步骤后,所述服务器即可获取所述空气处理设备的设备号和所述空气处理设备上传的运行参数。The air treatment device and the air treatment device control device are respectively communicably connected to the server, which is convenient for implementing the air treatment device control device and the Widget to simultaneously control a plurality of the air treatment devices. In the connection mode, the WiFi module of the air processing device stores the device number of the air processing device, and after the WiFi module accesses the local routing network, the user name and password of the local router are provided to the air processing. The device, so that the air processing device can register the network in the server, and after completing the step of registering the network, the server can obtain the device number of the air processing device and the operating parameter uploaded by the air processing device.
请参阅图9,基于本发明的空气处理设备控制方法的第二实施例,本发明的空气处理设备控制方法的第三实施例中,步骤S20包括:Referring to FIG. 9, in a third embodiment of the air treatment device control method according to the present invention, in a third embodiment of the air treatment device control method of the present invention, step S20 includes:
步骤S21,获取所述空气处理设备的运行信息,并将所述运行信息发送至所述服务器;Step S21, acquiring operation information of the air processing device, and transmitting the operation information to the server;
步骤S22,根据所述服务进程的请求,以及所述空气处理设备控制装置与所述空气处理设备的关联关系,向所述服务进程反馈与所述空气处理设备控制装置关联的空气处理设备的运行信息。Step S22, feeding back, to the service process, the operation of the air processing device associated with the air processing device control device according to the request of the service process and the relationship between the air processing device control device and the air processing device information.
所述服务器分别与所述空气处理设备控制装置和所述空气处理设备通讯连接后,所述空气处理设备将其运行信息向服务器反馈,Service向所述服务器发送获取所述空气处理设备的运行参数的请求时,所述服务器将所述空气处理设备反馈的运行信息发送给Service,Service再将所述运行信息以第一广播信息的形式发送给Widget。After the server is in communication with the air treatment device control device and the air treatment device, the air treatment device feeds back its operation information to the server, and the service sends the operation parameter to the server to obtain the air treatment device. The server sends the operation information fed back by the air processing device to the service, and the service sends the operation information to the Widget in the form of the first broadcast information.
所述空气处理设备的运行信息可以按照预设的上报周期发送至所述服务器,亦可以根据Service的请求发送至所述服务器。The operation information of the air processing device may be sent to the server according to a preset reporting period, or may be sent to the server according to a request of the Service.
请参阅图10,基于本发明的空气处理设备控制方法的第一实施例至第三实施例中的任意一项,本发明的空气处理设备控制方法的第四实施例中,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;Referring to FIG. 10, in a fourth embodiment of the air treatment device control method of the present invention, in the fourth embodiment of the air treatment device control method of the present invention, the Widget further includes a control button for adjusting operational information of the air treatment device displayed in the display window;
所述步骤S30之前,还包括:Before the step S30, the method further includes:
步骤S50(图未示),在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;Step S50 (not shown), acquiring instruction information triggered by the user according to the control button in the service process, and acquiring a device control code generated by the service process according to the instruction information, and processing with the air The air handling device associated with the device control device sends the device control code;
所述步骤S20,包括:The step S20 includes:
步骤S23,获取所述空气处理设备根据所述设备控制码运行后的第二运行信息;Step S23, acquiring second operation information after the air processing device is operated according to the device control code;
步骤S24,将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Step S24, determining the second running information as the running information, and feeding back the running information to the service process.
在所述Widget的显示窗口中不仅可以显示所述空气处理设备的运行信息,还可以设置所述空气处理设备的控制按键。In the display window of the Widget, not only the operation information of the air processing device but also the control button of the air processing device may be set.
根据所述控制按键可以触发用于控制所述空气处理设备运行的指令信息,Service根据所述指令信息生成用于控制空气处理设备运行的控制码。当所述空气处理设备与所述空气处理设备控制装置直接通讯连接时,Service将所述控制码直接发送给所述空气处理设备。当所述空气处理设备与所述空气处理设备控制装置通过所述服务器连接时,Service将所述控制码发送给所述服务器,并通过所述服务器向所述空气处理设备发送所述控制码。The instruction information for controlling the operation of the air processing device may be triggered according to the control button, and the Service generates a control code for controlling the operation of the air processing device according to the instruction information. When the air treatment device is in direct communication connection with the air treatment device control device, the Service directly transmits the control code to the air treatment device. When the air processing device is connected to the air handling device control device through the server, the Service transmits the control code to the server, and transmits the control code to the air processing device through the server.
所述空气处理设备与所述空气处理设备控制装置通过所述服务器实现数据交互时,服务器通过识别交互数据(例如,设备控制码,运行信息)中携带的设备码识别与所述空气处理设备控制装置关联的空气处理设备,以避免数据交互中的数据误传。When the air processing device and the air processing device control device implement data interaction by the server, the server controls the device code identification carried in the interaction data (eg, device control code, operation information) and the air processing device control Device-associated air handling equipment to avoid data mis-delivery in data interaction.
所述空气处理设备接收到所述设备控制码后,根据所述设备控制码运行,以调整自身的运行信息,所述空气处理设备在完成自身的运行信息调整后,向Service或者所述服务器反馈调整之后的第二运行信息。例如,所述空气处理设备的设定温度为23℃,所述设备控制码为将设定温度下调1℃时,所述空气处理设备根据所述设备控制码将其设定温度下调1℃,所述空气处理设备向Service反馈当前设定温度值22℃,或向所述服务器反馈当前设定温度值22℃。After receiving the device control code, the air processing device operates according to the device control code to adjust its own operation information, and the air processing device feeds back to the Service or the server after completing its own operation information adjustment. The second run information after adjustment. For example, when the set temperature of the air treatment device is 23 ° C, and the device control code is to lower the set temperature by 1 ° C, the air processing device lowers the set temperature by 1 ° C according to the device control code. The air processing device feeds back a current set temperature value of 22 ° C to the Service, or feeds back to the server the current set temperature value of 22 ° C.
请参阅图11,基于本发明的空气处理设备控制方法的第四实施例,本发明的空气处理设备控制方法的第五实施例中,所述步骤S50中的所述在所述服务进程中获取用户根据所述控制按键所触发的指令信息,包括:Referring to FIG. 11, a fourth embodiment of the air treatment device control method according to the present invention, in the fifth embodiment of the air treatment device control method of the present invention, the obtaining in the service process in the step S50 The instruction information triggered by the user according to the control button includes:
步骤S51,获取用户在所述显示窗口中触控的所述控制按键;Step S51, acquiring the control button touched by the user in the display window;
步骤S52,获取与所述控制按键对应的指令信息,根据所述指令信息生成第二广播信息,并向所述服务进程发送所述第二广播信息;Step S52, acquiring instruction information corresponding to the control button, generating second broadcast information according to the instruction information, and transmitting the second broadcast information to the service process;
步骤S53,在所述服务进程中,根据所述第二广播信息获取所述指令信息。Step S53, in the service process, acquiring the instruction information according to the second broadcast information.
当用户触控所述控制按键时,根据所述控制按键向Service发送第二广播信息。在所述第二广播信息中添加相应的逻辑,此处的逻辑主要是指将用户的指令信息(例如,关机、温度升高1℃、温度降低1℃)处理成相应的数据,并将所述指令信息通过第二广播信息发送出去,为了便于Service识别和接收所述第二广播信息,所述第二广播信息中也附带action标志,在本实施例中,所述action标志为action2。Service从所述第二广播信息中获取到所述指令信息,并将所述指令信息转换成所述空气处理设备可以识别的设备控制码,直接发送给所述空气处理设备,或者先将所述设备控制码发送给所述服务器,再通过所述服务器发送给所述空气处理设备,即可实现所述Widget对所述空气处理设备的控制过程。When the user touches the control button, the second broadcast information is sent to the Service according to the control button. Adding corresponding logic to the second broadcast information, where the logic mainly refers to processing user's instruction information (for example, shutdown, temperature increase of 1 ° C, temperature decrease by 1 ° C) into corresponding data, and The instruction information is sent out through the second broadcast information. In order to facilitate the service to identify and receive the second broadcast information, the action information is also included in the second broadcast information. In this embodiment, the action flag is action2. The service obtains the instruction information from the second broadcast information, and converts the instruction information into a device control code that can be identified by the air processing device, and directly sends the device to the air processing device, or first The device control code is sent to the server, and then sent to the air processing device by the server, so that the control process of the Widget to the air processing device can be implemented.
本发明还提供一种空气处理设备控制系统,所述空气处理设备控制系统包括空气处理设备和所述空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息The present invention also provides an air treatment device control system including an air treatment device and the air treatment device control device, the air treatment device control device being associated with the air treatment device, the display The window displays the operation information of the air processing device
所述空气处理设备控制装置可以设置于移动终端,所述移动终端的显示界面上设置有用于控制空气处理设备的空气处理设备控制装置,并设置有用于在所述显示界面上触发进入所述空气处理设备控制装置的图标。The air treatment device control device may be disposed on the mobile terminal, and the display interface of the mobile terminal is provided with an air treatment device control device for controlling the air treatment device, and is provided with a trigger for entering the air on the display interface. An icon that processes the device control device.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种空气处理设备控制装置,其特征在于,所述空气处理设备包括进风口、出风口,以及连接所述进风口和所述出风口的风道,在所述风道中,设置有功能模块;所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制装置包括: An air treatment device control device, comprising: an air inlet, an air outlet, and a duct connecting the air inlet and the air outlet, wherein a functional module is disposed in the air duct; The air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control device includes:
    空气调整模块,所述空气调整模块开启时,启动服务进程;An air conditioning module, when the air conditioning module is turned on, starting a service process;
    获取模块,用于获取所述空气处理设备向所述服务进程反馈的运行信息;An obtaining module, configured to obtain operation information that is sent back by the air processing device to the service process;
    显示模块,用于接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示。a display module, configured to receive, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, and obtain, from the first broadcast information, operation information of the air processing device, and The running information is displayed in the display window.
  2. 根据权利要求1所述的空气处理设备控制装置,其特征在于,所述空气处理设备控制装置与所述空气处理设备分别与服务器通讯连接;The air treatment device control device according to claim 1, wherein the air treatment device control device and the air treatment device are respectively connected to a server;
    所述空气处理设备控制装置还包括:The air treatment device control device further includes:
    关联模块,用于获取所述空气处理设备的设备号,根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联。And an association module, configured to acquire a device number of the air processing device, and associate the air processing device control device with the air processing device corresponding to the device number according to the device number.
  3. 根据权利要求2所述的空气处理设备控制装置,其特征在于,所述获取模块包括:The air treatment device control device according to claim 2, wherein the acquisition module comprises:
    获取单元,用于获取所述空气处理设备的运行信息,并将所述运行信息发送至所述服务器;An obtaining unit, configured to acquire operation information of the air processing device, and send the operation information to the server;
    反馈单元,用于根据所述服务进程的请求,以及所述空气处理设备控制装置与所述空气处理设备的关联关系,向所述服务进程反馈与所述空气处理设备控制装置关联的空气处理设备的运行信息。a feedback unit, configured to feed back, to the service process, an air processing device associated with the air processing device control device according to the request of the service process and an association relationship between the air processing device control device and the air processing device Running information.
  4. 根据权利要求1所述的空气处理设备控制装置,其特征在于,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;The air handling device control apparatus according to claim 1, wherein the Widget further comprises a control button displayed in the display window for adjusting operation information of the air processing device;
    所述空气处理设备控制装置,还包括:The air treatment device control device further includes:
    发送模块,用于在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;a sending module, configured to acquire, in the service process, instruction information triggered by the user according to the control button, and acquire a device control code generated by the service process according to the instruction information, and the air processing device control device The associated air handling device sends the device control code;
    所述获取模块进一步用于:The obtaining module is further configured to:
    获取所述空气处理设备根据所述设备控制码运行后的第二运行信息,将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Obtaining, by the air processing device, the second running information according to the device control code, determining the second running information as the running information, and feeding back the running information to the service process.
  5. 根据权利要求2所述的空气处理设备控制装置,其特征在于,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;The air handling device control apparatus according to claim 2, wherein the Widget further comprises a control button displayed in the display window for adjusting operation information of the air processing device;
    所述空气处理设备控制装置,还包括:The air treatment device control device further includes:
    发送模块,用于在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;a sending module, configured to acquire, in the service process, instruction information triggered by the user according to the control button, and acquire a device control code generated by the service process according to the instruction information, and the air processing device control device The associated air handling device sends the device control code;
    所述获取模块进一步用于:The obtaining module is further configured to:
    获取所述空气处理设备根据所述设备控制码运行后的第二运行信息,将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Obtaining, by the air processing device, the second running information according to the device control code, determining the second running information as the running information, and feeding back the running information to the service process.
  6. 根据权利要求3所述的空气处理设备控制装置,其特征在于,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;The air handling device control apparatus according to claim 3, wherein the Widget further comprises a control button displayed in the display window for adjusting operation information of the air processing device;
    所述空气处理设备控制装置,还包括:The air treatment device control device further includes:
    发送模块,用于在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;a sending module, configured to acquire, in the service process, instruction information triggered by the user according to the control button, and acquire a device control code generated by the service process according to the instruction information, and the air processing device control device The associated air handling device sends the device control code;
    所述获取模块进一步用于:The obtaining module is further configured to:
    获取所述空气处理设备根据所述设备控制码运行后的第二运行信息,将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Obtaining, by the air processing device, the second running information according to the device control code, determining the second running information as the running information, and feeding back the running information to the service process.
  7. 根据权利要求4所述的空气处理设备控制装置,其特征在于,所述发送模块包括:The air handling device control device according to claim 4, wherein the sending module comprises:
    第一子单元,用于获取用户在所述显示窗口中触控的所述控制按键;a first subunit, configured to acquire the control button touched by the user in the display window;
    第二子单元,用于获取与所述控制按键对应的指令信息,根据所述指令信息生成第二广播信息,并向所述服务进程发送所述第二广播信息;a second subunit, configured to acquire instruction information corresponding to the control button, generate second broadcast information according to the instruction information, and send the second broadcast information to the service process;
    第三子单元,用于在所述服务进程中,根据所述第二广播信息获取所述指令信息。a third subunit, configured to acquire the instruction information according to the second broadcast information in the service process.
  8. 一种空气处理设备控制方法,其特征在于,应用于空气处理设备控制装置,所述空气处理设备包括进风口、出风口,以及连接所述进风口和所述出风口的风道,在所述风道中,设置有功能模块;所述空气处理设备控制装置包括Widget显示窗口,所述空气处理设备控制装置至少与一空气处理设备关联,所述空气处理设备控制方法包括如下步骤:An air treatment device control method, characterized in that it is applied to an air treatment device control device, the air treatment device comprising an air inlet, an air outlet, and a duct connecting the air inlet and the air outlet, In the air duct, a function module is provided; the air treatment device control device includes a Widget display window, and the air treatment device control device is associated with at least one air treatment device, and the air treatment device control method includes the following steps:
    所述空气调整模块开启时,启动服务进程;When the air adjustment module is turned on, the service process is started;
    获取所述空气处理设备向所述服务进程反馈的运行信息;Obtaining operation information that the air processing device feeds back to the service process;
    接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示。Receiving, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and using the operation information in the Displayed in the display window.
  9. 根据权利要求8所述的空气处理设备控制方法,其特征在于,所述空气处理设备控制装置与所述空气处理设备分别与服务器通讯连接;The air treatment device control method according to claim 8, wherein the air treatment device control device and the air treatment device are respectively connected to a server;
    所述空气调整模块开启时,启动服务进程之前,还包括:When the air conditioning module is turned on, before starting the service process, the method further includes:
    获取所述空气处理设备的设备号,根据所述设备号将所述空气处理设备控制装置与所述设备号对应的空气处理设备关联。Obtaining a device number of the air treatment device, and associating the air treatment device control device with an air treatment device corresponding to the device number according to the device number.
  10. 根据权利要求9所述的空气处理设备控制方法,其特征在于,所述获取所述空气处理设备向所述服务进程反馈的运行信息,包括:The air treatment device control method according to claim 9, wherein the obtaining the operation information that the air processing device feeds back to the service process comprises:
    获取所述空气处理设备的运行信息,并将所述运行信息发送至所述服务器;Obtaining operation information of the air processing device, and transmitting the operation information to the server;
    根据所述服务进程的请求,以及所述空气处理设备控制装置与所述空气处理设备的关联关系,向所述服务进程反馈与所述空气处理设备控制装置关联的空气处理设备的运行信息。And according to the request of the service process, and the association relationship between the air processing device control device and the air processing device, the operation information of the air processing device associated with the air processing device control device is fed back to the service process.
  11. 根据权利要求8所述的空气处理设备控制方法,其特征在于,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;The air handling device control method according to claim 8, wherein the Widget further comprises a control button displayed in the display window for adjusting operation information of the air processing device;
    所述接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示之前,还包括:And receiving, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and using the operation information Before being displayed in the display window, it also includes:
    在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;Acquiring, in the service process, instruction information triggered by the user according to the control button, and acquiring a device control code generated by the service process according to the instruction information, to an air processing device associated with the air processing device control device Sending the device control code;
    所述获取所述空气处理设备向所述服务进程反馈的运行信息,包括:The obtaining the running information that is sent back by the air processing device to the service process includes:
    获取所述空气处理设备根据所述设备控制码运行后的第二运行信息;Obtaining second running information after the air processing device is operated according to the device control code;
    将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Determining the second running information as the running information, and feeding back the running information to the service process.
  12. 根据权利要求9所述的空气处理设备控制方法,其特征在于,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;The air handling device control method according to claim 9, wherein the Widget further comprises a control button displayed in the display window for adjusting operation information of the air processing device;
    所述接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示之前,还包括:And receiving, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and using the operation information Before being displayed in the display window, it also includes:
    在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;Acquiring, in the service process, instruction information triggered by the user according to the control button, and acquiring a device control code generated by the service process according to the instruction information, to an air processing device associated with the air processing device control device Sending the device control code;
    所述获取所述空气处理设备向所述服务进程反馈的运行信息,包括:The obtaining the running information that is sent back by the air processing device to the service process includes:
    获取所述空气处理设备根据所述设备控制码运行后的第二运行信息;Obtaining second running information after the air processing device is operated according to the device control code;
    将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Determining the second running information as the running information, and feeding back the running information to the service process.
  13. 根据权利要求10所述的空气处理设备控制方法,其特征在于,所述Widget还包括显示在所述显示窗口中的用于调节所述空气处理设备的运行信息的控制按键;The air handling device control method according to claim 10, wherein the Widget further comprises a control button displayed in the display window for adjusting operation information of the air processing device;
    所述接收所述服务进程根据所述运行信息生成,且向所述Widget发送的第一广播信息,从所述第一广播信息中获取所述空气处理设备的运行信息,并将所述运行信息在所述显示窗口中显示之前,还包括:And receiving, by the service process, the first broadcast information that is generated by the service information and sent to the Widget, acquiring operation information of the air processing device from the first broadcast information, and using the operation information Before being displayed in the display window, it also includes:
    在所述服务进程中获取用户根据所述控制按键所触发的指令信息,并获取所述服务进程根据所述指令信息生成的设备控制码,向与所述空气处理设备控制装置关联的空气处理设备发送所述设备控制码;Acquiring, in the service process, instruction information triggered by the user according to the control button, and acquiring a device control code generated by the service process according to the instruction information, to an air processing device associated with the air processing device control device Sending the device control code;
    所述获取所述空气处理设备向所述服务进程反馈的运行信息,包括:The obtaining the running information that is sent back by the air processing device to the service process includes:
    获取所述空气处理设备根据所述设备控制码运行后的第二运行信息;Obtaining second running information after the air processing device is operated according to the device control code;
    将所述第二运行信息确定为所述运行信息,并向所述服务进程反馈所述运行信息。Determining the second running information as the running information, and feeding back the running information to the service process.
  14. 根据权利要求11所述的空气处理设备控制方法,其特征在于,所述在所述服务进程中获取用户根据所述控制按键所触发的指令信息,包括:The air handling device control method according to claim 11, wherein the obtaining, in the service process, the instruction information triggered by the user according to the control button comprises:
    获取用户在所述显示窗口中触控的所述控制按键;Obtaining the control button touched by the user in the display window;
    获取与所述控制按键对应的指令信息,根据所述指令信息生成第二广播信息,并向所述服务进程发送所述第二广播信息;Obtaining instruction information corresponding to the control button, generating second broadcast information according to the instruction information, and transmitting the second broadcast information to the service process;
    在所述服务进程中,根据所述第二广播信息获取所述指令信息。In the service process, the instruction information is acquired according to the second broadcast information.
  15. 一种空气处理设备控制系统,其特征在于,所述空气处理设备控制系统包括空气处理设备和如权利要求1所述的空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息。An air treatment device control system, characterized in that the air treatment device control system includes an air treatment device and the air treatment device control device according to claim 1, the air treatment device control device and the air treatment device In association, the display window displays operational information of the air handling device.
  16. 一种空气处理设备控制系统,其特征在于,所述空气处理设备控制系统包括空气处理设备和如权利要求2所述的空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息。An air treatment device control system, characterized in that the air treatment device control system includes an air treatment device and the air treatment device control device according to claim 2, the air treatment device control device and the air treatment device In association, the display window displays operational information of the air handling device.
  17. 一种空气处理设备控制系统,其特征在于,所述空气处理设备控制系统包括空气处理设备和如权利要求3所述的空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息。An air treatment device control system, characterized in that the air treatment device control system includes an air treatment device and the air treatment device control device according to claim 3, the air treatment device control device and the air treatment device In association, the display window displays operational information of the air handling device.
  18. 一种空气处理设备控制系统,其特征在于,所述空气处理设备控制系统包括空气处理设备和如权利要求4所述的空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息。An air treatment device control system, characterized in that the air treatment device control system includes an air treatment device and the air treatment device control device according to claim 4, the air treatment device control device and the air treatment device In association, the display window displays operational information of the air handling device.
  19. 一种空气处理设备控制系统,其特征在于,所述空气处理设备控制系统包括空气处理设备和如权利要求5所述的空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息。An air treatment device control system, characterized in that the air treatment device control system includes an air treatment device and the air treatment device control device according to claim 5, the air treatment device control device and the air treatment device In association, the display window displays operational information of the air handling device.
  20. 一种空气处理设备控制系统,其特征在于,所述空气处理设备控制系统包括空气处理设备和如权利要求7所述的空气处理设备控制装置,所述空气处理设备控制装置与所述空气处理设备关联,所述显示窗口显示所述空气处理设备的运行信息。 An air treatment device control system, characterized in that the air treatment device control system includes an air treatment device and the air treatment device control device according to claim 7, the air treatment device control device and the air treatment device In association, the display window displays operational information of the air handling device.
PCT/CN2017/086344 2017-01-22 2017-05-27 Air treatment device control apparatus, method and system WO2018133280A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201710053470.8 2017-01-22
CN201710053470.8A CN106595003A (en) 2017-01-22 2017-01-22 Air treatment equipment control device, method and system
CN201710192165.7A CN106996618A (en) 2017-03-27 2017-03-27 The control system of the control device of airhandling equipment, method and air conditioner
CN201710191937.5A CN107036235B (en) 2017-03-27 2017-03-27 The control system of the control device of airhandling equipment, method and air conditioner
CN201710191937.5 2017-03-27
CN201710192165.7 2017-03-27

Publications (1)

Publication Number Publication Date
WO2018133280A1 true WO2018133280A1 (en) 2018-07-26

Family

ID=62907649

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086344 WO2018133280A1 (en) 2017-01-22 2017-05-27 Air treatment device control apparatus, method and system

Country Status (1)

Country Link
WO (1) WO2018133280A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120191254A1 (en) * 2011-01-24 2012-07-26 Lg Electronics Inc. Network system and control method thereof
CN105224337A (en) * 2015-10-21 2016-01-06 广州橙行智动汽车科技有限公司 Method for dynamically adding floating window in desktop starter
CN105588266A (en) * 2015-05-19 2016-05-18 青岛海信日立空调系统有限公司 Remote control system of central air conditioner and configuration method of system
CN205505318U (en) * 2016-02-29 2016-08-24 雅讯东方(山东)科技有限公司 Mobile terminal APP and central air conditioning joint control system
US20170005823A1 (en) * 2013-11-27 2017-01-05 Kyocera Corporation Operation terminal, program, and method
CN106595003A (en) * 2017-01-22 2017-04-26 广东美的制冷设备有限公司 Air treatment equipment control device, method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120191254A1 (en) * 2011-01-24 2012-07-26 Lg Electronics Inc. Network system and control method thereof
US20170005823A1 (en) * 2013-11-27 2017-01-05 Kyocera Corporation Operation terminal, program, and method
CN105588266A (en) * 2015-05-19 2016-05-18 青岛海信日立空调系统有限公司 Remote control system of central air conditioner and configuration method of system
CN105224337A (en) * 2015-10-21 2016-01-06 广州橙行智动汽车科技有限公司 Method for dynamically adding floating window in desktop starter
CN205505318U (en) * 2016-02-29 2016-08-24 雅讯东方(山东)科技有限公司 Mobile terminal APP and central air conditioning joint control system
CN106595003A (en) * 2017-01-22 2017-04-26 广东美的制冷设备有限公司 Air treatment equipment control device, method and system

Similar Documents

Publication Publication Date Title
WO2019114553A1 (en) Air conditioner, control method and device therefor, and storage medium
WO2019041856A1 (en) Home appliance control method, system and terminal, and storage medium
WO2020042689A1 (en) Air conditioner control method, air conditioner and computer-readable storage medium
WO2019114559A1 (en) Air conditioner control method and apparatus, and computer readable storage medium
WO2018120681A1 (en) Data synchronization method, device and system, data processing server, and storage medium
EP2761850A2 (en) Group-wise device management system and method
WO2018076865A1 (en) Data sharing method, device, storage medium, and electronic device
WO2021012481A1 (en) System performance monitoring method and apparatus, device, and storage medium
WO2020199332A1 (en) Home appliance networking control method, module, control terminal, terminal, and medium
WO2018201774A1 (en) Data approval method, apparatus, device, and computer readable storage medium
WO2021000507A1 (en) Method for controlling abnormal temperature adjustment of air conditioner, and air conditioner and storage medium
WO2021031334A1 (en) Air-conditioning system, and air conditioner control method and air conditioner control apparatus therefor
WO2020052247A1 (en) Network-resource batch loading method, smart tv, storage medium, and device
WO2017126740A1 (en) Terminal device, remote control system and control method
WO2021082134A1 (en) Household appliance control method, household appliance control apparatus, and computer storage medium
WO2019184469A1 (en) Channel search control method, channel search control apparatus, and computer readable storage medium
WO2018107668A1 (en) Air conditioner, and control method for one-button start-up thereof
WO2019114565A1 (en) Air conditioner adjusting method and device, and storage medium
WO2019223600A1 (en) Bluetooth audio transmission method, device, and computer readable storage medium
WO2020007099A1 (en) Television terminal control method and device, and computer readable storage medium
EP3369239A1 (en) Display apparatus, user terminal apparatus, system, and controlling method thereof
WO2023090750A1 (en) Apparatus and method for recovering thermal energy in room
WO2017138708A1 (en) Electronic apparatus and sensor arrangement method thereof
WO2019114552A1 (en) Air conditioning device and control method, terminal, and storage medium
WO2018133280A1 (en) Air treatment device control apparatus, method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17892358

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17892358

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载