Reservation control method and device, building intelligent control system, electronic equipment and medium
By pre-establishing equipment models and parameter display templates, quickly matching and displaying the parameter setting interface, the problem of not being able to quickly realize the reservation function when new equipment types are added to the building intelligent control system, and the reservation interface is adapted and quickly upgraded.
Patent Information
- Application Number
- CN202411852812.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-05-09
AI Technical Summary
The building intelligent control system cannot quickly realize its appointment function when adding new equipment types, resulting in cumbersome setup and cannot be upgraded quickly.
By pre-establishing the device model and parameter display template, quickly matching the device parameters and parameter properties of the target device, dynamically correlating the parameter display template to display the parameter setting interface, and quickly setting the appointment task.
The reservation interface is adapted to different devices. When adding new equipment types, there is no need to develop a new interface, and its reservation function can be quickly realized, solving the problem that the reservation function cannot be quickly realized when adding new equipment types in the building intelligent control system.
Smart Images

Figure CN119960871A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building control, and in particular to a reservation control method, device, building intelligent control system, electronic equipment and medium. Background Art
[0002] With the development of information technology, building intelligent control systems have gradually become a rigid demand, with the aim of reducing manpower consumption and operation and maintenance costs for users. In the actual operation and maintenance process, it is often necessary to set some timing strategies, that is, to realize the appointment function.
[0003] At present, when setting the timing strategy of the building intelligent control system, it is necessary to select different devices and set control instructions. However, the control instructions often add a new setting interface for each device type to be connected. When the control system needs to add a new device type and needs to support reservations, it is necessary to develop code to implement the corresponding reservation setting interface. Otherwise, the reservation of this device type cannot be supported. This method is cumbersome and cannot be quickly upgraded. Summary of the invention
[0004] The embodiments of the present invention provide a reservation control method, device, building intelligent control system, electronic device and medium, so as to at least solve the problem in the prior art that the reservation function of the building intelligent control system cannot be quickly realized when a new device type is added.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a reservation control method, comprising:
[0006] Get the target device of the scheduled task;
[0007] Matching a target device model corresponding to the device type of the target device from a plurality of pre-established device models, wherein each device model includes: a device model name, at least one device parameter involved, and parameter attributes of each device parameter;
[0008] Displaying a parameter setting interface according to the target device model and its corresponding parameter display template;
[0009] The target action to be performed by the target device at the target time is determined according to the user's operation on the parameter setting interface.
[0010] Optionally, it also includes:
[0011] Receive time setting instructions and display the time setting interface;
[0012] Acquire first operation information of the user in the time setting interface;
[0013] The target time of the scheduled task is determined according to the first operation information.
[0014] Optionally, obtaining the target device of the scheduled task includes:
[0015] Receive action adding instructions and display the device selection interface;
[0016] Acquire second operation information of the user on the device selection interface;
[0017] At least the target device and its device type are determined according to the second operation information.
[0018] Optionally, displaying a parameter setting interface according to the target device model and its corresponding parameter display template includes:
[0019] Determining at least one device parameter involved in the target device model;
[0020] Filtering a controllable parameter from at least one device parameter involved in the target device model;
[0021] Matching corresponding parameter display templates and display contents according to parameter attributes of the controllable parameters;
[0022] The parameter setting interface is displayed according to the parameter display template and display content.
[0023] Optionally, the parameter attributes include: parameter name, read-write attribute, data type and data attribute, the data type includes at least a numerical type, a Boolean type and an enumeration type, and the data attribute is a numerical range or state corresponding to different data types;
[0024] According to the parameter attributes of the controllable parameters, a corresponding parameter display template and display content are matched, including:
[0025] displaying the controllable parameters;
[0026] determining a target parameter from the controllable parameters according to a user operation;
[0027] A corresponding parameter display template is matched according to the data type of the target parameter, and display content is determined according to the parameter name and data attribute of the target parameter.
[0028] Optionally, determining a target action to be performed by the target device at a target time according to an operation of the user on the parameter setting interface includes:
[0029] Acquiring third operation information of the user in the parameter setting interface;
[0030] Determine the target value or target state of each target parameter according to the third operation information to obtain the target action;
[0031] An action saving instruction is received, and the target device and the target action are saved.
[0032] The embodiment of the present invention further provides a reservation control device, comprising:
[0033] An acquisition module is used to acquire the target device of the scheduled task;
[0034] A matching module, used to match a target device model corresponding to the device type of the target device from a plurality of pre-established device models, wherein each device model includes: a device model name, at least one device parameter involved, and parameter attributes of each device parameter;
[0035] A display module, used to display a parameter setting interface according to the target device model and its corresponding parameter display template;
[0036] The determination module is used to determine the target action that the target device needs to perform at the target time according to the user's operation on the parameter setting interface.
[0037] The embodiment of the present invention further provides a building intelligent control system, comprising: the reservation control device described in the embodiment of the present invention.
[0038] An embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the reservation control method described in the embodiment of the present invention when executing the computer program.
[0039] The embodiment of the present invention further provides a non-volatile computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the reservation control method described in the embodiment of the present invention is implemented.
[0040] By applying the technical solution of the present invention, when creating an appointment task, the device parameters and parameter attributes involved in the target device can be quickly matched through the pre-established device model, which serves as the basis for displaying the parameter setting interface; then, the parameter display template can be dynamically associated according to the device model parameters, and the parameters with setting requirements can be displayed in a matching style through the pre-established parameter display template, so as to facilitate the user to set the parameters, thereby quickly realizing the appointment setting of the target action; based on the pre-established device model and parameter display template, this embodiment can dynamically and quickly match and display a suitable parameter setting interface, realize the self-adaptation of the appointment interface to different devices, and when a new device type is added, there is no need to develop a new interface, and its appointment function can be quickly realized, which solves the problem that the appointment function of the building intelligent control system cannot be quickly realized when a new device type is added. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1is a flow chart of a reservation control method provided by an embodiment of the present invention;
[0042] Figure 2 is a schematic diagram of a device model provided by an embodiment of the present invention;
[0043] Figure 3 It is a schematic diagram of automatically generating a parameter setting interface when implementing a reservation function based on a device model provided by an embodiment of the present invention;
[0044] Figure 4 This is a flowchart of the creation of an appointment task and automatic interface rendering and display provided by an embodiment of the present invention;
[0045] Figure 5 This is a schematic diagram of an interface for creating a reservation task provided by an embodiment of the present invention;
[0046] Figure 6 is a schematic diagram of setting execution time provided by an embodiment of the present invention;
[0047] Figure 7 is a schematic diagram of an add command provided by an embodiment of the present invention;
[0048] Figure 8 is a schematic diagram of a parameter setting interface provided by an embodiment of the present invention;
[0049] Fig. 9 is a schematic diagram of creating multiple appointment tasks provided by an embodiment of the present invention;
[0050] Fig.10 is a structural block diagram of a reservation control device provided by an embodiment of the present invention;
[0051] Fig.11 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present invention are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0054] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0055] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0056] The optional embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0057] Example 1
[0058] In order to solve the problem in the prior art that the reservation function cannot be quickly realized when a new device type is added to the building intelligent control system, this embodiment provides a reservation control method. Figure 1 is a flow chart of a reservation control method provided by an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0059] S101, obtaining the target device of the scheduled task.
[0060] S102, matching a target device model corresponding to the device type of the target device from a plurality of pre-established device models, wherein each device model includes: a device model name, at least one device parameter involved, and parameter attributes of each device parameter.
[0061] S103: display a parameter setting interface according to the target device model and its corresponding parameter display template.
[0062] S104: Determine a target action that the target device needs to perform at a target time according to the user's operation on the parameter setting interface.
[0063] By creating a scheduled task, you can implement scheduled control of the device (also known as timed control). A scheduled task is to schedule the target device to perform a target action at a target time. The target time can include a specific time point and a cycle. For example, the target time is set to 9:00 am from Monday to Friday, or the target time is set to 9:00 am and only once (indicates no cycle, and the target action is performed only once at the most recent 9:00 am).
[0064] Different devices have different control parameters, different data types of control parameters, and different display styles of control parameters in the user interface. In order to achieve universal parameter settings, this embodiment pre-establishes device models and parameter display templates based on the common points between different device parameters.
[0065] In this embodiment, multiple device models are pre-established for all possible device types that may be connected, and different device types may correspond to different device models. Device type is a collection of a class of devices, for example, multi-split indoor units, fresh air fans, and lights are all device types. Device model is the physical model of the device. The device model name is used as the identification information of the device model to distinguish different device models. Parameter attributes include: parameter name, read-write attribute, data type, and data attribute. The read-write attribute is readable or readable and writable, and the data type includes at least a numeric type, a Boolean type, and an enumeration type. The data attribute is the numeric range or state corresponding to different data types. For example, the device type is a multi-split indoor unit, and its corresponding device model name is a multi-split indoor unit model. The device parameters involved include: power on / off, mode, set temperature, ambient temperature, etc. For the power on / off parameter, its read-write attribute is readable and writable, its data type is a Boolean type, and its data attribute includes two states: 0 for off and 1 for on; for the temperature setting parameter, its read-write attribute is readable and writable, its data type is a numeric type, and its data attribute includes: a lower limit of 16°C and an upper limit of 30°C. The multiple pre-established device models can quickly match the device parameters and parameter attributes involved in the target device, which serve as the basis for displaying the parameter setting interface.
[0066] This embodiment pre-establishes multiple parameter display templates for all possible data types of readable and writable device parameters. Data types with different characteristics correspond to different parameter display templates. Since the device model includes the data type, there is also a certain correspondence between the device model and the parameter display template. The parameter display template can be dynamically associated with the device model parameters. The parameter display template specifies the page display style and page interaction logic. The parameter display template is used to display the parameters of the corresponding data type and its adjustable options in an appropriate style. The parameter display template contains many controls. For example, refer to Figure 3 For numeric types, its parameter display template (template 2) includes: parameter name display control, numeric adjustment control and numeric display control. The numeric adjustment control can change the numeric value. The user operates the "-" control to reduce the numeric value. If the lower limit of the numeric value is reached, a prompt will be displayed. The user operates the "+" control to increase the numeric value. If the upper limit of the numeric value is reached, a prompt will be displayed. The numeric display control is used to display the currently set numeric value. For Boolean types and enumeration types, its parameter display template (template 1) includes: parameter name display control, state display and selection control. The user can select the desired state by operating the state display and selection control. The selected state and the unselected state are displayed separately. Figure 3 State 3 is selected. The parameters with setting requirements (ie, target parameters mentioned later) can be displayed in a matching style through multiple pre-established parameter display templates, so that the user can set the value or state of the target parameter, thereby realizing the scheduled setting of the target action.
[0067] When creating an appointment task, this embodiment can quickly match the device parameters and parameter attributes involved in the target device through the pre-established device model, which serves as the basis for displaying the parameter setting interface; then, the parameter display template can be dynamically associated according to the device model parameters, and the parameters with setting requirements can be displayed in a matching style through the pre-established parameter display template, so that the user can set the parameters, thereby quickly realizing the appointment setting of the target action; based on the pre-established device model and parameter display template, this embodiment can dynamically and quickly match and display a suitable parameter setting interface, so as to realize the self-adaptation of the appointment interface to different devices. When a new device type is added, there is no need to develop a new interface, and its appointment function can be quickly realized, which solves the problem that the appointment function cannot be quickly realized when a new device type is added to the building intelligent control system.
[0068] The user starts to create an appointment task by operating the appointment control displayed on the interface. After entering the appointment creation interface, the user's operation can obtain the target device, target time and target action of the appointment task. After saving, the creation of the current appointment task is completed.
[0069] In actual applications, the target device needs to be determined first before the target action can be determined by automatically matching the interface. As for the target time, the target time can be determined before the target device is determined, or after the target action is determined.
[0070] In an optional implementation, obtaining the target time of the scheduled task specifically includes: receiving a time setting instruction and displaying a time setting interface; obtaining first operation information of the user in the time setting interface; and determining the target time of the scheduled task according to the first operation information. The user can operate in the time setting interface by clicking, text input, voice input, etc. This implementation can quickly set the target time of the scheduled task.
[0071] In an optional embodiment, obtaining the target device of the scheduled task includes: receiving an action adding instruction and displaying a device selection interface; obtaining the second operation information of the user on the device selection interface; and determining at least the target device and its device type according to the second operation information. The user can operate the device selection interface by clicking, inputting text, or inputting voice, and the second operation information can also include the location of the target device. The number of target devices can be at least one. This embodiment can quickly set the target device of the scheduled task.
[0072] Exemplarily, input controls such as device type, device location, and specific device are displayed on the device selection interface. After the user selects the device type and device location, all devices that meet the device type and device location are displayed for the user to select at least one target device.
[0073] The device selection interface and the parameter setting interface can be different areas of the same interface, or can be two separate interfaces.
[0074] In an optional embodiment, a parameter setting interface is displayed according to the target device model and its corresponding parameter display template, including: determining at least one device parameter involved in the target device model; filtering out controllable parameters from at least one device parameter involved in the target device model; matching corresponding parameter display templates and display contents according to parameter attributes of the controllable parameters; and displaying the parameter setting interface according to the parameter display templates and display contents.
[0075] The controllable parameters refer to parameters whose read / write properties are readable and writable. By setting the target value or target state of the controllable parameters, when the target time is reached, the target device executes the action and runs according to the target value or target state.
[0076] This implementation can quickly and adaptively match the corresponding parameter display template and display content according to the parameter attributes of the controllable parameters, and based on this, display the parameter setting interface for the user to operate, thereby ensuring the self-adaptation of the parameter setting interface and facilitating user appointment control without the need to develop interface code for new device types.
[0077] Furthermore, a corresponding parameter display template and display content are matched according to the parameter attributes of the controllable parameters, including: displaying the controllable parameters; determining target parameters from the controllable parameters according to user operations; matching a corresponding parameter display template according to the data type of the target parameter, and determining the display content according to the parameter name and data attributes of the target parameter.
[0078] This implementation automatically matches a parameter display template based on the data type, and the specific display content is automatically determined by the parameter name and its data attribute, thereby achieving rapid self-adaptation of the parameter setting interface.
[0079] For example, parameter 1 and parameter 2 are both enumeration types, parameter 1 includes 3 states, parameter 2 includes 5 states, and parameter 1 and parameter 2 can correspond to the same parameter display template, but the specific display content is different. Parameter 1 needs to display 3 state displays and selection controls, and parameter 2 needs to display 5 state displays and selection controls. Of course, different parameter display templates can also be set for parameter 1 and parameter 2, and the number of displayed controls is also counted as part of the template.
[0080] In an optional implementation, determining the target action that the target device needs to perform at the target time according to the user's operation on the parameter setting interface includes: obtaining the user's third operation information on the parameter setting interface; determining the target value or target state of each target parameter according to the third operation information to obtain the target action; receiving an action saving instruction to save the target device and the target action. This implementation is based on an adaptive parameter setting interface, and can quickly set the target action of the scheduled task and save it in time.
[0081] In this embodiment, when creating a scheduled task, a scheduled name can also be set. Under the same target time, corresponding target devices and target actions can be set for different device types, for example, at 7 am every day, turn on the lights and turn on the air conditioner to cool to 26°C.
[0082] After saving the appointment task, you can edit or delete the saved appointment task as needed.
[0083] Example 2
[0084] Based on the above embodiment, this embodiment describes the above reservation control method in combination with a specific embodiment. However, it is worth noting that this specific embodiment is only for better illustrating the present application and does not constitute an improper limitation on the present application. The explanation of terms that are the same or corresponding to the above embodiment will not be repeated in this embodiment.
[0085] like Figure 2 As shown, it is a schematic diagram of a device model, and the device model includes: a device model name, at least one device parameter involved (reference Figure 1 Parameter attributes of each device parameter include: parameter name, read-write attributes, data type and data attributes. Read-write attributes are read-only or read-write. Data types include at least numeric type, Boolean type and enumeration type. For numeric type device parameters, their data attributes include upper limit, lower limit, unit, etc. For enumeration type device parameters, their data attributes include: various enumeration values or enumeration states. For Boolean type device parameters, their data attributes include: parameter meanings represented by 0 and 1 respectively.
[0086] like Figure 3 As shown, it is a schematic diagram of automatically generating a parameter setting interface when implementing the reservation function based on the device model, including the following steps:
[0087] S301, obtaining the device information that needs to be reserved, including: device type, device location, and device name.
[0088] S302: Match a corresponding device model according to the device type.
[0089] S303, filtering out readable and writable parameters according to the parameter attributes in the device model, and allowing the user to select a target parameter from the readable and writable parameters.
[0090] S304, matching a parameter display template according to the data type of the target parameter, determining display content according to the data attribute of the target parameter, and displaying a parameter setting interface according to the parameter display template and the display content.
[0091] like Figure 4 The figure shows a flowchart of appointment task creation and automatic interface rendering, which includes the following steps:
[0092] S401, create an appointment.
[0093] S402, configure the appointment name and execution time (ie, target time).
[0094] S403, adding command 1, that is, setting the target device and its target action.
[0095] S404, select a device type.
[0096] S405, select a target device.
[0097] S406, obtaining a device model according to the device type, filtering readable and writable parameters, and displaying them in a parameter selection column.
[0098] S407, when any readable and writable parameter is selected, the parameter is displayed according to the parameter display template and display content that match the parameter, wherein the parameter display template matches the data type of the parameter, and the display content matches the data attribute of the parameter.
[0099] S408, completing the setting of the target action according to the user's operation on the parameter setting interface.
[0100] S409, save command 1.
[0101] S410, add command 2, and enter S411 to execute specific steps.
[0102] S412, add command n.
[0103] S413, save the appointment.
[0104] The reservation control method based on the device model of this embodiment is as follows:
[0105] (1) Create an appointment: Set the appointment name and execution time. The execution time can be set from 00:00 to 23:59, and the recurrence period can be set. The recurrence period can be set to daily, once only, weekends (i.e. Saturday and Sunday), weekdays (e.g. Monday to Friday), or custom (freely select the day of the week to execute, multiple selections are supported). The recurrence period only supports single selection.
[0106] refer to Figure 5 The interface for creating a scheduled task includes: the setting entry for the scheduled name (i.e., schedule name), target time (i.e., execution time), target device (i.e., control device), and target action (i.e., execution command). Figure 6 , which is a schematic diagram for setting the execution time. You can select the specific time and cycle period.
[0107] (2) Add command: You can add multiple commands. Click to enter the Add command interface, where you can set the target device and target action.
[0108] (3) Select the target device: Select the device type and device location to filter out the device list. If the user does not select a device, all filtered devices will be selected by default. The user can select multiple devices. The device type only supports single selection. The schematic diagram of adding a command is as follows: Figure 7 shown.
[0109] (4) Match the device model according to the device type and obtain the device parameters of the device model.
[0110] For example, the device model has five parameters, namely: power on / off, mode, set temperature, ambient temperature, and power consumption. The attributes of each parameter are shown in Table 1 below:
[0111] Table 1 Schematic table of equipment parameters
[0112]
[0113] (5) Filter out the controllable parameters according to the parameter read and write properties. Filter according to the 5 parameters in the table above, and filter out the three controllable parameters of power on / off, mode, and set temperature. Therefore, only these three parameters need to be displayed on the parameter setting interface.
[0114] (6) Match the parameter display template according to the parameter data type, and display the parameter configuration interface according to its data attributes, such as Figure 8 As shown. Among them, the switch and mode are non-numeric types, both use Figure 3 Template 1 in the example is used to display the temperature, set the temperature to a numerical value, and use Figure 3 Template 2 in the example is used for display.
[0115] (7) When the status is selected or the value is set, it means that the user has set the target action. The user clicks Save to complete the creation of the scheduled task. The device control can be executed according to the scheduled instructions. Fig. 9 As shown, multiple appointment tasks can be created. After an appointment task is created, it can be edited again or deleted.
[0116] This embodiment provides a dynamic matching solution for reservation commands based on the device model, establishes a matching relationship between the device model and the interface display template, dynamically associates and combines components based on the device model, realizes visual and controllable dynamic matching of page components, and realizes self-adaptation of the interface to different devices, solving the problem that the reservation function cannot be directly supported when new device types are added to the building intelligent control system.
[0117] Example 3
[0118] Based on the same inventive concept, this embodiment provides a reservation control device, which can be used to implement the reservation control method described in the above embodiment. The reservation control device can be implemented by software and / or hardware, and the reservation control device can generally be integrated into a terminal or a controller of a building intelligent control system.
[0119] Fig.10 is a structural block diagram of a reservation control device provided by an embodiment of the present invention, such as Fig.10 As shown, the reservation control device includes:
[0120] Acquisition module 1001, used to acquire the target device of the scheduled task;
[0121] A matching module 1002 is used to match a target device model corresponding to the device type of the target device from a plurality of pre-established device models, wherein each device model includes: a device model name, at least one device parameter involved, and parameter attributes of each device parameter;
[0122] A display module 1003 is used to display a parameter setting interface according to the target device model and its corresponding parameter display template;
[0123] The determination module 1004 is used to determine the target action that the target device needs to perform at the target time according to the user's operation on the parameter setting interface.
[0124] Optionally, the reservation control device further includes: a time acquisition module, configured to receive a time setting instruction and display a time setting interface; acquire first operation information of the user on the time setting interface; and determine a target time for the reservation task according to the first operation information.
[0125] Optionally, the acquisition module 1001 includes:
[0126] A receiving unit, used for receiving an action adding instruction;
[0127] A first display unit, used to display a device selection interface;
[0128] A first acquisition unit, configured to acquire second operation information of the user on the device selection interface;
[0129] The first determining unit is configured to determine at least the target device and its device type according to the second operation information.
[0130] Optionally, the display module 1003 includes:
[0131] a second determining unit, configured to determine at least one device parameter involved in the target device model;
[0132] A screening unit, configured to screen out a controllable parameter from at least one device parameter involved in the target device model;
[0133] A matching unit, used to match corresponding parameter display templates and display contents according to parameter attributes of the controllable parameters;
[0134] The second display unit is used to display the parameter setting interface according to the parameter display template and display content.
[0135] Optionally, the parameter attributes include: parameter name, read-write attribute, data type and data attribute, the data type includes at least a numerical type, a Boolean type and an enumeration type, and the data attribute is a numerical range or state corresponding to different data types;
[0136] The matching unit includes:
[0137] A display subunit, used for displaying the controllable parameters;
[0138] a determination subunit, configured to determine a target parameter from the controllable parameters according to a user operation;
[0139] The matching subunit is used to match the corresponding parameter display template according to the data type of the target parameter, and determine the display content according to the parameter name and data attribute of the target parameter.
[0140] Optionally, the determining module 1004 includes:
[0141] A second acquisition unit, used to acquire third operation information of the user on the parameter setting interface;
[0142] A third determining unit, configured to determine a target value or a target state of each target parameter according to the third operation information, to obtain the target action;
[0143] The saving unit is used to receive an action saving instruction and save the target device and the target action.
[0144] The above reservation control device can execute the reservation control method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the reservation control method provided by the embodiment of the present invention.
[0145] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] Example 4
[0147] This embodiment provides a building intelligent control system, including: the reservation control device described in the above embodiment.
[0148] Example 5
[0149] This embodiment provides a non-volatile computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the reservation control method described in the above embodiment is implemented.
[0150] Example 6
[0151] This embodiment provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the reservation control method described in the above embodiment when executing the computer program.
[0152] Fig.11 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention, such as Fig.11 As shown, the electronic device includes: one or more processors 1101 and a memory 1102, Fig.11 A processor 1101 is taken as an example.
[0153] The electronic device may further include: an input device 1103 and an output device 1104 .
[0154] The processor 1101, the memory 1102, the input device 1103 and the output device 1104 may be connected via a bus or other means. Fig.11 The example of connecting through bus is taken in the following.
[0155] The memory 1102 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the reservation control method in the embodiment of the present invention. The processor 1101 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 1102, that is, implementing the above-mentioned reservation control method.
[0156] The memory 1102 may include a program storage area and a data storage area, wherein the program storage area may store an application required for operating the device and at least one function; the data storage area may store a device model, a parameter display template, etc. In addition, the memory 1102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0157] The input device 1103 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device. The output device 1104 can include display devices such as display screens.
[0158] The one or more modules are stored in the memory 1102, and when executed by the one or more processors 1101, the above-mentioned reservation control method is executed.
[0159] The electronic device of the embodiment of the present invention exists in various forms, including but not limited to:
[0160] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
[0161] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.
[0162] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.
[0163] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, device bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.
[0164] (5) Other electronic devices with data interaction functions, such as televisions, large-screen cars, etc.
[0165] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0166] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A reservation control method, characterized in that: include: Get the target device of the scheduled task; Matching a target device model corresponding to the device type of the target device from a plurality of pre-established device models, wherein each device model includes: a device model name, at least one device parameter involved, and parameter attributes of each device parameter; Displaying a parameter setting interface according to the target device model and its corresponding parameter display template; The target action to be performed by the target device at the target time is determined according to the user's operation on the parameter setting interface.
2. The method according to claim 1, characterized in that Also includes: Receive time setting instructions and display the time setting interface; Acquire first operation information of the user in the time setting interface; The target time of the scheduled task is determined according to the first operation information.
3. The method according to claim 1, characterized in that Get the target device of the scheduled task, including: Receive action adding instructions and display the device selection interface; Acquire second operation information of the user on the device selection interface; At least the target device and its device type are determined according to the second operation information.
4. The method according to claim 1, characterized in that: The parameter setting interface is displayed according to the target device model and its corresponding parameter display template, including: Determining at least one device parameter involved in the target device model; Filtering a controllable parameter from at least one device parameter involved in the target device model; Matching corresponding parameter display templates and display contents according to parameter attributes of the controllable parameters; The parameter setting interface is displayed according to the parameter display template and display content.
5. The method according to claim 4, characterized in that The parameter attributes include: parameter name, read-write attribute, data type and data attribute, the data type includes at least a numerical type, a Boolean type and an enumeration type, and the data attribute is a numerical range or state corresponding to different data types; According to the parameter attributes of the controllable parameters, a corresponding parameter display template and display content are matched, including: displaying the controllable parameters; determining a target parameter from the controllable parameters according to a user operation; A corresponding parameter display template is matched according to the data type of the target parameter, and display content is determined according to the parameter name and data attribute of the target parameter.
6. The method according to any one of claims 1 to 5, characterized in that Determining a target action to be performed by the target device at a target time according to the user's operation on the parameter setting interface includes: Acquiring third operation information of the user in the parameter setting interface; Determine the target value or target state of each target parameter according to the third operation information to obtain the target action; An action saving instruction is received, and the target device and the target action are saved.
7. A reservation control device, characterized in that: include: An acquisition module is used to acquire the target device of the scheduled task; A matching module, used to match a target device model corresponding to the device type of the target device from a plurality of pre-established device models, wherein each device model includes: a device model name, at least one device parameter involved, and parameter attributes of each device parameter; A display module, used to display a parameter setting interface according to the target device model and its corresponding parameter display template; The determination module is used to determine the target action that the target device needs to perform at the target time according to the user's operation on the parameter setting interface.
8. A building intelligent control system, characterized in that: include: The reservation control device according to claim 7.
9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the reservation control method according to any one of claims 1 to 6 when executing the computer program.
10. A non-volatile computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the reservation control method according to any one of claims 1 to 6 is implemented.