Device control method and apparatus, electronic device, and computer readable medium
By obtaining real-time operating information of the device and controlling its components through the device configuration page, the problem of remote video monitoring being unable to identify internal faults and users being unable to edit is solved, thus achieving efficient control of the device and a user-friendly interface.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2026-03-24
AI Technical Summary
In existing technologies, remote video monitoring cannot identify internal equipment faults, resulting in low accuracy in fault identification, failure to shut down equipment in a timely manner, and increased risk of equipment damage. At the same time, users cannot independently edit equipment components, leading to a poor user experience.
A device control method and apparatus are provided, which obtains real-time operating information of the device through a device configuration page, displays the real-time operating page of the device, and controls the opening or closing of device components through switch controls, thereby realizing remote control of device components.
It improves the accuracy of equipment fault identification, reduces the risk of equipment damage, enhances users' ability to edit and modify equipment components during replacement, and improves the user experience.
Smart Images

Figure CN116527723B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present disclosure relate to the technical field of device control, and in particular, to a device control method and device, an electronic device, and a computer readable medium. BACKGROUND
[0002] Devices may occasionally malfunction during use, and therefore, the devices need to be monitored to control the devices when the devices malfunction, so as to eliminate the malfunction. Currently, when monitoring and controlling the devices, the commonly used way is to monitor the devices through remote video monitoring, so as to notify the staff to control the devices and shut down the devices when the devices malfunction.
[0003] However, the inventors have found that when the devices are monitored and controlled in the above way, the following technical problems often exist:
[0004] First, when monitoring the devices through remote video monitoring, the video monitoring can only display the external condition of the devices, and cannot identify whether the internal failure of the devices occurs, resulting in a low accuracy of identifying the failure of the devices, so that the devices cannot be shut down when the internal failure of the devices occurs, and thus, the risk of further damage to the devices is high.
[0005] Second, when the components of the devices are replaced, the user cannot independently edit and modify the display interface, resulting in a poor user experience.
[0006] The above information disclosed in the background section is only intended to enhance the understanding of the background of the present inventive concept, and therefore, it can include information that does not form the prior art known to those of ordinary skill in the art in the country. SUMMARY
[0007] The summary section is provided to introduce the concepts briefly in a simplified form, which will be described in detail in the specific embodiments section. The summary section is not intended to identify key or essential features of the claimed technology nor is it intended to be used to limit the scope of the claimed technology.
[0008] Some embodiments of the present disclosure propose a device control method and device, an electronic device, and a computer readable medium to solve one or more of the technical problems mentioned in the background section.
[0009] In a first aspect, some embodiments of the present disclosure provide a device control method, the method comprising: in response to detecting a selection operation on a device configuration control in a device monitoring platform page, displaying a device configuration page, wherein the device configuration page comprises at least one device configuration module, and each device configuration module in the at least one device configuration module comprises a device identifier and a configuration operation control; in response to detecting a selection operation on the configuration operation control included in any device configuration module in the at least one device configuration module, obtaining real-time running information of a device corresponding to the device identifier included in the device configuration; generating device real-time running page information according to the real-time running information; displaying a device real-time running page corresponding to the device real-time running page information, wherein the device real-time running page comprises a device running demonstration module, a fault information module, and at least one switch control, and each switch control in the at least one switch control corresponds to a device component; in response to detecting an opening operation or a closing operation on any switch control in the at least one switch control, generating device component opening information corresponding to the opening operation or device component closing information corresponding to the closing operation; and sending the device component opening information or the device component closing information to an associated control device to control the device component corresponding to the device component opening information or the device component closing information to open or close.
[0010] In a second aspect, some embodiments of the present disclosure provide a device control apparatus, the apparatus comprising: a first display unit configured to display a device configuration page in response to detecting a selection operation on a device configuration control in a device monitoring platform page, wherein the device configuration page comprises at least one device configuration module, and each device configuration module in the at least one device configuration module comprises a device identifier and a configuration operation control; an acquisition unit configured to acquire real-time operation information of a device corresponding to the device identifier included in the device configuration in response to detecting a selection operation on the configuration operation control included in any device configuration module in the at least one device configuration module; a first generation unit configured to generate device real-time operation page information according to the real-time operation information; a second display unit configured to display a device real-time operation page corresponding to the device real-time operation page information, wherein the device real-time operation page comprises a device operation demonstration module, a fault information module, and at least one switch control, and each switch control in the at least one switch control corresponds to a device component; a second generation unit configured to generate device component start information corresponding to a start operation on the switch control or device component stop information corresponding to a stop operation on the switch control in response to detecting the start operation or the stop operation on any switch control in the at least one switch control; and a sending unit configured to send the device component start information or the device component stop information to an associated control device to control the device component corresponding to the device component start information or the device component stop information to start or stop.
[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; and a memory device storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method described in any implementation manner of the first aspect.
[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the method described in any implementation manner of the first aspect.
[0013] The above various embodiments of the present disclosure have the following beneficial effects: the device control method of some embodiments of the present disclosure can further reduce the risk of device damage. Specifically, the reason why the risk of further damage to the device is high is that when monitoring the device through remote video monitoring, the video monitoring can only display the external condition of the device and cannot identify whether a fault has occurred inside the device, resulting in a low accuracy rate of identifying device faults, so that the device cannot be turned off when a fault occurs inside the device. Based on this, the device control method of some embodiments of the present disclosure first, in response to detecting a selection operation on a device configuration control in a device monitoring platform page, a device configuration page is displayed. The device configuration page includes at least one device configuration module, and each device configuration module in the at least one device configuration module includes a device identifier and a configuration operation control. Thus, the user can select the device to be viewed on the device configuration page. Second, in response to detecting a selection operation on the configuration operation control included in any device configuration module in the at least one device configuration module, real-time running information of the device corresponding to the device identifier included in the device configuration is obtained. Thus, after detecting that the user selects the device, the running information of the device can be obtained. Then, according to the real-time running information, device real-time running page information is generated. Thus, device real-time running page information can be obtained to facilitate subsequent display of the page for the user to view. Then, the device real-time running page corresponding to the device real-time running page information is displayed. The device real-time running page includes a device running demonstration module, a fault information module, and at least one switch control, and each switch control in the at least one switch control corresponds to a device component. Thus, through the device real-time running page, the user can view the real-time running condition of the device and whether the device has a fault. Then, in response to detecting an opening operation or a closing operation on any switch control in the at least one switch control, device component opening information corresponding to the opening operation or device component closing information corresponding to the closing operation is generated. Thus, by detecting the operation on the switch control, device component opening information or device component closing information can be generated to facilitate subsequent control of the opening or closing of the device component. Finally, the device component opening information or the device component closing information is sent to the associated control device to control the opening or closing of the device component corresponding to the device component opening information or the device component closing information. Thus, by sending the device component opening information or the device component closing information to the associated control device, the control device can control the opening or closing of the device component, and thus the device component can be turned off when a fault occurs in the device. Thus, the device control method of some embodiments of the present disclosure can reduce the risk of further damage to the device. BRIEF DESCRIPTION OF DRAWINGS
[0014] The above and other features, aspects and advantages of various embodiments of the present disclosure will become more apparent from the following detailed description, taken in conjunction with the accompanying drawings, in which like reference numerals refer to like elements throughout. The accompanying drawings are intended to further explain, by way of non-limiting example, the principles of the present disclosure.
[0015] Figure 1 is a flowchart of some embodiments of a device control method according to the present disclosure;
[0016] Figure 2 is a structural schematic diagram of some embodiments of a device control apparatus according to the present disclosure;
[0017] Figure 3 is a structural schematic diagram of an electronic device suitable for use to implement some embodiments of the present disclosure. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be thoroughly and completely understood. It should be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes and should not be construed as limiting the scope of protection of the present disclosure.
[0019] It should also be noted that, for the sake of brevity, only the portions of the drawings that are necessary for understanding the applications have been shown in the drawings. Embodiments of the present disclosure and features in embodiments can be combined with each other, without conflict.
[0020] It should be noted that the terms "first", "second", and the like in the present disclosure are used only to distinguish different devices, modules or units, and do not imply the order of execution or the mutual dependency of the functions performed by these devices, modules or units.
[0021] It should be noted that the terms "one", "multiple" in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that, unless otherwise explicitly stated in the context, it should be understood as "one or more".
[0022] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0024] Figure 1Flow 100 illustrating some embodiments of the device control method according to the present disclosure is shown. The device control method comprises the following steps:
[0025] Step 101, in response to detecting a selection operation acting on a device configuration control in a device monitoring platform page, display a device configuration page.
[0026] In some embodiments, the execution subject of the device control method can display a device configuration page in response to detecting a selection operation acting on a device configuration control in a device monitoring platform page. The device monitoring platform page can be the home page of an application for remotely monitoring devices. The device monitoring platform page can include a device configuration control. The device configuration control can be a control for jumping to the device configuration page. The selection operation can include, but is not limited to, at least one of the following: clicking, dragging, hovering, and sliding. The device configuration page can include at least one device configuration module. Each device configuration module in the at least one device configuration module can correspond to a device. The device configuration module can be a module for displaying various information of a device. Each device configuration module in the at least one device configuration module can include a device identifier and a configuration operation control. The device identifier can uniquely represent a device. The configuration operation control can be a control for jumping to a device real-time operation page.
[0027] Step 102, in response to detecting a selection operation acting on a configuration operation control included in any device configuration module in the at least one device configuration module, obtaining real-time operation information of a device corresponding to a device identifier included in the device configuration.
[0028] In some embodiments, the execution subject can obtain real-time operation information of a device corresponding to a device identifier included in the device configuration in response to detecting a selection operation acting on a configuration operation control included in any device configuration module in the at least one device configuration module. The device can be a device associated with the device identifier. For example, the device can be a steam heat pump. The real-time operation information can be information of various parameters of the device in operation. For example, the real-time operation information can include, but is not limited to, at least one of the following: boot-up time, device component name, and device fault information. For example, the device component name can be "cooling pump". The device fault information can be "cooling pump has no fault". In practice, the execution subject can receive real-time operation information sent by the device corresponding to the device identifier. The device can include a device body, a camera, a router, and a detection unit. The detection unit can include, but is not limited to, at least one of the following: a temperature sensor, a pressure sensor, and a light-sensitive sensor.
[0029] Step 103, generating device real-time operation page information according to the real-time operation information.
[0030] In some embodiments, the execution subject can generate device real-time running page information according to the real-time running information. The device real-time running page information can be a code package representing the running status of the device. For example, the device real-time running page information can represent at least one of the following: boot-up time, device component name, and device fault information. In practice, the execution subject can fill the real-time running information into a preset device real-time running page template to obtain the device real-time running page information. The preset device real-time running template can be a string to be filled with real-time running information.
[0031] In step 104, the device real-time running page corresponding to the device real-time running page information is displayed.
[0032] In some embodiments, the execution subject can display the device real-time running page corresponding to the device real-time running page information. The device real-time running page can include a device running demonstration module, a fault information module, and at least one switch control. Each switch control in the at least one switch control can correspond to a device component. The device running demonstration module can be a module for displaying the running status of the device. For example, the device running demonstration module can display an animation simulating the running of the device. The fault information module can be a module for displaying the fault condition of the device. For example, the fault information module can include "water temperature sensor fault: no fault". The switch control can be a control for controlling the opening or closing of the corresponding device component. For example, the switch control can be a "host switch". The device component can be a component that constitutes the device. For example, the device component can include a host and a cooling pump. In practice, the execution subject can render the device real-time running page information to obtain the corresponding device real-time running page.
[0033] In step 105, in response to detecting an opening operation or a closing operation on any switch control in the at least one switch control, device component opening information corresponding to the opening operation or device component closing information corresponding to the closing operation is generated.
[0034] In some embodiments, the execution subject can generate device component opening information corresponding to an opening operation or device component closing information corresponding to a closing operation in response to detecting the opening operation or the closing operation on any switch control in the at least one switch control. The device component opening information can be information representing the opening of a device component. The device component closing information can be information representing the closing of a device component.
[0035] Step 106, sending the device component opening information or the device component closing information to the associated control device to control the opening or closing of the device component corresponding to the device component opening information or the device component closing information.
[0036] In some embodiments, the execution subject can send the device component opening information or the device component closing information to the associated control device to control the opening or closing of the device component corresponding to the device component opening information or the device component closing information. The control device can be a device for controlling the opening and closing of the device component. For example, the control device can be a smart switch. In practice, the execution subject can send the device component opening information or the device component closing information to the associated control device through wired connection or wireless connection to control the opening or closing of the device component corresponding to the device component opening information or the device component closing information. It should be noted that the wireless connection can include but is not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other now known or future developed wireless connection methods.
[0037] Optionally, the execution subject can further perform the following steps:
[0038] First, in response to detecting a selection operation on a device online monitoring control in the device monitoring platform page, at least one device type selection window is displayed. The device online monitoring control can be a control that jumps to the device type selection window. The device type selection window can include a direct connection device selection control. The direct connection device selection control can be a control for jumping to a direct connection device monitoring information page.
[0039] Second, in response to detecting a selection operation on the direct connection device selection control, at least one direct connection device monitoring information page corresponding to each direct connection device in each direct connection device is displayed. Each direct connection device monitoring information page in each direct connection device monitoring information page can include a device identification module, an online / offline time module, a management operation control, an editing operation control, and a deletion operation control. The device identification module can be a module representing the identification of the direct connection device. The online / offline time module can be a module representing the online time or offline time of the direct connection device. The management operation control can be a control for jumping to a device management page. The editing operation control can be a control for jumping to a page for editing the direct connection device monitoring information page. The deletion operation control can be a control for deleting the direct connection device monitoring information page.
[0040] In the third step, a device management page is displayed in response to detecting a selection operation on the management operation control included in the connection device monitoring information page. The device management page can include a device running control. The management operation control can be a control for jumping to the device management page. The device running control can be a control for obtaining device running information.
[0041] In the fourth step, device running information of the connection device in a historical time period corresponding to the connection device monitoring information page is obtained in response to detecting a selection operation on the device running control. The historical time period can be 24 hours before the current time. The device running information can be information representing a sequence of device running parameters in the historical time period. For example, the device running information can be information of a current sequence of the connection device in the historical time period. In practice, the execution subject can obtain the device running information of the connection device in the historical time period corresponding to the connection device monitoring information page from the cloud storage in response to detecting a selection operation on the device running control.
[0042] In the fifth step, device running curve information is generated according to the device running information. In practice, the execution subject can generate a device running coordinate by taking each time in the historical time period as the horizontal coordinate and taking the device running parameter corresponding to the time as the vertical coordinate, and obtain at least one device running coordinate as the device running curve information.
[0043] In the sixth step, a device running curve corresponding to the device running curve information is displayed. In practice, the execution subject can perform fitting processing on the at least one device running coordinate to obtain the device running curve for display.
[0044] Optionally, the at least one device type selection control can include a device type selection control representing a transparent device.
[0045] Optionally, the execution subject can further perform the following steps:
[0046] In a first step, a transparent device monitoring information page is displayed in response to detecting a selection operation on the transparent device selection control. The transparent device monitoring information page can include a transparent device filtering module, a transparent device status module, and a slave device module. The transparent device filtering module can be a module for filtering transparent devices. The transparent device status module can be a module for displaying the status of transparent devices. The slave device module can be a module for displaying various information of slave devices. The transparent device status module includes at least one transparent device control. The slave device module can include a slave device filtering control and a slave device information display module. The transparent device control can be a control for selecting a transparent device to display information of slave devices corresponding to the transparent device in the slave device information display module. The slave device filtering control can be a control for filtering slave devices. The slave device information display module can be a module for displaying information of slave devices.
[0047] In a second step, at least one slave device information corresponding to any of the at least one transparent device control is displayed in the slave device information display module in response to detecting a selection operation on the any of the at least one transparent device control. The slave device information can be various information of slave devices. For example, the slave device information can include slave device identification, temperature of slave devices, and power-on status of slave devices.
[0048] In a third step, a slave device identification pop-up window is displayed in response to detecting a selection operation on the slave device filtering control. The slave device identification pop-up window can include at least one display device identification control. The display device identification control can be a control for selecting a slave device corresponding to the display device identification.
[0049] In a fourth step, slave device information corresponding to any of the at least one display device identification control is displayed in the slave device information display module in response to detecting a selection operation on the any of the at least one display device identification control.
[0050] Optionally, the execution subject can further perform the following steps:
[0051] In a first step, an alarm record control and a device online / offline control are displayed in response to detecting a selection operation on the alarm information control in the device monitoring platform page. The alarm record control can be a control for jumping to an alarm record page. The device online / offline control can be a control for jumping to a device online / offline page.
[0052] Secondly, in response to detecting a selection operation on the alarm record control, an alarm record page is displayed. The alarm record page can include an alarm record information module, a device identifier input control, a time period input control, and a processing status selection control. The alarm record information module can be a module for displaying alarm record information of a device. The device identifier input control can be a control for inputting a device identifier to select to view alarm records of the corresponding device. The time period input control can be a control for inputting a time period for a required query. The processing status selection control can be a control for selecting devices with processed alarm records and devices with unprocessed alarm records.
[0053] Thirdly, in response to detecting a selection operation on the device online / offline control, a device online / offline page is displayed. The device online / offline page can include a device online / offline time module and a device identifier input control. The device online / offline time module can be a module for displaying online time or offline time of a device.
[0054] Optionally, the execution subject can further perform the following steps:
[0055] Firstly, in response to detecting a selection operation on a device management control in the device monitoring platform page, a device management page is displayed. The device management page can include a device template control. The device template control can be a control for jumping to a device template page.
[0056] Secondly, in response to detecting a selection operation on the device template control, a device template page is displayed. The device template page can include a template directory module and a point table module. The point table module can include at least one point table configuration module. Each point table configuration module in the at least one point table configuration module can include a point table variable copy control. The point table variable copy control can be a control for jumping to a copy variable page.
[0057] Thirdly, in response to detecting a selection operation on a point table variable copy control included in any point table configuration module, a copy variable page is displayed. The copy variable page can include a copy preview page, a name change type input control, an address increment value input control, and a copy quantity input control. The copy preview page can be a page for displaying a copied point table. The name change type input control can be a control for inputting a name change type. The address increment value input control can be a control for inputting an address increment value. The copy quantity input control can be a control for inputting a copy quantity.
[0058] In the fourth step, in response to detecting input operations on the name change type input control, the address increment value input control, and the copy number input control, the copy variable information is displayed on the copy preview page according to the input name change type, the address increment value, and the copy number.
[0059] Optionally, each of the at least one device configuration module can include a configuration editing control. The configuration editing control can be a control for jumping to a device configuration editing page.
[0060] Optionally, before the execution subject acquires real-time state information of a device corresponding to a device identifier included in the device configuration in response to detecting a selection operation on a configuration running control included in any of the at least one device configuration module, the execution subject can further perform the following steps:
[0061] In the first step, in response to detecting a selection operation on a configuration editing control included in any of the at least one device configuration module, a device configuration editing page is displayed. The device configuration editing page can include a device configuration editing module, a pattern library window, and a control library window. The device configuration editing module can include a device simulation module and a control filling module. The pattern library window can include at least one device pattern. The control library window can include at least one control.
[0062] In the second step, in response to detecting a selection operation on any of the at least one device pattern, the any device pattern is displayed at a target position of the device simulation module. For example, the target position can be a pre-set position. The target position can also be a final dragging position of the any device pattern. As an example, the execution subject can display the any device pattern at a final dragging position of the device simulation module in response to detecting a dragging operation on the any of the at least one device pattern.
[0063] In the third step, in response to detecting a selection operation on any of the at least one control, the any control is displayed at a target position of the control filling module. As an example, the execution subject can display the any device pattern at a final dragging position of the device control filling module in response to detecting a dragging operation on the any of the at least one control.
[0064] In the fourth step, in response to detecting a selection operation on a gallery management page in the device monitoring platform page, the gallery management page is displayed. The gallery management page can include a gallery module and an upload image control. The gallery module can include at least one device pattern.
[0065] In the fifth step, in response to detecting a selection operation on the upload image control, the respective images stored in the associated storage unit are obtained. The upload image control can be a control for obtaining the respective images included in the associated storage unit. The associated storage unit can be a memory. In practice, the execution subject can obtain the respective images from the associated storage unit.
[0066] In the sixth step, an image popup window is displayed according to the respective images. In practice, the subject can display the respective images in the popup window.
[0067] In the seventh step, in response to detecting a selection operation on at least one image in the image popup window, the gallery module is updated according to the at least one image. In practice, the execution subject can add the at least one image to the gallery module.
[0068] In the eighth step, the pattern information set corresponding to the pattern library window is updated according to the updated gallery module. In practice, the execution subject can add the at least one image newly added to the updated gallery module to the pattern information set corresponding to the pattern library window.
[0069] The first step to the eighth step and its related content as an embodiment of the present disclosure, solves the technical problem two mentioned in the background art, "when the components of the device are replaced, the user cannot independently edit and modify on the display interface, resulting in poor user experience". The factors that lead to poor user experience are often as follows: when the components of the device are replaced, the user cannot independently edit and modify on the display interface. If the above factors are solved, the effect of improving user experience can be achieved. In order to achieve this effect, first, in response to detecting a selection operation on a configuration editing control included in any of the at least one device configuration module, a device configuration editing page is displayed. The device configuration editing page can include a device configuration editing module, a pattern library window, and a control library window. The device configuration editing module can include a device simulation module and a control filling module. The pattern library window can include at least one device pattern, and the control library window can include at least one control. Thus, the configuration editing page can be displayed, so that device simulation assembly can be performed on the configuration editing page. Second, in response to detecting a selection operation on any of the at least one device pattern, the any device pattern is displayed at a target position of the device simulation module. Thus, according to the specific type of the device, the corresponding pattern can be selected for simulation assembly. Then, in response to detecting a selection operation on any of the at least one control, the any control is displayed at a target position of the control filling module. Thus, according to the specific operation parameter template of the device, the corresponding control can be selected for display, so that the real operation parameters of the device can be filled in subsequent. After that, in response to detecting a selection operation on a gallery management page in the device monitoring platform page, the gallery management page is displayed. The gallery management page can include a gallery module and an upload image control. The gallery module can include at least one device pattern. Thus, the user can view the patterns and upload new patterns through the displayed gallery management page. Then, in response to detecting a selection operation on the upload image control, each image included in the associated storage unit is obtained. According to the images, an image popup window is displayed. In response to detecting a selection operation on at least one image in the image popup window, the gallery module is updated according to the at least one image. Thus, new patterns can be added to update the pattern module. Finally, according to the updated gallery module, the pattern information set corresponding to the pattern library window is updated. Thus, the pattern information set corresponding to the pattern library window can be updated, so that more types of devices can be simulated. Because the displayed device configuration editing page can be used for device simulation assembly by the user, rather than pre-setting the simulation device configuration, when the components of the device are replaced, the user can edit and modify the device simulation configuration on the display interface.Also because the user can autonomously add new patterns, the user can assemble more device simulation configurations, thereby expanding the types of simulation device configurations. Thus, the user experience can be improved.
[0070] The above various embodiments of the present disclosure have the following beneficial effects: the device control method of some embodiments of the present disclosure can reduce the risk of further damage to the device. Specifically, the reason why the risk of further damage to the device is high is that when monitoring the device through remote video monitoring, the video monitoring can only display the external condition of the device and cannot identify whether a fault occurs inside the device, resulting in a low accuracy of identifying device faults, so that the device cannot be turned off when a fault occurs inside the device. Based on this, the device control method of some embodiments of the present disclosure first, in response to detecting a selection operation on a device configuration control in a device monitoring platform page, a device configuration page is displayed, wherein the device configuration page includes at least one device configuration module, and each device configuration module in the at least one device configuration module includes a device identifier and a configuration operation control. Thus, the user can select the device to be viewed on the device configuration page. Second, in response to detecting a selection operation on the configuration operation control included in any device configuration module in the at least one device configuration module, real-time running information of the device corresponding to the device identifier included in the device configuration is obtained. Thus, after detecting that the user selects the device, the running information of the device can be obtained. Then, according to the real-time running information, device real-time running page information is generated. Thus, device real-time running page information can be obtained to facilitate subsequent display of the page for the user to view. Then, a device real-time running page corresponding to the device real-time running page information is displayed, wherein the device real-time running page includes a device running demonstration module, a fault information module, and at least one switch control, and each switch control in the at least one switch control corresponds to a device component. Thus, through the device real-time running page, the user can view the real-time running condition of the device and whether the device has a fault. Then, in response to detecting an opening operation or a closing operation on any switch control in the at least one switch control, device component opening information corresponding to the opening operation or device component closing information corresponding to the closing operation is generated. Thus, by detecting the operation on the switch control, device component opening information or device component closing information can be generated to facilitate subsequent control of the opening or closing of the device component. Finally, the device component opening information or the device component closing information is sent to an associated control device to control the opening or closing of the device component corresponding to the device component opening information or the device component closing information. Thus, by sending the device component opening information or the device component closing information to the associated control device, the control device can control the opening or closing of the device component, and thus the device component can be turned off when a fault occurs in the device. Thus, the device control method of some embodiments of the present disclosure can reduce the risk of further damage to the device.
[0071] Further reference Figure 2As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a device control apparatus, which apparatus embodiments correspond to those method embodiments, and the apparatus specifically can be applied in various electronic devices. Figure 1
[0072] As shown in Figure 2 , the device control apparatus 200 of some embodiments includes a first display unit 201, an acquisition unit 202, a first generation unit 203, a second display unit 204, a second generation unit 205, and a sending unit 206. The first display unit 201 is configured to display a device configuration page in response to detecting a selection operation on a device configuration control in a device monitoring platform page, wherein the device configuration page includes at least one device configuration module, and each device configuration module in the at least one device configuration module includes a device identifier and a configuration operation control. The acquisition unit 202 is configured to acquire real-time running information of a device corresponding to the device identifier included in the device configuration in response to detecting a selection operation on the configuration operation control included in any device configuration module in the at least one device configuration module. The first generation unit 203 is configured to generate device real-time running page information according to the real-time running information. The second display unit 204 is configured to display a device real-time running page corresponding to the device real-time running page information, wherein the device real-time running page includes a device running demonstration module, a fault information module, and at least one switch control, and each switch control in the at least one switch control corresponds to a device component. The second generation unit 205 is configured to generate device component opening information corresponding to an opening operation on any switch control in the at least one switch control or device component closing information corresponding to a closing operation on any switch control in the at least one switch control in response to detecting the opening operation or the closing operation. The sending unit 206 is configured to send the device component opening information or the device component closing information to an associated control device to control opening or closing of a device component corresponding to the device component opening information or the device component closing information.
[0073] It can be understood that the units described in the device control apparatus 200 correspond to the respective steps in the methods described with reference to Figure 1 . Therefore, the operations, features, and resulting benefits described above for the methods also apply to the device control apparatus 200 and the units included therein, which will not be described again.
[0074] The following will be described with reference to Figure 3 This document illustrates a schematic diagram of an electronic device 300 (e.g., a computing device) suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 3 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0075] like Figure 3 As shown, the electronic device 300 may include a processing unit 301 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 302 (ROM) or a program loaded from a storage device 308 into a random access memory 303 (RAM). The RAM 303 also stores various programs and data required for the operation of the electronic device 300. The processing unit 301, ROM 302, and RAM 303 are interconnected via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0076] Typically, the following devices can be connected to I / O interface 305: input devices 306 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 307 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 308 including, for example, magnetic tapes, hard disks, etc.; and communication devices 309. Communication device 309 allows electronic device 300 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 3 An electronic device 300 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 3 Each box shown can represent a device or multiple devices as needed.
[0077] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to some embodiments of the present disclosure. For example, some embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the methods illustrated by the flowcharts. In some such embodiments, the computer program can be downloaded and installed from a network via the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-described functions defined in the methods of some embodiments of the present disclosure are performed.
[0078] It should be noted that the computer readable medium recorded with the computer program according to some embodiments of the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device or apparatus. In some embodiments of the present disclosure, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer readable program code. Such a propagated data signal can take on many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate or transport program for use by or in connection with an instruction execution system, device or apparatus. The program code contained on the computer readable medium can be transmitted by any suitable medium, including but not limited to a wire, cable, optical fiber, RF (radio frequency), or any suitable combination of the above.
[0079] In some embodiments, the client, server, and other components can communicate using any known or later developed end-to-end protocol, such as Hypertext Transfer Protocol (HTTP), and can be interconnected with any form or medium of digital data communication (for example, a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet, and peer-to-peer networks (for example, ad hoc peer-to-peer networks), as well as any current or later developed network.
[0080] The computer readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device and be not assembled into the electronic device. The computer readable medium described above carries one or more programs, when the one or more programs are executed by the electronic device, cause the electronic device to: in response to detecting a selection operation on a device configuration control in a device monitoring platform page, display a device configuration page, wherein the device configuration page includes at least one device configuration module, and each device configuration module in the at least one device configuration module includes a device identifier and a configuration operation control; in response to detecting a selection operation on the configuration operation control included in any device configuration module in the at least one device configuration module, obtain real-time running information of a device corresponding to the device identifier included in the device configuration; generate device real-time running page information according to the real-time running information; display a device real-time running page corresponding to the device real-time running page information, wherein the device real-time running page includes a device running demonstration module, a fault information module, and at least one switch control, and each switch control in the at least one switch control corresponds to a device component; in response to detecting an opening operation or a closing operation on any switch control in the at least one switch control, generate device component opening information corresponding to the opening operation or device component closing information corresponding to the closing operation; and send the device component opening information or the device component closing information to an associated control device to control the device component corresponding to the device component opening information or the device component closing information to open or close.
[0081] Computer program code for carrying out operations of some embodiments of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0082] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a procedure, or a part of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in some cases, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and / or flow diagrams and combinations of blocks in the block diagrams and / or flow diagrams can be implemented by a dedicated hardware-based system that carries out specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0083] The units described in some embodiments of the present disclosure can be implemented by software, or can be implemented by hardware. The described units can also be arranged in a processor, for example, can be described as: a processor comprising a first display unit, an acquisition unit, a first generation unit, a second display unit, a second generation unit and a sending unit. Among them, the names of these units do not constitute a limitation to the units themselves in some cases, for example, the acquisition unit can also be described as: "a unit for acquiring real-time running information of the device corresponding to the device identifier included in the device configuration of the above-mentioned device group".
[0084] The functionality described herein above can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program- specific Integrated Circuits (ASICs), Program- specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0085] The above description is merely exemplary of the disclosure and the application made use of the principles of the technology. It is to be understood that the application scope of the embodiments of the disclosure is not limited to the specific combinations of technical features described above, and should also cover other technical solutions formed by any combination of the above technical features or equivalent features thereof without departing from the inventive concept. For example, the technical solutions formed by replacing the above features with technical features having similar functions disclosed in the embodiments of the disclosure (but not limited to) with each other.
Claims
1. A device control method, comprising: In response to detecting a selection operation of the device configuration control on the device monitoring platform page, the device configuration page is displayed, wherein the device configuration page includes at least one device configuration module, and each device configuration module includes a device identifier, a configuration run control, and a configuration edit control; In response to detecting a selection operation of the configuration operation control included in any of the at least one device configuration modules, the real-time operation information of the device corresponding to the device identifier included in the device configuration module is obtained, and the real-time operation page information of the device is generated according to the real-time operation information. The real-time operation page information of the device is obtained by filling the real-time operation information into a preset real-time operation page template. The device real-time operation page corresponding to the device real-time operation page information is displayed. The device real-time operation page includes a fault information module and at least one switch control. Each switch control corresponds to a device component of the device. The fault information module is used to display the fault status of the device. In response to detecting a closing operation of any of the at least one switch control, device component closing information corresponding to the closing operation is generated, and the device component closing information is sent to the associated control device to control the device component corresponding to the device component closing information to close, thereby controlling the device component to close when the device malfunctions; In response to detecting a selection operation of a configuration editing control included in any of the at least one device configuration modules, a device configuration editing page is displayed. The device configuration editing page includes a device configuration editing module, a pattern library window, and a control library window. The device configuration editing module includes a device simulation module and a control filling module. The pattern library window includes at least one device pattern, and the control library window includes at least one control. In response to detecting a selection operation of any device pattern among the at least one device patterns, display any device pattern at a target position in the device simulation module; in response to detecting a selection operation of any control among the at least one control, display any control at a target position in the control filling module. In response to detecting a selection operation of the device management control in the device monitoring platform page, the device management page is displayed, wherein the device management page includes device template controls; In response to detecting a selection operation of the device template control, a device template page is displayed, wherein the device template page includes a point table module, the point table module includes at least one point table configuration module, and each point table configuration module includes a point table variable copy control; In response to detecting a selection operation of the point table variable copy control included in any point table configuration module, a copy variable page is displayed, wherein the copy variable page includes a copy preview page and a variable information input control, and the variable information input control includes at least one of the following: a name change type input control and a copy quantity input control; In response to detecting an input operation applied to the variable information input control, the copying variable information is displayed on the copy preview page based on the input variable information, wherein the variable information includes at least one of the following: name change type, copy quantity.
2. The method according to claim 1, wherein, The method further includes: In response to detecting a selection operation on the device online monitoring control on the device monitoring platform page, a device type selection window is displayed, wherein the device type selection window includes a direct-connection device selection control; In response to detecting a selection operation applied to the direct-connected device selection control, display each direct-connected device monitoring information page corresponding to each direct-connected device in at least one direct-connected device, wherein each direct-connected device monitoring information page includes a device identification module, an online / offline time module, a management operation control, an edit operation control, and a delete operation control; In response to detecting a selection operation performed on the management operation controls included in the monitoring information page of any directly connected device, a device management page is displayed, wherein the device management page includes device operation controls; In response to detecting a selection operation applied to the device operation control, obtain the device operation information of the directly connected device within the historical time period corresponding to the monitoring information page of any directly connected device; Based on the equipment operation information, generate equipment operation curve information; Display the equipment operation curve corresponding to the equipment operation curve information.
3. The method according to claim 2, wherein, The device type selection window includes a transparent transmission device selection control; and The method further includes: In response to detecting a selection operation applied to the transparent transmission device selection control, a transparent transmission device monitoring information page is displayed. The transparent transmission device monitoring information page includes a transparent transmission device filtering module, a transparent transmission device status module, and a slave device module. The transparent transmission device status module includes at least one transparent transmission device control, and the slave device module includes a slave device filtering control and a slave device information display module. In response to detecting a selection operation performed on any of the at least one transparent transmission device controls, at least one slave device information corresponding to any one of the transparent transmission device controls is displayed in the slave device information display module; In response to detecting a selection operation applied to the slave device filtering control, a slave device identification pop-up window is displayed, wherein the slave device identification pop-up window includes at least one display device identification control; In response to detecting a selection operation performed on any of the at least one display device identification controls, slave device information corresponding to any of the display device identification controls is displayed in the slave device information display module.
4. The method according to claim 1, wherein, The method further includes: In response to detecting a selection operation on the alarm information control in the device monitoring platform page, the alarm record control and the device online / offline control are displayed. In response to detecting a selection operation applied to the alarm recording control, an alarm recording page is displayed, wherein the alarm recording page includes an alarm recording information module, a device identification input control, a time period input control, and a processing status selection control; In response to detecting a selection operation applied to the device online / offline control, a device online / offline page is displayed, wherein the device online / offline page includes a device online / offline time module and a device identifier input control.
5. A device control apparatus, said apparatus being used to execute a device control method according to claim 1, said apparatus comprising: The first display unit is configured to display a device configuration page in response to detecting a selection operation of a device configuration control on a device monitoring platform page. The device configuration page includes at least one device configuration module, and each device configuration module includes a device identifier, a configuration run control, and a configuration edit control. The acquisition unit is configured to acquire real-time operating information of the device corresponding to the device identifier included in the device configuration in response to detecting a selection operation of the configuration operation control included in any of the at least one device configuration modules; The first generation unit is configured to generate real-time operating page information of the device based on the real-time operating information; The second display unit is configured to display the device real-time operation page corresponding to the device real-time operation page information, wherein the device real-time operation page includes a fault information module and at least one switch control, and each switch control corresponds to a device component. The second generation unit is configured to generate device component shutdown information corresponding to the shutdown operation in response to detecting a shutdown operation performed on any of the at least one switch control. The sending unit is configured to send device component shutdown information to an associated control device to control the device component corresponding to the device component shutdown information to shut down.
6. An electronic device, comprising: One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-4.
7. A computer-readable medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-4.
Citation Information
Patent Citations
Configuration editor based on browser and editing method
CN110968316A
Method and device for quickly configuring points by using regional template in configuration tool
CN111026460A