CN114443168A - Data configuration method, device and computer readable storage medium - Google Patents

Data configuration method, device and computer readable storage medium Download PDF

Info

Publication number
CN114443168A
CN114443168A CN202210105911.5A CN202210105911A CN114443168A CN 114443168 A CN114443168 A CN 114443168A CN 202210105911 A CN202210105911 A CN 202210105911A CN 114443168 A CN114443168 A CN 114443168A
Authority
CN
China
Prior art keywords
mode
target
configuration data
data
controlled
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
CN202210105911.5A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202210105911.5A priority Critical patent/CN114443168A/en
Publication of CN114443168A publication Critical patent/CN114443168A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the application discloses a data configuration method, a data configuration device and a computer readable storage medium, wherein parameter configuration data and at least one user-defined mode to be configured corresponding to equipment to be controlled are obtained; determining target configuration data corresponding to the custom mode to be configured based on the parameter configuration data; and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function. Therefore, the function corresponding to the self-defining mode to be configured in the equipment to be controlled is configured in a self-defining mode to be configured according to the parameter configuration data corresponding to the equipment to be controlled, the corresponding target configuration data is sent to the equipment to be controlled, the equipment to be controlled is configured with the self-defining mode to be configured, the corresponding function is executed based on the equipment to be controlled, the convenient and fast self-defining setting of the function of the equipment to be controlled is realized, and the data configuration efficiency is improved.

Description

Data configuration method, device and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data configuration method, an apparatus, and a computer-readable storage medium.
Background
With the development of communication technology, various intelligent devices, such as air conditioners, refrigerators, washing machines, integrated ranges, etc., are present in people's lives, and the intelligent devices facilitate people's daily lives.
The functions and parameters corresponding to the existing intelligent equipment are generally fixed, and a user can only control the intelligent equipment through preset settings to realize the fixed functions, however, along with the improvement of user requirements, the interaction requirements of the user and the intelligent equipment are more and more, and the existing data configuration method with fixed functions and parameters cannot meet the user requirements, so that the data configuration efficiency is low.
Disclosure of Invention
The embodiment of the application provides a data configuration method, a data configuration device and a computer readable storage medium, which can perform user-defined setting on the functions of equipment, and further improve the data configuration efficiency.
An embodiment of the present application provides a data configuration method, including:
acquiring parameter configuration data and at least one custom mode to be configured corresponding to equipment to be controlled;
determining target configuration data corresponding to the to-be-configured custom mode based on the parameter configuration data, wherein the target configuration data is used for realizing a target function corresponding to the to-be-configured custom mode;
and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function.
Correspondingly, an embodiment of the present application provides a data configuration apparatus, including:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring parameter configuration data corresponding to equipment to be controlled and at least one user-defined mode to be configured;
a determining unit, configured to determine, based on the parameter configuration data, target configuration data corresponding to the to-be-configured custom mode, where the target configuration data is used to implement a target function corresponding to the to-be-configured custom mode;
and the transmission unit is used for transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled and execute a corresponding target function.
In one embodiment, the determining unit includes:
the target function acquiring subunit is used for acquiring the target function corresponding to the to-be-configured custom mode;
and the identifying subunit is used for identifying target configuration data corresponding to the target function in the parameter configuration data based on the target function.
In one embodiment, the identifier unit comprises:
the screening module is used for screening out at least one parameter configuration item corresponding to the target function from the parameter configuration data;
the configuration module is used for configuring the parameter configuration item according to the parameter data corresponding to the target function to obtain a target parameter configuration item;
and the combination module is used for combining the target parameter configuration items based on the function logic corresponding to the target function to obtain target configuration data.
In one embodiment, the target function acquiring subunit includes:
the setting module is used for setting at least one control mode corresponding to the equipment to be controlled, and the control mode comprises at least one self-defining mode to be configured;
and the target function acquisition module is used for acquiring the target function corresponding to each user-defined mode to be configured in the control mode.
In an embodiment, the data configuration apparatus further includes:
an initial mode parameter configuration data obtaining unit, configured to obtain initial mode parameter configuration data corresponding to the device to be controlled, where the initial mode parameter configuration data is used to implement an initial function corresponding to an initial mode;
the adjusting unit is used for adjusting the initial mode parameter configuration data based on a preset function to obtain adjusted initial mode parameter configuration data;
and the sending unit is used for sending the adjusted initial mode parameter configuration data to the equipment to be controlled so as to update the initial function corresponding to the initial mode to a preset function based on the equipment to be controlled.
Correspondingly, an embodiment of the present application further provides a data configuration apparatus, including:
the target configuration data acquisition unit is used for acquiring target configuration data sent by the control equipment, wherein the target configuration data is determined based on parameter configuration data corresponding to the equipment to be controlled and corresponds to a self-defined mode to be configured;
a to-be-configured custom mode determining unit, configured to determine, in a preset custom mode, a to-be-configured custom mode corresponding to the target configuration data;
and the generating unit is used for configuring the self-defined mode to be configured according to the target configuration data to generate a candidate self-defined mode.
In an embodiment, the data configuration apparatus further includes:
the searching unit is used for searching a target self-defining mode corresponding to a self-defining function in the candidate self-defining modes when receiving an execution request aiming at the target function;
and the execution unit is used for executing the target function based on the target custom mode.
In addition, a computer-readable storage medium is provided, where the computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform steps in any data configuration method provided in an embodiment of the present application.
In addition, the embodiment of the present application further provides a computer device, which includes a processor and a memory, where the memory stores an application program, and the processor is configured to run the application program in the memory to implement the data configuration method provided in the embodiment of the present application.
Embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the steps in the data configuration method provided by the embodiment of the application.
The method comprises the steps of obtaining parameter configuration data and at least one custom mode to be configured corresponding to equipment to be controlled; determining target configuration data corresponding to the custom mode to be configured based on the parameter configuration data; and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function. Therefore, the function corresponding to the self-defining mode to be configured in the equipment to be controlled is configured in a self-defining mode to be configured according to the parameter configuration data corresponding to the equipment to be controlled, the corresponding target configuration data is sent to the equipment to be controlled, the equipment to be controlled is configured with the self-defining mode to be configured, the corresponding function is executed based on the equipment to be controlled, the convenient and fast self-defining setting of the function of the equipment to be controlled is realized, and the data configuration efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an implementation scenario of a data configuration method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data configuration method according to an embodiment of the present application;
fig. 3 is a schematic configuration structure diagram of a data configuration method according to an embodiment of the present application;
fig. 4 is a schematic device interaction diagram of a data configuration method according to an embodiment of the present application;
fig. 5 is another schematic flow chart of a data configuration method according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a data configuration apparatus according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a data configuration apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the 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.
The embodiment of the application provides a data configuration method, a data configuration device and a computer-readable storage medium. The data configuration apparatus may be integrated in a computer device, and the computer device may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Network acceleration service (CDN), big data and an artificial intelligence platform. The terminal may be a device capable of performing data configuration, such as a smart television, a tablet computer, a notebook computer, a desktop computer, a smart speaker, and a smart phone, but is not limited thereto. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
Referring to fig. 1, taking an example that a data configuration apparatus is integrated in a computer device, fig. 1 is a schematic view of an implementation scenario of a data configuration method provided in an embodiment of the present application, where the computer device may be a terminal, and the terminal may be various computer devices such as a smart television, a smart phone, a tablet computer, a notebook computer, and a desktop computer, but is not limited thereto. The terminal can obtain the parameter configuration data and at least one user-defined mode to be configured corresponding to the equipment to be controlled; determining target configuration data corresponding to the custom mode to be configured based on the parameter configuration data; and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function.
It should be noted that the schematic diagram of the implementation environment scenario of the data configuration method shown in fig. 1 is only an example, and the implementation environment scenario of the data configuration method described in the embodiment of the present application is for more clearly explaining the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided by the embodiment of the present application. As will be appreciated by those skilled in the art, as data configuration evolves and new service scenarios emerge, the solution provided in the present application is applicable to similar technical problems.
With the development of communication technology, various intelligent devices, such as air conditioners, refrigerators, washing machines, integrated ranges, etc., are present in people's lives, and the intelligent devices facilitate people's daily lives.
The functions and parameters corresponding to the existing intelligent equipment are generally fixed, a user can only control the intelligent equipment through preset function options and fixed parameters to realize the fixed functions, however, along with the improvement of user requirements, the interaction requirements of the user and the intelligent equipment are more and more, the existing equipment control method with the fixed functions and parameters cannot meet the user requirements, even if the parameters are adjustable, the expected function targets can be achieved only by adjusting through a plurality of buttons or keys, the whole process is complicated, repeated setting is needed every time, the operation cost of the user is increased, therefore, the functions and parameters of the intelligent equipment cannot be conveniently configured based on the requirements of the user, and the efficiency of data configuration is low.
In order to solve the above problems, an embodiment of the present application provides a data configuration method, which may be integrated in a terminal device, perform a custom configuration on a function corresponding to a to-be-configured custom mode in a device to be controlled according to parameter configuration data corresponding to the device to be controlled, and send corresponding target configuration data to the device to be controlled, so as to configure the to-be-configured custom mode through the device to be controlled to execute a corresponding function based on the device to be controlled, thereby implementing convenient custom setting on the function of the device to be controlled, and further improving data configuration efficiency.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment will be described from the perspective of a data configuration apparatus, which may be specifically integrated in a computer device, where the computer device may be a terminal, and the application is not limited herein.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a data configuration method according to an embodiment of the present application. The data configuration method comprises the following steps:
in step 101, parameter configuration data and at least one to-be-configured custom mode corresponding to a device to be controlled are obtained.
The device to be controlled may be a controlled device, and may be an intelligent device, such as a washing machine, an air conditioner, and the like. The parameter configuration data may be data for performing custom configuration on the configuration of parameters, functional logic, interface styles and the like of the device to be controlled, may include data for performing custom configuration on parameters (for example, factory default values of the device to be controlled), functional logic, interface styles and the like of initial settings or default settings in the device to be controlled, may also include other data which may be selected for adjusting the configuration of parameters, functional logic, interface styles and the like of the device to be controlled, and may also include data for performing custom configuration on system control logic of the device to be controlled, so as to implement a function meeting user requirements through the custom settings.
For example, assuming that the device to be controlled may be a washing machine, correspondingly, the parameter may be a parameter such as a rotation speed, a water temperature, a washing frequency, and the like, the function logic may be a logic corresponding to a function of removing wrinkles at a rotation speed of 1400 revolutions, a temperature of 60 degrees, and a washing frequency of 4 times during a drying process, and the interface style may be set according to a preference of a user.
The to-be-configured user-defined mode can be a preset mode and is used for providing a user with options for user-defined setting of the configuration of parameters, functional logic, interface styles and the like of the to-be-controlled equipment, and the to-be-configured user-defined mode can be multiple.
Optionally, the device to be controlled may be found and associated with the device to be controlled, so as to obtain parameter configuration data and at least one user-defined mode to be configured corresponding to the device to be controlled.
For example, the data configuration method may be integrated in a terminal, such as a smart phone, and further, the parameter configuration data and at least one to-be-configured custom mode corresponding to the to-be-controlled device may be acquired on the terminal, and may be displayed on a control interface corresponding to the terminal, where the control interface may be an interface in an application program of the terminal, the application program may be an application program that controls the to-be-controlled device by performing custom configuration on a function of the to-be-controlled device, and may also be a web interface in a browser, and the web page may be a web page that controls the to-be-controlled device by performing custom configuration on a function of the to-be-controlled device.
The to-be-configured user-defined mode may be displayed in the to-be-controlled device, for example, may be displayed in the to-be-controlled device in the form of a control or a key, and optionally, one control or key may correspond to multiple to-be-configured user-defined modes, a user may switch different to-be-configured user-defined modes by clicking the control or key multiple times, or one control or key may correspond to one to-be-configured user-defined mode, and a user may switch different to-be-configured user-defined modes by clicking different controls or keys. Therefore, a user can select the to-be-configured custom mode by clicking a control or a key corresponding to the to-be-configured custom mode in the to-be-controlled device, and further can execute a function corresponding to the to-be-configured custom mode.
For example, referring to fig. 3, fig. 3 is a schematic configuration structure diagram of a data configuration method provided in an embodiment of the present application, when the controlled device does not perform configuration in the user-defined mode, the configuration in the controlled device may be default values from the factory, that is, default configurations such as default parameters, default function logic, and default interface styles, and then the control device may obtain parameter configuration data corresponding to the device to be controlled and at least one user-defined mode to be configured based on the default configurations.
In step 102, target configuration data corresponding to the to-be-configured custom mode is determined based on the parameter configuration data.
The target configuration data may be used in the parameter configuration data to implement data of a target function corresponding to the to-be-configured custom mode.
The method for determining the target configuration data corresponding to the to-be-configured custom mode based on the parameter configuration data may be various, for example, a target function corresponding to the to-be-configured custom mode may be obtained; and identifying target configuration data corresponding to the target function in the parameter configuration data based on the target function. Specifically, the following may be mentioned:
(1) and acquiring the target function corresponding to the to-be-configured custom mode.
The target function may be a function corresponding to each to-be-configured user-defined mode determined based on user requirements, and may include corresponding parameter data and function logic, and the corresponding function is realized through a combination of the parameter logic and the function logic, for example, for a function of "rotating speed is 1400 revolutions, temperature is 60 degrees, washing times is 4 times, and wrinkle removal in a drying process", the parameter data is a rotating speed parameter of 1400 revolutions, a temperature parameter of 60 degrees, a washing times parameter of 4 times, and wrinkle removal in a drying process is required, and the like, the function logic may be a logic of washing clothes for a certain number of times at a certain rotating speed and temperature, and performing drying.
The target function may be of multiple types, for example, the target function may be only one parameter data of the device to be controlled, may also be a function of performing custom configuration on the parameter data of the device to be controlled and a corresponding function logic, may also be a function of setting an interface style of the device to be controlled, and may also be a function of performing superposition execution of multiple functions.
Optionally, the target function corresponding to the to-be-configured custom mode may be determined by detecting a historical operation record of the to-be-controlled device, for example, assuming that the to-be-controlled device executes tasks with control logics of "rotation speed of 1400 revolutions, temperature of 60 degrees, washing times of 4 times, and wrinkle removal in the drying process" based on the setting of the user for multiple times in the recent period of time, so that the target function with control logics of "rotation speed of 1400 revolutions, temperature of 60 degrees, washing times of 4 times, and wrinkle removal in the drying process" may be automatically generated according to the historical operation record; the determination may also be performed by a user, for example, multiple candidate function options may be displayed in the control interface, the user may select a target function corresponding to each to-be-configured custom mode from the candidate function options in the control interface, in addition, the user may adjust parameter data and function logic in each candidate function option in the parameter configuration data, or may filter in the parameter configuration data in advance and combine the filtered data to generate a candidate function option, and when a user needs to perform custom configuration on the to-be-controlled device in the subsequent process, the user may directly configure the target function corresponding to each to-be-configured custom mode by selecting a corresponding function option from the pre-configured candidate function options.
Optionally, the controls or buttons corresponding to the to-be-configured custom modes that can be displayed in the to-be-controlled device are limited, and meanwhile, different users and different types of clothes may have different washing requirements, so that a plurality of control modes can be set according to different requirements, each control mode can correspond to a plurality of to-be-configured custom modes, and thus more configuration requirements can be realized, specifically, at least one control mode corresponding to the to-be-controlled device can be set, and the control mode can include at least one to-be-configured custom mode; and acquiring a target function corresponding to each user-defined mode to be configured in the control mode.
The control mode may be set according to different requirements, for example, for different users, or for different time periods, for example, taking the device to be controlled as a washing machine, different users may have different washing habits, different clothes may have different washing requirements, and different time periods may need to be set differently in consideration of actual conditions such as noise influence and power consumption, and in addition, different seasons may have different requirements for washing.
Therefore, the target function corresponding to each to-be-configured custom mode can be obtained in each control mode. Therefore, by setting a plurality of control modes and selecting a plurality of corresponding to-be-configured custom modes in each control mode, more functions can be realized through the to-be-controlled equipment, and the efficiency of data configuration is further improved.
(2) And identifying target configuration data corresponding to the target function in the parameter configuration data based on the target function.
Based on the target function, in the parameter configuration data, there may be multiple ways of identifying the target configuration data corresponding to the target function, for example, at least one parameter configuration item corresponding to the target function may be screened out from the parameter configuration data; configuring the parameter configuration item according to the parameter data corresponding to the target function to obtain a target parameter configuration item; and combining the target parameter configuration items based on the function logic corresponding to the target function to obtain target configuration data.
The parameter configuration item may be an option for configuring a parameter, at least one parameter configuration item corresponding to the target function may be screened from the parameter configuration data, and then the parameter configuration item may be configured according to the parameter data corresponding to the target function to obtain a target parameter configuration item, and meanwhile, the target parameter configuration item may be combined based on the function logic corresponding to the target function to obtain target configuration data. For example, if the temperature parameter in the mode 1 in the device to be controlled needs to be adjusted to 80 degrees celsius, the parameter configuration item corresponding to the mode 1 may be screened out from the parameter configuration data, and the temperature parameter configuration item therein may be screened out, and the temperature parameter configuration item is configured by the parameter data at 80 degrees celsius, so as to obtain the target parameter configuration item.
For example, assuming that the device to be controlled can be a washing machine, the user cannot find a satisfactory washing mode in a preset function mode in the device to be controlled according to the characteristics of the laundry, and therefore, the user needs to configure the user-defined mode through the control device, for this reason, the control device can obtain parameter configuration data corresponding to the device to be controlled and a corresponding user-defined mode to be configured, and can select one user-defined mode c to be configured to perform user-defined configuration according to the requirement, and screen out parameter configuration items such as the rotating speed, the temperature, the washing times and the like corresponding to the user-defined mode c to be configured from the parameter configuration data, and configure each parameter configuration item according to the parameter data to be configured, for example, the parameter data can be 1400 revolutions, 60 degrees, 4 washing times and the like, and further configure the corresponding parameter configuration items according to the parameter data, and the configured parameter configuration items are combined according to the required function logic, so that target configuration data which are configured by a user in a self-defined manner and are washed for 4 times at the rotating speed of 1400 revolutions at the temperature of 60 ℃ can be obtained, and a configured self-defined mode c to be configured can be obtained based on the target configuration data.
In step 103, the target configuration data is transmitted to the device to be controlled.
For example, the target configuration data may be transmitted to the device to be controlled through a network, for example, the target configuration data may be transmitted to the device to be controlled through a network (including a local area network), Power Line Communication (PLC), wireless mesh network (mesh), bluetooth, Near Field Communication (NFC), or other Communication methods, so that the target configuration data may be transmitted to the device to be controlled, so that the device to be controlled may configure the custom mode to be configured according to the target configuration data, and the user may trigger the custom mode to be configured to execute a corresponding target function.
For example, referring to fig. 4, fig. 4 is a device interaction diagram of a data configuration method provided in an embodiment of the present application, where a control device may establish a connection with a controlled device through a communication method such as a local area network, a power line communication, a wireless mesh network, bluetooth, or near field communication, and then the controlled device may send parameter configuration data to the control device through the communication method, and the control device may send target configuration data to the controlled device through the communication method.
Optionally, in order to further implement deep interaction between the user and the device to be controlled, an initial function corresponding to an initial mode in the device to be controlled may be modified, where the initial mode may be a default mode, that is, a non-customized mode, provided when the device to be controlled leaves a factory. Specifically, initial mode parameter configuration data corresponding to the device to be controlled may be obtained, where the initial mode parameter configuration data is used to implement an initial function corresponding to an initial mode; adjusting the initial mode parameter configuration data based on a preset function to obtain adjusted initial mode parameter configuration data; and sending the adjusted initial mode parameter configuration data to the equipment to be controlled so as to update the initial function corresponding to the initial mode to a preset function based on the equipment to be controlled.
The initial mode parameter configuration data may be parameter configuration data corresponding to an initial mode preset in the device to be controlled, so that the initial mode parameter configuration data may be used to implement an initial function corresponding to the initial mode, and the adjusted initial mode parameter configuration data may be data obtained by modifying the initial mode parameter configuration data corresponding to the initial mode based on a service requirement.
Accordingly, initial mode parameter configuration data corresponding to the device to be controlled may be obtained, the initial mode parameter configuration data may be adjusted based on a preset function, and then the adjusted initial mode parameter configuration data may be sent to the device to be controlled, and the device to be controlled may update a logic corresponding to an initial mode according to the adjusted initial mode parameter configuration data, so that the initial function corresponding to the initial mode may be updated to a preset function based on the device to be controlled, for example, the device to be controlled may be a washing machine, assuming that an initial mode of a soft mode is preset in the washing machine, in the initial mode parameter configuration data corresponding to the initial mode, a rotation speed parameter is set to 1000 revolutions, and in order to wash laundry more softly, a user needs to adjust the rotation speed parameter to 800 revolutions, and for this reason, the rotation speed parameter in the initial mode parameter configuration data corresponding to the soft mode may be adjusted to 800 revolutions And then, the adjusted initial mode parameter configuration data can be sent to the device to be controlled, and the device to be controlled can update the rotating speed parameter of the soft mode according to the adjusted initial mode parameter configuration data, so that when a user selects the soft mode and starts washing, the device to be controlled can use the rotating speed parameter of 800 turns to perform washing in the soft mode and the like.
Optionally, a factory resetting control corresponding to the device to be controlled may be searched, where the factory resetting control may be used to reset the configuration of parameters, functions, and the like of the device to be controlled to a factory default value, so that a factory resetting request for the factory resetting control may be triggered, and the factory resetting request is sent to the device to be controlled, so as to adjust the current setting of the device to be controlled to the factory default value based on the factory resetting request.
For example, taking the example that the data configuration method provided in the embodiment of the present application is integrated in a control device, the control device may be a terminal, for example, a device such as a mobile phone and a computer, please refer to fig. 3, the control device triggers a factory restoration request for the factory restoration control, and sends the factory restoration request to the device to be controlled, so that the configurations of the currently set custom parameter, custom function logic, custom interface style, and the like of the device to be controlled are restored to factory default values, that is, configurations of the default parameter, the default function logic, the default interface style, and the like.
According to the method, the parameter configuration data and the at least one to-be-configured custom mode corresponding to the to-be-controlled equipment are obtained; determining target configuration data corresponding to the custom mode to be configured based on the parameter configuration data; and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function. Therefore, the function corresponding to the self-defining mode to be configured in the equipment to be controlled is configured in a self-defining mode to be configured according to the parameter configuration data corresponding to the equipment to be controlled, the corresponding target configuration data is sent to the equipment to be controlled, the equipment to be controlled is configured with the self-defining mode to be configured, the corresponding function is executed based on the equipment to be controlled, the convenient and fast self-defining setting of the function of the equipment to be controlled is realized, and the data configuration efficiency is improved.
The embodiment will be described from the perspective of a data configuration device, and the data processing device may be specifically integrated in a terminal, and the terminal may be an intelligent device.
For a better description of the embodiments of the present application, please refer to fig. 5. As shown in fig. 5, fig. 5 is another schematic flow chart of the data configuration method according to the embodiment of the present application. The specific process is as follows:
in step 201, target configuration data sent by the control device is acquired.
The data configuration method provided by the embodiment of the application can be integrated in the device to be controlled, and the target configuration data can be target configuration data corresponding to the to-be-configured custom mode determined based on parameter configuration data corresponding to the device to be controlled, that is, configuration data obtained after the control device configures the to-be-configured custom mode of the device to be controlled. For example, the control device may transmit the target configuration data to the controlled device through the network, and the controlled device may acquire the target configuration data transmitted by the control device.
In step 202, in a preset custom mode, a to-be-configured custom mode corresponding to the target configuration data is determined.
The preset user-defined mode can be at least one user-defined mode preset in the equipment to be controlled, each preset user-defined mode can be configured with a corresponding function, and the user can provide the control equipment to configure one or more user-defined modes in the preset user-defined modes, so that the functional requirements of the user on the equipment to be controlled can be met.
For example, the device to be controlled may determine, in at least one preset custom mode, a to-be-configured custom mode corresponding to the target configuration data based on an association relationship between the target configuration data and the to-be-configured custom mode.
In step 203, the user-defined mode to be configured is configured according to the target configuration data, and a candidate user-defined mode is generated.
Specifically, the parameter data and the function logic corresponding to the function of each to-be-configured custom mode in the control device may be configured according to the target configuration data, and then a candidate custom mode may be generated in the to-be-controlled device, so that a user may trigger execution of the function corresponding to the candidate custom mode by selecting the candidate custom mode in the to-be-controlled device, thereby implementing custom configuration of the function parameter of the to-be-controlled device.
In an embodiment, when an execution request for a target function is received, a target custom mode corresponding to the custom function may be searched in the candidate custom modes, and then the target custom mode may be triggered to execute the corresponding target function.
As can be seen from the above, in the embodiment of the present application, target configuration data sent by the control device is obtained; in a preset custom mode, determining a custom mode to be configured corresponding to the target configuration data; and configuring the self-defined mode to be configured according to the target configuration data to generate a candidate self-defined mode. Therefore, the target configuration data sent by the control equipment is obtained to configure the self-defining mode to be configured so as to generate a candidate self-defining mode, and the efficiency of data configuration is improved.
In order to better implement the above method, an embodiment of the present invention further provides a data configuration apparatus, which may be integrated in a terminal.
For example, as shown in fig. 6, for a schematic structural diagram of a data configuration apparatus provided in an embodiment of the present application, the data configuration apparatus may include an obtaining unit 301, a determining unit 302, and a transmitting unit 303, as follows:
an obtaining unit 301, configured to obtain parameter configuration data and at least one to-be-configured custom mode corresponding to a device to be controlled;
a determining unit 302, configured to determine, based on the parameter configuration data, target configuration data corresponding to the to-be-configured custom mode, where the target configuration data is used to implement a target function corresponding to the to-be-configured custom mode;
a transmitting unit 303, configured to transmit the target configuration data to the device to be controlled, so as to configure the custom mode to be configured based on the device to be controlled, so as to execute a corresponding target function.
In an embodiment, the determining unit 302 includes:
the target function acquiring subunit is used for acquiring the target function corresponding to the to-be-configured user-defined mode;
and the identifying subunit is used for identifying the target configuration data corresponding to the target function in the parameter configuration data based on the target function.
In one embodiment, the identification subunit includes:
the screening module is used for screening out at least one parameter configuration item corresponding to the target function from the parameter configuration data;
the configuration module is used for configuring the parameter configuration item according to the parameter data corresponding to the target function to obtain a target parameter configuration item;
and the combination module is used for combining the target parameter configuration items based on the functional logic corresponding to the target function to obtain target configuration data.
In one embodiment, the target function acquiring subunit includes:
the setting module is used for setting at least one control mode corresponding to the equipment to be controlled, and the control mode comprises at least one self-defined mode to be configured;
and the target function acquisition module is used for acquiring the target function corresponding to each user-defined mode to be configured in the control mode.
In an embodiment, the data configuration apparatus further includes:
an initial mode parameter configuration data obtaining unit, configured to obtain initial mode parameter configuration data corresponding to the device to be controlled, where the initial mode parameter configuration data is used to implement an initial function corresponding to an initial mode;
the adjusting unit is used for adjusting the initial mode parameter configuration data based on a preset function to obtain adjusted initial mode parameter configuration data;
and the sending unit is used for sending the adjusted initial mode parameter configuration data to the equipment to be controlled so as to update the initial function corresponding to the initial mode to a preset function based on the equipment to be controlled.
Correspondingly, an embodiment of the present application further provides a data configuration apparatus, including:
the target configuration data acquisition unit is used for acquiring target configuration data sent by the control equipment, wherein the target configuration data is determined based on parameter configuration data corresponding to the equipment to be controlled and corresponds to a self-defined mode to be configured;
a to-be-configured custom mode determining unit, configured to determine, in a preset custom mode, a to-be-configured custom mode corresponding to the target configuration data;
and the generating unit is used for configuring the self-defined mode to be configured according to the target configuration data and generating a candidate self-defined mode.
In an embodiment, the data configuration apparatus further includes:
the searching unit is used for searching a target self-defining mode corresponding to the self-defining function in the candidate self-defining mode when receiving an execution request aiming at the target function;
and the execution unit is used for executing the target function based on the target custom mode.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in the embodiment of the present application, the obtaining unit 301 obtains the parameter configuration data and the at least one to-be-configured custom mode corresponding to the device to be controlled; the determining unit 302 determines target configuration data corresponding to the to-be-configured custom mode based on the parameter configuration data; the transmission unit 303 transmits the target configuration data to the device to be controlled to configure the custom mode to be configured based on the device to be controlled to execute the corresponding target function. Therefore, the function corresponding to the self-defining mode to be configured in the equipment to be controlled is configured in a self-defining mode to be configured according to the parameter configuration data corresponding to the equipment to be controlled, the corresponding target configuration data is sent to the equipment to be controlled, the equipment to be controlled is configured with the self-defining mode to be configured, the corresponding function is executed based on the equipment to be controlled, the convenient and fast self-defining setting of the function of the equipment to be controlled is realized, and the data configuration efficiency is improved.
In order to better implement the data configuration method provided by the embodiment of the present application, an embodiment of the present application further provides a device based on the data configuration method, and the device may be specifically integrated in a terminal. The terms are the same as those in the data configuration method, and specific implementation details can refer to the description in the method embodiment.
For example, as shown in fig. 7, for a schematic structural diagram of a data configuration apparatus provided in an embodiment of the present application, the data configuration apparatus may include a target configuration data obtaining unit 401, a to-be-configured custom mode determining unit 402, and a generating unit 403, as follows:
a target configuration data obtaining unit 401, configured to obtain target configuration data sent by the control device, where the target configuration data is target configuration data corresponding to the to-be-configured custom mode and determined based on parameter configuration data corresponding to the to-be-controlled device;
a to-be-configured custom mode determining unit 402, configured to determine, in a preset custom mode, a to-be-configured custom mode corresponding to the target configuration data;
a generating unit 403, configured to configure the to-be-configured custom mode according to the target configuration data, and generate a candidate custom mode.
In an embodiment, the data configuration apparatus further includes:
the searching unit is used for searching a target self-defining mode corresponding to the self-defining function in the candidate self-defining mode when receiving an execution request aiming at the target function;
and the execution unit is used for executing the target function based on the target custom mode.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
An embodiment of the present application further provides a computer device, as shown in fig. 8, which shows a schematic structural diagram of a computer device according to an embodiment of the present application, where the computer device may be a terminal, and specifically:
the computer device may include components such as a processor 501 of one or more processing cores, memory 502 of one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 8 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processor 501 is a control center of the computer device, connects various parts of the whole computer device by various interfaces and lines, executes various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby monitoring the computer device as a whole. Optionally, processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor, which mainly handles operating systems, user interfaces, 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 501.
The memory 502 may be used to store software programs and modules, and the processor 501 executes various functional applications and data configurations by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.
The computer device further comprises a power supply 503 for supplying power to the various components, and preferably, the power supply 503 may be logically connected to the processor 501 through a power management system, so that functions of managing charging, discharging, power consumption, and the like are realized through the power management system. The power supply 503 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 504, and the input unit 504 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 501 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 runs the application programs stored in the memory 502, so as to implement various functions as follows:
acquiring parameter configuration data and at least one custom mode to be configured corresponding to equipment to be controlled; determining target configuration data corresponding to the custom mode to be configured based on the parameter configuration data; and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein. It should be noted that the computer device provided in the embodiment of the present application and the data configuration method in the foregoing embodiment belong to the same concept, and specific implementation processes thereof are described in the foregoing method embodiment and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the data configuration methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
acquiring parameter configuration data and at least one custom mode to be configured corresponding to equipment to be controlled; determining target configuration data corresponding to the custom mode to be configured based on the parameter configuration data; and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any data configuration method provided in the embodiments of the present application, the beneficial effects that can be achieved by any data configuration method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
According to an aspect of the application, there is provided, among other things, a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations provided by the embodiments described above.
The data configuration method, the data configuration device, and the computer-readable storage medium provided by the embodiments of the present application are described in detail above, and the principles and embodiments of the present application are described herein by applying specific examples, and the description of the above embodiments is only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for configuring data, comprising:
acquiring parameter configuration data and at least one user-defined mode to be configured corresponding to equipment to be controlled;
determining target configuration data corresponding to the to-be-configured custom mode based on the parameter configuration data, wherein the target configuration data is used for realizing a target function corresponding to the to-be-configured custom mode;
and transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled to execute the corresponding target function.
2. The data configuration method according to claim 1, wherein the determining, based on the parameter configuration data, target configuration data corresponding to the to-be-configured custom mode includes:
acquiring a target function corresponding to the to-be-configured user-defined mode;
and identifying target configuration data corresponding to the target function in the parameter configuration data based on the target function.
3. The data configuration method according to claim 2, wherein the identifying, based on the target function, target configuration data corresponding to the target function in the parameter configuration data includes:
screening out at least one parameter configuration item corresponding to the target function from the parameter configuration data;
configuring the parameter configuration item according to the parameter data corresponding to the target function to obtain a target parameter configuration item;
and combining the target parameter configuration items based on the function logic corresponding to the target function to obtain target configuration data.
4. The data configuration method according to claim 2, wherein the obtaining of the target function corresponding to the to-be-configured custom mode includes:
setting at least one control mode corresponding to the equipment to be controlled, wherein the control mode comprises at least one self-defining mode to be configured;
and acquiring a target function corresponding to each user-defined mode to be configured in the control mode.
5. The data configuration method of claim 1, wherein the method is followed by further comprising:
acquiring initial mode parameter configuration data corresponding to the equipment to be controlled, wherein the initial mode parameter configuration data is used for realizing an initial function corresponding to an initial mode;
adjusting the initial mode parameter configuration data based on a preset function to obtain adjusted initial mode parameter configuration data;
and sending the adjusted initial mode parameter configuration data to the equipment to be controlled so as to update the initial function corresponding to the initial mode to a preset function based on the equipment to be controlled.
6. A method of data configuration, comprising:
acquiring target configuration data sent by control equipment, wherein the target configuration data is determined based on parameter configuration data corresponding to the equipment to be controlled and corresponds to a user-defined mode to be configured;
determining a to-be-configured custom mode corresponding to the target configuration data in a preset custom mode;
and configuring the self-defined mode to be configured according to the target configuration data to generate a candidate self-defined mode.
7. The data configuration method of claim 6, further comprising, after the method:
when an execution request aiming at a target function is received, searching a target self-defining mode corresponding to the self-defining function in the candidate self-defining modes;
and executing the target function based on the target custom mode.
8. A data configuration apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring parameter configuration data corresponding to equipment to be controlled and at least one user-defined mode to be configured;
a determining unit, configured to determine, based on the parameter configuration data, target configuration data corresponding to the to-be-configured custom mode, where the target configuration data is used to implement a target function corresponding to the to-be-configured custom mode;
and the transmission unit is used for transmitting the target configuration data to the equipment to be controlled so as to configure the custom mode to be configured based on the equipment to be controlled and execute a corresponding target function.
9. A computer-readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the data configuration method of any of claims 1 to 7.
10. A computer device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the steps of the data configuration method according to any one of claims 1 to 7.
CN202210105911.5A 2022-01-28 2022-01-28 Data configuration method, device and computer readable storage medium Pending CN114443168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210105911.5A CN114443168A (en) 2022-01-28 2022-01-28 Data configuration method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210105911.5A CN114443168A (en) 2022-01-28 2022-01-28 Data configuration method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114443168A true CN114443168A (en) 2022-05-06

Family

ID=81369694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210105911.5A Pending CN114443168A (en) 2022-01-28 2022-01-28 Data configuration method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114443168A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106642578A (en) * 2016-12-23 2017-05-10 Tcl空调器(中山)有限公司 Control method and device of air conditioner
CN111616941A (en) * 2020-04-30 2020-09-04 广东艾诗凯奇智能科技有限公司 Mode selection method, device, mobile terminal and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106642578A (en) * 2016-12-23 2017-05-10 Tcl空调器(中山)有限公司 Control method and device of air conditioner
CN111616941A (en) * 2020-04-30 2020-09-04 广东艾诗凯奇智能科技有限公司 Mode selection method, device, mobile terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10264424B2 (en) Information processing method and central control device
CN105634881B (en) Application scene recommendation method and device
CN113412469A (en) Equipment network distribution method and device, electronic equipment and storage medium
CN112073471A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN111965989B (en) System updating method and device, intelligent home control panel and storage medium
CN106937258B (en) A kind of control method of broadcast, device and mobile terminal
WO2023098345A1 (en) Subscription system and method, electronic device, server, storage medium, and product
CN104007727A (en) Household appliance control method and system
CN105743671B (en) Capacity expansion method, controller and system
CN112342737A (en) Clothes washing method based on intelligent clothes washing system, terminal device and storage medium
CN114697150A (en) Command issuing method and device, storage medium and electronic device
CN113986349A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN114126168A (en) Lamp effect control method and device, intelligent equipment and storage medium
CN114443168A (en) Data configuration method, device and computer readable storage medium
CN115268951A (en) Installation method, device, equipment and storage medium of operating system
CN115457955A (en) Distributed awakening decision method and device, storage medium and electronic device
CN114490134A (en) Event processing method, system, device, computer equipment and storage medium
CN114327709A (en) Control page generation method and device, intelligent device and storage medium
CN113835347A (en) Equipment state management method and device
CN106897102A (en) A kind of intelligent terminal mode of operation collocation method, device and intelligent terminal
CN113395345A (en) Network distribution method and device of Internet of things equipment and storage medium
CN114764325A (en) Service logic generation method, device and terminal
US11859329B2 (en) Method and device for controlling laundry equipment, and storage medium
CN116582585B (en) Message pushing method, device, medium and equipment
CN114449554B (en) Equipment upgrading method, device, 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