Electronic device capable of configuring parameters through voice and method thereof
By configuring electronic device parameters through voice input devices and modules, the problem of users being unable to modify parameters themselves is solved, achieving efficient configuration and flexible parameter settings without the need for return to the factory.
Patent Information
- Application Number
- CN202211446197.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-18
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2042-11-18
AI Technical Summary
Users often find it difficult to modify the parameters of existing electronic devices themselves, especially headless devices, which often require returning them to the factory for configuration, increasing time and costs.
It employs a voice input device and a voice recognition module, allowing configuration of the first communication parameters via voice, and automatically downloads and stores the operation parameters from the server, simplifying the configuration process.
It enables easy parameter configuration without requiring a technical background, reduces the need for returns to the factory, improves configuration efficiency and flexibility, and supports simultaneous configuration of multiple devices.
Smart Images

Figure CN116110386B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to parameter configuration, and in particular, to an electronic device capable of configuring parameters through voice and a method thereof. BACKGROUND
[0002] Various electronic devices, such as terminal devices for Internet of vehicle (IoV) or industrial control, or home-use routers, network cameras or pet feeders, all need configuration of operating parameters so as to function normally. For example, terminal devices for IoV (such as in-vehicle information systems) can need operating parameters such as frequency of data collection (e.g. how long should be the interval between each collection of data such as vehicle speed, temperature inside the vehicle, amount of fuel left, etc.) and triggering conditions for video recording, terminal devices for industrial control (such as machine devices on production lines) can need operating parameters such as proportion of materials used, operating speed, operating time, etc., and network cameras can need operating parameters such as resolution, brightness, frame rate and color of videos.
[0003] Users of the above-mentioned various electronic devices, such as drivers of vehicles or operators of industrial control systems, are usually familiar with the basic operation and functions of the devices but not with the setting and modification of parameters. Based on cost-effectiveness considerations, some electronic devices are even headless devices without common input / output (I / O) devices such as keyboards, mice or displays for users to directly configure their parameters. Although the required parameters can be written into the internal storage units of the devices before they are shipped, once the parameters need to be modified, it can be very difficult, tedious or even impossible for general users to do so, and thus the devices need to be sent back to the original manufacturer or repair point for configuration, resulting in additional time and financial costs.
[0004] In view of the above, it is desirable to have an electronic device capable of configuring parameters through voice and a method thereof to solve the above-mentioned problems related to parameter configuration. SUMMARY
[0005] Embodiments of the present application provide an electronic device capable of configuring parameters through voice, which includes a storage unit, a voice input device, a voice recognition module, and a control module. The voice input device is configured to receive a first voice input from a user. The voice recognition module is configured to receive the first voice input from the voice input device and recognize first text information from the first voice input. The control module is configured to receive the first text information from the voice recognition module. The control module is further configured to store a first communication parameter indicated by the first text information to the storage unit. The control module is further configured to communicate with a first server using the first communication parameter to download a plurality of operation parameters from the first server. The control module is further configured to store the operation parameters downloaded from the first server to the storage unit.
[0006] Embodiments of the present application provide a method capable of configuring parameters through voice, which includes a parameter configuration stage. The parameter configuration stage includes a step of receiving a first voice input from a user. The parameter configuration stage further includes a step of recognizing first text information from the first voice input. The parameter configuration stage further includes a step of storing a first communication parameter indicated by the first text information. The parameter configuration stage further includes a step of communicating with a first server using the first communication parameter to download a plurality of operation parameters from the first server. The parameter configuration stage further includes a step of receiving the operation parameters from the first server and storing the operation parameters.
[0007] The electronic device and the method provided by the present application only need to configure the most critical first communication parameter through voice, and can automatically obtain all other parameters. The parameter configuration process is greatly simplified, and is not limited by time and place. Furthermore, the process of configuring the first communication parameter can be guided by voice interaction, so that even a general person without any technical background can easily and correctly complete the parameter configuration without sending the device back to the factory for reconfiguration. In addition, the characteristics of voice can allow multiple devices to be configured at the same time (whether these devices use the same operation parameters or different operation parameters), saving the labor of configuring one by one. BRIEF DESCRIPTION OF DRAWINGS
[0008] The present application can be better understood from the following description of exemplary embodiments given with reference to the following drawings. Moreover, it should be understood that in the flow charts of the present application, the order of the execution of the blocks can be changed, and / or certain blocks can be changed, eliminated, or combined.
[0009] Figure 1 is a schematic diagram of an electronic device application context example according to an embodiment of the present application.
[0010] Figure 2 is an architectural diagram of an electronic device according to an embodiment of the present application.
[0011] Figure 3is a flow chart of a method of configuring parameters of an electronic device by voice according to an embodiment of the present application.
[0012] Figure 4 is a flow chart of steps of a parameter configuration stage according to an embodiment of the present application.
[0013] Figure 5 is a flow chart of steps of a wake-up stage according to an embodiment of the present application.
[0014] Figure 6 is a flow chart of steps of a requirement confirmation stage according to an embodiment of the present application.
[0015] Figure 7 is a flow chart of steps of a parameter configuration stage according to an embodiment of the present application.
[0016] Figure 8 is a flow chart of steps of a parameter configuration stage according to another embodiment of the present application.
[0017] Brief description of the drawings
[0018] 10: electronic device; 11: first server; 12: second server; 13: third server; 101: operation parameter; 102, 103: data; 201: voice input device; 202: voice recognition module; 203: control module; 204: storage unit; 205: voice synthesis module; 206: voice output device; 300: method; 301: wake-up stage; 302: requirement confirmation stage; 303: parameter configuration stage; 401-405: steps; 501-505: steps; 601-606: steps; 701-706: steps; 801-806: steps. DETAILED DESCRIPTION
[0019] The following description sets forth numerous specific details to provide a thorough understanding of the application. However, those of ordinary skill in the art will appreciate that the application can be practiced without these specific details. In other instances, methods, procedures, components, and circuits have not been described in detail so as not to obscure the application. Other implementations can be utilized and
[0020] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, it will be appreciated that the application can be practiced without the specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to obscure the application. Other implementations can be utilized and
[0021] In this description and in the claims, a number of terms of art are used and should not be interpreted in an ordinary and / or literal sense unless expressly so indicated herein.
[0022] In this description and in the claims, a number of terms of art are used and should not be interpreted in an ordinary and / or literal sense unless expressly so indicated herein.
[0023] Figure 1is a schematic diagram illustrating an application context scenario of the electronic device 10 according to an embodiment of the present application. In this scenario, the electronic device 10 can communicate with a first server 11, a second server 12, and a third server 13 via a network (e.g., a local area network, a wide area network, a virtual private network, the Internet, a wireless network, and any combination thereof). However, the present application is not limited to the number of servers (i.e., the second server, the third server, etc.) communicating with the electronic device 10 except that the first server 11 is necessary.
[0024] The electronic device 10 can be a vehicle telematics terminal device (e.g., an in-vehicle information system) or an industrial control terminal device (e.g., a machine equipment on a production line), or a home device such as a router, a network camera, or a pet feeder. In some cases, the electronic device 10 can be a headless device without common input / output (I / O) devices such as a keyboard, a mouse, or a display for a user to directly configure parameters thereof. The electronic device 10 includes elements required for voice interaction with a user, which will be described later with reference to Figure 2 DETAILED DESCRIPTION.
[0025] The first server 11 can be any kind of server computer system capable of communicating through a network (e.g., a local area network, a wide area network, a virtual private network, the Internet, a wireless network, and any combination thereof). The first server 11 can include a general-purpose processing device (e.g., a central processing unit (CPU)) for establishing a communication link with the electronic device 10, and one or more storage devices such as optical storage elements and solid-state storage devices such as random access memory (RAM), read-only memory (ROM), removable media devices, memory cards, and flash memory cards, disk drives, etc. to store operating parameter(s) 101 required for normal operation of the electronic device 10.
[0026] The second server 12 and the third server 13 can be any kind of server computer system capable of communicating through a network (e.g., a local area network, a wide area network, a virtual private network, the Internet, a wireless network, and any combination thereof) with one or more storage devices such as optical storage elements and solid-state storage devices such as random access memory (RAM), read-only memory (ROM), removable media devices, memory cards, and flash memory cards, disk drives, etc. to store data (e.g., data 102 and data 103 in Figure 1 In some embodiments, the second server 12 and the third server 13 can be network storage devices such as a network attached storage (NAS) or a storage area network (SAN), respectively.
[0027] In Figure 1In the illustrated scenario, electronic device 10 communicates with a first server to download operation parameters 101 from the first server. More specifically, electronic device 10 requests operation parameters 101 from the first server. In response to receiving the request from electronic device 10, the first server 11 sends operation parameters 101 to electronic device 10. Electronic device 10 receives operation parameters 101 and stores them in its internal storage unit. The processing unit in electronic device 10 can read the operation parameters from the storage unit to drive the components of the electronic device to perform corresponding operations and generate corresponding data (such as...). Figure 1 Data 102 and data 103 (in the text).
[0028] For example, in an embodiment where electronic device 10 is a vehicle-to-everything (V2X) terminal device, operating parameter 101 may include the vehicle speed data collection frequency (e.g., once per second, once every three seconds, once every five seconds, etc.), indicating the time interval between each vehicle speed data collection by the vehicle speed sensor of the V2X terminal device (i.e., electronic device 10). The correspondence between the collected vehicle speed and time (e.g., the vehicle speed at 09:00:00 is 80 km / h, the vehicle speed at 09:00:03 is 85 km / h, etc.) is established. Figure 1 Data 102 is used to represent this. Operating parameter 101 may also include the frequency of remaining fuel data collection (e.g., once every ten minutes, once every thirty minutes, once per hour, etc.), indicating the time interval between each time the fuel sensor of the vehicle network terminal device (i.e., electronic device 10) collects the remaining fuel. The correspondence between the collected remaining fuel and time (e.g., the remaining fuel at 09:00:00 is 20 liters, the remaining fuel at 10:00:00 is 19 liters, etc.) is... Figure 1 Data 103 represents China and Israel.
[0029] The aforementioned data 102 and data 103 can be stored in the storage unit inside the electronic device 10. Figure 1 In the illustrated example, electronic device 10 can upload data 102 and data 103 to a second server 12 and a third server 13, respectively, for monitoring, analysis, and retrieval. In other embodiments, electronic device 10 can upload both data 102 and data 103 to a first server 11.
[0030] The aforementioned first communication parameters may be pre-written into the internal storage unit of the electronic device 10 before it leaves the factory. Once the first communication parameters corresponding to the first server 11 change, or the user needs to switch to another server (not pre-written into the storage unit of the electronic device 10) due to practical needs (such as a change in geographical location or a change in business partners), the parameters may be changed. Figure 1The user can configure new first communication parameters by voice. Similarly, the user can also configure second communication parameters used by the electronic device 10 to upload data 102 to the second server 12 and third communication parameters used by the electronic device 10 to upload data 103 to the third server 13 by voice. In some embodiments, the second communication parameters and the third communication parameters can be stored in the first server 11. When the electronic device 10 communicates with the first server 11 using the first communication parameters, the electronic device 10 also downloads the second communication parameters and the third communication parameters from the first server 11 in addition to the operation parameters 101.
[0031] In an embodiment of a general household car, the terminal's car information system (corresponding to the electronic device 10 in Figure 1 and the server providing operation parameters (corresponding to the first server 11 in Figure 1 are usually developed and maintained by the same manufacturer. However, it should be noted that in some embodiments, the electronic device 10 and the first server 11 are not necessarily provided by the same manufacturer, and the present application is not limited in this regard.
[0032] An embodiment is provided herein in which a tour bus fleet of enterprise A supports the work of enterprise B for a short period of time across provinces. The tour bus of the fleet of enterprise A is equipped with a car information system (corresponding to the electronic device 10 in Figure 1 with navigation or automatic driving functions. The car information system needs to be connected to a server (corresponding to the first server 11 in Figure 1 belonging to enterprise B to obtain parameters (corresponding to Figure 1The operation parameters 101) in the B enterprise server, such as authorized travel routes, or locations of gas stations, rest stops, businesses, hotels, and the like that cooperate with the B enterprise, and the latitude and longitude information thereof. When the personnel of the B enterprise confirm that the A enterprise vehicle fleet has arrived at the agreed location, the personnel of the A enterprise vehicle fleet who have the right to configure parameters, such as the most senior driver or the team leader, are informed of the connection information (such as IP address, port number, subnet mask, account, password, and the like) of the server of the B enterprise. Then, the personnel of the A enterprise vehicle fleet who have the right can configure the first communication parameters of the vehicle information system of the A enterprise vehicle fleet to be the connection information of the server of the B enterprise through voice, and the vehicle information system can download the required parameters from the server of the B enterprise. In other words, the personnel of the A enterprise vehicle fleet who have the right only need to directly recite the connection information of the server of the B enterprise to the vehicle information system, and after the vehicle information system receives the voice input by the personnel and successfully recognizes the intention thereof, the vehicle information system can download the required parameters from the server of the B enterprise, such as authorized travel routes, or locations of gas stations, rest stops, businesses, hotels, and the like that cooperate with the B enterprise, and the latitude and longitude information thereof. Thus, the vehicle information system can set the authorized travel routes as the navigation or automatic driving routes, or automatically set the specified locations (such as gas stations, rest stops, businesses, hotels, and the like) as the destinations of the navigation or automatic driving at each stage of the journey (such as the morning of the first day, the afternoon of the first day, the morning of the second day, the afternoon of the second day, and the like). In this way, the personnel of the A enterprise only need to recite the connection information of the server of the B enterprise, and the vehicle information system can automatically obtain a large amount of information (such as the latitude and longitude information of dozens of cooperating stores) provided by the B enterprise, without the personnel of the A enterprise having to input the information into the vehicle information system one by one. After the A enterprise vehicle fleet completes the support work and returns to the location of the A enterprise, the personnel of the A enterprise who have the right can input the connection information of the server of the A enterprise through voice to restore the daily operation.
[0033] It should be noted that although Figure 1 only the electronic device 10 is connected to the first server 11 in FIG. 1, this does not mean that the present application limits the first server 11 to be connected to only one electronic device. In some embodiments, the first server 11 can be connected to multiple electronic devices that use the same operation parameters or different operation parameters at the same time, to provide the corresponding parameters to each electronic device, respectively.
[0034] Another embodiment is provided herein, in which a mobile phone shell paint spraying factory must change the parameter settings of a plurality of machine tools to process an urgent order received temporarily. By using the arrangement disclosed in Figure 1 , technical personnel do not need to configure the parameters of each machine tool one by one. Specifically, a senior technical personnel can change the related parameters (corresponding to Figure 1The operation parameter 101 in the middle is entered into the server (corresponding to Figure 2 The first server 11 in the process can be accessed via a web browser or client application installed on a personal computer (such as a laptop or desktop computer) or mobile device (such as a tablet or mobile phone), or via voice input; this invention is not limited to this. Then, multiple machine tools (each machine tool corresponding to...) Figure 2 The electronic devices 10 in the machine tool simultaneously download their corresponding parameters from the server, allowing each machine tool to operate based on the updated parameters. When the server's connection path (corresponding to the first communication parameter mentioned above) changes, the server's connection path stored on each machine tool needs to be modified to correctly obtain the updated parameters. Since these machine tools are on the same production line in the same factory and are only a limited distance apart, technicians can change the connection path used by all machine tools to communicate with the server at once simply by raising the volume of their voice, without having to configure each machine individually.
[0035] Based on the above description, it can be deduced that the first communication parameter, used to communicate with the first server 11 to obtain other parameters (including operation parameters, second communication parameters, third communication parameters, etc.), is crucial for the normal operation of the electronic device 10 (e.g., operating using operation parameter 101, or uploading data 102 and data 103 to the corresponding second server 12 and third server 13 using the second and third communication parameters respectively). Therefore, the electronic device 10 of the present invention allows the first communication parameter to be configured via voice, and then, through the use of the first communication parameter, operation parameter 101 and / or other communication parameters can be obtained from the first server 11. In this way, the user does not need to input operation parameter 101 or other communication parameters on the terminal (i.e., the electronic device 10).
[0036] Figure 1 This is an architectural diagram of the electronic device 10 according to an embodiment of the present invention. Figure 1 As shown, the electronic device 10 may include a voice input device 201, a voice recognition module 202, a control module 203, a storage unit 204, a voice synthesis module 205, and a voice output device 206.
[0037] In embodiments of the present invention, the voice input device 201 receives voice input from the user by converting the user's voice into electronic signals. The voice input device 201 may be a device for receiving user voice, such as a microphone or a voice receiver.
[0038] In embodiments of the present invention, the speech recognition module 202 is configured to receive speech input from the speech input device 201 and to recognize (or convert) corresponding text information from the speech input. The speech recognition module 202 may employ known algorithms or computational techniques such as Natural Language Processing (NLP), Hidden Markov Model, N-gram model, neural network, etc., and any combination thereof; the present invention is not limited thereto.
[0039] In an embodiment of the present invention, the control module 203 is configured to store the communication parameters indicated by the text information recognized by the speech recognition module 202 into the storage unit 204, and to use the aforementioned first communication parameters with... Figure 2 The control module 203 communicates with the first server 11 to request the required parameters. In one embodiment, the control module 203 is further configured to use second communication parameters to upload data 102 and data 103 to the second server 12 and the third server 13, respectively. In another embodiment, the control module 203 is further configured to upload both data 102 and data 103 to the first server 11. In some embodiments, the control module 203 is further configured to request second and third communication parameters from the first server 11 and store the received second and third communication parameters in the storage unit 204. In some embodiments, the control module 203 is further configured to drive the speech synthesis module 204 to synthesize parameter request speech to request the required communication parameters from the user.
[0040] In an embodiment of the present invention, the storage unit 204 is used to store parameters required for the operation of the electronic device 10, including operating parameters (such as...). Figure 3 The storage unit 204 can be any storage device containing non-volatile memory (such as read-only memory, electrically erasable programmable read-only memory (EEPROM), flash memory, non-volatile random access memory (NVRAM)), such as hard disk drive (HDD), solid-state drive (SSD), or memory cards such as eMMC, SD, and MicroSD.
[0041] In an embodiment of the present invention, the speech synthesis module 205 is configured to synthesize parameter request speech, which is used to request required parameters from the user. Figure 4 The speech synthesis module 205 can either concatenate pre-recorded speech segments to form a complete parameter request speech, or retrieve a pre-recorded complete parameter request speech directly from a database. Furthermore, the speech synthesis module 205 can also use a speech synthesizer that includes a vocal tract model and other human voice feature parameters to generate a complete parameter request speech.
[0042] In embodiments of the present invention, the voice output device 206 is configured to output parameter request voice, which is used to request required parameters from the user. The voice output device 206 can be a speaker of various types, and the present invention does not limit its size, shape, or operating principle.
[0043] In embodiments of the present invention, the speech recognition module 202, the control module 203, and the speech synthesis module 205 can be implemented by the processing unit of the electronic device 10. The processing unit can be any device for executing instructions, such as a central processing unit (CPU), a microprocessor, an embedded controller, a microcontroller, or a combination thereof.
[0044] Figure 5 This is a flowchart illustrating a method 300 for configuring parameters of an electronic device 10 via voice, according to an embodiment of the present invention. Method 300 includes at least a parameter configuration phase 303, and may further include an optional wake-up phase 301 and / or a subsequent demand confirmation phase 302.
[0045] During the wake-up phase 301, the electronic device 10 detects whether any user (or only authorized users) utters a specific wake-up word. The wake-up word can be a greeting, the nickname of the electronic device 10, or a combination of both; this invention is not limited thereto. In response to detecting that a user utters a wake-up word, the electronic device 10 will ask the user for their needs via voice, and then proceed to the needs confirmation phase 302.
[0046] During the demand confirmation phase 302, the electronic device 10 can interact with the user via voice to confirm whether the user's intention to wake up the electronic device 10 is for parameter configuration. If the user's intention is determined to be parameter configuration, the electronic device 10 will guide the user into the parameter configuration phase 303 via voice.
[0047] At the parameter configuration stage 303, the electronic device 10 obtains the first communication parameter from the interaction with the user, and uses the first communication parameter to communicate with the first server 11 to obtain the operation parameter 101.
[0048] Each stage of the method 300 will be described in detail below with reference to Figure 6 , Figure 3 and Figure 4 . Figure 4
[0049] Figure 1 is a flow chart illustrating the steps of the parameter configuration stage 303 according to an embodiment of the present application. As shown in Figure 1 , the parameter configuration stage 303 can comprise steps 401-405. Among them, step 401 can be performed by the voice input device 201, step 402 can be performed by the voice recognition module 202, and steps 403 and 404 can be performed by the control module 203.
[0050] At step 401, the first voice input from the user is received. Then, step 402 is performed.
[0051] At step 402, the first text information is recognized from the first voice input. Then, step 403 is performed.
[0052] At step 403, the first communication parameter indicated by the first text information is stored (e.g. stored in the storage unit 204). Then, step 404 is performed.
[0053] At step 404, the first communication parameter is used to communicate with the first server 11 to request the operation parameter 101 from the first server. Then, step 405 is performed.
[0054] At step 405, the operation parameter is received from the first server and stored (e.g. stored in the storage unit 204).
[0055] After the parameter configuration stage 303, the processing unit of the electronic device 10 can read the operation parameter from the storage unit to drive the elements of the electronic device to perform corresponding operations and generate corresponding data. In an embodiment, the electronic device 10 can also upload these data (e.g. data 102 and data 103 in Figure 5 ) to the corresponding server (e.g. the second server 12 and the third server 13 in Figure 5 ). In another embodiment, the electronic device 10 can also upload all these data to the first server. In a further embodiment, at step 404, the first server can also be requested to request the communication parameters (such as the second communication parameter and the third communication parameter) required for communication with other servers.
[0056] Figure 6 is a step flowchart of the wake-up stage 301 according to an embodiment of the present application. As shown, the wake-up stage 301 can comprise steps 501-505. Among them, step 501 can be performed by the voice input device 201, step 502 can be performed by the voice recognition module 202, step 503 can be performed by the control module 203, step 504 can be performed by the voice synthesis module 205, and step 505 can be performed by the voice output device 206. Figure 6
[0057] At step 501, a second voice input from a user is received. Then, step 502 is performed.
[0058] At step 502, second textual information is recognized from the second voice input. Then, step 503 is performed.
[0059] At step 503, it is determined whether the second textual information matches a wake-up word. If the second textual information matches the wake-up word, step 504 is performed. If the second textual information does not match the wake-up word, step 501 is performed again. Steps 501-503 are repeated until the second textual information matches the wake-up word.
[0060] In an embodiment, the determination of the wake-up word can be based on a keyword comparison. The keyword can be, for example, a greeting (e.g. "Hello", "Hi") and / or a nickname of the electronic device 10 (e.g. "Wei", "Zhi"). The keyword can be recorded in a wake-up word library or list, which can be stored in the storage unit 204 of the electronic device.
[0061] At step 504, a demand inquiry voice is synthesized. The demand inquiry voice is used to inquire the user's demand. For example, the demand inquiry voice can be "What do you want me to do?" or "What assistance do you need?". Then, step 505 is performed.
[0062] At step 505, the demand inquiry voice is output. Then, the user is expected to respond to the demand inquiry voice, so that the demand confirmation stage 302 of the method 300 is entered. If the user does not respond after a long time, the electronic device 10 can return to the semi-sleep state in which it runs at low power before it is woken up.
[0063] In one embodiment, the wake-up stage 301 can further comprise a step (not shown in the figure) of identifying whether the audio of the second voice input is authorized. The identification of the authorized audio can be based on an audio comparison between the second voice input and a voice pre-recorded by an authorized user and stored in the storage unit 204. In other words, if the audio difference between the second voice input and the voice pre-recorded by the authorized user and stored in the storage unit is too large (e.g., larger than a certain threshold), it can be determined that the user speaking at the moment is not the authorized user. This step can be performed before, after or simultaneously with steps 502-503, and the present application is not limited in this regard. In this embodiment, both conditions that the audio of the second voice input is authorized and that the second textual information matches the wake-up word need to be satisfied before step 504 is performed.
[0064] Figure 4 A flow chart of steps of the requirement confirmation stage 302 is drawn according to an embodiment of the present application. As shown, the requirement confirmation stage 302 can comprise steps 601-606. Among them, step 601 can be performed by the voice input device 201, step 602 can be performed by the voice recognition module 202, step 603 can be performed by the control module 203, step 604 can be performed by the voice synthesis module 205, step 605 can be performed by the voice output device 206, and step 606 can be performed by the control module 203 or the voice input device 201. Figure 7
[0065] At step 601, a third voice input from a user is received. Then, step 602 is performed.
[0066] At step 602, third textual information is recognized from the third voice input. Then, step 603 is performed.
[0067] At step 603, it is determined whether the third textual information indicates a parameter configuration intention. In other words, it is determined whether the speaking content of the user intends to configure parameters for the electronic device 10. If the speaking content of the user (i.e., the third textual information) intends to configure parameters for the electronic device 10, step 604 is performed. If the speaking content of the user does not intend to configure parameters for the electronic device 10, step 606 is performed.
[0068] For example, if the user says "I want to configure parameters," "I want to configure," "parameter configuration," or the like, it can be determined at step 603 that the user intends to configure parameters for the electronic device 10. If the user says "weather forecast," "I want to navigate," "I want to sleep," or the like, which are not related to parameter configuration, it can be determined that the user does not intend to configure parameters for the electronic device 10. In some embodiments, the determination of the parameter configuration intent can be based on a keyword comparison. Similar to the wake-up word described above, the keywords can also be recorded in a vocabulary or a list, which can be stored in the storage unit 204 of the electronic device 10.
[0069] At step 606, if the third textual information indicates another function (e.g., navigation, weather report, etc.) that the electronic device 10 provides to the user, the operation corresponding to the function is performed. If the third textual information does not indicate any function supported by the electronic device 10, or the electronic device 10 does not support any function other than parameter configuration, the process can return to step 601 to wait for the user to say a parameter configuration intent. If a long period of time elapses without receiving a valid response from the user, the electronic device 10 can return to the semi-sleep state in which the electronic device 10 operates at a low power before being woken up.
[0070] At step 604, the parameter request speech is synthesized. The parameter request speech is used to request the first communication parameter from the user. For example, the parameter request speech can be "Please enter the IP address of the server." Then, step 605 is performed.
[0071] At step 605, the parameter request speech is output. Then, the parameter configuration phase 303 of the method 300 is entered.
[0072] After step 605 is performed, the user is expected to say the first communication parameter, and thus the method 300 can enter the parameter configuration phase 303, as described in steps 401-405 of the method 300. Figure 4
[0073] In some embodiments, the electronic device 10 needs more than one first communication parameter to communicate with the first server 11. For example, in addition to the IP address, the electronic device 10 can also need the port number and the subnet mask of the first server 11 to communicate with the first server 11. Therefore, after a round of steps 401-403 is performed, the electronic device 10 needs to request the user to enter other first communication parameters before entering step 404. In addition, the multiple first communication parameters can have different formats, and thus in some embodiments, the exception case in which the input from the user does not conform to the format is also considered.
[0074] Figure 7 is a flowchart of more steps that can be included in the parameter configuration stage 303 according to an embodiment of the present application. Compared with Figure 8 The drawn steps 401-405, Figure 8 The parameter configuration stage 303 in the above embodiment can further include steps 701-706. Among them, steps 701 and 704 can be executed by the control module 203, steps 702 and 705 can be executed by the speech synthesis module 205, and steps 703 and 706 can be executed by the speech output device 206.
[0075] Step 701 is executed between steps 402 and 403. After the first text information is recognized in step 402, in step 701, it is determined whether the text information conforms to a specific format. If the text information conforms to the specific format, step 403 is performed. If the text information does not conform to the specific format, step 702 is performed.
[0076] For example, if the first communication parameter obtained by the current cycle of steps 401-704 is the IP address of the first server 11, in step 701, it is determined whether the first text information conforms to the format of the IP address, such as IPv4 or IPv6. If the first communication parameter obtained by the current cycle of steps 401-704 is the port number of the first server 11, in step 701, it is determined whether the text information conforms to the format of the port number, such as a positive integer between 1 and 65535. If the first communication parameter obtained by the current cycle of steps 401-704 is the subnet mask of the first server 11, in step 501, it is determined whether the text information conforms to the format of the subnet mask, such as IPv4 or IPv6.
[0077] In step 702, the re-input request speech is synthesized. For example, the synthesized re-input request speech can be "The content you entered is invalid. Please re-enter the IP address of the first server", "The content you entered is invalid. Please re-enter the port number of the first server", or "The content you entered is invalid. Please re-enter the subnet mask of the first server", depending on which of the IP address, port number, and subnet mask is obtained by the current cycle of steps 401-704. Then, step 703 is performed.
[0078] In step 703, the re-input request speech is output to re-request the first communication parameter from the user. Then, return to step 401 and wait for the speech input from the user again.
[0079] Step 704 is performed between step 403 and step 404. After storing the first communication parameter in step 403, in step 704, it is determined whether all the first communication parameters, such as IP address, port number and subnet mask, have been obtained. If all the first communication parameters have been obtained, step 404 is performed. If all the first communication parameters have not been obtained, step 705 is performed.
[0080] In step 705, another parameter request voice is synthesized. For example, assuming that the first communication parameter stored in step 403 is the IP address of the first server, the parameter request voice synthesized can be "please input the port number of the first server" or "please input the subnet mask of the first server", depending on whether the first communication parameter obtained in the current round of loop is the port number or the subnet mask. Then, step 706 is performed.
[0081] In step 706, another parameter request voice is outputted to request the next first communication parameter from the user. Then, back to step 401, the voice input from the user is again waited for. In the next round of loop of steps 401 to 704, the first communication parameter obtained in the loop will be changed. For example, if the IP address of the first server has been obtained, the first communication parameter obtained in the next round of loop of steps 401 to 704 can be the port number of the first server 11. If the IP address and the port number of the first server 11 have been obtained, the first communication parameter obtained in the next round of loop of steps 401 to 704 can be the subnet mask of the first server 11.
[0082] In some cases, the first server 11 can store a plurality of sets of operation parameters of the electronic device 10 for the user to select which set of operation parameters to download and apply to the electronic device 10. In the above-mentioned example of the mobile phone shell paint spraying factory, since the requirements of each order of the customer are different, the parameters (such as paint ingredient ratio, mobile phone hanging height and strength, paint spraying time, drying time, residual material washing time, etc.) to be applied to the machine tool are also different. Therefore, a plurality of sets of parameters can be stored on the server, each set of parameters corresponding to the requirements of one order. The embodiment of the present application allows the user to select one set of parameters from the plurality of sets of parameters by voice setting at the terminal (i.e. the electronic device 10), which will be described in detail below with reference to Figure 8 the steps.
[0083] is a flow chart showing more steps that can be included in the parameter configuration stage 303 according to another embodiment of the present application. As As shown, in this embodiment, the parameter configuration stage 303 can further comprise steps 801-806. Step 801 can be performed by the speech synthesis module 205, step 802 can be performed by the speech output device 206, step 803 can be performed by the speech input device 201, step 804 can be performed by the speech recognition module, and step 805 can be performed by the control module 203.
[0084] At step 801, a parameter set inquiry speech is synthesized. The parameter set inquiry speech is used to inquire which set of operation parameters selected by the user among a plurality of sets of operation parameters. For example, assume that a senior technician of a mobile phone shell factory has stored ten sets of parameters corresponding to ten orders (e.g., order number 1 corresponds to the first set of parameters, order number 2 corresponds to the second set of parameters, order number 3 corresponds to the third set of parameters, and so on) on the server, then the parameter set inquiry speech can be "please tell me the order number to be processed" or the like. Then, step 802 is performed.
[0085] At step 802, the parameter set inquiry speech is output. Then, step 803 is performed.
[0086] At step 803, a fourth speech input from the user is received. Then, step 804 is performed.
[0087] At step 804, fourth text information is recognized from the fourth speech input. Then, step 805 is performed.
[0088] In the expected case, the user normally answers and the speech is clear, the fourth text information should contain a number, such as "order number 6", "order 6" or the like. In some embodiments, a format detection mechanism similar to step 701 can be adopted to handle exceptional cases, which will not be described in detail herein.
[0089] At step 805, the set of operation parameters selected by the user indicated by the fourth text information, such as the sixth set of operation parameters corresponding to "order number 6", is downloaded from the first server. Then, step 806 is performed.
[0090] At step 806, the set of operation parameters downloaded from the first server is stored (e.g., stored in the storage unit 204). Thus, the electronic device 10 can apply the set of operation parameters selected by the user to meet the requirements of the corresponding order, such as applying the sixth set of operation parameters to meet the requirements of order number 6.
[0091] The electronic device and the method thereof provided by the present application can automatically obtain all the parameters by configuring the first communication parameter through voice. The process of parameter configuration is greatly simplified and is not limited by time and place. Furthermore, the process of configuring the first communication parameter can be guided by voice interaction, so that even the general personnel without any technical background can easily and correctly complete the parameter configuration without sending the device back to the factory for configuration. In addition, the characteristics of voice can allow the parameter configuration of multiple devices (whether the devices use the same operating parameters or different operating parameters) at the same time, saving the labor of configuration one by one.
[0092] The above paragraphs are described in various modes. Obviously, the content of the present application can be implemented in various ways, and any specific architecture or function invented in the examples is only a representative case. According to the content of the present application, any person skilled in the art should understand that each mode invented herein can be implemented independently or combined with more than two modes.
[0093] The above is only the preferred embodiment of the present application, but it is not intended to limit the scope of the present application. Any person skilled in the art can make further improvements and changes on this basis without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims of the present application.
Claims
1. An electronic device whose parameters can be configured via voice, characterized in that, include: Storage unit; A voice input device used to receive initial voice input from a user; A voice recognition module is configured to receive the first voice input from the voice input device and to recognize the first text information from the first voice input; as well as The control module is configured to perform the following steps: Receive the first text information from the speech recognition module; The first communication parameter indicated by the first text information is stored in the storage unit; The first communication parameters are used to communicate with the first server to download multiple operation parameters from the first server; and The operation parameters downloaded from the first server are stored in the storage unit. The operating parameters include a first operating parameter and a second operating parameter; and The control module is further configured to use a second communication parameter to upload the first data corresponding to the first operation parameter to a second server, and to use a third communication parameter to upload the second data corresponding to the second operation parameter to a third server.
2. The electronic device according to claim 1, wherein the second communication parameter and the third communication parameter are stored on the first server; and The control module is further configured to download the second communication parameters and the third communication parameters from the first server, and to store the second communication parameters and the third communication parameters downloaded from the first server to the storage unit.
3. The electronic device according to claim 1, wherein the control module is further configured to use the first communication parameters to upload data corresponding to the operating parameters to the first server.
4. The electronic device according to claim 1 further includes a speech synthesis module and a speech output device; The voice input device is also configured to receive a second voice input from the user; The speech recognition module is further configured to receive the second speech input from the speech input device and to recognize the second text information from the second speech input; The control module is further configured to determine whether the second text information matches a wake-up word, and in response to the second text information matching the wake-up word, to drive the speech synthesis module to synthesize a request query voice; and The voice output device is used to output the request inquiry voice.
5. The electronic device of claim 4, wherein the speech recognition module is further configured to identify whether the audio of the second speech input has been authorized, and in response to the second speech input having authorized audio and the second text information matching the wake word, to synthesize a request query speech.
6. The electronic device of claim 4, wherein the voice input device is further configured to receive a third voice input from the user in response to the voice output device outputting the request inquiry voice; The speech recognition module is further configured to receive the third speech input from the speech input device and to recognize third text information from the third speech input; The control module is further configured to determine whether the third text information indicates a parameter configuration intention, and in response to the third text information indicating the parameter configuration intention, to drive the speech synthesis module to synthesize a parameter request speech; and The voice output device is also used to output the parameter request voice.
7. The electronic device according to claim 4, wherein the control module is further configured to determine whether the first text information conforms to a specific format; The control module is further configured to, in response to the first text information not conforming to the specific format, drive the speech synthesis module to synthesize a re-input request speech; The control module is further configured to store the first communication parameter indicated by the first text information into the storage unit in response to the text information conforming to the specific format; and The voice output device is also used to output the re-entry request voice.
8. The electronic device of claim 4, wherein the control module is further configured to determine whether all the first communication parameters have been acquired; The control module is further configured to, in response to the fact that not all of the first communication parameters have been obtained, drive the speech synthesis module to synthesize another parameter request speech; The control module is further configured to, in response to having acquired all the first communication parameters, communicate with the first server using all the first communication parameters to download the operation parameters from the first server; and The voice output device is also used to output the other parameter request voice.
9. The electronic device of claim 4, wherein the speech synthesis module is further configured to synthesize a parameter group query speech, the parameter group query speech being used to ask the user which of the multiple sets of said operation parameters has been selected; The voice output device is also used to output the parameter group query voice; The voice input device is further configured to receive a fourth voice input from the user; The speech recognition module is further configured to receive the fourth speech input from the speech input device, and to recognize the fourth text information from the fourth speech input; and The control module is further configured to download the set of operation parameters selected by the user as indicated by the fourth text information from the first server, and to store the set of operation parameters.
10. A method for configuring parameters via voice, characterized in that, The method includes a parameter configuration phase, which includes the following steps: Receive the first voice input from the user; The first text information is identified from the first voice input; Store the first communication parameters indicated by the first text information; The first communication parameters are used to communicate with the first server to download multiple operation parameters from the first server; and Receive the operation parameters from the first server and store the operation parameters. The operating parameters include a first operating parameter and a second operating parameter; The first data corresponding to the first operation parameter is uploaded to the second server using the second communication parameter; and The second data corresponding to the second operation parameter is uploaded to the third server using the third communication parameter.
11. The method according to claim 10, wherein the second communication parameter and the third communication parameter are stored on the first server, and the method further comprises the following steps: Download the second communication parameters and the third communication parameters from the first server; as well as The second communication parameters and the third communication parameters downloaded from the first server are stored.
12. The method of claim 10, further comprising the step of: The first communication parameter is used to upload the data corresponding to the operation parameter to the first server.
13. The method of claim 10, further comprising a wake-up phase, the wake-up phase comprising the following steps: Receive a second voice input from the user; The second text information is identified from the second voice input; Determine whether the second text information matches the wake word; as well as In response to the second text information matching the wake word, a request query voice is synthesized; Output the requested information via voice.
14. The method according to claim 13, wherein the wake-up phase comprises the following steps: The system identifies whether the audio input of the second voice input has been authorized, and in response to the second voice input having been authorized and the second text information matching the wake word, it synthesizes a request query voice.
15. The method of claim 13, further comprising a requirements confirmation phase, the requirements confirmation phase comprising the following steps: In response to the output of the requested voice inquiry, receive a third voice input from the user; The third text information is identified from the third voice input; Determine whether the third text information indicates an intention to configure parameters; In response to the third text information indicating the parameter configuration intent, a parameter request voice is synthesized; as well as Output the parameters to request voice.
16. The method of claim 13, wherein the parameter configuration stage further comprises the following steps: Determine whether the first text information conforms to a specific format; In response to the first text information not conforming to the specific format, a re-input request voice is synthesized and output; as well as In response to the text information conforming to the specific format, the first communication parameter indicated by the first text information is stored.
17. The method of claim 10, wherein the parameter configuration stage further comprises the following step: Determine whether all the first communication parameters have been obtained; In response to the fact that not all of the first communication parameters have been obtained, a second parameter request voice is synthesized, and the second parameter request voice is output; and In response to having obtained all the first communication parameters, the system communicates with the first server using all the first communication parameters to download the operation parameters from the first server.
18. The method of claim 10, wherein the parameter configuration stage further comprises the following step: A parameter group query voice is synthesized, which is used to ask the user which of the multiple sets of operation parameters they have selected; Output the parameter group query voice; Receive a fourth voice input from the user; The fourth text information is identified from the fourth voice input; Download the set of operation parameters selected by the user as indicated by the fourth text information from the first server; as well as Store this set of operating parameters.
Citation Information
Patent Citations
Data processing method and system, storage medium, and processor
CN109241020A