Device function control method, device, system and storage medium
Obtain and verify verification codes through voice control devices, activate and control functional services of home smart devices, solve the problem of low convenience in using shared device functional services, and improve convenience and security.
Patent Information
- Application Number
- CN202110096197.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-25
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-01-25
AI Technical Summary
The existing shared form of home smart device functional services are less convenient to use. Especially for special groups such as the elderly and students, they need to manually control the remote control to purchase functional services, which reduces the convenience of use.
Obtain the voice verification code through the voice control device, verify its correctness and activate the device function service. When the voice verification code is valid, the function service of the voice control device is controlled according to the function. Segment verification and semantic analysis technology are used to improve the convenience and security of use. sex.
It realizes the functional service of using home smart devices more conveniently through voice control devices, improves the convenience of use, and improves the security of the device through the combined use of verification codes.
Smart Images

Figure CN112927687B
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to a method, system, device and storage medium for controlling the functions of a device. Background Art
[0002] With the development of intelligent technology, more and more devices are able to have additional functional services such as voice, video, news, music, etc. For example, home intelligent devices such as air conditioners and refrigerators have additional functional services such as voice, video, news, music, etc. At the same time, with the development of sharing services, more families are gradually starting to use shared home devices.
[0003] However, on existing shared devices, these functional services all require manual control of the remote control to purchase the corresponding functional services before use, which reduces the convenience of use for special groups such as the elderly and students in the family. Summary of the invention
[0004] In order to solve the problem of reduced convenience in using functional services on a shared device, the present invention proposes a device function control method, system, device and storage medium. The device function control method can achieve the technical effect of improving the convenience of use.
[0005] A method for controlling a function of a device, the method comprising:
[0006] Obtaining a voice verification code sent by a voice control device and verifying whether it is correct, wherein the voice verification code is obtained by purchasing a functional service of the device;
[0007] After the voice verification code is verified correctly, activating the functional service of the device according to the voice verification code;
[0008] When the function control voice sent by the voice control device is obtained, verifying whether the voice verification code corresponding to the voice control device is valid;
[0009] When the voice verification code is valid, the functional service of the device is controlled according to the functional control voice.
[0010] In one embodiment, obtaining the voice verification code sent by the voice control device and verifying whether it is correct includes:
[0011] Acquire the voice verification code segments sent by the voice control device in segments, wherein the voice verification code segments are obtained by segmenting the voice verification code according to an activation rule;
[0012] After each voice verification code segment is obtained and verified to be correct, the voice verification code segment is used as a timing time, and after the timing is completed, a prompt message is fed back to the voice control device and / or the device to obtain the next voice verification code segment, until all the voice verification code segments are obtained and verified;
[0013] When all the voice verification code segments are verified correctly, it is determined that the voice verification code is correct.
[0014] In one embodiment, when the voice verification code is valid, controlling the functional service of the device according to the functional control voice includes:
[0015] Converting the function control speech into text to obtain the function control speech text;
[0016] Performing semantic analysis on the function control voice text, and generating corresponding control instructions according to the semantic analysis result;
[0017] The control instruction is sent to the device to instruct the device to control the functional service.
[0018] In one embodiment, after the voice verification code is verified correctly, activating the functional service of the device according to the voice verification code includes:
[0019] Determining the device and the functional service bound to the voice verification code;
[0020] A corresponding activation instruction is generated according to the functional service and sent to the device to instruct the device to activate the functional service.
[0021] In one embodiment, when the function control voice sent by the voice control device is obtained, verifying whether the voice verification code corresponding to the voice control device is valid includes:
[0022] Obtaining the validity period of the voice verification code corresponding to the voice control device, where the validity period is equal to the purchase period of the functional service;
[0023] When it is determined according to the validity period that the voice verification code is currently within the validity period, determining that the voice verification code is valid;
[0024] When it is determined according to the valid time that the voice verification code is not currently within the valid period, the voice verification code is determined to be invalid.
[0025] In one embodiment, the method further comprises:
[0026] When the voice verification code is invalid, purchase prompt information is generated and fed back to the voice control device and / or the device.
[0027] A function control system for a device, the system comprising a voice control device, a voice server, a processing server and a device;
[0028] The voice control device is used to receive a voice verification code input by a user, wherein the voice verification code is obtained by purchasing a functional service of the device;
[0029] The voice server is used to obtain the voice verification code sent by the voice control device;
[0030] The processing server is used to receive the voice verification code sent by the voice server and verify whether it is correct; after the voice verification code is verified to be correct, activate the functional service of the device according to the voice verification code;
[0031] The voice control device is further used to receive function control voice input by a user;
[0032] The voice server is further used to obtain the function control voice sent by the voice control device;
[0033] The processing server is further used to receive the function control voice sent by the voice server, and when verifying that the voice verification code corresponding to the voice control device is valid, control the function service of the device according to the function control voice.
[0034] In one embodiment, the voice server is further used to obtain the voice verification code segments sent by the voice control device in segments, the voice verification code is composed of the voice verification code segments; convert the voice verification code into verification code segment text and send it to the processing server;
[0035] The processing server is also used to receive the verification code segment text sent by the voice server in segments. After each segment of the voice verification code segment text is obtained and verified to be correct, timing is performed using the voice verification code segment text as a timing time. After the timing is completed, a prompt message is fed back to the voice control device and / or the device once to obtain the next segment of the voice verification code segment text, until all the voice verification code segment texts are obtained and verified; when all the voice verification code segment texts are verified to be correct, it is determined that the voice verification code is correct.
[0036] In one of the embodiments, the system further comprises a semantic server;
[0037] The voice server is further configured to obtain the function control voice sent by the voice control device, and then convert the function control voice into text to obtain the function control voice text;
[0038] The processing server is further configured to receive the function control voice text sent by the voice server, and when verifying that the voice verification code corresponding to the voice control device is valid, send the function control voice text to the semantic server;
[0039] The semantic server is used to receive the function control voice text sent by the processing server, perform semantic analysis on the function control voice text and feed back the semantic analysis result;
[0040] The processing server is further used to receive the semantic analysis result, generate corresponding control instructions according to the semantic analysis result; and send the control instructions to the device to instruct the device to control the functional service.
[0041] In one embodiment, the voice control device includes a voice remote controller.
[0042] A function control device for a device, the device comprising:
[0043] A correct verification module, used to obtain a voice verification code sent by a voice control device and verify whether it is correct, wherein the voice verification code is obtained by purchasing a functional service of the device;
[0044] An activation module, configured to activate the functional service of the device according to the voice verification code after the voice verification code is verified correctly;
[0045] A valid verification module, used for verifying whether the voice verification code corresponding to the voice control device is valid when the function control voice sent by the voice control device is acquired;
[0046] The control module is used to control the functional service of the device according to the function control voice when the voice verification code is valid.
[0047] A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the function control method of the device described in any one of the above claims are implemented.
[0048] The function control method, system, device and storage medium of the above-mentioned device obtain the voice verification code sent by the voice control device and verify whether it is correct. The voice verification code is obtained by purchasing the function service of the device; after the voice verification code is verified correctly, the function service of the device is activated according to the voice verification code; when the function control voice sent by the voice control device is obtained, it is verified whether the voice verification code corresponding to the voice control device is valid; when the voice verification code is valid, the function service of the device is controlled according to the function control voice. This method realizes the control and use of the function services required to be purchased on the device through the voice control device, which can better adapt to different groups and improve the convenience of use. At the same time, the voice control device is used in combination with the verification code to further improve the safety of the use of shared devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 An application environment diagram of a function control method of a device in one embodiment;
[0050] Figure 2 A schematic diagram of a flow chart of a method for controlling a function of a device in one embodiment;
[0051] Figure 3 A flowchart of a function service step of controlling a voice control device according to a function when a voice verification code is valid in one embodiment;
[0052] Figure 4 A schematic diagram of a flow chart of a functional control system of a device in one embodiment;
[0053] Figure 5 A schematic diagram of the structure of a functional control system of a device in another embodiment;
[0054] Figure 6 is a structural block diagram of a functional control device of a device in one embodiment;
[0055] Figure 7 FIG. 4 is a diagram showing the internal structure of a processing server in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0057] The function control method of the device provided in this application can be applied to Figure 1In the application environment shown. Among them, the voice control device 102 communicates with the processing server 104 through the network, and the processing server 104 communicates with the device 106 through the network. The processing server 104 obtains the voice verification code sent by the voice control device 102 and verifies whether it is correct. The voice verification code is obtained by purchasing the functional service of the device 106; after the voice verification code is verified correctly, the processing server 104 activates the functional service of the device 106 according to the voice verification code; when the processing server 104 obtains the functional control voice sent by the voice control device 102, it verifies whether the voice verification code corresponding to the voice control device 102 is valid; when the voice verification code is valid, the processing server 104 controls the functional service of the voice control device 106 according to the function. Among them, the voice control device 102 can be but not limited to a voice remote control, various personal computers with remote control application software, laptops, smart phones and tablets, the processing server 104 can be implemented by an independent server or a server cluster composed of multiple servers, and the device 106 includes but is not limited to home smart devices such as air conditioners and refrigerators with additional functional services such as voice, video, news, music, etc., or other devices with additional functional services such as voice, video, news, music, etc.
[0058] In one embodiment, Figure 2 As shown, a method for controlling the function of a device is provided, and the method is applied to Figure 1 The processing server in the example is used to illustrate the process, including the following steps:
[0059] Step S202, obtaining a voice verification code sent by the voice control device and verifying whether it is correct, wherein the voice verification code is obtained by purchasing a functional service of the device.
[0060] The voice control device refers to a device that can be controlled by voice, such as a voice remote controller. The voice verification code is a verification code in voice form.
[0061] Specifically, before the user needs to control the functional services of the device, the functional services of the device need to be purchased and activated. The user can scan the information code on the device in advance through the voice control device or other terminals. The information code includes the information of the device and can be any of a QR code and a barcode. After scanning the information code of the device, enter the purchase page of the device and purchase the functional services of the device after logging in or registering an account. The purchase page includes the purchase duration and various functional services, such as music, news, video, etc. The user pays for the purchase by selecting and submitting. After the purchase is completed, the processing server returns the corresponding verification code to the device that scanned the information code. The verification code is bound to the user's account, the purchased device, and the purchased functional services. At the same time, the processing server returns the activation rules to prompt the user to activate the functional services on the purchased device according to the corresponding rules. Furthermore, after the user receives the verification code, the verification code in voice form is input through the voice control device, that is, the voice verification code is input on the voice control device, and the voice verification code is sent to the processing server through the voice control device.
[0062] After the processing server receives the voice verification sent by the user through the voice control device, it verifies whether the voice verification code is correct, that is, verifies whether the voice verification code is the verification code returned by the processing server after the purchase is successful. The processing server first converts the voice verification code into text to obtain the voice verification code text in text form. Then, the verification code corresponding to the device required to be activated by the voice control device is obtained, that is, the verification code returned to the user when the functional service of the device is purchased. The verification code is compared with the voice verification code text to determine whether the two are consistent. When it is determined that the two are completely consistent, the voice verification code is determined to be correct and the verification is passed. When it is determined that the two are not completely consistent, the voice verification code is determined to be wrong and the verification fails.
[0063] Step S204: After the voice verification code is verified correctly, activate the functional service of the device according to the voice verification code.
[0064] Specifically, when the processing server verifies that the voice verification code is correct, indicating that the verification is successful, the processing server can generate an activation instruction and send it to the device, instructing the device to activate the corresponding functional service. The activation of the functional service can be represented by setting a corresponding variable, and the variable indicates whether the functional service is activated. For example, when the device receives an activation instruction, it changes the variable from false (off) to true (on) to indicate that the service function has been activated. At the same time, since the functional service has a corresponding purchase duration, when the functional service is activated according to the activation instruction, the effective duration of the functional service activation is set. After the effective duration expires, the device can control the shutdown of the functional service by itself, and it needs to be activated again to control its use.
[0065] Step S206: When the function control voice sent by the voice control device is obtained, verify whether the voice verification code corresponding to the voice control device is valid.
[0066] The function control voice is a voice command input by a user to control the function services of a device.
[0067] Specifically, when the user needs to use the functional service of the device, the functional control voice is input again through the voice control device and sent to the processing server. When the processing server obtains the functional control voice sent by the voice control device, the voice verification code corresponding to the voice control device is verified to verify whether it is valid. In other words, the verification code corresponding to the device that the voice control device needs to control is obtained, that is, the verification code returned by the processing server when the user purchases the functional service of the device is verified to verify whether the verification code is still valid.
[0068] Step S208, when the voice verification code is valid, control the function service of the voice control device according to the function.
[0069] Specifically, when the processor server verifies that the voice verification code is still valid, it means that the functional service of the device is still in an activated and available state. The processing server generates corresponding control instructions based on the functional control voice and gives them to the device to control the functional service of the device.
[0070] The function control method of the above-mentioned device obtains the voice verification code sent by the voice control device and verifies whether it is correct, and the voice verification code is obtained by purchasing the function service of the device; after the voice verification code is verified correctly, the function service of the device is activated according to the voice verification code; when the function control voice sent by the voice control device is obtained, it is verified whether the voice verification code corresponding to the voice control device is valid; when the voice verification code is valid, the function service of the device is controlled according to the function control voice. This method realizes the control and use of the function services required to be purchased on the device through the voice control device, which can better adapt to different groups and improve the convenience of use. At the same time, the voice control device is used in combination with the verification code to further improve the safety of the use of shared devices.
[0071] In one embodiment, obtaining a voice verification code sent by a voice control device and verifying whether it is correct includes: obtaining voice verification code segments sent by the voice control device in segments, wherein the voice verification code segments are obtained by segmenting the voice verification code according to activation rules; after each voice verification code segment is obtained and verified to be correct, timing is performed using the voice verification code segment as a timing time, and after the timing is completed, a prompt message is fed back to the voice control device and / or the device once to obtain the next voice verification code segment, until all voice verification code segments are obtained and verified; when all voice verification code segments are verified to be correct, it is determined that the voice verification code is correct.
[0072] Among them, the activation rule is the rule returned by the processing server to instruct the user to activate the device function service after the user scans the information code to purchase the device function service. The voice verification code segment is the voice of part of the verification code in the voice verification code, which is obtained by segmentation according to the activation rule. It can be understood that the voice verification code is composed of various voice verification code segments. For example, assuming that the activation rule indicates that the verification code is divided into three segments in sequence, the verification code 412678 is divided into three voice verification code segments, which can be 41, 26 and 78.
[0073] Specifically, after the purchase is completed and the verification code and the corresponding activation rules are obtained, the user inputs and sends the verification code segments to the processing server through voice according to the instructions of the activation rules. The processing server obtains the voice verification code segments sent in segments by the voice control device. In this process, the processing server verifies a voice verification code segment each time it obtains a voice verification code segment. In addition, after the currently obtained voice verification code segment is verified correctly, the processing server uses the voice verification code segment as the timing time for timing, and after the timing is completed, a prompt information is fed back to the voice control device and / or device to prompt the user to enter the next voice verification code segment to obtain the next voice verification code segment.
[0074] For example, taking 412678 as an example, assuming that the activation rule instructs the user to enter the verification code in three segments in sequence, the user uses the voice control device to input the voice "41" for the first time to the processing server. At the same time, the processing server divides the locally stored verification code 412678 into three segments according to the activation rule and compares it with the verification code entered by the user. That is, when the first segment "41" is obtained, the processing server compares the first segment "41" segmented by itself with the first segment "41" entered by the user. After the comparison is consistent, the 4 in "41" is extracted as the timing time, and the timing is set to 4 seconds. After 4 seconds, the processing server sends the prompt information to the voice control device and / or device, and the voice control device and / or device prompts the user according to the prompt information with a beep. When the user hears the beep, he can enter the second voice verification code segment "67", and repeat the above steps until all voice verification code segments are entered. After all voice verification code segments are verified correctly, the processing server determines that the voice verification code is correct, and activates the functional service of the device. When a certain voice verification code segment is determined to be incorrect during the segmented verification process, the processing server determines that the voice verification code is incorrect and generates an error prompt message to the user to inform the user that the verification error cannot be activated, such as by frequently beeping to prompt the user that the verification code is incorrect.
[0075] In this embodiment, the activation rules are used to instruct the user to activate the functional services of the verification code segments. As the activation rules change, a dynamic activation mechanism can be implemented to improve security.
[0076] In one embodiment, Figure 3 As shown, when the voice verification code is valid, the function services of the voice control device are controlled according to the function control, including:
[0077] Step S302: convert the function control speech into text to obtain the function control speech text.
[0078] Step S304: semantically analyze the function control voice text and generate corresponding control instructions according to the semantic analysis result.
[0079] Step S306: Send a control instruction to the device to instruct the device to control the function service.
[0080] Among them, text conversion refers to the process of converting speech into text. Semantic analysis is the process of analyzing the semantics of text, through which the user's control needs can be determined.
[0081] Specifically, when the processing server determines that the voice verification code is valid, it means that the functional service corresponding to the voice verification code is currently in an activated state and can be controlled and used. The processing server converts the acquired functional control voice into text form to obtain a functional control voice text. Then, the functional control voice text is semantically parsed to obtain the semantic parsing result to determine the user's control needs. Then, the corresponding control instructions are generated according to the user's control needs and sent to the device, instructing the device to control the corresponding functional service. For example, semantic parsing of the functional control voice text "play Zhang San's songs" can determine that the user's control needs require the use of the music functional service to play Zhang San's songs. The control instructions generated by the processing server are used to control the device to start the music functional service to play Zhang San's songs.
[0082] In this embodiment, after determining the user's control requirements through text conversion and semantic analysis, control instructions are generated to control corresponding functional services, thereby improving the accuracy of control.
[0083] In one embodiment, after the voice verification code is verified correctly, the functional service of the device is activated according to the voice verification code, including: determining the device and functional service bound to the voice verification code; generating a corresponding activation instruction according to the functional service and sending it to the device to instruct the device to activate the functional service.
[0084] Specifically, after the processing server verifies that the voice verification code is correct, the functional service of the device can be activated. First, since the voice verification code is generated and returned to the user, the processing server has bound it to the corresponding user account, device and purchased functional service and stored it locally for subsequent verification. Therefore, before the processing server activates the functional device, it is first necessary to determine the device and functional service bound to the voice verification code. Then, according to the bound functional service, a corresponding activation instruction is generated and sent to the corresponding device to activate the functional service. For example, after the server verifies that the voice verification code 412678 is correct, it is determined that the device bound to 412678 is air conditioning device 1, and the corresponding functional service is music and video. The processing server generates an activation instruction to activate the music and video functional service and sends it to air conditioning device 1. After air conditioning device 1 receives the activation instruction, it updates the variables corresponding to the music and video functional services to true according to the activation instruction to complete the activation of the two service functions of music and video.
[0085] In this embodiment, the device and function service bound by the voice verification code generates an activation instruction for activation, thereby improving the accuracy of activation.
[0086] In one embodiment, when a function control voice sent by a voice control device is obtained, verify whether the voice verification code corresponding to the voice control device is valid, including: obtaining the validity period of the voice verification code corresponding to the voice control device, the validity period is equal to the purchase period of the function service; when it is determined according to the validity period that the voice verification code is currently within the validity period, the voice verification code is determined to be valid; when it is determined according to the validity period that the voice verification code is not currently within the validity period, the voice verification code is determined to be invalid.
[0087] The purchase duration is the duration selected by the user when purchasing the functional service. The validity duration refers to the validity duration of the verification code. The verification code is generated after the functional service is successfully purchased, which is equivalent to the password used by the user to control the functional service. Therefore, the validity duration of the verification code is equivalent to the purchase duration.
[0088] Specifically, obtaining the validity period of the voice verification code is equivalent to obtaining the purchase period of the functional service corresponding to the voice verification code. If the purchase period is still valid at present, the validity period of the voice verification code is also valid at present, that is, the voice verification code is still within the validity period, and the voice verification code is valid. If the purchase period is invalid at present, that is, the purchased functional service has expired, that is, the validity period of the voice verification code is currently invalid, that is, the voice verification code is not currently within the validity period, the voice verification code is invalid, and the functional service cannot be controlled at present. When it is determined that the verification code is valid, the processing server can control the functional service of the voice control device according to the function. When the verification code is invalid, it means that the functional service of the device purchased by the user has expired, and the device has naturally turned off the functional service, so it is impossible to use the functional service. In this embodiment, the accuracy of the control is determined by entering the use control of the functional service after judging that the verification code is valid.
[0089] In one embodiment, when the voice verification code is invalid, purchase prompt information is generated and fed back to the voice control device and / or device.
[0090] Specifically, when the verification code is invalid, it means that the functional service of the device purchased by the user has expired, and the current user cannot control and use the functional service. The processing server generates purchase prompt information and feeds it back to the voice control device and / or device. That is, it can be fed back to the voice control device or the device to be controlled, or fed back to the voice control device and the device to be controlled at the same time, so that the user can know in time that the purchased functional service has expired and needs to be repurchased if needed. Among them, the purchase prompt information can be different audio information or text information displayed on the display screen.
[0091] In one embodiment, Figure 4 As shown, a function control system of a device is provided, including: a voice control device, a voice server, a processing server and a device. The voice control device communicates with the voice server through a network, the voice server communicates with the processing server through a network, and the processing server communicates with the device through a network.
[0092] Specifically, the user inputs the verification code obtained by purchasing the functional service through the voice control device, and the voice control device sends the verification code input by the user to the voice server. After the voice server receives the voice verification code, it converts the voice verification code into text, obtains the voice verification code text in text form, and sends it to the processing server. After the processing server receives the voice verification code text, it obtains the verification code stored locally and compares it with the voice verification code text to determine whether the two are consistent. When it is determined that the two are completely consistent, it is determined that the voice verification code is correct and the verification is passed. The processing server generates an activation instruction and sends it to the device to activate the corresponding functional service.
[0093] Then, when the user inputs the function control voice through the voice control device, the voice control device sends the function control voice input by the user to the voice server. The voice server converts the function control voice into text, obtains the function control voice text and sends it to the processing server. When the processing server receives the function control voice text, it first verifies whether the voice verification code is still valid according to the purchase duration. If it is valid, the processing server controls the function service of the device according to the function control voice text. If it is invalid, a purchase prompt information is generated and fed back to each voice control device and / or device.
[0094] In one embodiment, the user inputs the verification code in segments through the voice control device according to the instructions of the activation rules returned by the purchase function service, and sends it to the voice server in segments. After the voice server obtains the voice verification code segments sent by the voice control device in segments, it converts the voice verification code into voice verification code segment text and sends it to the processing server, that is, the processing server also receives the voice verification code segment text in segments. In this process, when the processing server obtains a segment of voice verification code segment text sent by the voice server, the processing server verifies a segment of voice verification code segment text. In addition, after the currently obtained voice verification code segment text is verified correctly, the voice verification code segment text is used as the timing time for timing. After the timing is completed, a prompt message is fed back to the voice control device and / or device to obtain the next segment of voice verification code segment text, until each voice verification code segment text is obtained and verified. When each voice verification code segment text is verified correctly, the processing server determines that the voice verification code is correct.
[0095] In one embodiment, Figure 5 As shown, the system also includes a semantic server, which communicates with the processing server through a network.
[0096] Specifically, when the processing server verifies that the voice verification code is currently valid according to the purchase duration, the processing server sends the function control voice text to the semantic server. The semantic server performs semantic analysis on the function control text to obtain a semantic analysis result that can determine the user's control requirements. Then, the semantic analysis result is fed back to the processing server, and the processing server generates a control instruction based on the semantic analysis result and sends it to the device to control the function service.
[0097] In one embodiment, taking the voice control device as a voice remote controller and the device as a shared air conditioner as an example, a method for controlling the functions of the device is explained in detail.
[0098] Specifically, when a user needs to use the music function service in the shared air conditioner, he first scans the QR code on the shared air conditioner with his mobile phone to enter the purchase page to purchase the music function service and select the purchase duration, and then obtains the verification code and activation rules returned by the processing server. The processing server binds the verification code to the user account, shared air conditioner, corresponding voice remote control and the purchased music function service.
[0099] Then, the user segments the verification code according to the instructions of the activation rules, and uses the voice remote control to input the verification code segments in voice and send them to the voice server. The voice server converts the voice verification code segments into voice verification code segment texts and sends them to the processing server. The processing server verifies in sequence according to the order in which the voice verification code segment texts are received from the voice server. After obtaining a segment of voice verification code segment text, a verification is performed. After the currently obtained voice verification code segment text is verified correctly, the voice verification code segment text is used as the timing time for timing. After the timing is completed, a "beep" prompt message is fed back to the voice remote control and / or the shared air conditioner to beep, so that the user enters the next segment of voice verification code segment and obtains the next segment of voice verification code segment text for verification. When all voice verification code segments are verified correctly, the processing server determines that the voice verification code is correct, generates an activation instruction to activate the music function service and gives it to the shared air conditioner, so that the shared air conditioner activates the music function service and updates the variable corresponding to the music function service to true.
[0100] Furthermore, when the voice remote control receives the function control voice input by the user to control the shared air conditioner, the function control voice is sent to the voice server, and the voice server converts the function control voice into function control voice text and sends it to the processing server. When the processing server receives the function control voice text, it first verifies whether the verification code is currently valid based on the purchase duration. If invalid, a purchase prompt message is generated to inform the user that the music service has expired and needs to be repurchased and activated. If valid, the function control voice text is sent to the semantic server, and the semantic server performs semantic analysis on the function control voice text to obtain a semantic analysis result that can determine the user's control needs. Finally, the processing server generates a control instruction based on the semantic analysis result representing the control needs and gives it to the shared air conditioner control music function service.
[0101] It should be understood that although Figure 2-3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-3At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0102] In one embodiment, Figure 6 As shown, a device function control apparatus is provided, including: a correct verification module 602, an activation module 604, a valid verification module 606 and a control module 608, wherein:
[0103] A correct verification module 602 is used to obtain a voice verification code sent by the voice control device and verify whether it is correct. The voice verification code is obtained by purchasing a functional service of the device;
[0104] An activation module 604 is used to activate the functional service of the device according to the voice verification code after the voice verification code is verified correctly;
[0105] A valid verification module 606 is used to verify whether the voice verification code corresponding to the voice control device is valid when the function control voice sent by the voice control device is obtained;
[0106] The control module 608 is used to control the functional service of the voice control device according to the function when the voice verification code is valid.
[0107] In one embodiment, the correct verification module 602 is also used to obtain the voice verification code segments sent by the voice control device in segments, and the voice verification code segments are obtained by segmenting the voice verification code according to the activation rules; after each voice verification code segment is obtained and the voice verification code segment is verified to be correct, timing is performed with the voice verification code segment as the timing time, and after the timing is completed, a prompt message is fed back to the voice control device and / or the device to obtain the next voice verification code segment, until all voice verification code segments are obtained and verified; when all voice verification code segments are verified to be correct, it is determined that the voice verification code is correct.
[0108] In one embodiment, the control module 608 is also used to convert the function control voice into text to obtain the function control voice text; perform semantic analysis on the function control voice text, and generate corresponding control instructions according to the semantic analysis results; and send control instructions to the device to instruct the device to control the function service.
[0109] In one embodiment, the activation module 604 is further used to determine the device and functional service bound to the voice verification code; generate a corresponding activation instruction according to the functional service and send it to the device to instruct the device to activate the functional service.
[0110] In one embodiment, the valid verification module 606 is also used to obtain the valid duration of the voice verification code corresponding to the voice control device, which is equal to the purchase duration of the functional service; when it is determined according to the valid duration that the voice verification code is currently within the validity period, the voice verification code is determined to be valid; when it is determined according to the valid duration that the voice verification code is not currently within the validity period, the voice verification code is determined to be invalid.
[0111] In one embodiment, the function control device of the device further includes a feedback module, which is used to generate purchase prompt information and feed it back to the voice control device and / or the device when the voice verification code is invalid.
[0112] For the specific definition of the function control device of the device, please refer to the definition of the function control method of the device above, which will not be repeated here. Each module in the function control device of the above device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the processing server in the form of hardware, or can be stored in the memory of the processing server in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0113] In one embodiment, a processing server is provided, whose internal structure diagram can be as follows: Figure 7 As shown. The processing server includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the processing server is used to provide computing and control capabilities. The memory of the processing server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the processing server is used to store data such as verification codes. The network interface of the processing server is used to communicate with an external voice server, a semantic server and a device through a network connection. When the computer program is executed by the processor, a function control method of a device is implemented.
[0114] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the processing server to which the scheme of the present application is applied. The specific processing server may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0115] In one embodiment, a processing server is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0116] Get the voice verification code sent by the voice control device and verify whether it is correct. The voice verification code is obtained by purchasing the functional service of the device;
[0117] After the voice verification code is verified correctly, activate the functional service of the device according to the voice verification code;
[0118] When the function control voice sent by the voice control device is obtained, verify whether the voice verification code corresponding to the voice control device is valid;
[0119] When the voice verification code is valid, the function service of the voice control device is controlled according to the function control.
[0120] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the voice verification code segments sent by the voice control device in segments, and the voice verification code segments are obtained by segmenting the voice verification code according to the activation rules; after each voice verification code segment is obtained and verified to be correct, timing is performed using the voice verification code segment as the timing time, and after the timing is completed, a prompt message is fed back to the voice control device and / or device once to obtain the next voice verification code segment, until all voice verification code segments are obtained and verified; when all voice verification code segments are verified to be correct, it is determined that the voice verification code is correct.
[0121] In one embodiment, when the processor executes the computer program, the following steps are also implemented: converting the function control voice into text to obtain the function control voice text; performing semantic analysis on the function control voice text, and generating corresponding control instructions according to the semantic analysis results; sending the control instructions to the device to instruct the device to control the function service.
[0122] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the device and functional service bound to the voice verification code; generating a corresponding activation instruction according to the functional service and sending it to the device to instruct the device to activate the functional service.
[0123] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the validity period of the voice verification code corresponding to the voice control device, the validity period being equal to the purchase period of the functional service; when it is determined according to the validity period that the voice verification code is currently within the validity period, determining that the voice verification code is valid; when it is determined according to the validity period that the voice verification code is not currently within the validity period, determining that the voice verification code is invalid.
[0124] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the voice verification code is invalid, generating purchase prompt information and feeding it back to the voice control device and / or device.
[0125] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0126] Get the voice verification code sent by the voice control device and verify whether it is correct. The voice verification code is obtained by purchasing the functional service of the device;
[0127] After the voice verification code is verified correctly, activate the functional service of the device according to the voice verification code;
[0128] When the function control voice sent by the voice control device is obtained, verify whether the voice verification code corresponding to the voice control device is valid;
[0129] When the voice verification code is valid, the function service of the voice control device is controlled according to the function control.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the voice verification code segments sent by the voice control device in segments, and the voice verification code segments are obtained by segmenting the voice verification code according to the activation rules; after each voice verification code segment is obtained and verified to be correct, timing is performed using the voice verification code segment as the timing time, and after the timing is completed, a prompt message is fed back to the voice control device and / or device once to obtain the next voice verification code segment, until all voice verification code segments are obtained and verified; when all voice verification code segments are verified to be correct, it is determined that the voice verification code is correct.
[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: converting the function control voice into text to obtain the function control voice text; performing semantic analysis on the function control voice text, and generating corresponding control instructions according to the semantic analysis results; sending the control instructions to the device to instruct the device to control the function service.
[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the device and functional service bound to the voice verification code; generating a corresponding activation instruction according to the functional service and sending it to the device to instruct the device to activate the functional service.
[0133] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the validity period of the voice verification code corresponding to the voice control device, the validity period being equal to the purchase period of the functional service; when it is determined according to the validity period that the voice verification code is currently within the validity period, determining that the voice verification code is valid; when it is determined according to the validity period that the voice verification code is not currently within the validity period, determining that the voice verification code is invalid.
[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the voice verification code is invalid, generating purchase prompt information and feeding it back to the voice control device and / or device.
[0135] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0136] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0137] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for controlling the function of a device, It is characterized in that The method comprises: Acquire the voice verification code segments sent by the voice control device in segments, wherein the voice verification code segments are obtained by segmenting the voice verification code according to the activation rules, and after each segment of the voice verification code segment is obtained and verified to be correct, the voice verification code segment is used as the timing time for timing, and after the timing is completed, a prompt message is fed back to the voice control device and / or the device once to obtain the next segment of the voice verification code segment, until all the voice verification code segments are obtained and verified, and when all the voice verification code segments are verified to be correct, it is determined that the voice verification code is correct, and the voice verification code is obtained by purchasing a functional service of the device, wherein, when a certain segment of the voice verification code segment is determined to be wrong during the segment verification process, it is determined that the voice verification code is wrong, and the voice verification code is a string of digital verification codes, and the timing time is related to the segmented digital verification codes; After the voice verification code is verified correctly, activating the functional service of the device according to the voice verification code; When the function control voice sent by the voice control device is obtained, verifying whether the voice verification code corresponding to the voice control device is valid; Obtaining the validity period of the voice verification code corresponding to the voice control device, where the validity period is equal to the purchase period of the functional service; When it is determined according to the validity period that the voice verification code is currently within the validity period, determining that the voice verification code is valid; When it is determined according to the validity period that the voice verification code is not currently within the validity period, determining that the voice verification code is invalid; When the voice verification code is invalid, generating purchase prompt information and feeding it back to the voice control device and / or the device; When the voice verification code is valid, the functional service of the device is controlled according to the functional control voice.
2. The method according to claim 1, It is characterized in that When the voice verification code is valid, controlling the functional service of the device according to the function control voice includes: Converting the function control speech into text to obtain the function control speech text; Performing semantic analysis on the function control voice text, and generating corresponding control instructions according to the semantic analysis result; The control instruction is sent to the device to instruct the device to control the functional service.
3. The method according to claim 1, It is characterized in that After the voice verification code is verified correctly, activating the functional service of the device according to the voice verification code includes: Determining the device and the functional service bound to the voice verification code; A corresponding activation instruction is generated according to the functional service and sent to the device to instruct the device to activate the functional service.
4. A functional control system for a device, It is characterized in that The system includes a voice control device, a voice server, a processing server and a device; The voice control device is used to receive a voice verification code input by a user, wherein the voice verification code is obtained by purchasing a functional service of the device; The voice server is used to obtain the voice verification code segments sent by the voice control device in segments, and the voice verification code segments are obtained by segmenting the voice verification code according to the activation rule; The processing server is used for performing timing with the voice verification code segment as the timing time after each voice verification code segment is obtained and verified to be correct, and after the timing is completed, feeding back a prompt message to the voice control device and / or the device to obtain the next voice verification code segment, until all the voice verification code segments are obtained and verified; when all the voice verification code segments are verified to be correct, determining that the voice verification code is correct; after the voice verification code is verified to be correct, activating the functional service of the device according to the voice verification code, wherein, when a certain voice verification code segment is determined to be wrong during the segmented verification process, determining that the voice verification code is wrong, the voice verification code is a string of digital verification codes, and the timing time is related to the segmented digital verification codes; The voice control device is further used to receive function control voice input by a user; The voice server is further used to obtain the function control voice sent by the voice control device; The processing server is further used to receive the function control voice sent by the voice server, obtain the validity period of the voice verification code corresponding to the voice control device, the validity period is equal to the purchase period of the function service, and when it is determined according to the validity period that the voice verification code is currently within the validity period, the voice verification code is determined to be valid; when it is determined according to the validity period that the voice verification code is not currently within the validity period, the voice verification code is determined to be invalid; when the voice verification code is invalid, purchase prompt information is generated and fed back to the voice control device and / or the device; when it is verified that the voice verification code corresponding to the voice control device is valid, the function service of the device is controlled according to the function control voice.
5. The system according to claim 4, It is characterized in that The voice server is further used to convert the voice verification code into a verification code segment text and then send it to the processing server; The processing server is also used to receive the verification code segment text sent by the voice server in segments. After each segment of the voice verification code segment text is obtained and verified to be correct, timing is performed using the voice verification code segment text as a timing time. After the timing is completed, a prompt message is fed back to the voice control device and / or the device once to obtain the next segment of the voice verification code segment text, until all the voice verification code segment texts are obtained and verified; when all the voice verification code segment texts are verified to be correct, it is determined that the voice verification code is correct.
6. The system according to claim 4, It is characterized in that The system also includes a semantic server; The voice server is further configured to obtain the function control voice sent by the voice control device, and then convert the function control voice into text to obtain the function control voice text; The processing server is further configured to receive the function control voice text sent by the voice server, and when verifying that the voice verification code corresponding to the voice control device is valid, send the function control voice text to the semantic server; The semantic server is used to receive the function control voice text sent by the processing server, perform semantic analysis on the function control voice text and feed back the semantic analysis result; The processing server is further used to receive the semantic analysis result, generate corresponding control instructions according to the semantic analysis result; and send the control instructions to the device to instruct the device to control the functional service.
7. The system according to claim 4, It is characterized in that The voice control device includes a voice remote controller.
8. A function control device for an equipment, It is characterized in that The device comprises: A correct verification module is used to obtain the voice verification code segments sent by the voice control device in segments, and the voice verification code segments are obtained by segmenting the voice verification code according to the activation rules; after each voice verification code segment is obtained and verified to be correct, the voice verification code segment is used as the timing time for timing, and after the timing is completed, a prompt message is fed back to the voice control device and / or the device once to obtain the next voice verification code segment, until all the voice verification code segments are obtained and verified; when all the voice verification code segments are verified to be correct, it is determined that the voice verification code is correct, and the voice verification code is obtained by purchasing the functional service of the device, wherein, when a certain segment of the voice verification code segment is determined to be wrong during the segment verification process, it is determined that the voice verification code is wrong, and the voice verification code is a string of digital verification codes, and the timing time is related to the segmented digital verification codes; An activation module, configured to activate the functional service of the device according to the voice verification code after the voice verification code is verified correctly; a valid verification module, for verifying whether the voice verification code corresponding to the voice control device is valid when the function control voice sent by the voice control device is obtained, obtaining the valid duration of the voice verification code corresponding to the voice control device, the valid duration being equal to the purchase duration of the function service, and determining that the voice verification code is valid when it is determined according to the valid duration that the voice verification code is currently within the valid period, and determining that the voice verification code is invalid when it is determined according to the valid duration that the voice verification code is not currently within the valid period; A control module, configured to control the functional service of the device according to the function control voice when the voice verification code is valid; A feedback module is used to generate purchase prompt information and feed it back to the voice control device and / or the device when the voice verification code is invalid.
9. The function control device of the device according to claim 8, It is characterized in that The control module is also used to convert the function control voice into text to obtain the function control voice text, perform semantic analysis on the function control voice text, generate corresponding control instructions according to the semantic analysis results, send the control instructions to the device, and instruct the device to control the function service.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Voice control method and device
CN105741840A
Password verifying method and mobile terminal
CN106778223A
Verification method of speech recognition
CN107147672A
Method and device for controlling air conditioner
CN107388487A
Terminal device verification method, terminal device, sound box and server
CN107819740A
