Control method of electronic product, server and ordering system
By combining dynamic and static keys to unlock functions, users can purchase only the functions they need, solving the problem of high prices and numerous but rarely used functions in traditional electronic products, thus improving the user's purchasing experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2023-12-20
- Publication Date
- 2026-06-19
AI Technical Summary
Traditional electronic products are expensive and have many functions that are not frequently used, resulting in a poor user experience.
Functionality is unlocked by combining dynamic and static keys. Users only purchase the functions they need, and the functions are unlocked by combining dynamic and static passwords.
It lowered the price of electronic products, improved the user buying experience, and solved the problem of poor user experience caused by electronic products having many functions that users do not use often.
Smart Images

Figure CN117726409B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic product control technology, and more specifically, to a control method for electronic products, a server, a computer-readable storage medium, and an order placement system. Background Technology
[0002] Traditional hardware products require a one-time payment for lifetime use, resulting in excessively high prices and low purchase intentions among users with low usage frequency. Most features are never used in daily life, leading to unnecessary spending and a diminished user experience.
[0003] This means that in the existing solutions, many of the functions that users buy in electronic products are not used, resulting in a poor user experience. Summary of the Invention
[0004] The main objective of this application is to provide a control method, server, computer-readable storage medium, and ordering system for electronic products, so as to at least solve the problem that in existing solutions, many of the functions of electronic products purchased by users are not used, resulting in a poor user experience.
[0005] To achieve the above objectives, according to one aspect of this application, a control method for an electronic product is provided. This method is applied to a server in an order placement system, the order placement system further including an electronic product and a controller. The controller, the electronic product, and the server communicate with each other. The method includes: upon receiving a first order, generating a first dynamic key, sending the first dynamic key to the controller, and storing the first dynamic key in a database; the first order representing a user purchasing a first target function of the electronic product; receiving first key information sent by the controller via the electronic product, wherein the first key information is information sent by the controller via the electronic product in response to a received first preset operation, the first preset operation representing a user inputting the first dynamic key to the controller; determining whether the first key information is valid, and if the received first key information is valid, encrypting at least a target static key, the first dynamic key, and the first target function to obtain first encrypted data, and sending the first encrypted data to the controller; upon receiving a first function support instruction sent by the controller via the electronic product, decrypting the first target function of the electronic product, and sending a generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked.
[0006] Optionally, determining whether the first key information is valid includes: if the first key information exists in the database, determining that the first key information is valid; if the first key information does not exist in the database, determining that the first key information is invalid, and generating invalid information and sending it to the controller to indicate that the first key information was entered incorrectly.
[0007] Optionally, at least the target static key, the first dynamic key, and the first target function are encrypted to obtain first encrypted data, including: encrypting the target static key, the first dynamic key, the first target function, and a first valid time to obtain the first encrypted data, wherein the first valid time is the valid usage time of the first target function.
[0008] Optionally, after sending the first encrypted data to the controller, the method further includes: upon receiving a function not supported instruction sent by the controller via the electronic product, generating an error message to the controller to control the controller to prompt that the controller version currently does not support the first target function and that the controller version needs to be updated.
[0009] Optionally, in the process of encrypting at least the target static key, the first dynamic key, and the first target function to obtain the first encrypted data, the method further includes: superimposing the target static key and the first dynamic key to obtain a final key, wherein the final key is a key arranged in the order of the target static key and the first dynamic key.
[0010] Optionally, before encrypting at least the target static key, the first dynamic key, and the first target function to obtain the first encrypted data, the method further includes: determining a static key corresponding to the user's number based on the user's number and the static key mapping relationship, wherein the static key mapping relationship is a mapping relationship between the static key and the user's number; and determining the target static key as the static key corresponding to the user's number.
[0011] Optionally, after sending the generated first unlock success instruction to the controller, the method further includes: upon receiving a second order, generating a second dynamic key, sending the second dynamic key to the controller, and storing the second dynamic key in a database, wherein the second order represents the user purchasing a second target function of the electronic product; receiving second key information sent by the controller via the electronic product, wherein the second key information is information sent by the controller via the electronic product in response to a received second preset operation, wherein the second preset operation represents the user inputting the second dynamic key to the controller; determining whether the second key information is valid, and if it is determined that the received second key information is valid, encrypting at least the target static key, the second dynamic key, and the second target function to obtain second encrypted data, and sending the second encrypted data to the controller; upon receiving a second function support instruction sent by the controller via the electronic product, decrypting the second target function of the electronic product, and sending the generated second unlock success instruction to the controller to indicate that the second target function of the electronic product has been unlocked.
[0012] According to another aspect of this application, a server is provided, the server comprising:
[0013] The first generation unit is configured to generate a first dynamic key upon receiving a first order, send the first dynamic key to the controller, and store the first dynamic key in the database. The first order represents the first target function of the electronic product purchased by the user.
[0014] The first receiving unit is configured to receive first key information sent by the controller via the electronic product, wherein the first key information is information sent by the controller via the electronic product in response to a received first preset operation, and the first preset operation represents the user inputting the first dynamic key to the controller;
[0015] The first determining unit is configured to determine whether the first key information is valid, and if it is determined that the first key information is valid, to encrypt at least the target static key, the first dynamic key and the first target function to obtain first encrypted data, and to send the first encrypted data to the controller.
[0016] The first processing unit is configured to, upon receiving a first function support instruction sent by the controller via the electronic product, unlock the first target function of the electronic product and send the generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked.
[0017] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform any of the control methods of the electronic product described above.
[0018] According to another aspect of this application, an order placement system is provided, the system comprising: a server, an electronic product, and a controller, wherein the controller, the electronic product, and the server communicate with each other, and the server is used to execute any of the control methods of the electronic product described herein.
[0019] By applying the technical solution of this application, the functions of electronic products purchased by users are unlocked by combining dynamic passwords and static passwords. This allows users to purchase only the functions they need, reducing the price of electronic products. It also solves the problem in existing solutions where users purchase electronic products with many functions that they do not use, resulting in a poor user experience. Attached Figure Description
[0020] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0021] Figure 1 A flowchart illustrating a control method for an electronic product according to an embodiment of this application is shown.
[0022] Figure 2 A flowchart illustrating another control method for an electronic product according to an embodiment of this application is shown.
[0023] Figure 3 A structural block diagram of a server provided according to an embodiment of this application is shown. Detailed Implementation
[0024] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] As described in the background section, traditional hardware products require only a one-time payment for lifetime use, resulting in excessively high prices and low purchase intentions among users with low usage frequency. Most functions are never used by users in daily life, leading to increased unnecessary consumption and a lower user experience. To address the problem of existing solutions where users purchase electronic products with many unused functions, resulting in a poor user experience, embodiments of this application provide a control method for electronic products, a server, a computer-readable storage medium, and an ordering system.
[0028] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0029] This embodiment provides a control method for an electronic product. The method is applied to a server in an order system. The order system also includes an electronic product and a controller. The controller, the electronic product, and the server communicate with each other. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0030] Figure 1 This is a schematic flowchart illustrating a control method for an electronic product according to an embodiment of this application. Figure 1 As shown, the method includes the following steps:
[0031] Step S101: Upon receiving the first order, a first dynamic key is generated, and the first dynamic key is sent to the controller and stored in the database. The first order represents the first target function of the electronic product purchased by the user.
[0032] Specifically, when the server receives the first order, it generates a first dynamic key and sends the first dynamic key to the controller so that the user operating the controller is aware of the first dynamic key. The server stores the first dynamic key in the database to facilitate subsequent judgment on whether the key entered by the user is consistent with the first dynamic key, and to prevent the corresponding function from being unlocked due to user input errors. Electronic products are products purchased by users, such as air conditioners.
[0033] Step S102: Receive the first key information sent by the controller via the electronic product, wherein the first key information is information sent by the controller via the electronic product in response to a received first preset operation, and the first preset operation represents the user inputting the first dynamic key to the controller.
[0034] Specifically, the user enters a key (i.e., the first key information) on the controller. The controller sends the key entered by the user to the electronic product, and the electronic product then sends the key entered by the user to the server. The server receives the first key information sent by the controller via the electronic product and needs to determine whether the first key information is the same as the first dynamic key in order to determine whether the user has entered the correct dynamic key.
[0035] Step S103: Determine whether the first key information is valid, and if it is determined that the first key information is valid, encrypt at least the target static key, the first dynamic key and the first target function to obtain first encrypted data, and send the first encrypted data to the controller.
[0036] Specifically, if the first key information is the same as the first dynamic key, then the first key information is determined to be valid; otherwise, it is invalid. If the received first key information is determined to be valid, at least the target static key, the first dynamic key, and the first target function are encrypted to obtain the first encrypted data. During the encryption process, the static key and the first dynamic key are superimposed to form a new key. For example, if the static key is AAA and the first dynamic key is BBB, then the new key is AAABBB, which makes the process secure. The first target function is one of all functions of the electronic product.
[0037] The determination of whether the first key information is valid in step S103 includes: if the first key information exists in the database, determining that the first key information is valid; if the first key information does not exist in the database, determining that the first key information is invalid, and generating invalid information and sending it to the controller to indicate that the first key information was entered incorrectly.
[0038] Specifically, when a user enters an incorrect key, an invalid message needs to be generated to prompt the user that an incorrect key has been entered.
[0039] Step S103 involves encrypting at least the target static key, the first dynamic key, and the first target function to obtain first encrypted data. This includes encrypting the target static key, the first dynamic key, the first target function, and a first valid time to obtain the first encrypted data. The first valid time is the valid usage time of the first target function.
[0040] Specifically, the effective time is used to let users know how long they can use the first target function. For example, if the static key is AAA and the first dynamic key is BBB, then the final key is AAABBB. When the user enters the final key into the controller, the controller can detect whether the controller has the control logic to control the electronic product to achieve the first target function, which improves the security of the operation process.
[0041] In one embodiment of this application, after sending the first encrypted data to the controller, the method further includes: upon receiving a function not supported instruction sent by the controller via the electronic product, generating an error message to the controller to control the controller to prompt that the version of the controller currently does not support the first target function and that the version of the controller needs to be updated.
[0042] Specifically, by generating an error message and sending it to the controller, the controller's display screen will show a message stating that the current version of the controller does not support the first target function and that the controller version needs to be updated.
[0043] During the execution of step S103, that is, during the process of encrypting at least the target static key, the first dynamic key and the first target function to obtain the first encrypted data, the method further includes: superimposing the target static key and the first dynamic key to obtain a final key, wherein the final key is a key arranged in the order of the target static key and the first dynamic key.
[0044] Specifically, for example, if the static key is AAA and the first dynamic key is BBB, then the final key is AAABBB. The first target function is encrypted using the final key to obtain the aforementioned first encrypted data. Only when the user successfully enters the final key can the controller detect whether the controller has the control logic to control the electronic product to achieve the first target function. When the user enters the final key into the controller, the controller can detect whether the controller has the control logic to control the electronic product to achieve the first target function, thus improving the security of the operation process.
[0045] Before step S103, that is, before encrypting at least the target static key, the first dynamic key and the first target function to obtain the first encrypted data, the method further includes: determining the static key corresponding to the user's number based on the user's number and the static key mapping relationship, wherein the static key mapping relationship is the mapping relationship between the static key and the user's number; and determining the target static key as the static key corresponding to the user's number.
[0046] Specifically, by setting a static key for each user, the system prevents users from sharing the same static key, thereby improving the security of users' use of electronic products.
[0047] Step S104: Upon receiving the first function support instruction sent by the controller via the electronic product, unlock the first target function of the electronic product and send the generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked.
[0048] Specifically, when the controller receives the first encrypted data, it needs to verify whether the controller has control logic to control the electronic product to achieve the first target function. If such logic exists, the controller sends the first function support instruction to the electronic product, which then sends it to the server. Upon receiving the first function support instruction, the server controls the electronic product to unlock the first target function. To remind the user that the device has been unlocked, the controller sends the generated first unlock success instruction to the controller.
[0049] In the above steps, the functions of the electronic products purchased by the user are unlocked by combining dynamic and static passwords. This allows users to purchase only the functions they need, reducing the price of electronic products. This solves the problem in existing solutions where users purchase electronic products with many functions that they do not use, resulting in a poor user experience.
[0050] In addition, it can solve the problems of hardware upgrades requiring disassembly and reinstallation, which are cumbersome; it can also address the issue of low purchase intention among low-frequency users; and it can resolve the issue of improper use of hardware after it has been sold. Users can unlock hardware functions on demand without reinstallation. Hardware with verification functions prevents users from modifying it themselves, ensuring standardized use and reducing the manufacturer's production costs.
[0051] Considering the significant challenge of developing all hardware functions of electronic products in a modular fashion while also supporting dynamic activation, it's advisable to encrypt only critical functions, leaving others open. Alternatively, for cost reasons, some electronic products could adopt a simpler countdown activation method, where activation grants temporary access before locking the device after the countdown ends.
[0052] Following S104, i.e., after sending the generated first unlock success command to the controller, the method further includes: upon receiving a second order, generating a second dynamic key, sending the second dynamic key to the controller, and storing the second dynamic key in a database, wherein the second order represents the user purchasing a second target function of the electronic product; receiving second key information sent by the controller via the electronic product, wherein the second key information is information sent by the controller via the electronic product in response to a received second preset operation, wherein the second preset operation represents the user inputting the second dynamic key to the controller; determining whether the second key information is valid, and if it is determined that the received second key information is valid, encrypting at least the target static key, the second dynamic key, and the second target function to obtain second encrypted data, and sending the second encrypted data to the controller; upon receiving a second function support command sent by the controller via the electronic product, decrypting the second target function of the electronic product, and sending the generated second unlock success command to the controller to indicate that the second target function of the electronic product has been unlocked.
[0053] Specifically, the process for the second order is based on the same principle as the first order process, and will not be elaborated further here. At least the aforementioned target static key, the aforementioned second dynamic key, and the aforementioned second target function are encrypted to obtain the second encrypted data. Furthermore, the second validity period, the aforementioned target static key, the aforementioned second dynamic key, and the aforementioned second target function can also be encrypted to obtain the aforementioned second encrypted data. The second validity period is the time during which the user can effectively use the second target function.
[0054] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the control method for electronic products of this application will be described in detail below with reference to specific embodiments.
[0055] This embodiment relates to a specific control method for an electronic product. This method is applied to a server in an order placement system. The order placement system also includes electronic products and a controller. The controller, electronic products, and server communicate with each other, such as... Figure 2 As shown, it includes the following steps:
[0056] Step S1: Upon receiving the first order, the server generates a first dynamic key, sends the first dynamic key to the controller, and stores the first dynamic key in the database. The first order represents the user's first target function for purchasing electronic products.
[0057] Step S2: The server receives the first key information sent by the controller via the electronic product, wherein the first key information is the information sent by the controller via the electronic product in response to the received first preset operation, and the first preset operation represents the user inputting the first dynamic key to the controller;
[0058] Step S3: If the first key information exists in the database, the server determines that the first key information is valid. The server encrypts the target static key, the first dynamic key, the first target function, and the first validity period to obtain the first encrypted data. The first validity period is the valid usage time of the first target function. If the first key information does not exist in the database, the server determines that the first key information is invalid and generates invalid information to send to the controller to indicate that the first key information was entered incorrectly.
[0059] Step S4: Upon receiving a function not supported instruction sent by the controller via electronic product, generate an error message to the controller to prompt that the controller version currently does not support the first target function and that the controller version needs to be updated.
[0060] Step S5: Upon receiving the first function support instruction sent by the controller via the electronic product, unlock the first target function of the electronic product and send the generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked.
[0061] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0062] This application also provides a server. It should be noted that the server in this application can be used to execute the control method for electronic products provided in this application. The server is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the server described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0063] The server provided in the embodiments of this application will be described below.
[0064] Figure 3 This is a structural block diagram of a server provided according to an embodiment of this application. For example... Figure 3 As shown, the device includes:
[0065] The first generation unit 31 is used to generate a first dynamic key upon receiving a first order, send the first dynamic key to the controller, and store the first dynamic key in the database. The first order represents the first target function of the user's purchase of electronic products.
[0066] The first receiving unit 32 is configured to receive first key information sent by the controller via the electronic product, wherein the first key information is information sent by the controller via the electronic product in response to a received first preset operation, and the first preset operation represents the user inputting the first dynamic key to the controller.
[0067] The first determining unit 33 is used to determine whether the first key information is valid, and if it is determined that the first key information is valid, to encrypt at least the target static key, the first dynamic key and the first target function to obtain first encrypted data, and to send the first encrypted data to the controller.
[0068] The first processing unit 34 is configured to, upon receiving a first function support instruction sent by the controller via the electronic product, unlock the first target function of the electronic product and send the generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked.
[0069] In the aforementioned server, the functions of the electronic products purchased by the user are unlocked by combining dynamic and static passwords. This allows users to purchase only the functions they need, reducing the price of electronic products. This solves the problem in existing solutions where users purchase electronic products with many functions that they do not use, resulting in a poor user experience.
[0070] In one embodiment of this application, the first determining unit includes a first determining module and a second determining module. The first determining module is used to determine that the first key information is valid if the first key information exists in the database. The second determining module is used to determine that the first key information is invalid if the first key information does not exist in the database, and to generate invalid information and send it to the controller to indicate that the first key information was entered incorrectly.
[0071] In one embodiment of this application, the first determining unit includes a first processing module, which is used to encrypt the target static key, the first dynamic key, the first target function, and the first valid time to obtain the first encrypted data, wherein the first valid time is the valid usage time of the first target function.
[0072] In one embodiment of this application, the server further includes a second generation unit. After sending the first encrypted data to the controller, the second generation unit is used to generate an error message to the controller when it receives a function not supported instruction sent by the controller via the electronic product, so as to control the controller to prompt that the version of the controller does not currently support the first target function and that the version of the controller needs to be updated.
[0073] In one embodiment of this application, the first determining unit includes a second processing module. In the process of encrypting at least the target static key, the first dynamic key and the first target function to obtain the first encrypted data, the second processing module is used to superimpose the target static key and the first dynamic key to obtain a final key. The final key is a key arranged in the order of the target static key and the first dynamic key.
[0074] In one embodiment of this application, the server further includes a third determining module and a fourth determining module. Before encrypting at least the target static key, the first dynamic key, and the first target function to obtain the first encrypted data, the third determining module is used to determine the static key corresponding to the user's number based on the user's number and the static key mapping relationship, wherein the static key mapping relationship is the mapping relationship between the static key and the user's number; the fourth determining module is used to determine that the target static key is the static key corresponding to the user's number.
[0075] In one embodiment of this application, the server further includes a third generation unit, a second receiving unit, a second determining unit, and a second processing unit. After sending the generated first unlock success instruction to the controller, the third generation unit is used to generate a second dynamic key upon receiving a second order, send the second dynamic key to the controller, and store the second dynamic key in a database. The second order represents the second target function of the electronic product purchased by the user. The second receiving unit is used to receive second key information sent by the controller via the electronic product, wherein the second key information is information sent by the controller via the electronic product in response to a received second preset operation. The second preset operation represents the user inputting the second dynamic key to the controller; the second determining unit is used to determine whether the second key information is valid, and if it is determined that the received second key information is valid, it encrypts at least the target static key, the second dynamic key, and the second target function to obtain second encrypted data, and sends the second encrypted data to the controller; the second processing unit is used to decrypt the second target function of the electronic product when it receives the second function support instruction sent by the controller via the electronic product, and sends the generated second unlock success instruction to the controller to indicate that the second target function of the electronic product has been unlocked.
[0076] The aforementioned server includes a processor and a memory. The first generating unit, first receiving unit, first determining unit, and first processing unit are all stored as program units in the memory, and the processor executes the program units stored in the memory to achieve the corresponding functions. All of the above modules reside in the same processor; alternatively, the modules may be located in different processors in any combination.
[0077] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured. By adjusting kernel parameters, the problem of users purchasing electronic products with many unused functions, leading to a poor user experience, can be addressed.
[0078] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0079] This invention provides a computer-readable storage medium that includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the control method of the electronic product.
[0080] This invention provides a processor for running a program, wherein the program executes the control method of the electronic product during operation.
[0081] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps: upon receiving a first order, generating a first dynamic key, sending the first dynamic key to a controller, and storing the first dynamic key in a database; the first order representing a user's purchase of a first target function of an electronic product; receiving first key information sent by the controller via the electronic product, wherein the first key information is information sent by the controller via the electronic product in response to a received first preset operation, the first preset operation representing a user inputting the first dynamic key to the controller; determining whether the first key information is valid, and if the received first key information is valid, encrypting at least a target static key, the first dynamic key, and the first target function to obtain first encrypted data, and sending the first encrypted data to the controller; upon receiving a first function support instruction sent by the controller via the electronic product, decrypting the first target function of the electronic product, and sending a generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked. The device described herein can be a server, PC, PAD, mobile phone, etc.
[0082] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps: upon receiving a first order, generating a first dynamic key, sending the first dynamic key to the controller, and storing the first dynamic key in a database, wherein the first order represents a user purchasing a first target function of the electronic product; receiving first key information sent by the controller via the electronic product, wherein the first key information is information sent by the controller via the electronic product in response to a received first preset operation, wherein the first preset operation represents a user inputting the first dynamic key to the controller; determining whether the first key information is valid, and if it is determined that the received first key information is valid, encrypting at least a target static key, the first dynamic key, and the first target function to obtain first encrypted data, and sending the first encrypted data to the controller; upon receiving a first function support instruction sent by the controller via the electronic product, decrypting the first target function of the electronic product, and sending a generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked.
[0083] This application also provides an ordering system, comprising: a server, an electronic product, and a controller. The controller, the electronic product, and the server communicate with each other. The server executes any of the control methods described above for the electronic product. By unlocking functions of the electronic product purchased by the user, combined with dynamic and static passwords, users can purchase only the functions they need, thus reducing the price of the electronic product. This solves the problem in existing solutions where users purchase electronic products with many functions they don't use, resulting in a poor user experience.
[0084] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0085] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0086] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0087] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0088] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0089] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0090] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0091] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0092] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0093] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0094] 1) The electronic product control method of this application unlocks the functions of the electronic product purchased by the user by combining dynamic passwords and static passwords. This allows the user to purchase only the functions they need, reducing the price of the electronic product. This solves the problem in the existing solution that users purchase electronic products with many functions that they do not use, resulting in a poor user experience.
[0095] 2) The server in this application unlocks the functions of the electronic products purchased by the user by combining dynamic passwords and static passwords. This allows users to purchase only the functions they need, reducing the price of electronic products and solving the problem in existing solutions where users purchase electronic products with many functions that they do not use, resulting in a poor user experience.
[0096] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A control method for an electronic product, applied to a server in an order placement system, the order placement system further comprising an electronic product and a controller, wherein the controller, the electronic product, and the server communicate with each other, characterized in that, include: Upon receiving the first order, a first dynamic key is generated, sent to the controller, and stored in the database. The first order represents the user's first target function for purchasing the electronic product. The controller receives first key information sent via the electronic product, wherein the first key information is information sent via the electronic product by the controller in response to a received first preset operation, and the first preset operation represents the user inputting the first dynamic key to the controller; Determine whether the first key information is valid, and if it is determined that the first key information is valid, encrypt at least the target static key, the first dynamic key, and the first target function to obtain first encrypted data, and send the first encrypted data to the controller; Upon receiving a first function support instruction sent by the controller via the electronic product, the first target function of the electronic product is unlocked, and a first unlock success instruction is sent to the controller to indicate that the first target function of the electronic product has been unlocked.
2. The method according to claim 1, characterized in that, Determining whether the first key information is valid includes: If the first key information exists in the database, the first key information is determined to be valid; If the first key information does not exist in the database, the first key information is determined to be invalid, and an invalid information is generated and sent to the controller to indicate that the first key information was entered incorrectly.
3. The method according to claim 1, characterized in that, At least the target static key, the first dynamic key, and the first target function are encrypted to obtain first encrypted data, including: The target static key, the first dynamic key, the first target function, and the first valid time are encrypted to obtain the first encrypted data, and the first valid time is the valid usage time of the first target function.
4. The method according to claim 1, characterized in that, After sending the first encrypted data to the controller, the method further includes: Upon receiving a function not supported instruction sent by the controller via the electronic product, an error message is generated and sent to the controller to prompt that the controller version currently does not support the first target function and that the controller version needs to be updated.
5. The method according to claim 1, characterized in that, In the process of encrypting at least the target static key, the first dynamic key, and the first target function to obtain the first encrypted data, the method further includes: The target static key and the first dynamic key are superimposed to obtain the final key, which is a key arranged in the order of the target static key and the first dynamic key.
6. The method according to claim 1, characterized in that, Before encrypting at least the target static key, the first dynamic key, and the first target function to obtain the first encrypted data, the method further includes: Based on the user's ID and the static key mapping relationship, determine the static key corresponding to the user's ID, wherein the static key mapping relationship is the mapping relationship between the static key and the user's ID; The target static key is determined to be the static key corresponding to the user's ID.
7. The method according to any one of claims 1 to 6, characterized in that, After sending the generated first unlock success command to the controller, the method further includes: Upon receiving a second order, a second dynamic key is generated, sent to the controller, and stored in the database. The second order represents the second target function of the electronic product purchased by the user. The controller receives second key information sent via the electronic product, wherein the second key information is information sent via the electronic product by the controller in response to a received second preset operation, and the second preset operation represents the user inputting the second dynamic key to the controller; Determine whether the second key information is valid, and if it is determined that the received second key information is valid, encrypt at least the target static key, the second dynamic key, and the second target function to obtain second encrypted data, and send the second encrypted data to the controller; Upon receiving a second function support instruction sent by the controller via the electronic product, the second target function of the electronic product is unlocked, and a generated second unlock success instruction is sent to the controller to indicate that the second target function of the electronic product has been unlocked.
8. A server, characterized in that, include: The first generation unit is configured to generate a first dynamic key upon receiving a first order, send the first dynamic key to the controller, and store the first dynamic key in the database. The first order represents the first target function of the electronic product purchased by the user. The first receiving unit is configured to receive first key information sent by the controller via the electronic product, wherein the first key information is information sent by the controller via the electronic product in response to a received first preset operation, and the first preset operation represents the user inputting the first dynamic key to the controller; The first determining unit is configured to determine whether the first key information is valid, and if it is determined that the first key information is valid, to encrypt at least the target static key, the first dynamic key and the first target function to obtain first encrypted data, and to send the first encrypted data to the controller. The first processing unit is configured to, upon receiving a first function support instruction sent by the controller via the electronic product, unlock the first target function of the electronic product and send the generated first unlock success instruction to the controller to indicate that the first target function of the electronic product has been unlocked.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the control method of the electronic product according to any one of claims 1 to 7.
10. An order placement system, characterized in that, include: A server, an electronic product, and a controller, wherein the controller, the electronic product, and the server communicate with each other, and the server is used to execute the control method of the electronic product according to any one of claims 1 to 7.