WO2022257667A1 - Router control method, apparatus, and storage medium - Google Patents
Router control method, apparatus, and storage medium Download PDFInfo
- Publication number
- WO2022257667A1 WO2022257667A1 PCT/CN2022/091359 CN2022091359W WO2022257667A1 WO 2022257667 A1 WO2022257667 A1 WO 2022257667A1 CN 2022091359 W CN2022091359 W CN 2022091359W WO 2022257667 A1 WO2022257667 A1 WO 2022257667A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- router
- terminal device
- radio frequency
- voice
- instruction
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 126
- 238000012545 processing Methods 0.000 claims description 57
- 230000004044 response Effects 0.000 claims description 38
- 230000005855 radiation Effects 0.000 claims description 34
- 238000012790 confirmation Methods 0.000 claims description 9
- 230000008859 change Effects 0.000 claims description 3
- 230000005670 electromagnetic radiation Effects 0.000 abstract description 16
- 238000005516 engineering process Methods 0.000 abstract description 9
- 230000000694 effects Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 33
- 238000010586 diagram Methods 0.000 description 33
- 238000004590 computer program Methods 0.000 description 13
- 230000005236 sound signal Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 230000003993 interaction Effects 0.000 description 6
- 230000004913 activation Effects 0.000 description 5
- 230000036541 health Effects 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000003203 everyday effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
Definitions
- the present application relates to the technical field of terminals, and in particular to a router control method, device and storage medium.
- a general router is provided with an on/off key, through which the user can turn on or off the router.
- the router When the router is turned on, the turned on router will generate a certain amount of electromagnetic radiation, which may affect the human body, especially for special groups of people (for example, pregnant women or children, etc.).
- the router is usually placed in a fixed position, and it is not convenient for the user to control its switch at any time. Therefore, the user usually does not turn off the router, and the router is in a state of being turned on for a long time.
- Embodiments of the present application provide a router control method, device, and storage medium, which relate to the technical field of terminals and help reduce the impact of electromagnetic radiation from routers on the health of users.
- an embodiment of the present application provides a router control method, which is applied to a router control system.
- the router control system includes: a terminal device and a router; the method includes: the terminal device acquires user instructions; the terminal device determines that the user instructions are used to indicate The router turns off at least one radio frequency device in the router; the terminal device sends control command information to the router, and the control command information is used to control the shutdown of at least one radio frequency device; the router determines the target radio frequency control command according to the control command information, and the target radio frequency control command is the control command The information corresponds to an instruction for controlling at least one radio frequency device; the router executes the target radio frequency control instruction to turn off the at least one radio frequency device.
- the terminal device obtains the user instruction, and sends the control instruction information corresponding to the user instruction to the router, and the router receives the control instruction information from the terminal device to control and shut down at least one radio frequency device in the router, realizing the remote shutdown of the router by the terminal device radio frequency devices.
- This method of controlling and turning off the radio frequency device of the router is convenient for the user to turn off the radio frequency device in the router in time, thereby reducing the influence of the electromagnetic radiation of the router on the user.
- the acquiring the user instruction by the terminal device includes: the terminal device collects first voice information of the environment where the terminal device is located, and converts the first voice information into first audio data in a preset format; When the audio data includes a wake-up word, the terminal device sends voice reply information; the wake-up word is used to wake up the terminal device, and the voice reply information is used to indicate that the terminal device is awakened; the terminal device collects the second voice information of the environment where the terminal device is located; The second voice information is a user instruction; or, the terminal device collects third voice information of an environment where the terminal device is located, and the third voice information is the user instruction.
- the terminal device receives a user instruction in the form of voice, so as to control the router to turn off at least one radio frequency device. This further facilitates the user's operation, and the distance between the terminal equipment and the user no longer prevents the user from turning off the radio frequency device of the router, thereby reducing the influence of the electromagnetic radiation of the router on the user.
- the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router, including: the terminal device converts the user instruction into second audio data in a preset format; When the preset condition is satisfied, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router.
- the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router, including: when the second audio data includes the first In the case of the instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router; or, when the second audio data exists in the pre-stored voice instruction data, the terminal device determines that the user instruction is used to Instruct the router to turn off at least one radio frequency device in the router; or, in the case where the second audio data includes a wake-up word, and the second audio data includes the first instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off at least one of the routers RF devices.
- the user instruction is used to instruct the router to turn off at least one radio frequency device, which improves the fault tolerance of the terminal device for determining that the voice instruction is used to instruct the router to turn off at least one radio frequency device, and enhances operational reliability.
- D By comparing the voice data of the second audio data, it is determined that the voice command is used to instruct the router to turn off at least one radio frequency device, which has relatively high security, and the voice command is only determined when the second audio data is exactly the same as the pre-stored voice data Used to instruct the router to turn off at least one radio frequency device.
- the second audio data includes a wake-up word and includes an instruction keyword, determining that the user instruction is used to instruct the router to turn off at least one radio frequency device can prevent misoperation.
- first correspondences are stored in the terminal device, the first correspondence is the correspondence between voice instruction data and instruction information
- the method further includes : The terminal device receives the first preset operation for the target recording control in the voice command management interface; the terminal device responds to the first preset operation, the terminal device displays the voice input interface, and collects the fourth voice in the environment where the terminal device is located information; the target recording control is used to record voice command data for the control command information; the terminal device displays the character information corresponding to the fourth voice information in the feedback interface, or the terminal device plays the fourth voice information; the terminal device responds to the fourth voice information
- the information confirmation instruction stores the corresponding relationship between the target voice command data and the control command information; the target voice command data is the voice command data obtained based on the fourth voice information.
- the terminal device can receive user input through interaction with the user interface and voice interaction, and set a user instruction for controlling at least one radio frequency device of the router in response to the user input, so that the user instruction can be
- the terminal device stores a plurality of first correspondences, the first correspondence is the correspondence between voice command data and command information, and the method further includes: the terminal device collects information about the environment where the terminal device is located. fifth voice information, and convert the fifth voice information into third audio data in a preset format; when the third audio data includes a wake-up word and includes a second instruction keyword, the terminal device plays the voice instruction input prompt information ; The voice command input prompt information is used to prompt the user to record voice command data for the control command information; the terminal device collects the sixth voice information of the environment where the terminal device is located, and plays the seventh voice information, the seventh voice information includes the sixth voice information; The seventh voice information is used for the user to confirm the sixth voice information; the terminal device collects the eighth voice information of the environment where the terminal device is located, and converts the eighth voice information into fourth audio data in a preset format; in the fourth audio data When the third instruction keyword is included, the terminal device stores the correspondence between the audio data in the preset format obtained by converting the sixth voice
- the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router, inputting the voice of turning off Bluetooth, At least one of the voice of turning on Bluetooth, the voice of turning off infrared, the voice of turning on infrared, the voice of low radiation mode or the voice of closing mode is recorded.
- the first instruction keyword includes: at least one of turning off Wi-Fi, turning off a router, turning off Bluetooth, turning off infrared, a low-radiation mode, or an off mode.
- the terminal device acquires user instructions, including: the terminal device distinguishes and displays the mode of the router according to the current mode of the router and the switchable mode of the router in the first router management interface; wherein, the current mode of the router is In the current mode, at least one radio frequency device of the router is turned on; the terminal device receives the second preset operation of the switch control for the target mode in the first router management interface; the target mode is a mode in the switchable mode, and in the target mode , at least one radio frequency device of the router is in an off state; in response to a second preset operation, a user instruction is obtained; the user instruction is used to switch the router from a current mode to a target mode. In this way, the user can turn off the radio frequency devices in the router in batches by switching the mode, and the operation is more convenient.
- the mode of the router includes a full fire mode, a low radiation mode, and an off mode;
- the full fire mode is used to characterize the wireless fidelity radio frequency device in the router and except for the wireless Other radio frequency devices other than the real radio frequency device are in the on state;
- the low radiation mode is used to indicate that the wireless fidelity radio frequency device of the router is in the off state, and the other radio frequency devices are in the on state;
- the off mode It is used to indicate that the wireless fidelity radio frequency device in the router is in an off state, and the other radio frequency devices are in an off state.
- the terminal device obtains user instructions, including: the terminal device displays the switch of each radio frequency device in the router on the second router management interface, and the on or off status of each radio frequency device; The third preset operation for the target switching switch in the second router management interface; the target switching switch is used to turn on or off the target radio frequency device; the terminal device obtains user instructions in response to the third preset operation; the user instructions are used to control the shutdown of the router Target RF device.
- the router determines the target radio frequency control command according to the control command information, including: the router converts the control command information into a target digital signal according to preset rules; the router reads the The radio frequency control instruction corresponding to the target digital signal is used as the target radio frequency control instruction; the second correspondence includes the correspondence between the target digital signal and the radio frequency control instruction.
- the method further includes: the router executes preset feedback, and the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
- the router performs preset feedback, including: the router sends a feedback signal to the terminal device, and the feedback signal is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off; Feedback information is displayed on the feedback interface of the terminal device, or the terminal device plays feedback voice information according to the feedback signal, so as to feed back to the user whether at least one radio frequency device is successfully turned off. In this way, the terminal device feeds back to the user whether at least one radio frequency device is successfully turned off, which facilitates the user to obtain feedback information, thereby improving user experience.
- the router performs preset feedback, including: the router plays feedback voice information, and the feedback voice information is used to feedback to the user whether at least one radio frequency device is successfully turned off; or, the router changes the color of the information light to inform the user Feedback whether the shutdown of at least one RF device was successful. In this way, the router feeds back to the user whether at least one radio frequency device is successfully turned off, and the user can intuitively see the feedback from the router, thereby improving user experience.
- the router includes a Bluetooth module, and the terminal device sends control command information to the router, including: the terminal device sends control command information to the Bluetooth module of the router based on the Bluetooth radio frequency device; the control command information is a Bluetooth radio frequency control signal .
- a router control method is provided, which is applied to a router control system.
- the router control system includes: a terminal device, a server, and a router; the method includes: the terminal device obtains a user instruction; the terminal device determines that the user instruction is used to request the terminal device Send a request message to the server to control the router to turn off at least one radio frequency device in the router; the terminal device sends a request message to the server, and the request message includes the identification of the router; the server sends an indication message to the router, and the indication message is used to instruct the router to turn off at least one radio frequency device The router determines the target radio frequency control command according to the indication message, and the target radio frequency control command is an command corresponding to the indication message for controlling at least one radio frequency device; the router executes the target radio frequency control command to turn off at least one radio frequency device.
- the terminal device, the router, and the server work together to remotely control the router to turn off at least one radio frequency device, so that the user can turn off the radio frequency device in the router in time, thereby reducing the impact of the electromagnetic radiation of the router on the user.
- the acquiring the user instruction by the terminal device includes: the terminal device collects first voice information of the environment where the terminal device is located, and converts the first voice information into first audio data in a preset format; When the audio data includes a wake-up word, the terminal device sends voice reply information; the wake-up word is used to wake up the terminal device, and the voice reply information is used to indicate that the terminal device is woken up; the terminal device collects the second voice information of the environment where the terminal device is located ; The second voice information is a user instruction; or, the terminal device collects third voice information of the environment where the terminal device is located, and the third voice information is a user instruction.
- the terminal device receives a user instruction in the form of voice, so as to control the router to turn off at least one radio frequency device through the server. This further facilitates the user's operation, and the distance between the terminal equipment and the user no longer prevents the user from turning off the radio frequency device of the router, thereby reducing the influence of the electromagnetic radiation of the router on the user.
- the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, including: the terminal device converts the user instruction into second audio data in a preset format; When the condition is set, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server.
- the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, including: when the second audio data includes the first instruction key In the case of words, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server; or, when the second audio data exists in the pre-stored voice instruction data, the terminal device determines that the user instruction is used to request the terminal device Sending a request message to the server; or, when the second audio data includes a wake-up word and the second audio data includes the first instruction keyword, the terminal device determines that the user instruction is for requesting the terminal device to send a request message to the server.
- the user command is used to request the terminal device to send a request message to the server, which improves the fault tolerance of the terminal device for determining that the voice command is used to request the terminal device to send a request message to the server, and enhances Operation friendliness.
- the voice data of the second audio data it is determined that the user instruction is used to request the terminal device to send a request message to the server.
- the security is relatively high, and the voice is determined only when the second audio data is exactly the same as the pre-stored voice data.
- the instruction is used to request the terminal device to send a request message to the server.
- the second audio data includes a wake-up word and an instruction keyword, it is determined that the user instruction is used to request the terminal device to send a request message to the server, which can prevent misoperation.
- the terminal device stores a plurality of first correspondences, the first correspondence is the correspondence between voice command data and command information
- the method further includes: the terminal device receives in the voice command management interface For the first preset operation of the target recording control; in response to the first preset operation, the terminal device displays a voice input interface, and collects voice information in the environment where the terminal device is located; the target recording control is used to record voice commands for control instruction information data; the terminal device displays the character information corresponding to the collected voice information in the feedback interface, or the terminal device plays the collected voice information; the terminal device responds to the confirmation instruction of the collected voice information, stores the target voice command data and the control The corresponding relationship of instruction information; the target voice instruction data is the voice instruction data obtained based on the collected voice information.
- the terminal device can receive user input through interaction with the user interface and voice interaction, and set a user instruction for controlling at least one radio frequency device of the router in response to the user input, so that the user instruction can be customized, thereby improving user experience.
- the terminal device stores a plurality of first correspondences, the first correspondence is the correspondence between voice command data and command information, and the method further includes: the terminal device collects the environment where the terminal device is located the fifth voice information, and convert the fifth voice information into the third audio data in the preset format; when the third audio data includes the wake-up word and the second instruction keyword, the terminal device plays the voice instruction input prompt information; the voice command input prompt information is used to prompt the user to record voice command data for the control command information; the terminal device collects the sixth voice information of the environment where the terminal device is located, and plays the seventh voice information, the seventh voice information includes the sixth voice information The seventh voice information is used to prompt the user to confirm the sixth voice information; the terminal device collects the eighth voice information of the environment where the terminal device is located, and converts the eighth voice information into fourth audio data in a preset format; When the data includes the third instruction keyword, the terminal device stores the corresponding relationship between the audio data in the preset format obtained by converting the sixth voice information and the control instruction information.
- the terminal device stores
- the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router, inputting the voice of turning off Bluetooth, At least one of the voice of turning on Bluetooth, the voice of turning off infrared, the voice of turning on infrared, the voice of low radiation mode or the voice of closing mode is recorded.
- the first instruction keyword includes: at least one of turning off Wi-Fi, turning off a router, turning off Bluetooth, turning off infrared, a low-radiation mode, or an off mode.
- the terminal device acquires user instructions, including: the terminal device distinguishes and displays the mode of the router according to the current mode of the router and the switchable mode of the router in the first router management interface; wherein, the current mode of the router is In the current mode, at least one radio frequency device of the router is turned on; the terminal device receives the second preset operation of the switch control for the target mode in the first router management interface; the target mode is a mode in the switchable mode, and in the target mode , at least one radio frequency device of the router is turned off; the terminal device obtains a user instruction in response to a second preset operation; the user instruction is used to switch the router from a current mode to a target mode.
- the mode of the router may include turning on or off of multiple radio frequency devices, and controlling the mode of the router by the terminal device can realize turning on or off of the multiple radio frequency devices of the router, which is convenient for users to operate.
- the terminal device obtains user instructions, including: the terminal device displays the switch of each radio frequency device in the router on the second router management interface, and the on or off status of each radio frequency device; The third preset operation for the target switching switch in the second router management interface; the target switching switch is used to turn on or off the target radio frequency device; the terminal device obtains user instructions in response to the third preset operation; the user instructions are used to control the shutdown of the router Target RF device.
- the mode of the router includes a full-fire mode, a low-radiation mode, and an off mode; the full-fire mode is used to characterize the wireless fidelity radio frequency device in the router and other than the wireless fidelity radio frequency device. Other radio frequency devices are on; low radiation mode is used to indicate that the Wi-Fi radio device in the router is off, and other radio frequency devices are on; off mode is used to indicate that the Wi-Fi radio device in the router is off, and Other RF devices are turned off.
- the router determines the target radio frequency control instruction according to the indication message, including: the router converts the indication message into a target digital signal according to preset rules; 3), the radio frequency control instruction corresponding to the target digital signal is read as the target radio frequency control instruction; the second correspondence includes the correspondence between the target digital signal and the radio frequency control instruction.
- the method further includes: the router executes preset feedback, and the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
- the router performs preset feedback, including: the router sends a feedback message to the terminal device through the server, and the feedback message is used for the terminal device to feedback to the user whether at least one radio frequency device is successfully turned off; Feedback information corresponding to the feedback message is displayed on the feedback interface of the terminal device, or the terminal device plays feedback voice information according to the feedback message, so as to feed back to the user whether at least one radio frequency device is successfully turned off.
- the terminal device feeds back to the user whether at least one radio frequency device is successfully turned off, which facilitates the user to obtain feedback information, thereby improving user experience.
- the router performs preset feedback, including: the router plays feedback voice information, and the feedback voice information is used to feedback to the user whether at least one radio frequency device is successfully turned off; or, the router changes the color of the information light to inform the user Feedback whether the shutdown of at least one RF device was successful. In this way, the router feeds back to the user whether at least one radio frequency device is successfully turned off, and the user can intuitively see the feedback from the router, thereby improving user experience.
- a router including: an acquisition unit and a processor; the acquisition unit is used to acquire control instruction information; the control instruction information is a Bluetooth radio frequency control signal, or the control instruction information is audio data; the processor is used for When the control instruction information satisfies the preset condition, determine that the control instruction information is used to control turning on or off at least one radio frequency device in the router; the processor is also used to: determine the target radio frequency control instruction according to the control instruction information, the target radio frequency control instruction Instructions corresponding to the control instruction information for controlling at least one radio frequency device; the processor is further configured to: execute a target radio frequency control instruction to turn on or off at least one radio frequency device.
- the acquisition unit includes a Bluetooth module; the Bluetooth module is specifically used to: receive control instruction information; the control instruction information is a Bluetooth radio frequency control signal.
- the acquisition unit further includes: an audio processing module, and the audio processing module is specifically configured to: collect first voice information of the environment where the router is located, and convert the first voice information into first audio data in a preset format; the processor Specifically used for: when the first audio data includes a wake-up word, control the audio processing module to play voice reply information; the wake-up word is used to wake up the router; the voice reply information is used to indicate that the router is woken up; the audio processing module is also used for: collecting The second voice information of the environment where the router is located, and convert the second voice information into second audio data in a preset format; the processor is specifically used to: determine the second audio data when the second audio data meets the preset conditions The data is used to control the opening or closing of at least one radio frequency device in the router; the second audio data is control instruction information; or, the audio processing module is specifically used to: collect the third voice information of the environment where the router is located, and convert the third voice information It is third audio data in a preset format; the processor is specifically used for:
- the processor is configured to: if the second audio data includes the first instruction keyword, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router; or, the processor is configured to: in the second If the audio data exists in the pre-stored plurality of voice command data, it is determined that the second audio data is used to control turning on or off at least one radio frequency device in the router; or, the processor is configured to: when the second audio data includes a wake-up word, and In the case where the second audio data includes the first instruction keyword, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router; or, the processor is configured to: when the third audio data includes the first instruction keyword In this case, the determination of the third audio data is used to control the opening or closing of at least one radio frequency device in the router; or, the processor is used to: determine the third audio data when the third audio data exists in the pre-stored multiple voice instruction data.
- the data is used to control at least one radio frequency device in the router to be turned on or off; or, the processor is used to: when the third audio data includes a wake-up word, and the third audio data includes the first instruction keyword, determine the third audio data. It is used to control to turn on or turn off at least one radio frequency device in the router.
- the router further includes a storage unit, in which a plurality of first correspondences are stored; the first correspondence is a correspondence between an instruction keyword and a radio frequency control instruction, and the processor is specifically configured to: determine the information included in the control instruction information The target instruction keyword, from a plurality of first correspondences, read the radio frequency control instruction corresponding to the target instruction keyword as the target radio frequency control instruction; the first instruction keyword includes the target instruction keyword; or, the storage unit stores A plurality of second correspondences; the second correspondence is the correspondence between voice instruction data and radio frequency control instructions; the processor is specifically used to: read the radio frequency control instructions corresponding to the control instruction information from the plurality of first correspondences as the target RF control commands.
- a storage unit in which a plurality of first correspondences are stored
- the first correspondence is a correspondence between an instruction keyword and a radio frequency control instruction
- the processor is specifically configured to: determine the information included in the control instruction information The target instruction keyword, from a plurality of first correspondences, read the radio frequency control instruction corresponding to the target instruction keyword
- the audio processing module is also used to: collect fourth voice information of the environment where the router is located, and convert the fourth voice information into fourth audio data in a preset format; the processor is also used to: Including the wake-up word and including the second instruction keyword, the audio processing module is controlled to play the voice command input prompt information; the voice command input prompt information is used to prompt the user to input the target voice command to control the opening or closing of at least one radio frequency device in the router data; the audio processing module is used to: collect the fifth voice information of the environment where the router is located, and play the sixth voice information, the sixth voice information includes the fifth voice information; the sixth voice information is used to prompt the user to confirm the fifth voice information; The audio processing module is also used to: collect the seventh voice information of the environment where the router is located, and convert the seventh voice information into fifth audio data in a preset format; the processor is specifically used to: include the third instruction in the fifth audio data In the case of keywords, the corresponding relationship between the audio data in the preset format obtained by the conversion of the fifth voice information and
- the second instruction keyword includes: input the voice of turning off Wi-Fi, input the voice of turning on Wi-Fi, input the voice of turning off the router, input the voice of turning on the router, input the voice of turning off Bluetooth, input the voice of turning on Bluetooth 1. Record at least one of the voice of turning off infrared, the voice of turning on infrared, the voice of low radiation mode or the voice of off mode.
- the first instruction keyword includes: at least one of turning off Wi-Fi, turning off a router, turning off Bluetooth, turning off infrared, a low-radiation mode, or an off mode.
- the processor is further configured to: execute preset feedback, where the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
- the router further includes a sending unit, configured to send a feedback message to the terminal device, where the feedback message is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off.
- a sending unit configured to send a feedback message to the terminal device, where the feedback message is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off.
- the audio processing module is also used to: play feedback voice information, and the feedback voice information is used to feed back to the user whether at least one radio frequency device is successfully turned off; or, the processor controls to change the color of the information light to feedback to the user whether to turn off at least one radio frequency device device is successful.
- the obtaining unit is also used to: obtain the opening condition of the router; the opening condition includes that the time period that the router is in the off state is greater than or equal to the preset closing time; or, the opening condition includes that the current time of the router is the preset opening time point; processing The switch is also used to start the router when the router meets the start condition.
- the acquiring unit is also used to: acquire the shutdown condition of the router; the shutdown condition includes that the duration of the router being in the ON state is greater than or equal to the preset ON duration; or, the shutdown condition includes that the current time of the router is the preset shutdown time point; processing The router is also used to shut down the router when the router satisfies the shutdown condition.
- an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is run on a computer, the computer executes the first aspect or the first aspect.
- a method performed by a terminal device or a router in a router control method described in any possible implementation of the second aspect, or causing a computer to execute the second aspect or the method described in any possible implementation of the second aspect A method performed by a terminal device, a server, or a router in a router control method.
- the embodiment of the present application provides a computer program product including a computer program, when the computer program runs on the computer, the computer executes one of the first aspect or any one of the possible implementations of the first aspect.
- the present application provides a chip or a chip system, the chip or chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through lines, and the at least one processor is used to run computer programs or instructions, A method performed by a terminal device or a router in a router control method described in the first aspect or any possible implementation of the first aspect, or to implement the second aspect or any one of the second aspect A method performed by a terminal device, a server, or a router in the router control method described in a possible implementation; wherein, the communication interface in the chip may be an input/output interface, a pin, or a circuit.
- the chip or the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory.
- the memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (eg, a read-only memory, a random access memory, etc.).
- the embodiment of the present application provides an electronic device, which can implement the router control method performed by the terminal device or the router described in the first aspect or in any possible implementation manner of the first aspect. method, or to execute the method performed by the terminal device, server, or router in the router control method described in the second aspect or any possible implementation of the second aspect; wherein, the communication interface in the chip can be an input/ Output interface, pin or circuit, etc.
- FIG. 1 is a schematic diagram of a router to which the embodiment of the present application is applicable;
- FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of another application scenario provided by the embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a router provided in an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of another router provided in an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a server provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of a router control system provided in an embodiment of the present application.
- FIG. 9 is a schematic diagram of another router control system provided by an embodiment of the present application.
- FIG. 10 is a schematic diagram of another router control system provided by an embodiment of the present application.
- FIG. 11 is a schematic diagram of another router control system provided by an embodiment of the present application.
- FIG. 12 is a schematic flowchart of a router control method provided in an embodiment of the present application.
- FIG. 13 is a schematic diagram of the terminal device obtaining the corresponding relationship between the voice instruction data and the radio frequency control instruction and sending it to the router provided by the embodiment of the present application;
- FIG. 14 is a schematic flowchart of another router control method provided in the embodiment of the present application.
- FIG. 15 is a schematic diagram of an interface of a terminal device provided in an embodiment of the present application.
- FIG. 16 is a schematic diagram of another interface of a terminal device provided by an embodiment of the present application.
- FIG. 17 is a schematic diagram of a terminal device displaying feedback information to a user on an interface provided by an embodiment of the present application.
- FIG. 18 is another schematic diagram of displaying feedback information to a user by a terminal device provided in an embodiment of the present application.
- FIG. 19 is a schematic flowchart of another router control method provided in the embodiment of the present application.
- FIG. 20 is a schematic flowchart of another router control method provided in the embodiment of the present application.
- FIG. 21 is a schematic diagram of a terminal device sending an activation condition to a router in response to a user operation provided by an embodiment of the present application;
- FIG. 22 is a schematic diagram of another terminal device sending an enabling condition to a router in response to a user operation provided in an embodiment of the present application;
- FIG. 23 is a schematic diagram of another terminal device sending an enabling condition to a router in response to a user operation provided in an embodiment of the present application;
- FIG. 24 is a schematic flowchart of another router control method provided in the embodiment of the present application.
- FIG. 25 is a schematic structural diagram of a router provided in an embodiment of the present application.
- words such as “first” and “second” are used to distinguish the same or similar items with basically the same function and effect.
- the first chip and the second chip are only used to distinguish different chips, and their sequence is not limited.
- words such as “first” and “second” do not limit the number and execution order, and words such as “first” and “second” do not necessarily limit the difference.
- “at least one” means one or more, and “multiple” means two or more.
- “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural.
- the character “/” generally indicates that the contextual objects are an “or” relationship.
- “At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items.
- At least one item (piece) of a, b, or c can represent: a, b, c, a-b, a--c, b-c, or a-b-c, where a, b, c can be single or is multiple.
- a router is a hardware device that connects two or more networks and acts as a gateway between the networks.
- a router can read the address in a packet it receives and, based on that address, forward the packet to that address.
- a router includes multiple radio frequency devices. When the router is turned on, certain electromagnetic radiation will be generated. Electromagnetic radiation may cause damage to the human body, especially when there are pregnant women or children at home, they are more sensitive to electromagnetic radiation.
- the router can be provided with an on/off key, and the on/off key is used for the user to turn on or off the router.
- the router 10 is provided with an on/off key 101 , and the user can turn on the router 10 or turn off the router 10 by operating the on/off key 101 .
- the router 10 in the off state after the switch key 101 is pressed, the router 10 is turned on; for the router 10 in the open state, after the switch key 101 is pressed, the router 10 is turned off.
- Figure 2 is a schematic diagram of an application scenario of the embodiment of the present application.
- the router is placed in the living room on the first floor, and the user is in the bedroom on the second floor. It is inconvenient to walk from the bedroom on the second floor to the living room on the first floor and press the switch button of the router to turn off or turn on the router.
- FIG. 3 is a schematic diagram of another application scenario of the embodiment of the present application.
- the router is placed in the living room.
- the user is in the bedroom on the same floor as the living room. inconvenient.
- the embodiment of the present application provides a router control method, and the router can be turned on or off by voice or terminal device control.
- the user can control turning on or off the router by operating the terminal device held by him, or the user can turn on or turn off the router by voice.
- the user will not be limited to the location where the router is placed to turn on or off the router, and can control the router conveniently.
- the router can also support turning off the radio frequency device in the router by voice or terminal equipment, so as to Reduce the radiation of the router.
- the router may keep some radio frequency devices used for communicating with the terminal device on, for example, the router may keep the Bluetooth radio frequency device on . Turn off other radio frequency devices, such as Wi-Fi radio frequency devices, etc., so that the electromagnetic radiation of the router can still be reduced, and the router can receive control commands sent by terminal devices based on Bluetooth radio frequency devices, etc., and turn on the router conveniently according to the control commands RF devices that are turned off in the
- FIG. 4 is a schematic structural diagram of a router provided by an embodiment of the present application.
- the router 40 shown in FIG. 4 includes a Bluetooth module 401 , a processor 402 and a radio frequency device 403 .
- the Bluetooth module 401 includes a Bluetooth transceiver 4011, a Bluetooth front-end module 4012 and an antenna 4013, and the Bluetooth transceiver 4011 is used for converting baseband signals into Bluetooth radio frequency signals.
- Bluetooth front-end module 4012 includes power amplifier (power amplifier, PA), filter and low noise amplifier etc. Among them, the power amplifier is used to amplify the radio frequency signal of the transmitting channel; the filter is used to filter the transmitting and receiving signals; the low noise amplifier is mainly used for amplifying small signals in the receiving channel.
- the antenna 4013 is used for receiving or sending Bluetooth radio frequency signals.
- the processor 402 may include one or more processing units, for example, may include a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), a digital signal processor (digital signal processor, DSP), a micro Processor (micro-programmed control unit, MCU), artificial intelligence (artificial Intelligence, AI) processor or programmable logic device (field programmable gatearray, FPGA) and other processing modules or processing circuits.
- a central processing unit central processing unit, CPU
- an image processor graphics processing unit, GPU
- DSP digital signal processor
- MCU micro Processor
- AI artificial Intelligence
- FPGA field programmable gatearray
- a storage unit may be provided in the processor 402 for storing instructions and data.
- the storage unit in processor 402 is a cache memory.
- at least one of multiple first correspondences, second correspondences and third correspondences is stored in the storage unit of the processor 402 .
- the first correspondence is the correspondence between instruction keywords and radio frequency control instructions
- the second correspondence is the correspondence between voice instruction data and radio frequency control instructions.
- the third correspondence is the correspondence between digital signals and radio frequency control instructions.
- the Bluetooth transceiver 4011 may be integrated with the processor 402, and the Bluetooth transceiver 4011 may also be integrated in the Bluetooth module 401, which is not limited in this embodiment of the present application.
- the radio frequency device 403 is a device that can generate high-frequency alternating electromagnetic waves.
- the radio frequency device 403 can convert binary digital signals into high-frequency wireless electromagnetic wave signals during the process of transmitting signals;
- the received radio electromagnetic wave signal is converted into a binary digital signal.
- the radio frequency device 403 includes wireless fidelity (wireless fidelity, Wi-Fi) radio frequency device, bluetooth (bluetooth, BT) radio frequency device, 2G/3G/4G/5G and other radio frequency devices, frequency modulation (frequency modulation, FM) radio frequency device and short distance Wireless communication technology (near field communication, NFC) radio frequency devices, etc.
- FIG. 5 is a schematic structural diagram of another router provided by an embodiment of the present application.
- the router 50 shown in FIG. 5 includes an audio processing module 501 , a processor 502 and a radio frequency device 503 .
- the audio processing module 501 includes an audio receiver 5011 , an audio amplifier 5012 and an audio codec 5013 .
- the audio receiver 5011 can be used to receive sound signals and convert the sound signals into audio electrical signals.
- audio receiver 5011 may be a microphone.
- the audio amplifier 5012 can be used to convert the electrical audio signal into a sound signal and then output it.
- audio speaker 5012 may be a speaker.
- the audio codec 5013 is used to convert digital audio signals into electrical audio signals, or convert electrical audio signals into digital audio signals that can be recognized by the processor 502 .
- the audio processing module 501 can be set in the processor 502 , or some functional modules of the audio processing module 501 can be set in the processor 502 .
- Router 50 in FIG. 5 may also include all parts of router 40 in FIG. 4 . This embodiment of the present application does not limit it.
- FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the terminal device 20 shown in FIG. 6 includes an antenna 1, an antenna 2, a processor 201, a memory 202, a wireless communication module 203, a power supply 204, A communication module 205, an audio processing module 206, a display screen 207, a sensor module 208, buttons 209, and the like.
- the audio processing module 206 includes an audio transceiver 2061 and an audio codec 2062 .
- the audio transceiver 2061 includes an audio receiver (such as a microphone) and an audio amplifier (such as a speaker and an earpiece, etc.). The audio amplifier can be used to convert the audio signal into a sound signal and then output it.
- the terminal device 20 can output a sound signal through a speaker. Audio receivers can be used to convert collected sound signals into electrical signals.
- the audio receiver may include a primary microphone and a secondary microphone.
- the processor 201 may include one or more processing units, for example: the processor 201 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
- application processor application processor, AP
- modem processor graphics processing unit
- graphics processing unit graphics processing unit
- ISP image signal processor
- controller video codec
- digital signal processor digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural network processor neural-network processing unit
- a memory may also be provided in the processor 201 for storing instructions and data.
- the memory in the processor 201 may be a cache memory, which may store instructions or data that are just used or recycled by the processor 201 .
- the processor 201 may include one or more interfaces, and the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, pulse code modulation ( pulse code modulation (PCM) interface, and/or universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- USB universal serial bus
- the power supply 204 supplies power for the processor 201, the memory 202, the wireless communication module 203, the mobile communication module 205, the audio processing module 206, the display screen 207, the sensor module 208 and the keys 209, etc.
- the wireless communication function of the terminal device 20 can be realized by the antenna 1, the antenna 2, the mobile communication module 205, the wireless communication module 203, and the like.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Antennas in terminal device 20 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the mobile communication module 205 can provide wireless communication solutions including 2G/3G/4G/5G applied on the terminal device 20; the wireless communication module 203 can provide solutions including wireless local area networks (wireless local area networks, WLAN) applied on the terminal device 20 ) (such as: wireless fidelity network), Bluetooth, global navigation satellite system (global navigation satellite system, GNSS), FM, short-range wireless communication technology, infrared technology (infrared, IR) and other wireless communication solutions.
- wireless local area networks wireless local area networks, WLAN
- WLAN wireless local area networks
- WLAN wireless local area networks
- GNSS global navigation satellite system
- FM FM
- short-range wireless communication technology such as: FM, FM, short-range wireless communication technology, infrared technology (infrared, IR) and other wireless communication solutions.
- the antenna 1 of the terminal device 20 is coupled to the mobile communication module 205, and the antenna 2 is coupled to the wireless communication module 203, so that the terminal device 20 can communicate with the network and other devices through a wireless communication technology;
- the wireless communication technology can Including global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), long term evolution (long term evolution, LTE ), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
- the terminal device 20 implements a display function through a display screen 207, the display screen 207 is used to display images, videos, etc., and the display screen 207 includes a display panel.
- the terminal device 20 may include 1 or N display screens 207, where N is a positive integer greater than 1.
- the terminal device 20 may implement audio receiving and sending functions through the audio processing module 206 and the like.
- the terminal device 20 may include 1 or N audio receivers (such as microphones) and audio amplifiers (such as speakers), where N is a positive integer greater than 1.
- the memory 202 may be used to store computer-executable program code, which includes instructions.
- the memory 202 may include an area for storing programs and an area for storing data.
- the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image display function, etc.) and the like.
- the sensor module 208 includes a pressure sensor 2081 for sensing pressure signals, which can convert the pressure signals into electrical signals.
- the pressure sensor 2081 can be disposed in the display screen 207 .
- the touch sensor 2082 is also called “touch device”.
- the touch sensor 2082 can be arranged on the display screen 207, and the touch sensor 2082 and the display screen 207 form a touch screen, also called “touch screen”.
- the touch sensor 2082 is used to detect a touch operation on or near it.
- the key 209 includes a volume key, an on/off key, etc.
- the key 209 may be a mechanical key or a touch key.
- the terminal device 20 can receive key input and generate key signal input related to user settings and function control of the terminal device 20 .
- FIG. 7 is a schematic structural diagram of a server provided by an embodiment of the present application.
- the server 30 shown in FIG. 7 may include at least one processor 301 , a communication line 302 , a memory 303 and at least one communication interface 304 .
- the processor 301 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, ASIC), or one or more for controlling the execution of the application program program integrated circuit.
- CPU central processing unit
- ASIC application-specific integrated circuit
- the communication line 302 may include at least one path, such as a data bus, and/or a control bus, for transmitting information between the aforementioned components (eg, at least one processor 301 , communication line 302 , memory 303 and at least one communication interface 304 ).
- a path such as a data bus, and/or a control bus, for transmitting information between the aforementioned components (eg, at least one processor 301 , communication line 302 , memory 303 and at least one communication interface 304 ).
- the communication interface 304 uses any device such as a transceiver for communicating with other devices or communication networks, such as wide area network (wide area network, WAN), local area network (local area networks, LAN) and so on.
- wide area network wide area network
- WAN wide area network
- local area network local area networks, LAN
- the memory 303 can be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types that can store information and instructions
- Type of dynamic storage device also can be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), read-only disc (compact disc read-only memory, CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be used by Any other medium accessed by a computer, but not limited to.
- the memory 303 may exist independently, and is connected to the processor 301 through the communication line 302 .
- the memory 303 can also be integrated with the processor 301 .
- the memory 303 provided in this embodiment of the present application generally includes a non-volatile memory.
- the memory 303 is used to store computer instructions for executing the solutions of the present application, and the execution is controlled by the processor 301 .
- the processor 301 is configured to execute computer instructions stored in the memory 303, so as to implement the methods provided in the following embodiments of the present application.
- the memory 303 stores computer instructions for realizing the functions of the server of the router control system.
- Storage 303 includes internal memory and hard disk.
- the computer instructions in the embodiments of the present application may also be referred to as application program codes or systems, which are not specifically limited in the embodiments of the present application.
- the server 30 may include a plurality of processors, and each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
- processors herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
- the server 30 may further include an output device 305 and/or an input device 306 .
- Output device 305 is in communication with processor 301 and can display information in a variety of ways.
- the output device 305 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector) Wait.
- the input device 306 communicates with the processor 301 and can receive user input in various ways.
- the input device 306 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
- the structure shown in the embodiment of the present application does not constitute a specific limitation on the router 10, the terminal device 20 and the server 30; it can be understood that the router 10, the terminal device 20 and the server 30 may include more or fewer components, or combine some components, or split some components, or arrange different components; wherein, the illustrated components can be realized by hardware, software or a combination of software and hardware.
- the method in the embodiment of the present application can be applied to a router control system, and FIG. 8 to FIG. 11 exemplarily provide four router control systems.
- the router control system includes a router, or, the router control system includes a router and a terminal device.
- the router control system shown in FIG. 8 includes a router 40 and a terminal device 20 .
- the terminal device 20 can respond to the user operation for controlling the router 40 , the terminal device 20 sends a Bluetooth radio frequency control signal to the router 40 , and the Bluetooth radio frequency control signal can be used to control the router 40 to turn on or off the radio frequency device in the router 40 .
- the mobile phone held by the user in the bedroom on the second floor may send a Bluetooth radio frequency control signal for controlling turning on or off the router in the living room on the first floor to the router in the living room on the first floor.
- the Bluetooth module of the router 40 receives the Bluetooth radio frequency control signal and converts the signal into a first control signal, the first control signal is a digital signal, and the processor of the router 40 converts the first control signal into a digital signal after receiving the first control signal.
- the second control signal may be an electrical signal for turning on or off the radio frequency device of the router 40 .
- the processor of router 40 turns on or closes the radio frequency device in the router 40 based on the second control signal, and sends a feedback signal to the bluetooth module of router 40, and the bluetooth module of router 40 converts the feedback signal into bluetooth radio frequency feedback signal, and the bluetooth module of router 40
- the Bluetooth module sends the Bluetooth radio frequency feedback signal to the terminal device 20 .
- the Bluetooth radio frequency feedback signal is used to feed back to the terminal device 20 whether the radio frequency device in the router 40 is turned on or off successfully.
- the router in the living room on the first floor sends a Bluetooth radio frequency feedback signal to the mobile phone held by the user in the bedroom on the second floor.
- the Bluetooth radio frequency feedback signal is used for the router in the living room on the first floor to feed back to the mobile phone whether the radio frequency device of the router in the living room on the first floor is turned on or off successfully.
- the terminal device 20 may display or play feedback information corresponding to the Bluetooth radio frequency feedback signal based on the Bluetooth radio frequency feedback signal.
- the feedback information is used to indicate to the user whether the radio frequency device in the router 10 is turned on or off successfully.
- the router control system shown in FIG. 9 includes a router 50 .
- the audio receiver of the router 50 receives the voice signal, and the voice signal is used to control the router 50 to turn on or off the radio frequency device.
- the router in the living room receives a voice signal in the environment where the router is located, and the voice signal may be sent by a user in a bedroom on the same floor as the router.
- the audio receiver in the router 50 receives the voice signal, and the audio codec converts the received voice signal into a third control signal, the third control signal is a digital signal, and the processor of the router 50 converts the third control signal into a
- the fourth control signal of the radio frequency device of the router the processor of the router 50 turns on or off the radio frequency device of the router according to the fourth control signal.
- the processor of the router 50 sends a feedback signal to the audio codec of the router 50, and the audio codec sends a voice feedback signal that the audio external amplifier can play to the audio external amplifier according to the feedback signal, and the audio external amplifier
- the device plays the voice feedback signal to feed back the result of turning off or turning on the radio frequency device to the user.
- the router control system shown in Fig. 10 comprises router 40 and terminal equipment 20;
- the audio frequency receiver of terminal equipment 20 can be used for receiving voice signal, and the audio frequency codec in terminal equipment 20 converts the received voice signal into the fifth control signal , the fifth control signal is a digital signal.
- the processor in the terminal device 20 obtains a sixth control signal for controlling the Bluetooth module of the terminal device 20 according to the fifth control signal.
- the Bluetooth module of the terminal device 20 sends a Bluetooth radio frequency control signal to the router 40 based on the sixth control signal, and the Bluetooth radio frequency control signal is used to control the router 40 to turn on or off the radio frequency device in the router 40 .
- the terminal device held by the user in the bedroom on the second floor sends a Bluetooth radio frequency control signal to the router in the living room on the first floor.
- the Bluetooth module of the router 40 receives the Bluetooth radio frequency control signal and converts the signal into a first control signal, and the first control signal is a digital signal.
- the processor of the router 40 receives the first control signal and converts the first control signal into a second control signal for turning on or off the radio frequency device of the router 40, and the second control signal may be an electrical signal.
- the processor of router 40 closes the radio frequency device in the router 40 based on the second control signal and sends a feedback signal to the bluetooth module of router 40, and the bluetooth module of router 40 converts the feedback signal into a bluetooth radio frequency feedback signal, and the bluetooth module of router 40 sends a feedback signal to The terminal device 20 sends the Bluetooth radio frequency feedback signal.
- the terminal device 20 displays or plays feedback information corresponding to the Bluetooth radio frequency feedback signal based on the Bluetooth radio frequency feedback signal.
- the feedback information is used to indicate whether the radio frequency device in the router 10 is turned on or off successfully.
- the router control system shown in Figure 11 comprises: terminal equipment 20, server 30 and router 40; The client end that can run router control system in terminal equipment 20, can run the service end of router control system in server 30, terminal equipment 20 responds to The user instructs to send a request message to the server 30, and the request message may be used to request the server 30 to control turning on or off at least one radio frequency device in the router 40.
- the terminal device held by the user in the bedroom on the second floor sends a request message to the server in response to a user instruction.
- the request message is used to request the server to control to turn on or off at least one radio frequency device of the router in the living room on the first floor.
- the server 30 sends an indication message to the router 40 according to the request message, where the indication message is used to instruct the router to enable or disable at least one radio frequency device in the router.
- the router 40 turns on or turns off at least one radio frequency device according to the instruction message received from the server 30 .
- the router 40 may send a feedback message to the terminal device 20 through the server 30, where the feedback message is used to indicate whether the router 40 turns on or off at least one radio frequency device successfully.
- the terminal device 20 feeds back to the user a feedback message representing whether at least one radio frequency device in the router 40 is turned on or off successfully.
- FIG. 12 is a schematic flowchart of a router control method provided in the embodiment of the present application. As shown in FIG. 12, the following steps may be included:
- the router acquires control instruction information, and determines that the control instruction information is used to turn on or turn off at least one radio frequency device in the router.
- the control instruction information may be audio data satisfying a preset condition among the audio data acquired by the router.
- the audio transceiver in the router may collect first voice information of the environment where the router is located, and convert the first voice information into first audio data in a preset format. When the first audio data satisfies the preset condition, the router determines that the control instruction information is used to turn on or turn off at least one radio frequency device in the router.
- the router detects the first instruction keyword on the first audio data, and when the router detects that the first audio data includes the first instruction keyword, it determines that the control instruction information is used to enable or disable the at least one radio frequency device.
- the first instruction keyword may be code-input.
- the first instruction keywords include "Turn off Wi-Fi”, “Turn off router”, “Turn off Bluetooth”, “Turn on Bluetooth”, “Turn on Wi-Fi”, “Turn on infrared”, “Turn off infrared”, “ Low radiation mode”, “off mode” (also known as “pregnant woman mode"), or "on mode", etc.
- a first command keyword corresponds to at least one control command of a radio frequency device.
- the first instruction keyword may also be other information, which is not limited in this embodiment of the present application.
- the audio transceiver in the router collects the first voice information in the environment where the router is located as the voice information including "Turn off Wi-Fi", and the router converts the first voice information into the first voice information in the preset format.
- the router determines that the first instruction keyword included in the first audio data is "turn off Wi-Fi", then the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router.
- the router determines that the first audio data exists in the prestored voice instruction data, the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router.
- voice instruction data such as the first audio data to the seventh audio data are stored in the router.
- the first audio data is used to control the shutdown of the Wi-Fi radio frequency device of the router
- the second audio data is used to control the shutdown of the Bluetooth radio frequency device of the router
- the third audio data is used to control the shutdown of the router
- the fourth audio data is used to control the shutdown of the router.
- the fifth audio data is used to control the Wi-Fi radio frequency device of the router
- the sixth audio data is used to control the Bluetooth radio frequency device of the router
- the seventh audio data is used to control the infrared of the router.
- the converted data of the first voice information collected by the audio transceiver in the router is the first audio data
- the router determines that the first audio data exists in the stored voice command data
- the router determines that the first audio data is used to turn on or off the router. at least one radio frequency device.
- the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router.
- the wake word is used to wake up the router.
- the wake-up words may include: Xiaolu, Xiaolu Xiaolu, Lulu, Director Lu, Big Brother Lu, Xiaomei Lu, or Aiqing Lu, etc.
- the wake-up words may also be other information, which is not limited in this embodiment of the present application.
- the wake-up word is "Xiaolu Xiaolu”
- the first instruction keyword includes “turn off Wi-Fi”
- the first voice information is the voice information including "Xiaolu Xiaolu, turn off Wi-Fi”
- the router determines that the first If the first audio data converted from the voice information includes a wake-up word, and the first audio data includes a first instruction keyword, then the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router.
- the audio transceiver in the router may collect first voice information of an environment where the router is located, and convert the first voice information into first audio data in a preset format. If the router determines that the first audio data includes the wake-up word, it collects second voice information of the router's environment, and converts the second voice information into second audio data in a preset format. The router detects the first instruction keyword on the second audio data, and if it detects that the second audio data includes the first instruction keyword, the router determines that the second audio data is used to turn on or turn off at least one radio frequency device in the router.
- the first voice information collected by the router is voice information including "Xiaolu Xiaolu”
- the router detects that the first audio data converted from the first voice information includes the wake-up word
- the router plays the sound of "What help do you need”
- the router collects the second voice information
- the second voice information is the voice information including "Turn off Wi-Fi”
- the second audio data converted from the second voice information includes "Turn off Wi-Fi”. Fi”
- the router determines that the second audio data is used to turn on or turn off at least one radio frequency device in the router.
- the router determines a target radio frequency control command according to the control command information.
- the target radio frequency control instruction is an instruction corresponding to the control instruction information for controlling the radio frequency device of the router.
- the router determines the target command keyword included in the control command information, and determines the target radio frequency control command according to the target command keyword.
- the keyword of the target command is in one-to-one correspondence with the target RF control command.
- the router determines that the target instruction keyword included in the control instruction information is "turn off Wi-Fi", and the router reads the radio frequency control instruction corresponding to the target instruction keyword from multiple first correspondences as the target radio frequency control instruction.
- the first correspondence is the correspondence between instruction keywords and radio frequency control instructions.
- the multiple first correspondences may be set by codes.
- the radio frequency control command corresponding to the command keyword "disable Wi-Fi" in Table 1 is the first radio frequency control command, and the first radio frequency control command is used to control and shut down the Wi-Fi radio frequency device in the router.
- the radio frequency control command corresponding to the command keyword "turn off Bluetooth” is the second radio frequency control command, and the second radio frequency control command is used to control to turn off the Bluetooth radio frequency device in the router.
- the radio frequency control command corresponding to the command keyword "turn on Wi-Fi” is the third radio frequency control command, and the third radio frequency control command is used to control and turn on the Wi-Fi radio frequency device in the router.
- the target radio frequency control instruction determined by the router is the first radio frequency control instruction.
- the router reads the target radio frequency control instruction corresponding to the control instruction information according to multiple pre-stored second correspondence relationships.
- the second correspondence is the correspondence between voice instruction data and instruction information.
- Voice command data is audio data in the same data format as control command information.
- voice command data RF control command first voice command data First RF Control Command second voice command data Second RF Control Command third voice command data
- the instruction information corresponding to the first voice instruction data in Table 2 is the first radio frequency control instruction, and the first radio frequency control instruction is used to control to turn off the Wi-Fi radio frequency device in the router.
- the instruction information corresponding to the second voice instruction data is a second radio frequency control instruction, and the second radio frequency control instruction is used to control to turn off the Bluetooth radio frequency device in the router.
- the instruction information corresponding to the third voice instruction data is the third radio frequency control instruction, and the third radio frequency control instruction is used to control to turn on the Wi-Fi radio frequency device in the router.
- the target radio frequency control instruction determined by the router is the first radio frequency control instruction.
- the control command information is the first voice command data
- the router determines that the first radio frequency control command corresponding to the first voice command data is the target radio frequency control command .
- the multiple second correspondences prestored in the router may be sent by the terminal device to the router.
- the terminal device 20 responds to the user's click operation on the recording button 1301 after the router Wi-Fi is turned off in the interface shown in A, and displays the voice recording interface shown in B, and the terminal device 20 Acquire the voice information in the environment where the terminal device is located through the audio receiver, and convert the voice information into target voice command data; the terminal device 20 displays the target voice command data corresponding to the voice information in the C interface as "turn off Wi-Fi", In response to the user's click operation on the OK button 1302 in the C interface, the terminal device 20 determines the target voice command data corresponding to the "Turn off Wi-Fi" voice message as the voice command data corresponding to the RF control command to be acquired.
- the radio frequency control instruction to be obtained is used to instruct to turn off the Wi-Fi radio frequency device of the router 10 .
- the terminal device 20 sends the corresponding relationship between the target voice command data and the radio frequency control command to be acquired to the router 10 .
- Router 10 receives and stores the corresponding relationship.
- the terminal device 20 responds to the user's clicking operation on the recording button behind the router's Bluetooth in the interface shown in A and the clicking operation of turning off the recording button on the router's rear, through the same steps in B and C in Figure 13.
- the voice command data corresponding to the radio frequency control command indicating to turn off the Bluetooth of the router 10
- the voice command data corresponding to the radio frequency control command for instructing to turn off the router 10, and sending the voice command corresponding to each radio frequency control command obtained to the router 10 data.
- the router 10 receives and stores voice instruction data corresponding to each radio frequency control instruction.
- the plurality of second correspondences prestored in the router may be obtained through the following steps:
- Step 1 The router collects third voice information of the environment where the router is located, and converts the third voice information into third audio data in a preset format.
- the router plays the voice command input prompt information; the voice command input prompt information is used to prompt the user to input the target of controlling on or off at least one radio frequency device in the router voice command data.
- the second instruction keyword may include inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router, inputting the voice of turning off Bluetooth, inputting the voice of turning on Bluetooth, and typing At least one of the voice of turning off infrared, recording the voice of turning on infrared, recording the voice of low radiation mode or recording the voice of off mode, etc.
- the third voice information collected by the router is a sound representation of "Xiaolu Xiaolu, enter the voice of turning off Wi-Fi"
- the router determines that the third audio data converted from the third voice information includes the wake-up word "Xiaolu Xiaolu”
- Including the second instruction keyword "recording the voice to turn off Wi-Fi” the router plays "Xiaolu knows, please speak your voice instruction to turn off Wi-Fi now”.
- Step 2 The router collects the fourth voice information of the environment where the router is located, and plays the fifth voice information, the fifth voice information includes the fourth voice information; the fifth voice information is used to prompt the user to confirm the fourth voice information.
- the audio data in the preset format converted from the fourth voice information is the fourth audio data.
- the fourth voice information collected by the router is the sound representation of "Turn off Wi-Fi", and the router plays the fifth voice information "You entered the voice command to turn off Wi-Fi to turn off Wi-Fi, please say the confirmation as You can save the voice command, or please say "absent" to cancel this voice recording”.
- Step 3 The router collects the sixth voice information of the environment where the router is located, and converts the sixth voice information into fifth audio data in a preset format.
- the router stores the sixth audio data. 5.
- the radio frequency control instruction to be recorded is used to control the router to turn on or turn off at least one radio frequency device in the router.
- the third instruction keyword may be: at least one of confirmation, correct, good, yes, right or determination.
- the sixth voice information collected by the router is a sound representation of "confirmation”.
- the router determines that the fifth audio data converted from the sixth voice information includes the third instruction keyword "confirmation”, and stores the corresponding relationship between the fifth audio data and the radio frequency control instruction for controlling turning off Wi-Fi.
- the router executes a target radio frequency control instruction to turn on or turn off at least one radio frequency device in the router.
- the target radio frequency control command may be an electrical signal
- the router executes the target radio frequency control command on the at least one radio frequency device. It can be understood that, after the router executes the target radio frequency control instruction, it completes the shutdown operation of the at least one radio frequency device.
- the router turns off the Wi-Fi radio frequency device in the router according to the target radio frequency control command.
- S103 The router performs preset feedback.
- the preset feedback is used to indicate to the user whether the radio frequency device in the router is turned on or off successfully.
- the preset feedback may be: the router plays voice feedback information "Wi-Fi has been turned off for you".
- the preset feedback may be: the color of the information light of the router is displayed in yellow. The information light of the router is blue when all the radio frequency components of the router are turned on; the information light of the router is yellow when the Wi-Fi radio frequency components of the router are turned off and other radio frequency components are turned on.
- the router can receive control instruction information for controlling the router to turn off at least one radio frequency device, and turn off at least one radio frequency device in the router according to the control instruction information, which is convenient for users without using the router radio frequency device Turn off the radio frequency devices in the router in time to help reduce the impact of the electromagnetic radiation of the router on the user's health.
- the router can also conveniently acquire control instruction information for turning on the radio frequency device of the router through the method provided in the above embodiment, so as to turn on the radio frequency device of the router.
- FIG. 14 is a schematic flowchart of another router control method provided in the embodiment of the present application. As shown in FIG. 14, the following steps may be included:
- the terminal device acquires a user instruction, and determines that the user instruction is used to instruct the router to turn on or turn off at least one radio frequency device in the router.
- the terminal device acquires a user instruction in response to a user's preset operation on the interface.
- FIG. 15 is a schematic diagram of an interface of a terminal device.
- the current mode of the router displayed on the interface is: full fire mode, and the full fire mode is used to represent the Wi-Fi radio frequency device in the router and
- the radio frequency devices other than the Wi-Fi radio frequency device are turned on.
- Other radio frequency devices may include Bluetooth radio frequency devices.
- the switchable modes of the router displayed on this interface include: low radiation mode and off mode.
- the switching control of the low radiation mode is 1501
- the switching control of the off mode is 1502.
- the low radiation mode is used to indicate that the Wi-Fi radio frequency device in the router is in the off state, and other radio frequency devices except the Wi-Fi radio frequency device are in the on state ;Off mode is used to indicate that the Wi-Fi radio frequency device and other radio frequency devices in the router are in the off state.
- the terminal device acquires a user instruction in response to the user's click operation on the switching control 1501 of the low-radiation mode in the interface.
- the user instruction is used to instruct the router to switch to a low radiation mode, or the user instruction is used to instruct the router to turn off its Wi-Fi radio frequency device.
- FIG. 16 is a schematic diagram of another interface of the terminal device.
- the Wi-Fi radio frequency device of the router is on
- the Bluetooth radio frequency device of the router is on
- the router IR is off.
- the switch 1601 is used to control the router to turn on or off the Wi-Fi radio frequency device of the router
- the switch 1602 is used to control the router to turn on or off the Bluetooth radio frequency device of the router
- the switch 1603 is used to control the router to turn on or off the infrared radio frequency device of the router.
- the terminal device obtains a user instruction in response to the switching operation of the switch 1601 in the interface by the user, and the user instruction is used to instruct the router to turn off its Wi-Fi radio frequency device.
- the terminal device collects voice information of the environment where the terminal device is located, and converts the collected voice information into audio data in a preset format.
- the obtained audio data is a user instruction, and when the user instruction satisfies a preset condition, the terminal device determines that the user instruction is used to instruct the router to turn on or turn off at least one radio frequency device in the router.
- the terminal device collects voice information of the environment where the terminal device is located, and the voice information includes "Xiaolu Xiaolu”.
- the terminal device determines that the voice information is used to activate the terminal device.
- the terminal device plays the response message "Here, Xiaolu is now fully fired, what do you want to order", the terminal device collects the voice information of the environment where the terminal device is located again, and converts the collected voice information into a preset format Audio data, the audio data is a user instruction, the terminal device determines that the audio data is audio data including the instruction keyword "low radiation mode", and the terminal device determines that the user instruction including the instruction keyword "low radiation mode” is used to control the router Turn off the router's Wi-Fi radio frequency device.
- the terminal device sends control instruction information to the router, where the control instruction information is used to control turning on or off of at least one radio frequency device in the router.
- the terminal device can send control command information to the router based on the Wi-Fi radio frequency device according to user instructions, or the terminal device can send control commands to the router based on the Bluetooth radio frequency device according to user instructions information.
- the terminal device converts the audio data including the instruction keyword "low radiation mode" into a Bluetooth radio frequency control signal, and sends the Bluetooth radio frequency control signal to the router through the Bluetooth radio frequency device.
- the router determines a target radio frequency control command according to the control command information.
- the target radio frequency control instruction is an instruction corresponding to the control instruction information for controlling the radio frequency device of the router.
- the router converts the control command information into a target digital signal according to preset rules, and determines the target radio frequency corresponding to the target digital signal according to the correspondence between each digital signal and the radio frequency control command among the multiple pre-stored digital signals.
- the target radio frequency control instruction may be an electrical signal.
- each digital signal and a radio frequency control command among the multiple digital signals pre-stored in the router is shown in Table 3 below:
- the radio frequency control instruction corresponding to the first digital signal in Table 3 is the first radio frequency control instruction, and the first radio frequency control instruction is used to control to turn off the Wi-Fi radio frequency device in the router.
- the radio frequency control instruction corresponding to the second digital signal is the second radio frequency control instruction, and the second radio frequency control instruction is used to control and shut down the Bluetooth radio frequency device in the router.
- the radio frequency control command corresponding to the third digital signal is the third radio frequency control command, and the third radio frequency control command is used to control and turn on the Wi-Fi radio frequency device in the router.
- the digital signal converted by the router into the control instruction information is a first digital signal
- the radio frequency control instruction corresponding to the first digital signal is the first radio frequency control instruction
- the router determines that the first radio frequency control instruction is the target radio frequency control instruction
- the target radio frequency control command is used to turn off the Wi-Fi radio frequency device of the router.
- S203 The router executes a target radio frequency control instruction to turn on or turn off at least one radio frequency device in the router.
- S204 The router performs preset feedback.
- the preset feedback is used to indicate to the user whether the radio frequency device in the router is turned on or off successfully.
- the router sends a feedback signal to the terminal device.
- the feedback signal is used by the terminal device to feed back to the user whether the radio frequency device in the router is turned on or off successfully.
- the feedback signal is used for the terminal device to display feedback information to the user on the interface of whether the radio frequency device of the router is successfully turned on or off.
- Figure 17 is a schematic diagram of the terminal device displaying feedback information to the user on the interface.
- the current mode of the router is the low-radiation mode
- the switchable mode of the router includes the full firepower mode and the off mode.
- the feedback information is used by the terminal device to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
- Figure 18 is another schematic diagram of terminal equipment displaying feedback information to users.
- the Wi-Fi radio frequency device of the router is turned off, the Bluetooth radio frequency device of the router is turned on, and the infrared of the router is turned off.
- the feedback information is used by the terminal device to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
- the feedback signal is used by the terminal device to play feedback voice information
- the feedback voice information is used by the terminal device to feed back to the user whether the radio frequency device of the router is turned on or off successfully.
- the terminal device plays the feedback voice information of "the low radiation mode has been switched for you” according to the received feedback signal, or the terminal device plays "the Wi-Fi radio frequency device has been turned off for you” according to the received feedback signal feedback voice information.
- the feedback voice information is used for the terminal device to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
- the router plays the feedback voice information.
- the feedback voice information is used to feedback to the user whether the radio frequency device of the router is turned on or off successfully.
- the router plays the feedback voice information of "Wi-Fi has been turned off for you". The feedback voice information is used to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
- the router changes the color of the information light to give feedback to the user whether the radio frequency device of the router is turned on or off successfully.
- the router's information light is blue; when the router's Wi-Fi radio frequency device is turned off, and other radio frequency devices are turned on, the information light is yellow.
- the color of the information light of the router is displayed in yellow to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
- the router can receive control instruction information from the terminal equipment, and turn on or off at least one radio frequency device in the router according to the control instruction information, so that users can use the terminal equipment in a timely manner without using the router radio frequency device. Turning off the radio frequency devices in the router helps reduce the impact of the router's electromagnetic radiation on the user's health.
- the router can also conveniently acquire control instruction information for turning on the radio frequency device of the router through the method provided in the above embodiment, so as to turn on the radio frequency device of the router.
- FIG. 19 is a schematic flowchart of another router control method provided in the embodiment of the present application. This method can be applied to the router control system shown in FIG. 11 , and as shown in FIG. 19 , may include the following steps:
- the terminal device acquires a user instruction, and determines that the user instruction is used to request the terminal device to send a request message to the server, so as to control the router to turn on or turn off at least one radio frequency device in the router.
- the terminal device obtains user instructions in response to user preset operations on the interface, and determines that the user instructions are used to request the terminal device to send a request message to the server, so as to control the router to turn on or off at least a radio frequency device.
- FIG. 15 is a schematic diagram of an interface of a terminal device.
- the current mode of the router displayed on the interface is: full fire mode, and the full fire mode is used to represent the Wi-Fi radio frequency device in the router and The radio frequency devices other than the Wi-Fi radio frequency device are turned on. Other radio frequency devices may include Bluetooth radio frequency devices.
- the switchable modes of the router displayed on this interface include: low radiation mode and off mode.
- the switching control of the low radiation mode is 1501, and the switching control of the off mode is 1502.
- the low radiation mode is used to indicate that the Wi-Fi radio frequency device in the router is off, and other radio frequency devices except the Wi-Fi radio frequency device are on.
- Off mode is used to indicate that the Wi-Fi radio frequency device and other radio frequency devices in the router are in the off state.
- the terminal device acquires a user instruction in response to the user's click operation on the switching control 1501 of the low-radiation mode in the interface.
- the user instruction is used to request the terminal device to send a request message to the server to control the target router to switch to the low radiation mode, or the user instruction is used to request the terminal device to send a request message to the server to control the target router to turn off the Wi-Fi radio frequency device of the router .
- FIG. 16 is a schematic diagram of another interface of the terminal device.
- the Wi-Fi radio frequency device of the router is on, the Bluetooth radio frequency device of the router is on, and the router IR is off.
- the switch 1601 is used to control the router to turn on or off the Wi-Fi radio frequency device of the router
- the switch 1602 is used to control the router to turn on or off the Bluetooth radio frequency device of the router
- the switch 2103 is used to control the router to turn on or off the infrared radio frequency device of the router .
- the terminal device obtains a user instruction in response to the switching operation of the switching switch 1601 in the interface by the user.
- the user instruction is used for the terminal device to request the server to control the target router to switch to the low-radiation mode, or the user instruction is used for the terminal device to request the server to control the target router to turn off the Wi-Fi radio frequency device of the router.
- the terminal device collects voice information of the environment where the terminal device is located, and converts the collected voice information into audio data in a preset format, where the audio data is a user instruction.
- the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, so as to control the router to turn on or turn off at least one radio frequency device in the router.
- the request message may be used to request the server to control the target router to switch to the low radiation mode, or the request message may be used to request the server to control the target router to turn off the Wi-Fi radio frequency device of the router.
- the terminal device collects voice information of the environment where the terminal device is located, and the voice information includes "Xiaolu Xiaolu”.
- the terminal device determines that the voice information is used to activate the terminal device.
- the terminal device plays the response message "Here, Xiaolu is now fully fired, what do you want to order”, the terminal device collects the voice information of the environment where the terminal device is located again, and converts the collected voice information into a preset format audio data, the terminal device determines that the audio data is audio data including the instruction keyword "low radiation mode", the terminal device determines that the audio data including the instruction keyword "low radiation mode” is used to request the terminal device to send a request message to the server, The request message is used to request the server to control the target router to switch to the low radiation mode, or the request message is used to request the server to control the target router to turn off the Wi-Fi radio frequency device of the router.
- the terminal device sends a request message to the server, where the request message is used to request the server to control the target router to turn on or turn off at least one radio frequency device in the target router.
- the request message includes the identification of the target router.
- S302 The server determines the target router according to the request message.
- the server can determine the target router according to the identifier of the target router in the request message.
- the server may control and manage multiple routers, and the server determines the target router from among the multiple managed routers according to the identifier of the target router in the request message (for example: the user account of the target router).
- the server sends an indication message to the target router.
- the instruction message is used to instruct the target router to turn on or turn off at least one radio frequency device in the router.
- S304 The target router turns on or off at least one radio frequency device in the target router according to the instruction message.
- S305 The target router performs preset feedback.
- the preset feedback is used to indicate to the user whether the radio frequency device in the router is turned on or off successfully.
- the target router sends the feedback message to the terminal device through the server.
- the feedback message is used by the terminal device to feed back to the user a feedback message indicating whether the router turns on or turns off at least one radio frequency device successfully.
- the target router plays the feedback message in the form of voice information.
- the target router plays a feedback message of "Wi-Fi has been turned off for you". The feedback message is used to feed back to the user that the Wi-Fi radio frequency device of the target router is successfully turned off.
- the target router changes the color of the information light to give feedback to the user whether the radio frequency device of the target router is turned on or off successfully.
- the information light of the target router is blue when the radio frequency components of the target router are turned on; the information light of the target router is yellow when the Wi-Fi radio frequency components of the target router are turned off and other radio frequency components are turned on.
- the color of the information light of the target router is displayed in yellow to feed back to the user that the Wi-Fi radio frequency device of the target router is successfully turned off.
- the terminal device can turn on or off at least one radio frequency device in the router through the control of the server, and it is convenient for the user to turn off the radio frequency device in the router in time through the terminal device without using the radio frequency device of the router, which helps to reduce the risk of the router.
- the impact of electromagnetic radiation on the user's health can also conveniently acquire control instruction information for turning on the radio frequency device of the router through the method provided in the above embodiment, so as to turn on the radio frequency device of the router.
- FIG. 20 is a schematic flowchart of another router control method provided in the embodiment of the present application. As shown in FIG. 20, the following steps may be included:
- the router obtains an opening condition, and the opening condition is used to set a condition for triggering the opening of the router.
- the opening condition can be that the time length of the router being in the off state is greater than or equal to the closing time length, or the opening condition can be that the current time of the router is a preset time point, or the opening condition can be that the router obtains the opening instruction, the opening The instruction is used to turn on at least one radio frequency device in the router.
- the router obtains the activation condition in response to a user's preset operation on the router.
- the router receives the user's setting operation of the clock in the router, and obtains the preset time point when the router is automatically turned on, or the router receives the user's setting operation of the clock in the router, and obtains the shutdown time of the router.
- the router receives the user's setting operation on the router's default voice activation, and obtains a conditional instruction, which is used to instruct the router to automatically turn off the radio frequency device (for example: Bluetooth radio frequency device and Wi-Fi radio frequency device) in the router.
- the audio receiver is turned on, and the audio receiver can be used to collect an opening command in the form of voice.
- the router receives the activation condition, and the activation condition may be sent to the router by a terminal device, or may be sent to the router by a server.
- the terminal device responds to the user’s click operation on the timing task adding control 2101 in the interface shown in A in FIG. 2102 and adding the opening time point control 2103, the terminal device responds to the user’s click operation on adding the closing duration control 2102 in the interface shown in B, and displays the interface shown in C, and the terminal device responds to the input operation of the input control 2104 to obtain the closing time
- the duration is 8 hours.
- the terminal device stores the shutdown duration set by the user in response to the click operation on the storage control 2105, and displays the interface shown in D.
- the terminal device stores the preset shutdown duration and sends the shutdown duration to the router. .
- the shutdown period of 8 hours is used to automatically turn on the router after the router has been in the shutdown state for more than or equal to 8 hours.
- the delete control 2106 in the interface shown in D may be used to control the router to delete the set shutdown duration in response to the user's deletion operation on the shutdown duration.
- the terminal device responds to the user's click operation on the timing task adding control 2101 in the interface shown in A in FIG. Controls and adding the opening time point control 2103, the terminal device responds to the user's click operation on the interface shown in B to add the opening time point control 2103, and displays the interface shown in E, and the terminal device responds to the input operation of the input control 2109, and obtains
- the terminal device responds to the click operation on the storage control 2107, stores the time point at which the router is automatically turned on set by the user, that is, the preset time point, sends the preset time point to the router, and displays the Display interface, the preset time point 08:00 is used for the router to automatically turn on the router at 08:00 every day.
- the delete control 2110 in the interface shown in F may be used to control the router to delete the preset time point in response to the user's deletion operation on the preset time point.
- the terminal device responds to the opening operation of the enable control 2301 after the default voice in the interface shown in A, sends a conditional command to the router and displays the interface shown in B, and the interface B is turned on The space is in the open state.
- This conditional instruction is used to instruct the router to automatically turn on the audio receiver after turning off the radio frequency device in the router (for example: Bluetooth radio frequency device and Wi-Fi radio frequency device).
- the audio receiver can be used to collect voice information.
- the enabling command is used to control the enabling or disabling of at least one radio frequency device in the router. Refer to the description in S100 for the manner in which the router obtains the enabling instruction, and details are not repeated here.
- S401 The router starts the router when the starting condition is met.
- the router is in the off state for greater than or equal to 11 hours, then, when the router is in the off state for greater than or equal to 11 hours, the router is automatically turned on.
- the router is automatically turned on every day at 08:30 am Beijing time.
- the router may control and enable at least one radio frequency device in the router through the above-mentioned manners of S100-S103.
- the router is automatically opened when the opening condition is met, so that it is convenient for the user to control the opening of the router.
- FIG. 24 is a schematic flowchart of another router control method provided in the embodiment of the present application. As shown in FIG. 24, the following steps may be included:
- the router acquires a shutdown condition.
- the shutdown condition is used to set a condition that triggers shutdown of the router.
- the shutdown condition may be that the duration of the router being in the ON state is greater than or equal to the ON duration, or the shutdown condition may be that the current time of the router is a preset shutdown time point. Alternatively, the shutdown condition may be that the sound intensity of the environment where the router is located is less than or equal to a preset decibel within a continuous period of time.
- the router obtains the shutdown condition in response to a user's preset operation on the router.
- the router receives the shutdown condition, and the shutdown condition may be sent by the terminal device to the router, or may be sent by the terminal device to the router through the server.
- S501 The router shuts down the router when the shutdown condition is met.
- the shutdown condition is that the router is in the on state for greater than or equal to 15 hours
- the router is automatically shut down.
- the router is automatically shut down every day at 23:00 Beijing time.
- the shutdown condition is that the sound intensity of the environment where the router is located is less than or equal to 15 decibels for one hour
- the condition that the sound intensity of the environment where the router is located is less than or equal to 15 decibels for one continuous hour , the router shuts down automatically.
- the router is automatically shut down when the shutdown condition is met, so that it is convenient for the user to control the shutdown of the router. It helps to reduce the impact of router electromagnetic radiation on the user's health.
- FIG. 25 is a schematic structural diagram of a router provided in an embodiment of the present application. This example does not constitute a limitation to the embodiment of the present application.
- the router 250 shown in Figure 25 includes an acquisition unit 2501 and a processor 2502; the acquisition unit 2501 is used to acquire control instruction information; the control instruction information is a bluetooth radio frequency control signal, or the control instruction information is audio data; the processor 2502 uses In the case that the control command information satisfies the preset condition, determine that the control command information is used to control turning on or off at least one radio frequency device in the router 250; the processor 2502 is also used to: determine the target radio frequency control command according to the control command information, the target The radio frequency control instruction is an instruction corresponding to the control instruction information for controlling at least one radio frequency device; the processor 2502 is further configured to: execute the target radio frequency control instruction to turn on or off the at least one radio frequency device. For example, referring to FIG.
- the obtaining unit 2501 may be used to execute S100, and the processor 2502 may be used to execute S101-S103. Referring to FIG. 14 , the obtaining unit 2501 may be used to perform the receiving step in S201, and the processor 2502 may be used to perform S202-S204.
- the router 250 includes a Bluetooth module 2503; the Bluetooth module 2503 is specifically configured to: receive control instruction information; the control instruction information is a Bluetooth radio frequency control signal.
- the router 250 further includes: an audio processing module 2504, and the audio processing module 2504 is specifically configured to: collect first voice information of the environment where the router 250 is located, and convert the first voice information into first audio data in a preset format ;
- the processor 2502 is specifically used to: when the first audio data includes a wake-up word, control the audio processing module 2504 to play voice reply information; the wake-up word is used to wake up the router 250; the voice reply information is used to characterize the wake-up of the router 250;
- the processing module 2504 is further configured to: collect the second voice information of the environment where the router 250 is located, and convert the second voice information into second audio data in a preset format; the processor 2502 is specifically configured to: when the second audio data meets the preset In the case of setting conditions, it is determined that the second audio data is used to control the opening or closing of at least one radio frequency device in the router 250; the second audio data is control instruction information; or, the audio processing module 2504 is specifically used to: collect the environment where the router 250 is located the
- the processor 2502 is configured to: if the second audio data includes the first instruction keyword, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router 250; or, the processor 2502 uses For: when the second audio data exists in the pre-stored plurality of voice instruction data, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router 250; or, the processor 2502 is used to: If the second audio data includes a wake-up word, and the second audio data includes a first instruction keyword, it is determined that the second audio data is used to control turning on or off at least one radio frequency device in the router 250; or, the processor 2502 is configured to: In the case where the third audio data includes the first instruction keyword, determine that the third audio data is used to control on or off at least one radio frequency device in the router 250; or, the processor 2502 is configured to: when the third audio data is stored in In the case that there are voice command data, determine that the third audio data is used to control at least one radio frequency device
- the router 250 further includes a storage unit 2505, in which a plurality of first correspondences are stored; the first correspondence is a correspondence between an instruction keyword and a radio frequency control instruction, and the processor 2502 is specifically configured to: determine the control The target instruction keyword included in the instruction information reads the radio frequency control instruction corresponding to the target instruction keyword from a plurality of first correspondences as the target radio frequency control instruction; the first instruction keyword includes the target instruction keyword; or stores A plurality of second correspondences are stored in the unit 2505; the second correspondence is the correspondence between voice instruction data and radio frequency control instructions; the processor 2502 is specifically used to: read the correspondence between the control instruction information from the plurality of first correspondences; The radio frequency control command of is used as the target radio frequency control command.
- a storage unit 2505 in which a plurality of first correspondences are stored
- the first correspondence is a correspondence between an instruction keyword and a radio frequency control instruction
- the processor 2502 is specifically configured to: determine the control The target instruction keyword included in the instruction information reads the radio frequency control instruction corresponding to
- the audio processing module 2504 is also configured to: collect fourth voice information of the environment where the router 250 is located, and convert the fourth voice information into fourth audio data in a preset format; the processor 2502 is also configured to: If the four-audio data includes a wake-up word and includes a second instruction keyword, the audio processing module 2504 is controlled to play voice command input prompt information; the voice command input prompt information is used to prompt the user to input control to turn on or off at least one radio frequency in the router 250 The target voice instruction data of the device; the audio processing module 2504 is used to: collect the fifth voice information of the environment where the router 250 is located, and play the sixth voice information, the sixth voice information includes the fifth voice information; the sixth voice information is used for prompting The user confirms the fifth voice information; the audio processing module 2504 is also configured to: collect the seventh voice information of the environment where the router 250 is located, and convert the seventh voice information into fifth audio data in a preset format; the processor 2502 is specifically used to : in the case where the fifth audio data includes the third instruction keyword
- the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off router 250, inputting the voice of turning on router 250, inputting the voice of turning off Bluetooth, inputting the voice of turning on Bluetooth At least one of voice recording, voice recording with infrared off, voice recording with infrared on, voice recording in low-radiation mode, or voice recording in off mode.
- the first instruction keyword includes: at least one of turning off Wi-Fi, turning off the router 250, turning off Bluetooth, turning off infrared, low-radiation mode, or off mode.
- the processor 2502 is further configured to: perform preset feedback, where the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
- the router 250 further includes a sending unit 2506, configured to send a feedback message to the terminal device, where the feedback message is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off.
- a sending unit 2506 configured to send a feedback message to the terminal device, where the feedback message is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off.
- the audio processing module 2504 is also configured to: play feedback voice information, and the feedback voice information is used to feed back to the user whether at least one radio frequency device is successfully turned off; or, the processor 2502 controls to change the color of the information light to give the user feedback Whether an RF device is successful.
- the obtaining unit 2501 is also used to: obtain the opening condition of the router 250; the opening condition includes that the time when the router 250 is in the off state is greater than or equal to the preset closing time; or, the opening condition includes that the current time of the router 250 is the preset opening Time point: the processor 2502 is also used to start the router 250 when the router 250 meets the start condition.
- the acquiring unit 2501 is also used to: acquire the shutdown condition of the router 250; the shutdown condition includes that the time period that the router 250 is in the on state is greater than or equal to the preset on-time duration; or, the shutdown condition includes that the current time of the router 250 is preset shutdown Time point: the processor 2502 is further configured to shut down the router 250 when the router 250 meets the shutdown condition.
- the processor 2502 may be implemented by the processor 402 in FIG. 4
- the acquiring unit 2501 may be implemented by the Bluetooth module 401 in FIG. 4 .
- the processor 2502 may be implemented by the processor 502 in FIG. 5
- the acquiring unit 2501 may be implemented by the audio processing module 501 in FIG. 5 .
- An embodiment of the present application provides a computer program product including a computer program.
- the computer program When the computer program is run on a computer, the computer is made to execute the method performed by the terminal device, the server, or the router in any router control method described above.
- the present application provides a chip or a chip system, the chip or chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through lines, and the at least one processor is used to run computer programs or instructions to perform any of the above A method executed by a terminal device, a server, or a router in a router control method; wherein, the communication interface in the chip may be an input/output interface, a pin, or a circuit.
- the chip or the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory.
- the memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (eg, a read-only memory, a random access memory, etc.).
- the communication interface in the chip may be an input/output interface, a pin or a circuit, and the like.
- An embodiment of the present application provides an electronic device, and the electronic device can execute the method executed by the terminal device or the router in any router control method described above.
- An embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is run on the computer, the computer executes the terminal device in any one of the above-mentioned router control methods , the method performed by the server or router.
- the computer-readable medium may include compact disc read-only memory (compact disc read-only memory, CD-ROM), RAM, ROM, EEPROM or other optical disc storage; the computer-readable medium may include a magnetic disk memory or other disk storage devices.
- any connected cord is properly termed a computer-readable medium.
- the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium.
- Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Reproduce data.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present application relates to the field of terminal technology, and provided in embodiments thereof are a router control method, an apparatus, and a storage medium. The method comprises: a terminal device obtains a user instruction; the terminal device determines that the user instruction is used for instructing a router to turn off at least one radio frequency element in the router; the terminal device sends control instruction information to the router, the control instruction information being used for controlling turn-off of the at least one radio frequency element; the router determines a target radio frequency control instruction according to the control instruction information, the target radio frequency control instruction being an instruction that corresponds to the control instruction information and is used for controlling the at least one radio frequency element; and the router executes the target radio frequency control instruction, so as to turn off the at least one radio frequency element. Consequently, a router receives control instruction information from a terminal device and controls turn-off of at least one radio frequency element in the router, a terminal device remotely turning off a radio frequency element in a router is implemented, timely turn-off of a radio frequency element in a router by a user is facilitated, and thereby an effect of electromagnetic radiation of the router on the user is reduced.
Description
本申请要求于2021年06月08日提交中国国家知识产权局、申请号为202110640605.7、申请名称为“路由器控制方法、装置和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110640605.7 and the application name "router control method, device and storage medium" submitted to the State Intellectual Property Office of China on June 08, 2021, the entire contents of which are incorporated by reference in In this application.
本申请涉及终端技术领域,尤其涉及一种路由器控制方法、装置和存储介质。The present application relates to the technical field of terminals, and in particular to a router control method, device and storage medium.
通常的路由器设置开关键,用户可以通过该开关键开启或关闭路由器。在路由器处于开启状态的情况下,开启的路由器会产生一定的电磁辐射,这种电磁辐射对人体可能造成影响,尤其是对特殊人群(例如,孕妇或小孩等)。但是路由器通常放置在固定位置,不便于用户随时控制其开关,因此用户通常不会关闭路由器,路由器处于长时间开启的状态。A general router is provided with an on/off key, through which the user can turn on or off the router. When the router is turned on, the turned on router will generate a certain amount of electromagnetic radiation, which may affect the human body, especially for special groups of people (for example, pregnant women or children, etc.). However, the router is usually placed in a fixed position, and it is not convenient for the user to control its switch at any time. Therefore, the user usually does not turn off the router, and the router is in a state of being turned on for a long time.
发明内容Contents of the invention
本申请实施例提供一种路由器控制方法、装置和存储介质,涉及终端技术领域,有助于减小路由器的电磁辐射对用户身体健康的影响。Embodiments of the present application provide a router control method, device, and storage medium, which relate to the technical field of terminals and help reduce the impact of electromagnetic radiation from routers on the health of users.
第一方面,本申请实施例提供一种路由器控制方法,应用于路由器控制系统,该路由器控制系统包括:终端设备和路由器;该方法包括:终端设备获取用户指令;终端设备确定用户指令用于指示路由器关闭路由器中至少一个射频器件;终端设备向路由器发送控制指令信息,控制指令信息用于控制至少一个射频器件的关闭;路由器根据控制指令信息,确定目标射频控制指令,目标射频控制指令为控制指令信息对应的用于控制至少一个射频器件的指令;路由器执行目标射频控制指令以关闭至少一个射频器件。In the first aspect, an embodiment of the present application provides a router control method, which is applied to a router control system. The router control system includes: a terminal device and a router; the method includes: the terminal device acquires user instructions; the terminal device determines that the user instructions are used to indicate The router turns off at least one radio frequency device in the router; the terminal device sends control command information to the router, and the control command information is used to control the shutdown of at least one radio frequency device; the router determines the target radio frequency control command according to the control command information, and the target radio frequency control command is the control command The information corresponds to an instruction for controlling at least one radio frequency device; the router executes the target radio frequency control instruction to turn off the at least one radio frequency device.
本申请实施例中,终端设备获取用户指令,并向路由器发送用户指令对应的控制指令信息,路由器接收来自终端设备的控制指令信息以控制关闭路由器中至少一个射频器件,实现了终端设备远程关闭路由器的射频器件。该种控制关闭路由器的射频器件的方式方便用户及时关闭路由器中的射频器件,从而减小路由器的电磁辐射对用户的影响。In the embodiment of the present application, the terminal device obtains the user instruction, and sends the control instruction information corresponding to the user instruction to the router, and the router receives the control instruction information from the terminal device to control and shut down at least one radio frequency device in the router, realizing the remote shutdown of the router by the terminal device radio frequency devices. This method of controlling and turning off the radio frequency device of the router is convenient for the user to turn off the radio frequency device in the router in time, thereby reducing the influence of the electromagnetic radiation of the router on the user.
一种可能的实现方式中,终端设备获取用户指令,包括:终端设备采集终端设备所处环境的第一语音信息,并将第一语音信息转换为预设格式的第一音频数据;在第一音频数据包括唤醒词的情况下,终端设备发送语音回复信息;唤醒词用于唤醒终端设备,语音回复信息用于表征终端设备被唤醒;终端设备采集终端设备所处环境的第二语音信息;第二语音信息为用户指令;或者,终端设备采集终端设备所处环境的第三语音信息,第三语音信息为所述用户指令。In a possible implementation manner, the acquiring the user instruction by the terminal device includes: the terminal device collects first voice information of the environment where the terminal device is located, and converts the first voice information into first audio data in a preset format; When the audio data includes a wake-up word, the terminal device sends voice reply information; the wake-up word is used to wake up the terminal device, and the voice reply information is used to indicate that the terminal device is awakened; the terminal device collects the second voice information of the environment where the terminal device is located; The second voice information is a user instruction; or, the terminal device collects third voice information of an environment where the terminal device is located, and the third voice information is the user instruction.
这样,终端设备接收语音形式的用户指令,以控制路由器关闭至少一个射频器件。进一步方便了用户操作,终端设备与用户的距离也不再阻碍用户关闭路由器的射频器件,从而减小路由器的电磁辐射对用户的影响。In this way, the terminal device receives a user instruction in the form of voice, so as to control the router to turn off at least one radio frequency device. This further facilitates the user's operation, and the distance between the terminal equipment and the user no longer prevents the user from turning off the radio frequency device of the router, thereby reducing the influence of the electromagnetic radiation of the router on the user.
另一种可能的实现方式中,上述终端设备确定用户指令用于指示路由器关闭路由器中 至少一个射频器件,包括:终端设备将用户指令转换为预设格式的第二音频数据;在第二音频数据满足预设条件的情况下,终端设备确定用户指令用于指示路由器关闭路由器中至少一个射频器件。In another possible implementation manner, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router, including: the terminal device converts the user instruction into second audio data in a preset format; When the preset condition is satisfied, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router.
另一种可能的实现方式中,上述在第二音频数据满足预设条件的情况下,终端设备确定用户指令用于指示路由器关闭路由器中至少一个射频器件,包括:在第二音频数据包括第一指令关键字的情况下,终端设备确定用户指令用于指示路由器关闭路由器中至少一个射频器件;或者,在第二音频数据在预存的语音指令数据中存在的情况下,终端设备确定用户指令用于指示路由器关闭路由器中至少一个射频器件;或者,在第二音频数据包括唤醒词,且第二音频数据包括第一指令关键字的情况下,终端设备确定用户指令用于指示路由器关闭路由器中至少一个射频器件。In another possible implementation manner, when the above-mentioned second audio data satisfies the preset condition, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router, including: when the second audio data includes the first In the case of the instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router; or, when the second audio data exists in the pre-stored voice instruction data, the terminal device determines that the user instruction is used to Instruct the router to turn off at least one radio frequency device in the router; or, in the case where the second audio data includes a wake-up word, and the second audio data includes the first instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off at least one of the routers RF devices.
这样,通过对第二音频数据进行指令关键字检测,确定用户指令用于指示路由器关闭至少一个射频器件,提高了终端设备确定语音指令用于指示路由器关闭至少一个射频器件的容错性,增强操作的友好度。通过对第二音频数据进行语音数据比对,确定语音指令用于指示路由器关闭至少一个射频器件,安全性比较高,在第二音频数据与预存的语音数据完全相同的情况下,才确定语音指令用于指示路由器关闭至少一个射频器件。在第二音频数据包括唤醒词且包括指令关键字的情况下,确定用户指令用于指示路由器关闭至少一个射频器件,可以防止误操作。In this way, by performing instruction keyword detection on the second audio data, it is determined that the user instruction is used to instruct the router to turn off at least one radio frequency device, which improves the fault tolerance of the terminal device for determining that the voice instruction is used to instruct the router to turn off at least one radio frequency device, and enhances operational reliability. D. By comparing the voice data of the second audio data, it is determined that the voice command is used to instruct the router to turn off at least one radio frequency device, which has relatively high security, and the voice command is only determined when the second audio data is exactly the same as the pre-stored voice data Used to instruct the router to turn off at least one radio frequency device. In the case that the second audio data includes a wake-up word and includes an instruction keyword, determining that the user instruction is used to instruct the router to turn off at least one radio frequency device can prevent misoperation.
另一种可能的实现方式中,终端设备中存储有多个第一对应关系(对应实施例中第二对应关系),第一对应关系为语音指令数据与指令信息的对应关系,该方法还包括:终端设备在语音指令管理界面中接收针对目标录音控件的第一预设操作;终端设备响应于第一预设操作,终端设备显示语音录入界面,并采集终端设备所处环境中的第四语音信息;目标录音控件用于为控制指令信息录制语音指令数据;终端设备在反馈界面中显示第四语音信息对应的字符信息,或者,终端设备播放第四语音信息;终端设备响应于对第四语音信息的确认指令,存储目标语音指令数据与控制指令信息的对应关系;目标语音指令数据为基于第四语音信息得到的语音指令数据。这样,终端设备可以通过与用户界面交互以及语音交互,接收用户的输入,响应于用户的输入设定用于控制路由器的至少一个射频器件的用户指令,使得用户指令可以被个性化定制,从而提高了用户体验。In another possible implementation, multiple first correspondences (corresponding to the second correspondence in the embodiment) are stored in the terminal device, the first correspondence is the correspondence between voice instruction data and instruction information, and the method further includes : The terminal device receives the first preset operation for the target recording control in the voice command management interface; the terminal device responds to the first preset operation, the terminal device displays the voice input interface, and collects the fourth voice in the environment where the terminal device is located information; the target recording control is used to record voice command data for the control command information; the terminal device displays the character information corresponding to the fourth voice information in the feedback interface, or the terminal device plays the fourth voice information; the terminal device responds to the fourth voice information The information confirmation instruction stores the corresponding relationship between the target voice command data and the control command information; the target voice command data is the voice command data obtained based on the fourth voice information. In this way, the terminal device can receive user input through interaction with the user interface and voice interaction, and set a user instruction for controlling at least one radio frequency device of the router in response to the user input, so that the user instruction can be customized, thereby improving user experience.
另一种可能的实现方式中,终端设备中存储有多个第一对应关系,第一对应关系为语音指令数据与指令信息的对应关系,该方法还包括:终端设备采集终端设备所处环境的第五语音信息,并将第五语音信息转换为预设格式的第三音频数据;在第三音频数据包括唤醒词,且包括第二指令关键字的情况下,终端设备播放语音指令录入提示信息;语音指令录入提示信息用于提示用户为控制指令信息录制语音指令数据;终端设备采集终端设备所处环境的第六语音信息,并播放第七语音信息,第七语音信息包括第六语音信息;第七语音信息用于用户确认第六语音信息;终端设备采集该终端设备所处环境的第八语音信息,并将第八语音信息转换为预设格式的第四音频数据;在第四音频数据包括第三指令关键字的情况下,终端设备存储第六语音信息转换得到的预设格式的音频数据与控制指令信息的对应关系。这样,终端设备可以通过与用户进行语音交互接收用户的语音输入,响应于该语音输入设定用于控制路由器的至少一个射频器件的用户指令,使得用户指令可以被方便的进行个性化定制,从而提高了用户体验。In another possible implementation manner, the terminal device stores a plurality of first correspondences, the first correspondence is the correspondence between voice command data and command information, and the method further includes: the terminal device collects information about the environment where the terminal device is located. fifth voice information, and convert the fifth voice information into third audio data in a preset format; when the third audio data includes a wake-up word and includes a second instruction keyword, the terminal device plays the voice instruction input prompt information ;The voice command input prompt information is used to prompt the user to record voice command data for the control command information; the terminal device collects the sixth voice information of the environment where the terminal device is located, and plays the seventh voice information, the seventh voice information includes the sixth voice information; The seventh voice information is used for the user to confirm the sixth voice information; the terminal device collects the eighth voice information of the environment where the terminal device is located, and converts the eighth voice information into fourth audio data in a preset format; in the fourth audio data When the third instruction keyword is included, the terminal device stores the correspondence between the audio data in the preset format obtained by converting the sixth voice information and the control instruction information. In this way, the terminal device can receive the user's voice input through voice interaction with the user, and set a user instruction for controlling at least one radio frequency device of the router in response to the voice input, so that the user instruction can be conveniently customized, thereby Improved user experience.
另一种可能的实现方式中,第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。In another possible implementation, the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router, inputting the voice of turning off Bluetooth, At least one of the voice of turning on Bluetooth, the voice of turning off infrared, the voice of turning on infrared, the voice of low radiation mode or the voice of closing mode is recorded.
另一种可能的实现方式中,第一指令关键字包括:关闭Wi-Fi、关闭路由器、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。In another possible implementation manner, the first instruction keyword includes: at least one of turning off Wi-Fi, turning off a router, turning off Bluetooth, turning off infrared, a low-radiation mode, or an off mode.
另一种可能的实现方式中,终端设备获取用户指令,包括:终端设备在第一路由器管理界面中按照路由器当前所处模式和路由器的可切换模式,区分显示路由器的模式;其中,路由器当前所处模式中,路由器的至少一个射频器件为开启状态;终端设备在第一路由器管理界面中接收针对目标模式的切换控件的第二预设操作;目标模式为可切换模式中的模式,目标模式中,路由器的至少一个射频器件为关闭状态;响应于第二预设操作,获取用户指令;用户指令用于将路由器由当前所处模式切换为目标模式。这样,用户通过模式的切换可以实现批量对路由器中射频器件的关闭,操作更简便。In another possible implementation manner, the terminal device acquires user instructions, including: the terminal device distinguishes and displays the mode of the router according to the current mode of the router and the switchable mode of the router in the first router management interface; wherein, the current mode of the router is In the current mode, at least one radio frequency device of the router is turned on; the terminal device receives the second preset operation of the switch control for the target mode in the first router management interface; the target mode is a mode in the switchable mode, and in the target mode , at least one radio frequency device of the router is in an off state; in response to a second preset operation, a user instruction is obtained; the user instruction is used to switch the router from a current mode to a target mode. In this way, the user can turn off the radio frequency devices in the router in batches by switching the mode, and the operation is more convenient.
另一种可能的实现方式中,路由器的模式包括火力全开模式、低辐射模式以及关闭模式;所述火力全开模式用于表征所述路由器中的无线保真射频器件以及除所述无线保真射频器件之外的其他射频器件处于开启状态;所述低辐射模式用于表征所述路由器的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于开启状态;所述关闭模式用于表征所述路由器中的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于关闭状态。In another possible implementation manner, the mode of the router includes a full fire mode, a low radiation mode, and an off mode; the full fire mode is used to characterize the wireless fidelity radio frequency device in the router and except for the wireless Other radio frequency devices other than the real radio frequency device are in the on state; the low radiation mode is used to indicate that the wireless fidelity radio frequency device of the router is in the off state, and the other radio frequency devices are in the on state; the off mode It is used to indicate that the wireless fidelity radio frequency device in the router is in an off state, and the other radio frequency devices are in an off state.
另一种可能的实现方式中,终端设备获取用户指令,包括:终端设备在第二路由器管理界面中显示路由器中各个射频器件的切换开关,以及各个射频器件的开启或关闭状态;终端设备接收在第二路由器管理界面中针对目标切换开关的第三预设操作;目标切换开关用于开启或关闭目标射频器件;终端设备响应于第三预设操作,获取用户指令;用户指令用于控制路由器关闭目标射频器件。In another possible implementation manner, the terminal device obtains user instructions, including: the terminal device displays the switch of each radio frequency device in the router on the second router management interface, and the on or off status of each radio frequency device; The third preset operation for the target switching switch in the second router management interface; the target switching switch is used to turn on or off the target radio frequency device; the terminal device obtains user instructions in response to the third preset operation; the user instructions are used to control the shutdown of the router Target RF device.
另一种可能的实现方式中,路由器根据控制指令信息,确定目标射频控制指令,包括:路由器将控制指令信息按照预设规则转换为目标数字信号;路由器从预存的第二对应关系中,读取目标数字信号对应的射频控制指令作为目标射频控制指令;第二对应关系包括目标数字信号与射频控制指令的对应关系。In another possible implementation manner, the router determines the target radio frequency control command according to the control command information, including: the router converts the control command information into a target digital signal according to preset rules; the router reads the The radio frequency control instruction corresponding to the target digital signal is used as the target radio frequency control instruction; the second correspondence includes the correspondence between the target digital signal and the radio frequency control instruction.
另一种可能的实现方式中,该方法还包括:路由器执行预设反馈,预设反馈用于向用户指示关闭至少一个射频器件是否成功。In another possible implementation manner, the method further includes: the router executes preset feedback, and the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
另一种可能的实现方式中,路由器执行预设反馈,包括:路由器向终端设备发送反馈信号,反馈信号用于终端设备向用户反馈关闭至少一个射频器件是否成功;终端设备根据反馈信号在终端设备的反馈界面中显示反馈信息,或者,终端设备根据反馈信号播放反馈语音信息,以向用户反馈关闭至少一个射频器件是否成功。这样,终端设备向用户反馈关闭至少一个射频器件是否成功,方便用户获取反馈信息,从而提升用户体验。In another possible implementation manner, the router performs preset feedback, including: the router sends a feedback signal to the terminal device, and the feedback signal is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off; Feedback information is displayed on the feedback interface of the terminal device, or the terminal device plays feedback voice information according to the feedback signal, so as to feed back to the user whether at least one radio frequency device is successfully turned off. In this way, the terminal device feeds back to the user whether at least one radio frequency device is successfully turned off, which facilitates the user to obtain feedback information, thereby improving user experience.
另一种可能的实现方式中,路由器执行预设反馈,包括:路由器播放反馈语音信息,反馈语音信息用于向用户反馈关闭至少一个射频器件是否成功;或者,路由器改变信息灯的颜色以向用户反馈关闭至少一个射频器件是否成功。这样,路由器向用户反馈关闭至少一个射频器件是否成功,用户可以直观的看到路由器的反馈,从而提高用户体验。In another possible implementation, the router performs preset feedback, including: the router plays feedback voice information, and the feedback voice information is used to feedback to the user whether at least one radio frequency device is successfully turned off; or, the router changes the color of the information light to inform the user Feedback whether the shutdown of at least one RF device was successful. In this way, the router feeds back to the user whether at least one radio frequency device is successfully turned off, and the user can intuitively see the feedback from the router, thereby improving user experience.
另一种可能的实现方式中,路由器中包括蓝牙模块,终端设备向路由器发送控制指令信息,包括:终端设备基于蓝牙射频器件向路由器的蓝牙模块发送控制指令信息;控制指令信息为蓝牙射频控制信号。In another possible implementation, the router includes a Bluetooth module, and the terminal device sends control command information to the router, including: the terminal device sends control command information to the Bluetooth module of the router based on the Bluetooth radio frequency device; the control command information is a Bluetooth radio frequency control signal .
第二方面,提供一种路由器控制方法,应用于路由器控制系统,该路由器控制系统包括:终端设备、服务器以及路由器;该方法包括:终端设备获取用户指令;终端设备确定用户指令用于请求终端设备向服务器发送请求消息,以控制路由器关闭路由器中至少一个射频器件;终端设备向服务器发送请求消息,请求消息包括路由器的标识;服务器向路由器发送指示消息,指示消息用于指示路由器关闭至少一个射频器件;路由器根据指示消息,确定目标射频控制指令,目标射频控制指令为指示消息对应的用于控制至少一个射频器件的指令;路由器执行目标射频控制指令以关闭至少一个射频器件。In a second aspect, a router control method is provided, which is applied to a router control system. The router control system includes: a terminal device, a server, and a router; the method includes: the terminal device obtains a user instruction; the terminal device determines that the user instruction is used to request the terminal device Send a request message to the server to control the router to turn off at least one radio frequency device in the router; the terminal device sends a request message to the server, and the request message includes the identification of the router; the server sends an indication message to the router, and the indication message is used to instruct the router to turn off at least one radio frequency device The router determines the target radio frequency control command according to the indication message, and the target radio frequency control command is an command corresponding to the indication message for controlling at least one radio frequency device; the router executes the target radio frequency control command to turn off at least one radio frequency device.
本申请实施例中,终端设备、路由器、服务器共同协作,远程控制路由器关闭至少一个射频器件,方便用户及时关闭路由器中射频器件,从而减小路由器的电磁辐射对用户的影响。In the embodiment of the present application, the terminal device, the router, and the server work together to remotely control the router to turn off at least one radio frequency device, so that the user can turn off the radio frequency device in the router in time, thereby reducing the impact of the electromagnetic radiation of the router on the user.
一种可能的实现方式中,终端设备获取用户指令,包括:终端设备采集该终端设备所处环境的第一语音信息,并将第一语音信息转换为预设格式的第一音频数据;在第一音频数据包括唤醒词的情况下,终端设备发送语音回复信息;唤醒词用于唤醒终端设备,语音回复信息用于表征终端设备被唤醒;终端设备采集该终端设备所处环境的第二语音信息;第二语音信息为用户指令;或者,终端设备采集终端设备所处环境的第三语音信息,第三语音信息为用户指令。这样,终端设备接收语音形式的用户指令,以通过服务器控制路由器关闭至少一个射频器件。进一步方便了用户操作,终端设备与用户的距离也不再阻碍用户关闭路由器的射频器件,从而减小路由器的电磁辐射对用户的影响。In a possible implementation manner, the acquiring the user instruction by the terminal device includes: the terminal device collects first voice information of the environment where the terminal device is located, and converts the first voice information into first audio data in a preset format; When the audio data includes a wake-up word, the terminal device sends voice reply information; the wake-up word is used to wake up the terminal device, and the voice reply information is used to indicate that the terminal device is woken up; the terminal device collects the second voice information of the environment where the terminal device is located ; The second voice information is a user instruction; or, the terminal device collects third voice information of the environment where the terminal device is located, and the third voice information is a user instruction. In this way, the terminal device receives a user instruction in the form of voice, so as to control the router to turn off at least one radio frequency device through the server. This further facilitates the user's operation, and the distance between the terminal equipment and the user no longer prevents the user from turning off the radio frequency device of the router, thereby reducing the influence of the electromagnetic radiation of the router on the user.
另一种可能的实现方式中,终端设备确定用户指令用于请求终端设备向服务器发送请求消息,包括:终端设备将用户指令转换为预设格式的第二音频数据;在第二音频数据满足预设条件的情况下,终端设备确定用户指令用于请求终端设备向服务器发送请求消息。In another possible implementation manner, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, including: the terminal device converts the user instruction into second audio data in a preset format; When the condition is set, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server.
另一种可能的实现方式中,在第二音频数据满足预设条件的情况下,终端设备确定用户指令用于请求终端设备向服务器发送请求消息,包括:在第二音频数据包括第一指令关键字的情况下,终端设备确定用户指令用于请求终端设备向服务器发送请求消息;或者,在第二音频数据在预存的语音指令数据中存在的情况下,终端设备确定用户指令用于请求终端设备向服务器发送请求消息;或者,在第二音频数据包括唤醒词,且第二音频数据包括第一指令关键字的情况下,终端设备确定用户指令用于请求终端设备向服务器发送请求消息。In another possible implementation manner, when the second audio data satisfies the preset condition, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, including: when the second audio data includes the first instruction key In the case of words, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server; or, when the second audio data exists in the pre-stored voice instruction data, the terminal device determines that the user instruction is used to request the terminal device Sending a request message to the server; or, when the second audio data includes a wake-up word and the second audio data includes the first instruction keyword, the terminal device determines that the user instruction is for requesting the terminal device to send a request message to the server.
这样,通过对第二音频数据进行指令关键字检测,确定用户指令用于请求终端设备向服务器发送请求消息,提高了终端设备确定语音指令用于请求终端设备向服务器发送请求消息的容错性,增强操作的友好度。通过对第二音频数据进行语音数据比对,确定用户指令用于请求终端设备向服务器发送请求消息,安全性比较高,在第二音频数据与预存的语音数据完全相同的情况下,才确定语音指令用于请求终端设备向服务器发送请求消息。在第二音频数据包括唤醒词且包括指令关键字的情况下,确定用户指令用于请求终端设备向服务器发送请求消息,可以防止误操作。In this way, by performing command keyword detection on the second audio data, it is determined that the user command is used to request the terminal device to send a request message to the server, which improves the fault tolerance of the terminal device for determining that the voice command is used to request the terminal device to send a request message to the server, and enhances Operation friendliness. By comparing the voice data of the second audio data, it is determined that the user instruction is used to request the terminal device to send a request message to the server. The security is relatively high, and the voice is determined only when the second audio data is exactly the same as the pre-stored voice data. The instruction is used to request the terminal device to send a request message to the server. In the case that the second audio data includes a wake-up word and an instruction keyword, it is determined that the user instruction is used to request the terminal device to send a request message to the server, which can prevent misoperation.
另一种可能的实现方式中,终端设备中存储有多个第一对应关系,第一对应关系为语 音指令数据与指令信息的对应关系,该方法还包括:终端设备在语音指令管理界面中接收针对目标录音控件的第一预设操作;响应于第一预设操作,终端设备显示语音录入界面,并采集终端设备所处环境中的语音信息;目标录音控件用于为控制指令信息录制语音指令数据;终端设备在反馈界面中显示采集的语音信息对应的字符信息,或者,终端设备播放采集的语音信息;终端设备响应于对采集的语音信息的确认指令,存储目标语音指令数据与所述控制指令信息的对应关系;所述目标语音指令数据为基于采集的语音信息得到的语音指令数据。这样,终端设备可以通过与用户界面交互以及语音交互,接收用户的输入,响应于用户的输入设定用于控制路由器的至少一个射频器件的用户指令,使得用户指令可以被个性化定制,从而提高了用户体验。In another possible implementation, the terminal device stores a plurality of first correspondences, the first correspondence is the correspondence between voice command data and command information, and the method further includes: the terminal device receives in the voice command management interface For the first preset operation of the target recording control; in response to the first preset operation, the terminal device displays a voice input interface, and collects voice information in the environment where the terminal device is located; the target recording control is used to record voice commands for control instruction information data; the terminal device displays the character information corresponding to the collected voice information in the feedback interface, or the terminal device plays the collected voice information; the terminal device responds to the confirmation instruction of the collected voice information, stores the target voice command data and the control The corresponding relationship of instruction information; the target voice instruction data is the voice instruction data obtained based on the collected voice information. In this way, the terminal device can receive user input through interaction with the user interface and voice interaction, and set a user instruction for controlling at least one radio frequency device of the router in response to the user input, so that the user instruction can be customized, thereby improving user experience.
另一种可能的实现方式中,终端设备中存储有多个第一对应关系,第一对应关系为语音指令数据与指令信息的对应关系,该方法还包括:终端设备采集该终端设备所处环境的第五语音信息,并将第五语音信息转换为预设格式的第三音频数据;在第三音频数据包括唤醒词,且包括第二指令关键字的情况下,终端设备播放语音指令录入提示信息;语音指令录入提示信息用于提示用户为控制指令信息录制语音指令数据;终端设备采集终端设备所处环境的第六语音信息,并播放第七语音信息,第七语音信息包括第六语音信息;第七语音信息用于提示用户确认第六语音信息;终端设备采集终端设备所处环境的第八语音信息,并将第八语音信息转换为预设格式的第四音频数据;在第四音频数据包括第三指令关键字的情况下,终端设备存储第六语音信息转换得到的预设格式的音频数据与控制指令信息的对应关系。这样,终端设备可以通过与用户进行语音交互接收用户的语音输入,响应于该语音输入设定用于控制路由器的至少一个射频器件的用户指令,使得用户指令可以被方便的进行个性化定制,从而提高了用户体验。In another possible implementation manner, the terminal device stores a plurality of first correspondences, the first correspondence is the correspondence between voice command data and command information, and the method further includes: the terminal device collects the environment where the terminal device is located the fifth voice information, and convert the fifth voice information into the third audio data in the preset format; when the third audio data includes the wake-up word and the second instruction keyword, the terminal device plays the voice instruction input prompt information; the voice command input prompt information is used to prompt the user to record voice command data for the control command information; the terminal device collects the sixth voice information of the environment where the terminal device is located, and plays the seventh voice information, the seventh voice information includes the sixth voice information The seventh voice information is used to prompt the user to confirm the sixth voice information; the terminal device collects the eighth voice information of the environment where the terminal device is located, and converts the eighth voice information into fourth audio data in a preset format; When the data includes the third instruction keyword, the terminal device stores the corresponding relationship between the audio data in the preset format obtained by converting the sixth voice information and the control instruction information. In this way, the terminal device can receive the user's voice input through voice interaction with the user, and set a user instruction for controlling at least one radio frequency device of the router in response to the voice input, so that the user instruction can be conveniently customized, thereby Improved user experience.
另一种可能的实现方式中,第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。In another possible implementation, the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router, inputting the voice of turning off Bluetooth, At least one of the voice of turning on Bluetooth, the voice of turning off infrared, the voice of turning on infrared, the voice of low radiation mode or the voice of closing mode is recorded.
另一种可能的实现方式中,第一指令关键字包括:关闭Wi-Fi、关闭路由器、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。In another possible implementation manner, the first instruction keyword includes: at least one of turning off Wi-Fi, turning off a router, turning off Bluetooth, turning off infrared, a low-radiation mode, or an off mode.
另一种可能的实现方式中,终端设备获取用户指令,包括:终端设备在第一路由器管理界面中按照路由器当前所处模式和路由器的可切换模式,区分显示路由器的模式;其中,路由器当前所处模式中,路由器的至少一个射频器件为开启状态;终端设备在第一路由器管理界面中接收针对目标模式的切换控件的第二预设操作;目标模式为可切换模式中的模式,目标模式中,路由器的至少一个射频器件为关闭状态;终端设备响应于第二预设操作,获取用户指令;用户指令用于将路由器由当前所处模式切换为目标模式。这样,路由器的模式可以包括多个射频器件的开启或关闭,通过终端设备控制路由器的模式即可以实现对路由器该多个射频器件的开启或关闭,方便用户操作。In another possible implementation manner, the terminal device acquires user instructions, including: the terminal device distinguishes and displays the mode of the router according to the current mode of the router and the switchable mode of the router in the first router management interface; wherein, the current mode of the router is In the current mode, at least one radio frequency device of the router is turned on; the terminal device receives the second preset operation of the switch control for the target mode in the first router management interface; the target mode is a mode in the switchable mode, and in the target mode , at least one radio frequency device of the router is turned off; the terminal device obtains a user instruction in response to a second preset operation; the user instruction is used to switch the router from a current mode to a target mode. In this way, the mode of the router may include turning on or off of multiple radio frequency devices, and controlling the mode of the router by the terminal device can realize turning on or off of the multiple radio frequency devices of the router, which is convenient for users to operate.
另一种可能的实现方式中,终端设备获取用户指令,包括:终端设备在第二路由器管理界面中显示路由器中各个射频器件的切换开关,以及各个射频器件的开启或关闭状态;终端设备接收在第二路由器管理界面中针对目标切换开关的第三预设操作;目标切换开关用于开启或关闭目标射频器件;终端设备响应于第三预设操作,获取用户指令;用户指令 用于控制路由器关闭目标射频器件。In another possible implementation manner, the terminal device obtains user instructions, including: the terminal device displays the switch of each radio frequency device in the router on the second router management interface, and the on or off status of each radio frequency device; The third preset operation for the target switching switch in the second router management interface; the target switching switch is used to turn on or off the target radio frequency device; the terminal device obtains user instructions in response to the third preset operation; the user instructions are used to control the shutdown of the router Target RF device.
另一种可能的实现方式中,路由器的模式包括火力全开模式、低辐射模式以及关闭模式;火力全开模式用于表征路由器中的无线保真射频器件以及除无线保真射频器件之外的其他射频器件处于开启状态;低辐射模式用于表征路由器的无线保真射频器件处于关闭状态,且其他射频器件处于开启状态;关闭模式用于表征路由器中的无线保真射频器件处于关闭状态,且其他射频器件处于关闭状态。In another possible implementation, the mode of the router includes a full-fire mode, a low-radiation mode, and an off mode; the full-fire mode is used to characterize the wireless fidelity radio frequency device in the router and other than the wireless fidelity radio frequency device. Other radio frequency devices are on; low radiation mode is used to indicate that the Wi-Fi radio device in the router is off, and other radio frequency devices are on; off mode is used to indicate that the Wi-Fi radio device in the router is off, and Other RF devices are turned off.
另一种可能的实现方式中,路由器根据指示消息,确定目标射频控制指令,包括:路由器将指示消息按照预设规则转换为目标数字信号;路由器从预存的第二对应关系(对应实施例中表3所示的对应关系)中,读取目标数字信号对应的射频控制指令作为目标射频控制指令;第二对应关系包括目标数字信号与射频控制指令的对应关系。In another possible implementation, the router determines the target radio frequency control instruction according to the indication message, including: the router converts the indication message into a target digital signal according to preset rules; 3), the radio frequency control instruction corresponding to the target digital signal is read as the target radio frequency control instruction; the second correspondence includes the correspondence between the target digital signal and the radio frequency control instruction.
另一种可能的实现方式中,该方法还包括:路由器执行预设反馈,预设反馈用于向用户指示关闭至少一个射频器件是否成功。In another possible implementation manner, the method further includes: the router executes preset feedback, and the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
另一种可能的实现方式中,路由器执行预设反馈,包括:路由器通过服务器向终端设备发送反馈消息,反馈消息用于终端设备向用户反馈关闭至少一个射频器件是否成功;终端设备根据反馈消息在终端设备的反馈界面中显示反馈消息对应的反馈信息,或者,终端设备根据反馈消息播放反馈语音信息,以向用户反馈关闭至少一个射频器件是否成功。这样,终端设备向用户反馈关闭至少一个射频器件是否成功,方便用户获取反馈信息,从而提升用户体验。In another possible implementation manner, the router performs preset feedback, including: the router sends a feedback message to the terminal device through the server, and the feedback message is used for the terminal device to feedback to the user whether at least one radio frequency device is successfully turned off; Feedback information corresponding to the feedback message is displayed on the feedback interface of the terminal device, or the terminal device plays feedback voice information according to the feedback message, so as to feed back to the user whether at least one radio frequency device is successfully turned off. In this way, the terminal device feeds back to the user whether at least one radio frequency device is successfully turned off, which facilitates the user to obtain feedback information, thereby improving user experience.
另一种可能的实现方式中,路由器执行预设反馈,包括:路由器播放反馈语音信息,反馈语音信息用于向用户反馈关闭至少一个射频器件是否成功;或者,路由器改变信息灯的颜色以向用户反馈关闭至少一个射频器件是否成功。这样,路由器向用户反馈关闭至少一个射频器件是否成功,用户可以直观的看到路由器的反馈,从而提高用户体验。In another possible implementation, the router performs preset feedback, including: the router plays feedback voice information, and the feedback voice information is used to feedback to the user whether at least one radio frequency device is successfully turned off; or, the router changes the color of the information light to inform the user Feedback whether the shutdown of at least one RF device was successful. In this way, the router feeds back to the user whether at least one radio frequency device is successfully turned off, and the user can intuitively see the feedback from the router, thereby improving user experience.
第三方面,提供一种路由器,包括:获取单元和处理器;获取单元,用于获取控制指令信息;控制指令信息为蓝牙射频控制信号,或者,控制指令信息为音频数据;处理器,用于在控制指令信息满足预设条件的情况下,确定控制指令信息用于控制开启或关闭路由器中至少一个射频器件;处理器还用于:根据控制指令信息,确定目标射频控制指令,目标射频控制指令为控制指令信息对应的用于控制至少一个射频器件的指令;处理器还用于:执行目标射频控制指令以开启或关闭至少一个射频器件。In a third aspect, a router is provided, including: an acquisition unit and a processor; the acquisition unit is used to acquire control instruction information; the control instruction information is a Bluetooth radio frequency control signal, or the control instruction information is audio data; the processor is used for When the control instruction information satisfies the preset condition, determine that the control instruction information is used to control turning on or off at least one radio frequency device in the router; the processor is also used to: determine the target radio frequency control instruction according to the control instruction information, the target radio frequency control instruction Instructions corresponding to the control instruction information for controlling at least one radio frequency device; the processor is further configured to: execute a target radio frequency control instruction to turn on or off at least one radio frequency device.
可选的,获取单元包括蓝牙模块;蓝牙模块具体用于:接收控制指令信息;控制指令信息为蓝牙射频控制信号。Optionally, the acquisition unit includes a Bluetooth module; the Bluetooth module is specifically used to: receive control instruction information; the control instruction information is a Bluetooth radio frequency control signal.
可选的,获取单元还包括:音频处理模块,音频处理模块具体用于:采集路由器所处环境的第一语音信息,并将第一语音信息转换为预设格式的第一音频数据;处理器具体用于:在第一音频数据包括唤醒词的情况下,控制音频处理模块播放语音回复信息;唤醒词用于唤醒路由器;语音回复信息用于表征路由器被唤醒;音频处理模块还用于:采集路由器所处环境的第二语音信息,并将第二语音信息转换为预设格式的第二音频数据;处理器具体用于:在第二音频数据满足预设条件的情况下,确定第二音频数据用于控制开启或关闭路由器中至少一个射频器件;第二音频数据为控制指令信息;或者,音频处理模块具体用于:采集路由器所处环境的第三语音信息,并将第三语音信息转换为预设格式的第三音频数据;处理器具体用于:在第三音频数据满足预设条件的情况下,确定第三音频数据用 于控制开启或关闭路由器中至少一个射频器件;第三音频数据为控制指令信息。Optionally, the acquisition unit further includes: an audio processing module, and the audio processing module is specifically configured to: collect first voice information of the environment where the router is located, and convert the first voice information into first audio data in a preset format; the processor Specifically used for: when the first audio data includes a wake-up word, control the audio processing module to play voice reply information; the wake-up word is used to wake up the router; the voice reply information is used to indicate that the router is woken up; the audio processing module is also used for: collecting The second voice information of the environment where the router is located, and convert the second voice information into second audio data in a preset format; the processor is specifically used to: determine the second audio data when the second audio data meets the preset conditions The data is used to control the opening or closing of at least one radio frequency device in the router; the second audio data is control instruction information; or, the audio processing module is specifically used to: collect the third voice information of the environment where the router is located, and convert the third voice information It is third audio data in a preset format; the processor is specifically used to: determine that the third audio data is used to control turning on or off at least one radio frequency device in the router when the third audio data satisfies a preset condition; the third audio The data is control instruction information.
可选的,处理器用于:在第二音频数据包括第一指令关键字的情况下,确定第二音频数据用于控制开启或关闭路由器中至少一个射频器件;或者,处理器用于:在第二音频数据在预存的多个语音指令数据中存在的情况下,确定第二音频数据用于控制开启或关闭路由器中至少一个射频器件;或者,处理器用于:在第二音频数据包括唤醒词,且第二音频数据包括第一指令关键字的情况下,确定第二音频数据用于控制开启或关闭路由器中至少一个射频器件;或者,处理器用于:在第三音频数据包括第一指令关键字的情况下,确定第三音频数据用于控制开启或关闭路由器中至少一个射频器件;或者,处理器用于:在第三音频数据在预存的多个语音指令数据中存在的情况下,确定第三音频数据用于控制开启或关闭路由器中至少一个射频器件;或者,处理器用于:在第三音频数据包括唤醒词,且第三音频数据包括第一指令关键字的情况下,确定第三音频数据用于控制开启或关闭路由器中至少一个射频器件。Optionally, the processor is configured to: if the second audio data includes the first instruction keyword, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router; or, the processor is configured to: in the second If the audio data exists in the pre-stored plurality of voice command data, it is determined that the second audio data is used to control turning on or off at least one radio frequency device in the router; or, the processor is configured to: when the second audio data includes a wake-up word, and In the case where the second audio data includes the first instruction keyword, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router; or, the processor is configured to: when the third audio data includes the first instruction keyword In this case, the determination of the third audio data is used to control the opening or closing of at least one radio frequency device in the router; or, the processor is used to: determine the third audio data when the third audio data exists in the pre-stored multiple voice instruction data. The data is used to control at least one radio frequency device in the router to be turned on or off; or, the processor is used to: when the third audio data includes a wake-up word, and the third audio data includes the first instruction keyword, determine the third audio data. It is used to control to turn on or turn off at least one radio frequency device in the router.
可选的,路由器还包括存储单元,存储单元中存储有多个第一对应关系;第一对应关系为指令关键字与射频控制指令的对应关系,处理器具体用于:确定控制指令信息所包括的目标指令关键字,从多个第一对应关系中,读取目标指令关键字对应的射频控制指令作为目标射频控制指令;第一指令关键字包括目标指令关键字;或者,存储单元中存储有多个第二对应关系;第二对应关系为语音指令数据与射频控制指令的对应关系;处理器具体用于:从多个第一对应关系中,读取控制指令信息对应的射频控制指令作为目标射频控制指令。Optionally, the router further includes a storage unit, in which a plurality of first correspondences are stored; the first correspondence is a correspondence between an instruction keyword and a radio frequency control instruction, and the processor is specifically configured to: determine the information included in the control instruction information The target instruction keyword, from a plurality of first correspondences, read the radio frequency control instruction corresponding to the target instruction keyword as the target radio frequency control instruction; the first instruction keyword includes the target instruction keyword; or, the storage unit stores A plurality of second correspondences; the second correspondence is the correspondence between voice instruction data and radio frequency control instructions; the processor is specifically used to: read the radio frequency control instructions corresponding to the control instruction information from the plurality of first correspondences as the target RF control commands.
可选的,音频处理模块还用于:采集路由器所处环境的第四语音信息,并将第四语音信息转换为预设格式的第四音频数据;处理器还用于:在第四音频数据包括唤醒词,且包括第二指令关键字的情况下,控制音频处理模块播放语音指令录入提示信息;语音指令录入提示信息用于提示用户录入控制开启或关闭路由器中至少一个射频器件的目标语音指令数据;音频处理模块用于:采集路由器所处环境的第五语音信息,并播放第六语音信息,第六语音信息包括第五语音信息;第六语音信息用于提示用户确认第五语音信息;音频处理模块还用于:采集路由器所处环境的第七语音信息,并将第七语音信息转换为预设格式的第五音频数据;处理器具体用于:在第五音频数据包括第三指令关键字的情况下,存储第五语音信息转换得到的预设格式的音频数据与待录制射频控制指令的对应关系;第五语音信息转换得到的预设格式的音频数据为目标语音指令数据;待录制射频控制指令用于控制路由器开启或关闭路由器中至少一个射频器件。Optionally, the audio processing module is also used to: collect fourth voice information of the environment where the router is located, and convert the fourth voice information into fourth audio data in a preset format; the processor is also used to: Including the wake-up word and including the second instruction keyword, the audio processing module is controlled to play the voice command input prompt information; the voice command input prompt information is used to prompt the user to input the target voice command to control the opening or closing of at least one radio frequency device in the router data; the audio processing module is used to: collect the fifth voice information of the environment where the router is located, and play the sixth voice information, the sixth voice information includes the fifth voice information; the sixth voice information is used to prompt the user to confirm the fifth voice information; The audio processing module is also used to: collect the seventh voice information of the environment where the router is located, and convert the seventh voice information into fifth audio data in a preset format; the processor is specifically used to: include the third instruction in the fifth audio data In the case of keywords, the corresponding relationship between the audio data in the preset format obtained by the conversion of the fifth voice information and the radio frequency control instruction to be recorded is stored; the audio data in the preset format obtained by the conversion of the fifth voice information is the target voice instruction data; The recorded radio frequency control command is used to control the router to turn on or turn off at least one radio frequency device in the router.
可选的,第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。Optionally, the second instruction keyword includes: input the voice of turning off Wi-Fi, input the voice of turning on Wi-Fi, input the voice of turning off the router, input the voice of turning on the router, input the voice of turning off Bluetooth, input the voice of turning on Bluetooth 1. Record at least one of the voice of turning off infrared, the voice of turning on infrared, the voice of low radiation mode or the voice of off mode.
可选的,第一指令关键字包括:关闭Wi-Fi、关闭路由器、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。Optionally, the first instruction keyword includes: at least one of turning off Wi-Fi, turning off a router, turning off Bluetooth, turning off infrared, a low-radiation mode, or an off mode.
可选的,处理器还用于:执行预设反馈,预设反馈用于向用户指示关闭至少一个射频器件是否成功。Optionally, the processor is further configured to: execute preset feedback, where the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
可选的,路由器还包括发送单元,用于向终端设备发送反馈消息,反馈消息用于终端 设备向用户反馈关闭至少一个射频器件是否成功。Optionally, the router further includes a sending unit, configured to send a feedback message to the terminal device, where the feedback message is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off.
可选的,音频处理模块还用于:播放反馈语音信息,反馈语音信息用于向用户反馈关闭至少一个射频器件是否成功;或者,处理器控制改变信息灯的颜色以向用户反馈关闭至少一个射频器件是否成功。Optionally, the audio processing module is also used to: play feedback voice information, and the feedback voice information is used to feed back to the user whether at least one radio frequency device is successfully turned off; or, the processor controls to change the color of the information light to feedback to the user whether to turn off at least one radio frequency device device is successful.
可选的,获取单元还用于:获取路由器的开启条件;开启条件包括路由器处于关闭状态的时长大于或等于预设关闭时长;或者,开启条件包括路由器的当前时间为预设开启时间点;处理器还用于,路由器满足开启条件的情况下,开启路由器。Optionally, the obtaining unit is also used to: obtain the opening condition of the router; the opening condition includes that the time period that the router is in the off state is greater than or equal to the preset closing time; or, the opening condition includes that the current time of the router is the preset opening time point; processing The switch is also used to start the router when the router meets the start condition.
可选的,获取单元还用于:获取路由器的关闭条件;关闭条件包括路由器处于开启状态的时长大于或等于预设开启时长;或者,关闭条件包括路由器的当前时间为预设关闭时间点;处理器还用于,在路由器满足关闭条件的情况下,关闭路由器。Optionally, the acquiring unit is also used to: acquire the shutdown condition of the router; the shutdown condition includes that the duration of the router being in the ON state is greater than or equal to the preset ON duration; or, the shutdown condition includes that the current time of the router is the preset shutdown time point; processing The router is also used to shut down the router when the router satisfies the shutdown condition.
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行第一方面或第一方面的任意一种可能的实现方式中描述的一种路由器控制方法中终端设备或路由器所执行的方法,或者,使得计算机执行第二方面或第二方面的任意一种可能的实现方式中描述的路由器控制方法中终端设备、服务器或路由器所执行的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is run on a computer, the computer executes the first aspect or the first aspect. A method performed by a terminal device or a router in a router control method described in any possible implementation of the second aspect, or causing a computer to execute the second aspect or the method described in any possible implementation of the second aspect A method performed by a terminal device, a server, or a router in a router control method.
第五方面,本申请实施例提供一种包括计算机程序的计算机程序产品,当计算机程序在计算机上运行时,使得计算机执行第一方面或第一方面的任意一种可能的实现方式中描述的一种路由器控制方法中终端设备或路由器所执行的方法,或者,使得计算机执行第二方面或第二方面的任意一种可能的实现方式中描述的路由器控制方法中终端设备、服务器或路由器所执行的方法。In the fifth aspect, the embodiment of the present application provides a computer program product including a computer program, when the computer program runs on the computer, the computer executes one of the first aspect or any one of the possible implementations of the first aspect. A method performed by a terminal device or a router in a router control method, or causing a computer to execute the method performed by a terminal device, a server or a router in the router control method described in the second aspect or any possible implementation of the second aspect method.
第六方面,本申请提供一种芯片或者芯片系统,该芯片或者芯片系统包括至少一个处理器和通信接口,通信接口和至少一个处理器通过线路互联,至少一个处理器用于运行计算机程序或指令,以执行第一方面或第一方面的任意一种可能的实现方式中描述的一种路由器控制方法中终端设备或路由器所执行的方法,或者,以执行第二方面或第二方面的任意一种可能的实现方式中描述的路由器控制方法中终端设备、服务器或路由器所执行的方法;其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。In a sixth aspect, the present application provides a chip or a chip system, the chip or chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through lines, and the at least one processor is used to run computer programs or instructions, A method performed by a terminal device or a router in a router control method described in the first aspect or any possible implementation of the first aspect, or to implement the second aspect or any one of the second aspect A method performed by a terminal device, a server, or a router in the router control method described in a possible implementation; wherein, the communication interface in the chip may be an input/output interface, a pin, or a circuit.
在一种可能的实现中,本申请中上述描述的芯片或者芯片系统还包括至少一个存储器,该至少一个存储器中存储有指令。该存储器可以为芯片内部的存储单元,例如,寄存器、缓存等,也可以是该芯片的存储单元(例如,只读存储器、随机存取存储器等)。In a possible implementation, the chip or the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (eg, a read-only memory, a random access memory, etc.).
第七方面,本申请实施例提供一种电子设备,该电子设备可以执行第一方面或第一方面的任意一种可能的实现方式中描述的一种路由器控制方法中终端设备或路由器所执行的方法,或者,以执行第二方面或第二方面的任意一种可能的实现方式中描述的路由器控制方法中终端设备、服务器或路由器所执行的方法;其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。In the seventh aspect, the embodiment of the present application provides an electronic device, which can implement the router control method performed by the terminal device or the router described in the first aspect or in any possible implementation manner of the first aspect. method, or to execute the method performed by the terminal device, server, or router in the router control method described in the second aspect or any possible implementation of the second aspect; wherein, the communication interface in the chip can be an input/ Output interface, pin or circuit, etc.
应当理解的是,本申请的第三方面至第七方面与本申请的第一方面或第二方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the third to seventh aspects of the present application correspond to the technical solutions of the first aspect or the second aspect of the present application, and the beneficial effects obtained in each aspect and the corresponding feasible implementation modes are similar, and will not be repeated here. .
图1为本申请实施例所适用的路由器的示意图;FIG. 1 is a schematic diagram of a router to which the embodiment of the present application is applicable;
图2为本申请实施例提供的一种应用场景的示意图;FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图3为本申请实施例提供的另一种应用场景的示意图;FIG. 3 is a schematic diagram of another application scenario provided by the embodiment of the present application;
图4为本申请实施例提供的一种路由器的结构示意图;FIG. 4 is a schematic structural diagram of a router provided in an embodiment of the present application;
图5为本申请实施例提供的另一种路由器的结构示意图;FIG. 5 is a schematic structural diagram of another router provided in an embodiment of the present application;
图6为本申请实施例提供的一种终端设备的结构示意图;FIG. 6 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
图7为本申请实施例提供的一种服务器的结构示意图;FIG. 7 is a schematic structural diagram of a server provided by an embodiment of the present application;
图8为本申请实施例提供的一种路由器控制系统的示意图;FIG. 8 is a schematic diagram of a router control system provided in an embodiment of the present application;
图9为本申请实施例提供的另一种路由器控制系统的示意图;FIG. 9 is a schematic diagram of another router control system provided by an embodiment of the present application;
图10为本申请实施例提供的另一种路由器控制系统的示意图;FIG. 10 is a schematic diagram of another router control system provided by an embodiment of the present application;
图11为本申请实施例提供的另一种路由器控制系统的示意图;FIG. 11 is a schematic diagram of another router control system provided by an embodiment of the present application;
图12为本申请实施例提供的一种路由器控制方法的流程示意图;FIG. 12 is a schematic flowchart of a router control method provided in an embodiment of the present application;
图13为本申请实施例提供的终端设备获取语音指令数据与射频控制指令的对应关系并发送给路由器的示意图;FIG. 13 is a schematic diagram of the terminal device obtaining the corresponding relationship between the voice instruction data and the radio frequency control instruction and sending it to the router provided by the embodiment of the present application;
图14为本申请实施例提供的另一种路由器控制方法的流程示意图;FIG. 14 is a schematic flowchart of another router control method provided in the embodiment of the present application;
图15为本申请实施例提供的终端设备的一种界面的示意图;FIG. 15 is a schematic diagram of an interface of a terminal device provided in an embodiment of the present application;
图16为本申请实施例提供的终端设备的另一种界面的示意图;FIG. 16 is a schematic diagram of another interface of a terminal device provided by an embodiment of the present application;
图17为本申请实施例提供的终端设备在界面向用户显示反馈信息的示意图;FIG. 17 is a schematic diagram of a terminal device displaying feedback information to a user on an interface provided by an embodiment of the present application;
图18为本申请实施例提供的终端设备向用户显示反馈信息的另一示意图;FIG. 18 is another schematic diagram of displaying feedback information to a user by a terminal device provided in an embodiment of the present application;
图19为本申请实施例提供的另一种路由器控制方法的流程示意图;FIG. 19 is a schematic flowchart of another router control method provided in the embodiment of the present application;
图20为本申请实施例提供的另一种路由器控制方法的流程示意图;FIG. 20 is a schematic flowchart of another router control method provided in the embodiment of the present application;
图21为本申请实施例提供的一种终端设备响应于用户的操作向路由器发送开启条件的示意图;FIG. 21 is a schematic diagram of a terminal device sending an activation condition to a router in response to a user operation provided by an embodiment of the present application;
图22为本申请实施例提供的另一种终端设备响应于用户的操作向路由器发送开启条件的示意图;FIG. 22 is a schematic diagram of another terminal device sending an enabling condition to a router in response to a user operation provided in an embodiment of the present application;
图23为本申请实施例提供的另一种终端设备响应于用户的操作向路由器发送开启条件的示意图;FIG. 23 is a schematic diagram of another terminal device sending an enabling condition to a router in response to a user operation provided in an embodiment of the present application;
图24为本申请实施例提供的另一种路由器控制方法的流程示意图;FIG. 24 is a schematic flowchart of another router control method provided in the embodiment of the present application;
图25为本申请实施例提供的一种路由器的结构示意图。FIG. 25 is a schematic structural diagram of a router provided in an embodiment of the present application.
为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一芯片和第二芯片仅仅是为了区分不同的芯片,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. For example, the first chip and the second chip are only used to distinguish different chips, and their sequence is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not necessarily limit the difference.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a--c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a--c, b-c, or a-b-c, where a, b, c can be single or is multiple.
路由器(router)是连接两个或多个网络的硬件设备,在网络间起网关的作用。路由器可以读取其接收到的数据包中的地址,并根据该地址将数据包传送至该地址。路由器包括多个射频器件。在路由器处于开启状态的情况下会产生一定的电磁辐射。电磁辐射可能对人体造成损害,尤其是家里有孕妇或小孩时,对电磁辐射较为敏感。通常的设计中,路由器可以设置开关键,开关键用于用户开启或关闭路由器。A router is a hardware device that connects two or more networks and acts as a gateway between the networks. A router can read the address in a packet it receives and, based on that address, forward the packet to that address. A router includes multiple radio frequency devices. When the router is turned on, certain electromagnetic radiation will be generated. Electromagnetic radiation may cause damage to the human body, especially when there are pregnant women or children at home, they are more sensitive to electromagnetic radiation. In a common design, the router can be provided with an on/off key, and the on/off key is used for the user to turn on or off the router.
示例性的,如图1所示,路由器10设置有开关键101,用户可以通过操作该开关键101开启路由器10,或者,关闭路由器10。例如,处于关闭状态的路由器10,在开关键101被按下之后,路由器10被开启;处于开启状态的路由器10,在开关键101被按下之后,路由器10被关闭。Exemplarily, as shown in FIG. 1 , the router 10 is provided with an on/off key 101 , and the user can turn on the router 10 or turn off the router 10 by operating the on/off key 101 . For example, for the router 10 in the off state, after the switch key 101 is pressed, the router 10 is turned on; for the router 10 in the open state, after the switch key 101 is pressed, the router 10 is turned off.
但是,利用路由器的开关键开启或关闭路由器时,用户操作较为不便。However, when the router is turned on or off by using the on/off key of the router, it is relatively inconvenient for the user to operate.
例如,如图2所示为本申请实施例的一种应用场景的示意图,图2所示的场景中,路由器放置在一楼客厅中,用户在二楼卧室,用户关闭或开启路由器时,需要从二楼卧室走到一楼客厅中,按压路由器的开关键,关闭或开启路由器,较为不便。For example, Figure 2 is a schematic diagram of an application scenario of the embodiment of the present application. In the scenario shown in Figure 2, the router is placed in the living room on the first floor, and the user is in the bedroom on the second floor. It is inconvenient to walk from the bedroom on the second floor to the living room on the first floor and press the switch button of the router to turn off or turn on the router.
如图3所示为本申请实施例的另一种应用场景的示意图。图3所示的场景中,路由器放置在客厅中,用户在与客厅同一层的卧室,用户关闭或开启路由器时,需要从卧室走到客厅中,按压路由器的开关键,关闭或开启路由器,较为不便。FIG. 3 is a schematic diagram of another application scenario of the embodiment of the present application. In the scenario shown in Figure 3, the router is placed in the living room. The user is in the bedroom on the same floor as the living room. inconvenient.
基于此,本申请实施例提供路由器控制方法,路由器可以支持由语音或终端设备控制实现开启或关闭。对应于图2或图3的场景,用户可以通过操作其所持的终端设备控制开启或关闭路由器,或者,用户可以通过语音开启或关闭路由器。这样,用户开启或关闭路由器将不用受限于路由器放置的位置,可以方便的控制路由器。Based on this, the embodiment of the present application provides a router control method, and the router can be turned on or off by voice or terminal device control. Corresponding to the scene in FIG. 2 or FIG. 3 , the user can control turning on or off the router by operating the terminal device held by him, or the user can turn on or turn off the router by voice. In this way, the user will not be limited to the location where the router is placed to turn on or off the router, and can control the router conveniently.
路由器中的电磁辐射绝大部分来自于路由器中开启的射频器件,因此,在本申请实施例的一种可能实现方式中,路由器也可以支持由语音或终端设备控制关闭路由器中的射频器件,以减低路由器的辐射。Most of the electromagnetic radiation in the router comes from the radio frequency device turned on in the router. Therefore, in a possible implementation of the embodiment of the present application, the router can also support turning off the radio frequency device in the router by voice or terminal equipment, so as to Reduce the radiation of the router.
可选的,在关闭路由器的射频器件时,为了使得路由器能与终端设备保持通信,路由器可以保持部分用于与终端设备通信的射频器件处于开启状态,例如,路由器可以保持蓝牙射频器件处于开启状态。其他的射频器件,例如Wi-Fi射频器件等进行关闭,这样仍然能减小路由器的电磁辐射,且路由器可以基于蓝牙射频器件等接收终端设备发送的控制指令,并根据该控制指令方便的开启路由器中被关闭的射频器件。Optionally, when the radio frequency device of the router is turned off, in order to enable the router to maintain communication with the terminal device, the router may keep some radio frequency devices used for communicating with the terminal device on, for example, the router may keep the Bluetooth radio frequency device on . Turn off other radio frequency devices, such as Wi-Fi radio frequency devices, etc., so that the electromagnetic radiation of the router can still be reduced, and the router can receive control commands sent by terminal devices based on Bluetooth radio frequency devices, etc., and turn on the router conveniently according to the control commands RF devices that are turned off in the
图4所示为本申请实施例提供的一种路由器的结构示意图,图4所示的路由器40包括蓝牙模块401、处理器402以及射频器件403。其中,蓝牙模块401包括蓝牙收发器4011、蓝牙前端模块4012以及天线4013,蓝牙收发器4011用于将基带信号转换为蓝牙射频信号。蓝牙前端模块4012包括功率放大器(power amplifier,PA)、滤波器以及低噪声放大 器等。其中,功率放大器用于发射通道的射频信号的放大;滤波器用于发射及接收信号的滤波;低噪声放大器主要用于接收通道中的小信号放大。天线4013用于接收或者发送蓝牙射频信号。FIG. 4 is a schematic structural diagram of a router provided by an embodiment of the present application. The router 40 shown in FIG. 4 includes a Bluetooth module 401 , a processor 402 and a radio frequency device 403 . Wherein, the Bluetooth module 401 includes a Bluetooth transceiver 4011, a Bluetooth front-end module 4012 and an antenna 4013, and the Bluetooth transceiver 4011 is used for converting baseband signals into Bluetooth radio frequency signals. Bluetooth front-end module 4012 includes power amplifier (power amplifier, PA), filter and low noise amplifier etc. Among them, the power amplifier is used to amplify the radio frequency signal of the transmitting channel; the filter is used to filter the transmitting and receiving signals; the low noise amplifier is mainly used for amplifying small signals in the receiving channel. The antenna 4013 is used for receiving or sending Bluetooth radio frequency signals.
处理器402可以包括一个或多个处理单元,例如,可以包括中央处理器(central processing unit,CPU)、图像处理器(graphicsprocessing unit,GPU)、数字信号处理器(digital signal processor,DSP)、微处理器(micro-programmed control unit,MCU)、人工智能(artificialIntelligence,AI)处理器或可编程逻辑器件(field programmable gatearray,FPGA)等的处理模块或处理电路。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 402 may include one or more processing units, for example, may include a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), a digital signal processor (digital signal processor, DSP), a micro Processor (micro-programmed control unit, MCU), artificial intelligence (artificial Intelligence, AI) processor or programmable logic device (field programmable gatearray, FPGA) and other processing modules or processing circuits. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
处理器402中可以设置存储单元,用于存储指令和数据。在一些实施例中,处理器402中的存储单元为高速缓冲存储器。示例性的,处理器402的存储单元中存储多个第一对应关系、第二对应关系以及第三对应关系中的至少一种。第一对应关系为指令关键字与射频控制指令的对应关系,第二对应关系为语音指令数据与射频控制指令的对应关系。第三对应关系为数字信号与射频控制指令的对应关系。A storage unit may be provided in the processor 402 for storing instructions and data. In some embodiments, the storage unit in processor 402 is a cache memory. Exemplarily, at least one of multiple first correspondences, second correspondences and third correspondences is stored in the storage unit of the processor 402 . The first correspondence is the correspondence between instruction keywords and radio frequency control instructions, and the second correspondence is the correspondence between voice instruction data and radio frequency control instructions. The third correspondence is the correspondence between digital signals and radio frequency control instructions.
本申请实施例中,蓝牙收发器4011可以与处理器402集成在一起,蓝牙收发器4011也可以集成在蓝牙模块401中,本申请实施例对此不进行限定。In the embodiment of the present application, the Bluetooth transceiver 4011 may be integrated with the processor 402, and the Bluetooth transceiver 4011 may also be integrated in the Bluetooth module 401, which is not limited in this embodiment of the present application.
射频器件403是一种可发生高频交流变化电磁波的器件,射频器件403可以在发射信号的过程中将二进制数字信号转换成高频率的无线电磁波信号;射频器件403可以在接收信号的过程中将收到的无线电磁波信号转换成二进制数字信号。射频器件403包括无线保真(wireless fidelity,Wi-Fi)射频器件、蓝牙(bluetooth,BT)射频器件、2G/3G/4G/5G等射频器件、调频(frequency modulation,FM)射频器件以及近距离无线通信技术(near field communication,NFC)射频器件等。The radio frequency device 403 is a device that can generate high-frequency alternating electromagnetic waves. The radio frequency device 403 can convert binary digital signals into high-frequency wireless electromagnetic wave signals during the process of transmitting signals; The received radio electromagnetic wave signal is converted into a binary digital signal. The radio frequency device 403 includes wireless fidelity (wireless fidelity, Wi-Fi) radio frequency device, bluetooth (bluetooth, BT) radio frequency device, 2G/3G/4G/5G and other radio frequency devices, frequency modulation (frequency modulation, FM) radio frequency device and short distance Wireless communication technology (near field communication, NFC) radio frequency devices, etc.
图5所示为本申请实施例提供的另一种路由器的结构示意图,图5所示的路由器50包括音频处理模块501、处理器502以及射频器件503。音频处理模块501包括音频接收器5011、音频外放器5012以及音频编解码器5013。FIG. 5 is a schematic structural diagram of another router provided by an embodiment of the present application. The router 50 shown in FIG. 5 includes an audio processing module 501 , a processor 502 and a radio frequency device 503 . The audio processing module 501 includes an audio receiver 5011 , an audio amplifier 5012 and an audio codec 5013 .
音频接收器5011可以用于接收声音信号并将声音信号转换为音频电信号。例如,音频接收器5011可以是麦克风。The audio receiver 5011 can be used to receive sound signals and convert the sound signals into audio electrical signals. For example, audio receiver 5011 may be a microphone.
音频外放器5012可以用于将音频电信号转换成声音信号后输出。例如,音频外放器5012可以是扬声器。The audio amplifier 5012 can be used to convert the electrical audio signal into a sound signal and then output it. For example, audio speaker 5012 may be a speaker.
音频编解码器5013用于将数字音频信号转换成音频电信号,或者,将音频电信号转换成可以被处理器502识别的数字音频信号。在一些实施例中,音频处理模块501可以设置于处理器502中,或者,将音频处理模块501的部分功能模块设置于处理器502中。The audio codec 5013 is used to convert digital audio signals into electrical audio signals, or convert electrical audio signals into digital audio signals that can be recognized by the processor 502 . In some embodiments, the audio processing module 501 can be set in the processor 502 , or some functional modules of the audio processing module 501 can be set in the processor 502 .
图5中处理器502以及射频器件503的解释参考图4中处理器402以及射频器件403的相关说明,不再赘述。图5中的路由器50也可以包括图4中路由器40的所有部分。本申请实施例对此不进行限定。For the explanation of the processor 502 and the radio frequency device 503 in FIG. 5 , refer to the related description of the processor 402 and the radio frequency device 403 in FIG. 4 , and details are not repeated here. Router 50 in FIG. 5 may also include all parts of router 40 in FIG. 4 . This embodiment of the present application does not limit it.
图6所示为本申请实施例提供的一种终端设备的结构示意图,图6所示的终端设备20包括天线1、天线2、处理器201、存储器202、无线通信模块203、电源204、移动通信模块205、音频处理模块206、显示屏207、传感器模块208以及按键209等。其中,音频处理模块206包括音频收发器2061和音频编解码器2062。示例性的,音频收发器2061 包括音频接收器(例如:麦克风)和音频外放器(例如:扬声器以及听筒等)。音频外放器可以用于将音频信号转换为声音信号后输出。终端设备20可以通过扬声器输出声音信号。音频接收器可以用于将收集到的声音信号转换为电信号。在一些实施例中,音频接收器可以包括主麦克风和副麦克风。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. The terminal device 20 shown in FIG. 6 includes an antenna 1, an antenna 2, a processor 201, a memory 202, a wireless communication module 203, a power supply 204, A communication module 205, an audio processing module 206, a display screen 207, a sensor module 208, buttons 209, and the like. Wherein, the audio processing module 206 includes an audio transceiver 2061 and an audio codec 2062 . Exemplarily, the audio transceiver 2061 includes an audio receiver (such as a microphone) and an audio amplifier (such as a speaker and an earpiece, etc.). The audio amplifier can be used to convert the audio signal into a sound signal and then output it. The terminal device 20 can output a sound signal through a speaker. Audio receivers can be used to convert collected sound signals into electrical signals. In some embodiments, the audio receiver may include a primary microphone and a secondary microphone.
处理器201可以包括一个或多个处理单元,例如:处理器201可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 201 may include one or more processing units, for example: the processor 201 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
处理器201中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器201中的存储器可以为高速缓冲存储器,该存储器可以保存处理器201刚用过或循环使用的指令或数据。A memory may also be provided in the processor 201 for storing instructions and data. In some embodiments, the memory in the processor 201 may be a cache memory, which may store instructions or data that are just used or recycled by the processor 201 .
在一些实施例中,处理器201可以包括一个或多个接口,接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 201 may include one or more interfaces, and the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, pulse code modulation ( pulse code modulation (PCM) interface, and/or universal serial bus (universal serial bus, USB) interface, etc.
电源204为处理器201,存储器202,无线通信模块203、移动通信模块205、音频处理模块206、显示屏207、传感器模块208和按键209等供电。The power supply 204 supplies power for the processor 201, the memory 202, the wireless communication module 203, the mobile communication module 205, the audio processing module 206, the display screen 207, the sensor module 208 and the keys 209, etc.
终端设备20的无线通信功能可以通过天线1,天线2,移动通信模块205以及无线通信模块203等实现。The wireless communication function of the terminal device 20 can be realized by the antenna 1, the antenna 2, the mobile communication module 205, the wireless communication module 203, and the like.
天线1和天线2用于发射和接收电磁波信号。终端设备20中的天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Antennas in terminal device 20 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
移动通信模块205可以提供应用在终端设备20上的包括2G/3G/4G/5G等无线通信的解决方案;无线通信模块203可以提供应用在终端设备20上的包括无线局域网(wirelesslocal area networks,WLAN)(如:无线保真网络),蓝牙,全球导航卫星系统(global navigation satellite system,GNSS),FM,近距离无线通信技术,红外技术(infrared,IR)等无线通信的解决方案。The mobile communication module 205 can provide wireless communication solutions including 2G/3G/4G/5G applied on the terminal device 20; the wireless communication module 203 can provide solutions including wireless local area networks (wireless local area networks, WLAN) applied on the terminal device 20 ) (such as: wireless fidelity network), Bluetooth, global navigation satellite system (global navigation satellite system, GNSS), FM, short-range wireless communication technology, infrared technology (infrared, IR) and other wireless communication solutions.
在一些实施例中,终端设备20的天线1和移动通信模块205耦合,天线2和无线通信模块203耦合,使得终端设备20可以通过无线通信技术与网络以及其他设备通信;其中,无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(codedivision multiple access,CDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。In some embodiments, the antenna 1 of the terminal device 20 is coupled to the mobile communication module 205, and the antenna 2 is coupled to the wireless communication module 203, so that the terminal device 20 can communicate with the network and other devices through a wireless communication technology; wherein, the wireless communication technology can Including global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), long term evolution (long term evolution, LTE ), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
终端设备20通过显示屏207实现显示功能,显示屏207用于显示图像,视频等,显示屏207包括显示面板。在一些实施例中,终端设备20可以包括1个或N个显示屏207,N为大于1的正整数。The terminal device 20 implements a display function through a display screen 207, the display screen 207 is used to display images, videos, etc., and the display screen 207 includes a display panel. In some embodiments, the terminal device 20 may include 1 or N display screens 207, where N is a positive integer greater than 1.
终端设备20可以通过音频处理模块206等实现音频的接收和发送功能。在一些实施 例中,终端设备20可以包括1个或N个音频接收器(例如:麦克风)以及音频外放器(例如:扬声器speaker),N为大于1的正整数。The terminal device 20 may implement audio receiving and sending functions through the audio processing module 206 and the like. In some embodiments, the terminal device 20 may include 1 or N audio receivers (such as microphones) and audio amplifiers (such as speakers), where N is a positive integer greater than 1.
存储器202可以用于存储计算机可执行程序代码,可执行程序代码包括指令。存储器202可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像显示功能等)等。The memory 202 may be used to store computer-executable program code, which includes instructions. The memory 202 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image display function, etc.) and the like.
传感器模块208包括压力传感器2081用于感受压力信号,其可以将压力信号转换成电信号。在一些实施例中,压力传感器2081可以设置于显示屏207中。The sensor module 208 includes a pressure sensor 2081 for sensing pressure signals, which can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 2081 can be disposed in the display screen 207 .
触摸传感器2082,也称“触控器件”。触摸传感器2082可以设置于显示屏207,由触摸传感器2082与显示屏207组成触摸屏,也称“触控屏”。触摸传感器2082用于检测作用于其上或附近的触摸操作。The touch sensor 2082 is also called "touch device". The touch sensor 2082 can be arranged on the display screen 207, and the touch sensor 2082 and the display screen 207 form a touch screen, also called “touch screen”. The touch sensor 2082 is used to detect a touch operation on or near it.
按键209包括音量键、开关键等,按键209可以是机械按键,也可以是触摸式按键。终端设备20可以接收按键输入,产生与终端设备20的用户设置以及功能控制有关的键信号输入。The key 209 includes a volume key, an on/off key, etc. The key 209 may be a mechanical key or a touch key. The terminal device 20 can receive key input and generate key signal input related to user settings and function control of the terminal device 20 .
图7所示为本申请实施例提供的一种服务器的结构示意图,图7所示的服务器30可以包括至少一个处理器301,通信线路302,存储器303以及至少一个通信接口304。FIG. 7 is a schematic structural diagram of a server provided by an embodiment of the present application. The server 30 shown in FIG. 7 may include at least one processor 301 , a communication line 302 , a memory 303 and at least one communication interface 304 .
处理器301可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 301 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, ASIC), or one or more for controlling the execution of the application program program integrated circuit.
通信线路302可包括至少一条通路,比如数据总线,和/或控制总线,用于在上述组件(如至少一个处理器301,通信线路302,存储器303以及至少一个通信接口304)之间传送信息。The communication line 302 may include at least one path, such as a data bus, and/or a control bus, for transmitting information between the aforementioned components (eg, at least one processor 301 , communication line 302 , memory 303 and at least one communication interface 304 ).
通信接口304,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如广域网(wide area network,WAN),局域网(local area networks,LAN)等。The communication interface 304 uses any device such as a transceiver for communicating with other devices or communication networks, such as wide area network (wide area network, WAN), local area network (local area networks, LAN) and so on.
存储器303,可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器303可以是独立存在,通过通信线路302与处理器301相连接。存储器303也可以和处理器301集成在一起。本申请实施例提供的存储器303通常包括非易失性存储器。其中,存储器303用于存储执行本申请方案的计算机指令,并由处理器301来控制执行。处理器301用于执行存储器303中存储的计算机指令,从而实现本申请下述实施例提供的方法。示例性的,存储器303中存储用于实现路由器控制系统的服务端的功能的计算机指令。The memory 303 can be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types that can store information and instructions Type of dynamic storage device, also can be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), read-only disc (compact disc read-only memory, CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be used by Any other medium accessed by a computer, but not limited to. The memory 303 may exist independently, and is connected to the processor 301 through the communication line 302 . The memory 303 can also be integrated with the processor 301 . The memory 303 provided in this embodiment of the present application generally includes a non-volatile memory. Wherein, the memory 303 is used to store computer instructions for executing the solutions of the present application, and the execution is controlled by the processor 301 . The processor 301 is configured to execute computer instructions stored in the memory 303, so as to implement the methods provided in the following embodiments of the present application. Exemplarily, the memory 303 stores computer instructions for realizing the functions of the server of the router control system.
存储器303包括内存和硬盘。 Storage 303 includes internal memory and hard disk.
可选的,本申请实施例中的计算机指令也可以称之为应用程序代码或系统,本申请实施例对此不作具体限定。Optionally, the computer instructions in the embodiments of the present application may also be referred to as application program codes or systems, which are not specifically limited in the embodiments of the present application.
在具体实现中,作为一种实施例,服务器30可以包括多个处理器,这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the server 30 may include a plurality of processors, and each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
在具体实现中,作为一种实施例,服务器30还可以包括输出设备305和/或输入设备306。输出设备305和处理器301通信,可以以多种方式来显示信息。例如,输出设备305可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备306和处理器301通信,可以以多种方式接收用户的输入。例如,输入设备306可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the server 30 may further include an output device 305 and/or an input device 306 . Output device 305 is in communication with processor 301 and can display information in a variety of ways. For example, the output device 305 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector) Wait. The input device 306 communicates with the processor 301 and can receive user input in various ways. For example, the input device 306 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
需要说明的是,本申请实施例示意的结构并不构成对路由器10、终端设备20以及服务器30的具体限定;可以理解的是,路由器10、终端设备20和服务器30可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置;其中,图示的部件可以以硬件,软件或软件和硬件的组合实现。It should be noted that the structure shown in the embodiment of the present application does not constitute a specific limitation on the router 10, the terminal device 20 and the server 30; it can be understood that the router 10, the terminal device 20 and the server 30 may include more or fewer components, or combine some components, or split some components, or arrange different components; wherein, the illustrated components can be realized by hardware, software or a combination of software and hardware.
本申请实施例的方法可以应用于路由器控制系统中,图8-图11示例性的提供了四种路由器控制系统。路由器控制系统包括路由器,或者,路由器控制系统包括路由器和终端设备。The method in the embodiment of the present application can be applied to a router control system, and FIG. 8 to FIG. 11 exemplarily provide four router control systems. The router control system includes a router, or, the router control system includes a router and a terminal device.
图8所示的路由器控制系统包括路由器40和终端设备20。终端设备20可以响应于用于控制路由器40的用户操作,终端设备20向路由器40发送蓝牙射频控制信号,蓝牙射频控制信号可以用于控制路由器40开启或关闭路由器40中的射频器件。示例性的,结合图2,二楼卧室中用户所持的手机可以向一楼客厅中的路由器发送用于控制开启或关闭一楼客厅中的路由器的蓝牙射频控制信号。The router control system shown in FIG. 8 includes a router 40 and a terminal device 20 . The terminal device 20 can respond to the user operation for controlling the router 40 , the terminal device 20 sends a Bluetooth radio frequency control signal to the router 40 , and the Bluetooth radio frequency control signal can be used to control the router 40 to turn on or off the radio frequency device in the router 40 . Exemplarily, referring to FIG. 2 , the mobile phone held by the user in the bedroom on the second floor may send a Bluetooth radio frequency control signal for controlling turning on or off the router in the living room on the first floor to the router in the living room on the first floor.
路由器40的蓝牙模块接收该蓝牙射频控制信号并将该信号转换为第一控制信号,第一控制信号为数字信号,路由器40的处理器接收到第一控制信号之后将第一控制信号转换为用于开启或关闭路由器40的射频器件的第二控制信号,第二控制信号可以为电信号。路由器40的处理器基于第二控制信号开启或关闭路由器40中的射频器件,并向路由器40的蓝牙模块发送反馈信号,路由器40的蓝牙模块将该反馈信号转换为蓝牙射频反馈信号,路由器40的蓝牙模块向终端设备20发送该蓝牙射频反馈信号。该蓝牙射频反馈信号用于向终端设备20反馈开启或关闭路由器40中的射频器件是否成功。示例性的,结合图2,一楼客厅中的路由器向二楼卧室中用户所持的手机发送蓝牙射频反馈信号。该蓝牙射频反馈信号用于一楼客厅中的路由器向手机反馈开启或关闭一楼客厅中路由器的射频器件是否成功。The Bluetooth module of the router 40 receives the Bluetooth radio frequency control signal and converts the signal into a first control signal, the first control signal is a digital signal, and the processor of the router 40 converts the first control signal into a digital signal after receiving the first control signal. The second control signal may be an electrical signal for turning on or off the radio frequency device of the router 40 . The processor of router 40 turns on or closes the radio frequency device in the router 40 based on the second control signal, and sends a feedback signal to the bluetooth module of router 40, and the bluetooth module of router 40 converts the feedback signal into bluetooth radio frequency feedback signal, and the bluetooth module of router 40 The Bluetooth module sends the Bluetooth radio frequency feedback signal to the terminal device 20 . The Bluetooth radio frequency feedback signal is used to feed back to the terminal device 20 whether the radio frequency device in the router 40 is turned on or off successfully. Exemplarily, referring to FIG. 2 , the router in the living room on the first floor sends a Bluetooth radio frequency feedback signal to the mobile phone held by the user in the bedroom on the second floor. The Bluetooth radio frequency feedback signal is used for the router in the living room on the first floor to feed back to the mobile phone whether the radio frequency device of the router in the living room on the first floor is turned on or off successfully.
可能的实现方式中,终端设备20基于蓝牙射频反馈信号,可以显示或者播放蓝牙射频反馈信号对应的反馈信息。该反馈信息用于向用户指示开启或关闭路由器10中射频器件是否成功。In a possible implementation manner, the terminal device 20 may display or play feedback information corresponding to the Bluetooth radio frequency feedback signal based on the Bluetooth radio frequency feedback signal. The feedback information is used to indicate to the user whether the radio frequency device in the router 10 is turned on or off successfully.
图9所示的路由器控制系统包括路由器50。路由器50的音频接收器接收语音信号,该语音信号用于控制路由器50开启或关闭射频器件。示例性的,结合图3,客厅中的路由器接收该路由器所处环境中的语音信号,该语音信号可以是与该路由器处于同一层的卧室的用户发出的。The router control system shown in FIG. 9 includes a router 50 . The audio receiver of the router 50 receives the voice signal, and the voice signal is used to control the router 50 to turn on or off the radio frequency device. Exemplarily, with reference to FIG. 3 , the router in the living room receives a voice signal in the environment where the router is located, and the voice signal may be sent by a user in a bedroom on the same floor as the router.
路由器50中的音频接收器接收语音信号,音频编解码器将接收的语音信号转换为第三控制信号,第三控制信号为数字信号,路由器50的处理器将第三控制信号转换为用于关闭路由器射频器件的第四控制信号,路由器50的处理器根据第四控制信号开启或关闭路由器的射频器件。可选的,路由器50的处理器向路由器50的音频编解码器发送反馈信号,音频编解码器根据反馈信号向音频外放器发送用于音频外放器可以播放的语音反馈信号,音频外放器播放该语音反馈信号以将射频器件的关闭结果或开启结果反馈给用户。The audio receiver in the router 50 receives the voice signal, and the audio codec converts the received voice signal into a third control signal, the third control signal is a digital signal, and the processor of the router 50 converts the third control signal into a The fourth control signal of the radio frequency device of the router, the processor of the router 50 turns on or off the radio frequency device of the router according to the fourth control signal. Optionally, the processor of the router 50 sends a feedback signal to the audio codec of the router 50, and the audio codec sends a voice feedback signal that the audio external amplifier can play to the audio external amplifier according to the feedback signal, and the audio external amplifier The device plays the voice feedback signal to feed back the result of turning off or turning on the radio frequency device to the user.
图10所示的路由器控制系统包括路由器40和终端设备20;终端设备20的音频接收器可以用于接收语音信号,终端设备20中的音频编解码器将接收的语音信号转换为第五控制信号,第五控制信号为数字信号。终端设备20中的处理器根据该第五控制信号得到控制终端设备20的蓝牙模块的第六控制信号。终端设备20的蓝牙模块基于第六控制信号向路由器40发送蓝牙射频控制信号,该蓝牙射频控制信号用于控制路由器40开启或关闭路由器40中的射频器件。示例性的,结合图2,二楼卧室中用户所持的终端设备向一楼客厅中的路由器发送蓝牙射频控制信号。The router control system shown in Fig. 10 comprises router 40 and terminal equipment 20; The audio frequency receiver of terminal equipment 20 can be used for receiving voice signal, and the audio frequency codec in terminal equipment 20 converts the received voice signal into the fifth control signal , the fifth control signal is a digital signal. The processor in the terminal device 20 obtains a sixth control signal for controlling the Bluetooth module of the terminal device 20 according to the fifth control signal. The Bluetooth module of the terminal device 20 sends a Bluetooth radio frequency control signal to the router 40 based on the sixth control signal, and the Bluetooth radio frequency control signal is used to control the router 40 to turn on or off the radio frequency device in the router 40 . Exemplarily, with reference to FIG. 2 , the terminal device held by the user in the bedroom on the second floor sends a Bluetooth radio frequency control signal to the router in the living room on the first floor.
路由器40的蓝牙模块接收该蓝牙射频控制信号并将该信号转换为第一控制信号,第一控制信号为数字信号。路由器40的处理器接收第一控制信号并将第一控制信号转换为用于开启或关闭路由器40的射频器件的第二控制信号,第二控制信号可以为电信号。路由器40的处理器基于第二控制信号关闭路由器40中的射频器件并向路由器40的蓝牙模块发送反馈信号,路由器40的蓝牙模块将该反馈信号转换为蓝牙射频反馈信号,路由器40的蓝牙模块向终端设备20发送该蓝牙射频反馈信号。The Bluetooth module of the router 40 receives the Bluetooth radio frequency control signal and converts the signal into a first control signal, and the first control signal is a digital signal. The processor of the router 40 receives the first control signal and converts the first control signal into a second control signal for turning on or off the radio frequency device of the router 40, and the second control signal may be an electrical signal. The processor of router 40 closes the radio frequency device in the router 40 based on the second control signal and sends a feedback signal to the bluetooth module of router 40, and the bluetooth module of router 40 converts the feedback signal into a bluetooth radio frequency feedback signal, and the bluetooth module of router 40 sends a feedback signal to The terminal device 20 sends the Bluetooth radio frequency feedback signal.
可选的,终端设备20基于蓝牙射频反馈信号,显示或者播放蓝牙射频反馈信号对应的反馈信息。该反馈信息用于指示开启或关闭路由器10中射频器件是否成功。Optionally, the terminal device 20 displays or plays feedback information corresponding to the Bluetooth radio frequency feedback signal based on the Bluetooth radio frequency feedback signal. The feedback information is used to indicate whether the radio frequency device in the router 10 is turned on or off successfully.
图11所示的路由器控制系统包括:终端设备20、服务器30和路由器40;终端设备20中可以运行路由器控制系统的客户端,服务器30中可以运行路由器控制系统的服务端,终端设备20响应于用户指令,向服务器30发送请求消息,该请求消息可以用于请求服务器30控制开启或关闭路由器40中的至少一个射频器件。示例性的,结合图2,二楼卧室中用户所持的终端设备响应于用户指令,向服务器发送请求消息。该请求消息用于请求服务器控制开启或关闭一楼客厅中的路由器的至少一个射频器件。The router control system shown in Figure 11 comprises: terminal equipment 20, server 30 and router 40; The client end that can run router control system in terminal equipment 20, can run the service end of router control system in server 30, terminal equipment 20 responds to The user instructs to send a request message to the server 30, and the request message may be used to request the server 30 to control turning on or off at least one radio frequency device in the router 40. Exemplarily, with reference to FIG. 2 , the terminal device held by the user in the bedroom on the second floor sends a request message to the server in response to a user instruction. The request message is used to request the server to control to turn on or off at least one radio frequency device of the router in the living room on the first floor.
服务器30根据请求消息向路由器40发送指示消息,该指示消息用于指示路由器开启或关闭路由器中的至少一个射频器件。路由器40根据接收到的来自服务器30的指示消息开启或关闭至少一个射频器件。The server 30 sends an indication message to the router 40 according to the request message, where the indication message is used to instruct the router to enable or disable at least one radio frequency device in the router. The router 40 turns on or turns off at least one radio frequency device according to the instruction message received from the server 30 .
可选的,路由器40可以通过服务器30向终端设备20发送反馈消息,该反馈消息用于表征路由器40开启或关闭至少一个射频器件是否成功。终端设备20将表征开启或关闭路由器40中至少一个射频器件是否成功的反馈消息反馈给用户。Optionally, the router 40 may send a feedback message to the terminal device 20 through the server 30, where the feedback message is used to indicate whether the router 40 turns on or off at least one radio frequency device successfully. The terminal device 20 feeds back to the user a feedback message representing whether at least one radio frequency device in the router 40 is turned on or off successfully.
图12为本申请实施例提供的一种路由器控制方法的流程示意图,如图12所示,可以包括以下步骤:FIG. 12 is a schematic flowchart of a router control method provided in the embodiment of the present application. As shown in FIG. 12, the following steps may be included:
S100:路由器获取控制指令信息,并确定该控制指令信息用于开启或关闭路由器中的至少一个射频器件。控制指令信息可以为路由器获取的音频数据中满足预设条件的音频数据。S100: The router acquires control instruction information, and determines that the control instruction information is used to turn on or turn off at least one radio frequency device in the router. The control instruction information may be audio data satisfying a preset condition among the audio data acquired by the router.
在一种可能的实现方式中,路由器中的音频收发器可以采集该路由器所处环境的第一 语音信息,并将第一语音信息转换为预设格式的第一音频数据。路由器在第一音频数据满足预设条件的情况下,确定该控制指令信息用于开启或关闭路由器中的至少一个射频器件。In a possible implementation manner, the audio transceiver in the router may collect first voice information of the environment where the router is located, and convert the first voice information into first audio data in a preset format. When the first audio data satisfies the preset condition, the router determines that the control instruction information is used to turn on or turn off at least one radio frequency device in the router.
在一个例子中,路由器对第一音频数据进行第一指令关键字检测,路由器在检测到第一音频数据包括第一指令关键字的情况下,确定该控制指令信息用于开启或关闭路由器中的至少一个射频器件。第一指令关键字可以是代码输入的。示例性的,第一指令关键字包括“关闭Wi-Fi”、“关闭路由器”、“关闭蓝牙”、“开启蓝牙”、“开启Wi-Fi”、“开启红外”、“关闭红外”、“低辐射模式”、“关闭模式”(又称“孕妇模式”)、或“开启模式”等,一个第一指令关键字对应至少一个射频器件的控制指令。第一指令关键字还可以为其他信息,本申请实施例对此不进行限定。In an example, the router detects the first instruction keyword on the first audio data, and when the router detects that the first audio data includes the first instruction keyword, it determines that the control instruction information is used to enable or disable the at least one radio frequency device. The first instruction keyword may be code-input. Exemplarily, the first instruction keywords include "Turn off Wi-Fi", "Turn off router", "Turn off Bluetooth", "Turn on Bluetooth", "Turn on Wi-Fi", "Turn on infrared", "Turn off infrared", " Low radiation mode", "off mode" (also known as "pregnant woman mode"), or "on mode", etc., a first command keyword corresponds to at least one control command of a radio frequency device. The first instruction keyword may also be other information, which is not limited in this embodiment of the present application.
示例性的,假设,路由器中的音频收发器采集该路由器所处环境中的第一语音信息为包括“关闭Wi-Fi”的语音信息,路由器将第一语音信息转换为预设格式的第一音频数据,路由器确定第一音频数据中包括的第一指令关键字为“关闭Wi-Fi”,那么,路由器确定第一音频数据用于开启或关闭路由器中的至少一个射频器件。Exemplarily, it is assumed that the audio transceiver in the router collects the first voice information in the environment where the router is located as the voice information including "Turn off Wi-Fi", and the router converts the first voice information into the first voice information in the preset format. For the audio data, the router determines that the first instruction keyword included in the first audio data is "turn off Wi-Fi", then the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router.
在另一个例子中,路由器确定第一音频数据在预存的语音指令数据中存在的情况下,路由器确定第一音频数据用于开启或关闭路由器中的至少一个射频器件。In another example, when the router determines that the first audio data exists in the prestored voice instruction data, the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router.
示例性的,路由器中存储有第一音频数据至第七音频数据等语音指令数据。其中,第一音频数据用于控制关闭路由器的Wi-Fi射频器件,第二音频数据用于控制关闭路由器的蓝牙射频器件,第三音频数据用于控制关闭路由器,第四音频数据用于控制关闭路由器的红外,第五音频数据用于控制开启路由器的Wi-Fi射频器件,第六音频数据用于控制开启路由器的蓝牙射频器件,第七音频数据用于控制开启路由器的红外。路由器中的音频收发器采集的第一语音信息转换后的数据为第一音频数据,路由器确定第一音频数据在存储的语音指令数据中存在,路由器确定第一音频数据用于开启或关闭路由器中的至少一个射频器件。Exemplarily, voice instruction data such as the first audio data to the seventh audio data are stored in the router. Among them, the first audio data is used to control the shutdown of the Wi-Fi radio frequency device of the router, the second audio data is used to control the shutdown of the Bluetooth radio frequency device of the router, the third audio data is used to control the shutdown of the router, and the fourth audio data is used to control the shutdown of the router. For the infrared of the router, the fifth audio data is used to control the Wi-Fi radio frequency device of the router, the sixth audio data is used to control the Bluetooth radio frequency device of the router, and the seventh audio data is used to control the infrared of the router. The converted data of the first voice information collected by the audio transceiver in the router is the first audio data, the router determines that the first audio data exists in the stored voice command data, and the router determines that the first audio data is used to turn on or off the router. at least one radio frequency device.
在另一个例子中,路由器在第一音频数据包括唤醒词,且第一音频数据包括第一指令关键字的情况下,路由器确定第一音频数据用于开启或关闭路由器中的至少一个射频器件。唤醒词用于唤醒路由器。唤醒词可以包括:小路、小路小路、路路、路总管、路大哥、路小妹或路爱卿等,唤醒词也可以是其他信息,本申请实施例对此不进行限定。In another example, when the first audio data includes a wake-up word and the first audio data includes a first instruction keyword, the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router. The wake word is used to wake up the router. The wake-up words may include: Xiaolu, Xiaolu Xiaolu, Lulu, Director Lu, Big Brother Lu, Xiaomei Lu, or Aiqing Lu, etc. The wake-up words may also be other information, which is not limited in this embodiment of the present application.
示例性的,假设,唤醒词为“小路小路”,第一指令关键字包括“关闭Wi-Fi”,第一语音信息为包括“小路小路,关闭Wi-Fi”的语音信息,路由器确定第一语音信息转换得到的第一音频数据包括唤醒词,且第一音频数据包括第一指令关键字,那么,路由器确定第一音频数据用于开启或关闭路由器中的至少一个射频器件。Exemplarily, it is assumed that the wake-up word is "Xiaolu Xiaolu", the first instruction keyword includes "turn off Wi-Fi", the first voice information is the voice information including "Xiaolu Xiaolu, turn off Wi-Fi", and the router determines that the first If the first audio data converted from the voice information includes a wake-up word, and the first audio data includes a first instruction keyword, then the router determines that the first audio data is used to turn on or turn off at least one radio frequency device in the router.
在另一种可能的实现方式中,路由器中的音频收发器可以采集该路由器所处环境的第一语音信息,并将第一语音信息转换为预设格式的第一音频数据。路由器在确定第一音频数据包括唤醒词的情况下,采集该路由器所处环境的第二语音信息,将第二语音信息转换为预设格式的第二音频数据。路由器对第二音频数据进行第一指令关键字检测,在检测到第二音频数据包括第一指令关键字的情况下,路由器确定第二音频数据用于开启或关闭路由器中的至少一个射频器件。In another possible implementation manner, the audio transceiver in the router may collect first voice information of an environment where the router is located, and convert the first voice information into first audio data in a preset format. If the router determines that the first audio data includes the wake-up word, it collects second voice information of the router's environment, and converts the second voice information into second audio data in a preset format. The router detects the first instruction keyword on the second audio data, and if it detects that the second audio data includes the first instruction keyword, the router determines that the second audio data is used to turn on or turn off at least one radio frequency device in the router.
示例性的,假设,唤醒词为“小路小路”,路由器采集得到的第一语音信息为包括“小路小路”的语音信息,路由器检测到第一语音信息转换得到的第一音频数据包括唤醒词, 路由器播放“请问需要什么帮助”的声音,路由器采集第二语音信息,第二语音信息为包括“关闭Wi-Fi”的语音信息,第二语音信息转换得到的第二音频数据包括“关闭Wi-Fi”的第一指令关键字,那么,路由器确定第二音频数据用于开启或关闭路由器中的至少一个射频器件。Exemplarily, assuming that the wake-up word is "Xiaolu Xiaolu", the first voice information collected by the router is voice information including "Xiaolu Xiaolu", and the router detects that the first audio data converted from the first voice information includes the wake-up word, The router plays the sound of "What help do you need", the router collects the second voice information, the second voice information is the voice information including "Turn off Wi-Fi", and the second audio data converted from the second voice information includes "Turn off Wi-Fi". Fi", then the router determines that the second audio data is used to turn on or turn off at least one radio frequency device in the router.
S101:路由器根据控制指令信息,确定目标射频控制指令。目标射频控制指令为控制指令信息对应的用于控制路由器的射频器件的指令。S101: The router determines a target radio frequency control command according to the control command information. The target radio frequency control instruction is an instruction corresponding to the control instruction information for controlling the radio frequency device of the router.
在一种可能的实现方式中,路由器确定控制指令信息所包括的目标指令关键字,并根据目标指令关键字确定目标射频控制指令。目标指令关键字与目标射频控制指令一一对应。In a possible implementation manner, the router determines the target command keyword included in the control command information, and determines the target radio frequency control command according to the target command keyword. The keyword of the target command is in one-to-one correspondence with the target RF control command.
示例性的,路由器确定控制指令信息所包括的目标指令关键字为“关闭Wi-Fi”,路由器从多个第一对应关系中读取目标指令关键字对应的射频控制指令作为目标射频控制指令。第一对应关系为指令关键字与射频控制指令的对应关系。其中,多个第一对应关系可以是由代码设定的。Exemplarily, the router determines that the target instruction keyword included in the control instruction information is "turn off Wi-Fi", and the router reads the radio frequency control instruction corresponding to the target instruction keyword from multiple first correspondences as the target radio frequency control instruction. The first correspondence is the correspondence between instruction keywords and radio frequency control instructions. Wherein, the multiple first correspondences may be set by codes.
在一个例子中,路由器中预设的多个第一对应关系如下表1所示:In an example, multiple first correspondences preset in the router are shown in Table 1 below:
表1Table 1
指令关键字command keyword | 射频控制指令RF control command |
关闭Wi‐FiTurn off Wi-Fi | 第一射频控制指令First RF Control Command |
关闭蓝牙turn off bluetooth | 第二射频控制指令Second RF Control Command |
开启Wi‐FiTurn on Wi‐Fi | 第三射频控制指令The third radio frequency control command |
表1中指令关键字“关闭Wi-Fi”对应的射频控制指令为第一射频控制指令,第一射频控制指令用于控制关闭路由器中的Wi-Fi射频器件。指令关键字“关闭蓝牙”对应的射频控制指令为第二射频控制指令,第二射频控制指令用于控制关闭路由器中的蓝牙射频器件。指令关键字“开启Wi-Fi”对应的射频控制指令为第三射频控制指令,第三射频控制指令用于控制开启路由器中的Wi-Fi射频器件。对于目标指令关键字“关闭Wi-Fi”,路由器确定的目标射频控制指令为第一射频控制指令。The radio frequency control command corresponding to the command keyword "disable Wi-Fi" in Table 1 is the first radio frequency control command, and the first radio frequency control command is used to control and shut down the Wi-Fi radio frequency device in the router. The radio frequency control command corresponding to the command keyword "turn off Bluetooth" is the second radio frequency control command, and the second radio frequency control command is used to control to turn off the Bluetooth radio frequency device in the router. The radio frequency control command corresponding to the command keyword "turn on Wi-Fi" is the third radio frequency control command, and the third radio frequency control command is used to control and turn on the Wi-Fi radio frequency device in the router. For the target instruction keyword "turn off Wi-Fi", the target radio frequency control instruction determined by the router is the first radio frequency control instruction.
在另一种可能的实现方式中,路由器根据预存的多个第二对应关系,读取控制指令信息对应的目标射频控制指令。第二对应关系为语音指令数据与指令信息的对应关系。语音指令数据为与控制指令信息相同数据格式的音频数据。In another possible implementation manner, the router reads the target radio frequency control instruction corresponding to the control instruction information according to multiple pre-stored second correspondence relationships. The second correspondence is the correspondence between voice instruction data and instruction information. Voice command data is audio data in the same data format as control command information.
在一个例子中,路由器中预存的多个第二对应关系如下表2所示:In an example, multiple second corresponding relationships prestored in the router are shown in Table 2 below:
表2Table 2
语音指令数据voice command data | 射频控制指令RF control command |
第一语音指令数据first voice command data | 第一射频控制指令First RF Control Command |
第二语音指令数据second voice command data | 第二射频控制指令Second RF Control Command |
第三语音指令数据third voice command data | 第三射频控制指令The third radio frequency control command |
表2中第一语音指令数据对应的指令信息为第一射频控制指令,第一射频控制指令用于控制关闭路由器中的Wi-Fi射频器件。第二语音指令数据对应的指令信息为第二射频控制指令,第二射频控制指令用于控制关闭路由器中的蓝牙射频器件。第三语音指令数据对应的指令信息为第三射频控制指令,第三射频控制指令用于控制开启路由器中的Wi-Fi射频器件。对于目标指令关键字“关闭Wi-Fi”,路由器确定的目标射频控制指令为第一射频控制指令。基于S100中第一语音信息为包括“关闭Wi-Fi”的语音信息的示例,控制指 令信息为第一语音指令数据,路由器确定第一语音指令数据对应的第一射频控制指令为目标射频控制指令。The instruction information corresponding to the first voice instruction data in Table 2 is the first radio frequency control instruction, and the first radio frequency control instruction is used to control to turn off the Wi-Fi radio frequency device in the router. The instruction information corresponding to the second voice instruction data is a second radio frequency control instruction, and the second radio frequency control instruction is used to control to turn off the Bluetooth radio frequency device in the router. The instruction information corresponding to the third voice instruction data is the third radio frequency control instruction, and the third radio frequency control instruction is used to control to turn on the Wi-Fi radio frequency device in the router. For the target instruction keyword "turn off Wi-Fi", the target radio frequency control instruction determined by the router is the first radio frequency control instruction. Based on the example in S100 that the first voice information is the voice information including "turn off Wi-Fi", the control command information is the first voice command data, and the router determines that the first radio frequency control command corresponding to the first voice command data is the target radio frequency control command .
在一种可能的实现方式中,路由器中预存的多个第二对应关系可以是终端设备发送给路由器的。In a possible implementation manner, the multiple second correspondences prestored in the router may be sent by the terminal device to the router.
示例性的,如图13所示,终端设备20响应于用户对A所示界面中关闭路由器Wi-Fi后的录音按钮1301的点击操作,显示如B中所示的语音录入界面,终端设备20通过音频接收机获取终端设备所处环境中的语音信息,并将语音信息转换为目标语音指令数据;终端设备20在C界面中显示语音信息对应的目标语音指令数据为“关闭Wi-Fi”,终端设备20响应于用户对C界面中确定按钮1302的点击操作,将“关闭Wi-Fi”语音信息对应的目标语音指令数据确定为待获取射频控制指令对应的语音指令数据。待获取射频控制指令用于指示关闭路由器10的Wi-Fi射频器件。Exemplarily, as shown in FIG. 13, the terminal device 20 responds to the user's click operation on the recording button 1301 after the router Wi-Fi is turned off in the interface shown in A, and displays the voice recording interface shown in B, and the terminal device 20 Acquire the voice information in the environment where the terminal device is located through the audio receiver, and convert the voice information into target voice command data; the terminal device 20 displays the target voice command data corresponding to the voice information in the C interface as "turn off Wi-Fi", In response to the user's click operation on the OK button 1302 in the C interface, the terminal device 20 determines the target voice command data corresponding to the "Turn off Wi-Fi" voice message as the voice command data corresponding to the RF control command to be acquired. The radio frequency control instruction to be obtained is used to instruct to turn off the Wi-Fi radio frequency device of the router 10 .
终端设备20向路由器10发送目标语音指令数据与待获取射频控制指令的对应关系。路由器10接收该对应关系并存储。同样的,终端设备20分别响应于用户对A所示界面中关闭路由器蓝牙后方的录音按钮的点击操作以及关闭路由器后方的录音按钮的点击操作,通过图13中B和C同样的步骤,得到用于指示关闭路由器10的蓝牙的射频控制指令对应的语音指令数据,和用于指示关闭路由器10的射频控制指令对应的语音指令数据,并向路由器10发送获取的每个射频控制指令对应的语音指令数据。路由器10接收并存储每个射频控制指令对应的语音指令数据。The terminal device 20 sends the corresponding relationship between the target voice command data and the radio frequency control command to be acquired to the router 10 . Router 10 receives and stores the corresponding relationship. Similarly, the terminal device 20 responds to the user's clicking operation on the recording button behind the router's Bluetooth in the interface shown in A and the clicking operation of turning off the recording button on the router's rear, through the same steps in B and C in Figure 13. The voice command data corresponding to the radio frequency control command indicating to turn off the Bluetooth of the router 10, and the voice command data corresponding to the radio frequency control command for instructing to turn off the router 10, and sending the voice command corresponding to each radio frequency control command obtained to the router 10 data. The router 10 receives and stores voice instruction data corresponding to each radio frequency control instruction.
在另一种可能的实现方式中,路由器中预存的多个第二对应关系可以通过如下步骤获取:In another possible implementation manner, the plurality of second correspondences prestored in the router may be obtained through the following steps:
步骤一:路由器采集路由器所处环境的第三语音信息,并将第三语音信息转换为预设格式的第三音频数据。路由器在第三音频数据包括唤醒词,且包括第二指令关键字的情况下,播放语音指令录入提示信息;语音指令录入提示信息用于提示用户录入控制开启或关闭路由器中至少一个射频器件的目标语音指令数据。Step 1: The router collects third voice information of the environment where the router is located, and converts the third voice information into third audio data in a preset format. In the case where the third audio data includes the wake-up word and includes the second instruction keyword, the router plays the voice command input prompt information; the voice command input prompt information is used to prompt the user to input the target of controlling on or off at least one radio frequency device in the router voice command data.
其中,第二指令关键字可以包括录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音等中的至少一种。Among them, the second instruction keyword may include inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router, inputting the voice of turning off Bluetooth, inputting the voice of turning on Bluetooth, and typing At least one of the voice of turning off infrared, recording the voice of turning on infrared, recording the voice of low radiation mode or recording the voice of off mode, etc.
示例性的,路由器采集的第三语音信息为“小路小路,录入关闭Wi-Fi的语音”的声音表示,路由器确定第三语音信息转换得到的第三音频数据包括唤醒词“小路小路”,且包括第二指令关键字“录入关闭Wi-Fi的语音”,路由器播放“小路知道了,请您现在说出您用于关闭Wi-Fi的语音指令”。Exemplarily, the third voice information collected by the router is a sound representation of "Xiaolu Xiaolu, enter the voice of turning off Wi-Fi", the router determines that the third audio data converted from the third voice information includes the wake-up word "Xiaolu Xiaolu", and Including the second instruction keyword "recording the voice to turn off Wi-Fi", the router plays "Xiaolu knows, please speak your voice instruction to turn off Wi-Fi now".
步骤二:路由器采集路由器所处环境的第四语音信息,并播放第五语音信息,第五语音信息包括第四语音信息;第五语音信息用于提示用户确认第四语音信息。第四语音信息转换得到的预设格式的音频数据为第四音频数据。Step 2: The router collects the fourth voice information of the environment where the router is located, and plays the fifth voice information, the fifth voice information includes the fourth voice information; the fifth voice information is used to prompt the user to confirm the fourth voice information. The audio data in the preset format converted from the fourth voice information is the fourth audio data.
示例性的,路由器采集的第四语音信息为“关闭Wi-Fi”的声音表示,路由器播放第五语音信息“您录入关闭Wi-Fi的语音指令用于关闭Wi-Fi,请说出确认以为您保存该语音指令,或者,请说出放弃以取消本次语音录入”。Exemplarily, the fourth voice information collected by the router is the sound representation of "Turn off Wi-Fi", and the router plays the fifth voice information "You entered the voice command to turn off Wi-Fi to turn off Wi-Fi, please say the confirmation as You can save the voice command, or please say "absent" to cancel this voice recording".
步骤三:路由器采集路由器所处环境的第六语音信息,并将第六语音信息转换为预设 格式的第五音频数据,在第五音频数据包括第三指令关键字的情况下,路由器存储第五音频数据与待录制射频控制指令的对应关系。待录制射频控制指令用于控制路由器开启或关闭路由器中至少一个射频器件。Step 3: The router collects the sixth voice information of the environment where the router is located, and converts the sixth voice information into fifth audio data in a preset format. When the fifth audio data includes the third instruction keyword, the router stores the sixth audio data. 5. Correspondence between audio data and radio frequency control instructions to be recorded. The radio frequency control instruction to be recorded is used to control the router to turn on or turn off at least one radio frequency device in the router.
其中,第三指令关键字可以为:确认、正确、好、是、对或确定中的至少一种。Wherein, the third instruction keyword may be: at least one of confirmation, correct, good, yes, right or determination.
基于步骤二中的示例,路由器采集的第六语音信息为“确认”的声音表示。路由器确定第六语音信息转换得到的第五音频数据包括第三指令关键字“确认”,存储第五音频数据与用于控制关闭Wi-Fi的射频控制指令的对应关系。Based on the example in step 2, the sixth voice information collected by the router is a sound representation of "confirmation". The router determines that the fifth audio data converted from the sixth voice information includes the third instruction keyword "confirmation", and stores the corresponding relationship between the fifth audio data and the radio frequency control instruction for controlling turning off Wi-Fi.
S102:路由器执行目标射频控制指令以开启或关闭路由器中的至少一个射频器件。S102: The router executes a target radio frequency control instruction to turn on or turn off at least one radio frequency device in the router.
示例性的,目标射频控制指令可以为电信号,路由器对该至少一个射频器件执行该目标射频控制指令。可以理解的是,路由器执行完毕该目标射频控制指令即完成了对该至少一个射频器件的关闭操作。Exemplarily, the target radio frequency control command may be an electrical signal, and the router executes the target radio frequency control command on the at least one radio frequency device. It can be understood that, after the router executes the target radio frequency control instruction, it completes the shutdown operation of the at least one radio frequency device.
基于S101中目标射频控制指令为第一射频控制指令的示例,路由器根据目标射频控制指令,关闭路由器中的Wi-Fi射频器件。Based on the example in S101 that the target radio frequency control command is the first radio frequency control command, the router turns off the Wi-Fi radio frequency device in the router according to the target radio frequency control command.
可选的,S103:路由器执行预设反馈。预设反馈用于向用户指示开启或关闭路由器中射频器件是否成功。Optionally, S103: The router performs preset feedback. The preset feedback is used to indicate to the user whether the radio frequency device in the router is turned on or off successfully.
基于S102中的示例,一种可能的实现方式中,预设反馈可以为:路由器播放语音反馈信息“已为您关闭Wi-Fi”。另一种可能的实现方式中,预设反馈可以为:路由器的信息灯颜色显示为黄色。路由器的射频器件均开启的状态下路由器的信息灯为蓝色;路由器的Wi-Fi射频器件关闭,且其他射频器件开启的状态下,信息灯为黄色。Based on the example in S102, in a possible implementation manner, the preset feedback may be: the router plays voice feedback information "Wi-Fi has been turned off for you". In another possible implementation manner, the preset feedback may be: the color of the information light of the router is displayed in yellow. The information light of the router is blue when all the radio frequency components of the router are turned on; the information light of the router is yellow when the Wi-Fi radio frequency components of the router are turned off and other radio frequency components are turned on.
本申请实施例中,路由器可以接收用于控制路由器关闭至少一个射频器件的控制指令信息,并根据控制指令信息关闭路由器中的至少一个射频器件,在不需要使用路由器射频器件的情况下,方便用户及时关闭路由器中射频器件,有助于降低路由器的电磁辐射对用户身体健康的影响。在需要使用路由器的情况下,路由器也可以通过上述实施例所提供的方法方便的获取用于开启路由器射频器件的控制指令信息,以开启路由器的射频器件。In the embodiment of the present application, the router can receive control instruction information for controlling the router to turn off at least one radio frequency device, and turn off at least one radio frequency device in the router according to the control instruction information, which is convenient for users without using the router radio frequency device Turn off the radio frequency devices in the router in time to help reduce the impact of the electromagnetic radiation of the router on the user's health. When a router needs to be used, the router can also conveniently acquire control instruction information for turning on the radio frequency device of the router through the method provided in the above embodiment, so as to turn on the radio frequency device of the router.
图14为本申请实施例提供的另一种路由器控制方法的流程示意图,如图14所示,可以包括以下步骤:FIG. 14 is a schematic flowchart of another router control method provided in the embodiment of the present application. As shown in FIG. 14, the following steps may be included:
S200:终端设备获取用户指令,并确定该用户指令用于指示路由器开启或关闭路由器中至少一个射频器件。S200: The terminal device acquires a user instruction, and determines that the user instruction is used to instruct the router to turn on or turn off at least one radio frequency device in the router.
在一种可能的实现方式中,终端设备响应于用户在界面中的预设操作,获取用户指令。In a possible implementation manner, the terminal device acquires a user instruction in response to a user's preset operation on the interface.
在一个例子中,如图15所示为终端设备的一种界面的示意图,该界面显示的路由器当前模式为:火力全开模式,火力全开模式用于表征路由器中的Wi-Fi射频器件以及除Wi-Fi射频器件之外的其他射频器件处于开启状态。其他射频器件可以包括蓝牙射频器件。该界面显示的路由器可切换模式包括:低辐射模式和关闭模式。低辐射模式的切换控件为1501,关闭模式的切换控件为1502,低辐射模式用于表征路由器中的Wi-Fi射频器件处于关闭状态,除Wi-Fi射频器件之外的其他射频器件处于开启状态;关闭模式用于表征路由器中的Wi-Fi射频器件以及其他射频器件均处于关闭状态。终端设备响应于用户在界面中对低辐射模式的切换控件1501的点击操作,获取用户指令。该用户指令用于指示路由器切换至低辐射模式,或者,该用户指令用于指示路由器关闭其Wi-Fi射频器件。In one example, FIG. 15 is a schematic diagram of an interface of a terminal device. The current mode of the router displayed on the interface is: full fire mode, and the full fire mode is used to represent the Wi-Fi radio frequency device in the router and The radio frequency devices other than the Wi-Fi radio frequency device are turned on. Other radio frequency devices may include Bluetooth radio frequency devices. The switchable modes of the router displayed on this interface include: low radiation mode and off mode. The switching control of the low radiation mode is 1501, and the switching control of the off mode is 1502. The low radiation mode is used to indicate that the Wi-Fi radio frequency device in the router is in the off state, and other radio frequency devices except the Wi-Fi radio frequency device are in the on state ;Off mode is used to indicate that the Wi-Fi radio frequency device and other radio frequency devices in the router are in the off state. The terminal device acquires a user instruction in response to the user's click operation on the switching control 1501 of the low-radiation mode in the interface. The user instruction is used to instruct the router to switch to a low radiation mode, or the user instruction is used to instruct the router to turn off its Wi-Fi radio frequency device.
在另一个例子中,如图16所示为终端设备的另一种界面的示意图,图16所示的界面 中路由器的Wi-Fi射频器件处于开启状态,路由器的蓝牙射频器件处于开启状态,路由器的红外处于关闭状态。图16中切换开关1601用于控制路由器开启或关闭路由器的Wi-Fi射频器件,切换开关1602用于控制路由器开启或关闭路由器的蓝牙射频器件,切换开关1603用于控制路由器开启或关闭路由器的红外。如图16所示终端设备响应于用户对界面中切换开关1601的切换操作,获取用户指令,该用户指令用于指示路由器关闭其Wi-Fi射频器件。In another example, FIG. 16 is a schematic diagram of another interface of the terminal device. In the interface shown in FIG. 16, the Wi-Fi radio frequency device of the router is on, the Bluetooth radio frequency device of the router is on, and the router IR is off. In Fig. 16, the switch 1601 is used to control the router to turn on or off the Wi-Fi radio frequency device of the router, the switch 1602 is used to control the router to turn on or off the Bluetooth radio frequency device of the router, and the switch 1603 is used to control the router to turn on or off the infrared radio frequency device of the router. . As shown in FIG. 16 , the terminal device obtains a user instruction in response to the switching operation of the switch 1601 in the interface by the user, and the user instruction is used to instruct the router to turn off its Wi-Fi radio frequency device.
在另一种可能的实现方式中,终端设备采集该终端设备所处环境的语音信息,并将采集得到的语音信息转换为预设格式的音频数据。得到的音频数据为用户指令,在用户指令满足预设条件的情况下,终端设备确定用户指令用于指示路由器开启或关闭路由器中至少一个射频器件。In another possible implementation manner, the terminal device collects voice information of the environment where the terminal device is located, and converts the collected voice information into audio data in a preset format. The obtained audio data is a user instruction, and when the user instruction satisfies a preset condition, the terminal device determines that the user instruction is used to instruct the router to turn on or turn off at least one radio frequency device in the router.
可能的实现方式,参考上述S100中路由器获取控制指令信息的实现方式,不再赘述。For a possible implementation manner, refer to the implementation manner of acquiring control instruction information by the router in S100 above, and details are not repeated here.
示例性的,终端设备采集该终端设备所处环境的语音信息,该语音信息为包括“小路小路”的语音信息。终端设备确定该语音信息用于激活终端设备。终端设备播放响应信息“在呢,小路现在是火力全开状态,您有什么吩咐”,终端设备再次采集该终端设备所处环境的语音信息,并将采集到的语音信息转换为预设格式的音频数据,该音频数据为用户指令,终端设备确定该音频数据为包括指令关键字“低辐射模式”的音频数据,终端设备确定该包括指令关键字“低辐射模式”的用户指令用于控制路由器关闭路由器的Wi-Fi射频器件。Exemplarily, the terminal device collects voice information of the environment where the terminal device is located, and the voice information includes "Xiaolu Xiaolu". The terminal device determines that the voice information is used to activate the terminal device. The terminal device plays the response message "Here, Xiaolu is now fully fired, what do you want to order", the terminal device collects the voice information of the environment where the terminal device is located again, and converts the collected voice information into a preset format Audio data, the audio data is a user instruction, the terminal device determines that the audio data is audio data including the instruction keyword "low radiation mode", and the terminal device determines that the user instruction including the instruction keyword "low radiation mode" is used to control the router Turn off the router's Wi-Fi radio frequency device.
S201:终端设备向路由器发送控制指令信息,该控制指令信息用于控制路由器中至少一个射频器件的开启或关闭。S201: The terminal device sends control instruction information to the router, where the control instruction information is used to control turning on or off of at least one radio frequency device in the router.
在路由器的Wi-Fi射频器件处于开启的状态下,终端设备可以根据用户指令基于Wi-Fi射频器件向路由器发送控制指令信息,或者,终端设备可以根据用户指令基于蓝牙射频器件向路由器发送控制指令信息。When the Wi-Fi radio frequency device of the router is turned on, the terminal device can send control command information to the router based on the Wi-Fi radio frequency device according to user instructions, or the terminal device can send control commands to the router based on the Bluetooth radio frequency device according to user instructions information.
示例性的,终端设备将包括指令关键字“低辐射模式”的音频数据转换为蓝牙射频控制信号,并通过蓝牙射频器件向路由器发送该蓝牙射频控制信号。Exemplarily, the terminal device converts the audio data including the instruction keyword "low radiation mode" into a Bluetooth radio frequency control signal, and sends the Bluetooth radio frequency control signal to the router through the Bluetooth radio frequency device.
S202:路由器根据控制指令信息,确定目标射频控制指令。目标射频控制指令为控制指令信息对应的用于控制路由器的射频器件的指令。S202: The router determines a target radio frequency control command according to the control command information. The target radio frequency control instruction is an instruction corresponding to the control instruction information for controlling the radio frequency device of the router.
可能的实现方式中,路由器将控制指令信息按照预设规则转换为目标数字信号,并根据预存的多个数字信号中每个数字信号与射频控制指令的对应关系,确定目标数字信号对应的目标射频控制指令。目标射频控制指令可以为电信号。In a possible implementation, the router converts the control command information into a target digital signal according to preset rules, and determines the target radio frequency corresponding to the target digital signal according to the correspondence between each digital signal and the radio frequency control command among the multiple pre-stored digital signals. Control instruction. The target radio frequency control instruction may be an electrical signal.
在一个例子中,路由器中预存的多个数字信号中每个数字信号与射频控制指令的对应关系如下表3所示:In one example, the corresponding relationship between each digital signal and a radio frequency control command among the multiple digital signals pre-stored in the router is shown in Table 3 below:
表3table 3
数字信号Digital signal | 射频控制指令RF control command |
第一数字信号first digital signal | 第一射频控制指令First RF Control Command |
第二数字信号second digital signal | 第二射频控制指令Second RF Control Command |
第三数字信号third digital signal | 第三射频控制指令The third radio frequency control command |
表3中第一数字信号对应的射频控制指令为第一射频控制指令,第一射频控制指令用于控制关闭路由器中的Wi-Fi射频器件。第二数字信号对应的射频控制指令为第二射频控 制指令,第二射频控制指令用于控制关闭路由器中的蓝牙射频器件。第三数字信号对应的射频控制指令为第三射频控制指令,第三射频控制指令用于控制开启路由器中的Wi-Fi射频器件。The radio frequency control instruction corresponding to the first digital signal in Table 3 is the first radio frequency control instruction, and the first radio frequency control instruction is used to control to turn off the Wi-Fi radio frequency device in the router. The radio frequency control instruction corresponding to the second digital signal is the second radio frequency control instruction, and the second radio frequency control instruction is used to control and shut down the Bluetooth radio frequency device in the router. The radio frequency control command corresponding to the third digital signal is the third radio frequency control command, and the third radio frequency control command is used to control and turn on the Wi-Fi radio frequency device in the router.
示例性的,路由器将控制指令信息转换为的数字信号为第一数字信号,第一数字信号对应的射频控制指令为第一射频控制指令,因此,路由器确定第一射频控制指令为目标射频控制指令,该目标射频控制指令用于关闭路由器的Wi-Fi射频器件。Exemplarily, the digital signal converted by the router into the control instruction information is a first digital signal, and the radio frequency control instruction corresponding to the first digital signal is the first radio frequency control instruction, therefore, the router determines that the first radio frequency control instruction is the target radio frequency control instruction , the target radio frequency control command is used to turn off the Wi-Fi radio frequency device of the router.
S203:路由器执行目标射频控制指令以开启或关闭路由器中的至少一个射频器件。S203: The router executes a target radio frequency control instruction to turn on or turn off at least one radio frequency device in the router.
可能的实现方式,参考S102中的描述,此处不再赘述。For a possible implementation manner, refer to the description in S102, which will not be repeated here.
可选的,S204:路由器执行预设反馈。预设反馈用于向用户指示开启或关闭路由器中射频器件是否成功。Optionally, S204: The router performs preset feedback. The preset feedback is used to indicate to the user whether the radio frequency device in the router is turned on or off successfully.
在一种可能的实现方式中,路由器向终端设备发送反馈信号。该反馈信号用于终端设备向用户反馈开启或关闭路由器中射频器件是否成功。In a possible implementation manner, the router sends a feedback signal to the terminal device. The feedback signal is used by the terminal device to feed back to the user whether the radio frequency device in the router is turned on or off successfully.
在一个例子中,反馈信号用于终端设备在界面向用户显示开启或关闭路由器的射频器件是否成功的反馈信息。如图17所示为终端设备在界面向用户显示反馈信息的示意图,图17中路由器当前模式为低辐射模式,路由器可切换模式包括火力全开模式和关闭模式。该反馈信息用于终端设备向用户反馈关闭路由器的Wi-Fi射频器件成功。In an example, the feedback signal is used for the terminal device to display feedback information to the user on the interface of whether the radio frequency device of the router is successfully turned on or off. Figure 17 is a schematic diagram of the terminal device displaying feedback information to the user on the interface. In Figure 17, the current mode of the router is the low-radiation mode, and the switchable mode of the router includes the full firepower mode and the off mode. The feedback information is used by the terminal device to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
如图18所示为终端设备向用户显示反馈信息的另一示意图,图18中路由器的Wi-Fi射频器件处于关闭状态,路由器的蓝牙射频器件处于开启状态,路由器的红外处于关闭状态。该反馈信息用于终端设备向用户反馈关闭路由器的Wi-Fi射频器件成功。Figure 18 is another schematic diagram of terminal equipment displaying feedback information to users. In Figure 18, the Wi-Fi radio frequency device of the router is turned off, the Bluetooth radio frequency device of the router is turned on, and the infrared of the router is turned off. The feedback information is used by the terminal device to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
在另一个例子中,反馈信号用于终端设备播放反馈语音信息,反馈语音信息用于终端设备向用户反馈开启或关闭路由器射频器件是否成功。示例性的,终端设备根据接收到的反馈信号播放“已为您切换至低辐射模式”的反馈语音信息,或者,终端设备根据接收到的反馈信号播放“已为您关闭Wi-Fi射频器件”的反馈语音信息。该反馈语音信息用于终端设备向用户反馈关闭路由器的Wi-Fi射频器件成功。In another example, the feedback signal is used by the terminal device to play feedback voice information, and the feedback voice information is used by the terminal device to feed back to the user whether the radio frequency device of the router is turned on or off successfully. Exemplarily, the terminal device plays the feedback voice information of "the low radiation mode has been switched for you" according to the received feedback signal, or the terminal device plays "the Wi-Fi radio frequency device has been turned off for you" according to the received feedback signal feedback voice information. The feedback voice information is used for the terminal device to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
在另一种可能的实现方式中,路由器播放反馈语音信息。反馈语音信息用于向用户反馈开启或关闭路由器的射频器件是否成功。示例性的,路由器播放“已为您关闭Wi-Fi”的反馈语音信息。该反馈语音信息用于向用户反馈关闭路由器的Wi-Fi射频器件成功。In another possible implementation manner, the router plays the feedback voice information. The feedback voice information is used to feedback to the user whether the radio frequency device of the router is turned on or off successfully. Exemplarily, the router plays the feedback voice information of "Wi-Fi has been turned off for you". The feedback voice information is used to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
在另一种可能的实现方式中,路由器改变信息灯的颜色以向用户反馈开启或关闭路由器的射频器件是否成功。其中,路由器的射频器件均开启的状态下路由器的信息灯为蓝色;路由器的Wi-Fi射频器件关闭,且其他射频器件开启的状态下,信息灯为黄色。示例性的,路由器的信息灯颜色显示为黄色以向用户反馈关闭路由器的Wi-Fi射频器件成功。In another possible implementation manner, the router changes the color of the information light to give feedback to the user whether the radio frequency device of the router is turned on or off successfully. Among them, when the router's radio frequency devices are all turned on, the router's information light is blue; when the router's Wi-Fi radio frequency device is turned off, and other radio frequency devices are turned on, the information light is yellow. Exemplarily, the color of the information light of the router is displayed in yellow to feed back to the user that the Wi-Fi radio frequency device of the router is successfully turned off.
本申请实施例中,路由器可以接收来自终端设备的控制指令信息,并根据控制指令信息开启或关闭路由器中的至少一个射频器件,在不需要使用路由器射频器件的情况下,方便用户通过终端设备及时关闭路由器中射频器件,有助于降低路由器的电磁辐射对用户身体健康的影响。在需要使用路由器的情况下,路由器也可以通过上述实施例所提供的方法方便的获取用于开启路由器射频器件的控制指令信息,以开启路由器的射频器件。In this embodiment of the application, the router can receive control instruction information from the terminal equipment, and turn on or off at least one radio frequency device in the router according to the control instruction information, so that users can use the terminal equipment in a timely manner without using the router radio frequency device. Turning off the radio frequency devices in the router helps reduce the impact of the router's electromagnetic radiation on the user's health. When a router needs to be used, the router can also conveniently acquire control instruction information for turning on the radio frequency device of the router through the method provided in the above embodiment, so as to turn on the radio frequency device of the router.
图19为本申请实施例提供的另一种路由器控制方法的流程示意图,该方法可以应用于图11所示的路由器控制系统,如图19所示,可以包括以下步骤:FIG. 19 is a schematic flowchart of another router control method provided in the embodiment of the present application. This method can be applied to the router control system shown in FIG. 11 , and as shown in FIG. 19 , may include the following steps:
S300:终端设备获取用户指令,并确定用户指令用于请求终端设备向服务器发送请求 消息,以控制路由器开启或关闭路由器中至少一个射频器件。S300: The terminal device acquires a user instruction, and determines that the user instruction is used to request the terminal device to send a request message to the server, so as to control the router to turn on or turn off at least one radio frequency device in the router.
在一种可能的实现方式中,终端设备响应于用户在界面中的预设操作,获取用户指令,并确定用户指令用于请求终端设备向服务器发送请求消息,以控制路由器开启或关闭路由器中至少一个射频器件。In a possible implementation manner, the terminal device obtains user instructions in response to user preset operations on the interface, and determines that the user instructions are used to request the terminal device to send a request message to the server, so as to control the router to turn on or off at least a radio frequency device.
在一个例子中,如图15所示为终端设备的一种界面的示意图,该界面显示的路由器当前模式为:火力全开模式,火力全开模式用于表征路由器中的Wi-Fi射频器件以及除Wi-Fi射频器件之外的其他射频器件处于开启状态。其他射频器件可以包括蓝牙射频器件。该界面显示的路由器可切换模式包括:低辐射模式和关闭模式。低辐射模式的切换控件为1501,关闭模式的切换控件为1502,低辐射模式用于表征路由器中的Wi-Fi射频器件处于关闭状态,除Wi-Fi射频器件之外的其他射频器件处于开启状态;关闭模式用于表征路由器中的Wi-Fi射频器件以及其他射频器件均处于关闭状态。终端设备响应于用户在界面中对低辐射模式的切换控件1501的点击操作,获取用户指令。该用户指令用于请求终端设备向服务器发送请求消息以控制目标路由器切换至低辐射模式,或者,该用户指令用于请求终端设备向服务器发送请求消息以控制目标路由器关闭路由器的Wi-Fi射频器件。In one example, FIG. 15 is a schematic diagram of an interface of a terminal device. The current mode of the router displayed on the interface is: full fire mode, and the full fire mode is used to represent the Wi-Fi radio frequency device in the router and The radio frequency devices other than the Wi-Fi radio frequency device are turned on. Other radio frequency devices may include Bluetooth radio frequency devices. The switchable modes of the router displayed on this interface include: low radiation mode and off mode. The switching control of the low radiation mode is 1501, and the switching control of the off mode is 1502. The low radiation mode is used to indicate that the Wi-Fi radio frequency device in the router is off, and other radio frequency devices except the Wi-Fi radio frequency device are on. ;Off mode is used to indicate that the Wi-Fi radio frequency device and other radio frequency devices in the router are in the off state. The terminal device acquires a user instruction in response to the user's click operation on the switching control 1501 of the low-radiation mode in the interface. The user instruction is used to request the terminal device to send a request message to the server to control the target router to switch to the low radiation mode, or the user instruction is used to request the terminal device to send a request message to the server to control the target router to turn off the Wi-Fi radio frequency device of the router .
在另一个例子中,如图16所示为终端设备的另一种界面的示意图,图16所示的界面中路由器的Wi-Fi射频器件处于开启状态,路由器的蓝牙射频器件处于开启状态,路由器的红外处于关闭状态。图16中切换开关1601用于控制路由器开启或关闭路由器的Wi-Fi射频器件,切换开关1602用于控制路由器开启或关闭路由器的蓝牙射频器件,切换开关2103用于控制路由器开启或关闭路由器的红外。如图16所示终端设备响应于用户对界面中切换开关1601的切换操作,获取用户指令。该用户指令用于终端设备请求服务器控制目标路由器切换至低辐射模式,或者,该用户指令用于终端设备请求服务器控制目标路由器关闭路由器的Wi-Fi射频器件。In another example, FIG. 16 is a schematic diagram of another interface of the terminal device. In the interface shown in FIG. 16, the Wi-Fi radio frequency device of the router is on, the Bluetooth radio frequency device of the router is on, and the router IR is off. In Fig. 16, the switch 1601 is used to control the router to turn on or off the Wi-Fi radio frequency device of the router, the switch 1602 is used to control the router to turn on or off the Bluetooth radio frequency device of the router, and the switch 2103 is used to control the router to turn on or off the infrared radio frequency device of the router . As shown in FIG. 16 , the terminal device obtains a user instruction in response to the switching operation of the switching switch 1601 in the interface by the user. The user instruction is used for the terminal device to request the server to control the target router to switch to the low-radiation mode, or the user instruction is used for the terminal device to request the server to control the target router to turn off the Wi-Fi radio frequency device of the router.
在另一种可能的实现方式中,终端设备采集该终端设备所处环境的语音信息,并将采集得到的语音信息转换为预设格式的音频数据,该音频数据为用户指令。在得到的音频数据满足预设条件的情况下,终端设备确定用户指令用于请求终端设备向服务器发送请求消息,以控制路由器开启或关闭路由器中至少一个射频器件。该请求消息可以用于请求服务器控制目标路由器切换至低辐射模式,或者,该请求消息可以用于请求服务器控制目标路由器关闭路由器的Wi-Fi射频器件。In another possible implementation manner, the terminal device collects voice information of the environment where the terminal device is located, and converts the collected voice information into audio data in a preset format, where the audio data is a user instruction. When the obtained audio data satisfies the preset condition, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, so as to control the router to turn on or turn off at least one radio frequency device in the router. The request message may be used to request the server to control the target router to switch to the low radiation mode, or the request message may be used to request the server to control the target router to turn off the Wi-Fi radio frequency device of the router.
示例性的,终端设备采集该终端设备所处环境的语音信息,该语音信息为包括“小路小路”的语音信息。终端设备确定该语音信息用于激活终端设备。终端设备播放响应信息“在呢,小路现在是火力全开状态,您有什么吩咐”,终端设备再次采集该终端设备所处环境的语音信息,并将采集到的语音信息转换为预设格式的音频数据,终端设备确定该音频数据为包括指令关键字“低辐射模式”的音频数据,终端设备确定该包括指令关键字“低辐射模式”的音频数据用于请求终端设备向服务器发送请求消息,请求消息用于请求服务器控制目标路由器切换至低辐射模式,或者,该请求消息用于请求服务器控制目标路由器关闭路由器的Wi-Fi射频器件。Exemplarily, the terminal device collects voice information of the environment where the terminal device is located, and the voice information includes "Xiaolu Xiaolu". The terminal device determines that the voice information is used to activate the terminal device. The terminal device plays the response message "Here, Xiaolu is now fully fired, what do you want to order", the terminal device collects the voice information of the environment where the terminal device is located again, and converts the collected voice information into a preset format audio data, the terminal device determines that the audio data is audio data including the instruction keyword "low radiation mode", the terminal device determines that the audio data including the instruction keyword "low radiation mode" is used to request the terminal device to send a request message to the server, The request message is used to request the server to control the target router to switch to the low radiation mode, or the request message is used to request the server to control the target router to turn off the Wi-Fi radio frequency device of the router.
S301:终端设备向服务器发送请求消息,该请求消息用于请求服务器控制目标路由器开启或关闭目标路由器中的至少一个射频器件。该请求消息包括目标路由器的标识。S301: The terminal device sends a request message to the server, where the request message is used to request the server to control the target router to turn on or turn off at least one radio frequency device in the target router. The request message includes the identification of the target router.
S302:服务器根据请求消息,确定目标路由器。S302: The server determines the target router according to the request message.
服务器可以根据请求消息中目标路由器的标识确定目标路由器。The server can determine the target router according to the identifier of the target router in the request message.
示例性的,服务器可以控制管理多个路由器,服务器根据请求消息中目标路由器的标识(例如:目标路由器的用户账号)从管理的多个路由器中确定目标路由器。Exemplarily, the server may control and manage multiple routers, and the server determines the target router from among the multiple managed routers according to the identifier of the target router in the request message (for example: the user account of the target router).
S303:服务器向目标路由器发送指示消息。该指示消息用于指示目标路由器开启或关闭路由器中的至少一个射频器件。S303: The server sends an indication message to the target router. The instruction message is used to instruct the target router to turn on or turn off at least one radio frequency device in the router.
S304:目标路由器根据指示消息,开启或关闭目标路由器中的至少一个射频器件。S304: The target router turns on or off at least one radio frequency device in the target router according to the instruction message.
可选的,S305:目标路由器执行预设反馈。预设反馈用于向用户指示开启或关闭路由器中射频器件是否成功。Optionally, S305: The target router performs preset feedback. The preset feedback is used to indicate to the user whether the radio frequency device in the router is turned on or off successfully.
在一种可能的实现方式中,目标路由器通过服务器向终端设备发送反馈消息。该反馈消息用于终端设备将用于表征路由器开启或关闭至少一个射频器件是否成功的反馈消息反馈给用户。In a possible implementation manner, the target router sends the feedback message to the terminal device through the server. The feedback message is used by the terminal device to feed back to the user a feedback message indicating whether the router turns on or turns off at least one radio frequency device successfully.
在另一种可能的实现方式中,目标路由器播放语音信息形式的反馈消息。示例性的,目标路由器播放“已为您关闭Wi-Fi”的反馈消息。该反馈消息用于向用户反馈关闭目标路由器的Wi-Fi射频器件成功。In another possible implementation, the target router plays the feedback message in the form of voice information. Exemplarily, the target router plays a feedback message of "Wi-Fi has been turned off for you". The feedback message is used to feed back to the user that the Wi-Fi radio frequency device of the target router is successfully turned off.
在另一种可能的实现方式中,目标路由器改变信息灯的颜色以向用户反馈开启或关闭目标路由器的射频器件是否成功。其中,目标路由器的射频器件均开启的状态下目标路由器的信息灯为蓝色;目标路由器的Wi-Fi射频器件关闭,且其他射频器件开启的状态下,信息灯为黄色。示例性的,目标路由器的信息灯颜色显示为黄色以向用户反馈关闭目标路由器的Wi-Fi射频器件成功。In another possible implementation manner, the target router changes the color of the information light to give feedback to the user whether the radio frequency device of the target router is turned on or off successfully. Among them, the information light of the target router is blue when the radio frequency components of the target router are turned on; the information light of the target router is yellow when the Wi-Fi radio frequency components of the target router are turned off and other radio frequency components are turned on. Exemplarily, the color of the information light of the target router is displayed in yellow to feed back to the user that the Wi-Fi radio frequency device of the target router is successfully turned off.
本申请实施例中,终端设备可以通过服务器控制开启或关闭路由器中至少一个射频器件,在不需要使用路由器射频器件的情况下,方便用户通过终端设备及时关闭路由器中射频器件,有助于降低路由器的电磁辐射对用户身体健康的影响。在需要使用路由器的情况下,路由器也可以通过上述实施例所提供的方法方便的获取用于开启路由器射频器件的控制指令信息,以开启路由器的射频器件。In the embodiment of this application, the terminal device can turn on or off at least one radio frequency device in the router through the control of the server, and it is convenient for the user to turn off the radio frequency device in the router in time through the terminal device without using the radio frequency device of the router, which helps to reduce the risk of the router. The impact of electromagnetic radiation on the user's health. When a router needs to be used, the router can also conveniently acquire control instruction information for turning on the radio frequency device of the router through the method provided in the above embodiment, so as to turn on the radio frequency device of the router.
图20为本申请实施例提供的另一种路由器控制方法的流程示意图,如图20所示,可以包括以下步骤:FIG. 20 is a schematic flowchart of another router control method provided in the embodiment of the present application. As shown in FIG. 20, the following steps may be included:
S400:路由器获取开启条件,该开启条件用于设定触发开启路由器的条件。S400: The router obtains an opening condition, and the opening condition is used to set a condition for triggering the opening of the router.
示例性的,开启条件可以是路由器处于关闭状态的时长大于或等于关闭时长,或者,开启条件可以是路由器的当前时间为预设时间点,或者,开启条件可以是路由器获取到开启指令,该开启指令用于开启路由器中的至少一个射频器件。Exemplarily, the opening condition can be that the time length of the router being in the off state is greater than or equal to the closing time length, or the opening condition can be that the current time of the router is a preset time point, or the opening condition can be that the router obtains the opening instruction, the opening The instruction is used to turn on at least one radio frequency device in the router.
在一种可能的实现方式中,路由器响应于用户对路由器的预设操作,获取开启条件。示例性的,路由器接收用户对路由器中时钟的设定操作,获取路由器自动开启的预设时间点,或者,路由器接收用户对路由器中时钟的设定操作,获取路由器的关闭时长。或者,路由器接收用户对路由器的默认语音开启的设定操作,获取条件指令,该条件指令用于指示路由器在关闭路由器中的射频器件(例如:蓝牙射频器件和Wi-Fi射频器件)后,自动开启音频接收器,音频接收器可以用于采集语音形式的开启指令。In a possible implementation manner, the router obtains the activation condition in response to a user's preset operation on the router. Exemplarily, the router receives the user's setting operation of the clock in the router, and obtains the preset time point when the router is automatically turned on, or the router receives the user's setting operation of the clock in the router, and obtains the shutdown time of the router. Or, the router receives the user's setting operation on the router's default voice activation, and obtains a conditional instruction, which is used to instruct the router to automatically turn off the radio frequency device (for example: Bluetooth radio frequency device and Wi-Fi radio frequency device) in the router. The audio receiver is turned on, and the audio receiver can be used to collect an opening command in the form of voice.
在另一种可能的实现方式中,路由器接收开启条件,该开启条件可以是终端设备发送给路由器的,也可以是服务器发送给路由器的。In another possible implementation manner, the router receives the activation condition, and the activation condition may be sent to the router by a terminal device, or may be sent to the router by a server.
在一个例子中,如图21所示,终端设备响应于用户对图21中A所示界面中定时任务 添加控件2101的点击操作,显示如B所示界面,B所示界面包括添加关闭时长控件2102和添加开启时间点控件2103,终端设备响应于用户对B所示界面中添加关闭时长控件2102的点击操作,显示如C所示界面,终端设备响应于对输入控件2104的输入操作,获取关闭时长为8个小时,终端设备响应于对存储控件2105的点击操作,存储用户设定的关闭时长,并显示D所示界面,终端设备存储该设定的关闭时长,并向路由器发送该关闭时长。该关闭时长8小时用于路由器在处于关闭状态的时长大于或等于8小时之后,自动开启路由器。D所示界面中删除控件2106可以用于响应于用户对该关闭时长的删除操作,控制路由器删除该设定的关闭时长。In one example, as shown in FIG. 21, the terminal device responds to the user’s click operation on the timing task adding control 2101 in the interface shown in A in FIG. 2102 and adding the opening time point control 2103, the terminal device responds to the user’s click operation on adding the closing duration control 2102 in the interface shown in B, and displays the interface shown in C, and the terminal device responds to the input operation of the input control 2104 to obtain the closing time The duration is 8 hours. The terminal device stores the shutdown duration set by the user in response to the click operation on the storage control 2105, and displays the interface shown in D. The terminal device stores the preset shutdown duration and sends the shutdown duration to the router. . The shutdown period of 8 hours is used to automatically turn on the router after the router has been in the shutdown state for more than or equal to 8 hours. The delete control 2106 in the interface shown in D may be used to control the router to delete the set shutdown duration in response to the user's deletion operation on the shutdown duration.
在另一个例子中,如图22所示,终端设备响应于用户对图22中A所示界面中定时任务添加控件2101的点击操作,显示如B所示界面,B所示界面包括添加关闭时长控件和添加开启时间点控件2103,终端设备响应于用户对B所示界面中添加开启时间点控件2103的点击操作,显示如E所示界面,终端设备响应于对输入控件2109的输入操作,获取开启时间点08:00,终端设备响应于对存储控件2107的点击操作,存储用户设定的该路由器自动开启的时间点即预设时间点,向路由器发送该预设时间点,并显示F所示界面,该预设时间点08:00用于路由器在每天的08:00自动开启路由器。F所示界面中删除控件2110可以用于响应于用户对该预设时间点的删除操作,控制路由器删除该预设时间点。In another example, as shown in FIG. 22, the terminal device responds to the user's click operation on the timing task adding control 2101 in the interface shown in A in FIG. Controls and adding the opening time point control 2103, the terminal device responds to the user's click operation on the interface shown in B to add the opening time point control 2103, and displays the interface shown in E, and the terminal device responds to the input operation of the input control 2109, and obtains At the opening time point of 08:00, the terminal device responds to the click operation on the storage control 2107, stores the time point at which the router is automatically turned on set by the user, that is, the preset time point, sends the preset time point to the router, and displays the Display interface, the preset time point 08:00 is used for the router to automatically turn on the router at 08:00 every day. The delete control 2110 in the interface shown in F may be used to control the router to delete the preset time point in response to the user's deletion operation on the preset time point.
在另一个例子中,如图23所示,终端设备响应于对A所示界面中默认语音后的开启控件2301的开启操作,向路由器发送条件指令并显示如B所示的界面,B界面开启空间处于开启状态,该条件指令用于指示路由器在关闭路由器中的射频器件(例如:蓝牙射频器件和Wi-Fi射频器件)后,自动开启音频接收器,音频接收器可以用于采集语音形式的开启指令。开启指令用于控制路由器中的至少一个射频器件的开启或关闭。路由器获取开启指令的方式参考S100中的描述,不再赘述。In another example, as shown in FIG. 23, the terminal device responds to the opening operation of the enable control 2301 after the default voice in the interface shown in A, sends a conditional command to the router and displays the interface shown in B, and the interface B is turned on The space is in the open state. This conditional instruction is used to instruct the router to automatically turn on the audio receiver after turning off the radio frequency device in the router (for example: Bluetooth radio frequency device and Wi-Fi radio frequency device). The audio receiver can be used to collect voice information. Open command. The enabling command is used to control the enabling or disabling of at least one radio frequency device in the router. Refer to the description in S100 for the manner in which the router obtains the enabling instruction, and details are not repeated here.
S401:路由器在满足开启条件的情况下,开启路由器。S401: The router starts the router when the starting condition is met.
在一个例子中,假设,开启条件是路由器处于关闭状态的时长大于或等于关闭时长11个小时,那么,在路由器处于关闭状态的时长大于或等于11个小时的情况下,路由器自动开启。In an example, assuming that the enabling condition is that the router is in the off state for greater than or equal to 11 hours, then, when the router is in the off state for greater than or equal to 11 hours, the router is automatically turned on.
在另一个例子中,假设,开启条件是路由器的当前时间为北京时间上午08:30,那么,每天在北京时间上午08:30路由器自动开启。In another example, assuming that the enabling condition is that the current time of the router is 08:30 am Beijing time, then the router is automatically turned on every day at 08:30 am Beijing time.
在另一个例子中,假设,开启条件是路由器获取到开启指令,那么,路由器可以通过上述S100~S103的方式控制开启路由器中的至少一个射频器件。In another example, assuming that the enabling condition is that the router obtains an enabling instruction, then the router may control and enable at least one radio frequency device in the router through the above-mentioned manners of S100-S103.
本申请实施例中,路由器在满足开启条件的情况下自动开启,从而方便了用户控制路由器的开启。In the embodiment of the present application, the router is automatically opened when the opening condition is met, so that it is convenient for the user to control the opening of the router.
图24为本申请实施例提供的另一种路由器控制方法的流程示意图,如图24所示,可以包括以下步骤:FIG. 24 is a schematic flowchart of another router control method provided in the embodiment of the present application. As shown in FIG. 24, the following steps may be included:
S500:路由器获取关闭条件。该关闭条件用于设定触发关闭路由器的条件。S500: The router acquires a shutdown condition. The shutdown condition is used to set a condition that triggers shutdown of the router.
示例性的,关闭条件可以是路由器处于开启状态的时长大于或等于开启时长,或者,关闭条件可以是路由器的当前时间为预设关闭时间点。或者,关闭条件可以是路由器所处环境的声音强度在连续时间段内小于或等于预设分贝等。Exemplarily, the shutdown condition may be that the duration of the router being in the ON state is greater than or equal to the ON duration, or the shutdown condition may be that the current time of the router is a preset shutdown time point. Alternatively, the shutdown condition may be that the sound intensity of the environment where the router is located is less than or equal to a preset decibel within a continuous period of time.
在一种可能的实现方式中,路由器响应于用户对路由器的预设操作,获取关闭条件。In a possible implementation manner, the router obtains the shutdown condition in response to a user's preset operation on the router.
在另一种可能的实现方式中,路由器接收关闭条件,该关闭条件可以是终端设备发送给路由器的,也可以是终端设备通过服务器发送给路由器的。In another possible implementation manner, the router receives the shutdown condition, and the shutdown condition may be sent by the terminal device to the router, or may be sent by the terminal device to the router through the server.
S501:路由器在满足关闭条件的情况下,关闭路由器。S501: The router shuts down the router when the shutdown condition is met.
在一个例子中,假设,关闭条件是路由器处于开启状态的时长大于或等于开启时长15个小时,那么,在路由器处于开启状态的时长大于或等于15个小时的情况下,路由器自动关闭。In an example, assuming that the shutdown condition is that the router is in the on state for greater than or equal to 15 hours, then, when the router is in the on state for more than or equal to 15 hours, the router is automatically shut down.
在另一个例子中,假设,关闭条件是路由器的当前时间为北京时间23:00,那么,每天在北京时间23:00,路由器自动关闭。In another example, assuming that the shutdown condition is that the current time of the router is 23:00 Beijing time, then the router is automatically shut down every day at 23:00 Beijing time.
在另一个例子中,假设,关闭条件是路由器所处环境的声音强度连续一个小时小于或等于15分贝,那么,路由器在其所处环境的声音强度连续1个小时内小于或等于15分贝的情况下,路由器自动关闭。In another example, assuming that the shutdown condition is that the sound intensity of the environment where the router is located is less than or equal to 15 decibels for one hour, then the condition that the sound intensity of the environment where the router is located is less than or equal to 15 decibels for one continuous hour , the router shuts down automatically.
本申请实施例中,路由器在满足关闭条件的情况下自动关闭,从而方便了用户控制路由器的关闭。有助于降低路由器的电磁辐射对用户身体健康的影响。In the embodiment of the present application, the router is automatically shut down when the shutdown condition is met, so that it is convenient for the user to control the shutdown of the router. It helps to reduce the impact of router electromagnetic radiation on the user's health.
上面结合图12-图24,对本申请实施例提供的方法进行了说明,下面对本申请实施例提供的执行上述方法的装置进行描述。示例性的,图25为本申请实施例提供的一种路由器的结构示意图。该示例并不构成对本申请实施例的限定。The method provided by the embodiment of the present application is described above with reference to FIGS. 12-24 , and the device for performing the above method provided by the embodiment of the present application is described below. Exemplarily, FIG. 25 is a schematic structural diagram of a router provided in an embodiment of the present application. This example does not constitute a limitation to the embodiment of the present application.
图25所示的路由器250包括获取单元2501和处理器2502;获取单元2501,用于获取控制指令信息;控制指令信息为蓝牙射频控制信号,或者,控制指令信息为音频数据;处理器2502,用于在控制指令信息满足预设条件的情况下,确定控制指令信息用于控制开启或关闭路由器250中至少一个射频器件;处理器2502还用于:根据控制指令信息,确定目标射频控制指令,目标射频控制指令为控制指令信息对应的用于控制至少一个射频器件的指令;处理器2502还用于:执行目标射频控制指令以开启或关闭至少一个射频器件。例如,结合图12,获取单元2501可以用于执行S100,处理器2502可以用于执行S101~S103。结合图14,获取单元2501可以用于执行S201中的接收步骤,处理器2502可以用于执行S202~S204。The router 250 shown in Figure 25 includes an acquisition unit 2501 and a processor 2502; the acquisition unit 2501 is used to acquire control instruction information; the control instruction information is a bluetooth radio frequency control signal, or the control instruction information is audio data; the processor 2502 uses In the case that the control command information satisfies the preset condition, determine that the control command information is used to control turning on or off at least one radio frequency device in the router 250; the processor 2502 is also used to: determine the target radio frequency control command according to the control command information, the target The radio frequency control instruction is an instruction corresponding to the control instruction information for controlling at least one radio frequency device; the processor 2502 is further configured to: execute the target radio frequency control instruction to turn on or off the at least one radio frequency device. For example, referring to FIG. 12 , the obtaining unit 2501 may be used to execute S100, and the processor 2502 may be used to execute S101-S103. Referring to FIG. 14 , the obtaining unit 2501 may be used to perform the receiving step in S201, and the processor 2502 may be used to perform S202-S204.
可选的,路由器250包括蓝牙模块2503;蓝牙模块2503具体用于:接收控制指令信息;控制指令信息为蓝牙射频控制信号。Optionally, the router 250 includes a Bluetooth module 2503; the Bluetooth module 2503 is specifically configured to: receive control instruction information; the control instruction information is a Bluetooth radio frequency control signal.
可选的,路由器250还包括:音频处理模块2504,音频处理模块2504具体用于:采集路由器250所处环境的第一语音信息,并将第一语音信息转换为预设格式的第一音频数据;处理器2502具体用于:在第一音频数据包括唤醒词的情况下,控制音频处理模块2504播放语音回复信息;唤醒词用于唤醒路由器250;语音回复信息用于表征路由器250被唤醒;音频处理模块2504还用于:采集路由器250所处环境的第二语音信息,并将第二语音信息转换为预设格式的第二音频数据;处理器2502具体用于:在第二音频数据满足预设条件的情况下,确定第二音频数据用于控制开启或关闭路由器250中至少一个射频器件;第二音频数据为控制指令信息;或者,音频处理模块2504具体用于:采集路由器250所处环境的第三语音信息,并将第三语音信息转换为预设格式的第三音频数据;处理器2502具体用于:在第三音频数据满足预设条件的情况下,确定第三音频数据用于控制开启或关闭路由器250中至少一个射频器件;第三音频数据为控制指令信息。Optionally, the router 250 further includes: an audio processing module 2504, and the audio processing module 2504 is specifically configured to: collect first voice information of the environment where the router 250 is located, and convert the first voice information into first audio data in a preset format ; The processor 2502 is specifically used to: when the first audio data includes a wake-up word, control the audio processing module 2504 to play voice reply information; the wake-up word is used to wake up the router 250; the voice reply information is used to characterize the wake-up of the router 250; The processing module 2504 is further configured to: collect the second voice information of the environment where the router 250 is located, and convert the second voice information into second audio data in a preset format; the processor 2502 is specifically configured to: when the second audio data meets the preset In the case of setting conditions, it is determined that the second audio data is used to control the opening or closing of at least one radio frequency device in the router 250; the second audio data is control instruction information; or, the audio processing module 2504 is specifically used to: collect the environment where the router 250 is located the third voice information, and convert the third voice information into third audio data in a preset format; the processor 2502 is specifically configured to: determine that the third audio data is used for Controlling to turn on or turn off at least one radio frequency device in the router 250; the third audio data is control instruction information.
可选的,处理器2502用于:在第二音频数据包括第一指令关键字的情况下,确定第 二音频数据用于控制开启或关闭路由器250中至少一个射频器件;或者,处理器2502用于:在第二音频数据在预存的多个语音指令数据中存在的情况下,确定第二音频数据用于控制开启或关闭路由器250中至少一个射频器件;或者,处理器2502用于:在第二音频数据包括唤醒词,且第二音频数据包括第一指令关键字的情况下,确定第二音频数据用于控制开启或关闭路由器250中至少一个射频器件;或者,处理器2502用于:在第三音频数据包括第一指令关键字的情况下,确定第三音频数据用于控制开启或关闭路由器250中至少一个射频器件;或者,处理器2502用于:在第三音频数据在预存的多个语音指令数据中存在的情况下,确定第三音频数据用于控制开启或关闭路由器250中至少一个射频器件;或者,处理器2502用于:在第三音频数据包括唤醒词,且第三音频数据包括第一指令关键字的情况下,确定第三音频数据用于控制开启或关闭路由器250中至少一个射频器件。Optionally, the processor 2502 is configured to: if the second audio data includes the first instruction keyword, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router 250; or, the processor 2502 uses For: when the second audio data exists in the pre-stored plurality of voice instruction data, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router 250; or, the processor 2502 is used to: If the second audio data includes a wake-up word, and the second audio data includes a first instruction keyword, it is determined that the second audio data is used to control turning on or off at least one radio frequency device in the router 250; or, the processor 2502 is configured to: In the case where the third audio data includes the first instruction keyword, determine that the third audio data is used to control on or off at least one radio frequency device in the router 250; or, the processor 2502 is configured to: when the third audio data is stored in In the case that there are voice command data, determine that the third audio data is used to control at least one radio frequency device in the router 250 to be turned on or off; or, the processor 2502 is configured to: when the third audio data includes a wake-up word, and the third audio If the data includes the first instruction keyword, it is determined that the third audio data is used to control turning on or off at least one radio frequency device in the router 250 .
可选的,路由器250还包括存储单元2505,存储单元2505中存储有多个第一对应关系;第一对应关系为指令关键字与射频控制指令的对应关系,处理器2502具体用于:确定控制指令信息所包括的目标指令关键字,从多个第一对应关系中,读取目标指令关键字对应的射频控制指令作为目标射频控制指令;第一指令关键字包括目标指令关键字;或者,存储单元2505中存储有多个第二对应关系;第二对应关系为语音指令数据与射频控制指令的对应关系;处理器2502具体用于:从多个第一对应关系中,读取控制指令信息对应的射频控制指令作为目标射频控制指令。Optionally, the router 250 further includes a storage unit 2505, in which a plurality of first correspondences are stored; the first correspondence is a correspondence between an instruction keyword and a radio frequency control instruction, and the processor 2502 is specifically configured to: determine the control The target instruction keyword included in the instruction information reads the radio frequency control instruction corresponding to the target instruction keyword from a plurality of first correspondences as the target radio frequency control instruction; the first instruction keyword includes the target instruction keyword; or stores A plurality of second correspondences are stored in the unit 2505; the second correspondence is the correspondence between voice instruction data and radio frequency control instructions; the processor 2502 is specifically used to: read the correspondence between the control instruction information from the plurality of first correspondences; The radio frequency control command of is used as the target radio frequency control command.
可选的,音频处理模块2504还用于:采集路由器250所处环境的第四语音信息,并将第四语音信息转换为预设格式的第四音频数据;处理器2502还用于:在第四音频数据包括唤醒词,且包括第二指令关键字的情况下,控制音频处理模块2504播放语音指令录入提示信息;语音指令录入提示信息用于提示用户录入控制开启或关闭路由器250中至少一个射频器件的目标语音指令数据;音频处理模块2504用于:采集路由器250所处环境的第五语音信息,并播放第六语音信息,第六语音信息包括第五语音信息;第六语音信息用于提示用户确认第五语音信息;音频处理模块2504还用于:采集路由器250所处环境的第七语音信息,并将第七语音信息转换为预设格式的第五音频数据;处理器2502具体用于:在第五音频数据包括第三指令关键字的情况下,存储第五语音信息转换得到的预设格式的音频数据与待录制射频控制指令的对应关系;第五语音信息转换得到的预设格式的音频数据为目标语音指令数据;待录制射频控制指令用于控制路由器250开启或关闭路由器250中至少一个射频器件。Optionally, the audio processing module 2504 is also configured to: collect fourth voice information of the environment where the router 250 is located, and convert the fourth voice information into fourth audio data in a preset format; the processor 2502 is also configured to: If the four-audio data includes a wake-up word and includes a second instruction keyword, the audio processing module 2504 is controlled to play voice command input prompt information; the voice command input prompt information is used to prompt the user to input control to turn on or off at least one radio frequency in the router 250 The target voice instruction data of the device; the audio processing module 2504 is used to: collect the fifth voice information of the environment where the router 250 is located, and play the sixth voice information, the sixth voice information includes the fifth voice information; the sixth voice information is used for prompting The user confirms the fifth voice information; the audio processing module 2504 is also configured to: collect the seventh voice information of the environment where the router 250 is located, and convert the seventh voice information into fifth audio data in a preset format; the processor 2502 is specifically used to : in the case where the fifth audio data includes the third instruction keyword, store the corresponding relationship between the audio data in the preset format obtained by converting the fifth voice information and the radio frequency control instruction to be recorded; the preset format obtained by converting the fifth voice information The audio data is the target voice command data; the radio frequency control command to be recorded is used to control the router 250 to turn on or off at least one radio frequency device in the router 250 .
可选的,第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器250的语音、录入开启路由器250的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。Optionally, the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off router 250, inputting the voice of turning on router 250, inputting the voice of turning off Bluetooth, inputting the voice of turning on Bluetooth At least one of voice recording, voice recording with infrared off, voice recording with infrared on, voice recording in low-radiation mode, or voice recording in off mode.
可选的,第一指令关键字包括:关闭Wi-Fi、关闭路由器250、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。Optionally, the first instruction keyword includes: at least one of turning off Wi-Fi, turning off the router 250, turning off Bluetooth, turning off infrared, low-radiation mode, or off mode.
可选的,处理器2502还用于:执行预设反馈,预设反馈用于向用户指示关闭至少一个射频器件是否成功。Optionally, the processor 2502 is further configured to: perform preset feedback, where the preset feedback is used to indicate to the user whether the shutdown of at least one radio frequency device is successful.
可选的,路由器250还包括发送单元2506,用于向终端设备发送反馈消息,反馈消 息用于终端设备向用户反馈关闭至少一个射频器件是否成功。Optionally, the router 250 further includes a sending unit 2506, configured to send a feedback message to the terminal device, where the feedback message is used by the terminal device to feed back to the user whether at least one radio frequency device is successfully turned off.
可选的,音频处理模块2504还用于:播放反馈语音信息,反馈语音信息用于向用户反馈关闭至少一个射频器件是否成功;或者,处理器2502控制改变信息灯的颜色以向用户反馈关闭至少一个射频器件是否成功。Optionally, the audio processing module 2504 is also configured to: play feedback voice information, and the feedback voice information is used to feed back to the user whether at least one radio frequency device is successfully turned off; or, the processor 2502 controls to change the color of the information light to give the user feedback Whether an RF device is successful.
可选的,获取单元2501还用于:获取路由器250的开启条件;开启条件包括路由器250处于关闭状态的时长大于或等于预设关闭时长;或者,开启条件包括路由器250的当前时间为预设开启时间点;处理器2502还用于,路由器250满足开启条件的情况下,开启路由器250。Optionally, the obtaining unit 2501 is also used to: obtain the opening condition of the router 250; the opening condition includes that the time when the router 250 is in the off state is greater than or equal to the preset closing time; or, the opening condition includes that the current time of the router 250 is the preset opening Time point: the processor 2502 is also used to start the router 250 when the router 250 meets the start condition.
可选的,获取单元2501还用于:获取路由器250的关闭条件;关闭条件包括路由器250处于开启状态的时长大于或等于预设开启时长;或者,关闭条件包括路由器250的当前时间为预设关闭时间点;处理器2502还用于,在路由器250满足关闭条件的情况下,关闭路由器250。Optionally, the acquiring unit 2501 is also used to: acquire the shutdown condition of the router 250; the shutdown condition includes that the time period that the router 250 is in the on state is greater than or equal to the preset on-time duration; or, the shutdown condition includes that the current time of the router 250 is preset shutdown Time point: the processor 2502 is further configured to shut down the router 250 when the router 250 meets the shutdown condition.
在一个例子中,结合图4,处理器2502可以由图4中的处理器402实现,获取单元2501可以由图4中的蓝牙模块401实现。In an example, referring to FIG. 4 , the processor 2502 may be implemented by the processor 402 in FIG. 4 , and the acquiring unit 2501 may be implemented by the Bluetooth module 401 in FIG. 4 .
在另一个例子中,结合图5,处理器2502可以由图5中的处理器502实现,获取单元2501可以由图5中音频处理模块501实现。In another example, referring to FIG. 5 , the processor 2502 may be implemented by the processor 502 in FIG. 5 , and the acquiring unit 2501 may be implemented by the audio processing module 501 in FIG. 5 .
本申请实施例提供一种包括计算机程序的计算机程序产品,当计算机程序在计算机上运行时,使得计算机执行上述任一种路由器控制方法中终端设备、服务器或路由器所执行的方法。An embodiment of the present application provides a computer program product including a computer program. When the computer program is run on a computer, the computer is made to execute the method performed by the terminal device, the server, or the router in any router control method described above.
本申请提供一种芯片或者芯片系统,该芯片或者芯片系统包括至少一个处理器和通信接口,通信接口和至少一个处理器通过线路互联,至少一个处理器用于运行计算机程序或指令,以执行上述任一种路由器控制方法中终端设备、服务器或路由器所执行的方法;其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。The present application provides a chip or a chip system, the chip or chip system includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through lines, and the at least one processor is used to run computer programs or instructions to perform any of the above A method executed by a terminal device, a server, or a router in a router control method; wherein, the communication interface in the chip may be an input/output interface, a pin, or a circuit.
在一种可能的实现中,本申请中上述描述的芯片或者芯片系统还包括至少一个存储器,该至少一个存储器中存储有指令。该存储器可以为芯片内部的存储单元,例如,寄存器、缓存等,也可以是该芯片的存储单元(例如,只读存储器、随机存取存储器等)。其中,芯片中的通信接口可以为输入/输出接口、管脚或电路等。In a possible implementation, the chip or the chip system described above in the present application further includes at least one memory, and instructions are stored in the at least one memory. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (eg, a read-only memory, a random access memory, etc.). Wherein, the communication interface in the chip may be an input/output interface, a pin or a circuit, and the like.
本申请实施例提供一种电子设备,该电子设备可以执行上述任一种路由器控制方法中终端设备或路由器所执行的方法。An embodiment of the present application provides an electronic device, and the electronic device can execute the method executed by the terminal device or the router in any router control method described above.
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行上述任一种路由器控制方法中终端设备、服务器或路由器所执行的方法。An embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is run on the computer, the computer executes the terminal device in any one of the above-mentioned router control methods , the method performed by the server or router.
作为一种可能的设计,计算机可读介质可以包括紧凑型光盘只读储存器(compact disc read-only memory,CD-ROM)、RAM、ROM、EEPROM或其它光盘存储器;计算机可读介质可以包括磁盘存储器或其它磁盘存储设备。而且,任何连接线也可以被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,DSL或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘(CD),激光盘,光盘,数字通用光盘(digital versatile disc, DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。As a possible design, the computer-readable medium may include compact disc read-only memory (compact disc read-only memory, CD-ROM), RAM, ROM, EEPROM or other optical disc storage; the computer-readable medium may include a magnetic disk memory or other disk storage devices. Also, any connected cord is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Reproduce data.
上述的组合也应包括在计算机可读介质的范围内。以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。Combinations of the above should also be included within the scope of computer-readable media. The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present invention, and should cover all Within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (60)
- 一种路由器控制方法,其特征在于,应用于路由器控制系统,所述路由器控制系统包括:终端设备和路由器;所述方法包括:A router control method, characterized in that it is applied to a router control system, and the router control system includes: a terminal device and a router; the method includes:所述终端设备获取用户指令;The terminal device acquires user instructions;所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件;The terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router;所述终端设备向所述路由器发送控制指令信息,所述控制指令信息用于控制所述至少一个射频器件的关闭;The terminal device sends control instruction information to the router, where the control instruction information is used to control shutdown of the at least one radio frequency device;所述路由器根据所述控制指令信息,确定目标射频控制指令,所述目标射频控制指令为所述控制指令信息对应的用于控制所述至少一个射频器件的指令;The router determines a target radio frequency control command according to the control command information, where the target radio frequency control command is an command corresponding to the control command information for controlling the at least one radio frequency device;所述路由器执行所述目标射频控制指令以关闭所述至少一个射频器件。The router executes the target radio frequency control instruction to turn off the at least one radio frequency device.
- 根据权利要求1所述的路由器控制方法,其特征在于,所述终端设备获取用户指令,包括:The router control method according to claim 1, wherein said terminal device obtaining user instructions includes:所述终端设备采集所述终端设备所处环境的第一语音信息,并将所述第一语音信息转换为预设格式的第一音频数据;在所述第一音频数据包括唤醒词的情况下,所述终端设备发送语音回复信息;所述唤醒词用于唤醒所述终端设备,所述语音回复信息用于表征所述终端设备被唤醒;所述终端设备采集所述终端设备所处环境的第二语音信息;所述第二语音信息为所述用户指令;The terminal device collects first voice information of the environment where the terminal device is located, and converts the first voice information into first audio data in a preset format; when the first audio data includes a wake-up word , the terminal device sends voice reply information; the wake-up word is used to wake up the terminal device, and the voice reply information is used to indicate that the terminal device is woken up; the terminal device collects information about the environment where the terminal device is located second voice information; the second voice information is the user instruction;或者,or,所述终端设备采集所述终端设备所处环境的第三语音信息,所述第三语音信息为所述用户指令。The terminal device collects third voice information of the environment where the terminal device is located, where the third voice information is the user instruction.
- 根据权利要求2所述的路由器控制方法,其特征在于,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件,包括:The router control method according to claim 2, wherein the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router, including:所述终端设备将所述用户指令转换为所述预设格式的第二音频数据;converting the user instruction into second audio data in the preset format by the terminal device;在所述第二音频数据满足预设条件的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件。When the second audio data satisfies a preset condition, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router.
- 根据权利要求3所述的路由器控制方法,其特征在于,所述在所述第二音频数据满足预设条件的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件,包括:The router control method according to claim 3, wherein when the second audio data satisfies a preset condition, the terminal device determines that the user instruction is used to instruct the router to close the At least one radio frequency device in the router, including:在所述第二音频数据包括第一指令关键字的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件;In the case where the second audio data includes a first instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router;或者,or,在所述第二音频数据在预存的语音指令数据中存在的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件;In the case where the second audio data exists in the prestored voice instruction data, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router;或者,or,在所述第二音频数据包括所述唤醒词,且所述第二音频数据包括所述第一指令关键字的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件。When the second audio data includes the wake-up word, and the second audio data includes the first instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off the At least one radio frequency device in the router.
- 根据权利要求4所述的路由器控制方法,其特征在于,所述终端设备中存储有多个第一对应关系,所述第一对应关系为语音指令数据与指令信息的对应关系,所述方法还包括:The router control method according to claim 4, wherein a plurality of first correspondences are stored in the terminal device, and the first correspondences are correspondences between voice instruction data and instruction information, and the method further includes include:所述终端设备在语音指令管理界面中接收针对目标录音控件的第一预设操作;响应于所述第一预设操作,所述终端设备显示语音录入界面,并采集所述终端设备所处环境中的第四语音信息;所述目标录音控件用于为所述控制指令信息录制语音指令数据;The terminal device receives a first preset operation for the target recording control in the voice command management interface; in response to the first preset operation, the terminal device displays a voice input interface, and collects the environment where the terminal device is located The fourth voice information in; the target recording control is used to record voice command data for the control command information;所述终端设备在反馈界面中显示所述第四语音信息对应的字符信息,或者,所述终端设备播放所述第四语音信息;The terminal device displays character information corresponding to the fourth voice information in the feedback interface, or the terminal device plays the fourth voice information;所述终端设备响应于对所述第四语音信息的确认指令,存储目标语音指令数据与所述控制指令信息的对应关系;所述目标语音指令数据为基于所述第四语音信息得到的语音指令数据。The terminal device stores the corresponding relationship between target voice command data and the control command information in response to the confirmation command for the fourth voice information; the target voice command data is a voice command obtained based on the fourth voice information data.
- 根据权利要求4所述的路由器控制方法,其特征在于,所述终端设备中存储有多个第一对应关系,所述第一对应关系为语音指令数据与指令信息的对应关系,所述方法还包括:The router control method according to claim 4, wherein a plurality of first correspondences are stored in the terminal device, and the first correspondences are correspondences between voice instruction data and instruction information, and the method further includes include:所述终端设备采集所述终端设备所处环境的第五语音信息,并将所述第五语音信息转换为所述预设格式的第三音频数据;The terminal device collects fifth voice information of the environment where the terminal device is located, and converts the fifth voice information into third audio data in the preset format;在所述第三音频数据包括所述唤醒词,且包括第二指令关键字的情况下,所述终端设备播放语音指令录入提示信息;所述语音指令录入提示信息用于提示用户为所述控制指令信息录制语音指令数据;In the case where the third audio data includes the wake-up word and the second instruction keyword, the terminal device plays voice command entry prompt information; the voice command entry prompt information is used to prompt the user to Instruction information recording voice instruction data;所述终端设备采集所述终端设备所处环境的第六语音信息,并播放第七语音信息,所述第七语音信息包括所述第六语音信息;所述第七语音信息用于用户确认所述第六语音信息;The terminal device collects sixth voice information of the environment where the terminal device is located, and plays seventh voice information, where the seventh voice information includes the sixth voice information; the seventh voice information is used for the user to confirm the Describe the sixth voice information;所述终端设备采集所述终端设备所处环境的第八语音信息,并将所述第八语音信息转换为所述预设格式的第四音频数据;The terminal device collects eighth voice information of the environment where the terminal device is located, and converts the eighth voice information into fourth audio data in the preset format;在所述第四音频数据包括第三指令关键字的情况下,所述终端设备存储所述第六语音信息转换得到的所述预设格式的音频数据与所述控制指令信息的对应关系。In a case where the fourth audio data includes a third instruction keyword, the terminal device stores a correspondence between the audio data in the preset format obtained by converting the sixth voice information and the control instruction information.
- 根据权利要求6所述的路由器控制方法,其特征在于,所述第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。The router control method according to claim 6, wherein the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, and inputting the voice of turning on the router. At least one of the voice, the voice of Bluetooth off, the voice of Bluetooth on, the voice of infrared off, the voice of infrared on, the voice of low radiation mode or the voice of off mode.
- 根据权利要求4-7任一项所述的路由器控制方法,其特征在于,所述第一指令关键字包括:关闭Wi-Fi、关闭路由器、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。The router control method according to any one of claims 4-7, wherein the first instruction keyword includes: turn off Wi-Fi, turn off the router, turn off Bluetooth, turn off infrared, low-radiation mode or off mode at least one of .
- 根据权利要求1所述的路由器控制方法,其特征在于,所述终端设备获取用户指令,包括:The router control method according to claim 1, wherein said terminal device obtaining user instructions includes:所述终端设备在第一路由器管理界面中按照所述路由器当前所处模式和所述路由器的可切换模式,区分显示所述路由器的模式;其中,所述路由器当前所处模式中,所述路由器的所述至少一个射频器件为开启状态;In the first router management interface, the terminal device distinguishes and displays the mode of the router according to the current mode of the router and the switchable mode of the router; wherein, in the current mode of the router, the router The at least one radio frequency device is turned on;所述终端设备在所述第一路由器管理界面中接收针对目标模式的切换控件的第二预 设操作;所述目标模式为所述可切换模式中的模式,所述目标模式中,所述路由器的所述至少一个射频器件为关闭状态;The terminal device receives a second preset operation for the switching control of the target mode in the first router management interface; the target mode is a mode in the switchable mode, and in the target mode, the router The at least one radio frequency device is in an off state;响应于所述第二预设操作,获取所述用户指令;所述用户指令用于将所述路由器由当前所处模式切换为所述目标模式。In response to the second preset operation, the user instruction is acquired; the user instruction is used to switch the router from the current mode to the target mode.
- 根据权利要求9所述的路由器控制方法,其特征在于,所述路由器的模式包括火力全开模式、低辐射模式以及关闭模式;所述火力全开模式用于表征所述路由器中的无线保真射频器件以及除所述无线保真射频器件之外的其他射频器件处于开启状态;所述低辐射模式用于表征所述路由器的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于开启状态;所述关闭模式用于表征所述路由器中的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于关闭状态。The router control method according to claim 9, wherein the modes of the router include a full-fire mode, a low-radiation mode, and an off mode; the full-fire mode is used to characterize wireless fidelity in the router The radio frequency device and other radio frequency devices except the wireless fidelity radio frequency device are in an on state; the low radiation mode is used to indicate that the wireless fidelity radio frequency device of the router is in an off state, and the other radio frequency devices is in an on state; the off mode is used to indicate that the Wi-Fi radio frequency device in the router is in an off state, and the other radio frequency devices are in an off state.
- 根据权利要求1所述的路由器控制方法,其特征在于,所述终端设备获取用户指令,包括:The router control method according to claim 1, wherein said terminal device obtaining user instructions includes:所述终端设备在第二路由器管理界面中显示所述路由器中各个射频器件的切换开关,以及所述各个射频器件的开启或关闭状态;The terminal device displays the switch of each radio frequency device in the router on the second router management interface, and the on or off status of each radio frequency device;所述终端设备接收在所述第二路由器管理界面中针对目标切换开关的第三预设操作;所述目标切换开关用于开启或关闭目标射频器件;The terminal device receives a third preset operation for a target switch in the management interface of the second router; the target switch is used to turn on or off a target radio frequency device;所述终端设备响应于所述第三预设操作,获取所述用户指令;所述用户指令用于控制所述路由器关闭所述目标射频器件。The terminal device acquires the user instruction in response to the third preset operation; the user instruction is used to control the router to turn off the target radio frequency device.
- 根据权利要求1-11任一项所述的路由器控制方法,其特征在于,所述路由器根据所述控制指令信息,确定目标射频控制指令,包括:The router control method according to any one of claims 1-11, wherein the router determines the target radio frequency control command according to the control command information, including:所述路由器将所述控制指令信息按照预设规则转换为目标数字信号;The router converts the control instruction information into a target digital signal according to preset rules;所述路由器从预存的第二对应关系中,读取所述目标数字信号对应的射频控制指令作为所述目标射频控制指令;所述第二对应关系包括所述目标数字信号与射频控制指令的对应关系。The router reads the radio frequency control instruction corresponding to the target digital signal from the prestored second correspondence as the target radio frequency control instruction; the second correspondence includes the correspondence between the target digital signal and the radio frequency control instruction relation.
- 根据权利要求1-12任一项所述的路由器控制方法,其特征在于,所述方法还包括:The router control method according to any one of claims 1-12, wherein the method further comprises:所述路由器执行预设反馈,所述预设反馈用于向用户指示关闭所述至少一个射频器件是否成功。The router executes preset feedback, and the preset feedback is used to indicate to the user whether turning off the at least one radio frequency device is successful.
- 根据权利要求13所述的路由器控制方法,其特征在于,所述路由器执行预设反馈,包括:The router control method according to claim 13, wherein the router performs preset feedback, comprising:所述路由器向所述终端设备发送反馈信号,所述反馈信号用于所述终端设备向用户反馈关闭所述至少一个射频器件是否成功;The router sends a feedback signal to the terminal device, where the feedback signal is used by the terminal device to feed back to the user whether the at least one radio frequency device is successfully turned off;所述终端设备根据所述反馈信号在所述终端设备的反馈界面中显示反馈信息,或者,所述终端设备根据所述反馈信号播放反馈语音信息,以向用户反馈关闭所述至少一个射频器件是否成功。The terminal device displays feedback information in the feedback interface of the terminal device according to the feedback signal, or the terminal device plays feedback voice information according to the feedback signal, so as to feed back to the user whether to turn off the at least one radio frequency device success.
- 根据权利要求13所述的路由器控制方法,其特征在于,所述路由器执行预设反馈,包括:The router control method according to claim 13, wherein the router performs preset feedback, comprising:所述路由器播放反馈语音信息,所述反馈语音信息用于向用户反馈关闭所述至少一个射频器件是否成功;The router plays feedback voice information, and the feedback voice information is used to feed back to the user whether the shutdown of the at least one radio frequency device is successful;或者,所述路由器改变信息灯的颜色以向用户反馈关闭所述至少一个射频器件是否成功。Alternatively, the router changes the color of the information light to give feedback to the user whether the shutdown of the at least one radio frequency device is successful.
- 根据权利要求1-15任一项所述的路由器控制方法,其特征在于,所述路由器中包括蓝牙模块,所述终端设备向所述路由器发送控制指令信息,包括:The router control method according to any one of claims 1-15, wherein the router includes a Bluetooth module, and the terminal device sends control instruction information to the router, including:所述终端设备基于蓝牙射频器件向所述路由器的所述蓝牙模块发送控制指令信息;所述控制指令信息为蓝牙射频控制信号。The terminal device sends control instruction information to the Bluetooth module of the router based on the Bluetooth radio frequency device; the control instruction information is a Bluetooth radio frequency control signal.
- 一种路由器控制方法,其特征在于,应用于路由器控制系统,所述路由器控制系统包括:终端设备、服务器以及路由器;所述方法包括:A router control method, characterized in that it is applied to a router control system, and the router control system includes: a terminal device, a server, and a router; the method includes:所述终端设备获取用户指令;The terminal device acquires user instructions;所述终端设备确定所述用户指令用于请求所述终端设备向所述服务器发送请求消息,以控制所述路由器关闭所述路由器中至少一个射频器件;The terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, so as to control the router to turn off at least one radio frequency device in the router;所述终端设备向所述服务器发送所述请求消息,所述请求消息包括所述路由器的标识;The terminal device sends the request message to the server, where the request message includes the identifier of the router;所述服务器向所述路由器发送指示消息,所述指示消息用于指示所述路由器关闭所述至少一个射频器件;The server sends an indication message to the router, where the indication message is used to instruct the router to turn off the at least one radio frequency device;所述路由器根据所述指示消息,确定目标射频控制指令,所述目标射频控制指令为所述指示消息对应的用于控制所述至少一个射频器件的指令;The router determines a target radio frequency control instruction according to the indication message, where the target radio frequency control instruction is an instruction for controlling the at least one radio frequency device corresponding to the indication message;所述路由器执行所述目标射频控制指令以关闭所述至少一个射频器件。The router executes the target radio frequency control instruction to turn off the at least one radio frequency device.
- 根据权利要求17所述的路由器控制方法,其特征在于,所述终端设备获取用户指令,包括:The router control method according to claim 17, wherein said terminal device acquiring user instructions includes:所述终端设备采集所述终端设备所处环境的第一语音信息,并将所述第一语音信息转换为预设格式的第一音频数据;在所述第一音频数据包括唤醒词的情况下,所述终端设备发送语音回复信息;所述唤醒词用于唤醒所述终端设备,所述语音回复信息用于表征所述终端设备被唤醒;所述终端设备采集所述终端设备所处环境的第二语音信息;所述第二语音信息为所述用户指令;The terminal device collects first voice information of the environment where the terminal device is located, and converts the first voice information into first audio data in a preset format; when the first audio data includes a wake-up word , the terminal device sends voice reply information; the wake-up word is used to wake up the terminal device, and the voice reply information is used to indicate that the terminal device is woken up; the terminal device collects information about the environment where the terminal device is located second voice information; the second voice information is the user instruction;或者,or,所述终端设备采集所述终端设备所处环境的第三语音信息,所述第三语音信息为所述用户指令。The terminal device collects third voice information of the environment where the terminal device is located, where the third voice information is the user instruction.
- 根据权利要求18所述的路由器控制方法,其特征在于,所述终端设备确定所述用户指令用于请求所述终端设备向所述服务器发送请求消息,包括:The router control method according to claim 18, wherein the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server, comprising:所述终端设备将所述用户指令转换为所述预设格式的第二音频数据;converting the user instruction into second audio data in the preset format by the terminal device;在所述第二音频数据满足预设条件的情况下,所述终端设备确定所述用户指令用于请求所述终端设备向所述服务器发送请求消息。When the second audio data satisfies a preset condition, the terminal device determines that the user instruction is for requesting the terminal device to send a request message to the server.
- 根据权利要求19所述的路由器控制方法,其特征在于,所述在所述第二音频数据满足预设条件的情况下,所述终端设备确定所述用户指令用于请求所述终端设备向所述服务器发送请求消息,包括:The router control method according to claim 19, wherein when the second audio data satisfies a preset condition, the terminal device determines that the user instruction is for requesting the terminal device to send The server sends a request message, including:在所述第二音频数据包括第一指令关键字的情况下,所述终端设备确定所述用户指令用于请求所述终端设备向所述服务器发送请求消息;When the second audio data includes a first instruction keyword, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server;或者,or,在所述第二音频数据在预存的语音指令数据中存在的情况下,所述终端设备确定所述 用户指令用于请求所述终端设备向所述服务器发送请求消息;In the case where the second audio data exists in the prestored voice instruction data, the terminal device determines that the user instruction is used to request the terminal device to send a request message to the server;或者,or,在所述第二音频数据包括所述唤醒词,且所述第二音频数据包括第一指令关键字的情况下,所述终端设备确定所述用户指令用于请求所述终端设备向所述服务器发送请求消息。When the second audio data includes the wake-up word, and the second audio data includes the first instruction keyword, the terminal device determines that the user instruction is to request the terminal device to send the Send request message.
- 根据权利要求20所述的路由器控制方法,其特征在于,所述终端设备中存储有多个第一对应关系,所述第一对应关系为语音指令数据与指令信息的对应关系,所述方法还包括:The router control method according to claim 20, wherein a plurality of first correspondences are stored in the terminal device, and the first correspondences are correspondences between voice instruction data and instruction information, and the method further includes include:所述终端设备在语音指令管理界面中接收针对目标录音控件的第一预设操作;The terminal device receives a first preset operation for the target recording control in the voice command management interface;所述终端设备响应于所述第一预设操作,所述终端设备显示语音录入界面,并采集所述终端设备所处环境中的语音信息;所述目标录音控件用于为所述控制指令信息录制语音指令数据;The terminal device responds to the first preset operation, the terminal device displays a voice input interface, and collects voice information in the environment where the terminal device is located; the target recording control is used for the control instruction information Record voice command data;所述终端设备在反馈界面中显示采集的语音信息对应的字符信息,或者,所述终端设备播放采集的语音信息;The terminal device displays character information corresponding to the collected voice information in the feedback interface, or the terminal device plays the collected voice information;所述终端设备响应于对采集的语音信息的确认指令,存储目标语音指令数据与所述控制指令信息的对应关系;所述目标语音指令数据为基于采集的语音信息得到的语音指令数据。The terminal device stores the corresponding relationship between the target voice command data and the control command information in response to the confirmation command of the collected voice information; the target voice command data is the voice command data obtained based on the collected voice information.
- 根据权利要求20所述的路由器控制方法,其特征在于,所述终端设备中存储有多个第一对应关系,所述第一对应关系为语音指令数据与指令信息的对应关系,所述方法还包括:The router control method according to claim 20, wherein a plurality of first correspondences are stored in the terminal device, and the first correspondences are correspondences between voice instruction data and instruction information, and the method further includes include:所述终端设备采集所述终端设备所处环境的第五语音信息,并将所述第五语音信息转换为所述预设格式的第三音频数据;The terminal device collects fifth voice information of the environment where the terminal device is located, and converts the fifth voice information into third audio data in the preset format;在所述第三音频数据包括所述唤醒词,且包括第二指令关键字的情况下,所述终端设备播放语音指令录入提示信息;所述语音指令录入提示信息用于提示用户为所述控制指令信息录制语音指令数据;In the case where the third audio data includes the wake-up word and the second instruction keyword, the terminal device plays voice command entry prompt information; the voice command entry prompt information is used to prompt the user to Instruction information recording voice instruction data;所述终端设备采集所述终端设备所处环境的第六语音信息,并播放第七语音信息,所述第七语音信息包括所述第六语音信息;所述第七语音信息用于提示用户确认所述第六语音信息;The terminal device collects sixth voice information of the environment where the terminal device is located, and plays seventh voice information, where the seventh voice information includes the sixth voice information; the seventh voice information is used to prompt the user to confirm the sixth voice information;所述终端设备采集所述终端设备所处环境的第八语音信息,并将所述第八语音信息转换为所述预设格式的第四音频数据;The terminal device collects eighth voice information of the environment where the terminal device is located, and converts the eighth voice information into fourth audio data in the preset format;在所述第四音频数据包括第三指令关键字的情况下,所述终端设备存储所述第六语音信息转换得到的所述预设格式的音频数据与所述控制指令信息的对应关系。In a case where the fourth audio data includes a third instruction keyword, the terminal device stores a correspondence between the audio data in the preset format obtained by converting the sixth voice information and the control instruction information.
- 根据权利要求22所述的路由器控制方法,其特征在于,所述第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。The router control method according to claim 22, wherein the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, and inputting the voice of turning on the router. At least one of the voice, the voice of Bluetooth off, the voice of Bluetooth on, the voice of infrared off, the voice of infrared on, the voice of low radiation mode or the voice of off mode.
- 根据权利要求20-23任一项所述的路由器控制方法,其特征在于,所述第一指令关键字包括:关闭Wi-Fi、关闭路由器、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。The router control method according to any one of claims 20-23, wherein the first instruction keyword includes: turn off Wi-Fi, turn off router, turn off Bluetooth, turn off infrared, low radiation mode or in off mode at least one of .
- 根据权利要求17所述的路由器控制方法,其特征在于,所述终端设备获取用户 指令,包括:The router control method according to claim 17, wherein said terminal equipment obtains user instructions, comprising:所述终端设备在第一路由器管理界面中按照所述路由器当前所处模式和所述路由器的可切换模式,区分显示所述路由器的模式;其中,所述路由器当前所处模式中,所述路由器的所述至少一个射频器件为开启状态;所述终端设备在所述第一路由器管理界面中接收针对目标模式的切换控件的第二预设操作;所述目标模式为所述可切换模式中的模式,所述目标模式中,所述路由器的所述至少一个射频器件为关闭状态;所述终端设备响应于所述第二预设操作,获取所述用户指令;所述用户指令用于将所述路由器由当前所处模式切换为所述目标模式。In the first router management interface, the terminal device distinguishes and displays the mode of the router according to the current mode of the router and the switchable mode of the router; wherein, in the current mode of the router, the router The at least one radio frequency device is in the on state; the terminal device receives the second preset operation of the switch control for the target mode in the first router management interface; the target mode is the switchable mode in the mode, in the target mode, the at least one radio frequency device of the router is in an off state; the terminal device acquires the user instruction in response to the second preset operation; the user instruction is used to use the The router is switched from the current mode to the target mode.
- 根据权利要求17所述的路由器控制方法,其特征在于,所述终端设备获取用户指令,包括:The router control method according to claim 17, wherein said terminal device acquiring user instructions includes:所述终端设备在第二路由器管理界面中显示所述路由器中各个射频器件的切换开关,以及所述各个射频器件的开启或关闭状态;The terminal device displays the switch of each radio frequency device in the router on the second router management interface, and the on or off status of each radio frequency device;所述终端设备接收在所述第二路由器管理界面中针对目标切换开关的第三预设操作;所述目标切换开关用于开启或关闭目标射频器件;The terminal device receives a third preset operation for a target switch in the management interface of the second router; the target switch is used to turn on or off a target radio frequency device;所述终端设备响应于所述第三预设操作,获取所述用户指令;所述用户指令用于控制所述路由器关闭所述目标射频器件。The terminal device acquires the user instruction in response to the third preset operation; the user instruction is used to control the router to turn off the target radio frequency device.
- 根据权利要求25所述的路由器控制方法,其特征在于,所述路由器的模式包括火力全开模式、低辐射模式以及关闭模式;所述火力全开模式用于表征所述路由器中的无线保真射频器件以及除所述无线保真射频器件之外的其他射频器件处于开启状态;所述低辐射模式用于表征所述路由器的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于开启状态;所述关闭模式用于表征所述路由器中的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于关闭状态。The router control method according to claim 25, wherein the modes of the router include a full-fire mode, a low-radiation mode, and an off mode; the full-fire mode is used to characterize wireless fidelity in the router The radio frequency device and other radio frequency devices except the wireless fidelity radio frequency device are in an on state; the low radiation mode is used to indicate that the wireless fidelity radio frequency device of the router is in an off state, and the other radio frequency devices is in an on state; the off mode is used to indicate that the Wi-Fi radio frequency device in the router is in an off state, and the other radio frequency devices are in an off state.
- 根据权利要求17-27任一项所述的路由器控制方法,其特征在于,所述路由器根据所述指示消息,确定目标射频控制指令,包括:The router control method according to any one of claims 17-27, wherein the router determines the target radio frequency control instruction according to the indication message, including:所述路由器将所述指示消息按照预设规则转换为目标数字信号;The router converts the indication message into a target digital signal according to preset rules;所述路由器从预存的第二对应关系中,读取所述目标数字信号对应的射频控制指令作为所述目标射频控制指令;所述第二对应关系包括所述目标数字信号与射频控制指令的对应关系。The router reads the radio frequency control instruction corresponding to the target digital signal from the prestored second correspondence as the target radio frequency control instruction; the second correspondence includes the correspondence between the target digital signal and the radio frequency control instruction relation.
- 根据权利要求17-28任一项所述的路由器控制方法,其特征在于,所述方法还包括:The router control method according to any one of claims 17-28, wherein the method further comprises:所述路由器执行预设反馈,所述预设反馈用于向用户指示关闭所述至少一个射频器件是否成功。The router executes preset feedback, and the preset feedback is used to indicate to the user whether turning off the at least one radio frequency device is successful.
- 根据权利要求29所述的路由器控制方法,其特征在于,所述路由器执行预设反馈,包括:The router control method according to claim 29, wherein the router performs preset feedback, comprising:所述路由器通过所述服务器向所述终端设备发送反馈消息,所述反馈消息用于所述终端设备向用户反馈关闭所述至少一个射频器件是否成功;The router sends a feedback message to the terminal device through the server, and the feedback message is used for the terminal device to feed back to the user whether the at least one radio frequency device is successfully turned off;所述终端设备根据所述反馈消息在所述终端设备的反馈界面中显示所述反馈消息对应的反馈信息,或者,所述终端设备根据所述反馈消息播放反馈语音信息,以向用户反馈关闭所述至少一个射频器件是否成功。The terminal device displays the feedback information corresponding to the feedback message in the feedback interface of the terminal device according to the feedback message, or the terminal device plays feedback voice information according to the feedback message, so as to give feedback to the user to close the at least one radio frequency device is successful.
- 根据权利要求29所述的路由器控制方法,其特征在于,所述路由器执行预设反馈,包括:The router control method according to claim 29, wherein the router performs preset feedback, comprising:所述路由器播放反馈语音信息,所述反馈语音信息用于向用户反馈关闭所述至少一个射频器件是否成功;The router plays feedback voice information, and the feedback voice information is used to feed back to the user whether the shutdown of the at least one radio frequency device is successful;或者,所述路由器改变信息灯的颜色以向用户反馈关闭所述至少一个射频器件是否成功。Or, the router changes the color of the information light to give feedback to the user whether the shutdown of the at least one radio frequency device is successful.
- 一种路由器,其特征在于,包括:获取单元和处理器;A router, characterized by comprising: an acquisition unit and a processor;所述获取单元,用于获取控制指令信息;所述控制指令信息为蓝牙射频控制信号,或者所述控制指令信息为音频数据;The acquiring unit is configured to acquire control instruction information; the control instruction information is a Bluetooth radio frequency control signal, or the control instruction information is audio data;所述处理器,用于在所述控制指令信息满足预设条件的情况下,确定所述控制指令信息用于控制开启或关闭所述路由器中至少一个射频器件;The processor is configured to determine that the control instruction information is used to control turning on or off at least one radio frequency device in the router when the control instruction information satisfies a preset condition;所述处理器还用于:根据所述控制指令信息,确定目标射频控制指令,所述目标射频控制指令为所述控制指令信息对应的用于控制所述至少一个射频器件的指令;The processor is further configured to: determine a target radio frequency control command according to the control command information, where the target radio frequency control command is an command for controlling the at least one radio frequency device corresponding to the control command information;所述处理器还用于:执行所述目标射频控制指令以开启或关闭所述至少一个射频器件。The processor is further configured to: execute the target radio frequency control instruction to turn on or turn off the at least one radio frequency device.
- 根据权利要求32所述的路由器,其特征在于,所述获取单元包括蓝牙模块;The router according to claim 32, wherein the acquiring unit comprises a Bluetooth module;所述蓝牙模块具体用于:接收所述控制指令信息;所述控制指令信息为蓝牙射频控制信号。The bluetooth module is specifically used to: receive the control instruction information; the control instruction information is a bluetooth radio frequency control signal.
- 根据权利要求32或33所述的路由器,其特征在于,所述获取单元还包括:音频处理模块,The router according to claim 32 or 33, wherein the acquisition unit further comprises: an audio processing module,所述音频处理模块具体用于:采集所述路由器所处环境的第一语音信息,并将所述第一语音信息转换为预设格式的第一音频数据;The audio processing module is specifically configured to: collect first voice information of the environment where the router is located, and convert the first voice information into first audio data in a preset format;所述处理器具体用于:在所述第一音频数据包括唤醒词的情况下,控制所述音频处理模块播放语音回复信息;所述唤醒词用于唤醒所述路由器;所述语音回复信息用于表征所述路由器被唤醒;所述音频处理模块还用于:采集所述路由器所处环境的第二语音信息,并将所述第二语音信息转换为所述预设格式的第二音频数据;The processor is specifically configured to: when the first audio data includes a wake-up word, control the audio processing module to play voice reply information; the wake-up word is used to wake up the router; the voice reply information is used to It is used to indicate that the router is awakened; the audio processing module is also used to: collect second voice information of the environment where the router is located, and convert the second voice information into second audio data in the preset format ;所述处理器具体用于:在所述第二音频数据满足预设条件的情况下,确定所述第二音频数据用于控制开启或关闭所述路由器中至少一个射频器件;所述第二音频数据为所述控制指令信息;The processor is specifically configured to: if the second audio data satisfies a preset condition, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router; the second audio The data is the control instruction information;或者,or,所述音频处理模块具体用于:采集所述路由器所处环境的第三语音信息,并将所述第三语音信息转换为所述预设格式的第三音频数据;所述处理器具体用于:在所述第三音频数据满足所述预设条件的情况下,确定所述第三音频数据用于控制开启或关闭所述路由器中至少一个射频器件;所述第三音频数据为所述控制指令信息。The audio processing module is specifically configured to: collect third voice information of the environment where the router is located, and convert the third voice information into third audio data in the preset format; the processor is specifically configured to : When the third audio data satisfies the preset condition, determine that the third audio data is used to control turning on or off at least one radio frequency device in the router; the third audio data is the control command information.
- 根据权利要求34所述的路由器,其特征在于,The router of claim 34, wherein,所述处理器用于:在所述第二音频数据包括第一指令关键字的情况下,确定所述第二音频数据用于控制开启或关闭所述路由器中至少一个射频器件;The processor is configured to: if the second audio data includes a first instruction keyword, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router;或者,or,所述处理器用于:在所述第二音频数据在预存的多个语音指令数据中存在的情况下,确定所述第二音频数据用于控制开启或关闭所述路由器中至少一个射频器件;The processor is configured to: if the second audio data exists in a plurality of pre-stored voice instruction data, determine that the second audio data is used to control turning on or off at least one radio frequency device in the router;或者,or,所述处理器用于:在所述第二音频数据包括所述唤醒词,且所述第二音频数据包括所述第一指令关键字的情况下,确定所述第二音频数据用于控制开启或关闭所述路由器中至少一个射频器件;The processor is configured to: when the second audio data includes the wake-up word, and the second audio data includes the first instruction keyword, determine that the second audio data is used to control turning on or Turn off at least one radio frequency device in the router;或者,所述处理器用于:在所述第三音频数据包括所述第一指令关键字的情况下,确定所述第三音频数据用于控制开启或关闭所述路由器中至少一个射频器件;Alternatively, the processor is configured to: determine that the third audio data is used to control turning on or off at least one radio frequency device in the router when the third audio data includes the first instruction keyword;或者,or,所述处理器用于:在所述第三音频数据在预存的所述多个语音指令数据中存在的情况下,确定所述第三音频数据用于控制开启或关闭所述路由器中至少一个射频器件;The processor is configured to: if the third audio data exists in the plurality of pre-stored voice instruction data, determine that the third audio data is used to control turning on or off at least one radio frequency device in the router ;或者,or,所述处理器用于:在所述第三音频数据包括所述唤醒词,且所述第三音频数据包括所述第一指令关键字的情况下,确定所述第三音频数据用于控制开启或关闭所述路由器中至少一个射频器件。The processor is configured to: when the third audio data includes the wake-up word, and the third audio data includes the first instruction keyword, determine that the third audio data is used to control turning on or Turn off at least one radio frequency device in the router.
- 根据权利要求35所述的路由器,其特征在于,所述路由器还包括存储单元,所述存储单元中存储有多个第一对应关系;所述第一对应关系为指令关键字与射频控制指令的对应关系,The router according to claim 35, wherein the router further comprises a storage unit, and the storage unit stores a plurality of first correspondences; the first correspondences are the correspondence between instruction keywords and radio frequency control instructions corresponding relationship,所述处理器具体用于:确定所述控制指令信息所包括的目标指令关键字,从所述多个第一对应关系中,读取所述目标指令关键字对应的射频控制指令作为所述目标射频控制指令;所述第一指令关键字包括所述目标指令关键字;The processor is specifically configured to: determine a target instruction keyword included in the control instruction information, and read a radio frequency control instruction corresponding to the target instruction keyword from the plurality of first correspondences as the target radio frequency control instruction; the first instruction keyword includes the target instruction keyword;或者,所述存储单元中存储有多个第二对应关系;所述第二对应关系为语音指令数据与射频控制指令的对应关系;所述处理器具体用于:从所述多个第一对应关系中,读取所述控制指令信息对应的射频控制指令作为所述目标射频控制指令。Alternatively, multiple second correspondences are stored in the storage unit; the second correspondences are correspondences between voice instruction data and radio frequency control instructions; the processor is specifically configured to: In the relationship, the radio frequency control instruction corresponding to the control instruction information is read as the target radio frequency control instruction.
- 根据权利要求36所述的路由器,其特征在于,The router of claim 36, wherein,所述音频处理模块还用于:采集所述路由器所处环境的第四语音信息,并将所述第四语音信息转换为所述预设格式的第四音频数据;The audio processing module is further configured to: collect fourth voice information of the environment where the router is located, and convert the fourth voice information into fourth audio data in the preset format;所述处理器还用于:在所述第四音频数据包括所述唤醒词,且包括第二指令关键字的情况下,控制所述音频处理模块播放语音指令录入提示信息;所述语音指令录入提示信息用于提示用户录入控制开启或关闭所述路由器中至少一个射频器件的目标语音指令数据;The processor is further configured to: when the fourth audio data includes the wake-up word and the second instruction keyword, control the audio processing module to play voice instruction entry prompt information; the voice instruction entry The prompt information is used to prompt the user to input target voice command data for controlling on or off of at least one radio frequency device in the router;所述音频处理模块用于:采集所述路由器所处环境的第五语音信息,并播放第六语音信息,所述第六语音信息包括所述第五语音信息;所述第六语音信息用于提示用户确认所述第五语音信息;The audio processing module is configured to: collect fifth voice information of the environment where the router is located, and play sixth voice information, where the sixth voice information includes the fifth voice information; the sixth voice information is used for Prompting the user to confirm the fifth voice message;所述音频处理模块还用于:采集所述路由器所处环境的第七语音信息,并将所述第七语音信息转换为所述预设格式的第五音频数据;The audio processing module is further configured to: collect seventh voice information of the environment where the router is located, and convert the seventh voice information into fifth audio data in the preset format;所述处理器具体用于:在所述第五音频数据包括第三指令关键字的情况下,存储所述第五语音信息转换得到的所述预设格式的音频数据与待录制射频控制指令的对应关系;所述第五语音信息转换得到的所述预设格式的音频数据为所述目标语音指令数据;所述待录制射频控制指令用于控制所述路由器开启或关闭所述路由器中至少一个射频器件。The processor is specifically configured to: when the fifth audio data includes a third instruction keyword, store the audio data in the preset format converted from the fifth voice information and the information of the radio frequency control instruction to be recorded. Correspondence; the audio data in the preset format converted from the fifth voice information is the target voice command data; the radio frequency control command to be recorded is used to control the router to turn on or off at least one of the routers RF devices.
- 根据权利要求37所述的路由器,其特征在于,所述第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的 语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。The router according to claim 37, wherein the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router, At least one of the voice of Bluetooth off, the voice of Bluetooth on, the voice of infrared off, the voice of infrared on, the voice of low radiation mode or the voice of off mode are recorded.
- 根据权利要求36-38任一项所述的路由器,其特征在于,所述第一指令关键字包括:关闭Wi-Fi、关闭路由器、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。The router according to any one of claims 36-38, wherein the first instruction keyword includes: at least one of turning off Wi-Fi, turning off the router, turning off Bluetooth, turning off infrared, low-radiation mode or off mode A sort of.
- 根据权利要求32-39任一项所述的路由器,其特征在于,所述处理器还用于:执行预设反馈,所述预设反馈用于向用户指示关闭所述至少一个射频器件是否成功。The router according to any one of claims 32-39, wherein the processor is further configured to: perform preset feedback, and the preset feedback is used to indicate to the user whether turning off the at least one radio frequency device is successful .
- 根据权利要求40所述的路由器,其特征在于,所述路由器还包括发送单元,用于向终端设备发送反馈消息,所述反馈消息用于所述终端设备向用户反馈关闭所述至少一个射频器件是否成功。The router according to claim 40, characterized in that, the router further comprises a sending unit, configured to send a feedback message to the terminal device, and the feedback message is used for the terminal device to feed back to the user to turn off the at least one radio frequency device whether succeed.
- 根据权利要求34-40任一项所述的路由器,其特征在于,所述音频处理模块还用于:播放反馈语音信息,所述反馈语音信息用于向用户反馈关闭所述至少一个射频器件是否成功;The router according to any one of claims 34-40, wherein the audio processing module is further configured to: play feedback voice information, and the feedback voice information is used to feed back to the user whether to turn off the at least one radio frequency device success;或者,所述处理器控制改变信息灯的颜色以向用户反馈关闭所述至少一个射频器件是否成功。Alternatively, the processor controls to change the color of the information light to give feedback to the user whether the at least one radio frequency device is successfully turned off.
- 根据权利要求32-42任一项所述的路由器,其特征在于,所述获取单元还用于:获取所述路由器的开启条件;所述开启条件包括所述路由器处于关闭状态的时长大于或等于预设关闭时长;或者,所述开启条件包括所述路由器的当前时间为预设开启时间点;The router according to any one of claims 32-42, wherein the obtaining unit is further configured to: obtain the opening condition of the router; the opening condition includes that the duration of the router being in the closed state is greater than or equal to A preset shutdown duration; or, the startup condition includes that the current time of the router is a preset startup time point;所述处理器还用于,所述路由器满足所述开启条件的情况下,开启所述路由器。The processor is further configured to, when the router meets the enabling condition, enable the router.
- 根据权利要求32-43任一项所述的路由器,其特征在于,所述获取单元还用于:获取所述路由器的关闭条件;所述关闭条件包括所述路由器处于开启状态的时长大于或等于预设开启时长;或者,所述关闭条件包括所述路由器的当前时间为预设关闭时间点;The router according to any one of claims 32-43, wherein the acquiring unit is further configured to: acquire the shutdown condition of the router; the shutdown condition includes that the duration of the router being in the ON state is greater than or equal to A preset turn-on duration; or, the turn-off condition includes that the current time of the router is a preset turn-off time point;所述处理器还用于,在所述路由器满足所述关闭条件的情况下,关闭所述路由器。The processor is further configured to shut down the router when the router satisfies the shutdown condition.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有指令,当所述指令被执行时,使得计算机执行如权利要求1至16任一项所述的路由器控制方法中所述终端设备或所述路由器所执行的方法,或者,使得计算机执行如权利要求17至31任一项所述的路由器控制方法中所述终端设备、所述路由器或所述服务器所执行的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores instructions, and when the instructions are executed, the computer executes the router control method according to any one of claims 1 to 16 The method performed by the terminal device or the router, or causing the computer to perform the method performed by the terminal device, the router or the server in the router control method according to any one of claims 17 to 31 .
- 一种路由器控制方法,其特征在于,应用于路由器控制系统,所述路由器控制系统包括:终端设备和路由器;所述方法包括:A router control method, characterized in that it is applied to a router control system, and the router control system includes: a terminal device and a router; the method includes:所述终端设备获取用户指令;The terminal device acquires user instructions;所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件;The terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router;所述终端设备向所述路由器发送控制指令信息,所述控制指令信息用于控制所述至少一个射频器件的关闭;The terminal device sends control instruction information to the router, where the control instruction information is used to control shutdown of the at least one radio frequency device;所述路由器将所述控制指令信息按照预设规则转换为目标数字信号;The router converts the control instruction information into a target digital signal according to preset rules;所述路由器从预存的第二对应关系中,读取所述目标数字信号对应的射频控制指令作为目标射频控制指令;所述第二对应关系包括所述目标数字信号与射频控制指令的对应关系,所述目标射频控制指令为所述控制指令信息对应的用于控制所述至少一个射频器件的指令;The router reads the radio frequency control instruction corresponding to the target digital signal from the prestored second correspondence relationship as the target radio frequency control instruction; the second correspondence relationship includes the correspondence relationship between the target digital signal and the radio frequency control instruction, The target radio frequency control instruction is an instruction corresponding to the control instruction information for controlling the at least one radio frequency device;所述路由器执行所述目标射频控制指令以关闭所述至少一个射频器件。The router executes the target radio frequency control instruction to turn off the at least one radio frequency device.
- 根据权利要求46所述的路由器控制方法,其特征在于,所述终端设备获取用户指令,包括:The router control method according to claim 46, wherein said terminal device obtaining user instructions includes:所述终端设备采集所述终端设备所处环境的第一语音信息,并将所述第一语音信息转换为预设格式的第一音频数据;在所述第一音频数据包括唤醒词的情况下,所述终端设备发送语音回复信息;所述唤醒词用于唤醒所述终端设备,所述语音回复信息用于表征所述终端设备被唤醒;所述终端设备采集所述终端设备所处环境的第二语音信息;所述第二语音信息为所述用户指令;The terminal device collects first voice information of the environment where the terminal device is located, and converts the first voice information into first audio data in a preset format; when the first audio data includes a wake-up word , the terminal device sends voice reply information; the wake-up word is used to wake up the terminal device, and the voice reply information is used to indicate that the terminal device is woken up; the terminal device collects information about the environment where the terminal device is located second voice information; the second voice information is the user instruction;或者,or,所述终端设备采集所述终端设备所处环境的第三语音信息,所述第三语音信息为所述用户指令。The terminal device collects third voice information of the environment where the terminal device is located, where the third voice information is the user instruction.
- 根据权利要求47所述的路由器控制方法,其特征在于,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件,包括:The router control method according to claim 47, wherein the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router, comprising:所述终端设备将所述用户指令转换为所述预设格式的第二音频数据;converting the user instruction into second audio data in the preset format by the terminal device;在所述第二音频数据满足预设条件的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件。When the second audio data satisfies a preset condition, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router.
- 根据权利要求48所述的路由器控制方法,其特征在于,所述在所述第二音频数据满足预设条件的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件,包括:The router control method according to claim 48, wherein when the second audio data satisfies a preset condition, the terminal device determines that the user instruction is used to instruct the router to close the At least one radio frequency device in the router, including:在所述第二音频数据包括第一指令关键字的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件;In the case where the second audio data includes a first instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router;或者,or,在所述第二音频数据在预存的语音指令数据中存在的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件;In the case where the second audio data exists in the prestored voice instruction data, the terminal device determines that the user instruction is used to instruct the router to turn off at least one radio frequency device in the router;或者,or,在所述第二音频数据包括所述唤醒词,且所述第二音频数据包括所述第一指令关键字的情况下,所述终端设备确定所述用户指令用于指示所述路由器关闭所述路由器中至少一个射频器件。When the second audio data includes the wake-up word, and the second audio data includes the first instruction keyword, the terminal device determines that the user instruction is used to instruct the router to turn off the At least one radio frequency device in the router.
- 根据权利要求49所述的路由器控制方法,其特征在于,所述终端设备中存储有多个第一对应关系,所述第一对应关系为语音指令数据与指令信息的对应关系,所述方法还包括:The router control method according to claim 49, wherein a plurality of first correspondences are stored in the terminal device, and the first correspondences are correspondences between voice instruction data and instruction information, and the method also includes include:所述终端设备在语音指令管理界面中接收针对目标录音控件的第一预设操作;响应于所述第一预设操作,所述终端设备显示语音录入界面,并采集所述终端设备所处环境中的第四语音信息;所述目标录音控件用于为所述控制指令信息录制语音指令数据;The terminal device receives a first preset operation for the target recording control in the voice command management interface; in response to the first preset operation, the terminal device displays a voice input interface, and collects the environment where the terminal device is located The fourth voice information in; the target recording control is used to record voice command data for the control command information;所述终端设备在反馈界面中显示所述第四语音信息对应的字符信息,或者,所述终端设备播放所述第四语音信息;The terminal device displays character information corresponding to the fourth voice information in the feedback interface, or the terminal device plays the fourth voice information;所述终端设备响应于对所述第四语音信息的确认指令,存储目标语音指令数据与所述控制指令信息的对应关系;所述目标语音指令数据为基于所述第四语音信息得到的语音指令数据。The terminal device stores the corresponding relationship between target voice command data and the control command information in response to the confirmation command for the fourth voice information; the target voice command data is a voice command obtained based on the fourth voice information data.
- 根据权利要求49所述的路由器控制方法,其特征在于,所述终端设备中存储有多个第一对应关系,所述第一对应关系为语音指令数据与指令信息的对应关系,所述方法还包括:The router control method according to claim 49, wherein a plurality of first correspondences are stored in the terminal device, and the first correspondences are correspondences between voice instruction data and instruction information, and the method also includes include:所述终端设备采集所述终端设备所处环境的第五语音信息,并将所述第五语音信息转换为所述预设格式的第三音频数据;The terminal device collects fifth voice information of the environment where the terminal device is located, and converts the fifth voice information into third audio data in the preset format;在所述第三音频数据包括所述唤醒词,且包括第二指令关键字的情况下,所述终端设备播放语音指令录入提示信息;所述语音指令录入提示信息用于提示用户为所述控制指令信息录制语音指令数据;In the case where the third audio data includes the wake-up word and the second instruction keyword, the terminal device plays voice command entry prompt information; the voice command entry prompt information is used to prompt the user to Instruction information recording voice instruction data;所述终端设备采集所述终端设备所处环境的第六语音信息,并播放第七语音信息,所述第七语音信息包括所述第六语音信息;所述第七语音信息用于用户确认所述第六语音信息;The terminal device collects sixth voice information of the environment where the terminal device is located, and plays seventh voice information, where the seventh voice information includes the sixth voice information; the seventh voice information is used for the user to confirm the Describe the sixth voice information;所述终端设备采集所述终端设备所处环境的第八语音信息,并将所述第八语音信息转换为所述预设格式的第四音频数据;The terminal device collects eighth voice information of the environment where the terminal device is located, and converts the eighth voice information into fourth audio data in the preset format;在所述第四音频数据包括第三指令关键字的情况下,所述终端设备存储所述第六语音信息转换得到的所述预设格式的音频数据与所述控制指令信息的对应关系。In a case where the fourth audio data includes a third instruction keyword, the terminal device stores a correspondence between the audio data in the preset format obtained by converting the sixth voice information and the control instruction information.
- 根据权利要求51所述的路由器控制方法,其特征在于,所述第二指令关键字包括:录入关闭Wi-Fi的语音、录入开启Wi-Fi的语音、录入关闭路由器的语音、录入开启路由器的语音、录入关闭蓝牙的语音、录入开启蓝牙的语音、录入关闭红外的语音、录入开启红外的语音、录入低辐射模式的语音或录入关闭模式的语音中的至少一种。The router control method according to claim 51, wherein the second instruction keyword includes: inputting the voice of turning off Wi-Fi, inputting the voice of turning on Wi-Fi, inputting the voice of turning off the router, inputting the voice of turning on the router At least one of the voice, the voice of Bluetooth off, the voice of Bluetooth on, the voice of infrared off, the voice of infrared on, the voice of low radiation mode or the voice of off mode.
- 根据权利要求49-51任一项所述的路由器控制方法,其特征在于,所述第一指令关键字包括:关闭Wi-Fi、关闭路由器、关闭蓝牙、关闭红外、低辐射模式或关闭模式中的至少一种。The router control method according to any one of claims 49-51, wherein the first instruction keyword includes: turn off Wi-Fi, turn off router, turn off Bluetooth, turn off infrared, low-radiation mode or in off mode at least one of .
- 根据权利要求46所述的路由器控制方法,其特征在于,所述终端设备获取用户指令,包括:The router control method according to claim 46, wherein said terminal device obtaining user instructions includes:所述终端设备在第一路由器管理界面中按照所述路由器当前所处模式和所述路由器的可切换模式,区分显示所述路由器的模式;其中,所述路由器当前所处模式中,所述路由器的所述至少一个射频器件为开启状态;In the first router management interface, the terminal device distinguishes and displays the mode of the router according to the current mode of the router and the switchable mode of the router; wherein, in the current mode of the router, the router The at least one radio frequency device is turned on;所述终端设备在所述第一路由器管理界面中接收针对目标模式的切换控件的第二预设操作;所述目标模式为所述可切换模式中的模式,所述目标模式中,所述路由器的所述至少一个射频器件为关闭状态;The terminal device receives a second preset operation for the switching control of the target mode in the first router management interface; the target mode is a mode in the switchable mode, and in the target mode, the router The at least one radio frequency device is in an off state;响应于所述第二预设操作,获取所述用户指令;所述用户指令用于将所述路由器由当前所处模式切换为所述目标模式。In response to the second preset operation, the user instruction is acquired; the user instruction is used to switch the router from the current mode to the target mode.
- 根据权利要求54所述的路由器控制方法,其特征在于,所述路由器的模式包括火力全开模式、低辐射模式以及关闭模式;所述火力全开模式用于表征所述路由器中的无线保真射频器件以及除所述无线保真射频器件之外的其他射频器件处于开启状态;所述低辐射模式用于表征所述路由器的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于开启状态;所述关闭模式用于表征所述路由器中的所述无线保真射频器件处于关闭状态,且所述其他射频器件处于关闭状态。The router control method according to claim 54, wherein the mode of the router includes a full fire mode, a low radiation mode, and an off mode; the full fire mode is used to characterize the wireless fidelity in the router The radio frequency device and other radio frequency devices except the wireless fidelity radio frequency device are in an on state; the low radiation mode is used to indicate that the wireless fidelity radio frequency device of the router is in an off state, and the other radio frequency devices is in an on state; the off mode is used to indicate that the Wi-Fi radio frequency device in the router is in an off state, and the other radio frequency devices are in an off state.
- 根据权利要求46所述的路由器控制方法,其特征在于,所述终端设备获取用户 指令,包括:The router control method according to claim 46, wherein said terminal equipment obtains user instructions, comprising:所述终端设备在第二路由器管理界面中显示所述路由器中各个射频器件的切换开关,以及所述各个射频器件的开启或关闭状态;The terminal device displays the switch of each radio frequency device in the router on the second router management interface, and the on or off status of each radio frequency device;所述终端设备接收在所述第二路由器管理界面中针对目标切换开关的第三预设操作;所述目标切换开关用于开启或关闭目标射频器件;The terminal device receives a third preset operation for a target switch in the management interface of the second router; the target switch is used to turn on or off a target radio frequency device;所述终端设备响应于所述第三预设操作,获取所述用户指令;所述用户指令用于控制所述路由器关闭所述目标射频器件。The terminal device acquires the user instruction in response to the third preset operation; the user instruction is used to control the router to turn off the target radio frequency device.
- 根据权利要求45-56任一项所述的路由器控制方法,其特征在于,所述方法还包括:The router control method according to any one of claims 45-56, wherein the method further comprises:所述路由器执行预设反馈,所述预设反馈用于向用户指示关闭所述至少一个射频器件是否成功。The router executes preset feedback, and the preset feedback is used to indicate to the user whether shutting down the at least one radio frequency device is successful.
- 根据权利要求57所述的路由器控制方法,其特征在于,所述路由器执行预设反馈,包括:The router control method according to claim 57, wherein the router performs preset feedback, comprising:所述路由器向所述终端设备发送反馈信号,所述反馈信号用于所述终端设备向用户反馈关闭所述至少一个射频器件是否成功;The router sends a feedback signal to the terminal device, where the feedback signal is used by the terminal device to feed back to the user whether the at least one radio frequency device is successfully turned off;所述终端设备根据所述反馈信号在所述终端设备的反馈界面中显示反馈信息,或者,所述终端设备根据所述反馈信号播放反馈语音信息,以向用户反馈关闭所述至少一个射频器件是否成功。The terminal device displays feedback information in the feedback interface of the terminal device according to the feedback signal, or the terminal device plays feedback voice information according to the feedback signal, so as to feed back to the user whether to turn off the at least one radio frequency device success.
- 根据权利要求57所述的路由器控制方法,其特征在于,所述路由器执行预设反馈,包括:The router control method according to claim 57, wherein the router performs preset feedback, comprising:所述路由器播放反馈语音信息,所述反馈语音信息用于向用户反馈关闭所述至少一个射频器件是否成功;The router plays feedback voice information, and the feedback voice information is used to feed back to the user whether the shutdown of the at least one radio frequency device is successful;或者,所述路由器改变信息灯的颜色以向用户反馈关闭所述至少一个射频器件是否成功。Alternatively, the router changes the color of the information light to give feedback to the user whether the shutdown of the at least one radio frequency device is successful.
- 根据权利要求45-59任一项所述的路由器控制方法,其特征在于,所述路由器中包括蓝牙模块,所述终端设备向所述路由器发送控制指令信息,包括:The router control method according to any one of claims 45-59, wherein the router includes a Bluetooth module, and the terminal device sends control instruction information to the router, including:所述终端设备基于蓝牙射频器件向所述路由器的所述蓝牙模块发送控制指令信息;所述控制指令信息为蓝牙射频控制信号。The terminal device sends control instruction information to the Bluetooth module of the router based on the Bluetooth radio frequency device; the control instruction information is a Bluetooth radio frequency control signal.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110640605.7 | 2021-06-08 | ||
CN202110640605.7A CN113572886A (en) | 2021-06-08 | 2021-06-08 | Router control method, router control device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022257667A1 true WO2022257667A1 (en) | 2022-12-15 |
Family
ID=78161832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/091359 WO2022257667A1 (en) | 2021-06-08 | 2022-05-07 | Router control method, apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113572886A (en) |
WO (1) | WO2022257667A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113572886A (en) * | 2021-06-08 | 2021-10-29 | 荣耀终端有限公司 | Router control method, router control device and storage medium |
CN116708046B (en) * | 2022-11-02 | 2024-04-12 | 荣耀终端有限公司 | Router closing method, system and router |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2505492A (en) * | 2012-09-02 | 2014-03-05 | Sadaqit Ali Sabir | Power control switch for modem/routers and wifi |
CN203849847U (en) * | 2014-05-28 | 2014-09-24 | 国网山西省电力公司电力科学研究院 | Wireless router and wireless routing control system |
CN104135443A (en) * | 2014-06-27 | 2014-11-05 | 小米科技有限责任公司 | Router control method and device |
CN204539175U (en) * | 2014-12-24 | 2015-08-05 | 天津市永汇仁恒科技有限公司 | Remote control type wireless router |
CN106603425A (en) * | 2016-12-27 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Router and state control method thereof |
CN107565992A (en) * | 2017-09-07 | 2018-01-09 | 上海斐讯数据通信技术有限公司 | A kind of router power-economizing method and system |
CN107800594A (en) * | 2016-08-31 | 2018-03-13 | 深圳市轻生活科技有限公司 | Intelligent router and its method for transmitting signals for home voice control centre |
CN108601078A (en) * | 2018-03-19 | 2018-09-28 | 四川斐讯信息技术有限公司 | A kind of adjusting method of router and router transmission power |
JP2019129395A (en) * | 2018-01-24 | 2019-08-01 | 株式会社ノーリツ | Relay device, router, communication device, and communication system |
CN112468402A (en) * | 2020-11-25 | 2021-03-09 | 广东铱路科技有限公司 | Voice control intelligent router |
CN113572886A (en) * | 2021-06-08 | 2021-10-29 | 荣耀终端有限公司 | Router control method, router control device and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104965448A (en) * | 2015-07-17 | 2015-10-07 | 小米科技有限责任公司 | Intelligent device control method and device |
CN106773870A (en) * | 2017-01-12 | 2017-05-31 | 上海创米科技有限公司 | A kind of method and device for automatically controlling router switch machine |
CN112687270A (en) * | 2020-12-22 | 2021-04-20 | 苏州思必驰信息科技有限公司 | Intelligent voice routing method and device |
-
2021
- 2021-06-08 CN CN202110640605.7A patent/CN113572886A/en active Pending
-
2022
- 2022-05-07 WO PCT/CN2022/091359 patent/WO2022257667A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2505492A (en) * | 2012-09-02 | 2014-03-05 | Sadaqit Ali Sabir | Power control switch for modem/routers and wifi |
CN203849847U (en) * | 2014-05-28 | 2014-09-24 | 国网山西省电力公司电力科学研究院 | Wireless router and wireless routing control system |
CN104135443A (en) * | 2014-06-27 | 2014-11-05 | 小米科技有限责任公司 | Router control method and device |
CN204539175U (en) * | 2014-12-24 | 2015-08-05 | 天津市永汇仁恒科技有限公司 | Remote control type wireless router |
CN107800594A (en) * | 2016-08-31 | 2018-03-13 | 深圳市轻生活科技有限公司 | Intelligent router and its method for transmitting signals for home voice control centre |
CN106603425A (en) * | 2016-12-27 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Router and state control method thereof |
CN107565992A (en) * | 2017-09-07 | 2018-01-09 | 上海斐讯数据通信技术有限公司 | A kind of router power-economizing method and system |
JP2019129395A (en) * | 2018-01-24 | 2019-08-01 | 株式会社ノーリツ | Relay device, router, communication device, and communication system |
CN108601078A (en) * | 2018-03-19 | 2018-09-28 | 四川斐讯信息技术有限公司 | A kind of adjusting method of router and router transmission power |
CN112468402A (en) * | 2020-11-25 | 2021-03-09 | 广东铱路科技有限公司 | Voice control intelligent router |
CN113572886A (en) * | 2021-06-08 | 2021-10-29 | 荣耀终端有限公司 | Router control method, router control device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113572886A (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210243831A1 (en) | Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device | |
WO2022257667A1 (en) | Router control method, apparatus, and storage medium | |
WO2020253695A1 (en) | Smart home device access method and electronic device | |
US11490061B2 (en) | Proximity-based control of media devices for media presentations | |
EP3171549B1 (en) | Smart device grouping system, method and apparatus | |
JP7515708B2 (en) | Home device control method and device | |
US9319149B2 (en) | Proximity-based control of media devices for media presentations | |
US20210375281A1 (en) | Voice control method and apparatus, and computer storage medium | |
US9282423B2 (en) | Proximity and interface controls of media devices for media presentations | |
CN110113739B (en) | Information processing method and electronic equipment | |
US20140267148A1 (en) | Proximity and interface controls of media devices for media presentations | |
US20080065232A1 (en) | Remote Control Operation Using a Wireless Home Entertainment Hub | |
WO2020239013A1 (en) | Interaction method and terminal device | |
US10210739B2 (en) | Proximity-based control of media devices | |
US20110271308A1 (en) | Control of Data Presentation Using a Wireless Home Entertainment Hub | |
US20140269651A1 (en) | Media device configuration and ecosystem setup | |
WO2021043277A1 (en) | Method for configuring bluetooth connection parameter, and electronic device | |
CN112015257B (en) | Peripheral electronic device with synchronous power mode | |
WO2022052760A1 (en) | Combined loudspeaker box configuration method, loudspeaker box, and electronic device | |
EP4250661A1 (en) | Cross-network segment discovery method, routing device and system | |
WO2023240636A1 (en) | Sound box playing control method, sound box playing control apparatus, and storage medium | |
CN113709009B (en) | Device communication method, device, electronic device and storage medium | |
WO2023185593A1 (en) | Device login method, electronic device and system | |
WO2022156407A1 (en) | Network device and method for executing service by same | |
WO2023051379A1 (en) | Method, device and system for continuing human-machine interaction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22819267 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22819267 Country of ref document: EP Kind code of ref document: A1 |