Target equipment function activation method, system and device, medium and computer equipment

By receiving and processing function code data, dynamically activate the function of the target device, solving the problem that the function activation status cannot be changed in the prior art, and improving the flexibility of the device.

CN120180418APending Publication Date: 2025-06-20GUANGDONG KETYOO INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510255483.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-05
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The function activation status of the existing target device cannot be changed after leaving the factory, resulting in the user being unable to use the inactivated function, reducing the flexibility of the device.

Method used

By receiving the function code data transmitted by the control terminal, the target function program is determined based on the function code identification, and the function information of the function program is modified based on the activation function code information to activate the function of the target device.

Benefits of technology

This allows users to change the functional activation status of the target device and improves the flexibility of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120180418A_ABST
    Figure CN120180418A_ABST
Patent Text Reader

Abstract

The invention provides a target equipment function activation method, system and device, a medium and computer equipment. The method comprises the following steps: receiving function code data transmitted by a control terminal; the function code data comprises a function code identifier and activated function code information; according to the function code identifier, determining a corresponding target function program stored in target equipment; and modifying the function information of the target function program according to the activation function code information, so that the target equipment activates the function program corresponding to the function code data. The application can improve the use flexibility of the target device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of activating the functions of target devices, and particularly relates to a method, system, device, medium, and computer device for activating the functions of target devices. Background Art

[0002] Existing target devices determine the functions to be activated based on the installed components. Therefore, the functions of target devices are activated according to the installed accessories when they leave the factory. As a result, after being sold, the functions activated by the target devices will never change, that is, users cannot change the activation status of the functions of the target devices by themselves, resulting in users being unable to use the functions that were not activated before the target devices were sold, reducing the flexibility of use of the target devices. Summary of the Invention

[0003] The purpose of this application is to overcome the deficiencies in the prior art and provide a method, system, device, medium, and computer device for activating the functions of target devices, which can improve the flexibility of use of target devices.

[0004] The first aspect of the embodiments of this application provides a method for activating the functions of target devices, including:

[0005] Receiving function code data transmitted by a control terminal; the function code data includes a function code identifier and activation function code information;

[0006] Determining a corresponding target function program stored in the target device according to the function code identifier;

[0007] Modifying the function information of the target function program according to the activation function code information, so that the target device activates the function program corresponding to the function code data.

[0008] The second aspect of the embodiments of this application provides a system for activating the functions of target devices, including: a control terminal and a target device; the control terminal is communicatively connected to the target device;

[0009] The control terminal transmits function code data to the target device; the function code data includes a function code identifier and activation function code information;

[0010] The target device determines a corresponding target function program stored in the target device according to the function code identifier;

[0011] The target device modifies the function information of the target function program according to the activation function code information to activate the target function program.

[0012] The third aspect of the embodiments of this application provides a device for activating the functions of target devices, including:

[0013] A function code data receiving module, configured to receive function code data transmitted by a control terminal; the function code data includes a function code identifier and activation function code information;

[0014] A target function program determining module, configured to determine a corresponding target function program stored in a target device according to the function code identifier;

[0015] A target function program modifying module, configured to modify function information of the target function program according to the activation function code information, so that the target device activates the function program corresponding to the function code data.

[0016] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the system steps described above are implemented.

[0017] A fifth aspect of an embodiment of the present application provides a computer device, including a storage, a processor, and a computer program stored in the storage and executable by the processor. When the processor executes the computer program, the system steps described above are implemented.

[0018] Compared with the related art, when the target device receives the function code data transmitted by the control terminal, the present application can enable the target device to determine the target function program stored in the target device according to the function code identifier of the function code data, and then modify the target function program according to the activation function code information to activate the function program corresponding to the function code data, so that the user can change the activation state of the function of the target device after it is sold, which can improve the usage flexibility of the target device.

[0019] In order to understand the present application more clearly, the specific implementation manners of the present application will be described below in conjunction with the accompanying drawings. Description of the Drawings

[0020] Figure 1 It is a flowchart of a target device function activation method according to an embodiment of the present application.

[0021] Figure 2 It is a connection schematic diagram of a target device function activation system according to an embodiment of the present application.

[0022] Figure 3 It is a module connection schematic diagram of a target device function activation device according to an embodiment of the present application.

[0023] 10. Target device function activation system; 11. Control terminal; 12. Target device; 100. Target device function activation device; 101. Function code data receiving module; 102. Target function program determining module; 103. Target function program modifying module. Detailed implementation manners

[0024] To make the objectives, technical solutions and advantages of the present application clearer, the following will further describe in detail the embodiments of the present application with reference to the accompanying drawings.

[0025] It should be clear that the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts belong to the scope of protection of the embodiments of the present application.

[0026] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific circumstances. The singular forms of "a", "the" and "said" used in the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The word "if" / "when" used herein can be interpreted as "when...", "when...", or "in response to a determination".

[0027] In addition, in the description of the present application, unless otherwise specified, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0028] Please refer to Figure 1 , which is a flowchart of the method for activating the functions of the target device in the first embodiment of the present application. The method for activating the functions of the target device in the first embodiment of the present application is applied to the target device; wherein, the target device is communicatively connected to the control terminal, and the control terminal is used to control the target device. The control terminal is an electronic interaction device with at least one communication function such as network communication and Bluetooth communication, such as a smart phone, a tablet computer, a computer, a smart watch, etc. The target device is an electronic device with at least one communication function such as wireless network communication and Bluetooth communication. For example, it can be an electronic clothes dryer, a smart lock and other electronic devices. Among them, the wireless network communication and Bluetooth communication of the target device can be implemented through a Combo module, and the Combo module is a communication module integrating two wireless communication chips of Wi-Fi and Bluetooth.

[0029] The method for activating the target device function in the first embodiment of this application includes:

[0030] S1: Receive the function code data transmitted by the control terminal; the function code data includes a function code identifier and activation function code information.

[0031] The function code data is a data packet including a function code identifier and activation function code information, and the format of the function code data is: synchronization header (1 byte) | message length (1 byte) | device type (1 byte) | message type identifier (1 byte) | message body (N bytes) | message check code (1 byte).

[0032] Among them, the synchronization header is the function code identifier: it can be represented in computer - common number systems such as binary or hexadecimal. For example, 0xAA indicates that this is a function - setting data packet, which is used to indicate the function program corresponding to the function code data. Specifically, the function program corresponding to 0x01 is the lighting function program, the function program corresponding to 0x02 is the temperature function program, the function program corresponding to 0x03 is the fan function program, etc.; the message length: an 8 - bit unsigned integer, whose value is the number of bytes from the message length byte to the message check code byte, that is, the message length = N + 5, where N is the number of bytes of the message body; the device type: the device type is defaulted to one and can be changed. Different device types are used to represent different target devices; the message type identifier: includes a request message type and a response message type; the message body is the activation function code information: it carries the function code information of the activation status of the control function program, which is used to change the information of the function program of the target device to change the activation status of the function program. For example, 0 indicates that the function program is set to the unactivated state, and 1 indicates that the function program is set to the activated state; the message check code: checks the data legality and filters illegal data.

[0033] In this embodiment, the communication protocols supported by the Combo module of the target device include, but are not limited to, the I2C communication protocol, the SPI communication protocol, and the UART communication protocol. When the Combo module of the target device receives the function code data transmitted by the control terminal, the Combo module of the target device will perform unpacking processing and data verification processing on the function code data, and then transmit the function code identifier and activation function code information that pass through the unpacking processing and data verification processing to the MCU of the target device.

[0034] S2: Determine the corresponding target function program stored in the target device according to the function code identifier.

[0035] Among them, each functional program in the target device corresponds to a unique function code identifier. Therefore, after the MCU of the target device receives the function code identifier, it can determine the corresponding target functional program according to the function code identifier. Among them, since the function code identifier can be represented in computer-common number systems such as binary or hexadecimal, it is convenient for the Combo module and the MCU of the target device to process and identify, and can also effectively reduce the data volume occupied by the function code identifier, improving the transmission and processing efficiency of the function code identifier.

[0036] S3: Modify the function information of the target functional program according to the activation function code information, so that the target device activates the functional program corresponding to the function code data.

[0037] Among them, the activation status of the functional program of the target device is determined by the corresponding function information. For example, when the function information is 0, the corresponding functional program is in an unactivated state; when the function information is 1, the corresponding functional program is in an activated state. When the MCU of the target device receives the activation function code information, it will replace the original function information of the target functional program according to the activation function code information to activate the target functional program, so that the MCU of the target device can call the target functional program in the activated state according to the control instruction.

[0038] Specifically, in this application, the control terminal runs the target device interaction software. After the target device receives the instruction data transmitted by the target device interaction software through the communication function of the control terminal, it executes the functional program in the activated state or changes the activation status of the functional program.

[0039] Compared with the related art, when the target device receives the function code data transmitted by the control terminal in this application, the target device can determine the target functional program stored in the target device according to the function code identifier of the function code data, and then modify the target functional program according to the activation function code information to activate the functional program corresponding to the function code data, enabling the user to change the activation status of the functions of the target device after it is sold, which can improve the usage flexibility of the target device.

[0040] In a feasible embodiment, the function code data further includes a message check code; after the step of S1: receiving the function code data transmitted by the control terminal, it includes:

[0041] S11: Verify the message check code.

[0042] Among them, the target device can unpack and perform data verification processing on the function code data through the Combo module to verify the message check code in the function code data.

[0043] S12: If the message check code is successfully verified, determine the corresponding target function program stored in the target device according to the function code identifier.

[0044] After the message check code is successfully verified, the Combo module of the target device transmits the function code identifier and activation function code information to the MCU of the target device, enabling the MCU of the target device to determine the corresponding target function program according to the function code identifier.

[0045] S13: If the message check code verification fails, return a notification of abnormal function code data to the control terminal.

[0046] After the message check code is verified, the Combo module of the target device will return a notification of abnormal function code data to the control terminal to inform the user holding the control terminal of the result that the target function program cannot be activated due to abnormal function code data.

[0047] In this embodiment, when the message check code verification fails, the user can be notified in a timely manner so that the user can quickly understand the reason and result why the target function program cannot be activated.

[0048] In a feasible embodiment, the step S3: Modify the function information of the target function program according to the activation function code information includes:

[0049] If the modification of the function information of the target function program fails, return a notification of failed function code modification to the control terminal.

[0050] Among them, when the MCU of the target device fails to modify the function information of the target function program, the MCU of the target device will return a notification of failed function code modification to the control terminal to inform the user holding the control terminal of the result that the activation of the target function program fails.

[0051] In this embodiment, when the activation of the target function program fails, the user can be notified in a timely manner so that the user can quickly understand the result that the target function program cannot be activated.

[0052] In a feasible embodiment, the step of receiving the function code data transmitted by the control terminal includes:

[0053] S101: Receive the function code data transmitted by the control terminal and issued by the cloud server corresponding to the target device information and target device component information.

[0054] Among them, the target device information includes the target device model; the target device component information includes the component models of the newly added target device components. The newly added target device components refer to component devices that are purchased separately from the target device and can be used in combination with the target device to improve the convenience or efficiency of drying clothes, such as the lighting component, heating component, and fan component of an electric clothes dryer, the sensor component of an electric curtain, and the disinfection component of a floor sweeping robot.

[0055] The cloud server stores the corresponding relationships among the target device information, the target device component information, and the function code data. The cloud server can, based on the target device information and the target device component information uploaded by the control terminal, find the corresponding function code data and send it to the control terminal, enabling the control terminal to obtain the correct function code data and transmit it to the target device.

[0056] In this embodiment, according to the function code data sent by the cloud server, the control terminal can obtain the correct function code data.

[0057] In a feasible embodiment, the cloud server is obtained through the following steps, including:

[0058] The cloud server receives the target device information and the target device component information uploaded by the control terminal.

[0059] If the target device information is the target device model and the target device component information is the component model, the cloud server obtains the function code data corresponding to the target device model and the component model according to the preset corresponding relationship among the target device model, the component model, and the function code.

[0060] In this embodiment, a cloud server can send the corresponding function code data to each control terminal respectively according to the target device models and component models uploaded by multiple control terminals, without each control terminal storing the corresponding relationship among the target device model, the component model, and the function code, which can save the storage space of each control terminal.

[0061] In a feasible embodiment, the cloud server is obtained through the following steps, including:

[0062] The cloud server receives the target device information and the target device component information uploaded by the control terminal.

[0063] If the target device information is the target device picture and the target device component information is the component picture, the cloud server identifies the target device picture and the component picture according to the pre-trained picture recognition model, and obtains the target device model corresponding to the target device picture and the component model corresponding to the component picture.

[0064] Among them, the image recognition model can recognize the target device image and the component image to obtain the target device model and the component model. The image recognition model can be obtained by training a deep learning model with a first image training sample marked with the target device model and a second image training sample marked with the component model.

[0065] The cloud server obtains the function code data corresponding to the target device model and the component model according to the preset correspondence between the target device model, the component model, and the function code.

[0066] In this embodiment, the cloud server can recognize the target device image and the component image through the image recognition model to obtain the target device model and the component model, so as to combine the preset correspondence between the target device model, the component model, and the function code to obtain the corresponding function code data, which can avoid obtaining incorrect function code data due to input operation errors and improve the accuracy and convenience of obtaining function code data.

[0067] Please refer to Figure 2 , the second embodiment of the present application provides a target device function activation system 10, including: a control terminal 11 and a target device 12; the control terminal 11 is communicatively connected to the target device 12;

[0068] The control terminal 11 transmits function code data to the target device 12; the function code data includes a function code identifier and activation function code information;

[0069] The target device 12 determines a corresponding target function program stored in the target device according to the function code identifier;

[0070] The target device 12 modifies the function information of the target function program according to the activation function code information to activate the target function program.

[0071] It should be noted that the target device function activation system 10 provided in the second embodiment of the present application and the target device function activation method of the first embodiment of the present application belong to the same concept. The implementation process is detailed in the first embodiment and will not be repeated here.

[0072] Please refer to Figure 3 , the third embodiment of the present application provides a target device function activation device 100, including:

[0073] A function code data receiving module 101, configured to receive function code data transmitted by a control terminal; the function code data includes a function code identifier and activation function code information;

[0074] A target function program determining module 102, configured to determine a corresponding target function program stored in a target device according to the function code identifier;

[0075] The target function program modification module 103 is configured to modify the function information of the target function program according to the activation function code information, so that the target device activates the function program corresponding to the function code data.

[0076] It should be noted that the target device function activation device 100 provided in the third embodiment of the present application and the target device function activation method in the first embodiment of the present application belong to the same concept. The implementation process is detailed in the first embodiment and will not be elaborated here.

[0077] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the target device function activation method described above are implemented.

[0078] The fifth aspect of the embodiments of the present application provides a computer device, including a storage, a processor, and a computer program stored in the storage and executable by the processor. When the processor executes the computer program, the steps of the target device function activation method described above are implemented.

[0079] The device embodiments described above are merely illustrative. The components described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present application. Those of ordinary skill in the art can understand and implement it without creative efforts.

[0080] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0081] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices produce means for implementing the selected functions in the process Figure 1 one process or multiple processes and / or blocks Figure 1 These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means that implement the selected functions in the process Figure 1 one process or multiple processes and / or blocks Figure 1 in one block or multiple blocks.

[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the selected functions in the process Figure 1 one process or multiple processes and / or blocks Figure 1 in one block or multiple blocks.

[0083] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0084] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash RAM. The memory is an example of computer-readable media.

[0085] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0086] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0087] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for activating a function of a target device, characterized in that: include: Receive function code data transmitted by the control terminal; The function code data includes a function code identifier and activation function code information; According to the function code identifier, determining a corresponding target function program stored in a target device; The function information of the target function program is modified according to the activation function code information, so that the target device activates the function program corresponding to the function code data.

2. The method for activating a target device function according to claim 1, characterized in that: The function code data also includes a message check code; after the step of receiving the function code data transmitted by the control terminal, the method includes: Verifying the message check code; If the message check code is successfully verified, the corresponding target function program is determined according to the function code identifier; If the message check code verification fails, a function code data exception notification is returned to the control terminal.

3. The method for activating a target device function according to claim 1, characterized in that: The step of modifying the function information of the target function program according to the activation function code information comprises: If the modification of the function information of the target function program fails, a function code modification failure notification is returned to the control terminal.

4. The method for activating a target device function according to claim 1, characterized in that: The step of receiving function code data transmitted by the control terminal comprises: Receive the function code data transmitted by the control terminal and issued by the cloud server corresponding to the target device information and the target device component information.

5. The method for activating a target device function according to claim 4, characterized in that: The cloud server is obtained by the following steps, including: The cloud server receives the target device information and target device component information uploaded by the control terminal; If the target device information is the target device model, and the target device component information is the component model, the cloud server obtains the function code data corresponding to the target device model and the component model according to a preset correspondence between the target device model, component model and function code.

6. The method for activating a target device function according to claim 4, characterized in that: The cloud server is obtained by the following steps, including: The cloud server receives the target device information and target device component information uploaded by the control terminal; If the target device information is a target device picture, and the target device component information is a component picture, the cloud server identifies the target device picture and the component picture according to a pre-trained picture recognition model, and obtains the target device model corresponding to the target device picture and the component model corresponding to the component picture; The cloud server obtains the function code data corresponding to the target device model and the component model according to a preset correspondence between the target device model, the component model and the function code.

7. A target device function activation system, characterized in that: include: Control terminals and target devices; The control terminal is in communication connection with the target device; The control terminal transmits function code data to the target device; The function code data includes a function code identifier and activation function code information; The target device determines the corresponding target function program stored in the target device according to the function code identifier; The target device modifies the function information of the target function program according to the activation function code information to activate the target function program.

8. A device for activating a function of a target device, characterized in that: include: A function code data receiving module is used to receive function code data transmitted by a control terminal; The function code data includes a function code identifier and activation function code information; A target function program determination module, used to determine the corresponding target function program stored in the target device according to the function code identifier; The target function program modification module is used to modify the function information of the target function program according to the activation function code information, so that the target device activates the function program corresponding to the function code data.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the target device function activation method according to any one of claims 1 to 6 are implemented.

10. A computer device, characterized in that: The method comprises a storage device, a processor, and a computer program stored in the storage device and executable by the processor, wherein the processor implements the steps of the target device function activation method according to any one of claims 1 to 6 when executing the computer program.