CN112416195A - Method and device for generating device control function - Google Patents

Method and device for generating device control function Download PDF

Info

Publication number
CN112416195A
CN112416195A CN202011296528.XA CN202011296528A CN112416195A CN 112416195 A CN112416195 A CN 112416195A CN 202011296528 A CN202011296528 A CN 202011296528A CN 112416195 A CN112416195 A CN 112416195A
Authority
CN
China
Prior art keywords
target
component
function
page
configuring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011296528.XA
Other languages
Chinese (zh)
Inventor
李伟锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011296528.XA priority Critical patent/CN112416195A/en
Publication of CN112416195A publication Critical patent/CN112416195A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for generating a device control function. Wherein, the method comprises the following steps: receiving a selection instruction triggered in a component selection area of a target page, wherein the target page is used for configuring a target function of control target equipment, and the selection instruction is used for selecting a target component; configuring target parameters for the target component to perform the target function; and uploading the target component to a target website under the condition of receiving the configuration completion instruction, so that the client downloads the target component and controls the target equipment by using the target component. The invention solves the technical problem of low generation efficiency of the function of controlling the intelligent equipment.

Description

Method and device for generating device control function
Technical Field
The invention relates to the field of intelligent equipment, in particular to a method and a device for generating an equipment control function.
Background
In the prior art, after the development of the intelligent device is completed, if the control function of the intelligent device needs to be developed so that the user can control the intelligent device by using the function, a developer needs to write a code and perform a test so as to develop the function of controlling the intelligent device.
However, the above method causes inefficient generation of functions for controlling the smart device.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a device control function, which are used for at least solving the technical problem of low generation efficiency of the function for controlling intelligent devices.
According to an aspect of the embodiments of the present invention, there is provided a method for generating a device control function, including: receiving a selection instruction triggered in a component selection area of a target page, wherein the target page is used for configuring a target function of a control target device, and the selection instruction is used for selecting a target component; configuring target parameters for the target component to perform the target function; and under the condition of receiving a configuration completion instruction, uploading the target component to a target website so that a client downloads the target component and controls the target equipment by using the target component.
As an optional example, before receiving the selection instruction, the method further includes: configuring a plurality of types of components in the component selection area of the target page, wherein the plurality of types of components include the target component, each of the plurality of types of components is configured to configure a different function, and the function includes the target function.
As an optional example, the configuring of multiple types of components in the component selection area of the target page includes: determining the device type of the target device; and configuring the components of the multiple types matched with the device types on the target page.
As an optional example, the configuring, for the target component, the target parameter for performing the target function includes: displaying the target component in a component display area in the target page, wherein the target page comprises the component selection area and the component display area; displaying a plurality of functions of the target component in the component display area; and configuring the function of the target component as the target function when receiving a confirmation instruction of the target function in the plurality of functions.
As an optional example, in a case where a confirmation instruction for a target function of the plurality of functions is received, after configuring the function of the target component as the target function, the method further includes: determining the corresponding relation between the target component and the target function; storing the corresponding relation in a database; and configuring the function of the target component as the target function when the selection instruction is received again.
As an alternative example, the uploading the target component to the target website in the case of receiving the configuration completion instruction includes: generating a detail page of the target component, wherein the detail page comprises the target component and is used for using the target component; and uploading the detail page to the target website.
As an optional example, the uploading the detail page to the destination website includes: compressing the detail page to obtain a target compression packet; and uploading the target compressed packet to the target website.
As an optional example, after the target component is uploaded to the target website in the case of receiving the completion instruction, the method further includes: the client inputs the device type of the target device; the client downloads the target component corresponding to the equipment type; displaying a detail page including the target component on the client, wherein the detail page is for using the target component; and controlling the target device by using the detail page.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for generating a device control function, including: a receiving unit, configured to receive a selection instruction triggered in a component selection area of a target page, where the target page is used to configure a target function of a control target device, and the selection instruction is used to select a target component; a first configuration unit, configured to configure a target parameter for executing the target function for the target component; and the uploading unit is used for uploading the target component to a target website under the condition of receiving the configuration completion instruction so as to enable the client to download the target component and control the target equipment by using the target component.
As an optional example, the apparatus further includes: a second configuration unit, configured to configure multiple types of components in the component selection area of the target page before receiving the selection instruction, where the multiple types of components include the target component, each of the multiple types of components is configured to configure a different function, and the function includes the target function.
As an optional example, the second configuration unit includes: a first determining module, configured to determine a device type of the target device; and the first configuration module is used for configuring the components of the multiple types matched with the equipment types on the target page.
As an alternative example, the first configuration unit includes: a first display module, configured to display the target component in a component display area of the target page, where the target page includes the component selection area and the component display area; a second display module for displaying a plurality of functions of the target component in the component display area; a second configuration module, configured to configure the function of the target component as the target function in a case where a confirmation instruction of the target function among the plurality of functions is received.
As an optional example, the first configuration unit further includes: a second determining module configured to determine a correspondence relationship between the target component and the target function after configuring a function of the target component as the target function when a confirmation instruction for a target function among the plurality of functions is received; the storage module is used for storing the corresponding relation into a database; and a third configuration module, configured to configure the function of the target component as the target function when the selection instruction is received again.
As an optional example, the uploading unit includes: a generation module, configured to generate a detail page of the target component, where the detail page includes the target component and is used for using the target component; and the uploading module is used for uploading the detail page to the target website.
As an optional example, the upload module includes: the compression submodule is used for compressing the detail page to obtain a target compression packet; and the uploading sub-module is used for uploading the target compressed packet to the target website.
In the embodiment of the invention, a selection instruction triggered in a component selection area of a target page is received, wherein the target page is used for configuring a target function of a control target device, and the selection instruction is used for selecting a target component; configuring target parameters for the target component to perform the target function; in the method, a selection instruction triggered from an assembly selection area of a target page is used, then target parameters of a target function are configured for the selected target assembly, and finally the target assembly with a configuration number is uploaded to the target website, so that a user can download the target assembly control target device on the target website, the effect of generating the function of the control target device is improved, and the technical problem of low generation efficiency of the function of the control intelligent device is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of an application environment of an alternative method for generating a device control function according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an alternative method for generating device control functions according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of configuration target components of an alternative method of generating device control functions, according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a target component for use in an alternative method of generating device control functions in accordance with embodiments of the present invention;
fig. 5 is a schematic structural diagram of an alternative apparatus control function generation apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, there is provided a behavior recognition method, which may be applied to, but not limited to, the environment shown in fig. 1 as an optional implementation manner.
As shown in fig. 1, the terminal device 102 includes a memory 104 for storing various data generated during the operation of the terminal device 102, a processor 106 for processing and operating the various data, and a display 108 for displaying a target page. Terminal device 102 may interact with server 112 via network 110. The server 112 includes a database 114 for storing target components and a processing engine 116 for processing interactive content. The terminal device 102 may display the target page, receive the selection instruction, configure the target parameters for the target component, and finally scurry the target component to the target website on the server 112. The terminal 118 may download the target component and use the target component to control the target device.
Optionally, in this embodiment, the terminal device may be a terminal device configured with a target client, and may include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), notebook computers, tablet computers, palm computers, MID (Mobile Internet Devices), PAD, desktop computers, smart televisions, etc. The target client may be a video client, an instant messaging client, a browser client, an educational client, etc. Such networks may include, but are not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The server may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and this is not limited in this embodiment.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for generating the device control function includes:
s202, receiving a selection instruction triggered in a component selection area of a target page, wherein the target page is used for configuring a target function of control target equipment, and the selection instruction is used for selecting a target component;
s204, configuring target parameters for executing target functions for the target component;
and S206, uploading the target component to a target website under the condition of receiving the configuration completion instruction, so that the client downloads the target component and controls the target equipment by using the target component.
Optionally, the method for generating the device control function may be, but not limited to, in the process of applying and developing a function for controlling the device. As in the related art, if a user desires to control an appliance or the like through a terminal or the like (hereinafter, simply referred to as a terminal) after the function development of the appliance is completed, a hardware developer is required to develop a dedicated application program or the like for controlling the appliance and then download the application program or the like for use by the user. However, the above method increases the development workload of developers.
The method is provided in the application, after the function development of the electric appliance is completed, the electric appliance can enter a target page, and the target page is a page for configuring a control function for the electric appliance. In the target page, the developer can select a target component, and then the computer can set target parameters for the target component, or the developer sets target parameters for the target component. After the target parameters are set, if a configuration completion instruction is received, the target component with the configured target parameters is uploaded to a target website, and a user can download the target component on the target website and control the electric appliance by using the target component.
As an optional implementation, before receiving the selection instruction, the method further includes: configuring a plurality of types of components in a component selection area of a target page, wherein the target component is included in the plurality of types of components, each component in the plurality of types of components is used for configuring different functions, and the target function is included in the functions.
As an optional implementation, configuring multiple types of components in the component selection area of the target page includes: determining a device type of a target device; and configuring a plurality of types of components matched with the device types on the target page.
As an optional implementation, configuring target parameters for the target component to perform the target function includes: displaying a target component in a component display area in a target page, wherein the target page comprises a component selection area and a component display area; displaying a plurality of functions of the target component in the component display area; in a case where a confirmation instruction of a target function among the plurality of functions is received, the function of the target component is configured as the target function.
As an optional implementation manner, in the case that a confirmation instruction for a target function of the plurality of functions is received, after configuring the function of the target component as the target function, the method further includes: determining a corresponding relation between the target component and the target function; storing the corresponding relation in a database; and in the case of receiving the selection instruction again, configuring the function of the target component as the target function.
As an optional implementation, in the case that the configuration completion instruction is received, uploading the target component onto the target website includes: generating a detail page of the target component, wherein the detail page comprises the target component and is used for using the target component; and uploading the detail page to a target website.
As an alternative embodiment, uploading the detail page to the destination website includes: compressing the detail page to obtain a target compression packet; and uploading the target compressed packet to a target website.
As an optional implementation manner, in the case that the completion instruction is received, after uploading the target component onto the target website, the method further includes: the client inputs the device type of the target device; downloading a target component corresponding to the equipment type by the client; displaying a detail page including a target component on the client, wherein the detail page is for using the target component; the target device is controlled using the detail page.
The method for generating the device control function is explained below with reference to a specific example. In the embodiment of the application, the refrigerator, such as a refrigerator, has the functions of adjusting the temperature and turning on and off the refrigerator. If a user wants to adjust the temperature or switch on or off the refrigerator in the process of purchasing and using the refrigerator, the user needs to use a remote controller or a corresponding control application program is developed in advance by a developer, and the user can use the application program to control the temperature or switch on or off the refrigerator after downloading the application program. The method has high working strength for developers.
In the embodiment of the application, a developer can enter a target page, and the target page comprises various selectable components for controlling the refrigerator. As shown in FIG. 3, with various components 302 displayed on the left side of the target page in FIG. 3, the developer may drag one into a component display area 304. Such as a drag switch assembly. Various parameters 306 of the switch may then be configured to complete the configuration of the component. If the submit button is clicked, the configured switch assembly may be uploaded to the server.
The developer can drag the components displayed in fig. 3 into the component display area by a method of dragging. The component will be displayed in the component display area. At this time, the developer can set parameters for the component, and after the parameters are set, the developer clicks a save button, and then the set component is uploaded to a target website. The user can log in the target website, then can input the model or type or identification of the electric appliance to be controlled, and then can use the function for controlling the electric appliance on the target website. In the process, if a developer enters the system and develops the functions of the hardware device, for example: and switching on and off the function, and then dragging the left component into a preview area (component display area) of the middle control page device page by using a mouse dragging mode, clicking the component by a left mouse button, and setting the function (such as the function of the onOffStatus switch) which is desired to be controlled by the device. After the setting function is finished, the submission button is clicked, the set component and the corresponding parameters can be stored in the database, and when the data is edited next time, the data acquisition button is clicked, so that the uploaded, submitted and stored data can be acquired. When the same component is set, the corresponding parameters do not need to be input repeatedly, the parameters are directly acquired from the database, and the component is automatically configured. After the page is edited, clicking a storage button, dynamically generating an equipment control detail page by the background according to component information stored by a user, and packaging the equipment control detail page into a compressed packet in a zip format. The detail page is a page for showing the components and controlling the appliance using the components.
The user can log in a target page or a target client through a mobile phone, a notebook, a tablet computer, a computer and the like, and can click an icon of an electric appliance to be controlled from the client. As shown in fig. 4, fig. 4 is a display interface of an optional application program for user login, a type selection interface 402 of an appliance is displayed on the display interface, and after a user selects a refrigerator, the user can jump to a detail page 404. Since the refrigerator is provided with the switch button, the switch button is displayed in the detail page, and the user can control the switch of the refrigerator through the case. And the background loads the dynamically generated control detail page according to the equipment model information, and on the control detail page, the on-off of the refrigerator can be controlled through the displayed switch button, or the temperature of the refrigerator is controlled through the temperature adjusting button.
Of course, for components on the target page used by the developer, various types of components may be configured in the component selection area in advance, and different types of components are used to configure different functions. Or when entering the target page, determining the type of the electric appliance to be set, and then configuring the components matched with the type of the electric appliance in the target page. Such as a switch corresponding to a refrigerator, a temperature adjusting component, a switch corresponding to a television, a component for adjusting the sound and the like. If the developer selects a component and drags the component to the component display area, various functions of the component can be displayed in the component display area, and the developer selects one component and inputs parameter information so as to determine the functions of the component. Such as for switching functions of a refrigerator. And finally, if a configuration completion instruction of a developer is received, generating a detail page for the configured component, compressing the detail page into a compressed packet form, and uploading the compressed packet form to a target network. The user can log in a target website to download a corresponding target component, and the detail page of the target component is used for controlling the electric appliance, such as controlling the on-off of a refrigerator through a switch displayed on the detail page. Through the embodiment of the application, a device developer does not need to know how the detail page controls the device and only needs to configure the function. The device developer can develop the detail page of the control device by himself without the need of a page developer. The device control detail pages are managed by the system in a unified way, and quick iteration can be realized. The workload of developers is reduced, and the efficiency is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a device control function generation apparatus for implementing the device control function generation method. As shown in fig. 5, the apparatus includes:
a receiving unit 502, configured to receive a selection instruction triggered in a component selection area of a target page, where the target page is used to configure a target function of a control target device, and the selection instruction is used to select a target component;
a first configuration unit 504, configured to configure target parameters for executing a target function for a target component;
and an uploading unit 506, configured to upload the target component to the target website when the configuration completion instruction is received, so that the client downloads the target component and controls the target device using the target component.
Alternatively, the device control function generating device may be, but not limited to, applied to and developed in a process for controlling a function of a device. As in the related art, if a user desires to control an appliance or the like through a terminal or the like (hereinafter, simply referred to as a terminal) after the function development of the appliance is completed, a hardware developer is required to develop a dedicated application program or the like for controlling the appliance and then download the application program or the like for use by the user. However, the above method increases the development workload of developers.
The device provided in the application can enter a target page after the function development of the electrical appliance is completed, wherein the target page is a page for configuring a control function for the electrical appliance. In the target page, the developer can select a target component, and then the computer can set target parameters for the target component, or the developer sets target parameters for the target component. After the target parameters are set, if a configuration completion instruction is received, the target component with the configured target parameters is uploaded to a target website, and a user can download the target component on the target website and control the electric appliance by using the target component.
For other examples of this embodiment, please refer to the above examples, which are not described herein again.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for generating a device control function, comprising:
receiving a selection instruction triggered in a component selection area of a target page, wherein the target page is used for configuring a target function of a control target device, and the selection instruction is used for selecting a target component;
configuring target parameters for the target component to perform the target function;
and uploading the target component to a target website under the condition of receiving a configuration completion instruction, so that a client downloads the target component and controls the target equipment by using the target component.
2. The method of claim 1, wherein prior to receiving the selection instruction, the method further comprises:
configuring a plurality of types of components in the component selection area of the target page, wherein the target component is included in the plurality of types of components, each of the plurality of types of components is used for configuring different functions, and the target function is included in the functions.
3. The method of claim 2, wherein configuring a plurality of types of components in the component selection area of the target page comprises:
determining a device type of the target device;
configuring the plurality of types of components matching the device type on the target page.
4. The method of claim 1, wherein configuring the target component with target parameters for performing the target function comprises:
displaying the target component in a component display area in the target page, wherein the target page comprises the component selection area and the component display area;
displaying a plurality of functions of the target component in the component display area;
configuring the function of the target component as the target function in case of receiving a confirmation instruction of the target function among the plurality of functions.
5. The method of claim 4, wherein upon receiving a confirmation instruction for a target function of the plurality of functions, after configuring the function of the target component as the target function, the method further comprises:
determining the corresponding relation between the target component and the target function;
storing the corresponding relation in a database;
and configuring the function of the target component as the target function under the condition that the selection instruction is received again.
6. The method of claim 1, wherein uploading the target component onto a target website upon receiving a configuration complete instruction comprises:
generating a detail page of the target component, wherein the detail page comprises the target component and is used for using the target component;
and uploading the detail page to the target website.
7. The method of claim 6, wherein uploading the detail page onto the destination website comprises:
compressing the detail page to obtain a target compression packet;
and uploading the target compressed packet to the target website.
8. The method of any one of claims 1 to 7, wherein upon receiving a completion instruction, after uploading the target component onto the target website, the method further comprises:
the client inputs the device type of the target device;
the client downloads the target component corresponding to the equipment type;
displaying a detail page including the target component on the client, wherein the detail page is for using the target component;
controlling the target device using the detail page.
9. An apparatus for generating a device control function, comprising:
the device comprises a receiving unit, a selecting unit and a display unit, wherein the receiving unit is used for receiving a selecting instruction triggered in a component selecting area of a target page, the target page is used for configuring a target function of a control target device, and the selecting instruction is used for selecting a target component;
a first configuration unit, configured to configure, for the target component, a target parameter for executing the target function;
and the uploading unit is used for uploading the target component to a target website under the condition of receiving the configuration completion instruction so as to enable the client to download the target component and control the target equipment by using the target component.
10. The apparatus of claim 9, further comprising:
a second configuration unit, configured to configure multiple types of components in the component selection area of the target page before receiving the selection instruction, where the multiple types of components include the target component, each of the multiple types of components is configured to configure a different function, and the function includes the target function.
CN202011296528.XA 2020-11-18 2020-11-18 Method and device for generating device control function Pending CN112416195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011296528.XA CN112416195A (en) 2020-11-18 2020-11-18 Method and device for generating device control function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011296528.XA CN112416195A (en) 2020-11-18 2020-11-18 Method and device for generating device control function

Publications (1)

Publication Number Publication Date
CN112416195A true CN112416195A (en) 2021-02-26

Family

ID=74772920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011296528.XA Pending CN112416195A (en) 2020-11-18 2020-11-18 Method and device for generating device control function

Country Status (1)

Country Link
CN (1) CN112416195A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934490A (en) * 2021-09-27 2022-01-14 青岛海尔科技有限公司 Opening method and device of equipment control page, storage medium and electronic device
CN114780001A (en) * 2022-04-19 2022-07-22 青岛海信智慧生活科技股份有限公司 Control method of multi-way switch equipment, terminal equipment and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546832A (en) * 2013-10-17 2014-01-29 北京闪联云视信息技术有限公司 Matching method and matching system for household appliance remote control
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization
US20180068555A1 (en) * 2016-09-02 2018-03-08 Beijing Xiaomi Mobile Software Co., Ltd. Device control method and apparatus
CN107885533A (en) * 2017-11-30 2018-04-06 广州酷狗计算机科技有限公司 The method and device of management assembly code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546832A (en) * 2013-10-17 2014-01-29 北京闪联云视信息技术有限公司 Matching method and matching system for household appliance remote control
US20180068555A1 (en) * 2016-09-02 2018-03-08 Beijing Xiaomi Mobile Software Co., Ltd. Device control method and apparatus
CN107577459A (en) * 2017-08-21 2018-01-12 杰为软件系统(深圳)有限公司 A kind of towed cross-platform development system and method based on modularization
CN107885533A (en) * 2017-11-30 2018-04-06 广州酷狗计算机科技有限公司 The method and device of management assembly code

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934490A (en) * 2021-09-27 2022-01-14 青岛海尔科技有限公司 Opening method and device of equipment control page, storage medium and electronic device
CN113934490B (en) * 2021-09-27 2024-05-24 青岛海尔科技有限公司 Method and device for opening equipment control page, storage medium and electronic device
CN114780001A (en) * 2022-04-19 2022-07-22 青岛海信智慧生活科技股份有限公司 Control method of multi-way switch equipment, terminal equipment and server
CN114780001B (en) * 2022-04-19 2023-04-25 青岛海信智慧生活科技股份有限公司 Control method of multi-way switch equipment, terminal equipment and server

Similar Documents

Publication Publication Date Title
CN103729425B (en) Operate response method, client, browser and system
CN113449877B (en) Method and system for demonstrating machine learning modeling process
US12056415B2 (en) Desktop sharing method and mobile terminal
CN112416195A (en) Method and device for generating device control function
AU2013213683B2 (en) A method and system of application development for multiple device client platforms
CN112306471A (en) Task scheduling method and device
CN110376917A (en) A kind of intelligent home control system and control method based on virtual panel
CN112632420A (en) Interface skipping method and device, storage medium and electronic device
CN112068873B (en) Webpage generation method, device, server and storage medium
US20190171989A1 (en) Dynamic Workflow Control Based on Database Logic
CN114586000A (en) Providing user-centric applications
CN109983428A (en) A kind of operating method and device of application
JP6751778B2 (en) Methods, electronic devices and storage media for realizing communication between business systems and multi-assembly
CN114286167A (en) Cross-device interaction method and device, electronic device and storage medium
US11836510B2 (en) Snapshot capture of computing device user interfaces
CN112698772A (en) Document template processing method and device and document creating method and device
CN105611334B (en) The method and system for obtaining smart television good friend popular application are shaken based on mobile phone
CN114675819A (en) RPA component recommendation method, device, equipment and readable storage medium
JP2023084805A (en) Data complementary system, data complementary device, complementary processing selection method, and program
CN105308563A (en) Coordination of system readiness tasks
CN113467776A (en) Access method and device of equipment, storage medium and electronic device
CN111737372A (en) Map data generation method and device
CN113742667B (en) Account information processing method and device, storage medium and electronic equipment
KR20190109996A (en) Method for operating software for application development
CN112215587B (en) Method, device and system for automatically executing business process interaction tasks by multiple devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210226