CN110647278A - Method and device for controlling plug-in display, computing equipment and storage medium - Google Patents

Method and device for controlling plug-in display, computing equipment and storage medium Download PDF

Info

Publication number
CN110647278A
CN110647278A CN201910837228.9A CN201910837228A CN110647278A CN 110647278 A CN110647278 A CN 110647278A CN 201910837228 A CN201910837228 A CN 201910837228A CN 110647278 A CN110647278 A CN 110647278A
Authority
CN
China
Prior art keywords
interface
plug
information
server
user
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
CN201910837228.9A
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910837228.9A priority Critical patent/CN110647278A/en
Publication of CN110647278A publication Critical patent/CN110647278A/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/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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for controlling plug-in display, a computing device and a storage medium, which are used for a terminal device to acquire interface configuration information from a server to generate a plug-in control interface of an intelligent home device, and for the intelligent home device to be remotely controlled through the plug-in control interface, so that user experience is improved. The method comprises the following steps: after the trigger operation aiming at the equipment to be controlled is detected, interface configuration information corresponding to the plug-in control interface of the equipment to be controlled is obtained from the server according to the detected trigger operation, the corresponding plug-in control interface is displayed according to the obtained interface configuration information, and then the equipment to be controlled is operated and controlled.

Description

Method and device for controlling plug-in display, computing equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling plug-in display, a computing device, and a storage medium.
Background
With the development of society and the advancement of technology, applications in terminal devices become more powerful, and many applications need to use a plug-in mechanism to solve the problem of limited use. Currently, when a user uses an APP (Application), plug-ins to be downloaded are generally different due to different requirements of various services, for example, when the user operates and controls smart home devices such as an air conditioner and a television through a terminal device, the plug-ins corresponding to the smart home devices need to be downloaded, and then a corresponding plug-in control interface can be displayed to control the smart home devices. Because the plug-ins can be used after being downloaded to the local terminal equipment, when a user uses the terminal equipment to remotely control some intelligent household equipment, the installation packages of the plug-ins need to be downloaded for installation, then the corresponding plug-in control interface can be displayed, and then the corresponding intelligent household equipment is remotely controlled through the displayed plug-in control interface.
Downloading the plug-in installation package takes more traffic and the installation process requires longer user waiting time, making the user experience poor. In addition, if the user needs to download the plug-in installation package repeatedly and install the plug-in installation package repeatedly after replacing the terminal device, the plug-in function cannot be transplanted for use, and the operation is troublesome.
Disclosure of Invention
The embodiment of the application provides a method and a device for controlling plug-in display, computing equipment and a storage medium, which are used for providing a way for displaying a plug-in control interface in a lightweight manner, the plug-in control interface can be flexibly displayed without downloading a plug-in installation package, the use efficiency of the plug-in is improved, and the user experience is improved.
In a first aspect, a method for controlling a plug-in display is provided, the method comprising:
detecting a trigger operation aiming at a device to be controlled, wherein the trigger operation is used for triggering and displaying a plug-in control interface of the device to be controlled;
acquiring interface configuration information corresponding to the plug-in control interface from a server according to the trigger operation;
and displaying the plug-in control interface according to the interface configuration information.
In one possible design, acquiring interface configuration information corresponding to the plug-in control interface from a server according to the trigger operation includes:
determining user information and equipment information of the equipment to be controlled according to the triggering operation;
sending the user information and the equipment information to the server so that the server determines a plug-in configuration list of a corresponding user according to the user information and determines serialized plug-in configuration information corresponding to the equipment information from the plug-in configuration list;
and receiving the serialized plugin configuration information sent by the server, and determining the serialized plugin configuration information as the interface configuration information.
In one possible design, displaying the plug-in control interface according to the interface configuration information includes:
performing anti-sequence processing on the serialized plugin configuration information to obtain interface element information and interface format information corresponding to the plugin control interface, wherein the interface element information is used for indicating the equipment function of the equipment to be controlled;
and displaying the plug-in control interface according to the interface element information and the interface format information.
In one possible design, after displaying the plug-in control interface according to the interface configuration information, the method further includes:
obtaining an interface configuration custom instruction for the plug-in control interface;
determining interface self-defining information according to the interface configuration self-defining instruction; the interface custom information comprises a target element of which the display attribute needs to be modified in the plug-in control interface and the target display attribute modified by the target element;
and sending the interface custom information to the server so that the server modifies the plug-in configuration list of the corresponding user according to the interface custom information.
In one possible design, before sending the interface customization information to the server, the method further includes:
and determining that the user who carries out the custom operation currently has the authority of the custom interface configuration.
In one possible design, sending the interface customization information to the server includes:
determining the permission level of the user-defined interface configuration of the user;
determining target interface custom information corresponding to the authority level from the interface custom information;
and sending the target interface custom information to the server.
In one possible design, the method further includes:
detecting whether the server updates the interface configuration information;
if the server is determined to update the interface configuration information, acquiring the updated interface configuration information from the server;
and updating and displaying the plug-in control interface according to the updated interface configuration information.
In a second aspect, there is provided an apparatus for controlling a plug-in interface display, the apparatus comprising:
the control device comprises a detection module, a control module and a control module, wherein the detection module is used for detecting trigger operation aiming at equipment to be controlled, and the trigger operation is used for triggering and displaying a plug-in control interface of the equipment to be controlled;
the acquisition module is used for acquiring interface configuration information corresponding to the plug-in control interface from a server according to the trigger operation;
and the display module is used for displaying the plug-in control interface according to the interface configuration information.
In one possible design, the obtaining module is configured to:
determining user information and equipment information of the equipment to be controlled according to the triggering operation;
sending the user information and the equipment information to the server so that the server determines a plug-in configuration list of a corresponding user according to the user information and determines serialized plug-in configuration information corresponding to the equipment information from the plug-in configuration list;
and receiving the serialized plugin configuration information sent by the server, and determining the serialized plugin configuration information as the interface configuration information.
In one possible design, the display module is configured to:
performing anti-sequence processing on the serialized plugin configuration information to obtain interface element information and interface format information corresponding to the plugin control interface, wherein the interface element information is used for indicating the equipment function of the equipment to be controlled;
and displaying the plug-in control interface according to the interface element information and the interface format information.
In one possible design, the apparatus further includes:
the user-defined module is used for obtaining an interface configuration user-defined instruction aiming at the plug-in control interface after the display module displays the plug-in control interface according to the interface configuration information; determining interface self-defining information according to the interface configuration self-defining instruction; the interface custom information comprises a target element of which the display attribute needs to be modified in the plug-in control interface and the target display attribute modified by the target element;
and the sending module is used for sending the interface custom information to the server so that the server modifies the plug-in configuration list of the corresponding user according to the interface custom information.
In one possible design, the apparatus further includes a determination module to:
and before the sending module sends the interface custom information to the server, determining that the user who carries out custom operation currently has the authority of custom interface configuration.
In one possible design, the customization module is configured to determine a permission level of a user-defined interface configuration of the user; determining target interface custom information corresponding to the authority level from the interface custom information;
and the sending module is used for sending the target interface custom information to the server.
In one possible design, the apparatus further includes an update module to:
detecting whether the server updates the interface configuration information;
if the server is determined to update the interface configuration information, acquiring the updated interface configuration information from the server;
and updating and displaying the plug-in control interface according to the updated interface configuration information.
In a third aspect, a computing device is provided, the computing device comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the steps included in any of the methods of the first aspect according to the obtained program instructions.
In a fourth aspect, there is provided a storage medium storing computer-executable instructions for causing a computer to perform the steps included in any of the methods of the first aspect.
In a fifth aspect, a computer program product containing instructions is provided, which when run on a computer causes the computer to perform the method of controlling plug-in display described in the various possible implementations described above.
In the embodiment of the application, when the trigger operation for the device to be controlled is detected, interface configuration information corresponding to a plug-in control interface of the device to be controlled is obtained and displayed from a server according to the detected trigger operation, and then the corresponding plug-in control interface is displayed according to the configuration interface information. The method comprises the steps that some controllable information of the device to be controlled can be displayed in a plug-in control interface, a user can dynamically read corresponding interface configuration information from a server when the plug-in control interface of the device to be controlled needs to be displayed, a corresponding plug-in control interface is generated, the terminal device carries out remote control on the device to be controlled according to the controllable information in the plug-in control interface, and compared with the method that the corresponding plug-in is downloaded again to display the plug-in control interface of the device to be controlled in the prior art, a method that the plug-in control interface is displayed in a light weight mode after relevant interface configuration information is read from the server can be provided, and the user does not need to download a plug-in installation package again after the terminal device is replaced, so that the use experience of the user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for controlling plug-in display according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a plug-in control interface provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a custom plug-in control interface provided in an embodiment of the present application;
FIG. 5a is a block diagram of an apparatus for controlling plug-in display according to an embodiment of the present disclosure;
FIG. 5b is another block diagram of an apparatus for controlling a plug-in display according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
In order to facilitate understanding of the technical solutions provided in the embodiments of the present application, some brief descriptions are provided below for application scenarios used in the technical solutions provided in the embodiments of the present application, and it should be noted that the application scenarios described below are only used for illustrating the embodiments of the present invention and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Please refer to fig. 1, fig. 1 is an application scenario to which the technical solution of the embodiment of the present application is applicable, where the application scenario includes a plurality of terminal devices (e.g., terminal device 1, terminal device 2, and terminal device 3), a plurality of users (e.g., user 1, user 2, and user 3), a plurality of smart home devices (e.g., smart home device 1, smart home device 2, smart home device 3, and smart home device 4), and a server, the plurality of terminal devices respectively correspond to the plurality of users one to one, and the terminal devices may be, for example, terminal devices that can be installed with APP clients, such as a mobile phone and a computer. The terminal equipment uses a Cordova mixed development mode, except that the function of designing the native system application is developed by using the language of the corresponding system, other system applications are developed by using a front-end language Jquery, and different platforms can use the same set of programs. When a user uses a terminal device to control a device (namely, an intelligent home device) to be controlled, a plug-in control interface of the corresponding device needs to be displayed, interface configuration information required by the plug-in control interface is generated and stored in a server, and the server stores the serialized interface configuration information according to user account number, product classification, configuration file address of a product and the like by building a cloud database. In the server, a plug-in configuration list may be configured for each device under the user account to be controlled according to the user account, the plug-in configuration list may include a lot of interface configuration information for generating a plug-in control interface, each piece of interface configuration information indicates a part of necessary conditions of the plug-in control interface that needs to be generated currently, for example, a background color, a font size, or a function mode of the plug-in control interface that needs to be displayed currently, and each piece of interface configuration information is serialization information that is stored in the server after the plug-in control interface is serialized, and when the terminal needs to generate the plug-in control interface, the terminal obtains the corresponding interface configuration information from the server in real time to display the plug-in control interface of the device that needs to be controlled. It should be noted that, in the application scene diagram, the terminal device and the user are in a one-to-one corresponding relationship, but in a specific embodiment, the user and the terminal device may also be in a one-to-many relationship, and the embodiment of the present application is not limited.
The technical scheme provided by the embodiment of the application is described in the following with the accompanying drawings of the specification.
Referring to fig. 2, fig. 2 is a method for controlling plug-in display according to an embodiment of the present application, where the method may be executed by a terminal device in the application scenario shown in fig. 1. It should be noted that any APP client in the terminal device may control multiple smart home devices in the entire smart home system, where the smart home devices that can be controlled may be referred to as devices to be controlled, and since different devices to be controlled generally have different functions, corresponding plug-in control interfaces for different smart home devices (i.e., devices to be controlled) are also generally different, one type of smart home device may have one corresponding plug-in control interface, or each smart home device may have one corresponding plug-in control interface, taking an air conditioner as an example, when a current user has three air conditioning devices, the three air conditioning devices may only have the same plug-in control interface to control the same air conditioning device, or according to different identification information of the three air conditioning devices, the three air conditioning devices respectively have one plug-in control interface belonging to the three air conditioning devices, the application is not limiting. The flow chart of the method of controlling the plug-in display in fig. 2 is described as follows.
Step 201: a trigger operation for a device to be controlled is detected.
The device to be controlled is a device which a user needs to perform some remote control on the device to be controlled through a terminal device currently, for example, the device may be an intelligent home device in fig. 1, the triggering operation is used to trigger and display a plug-in control interface of the device to be controlled, or, taking an air conditioner as an example, when the user needs to perform remote control on the air conditioner, the user may click an air conditioner icon corresponding to the terminal device, trigger the terminal device to display the plug-in control interface of the air conditioner which the user needs to display currently, or may trigger and display the plug-in control interface by inputting corresponding content by a user voice, for example, the user inputs and displays voice content of the plug-in control interface of the air conditioner by voice, the terminal device displays the plug-in control interface of the air conditioner which the user needs currently based on the voice information, and the like, or may also perform.
Step 202: and acquiring the plug-in interface configuration information corresponding to the plug-in control interface of the equipment to be controlled from the server according to the triggering operation.
The interface configuration information includes interface element information and interface format information required for generating a corresponding plug-in control interface, the interface element information is used for indicating device functions of a device to be controlled, for example, an air conditioner has device functions of cooling, dehumidifying, air supplying and the like, the device functions correspond to different function identifiers, the device function identifiers can be called as interface element information, and the interface format information can be format information such as displaying corresponding icons in color or gray tone, displaying sizes of fonts and the like.
In a possible implementation manner, when a trigger operation for a device to be controlled is detected, a terminal device determines user information and device information corresponding to the device to be controlled according to the detected trigger operation, where the user information includes, but is not limited to, information such as a user name and an account, and the device information may include, for example, a device number, a type, an identifier, a model, a manufacturer, and the like, which can uniquely indicate device identification information of the device to be controlled. After determining user information and equipment information corresponding to equipment to be controlled, the terminal equipment sends the determined user information and equipment information to a server, the server determines a plug-in configuration list corresponding to the user according to the user information after receiving the user information and the equipment information sent by the terminal equipment, the server reads corresponding information according to bytes when determining the plug-in configuration list corresponding to the user, generates a corresponding JSON (JavaScript Object Notation) field after reading according to the bytes, then determines serialized plug-in configuration information of the equipment to be controlled corresponding to the obtained equipment information according to the plug-in configuration list, and all interface configuration information for generating a required plug-in control interface is stored in the plug-in configuration list of the server. The server sends the serialized plug-in configuration information which needs to be acquired currently by the terminal equipment to the terminal equipment after determining the serialized plug-in configuration information which needs to be acquired currently by the terminal equipment, the terminal equipment reads the serialized plug-in configuration information in different fields, and the acquired serialized plug-in configuration information is determined as interface configuration information.
In the embodiment of the application, the server can determine the interface configuration information required to be acquired by the current terminal equipment according to the user information and the equipment information determined by the terminal equipment, so that the accuracy and the timeliness of the terminal equipment for acquiring the interface configuration information can be improved.
In a possible implementation manner, after the terminal device receives the serialized plugin configuration information sent by the server, the serialized plugin configuration information needs to be subjected to anti-sequence processing to obtain interface element information and interface format information which generate a plugin control interface corresponding to the device to be controlled, and then the corresponding plugin control interface is displayed according to the determined interface element information and interface format information. Therefore, the plug-in control interface required by the user can be accurately displayed, and the user experience is improved.
Step 203: and displaying the plug-in control interface according to the interface configuration information.
In a possible implementation manner, after the terminal device displays the corresponding plug-in control interface according to the acquired interface configuration information, the user may perform some custom operations on the currently displayed plug-in control interface. The terminal device obtains an interface configuration custom instruction of a currently displayed plug-in control interface according to related operations of a user, and then determines interface custom information according to the interface configuration custom instruction, wherein the interface custom information comprises a target element of which the display attribute needs to be modified in the current plug-in control interface and a corresponding target display attribute of which the target element needs to be modified, and the display attribute can be, for example, displaying or hiding certain function information, modifying the color of an icon displayed on the plug-in control interface or modifying the size of a displayed font, and the like. The method comprises the steps that after interface user-defined information is determined by terminal equipment, the interface user-defined information is sent to a server, after the interface user-defined information sent by the terminal equipment is received by the server, a corresponding plug-in configuration list of a target element of a corresponding user, wherein the target element of the display attribute needs to be modified, is determined, and is modified according to the interface user-defined information, so that when the user controls the same device to be controlled through the terminal equipment again, a plug-in control interface generated after the interface configuration information is obtained from the server is the plug-in control interface which is defined by the user.
In the embodiment of the application, a user can customize the currently displayed plug-in control interface in real time according to own needs, so that when the user generates the same plug-in control interface later, the display content of the interface is customized according to own needs, the plug-in display method is more flexible, and the use experience of the user can be improved.
The plug-in control interface displayed is further described below in conjunction with fig. 3, which illustrates a simple plug-in control interface for a user in controlling an air conditioner in fig. 3. The name and account information of a corresponding user are displayed in the plug-in control interface, the function mode of the air conditioner is refrigeration, the temperature is set to be 26 ℃, and the wind direction is set to be an automatic mode in the currently displayed plug-in control interface. When a user needs to customize a currently displayed plug-in control interface of the air conditioner, the user can click a setting button to perform corresponding operation, or can perform customized operation in other modes, and the embodiment of the application is not limited.
As shown in fig. 4, when a user needs to perform a custom operation on a current plug-in control interface, for example, after clicking a setting button in the plug-in control interface of the air conditioner of fig. 3, a corresponding custom plug-in control interface is displayed, and then the function information of the air conditioner is customized, the user may hide or display some functions of the air conditioner according to the user's needs, for example, in summer, the user may not need a heating function of the air conditioner, then the user selects the heating function of the hidden air conditioner, the terminal device obtains a corresponding interface configuration custom instruction based on the user's operation, and determines the interface custom information, in this embodiment, the interface custom information is the heating function of the hidden air conditioner, and after sending the interface custom information of the heating function of the hidden air conditioner to the server, the server modifies the interface configuration information of the air conditioning equipment corresponding to the user according to the received interface custom information so as to hide the heating function information of the air conditioner, and when the user wants to generate a customized plug-in control interface of the air conditioner next time, the plug-in control interface can not display the heating function of the air conditioner.
In a possible implementation manner, after obtaining an interface configuration customization instruction of a currently displayed plug-in control interface according to a user operation, a terminal device needs to determine whether a user currently performing the customization operation has a permission to customize the interface configuration, because in many cases, for example, children cannot freely customize the plug-in control interface for the device, and all children need to set the permission so that the children cannot perform the customization of the interface configuration. After determining that the current user has the authority of customizing the interface configuration, the terminal equipment determines interface customization information according to the interface configuration customization instruction and sends the interface customization information to the server, so that the server modifies the plug-in configuration list of the corresponding user according to the interface customization information. Or, the server can judge whether the user currently performing the custom operation has the authority of the custom interface configuration, after the terminal equipment obtains the interface configuration self-defining instruction of the plug-in control interface, the interface self-defining information is determined according to the interface configuration self-defining instruction, and sends it to the server, after the server receives the interface self-defining information sent by the terminal device, judging whether the corresponding user performing the custom operation has the authority of the custom interface configuration or not according to the received interface custom information, if the current user is determined to have the authority of customizing the interface configuration, modifying the corresponding plug-in configuration list according to the received interface customization information, if the current user is determined not to have the authority of the user-defined interface configuration, the original corresponding plug-in configuration list is reserved and is not modified.
In the embodiment of the application, when the user performs the interface customization operation, only a specific user can perform the interface customization operation by limiting whether the user has the customization authority, so that the user has higher reliability and safety when performing the interface customization operation.
In a possible implementation manner, after determining that the user performing the custom operation has the authority to customize the interface configuration, the terminal device needs to determine the level of the authority, because the levels of the authority are different, generally the interface configuration contents capable of being customized are also different, more interface configuration contents can be customized by the user with a higher authority level, and less interface configuration contents can be customized by the user with a lower authority level. After the terminal equipment judges that a user who carries out the custom operation has the authority of the custom interface configuration, the terminal equipment further determines the authority level of the user custom interface configuration, determines target interface custom information corresponding to the current user authority level from all the custom information, then sends the determined target interface custom information to the server, and after the server receives the target interface custom information sent by the terminal equipment, the server modifies the stored plug-in configuration list of the corresponding user according to the target interface custom information. It should be noted that, when the permission level of the user-defined interface configuration is high enough, the target interface user-defined information that can be customized may be all interface user-defined information, in other words, the permission level of the user's current user-defined interface configuration may perform the user-defined operation on all interface user-defined information.
In the embodiment of the application, interface configuration contents which can be customized by a current user are determined according to the permission level of user-defined interface configuration, and then the plug-in control interface is customized, so that the interface configuration contents which can be customized are different corresponding to different user permission levels, and the method for customizing the interface has higher reliability.
In a possible implementation manner, the server may update interface configuration information stored in the server, and the terminal device may acquire the interface configuration information updated by the server, and perform synchronous update on the currently displayed control interface. The terminal device may periodically check whether the server updates the stored interface configuration information in a timed manner, or the server may notify the terminal device of the information about updating the interface configuration information after updating the interface configuration information, so that the terminal device knows that the server has updated the interface configuration information. The method comprises the steps that after detecting that a server updates interface configuration information, a terminal device obtains the updated interface configuration information from the server, when the terminal device needs to obtain the updated interface configuration information, the server sends the updated interface configuration information to the terminal device, and after receiving the updated interface configuration information sent by the server, the terminal device updates and displays a current plug-in control interface according to the updated interface configuration information.
In the embodiment of the application, after the server updates the stored interface configuration information, the terminal device can update and display the currently displayed plug-in control interface without updating the APP, so that great convenience is brought to a user, and the timeliness of the user for updating the plug-in control interface is also ensured.
In the embodiment of the application, when a user needs to control the device to be controlled, the plug-in control interface of the device to be controlled needs to be displayed, the terminal device can read interface configuration information needed by the plug-in control interface from the server in real time according to the user needs, and display the plug-in control interface needed by the current user according to the read interface configuration information, so that the use experience of the user is improved by a manner of displaying the plug-in control interface in a lightweight manner.
Based on the same inventive concept, the embodiment of the application provides a device for controlling plug-in display, and the device for controlling plug-in display can realize the corresponding function of the method for controlling plug-in display. The means shown by the control plug-in may be a hardware structure, a software module, or a hardware structure plus a software module. The device displayed by the control plug-in can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. Referring to fig. 5a, the apparatus for displaying the control plug-in includes a detection module 501, an acquisition module 502 and a display module 503. Wherein:
the control method includes a detection module 501, configured to detect a trigger operation for a device to be controlled, where the trigger operation is used to trigger and display a plug-in control interface of the device to be controlled;
an obtaining module 502, configured to obtain interface configuration information corresponding to the plug-in control interface from the server according to the triggering operation;
and a display module 503, configured to display the plug-in control interface according to the interface configuration information.
In a possible implementation, the obtaining module 502 is configured to:
determining user information and equipment information of equipment to be controlled according to the triggering operation;
sending the user information and the equipment information to a server so that the server determines a plug-in configuration list corresponding to a user according to the user information and determines serialized plug-in configuration information corresponding to the equipment information from the plug-in configuration list;
and receiving the serialized plugin configuration information sent by the server, and determining the serialized plugin configuration information as interface configuration information.
In one possible implementation, the display module 503 is configured to:
performing anti-sequence processing on the serialized plug-in configuration information to obtain interface element information and interface format information corresponding to a plug-in control interface, wherein the interface element information is used for indicating the equipment function of the equipment to be controlled;
and displaying the plug-in control interface according to the interface element information and the interface format information.
In a possible implementation manner, please refer to fig. 5b, the apparatus for controlling the display of the plug-in the embodiment of the present application further includes:
the user-defined module 504 is configured to obtain an interface configuration user-defined instruction for the plug-in control interface after the display module 503 displays the plug-in control interface according to the interface configuration information; determining interface self-defining information according to the interface configuration self-defining instruction; the interface self-defining information comprises a target element of which the display attribute needs to be modified in the plug-in control interface and the target display attribute modified by the target element;
and a sending module 505, configured to send the interface customization information to the server, so that the server modifies the plug-in configuration list of the corresponding user according to the interface customization information.
In a possible implementation manner, please refer to fig. 5b, the apparatus for controlling plug-in display in the embodiment of the present application further includes a determining module 506, configured to:
before the sending module 505 sends the interface customization information to the server, it is determined that the user currently performing the customization operation has the authority to customize the interface configuration.
In one possible implementation, the customization module 504 is configured to determine a permission level of a user's customization interface configuration; determining target interface custom information corresponding to the authority level from the interface custom information;
and a sending module 505, configured to send the target interface customization information to the server.
In a possible implementation manner, please refer to fig. 5b, the apparatus for controlling plug-in display in the embodiment of the present application further includes an updating module 507, configured to:
detecting whether a server updates interface configuration information;
if the server is determined to update the interface configuration information, acquiring the updated interface configuration information from the server;
and updating and displaying the plug-in control interface according to the updated interface configuration information.
All relevant contents of each step related to the embodiment of the method for controlling plug-in display may be cited to the functional description of the functional module corresponding to the device for controlling plug-in display in the embodiment of the present application, and are not described herein again.
The division of the modules in the embodiments of the present application is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, may also exist alone physically, or may also be integrated in one module by two or more modules. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Based on the same inventive concept, the embodiment of the application provides a computing device. Referring to fig. 6, the computing device includes at least one processor 601 and a memory 602 connected to the at least one processor, in this embodiment, a specific connection medium between the processor 601 and the memory 602 is not limited in this application, in fig. 6, the processor 601 and the memory 602 are connected by a bus 600 as an example, the bus 600 is represented by a thick line in fig. 6, and a connection manner between other components is only schematically illustrated and is not limited. The bus 600 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 6 for ease of illustration, but does not represent only one bus or type of bus.
The computing device in the embodiments of the present application may further include a communication interface 603, where the communication interface 603 is, for example, a network port, and the computing device may receive data or transmit data through the communication interface 603.
In the embodiment of the present application, the memory 602 stores instructions executable by the at least one processor 601, and the at least one processor 601 may execute the steps included in the method for controlling plug-in display by executing the instructions stored in the memory 602.
The processor 601 is a control center of the computing device, and may connect various parts of the entire device by using various interfaces and lines, and perform various functions of the computing device and process data by operating or executing instructions stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the computing device. Alternatively, processor 601 may include one or more processing units, and processor 601 may integrate an application processor, which mainly handles operating systems and application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601. In some embodiments, the processor 601 and the memory 602 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 601 may be a general-purpose processor, such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method for controlling plug-in display disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
The memory 602, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 602 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 602 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 602 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 601, the code corresponding to the method for displaying the control plug-in described in the foregoing embodiment may be solidified into the chip, so that the chip can execute the steps of the method for displaying the control plug-in when running.
Based on the same inventive concept, the present application further provides a storage medium storing computer instructions, which when executed on a computer, cause the computer to perform the steps of the method for controlling plug-in display as described above.
In some possible embodiments, the various aspects of the method for controlling plug-in display provided by the present application may also be implemented in the form of a program product, which includes program code for causing a master device to perform the steps in the method for controlling plug-in display according to various exemplary embodiments of the present application described above in this specification, when the program product is run on the master device.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of controlling a plug-in display, the method comprising:
detecting a trigger operation aiming at a device to be controlled, wherein the trigger operation is used for triggering and displaying a plug-in control interface of the device to be controlled;
acquiring interface configuration information corresponding to the plug-in control interface from a server according to the trigger operation;
and displaying the plug-in control interface according to the interface configuration information.
2. The method of claim 1, wherein obtaining interface configuration information corresponding to the plug-in control interface from a server according to the trigger operation comprises:
determining user information and equipment information of the equipment to be controlled according to the triggering operation;
sending the user information and the equipment information to the server so that the server determines a plug-in configuration list of a corresponding user according to the user information and determines serialized plug-in configuration information corresponding to the equipment information from the plug-in configuration list;
and receiving the serialized plugin configuration information sent by the server, and determining the serialized plugin configuration information as the interface configuration information.
3. The method of claim 2, wherein displaying the plug-in control interface according to the interface configuration information comprises:
performing anti-sequence processing on the serialized plugin configuration information to obtain interface element information and interface format information corresponding to the plugin control interface, wherein the interface element information is used for indicating the equipment function of the equipment to be controlled;
and displaying the plug-in control interface according to the interface element information and the interface format information.
4. The method of any of claims 1-3, wherein after displaying the plug-in control interface according to the interface configuration information, the method further comprises:
obtaining an interface configuration custom instruction for the plug-in control interface;
determining interface self-defining information according to the interface configuration self-defining instruction; the interface custom information comprises a target element of which the display attribute needs to be modified in the plug-in control interface and the target display attribute modified by the target element;
and sending the interface custom information to the server so that the server modifies the plug-in configuration list of the corresponding user according to the interface custom information.
5. The method of claim 4, wherein prior to sending the interface customization information to the server, the method further comprises:
and determining that the user who carries out the custom operation currently has the authority of the custom interface configuration.
6. The method of claim 5, wherein sending the interface customization information to the server comprises:
determining the permission level of the user-defined interface configuration of the user;
determining target interface custom information corresponding to the authority level from the interface custom information;
and sending the target interface custom information to the server.
7. The method of any of claims 1-3, wherein the method further comprises:
detecting whether the server updates the interface configuration information;
if the server is determined to update the interface configuration information, acquiring the updated interface configuration information from the server;
and updating and displaying the plug-in control interface according to the updated interface configuration information.
8. An apparatus for controlling a plug-in display, the apparatus comprising:
the control device comprises a detection module, a control module and a control module, wherein the detection module is used for detecting trigger operation aiming at equipment to be controlled, and the trigger operation is used for triggering and displaying a plug-in control interface of the equipment to be controlled;
the acquisition module is used for acquiring interface configuration information corresponding to the plug-in control interface from a server according to the trigger operation;
and the display module is used for displaying the plug-in control interface according to the interface configuration information.
9. A computing device, wherein the computing device comprises:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the steps comprised in the method of any one of claims 1 to 7 in accordance with the obtained program instructions.
10. A storage medium storing computer-executable instructions for causing a computer to perform the steps comprising the method of any one of claims 1-7.
CN201910837228.9A 2019-09-05 2019-09-05 Method and device for controlling plug-in display, computing equipment and storage medium Pending CN110647278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910837228.9A CN110647278A (en) 2019-09-05 2019-09-05 Method and device for controlling plug-in display, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910837228.9A CN110647278A (en) 2019-09-05 2019-09-05 Method and device for controlling plug-in display, computing equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110647278A true CN110647278A (en) 2020-01-03

Family

ID=69010169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910837228.9A Pending CN110647278A (en) 2019-09-05 2019-09-05 Method and device for controlling plug-in display, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110647278A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638882A (en) * 2020-05-29 2020-09-08 杭州鸿雁电器有限公司 Method and device for generating operation interface, storage medium and processor
CN113225717A (en) * 2021-04-25 2021-08-06 行云新能科技(深圳)有限公司 Control method and device of Bluetooth equipment and computer readable storage medium
CN113342417A (en) * 2021-06-15 2021-09-03 京东数科海益信息科技有限公司 Plug-in configuration method, device and equipment
CN113568679A (en) * 2021-07-20 2021-10-29 深圳Tcl新技术有限公司 Plug-in loading method and device, storage medium and electronic equipment
CN113778283A (en) * 2021-09-22 2021-12-10 中科曙光国际信息产业有限公司 Display control method, device, system, equipment and medium for large-screen equipment
CN114253630A (en) * 2021-12-23 2022-03-29 上海新炬网络信息技术股份有限公司 Method for realizing log storage by modifying Form change information based on Java section

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105974807A (en) * 2016-08-10 2016-09-28 成都启源电子信息技术有限公司 Intelligent household control system
CN107168089A (en) * 2017-06-30 2017-09-15 镇江千月广告传媒有限公司 A kind of method being monitored to intelligent home device
CN107453965A (en) * 2017-07-31 2017-12-08 深圳天珑无线科技有限公司 Control the method, apparatus and computer-readable recording medium of smart home
CN109151561A (en) * 2018-09-13 2019-01-04 青岛海信智慧家居系统股份有限公司 The operation control interface creation method and relevant device of smart home system equipment
CN109507900A (en) * 2018-11-26 2019-03-22 深圳市赛亿科技开发有限公司 A kind of method and system automatically adjusting smart home
CN109541950A (en) * 2018-11-16 2019-03-29 格力电器(武汉)有限公司 Control method, device and the equipment of smart home device
CN110161875A (en) * 2019-06-28 2019-08-23 青岛海尔科技有限公司 The control method and system of smart home operating system based on Internet of Things

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105974807A (en) * 2016-08-10 2016-09-28 成都启源电子信息技术有限公司 Intelligent household control system
CN107168089A (en) * 2017-06-30 2017-09-15 镇江千月广告传媒有限公司 A kind of method being monitored to intelligent home device
CN107453965A (en) * 2017-07-31 2017-12-08 深圳天珑无线科技有限公司 Control the method, apparatus and computer-readable recording medium of smart home
CN109151561A (en) * 2018-09-13 2019-01-04 青岛海信智慧家居系统股份有限公司 The operation control interface creation method and relevant device of smart home system equipment
CN109541950A (en) * 2018-11-16 2019-03-29 格力电器(武汉)有限公司 Control method, device and the equipment of smart home device
CN109507900A (en) * 2018-11-26 2019-03-22 深圳市赛亿科技开发有限公司 A kind of method and system automatically adjusting smart home
CN110161875A (en) * 2019-06-28 2019-08-23 青岛海尔科技有限公司 The control method and system of smart home operating system based on Internet of Things

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638882A (en) * 2020-05-29 2020-09-08 杭州鸿雁电器有限公司 Method and device for generating operation interface, storage medium and processor
CN111638882B (en) * 2020-05-29 2022-03-11 杭州鸿雁电器有限公司 Method and device for generating operation interface, storage medium and processor
CN113225717A (en) * 2021-04-25 2021-08-06 行云新能科技(深圳)有限公司 Control method and device of Bluetooth equipment and computer readable storage medium
CN113342417A (en) * 2021-06-15 2021-09-03 京东数科海益信息科技有限公司 Plug-in configuration method, device and equipment
CN113568679A (en) * 2021-07-20 2021-10-29 深圳Tcl新技术有限公司 Plug-in loading method and device, storage medium and electronic equipment
CN113778283A (en) * 2021-09-22 2021-12-10 中科曙光国际信息产业有限公司 Display control method, device, system, equipment and medium for large-screen equipment
CN114253630A (en) * 2021-12-23 2022-03-29 上海新炬网络信息技术股份有限公司 Method for realizing log storage by modifying Form change information based on Java section
CN114253630B (en) * 2021-12-23 2023-07-25 上海新炬网络信息技术股份有限公司 Method for realizing log storage based on Java section modification Form change information

Similar Documents

Publication Publication Date Title
CN110647278A (en) Method and device for controlling plug-in display, computing equipment and storage medium
CN108259643B (en) Binding method and device of intelligent device and user operation terminal, and electronic device
US20200267221A1 (en) Method, system, and device for controlling an internet of things device
CN109725901B (en) Front-end code development method, device, equipment and computer storage medium
CN109445783B (en) Method and device for constructing dynamic configuration application driven by service
CN109614101B (en) Page generation method, system, device, computer equipment and storage medium
CN108762956B (en) Method for acquiring Native local data, server, mobile terminal and storage medium
CN111200545B (en) Intelligent device access method and device
CN107133064B (en) Page hot updating method and device for native application
CN104750550A (en) Mobile terminal application management system and method and use time record generating method
CN106648716A (en) Increment updating method, server and intelligent card
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
CN111464351B (en) Network distribution method and device for intelligent household equipment, terminal equipment and storage medium
CN113168332B (en) Data processing method and device and mobile terminal
CN111007733B (en) Method and device for integrating smart home terminal APP with smart device
CN113672441A (en) Method and device for testing intelligent equipment
CN111413876A (en) Method for configuring control page of APP, cloud platform and terminal equipment
CN110765610A (en) PDM (product data management) integration method and device, computer equipment and storage medium
CN109698974A (en) A kind of method, apparatus, electronic equipment and the medium of display progress
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
US8374593B2 (en) Method of providing mobile application
CN109698973B (en) Progress updating method and device, electronic equipment and medium
CN113589745A (en) Vehicle remote control method and device and electronic equipment
CN112650763A (en) Configuration method of product quota, related equipment and storage medium

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

Application publication date: 20200103

RJ01 Rejection of invention patent application after publication