CN113096659B - Router control method, device, equipment and storage medium - Google Patents

Router control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113096659B
CN113096659B CN202110349677.6A CN202110349677A CN113096659B CN 113096659 B CN113096659 B CN 113096659B CN 202110349677 A CN202110349677 A CN 202110349677A CN 113096659 B CN113096659 B CN 113096659B
Authority
CN
China
Prior art keywords
router
target
page
instruction
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110349677.6A
Other languages
Chinese (zh)
Other versions
CN113096659A (en
Inventor
苑帅
薛斌
贾东雯
庞方成
张国鹏
崔景宇
宋乐
屈杨申
吴琦
李郝
袁赢
李鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110349677.6A priority Critical patent/CN113096659B/en
Publication of CN113096659A publication Critical patent/CN113096659A/en
Application granted granted Critical
Publication of CN113096659B publication Critical patent/CN113096659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure discloses a router control method, a device, equipment and a storage medium, relates to the technical field of artificial intelligence, and particularly relates to the technical field of voice recognition and natural language processing. The specific implementation scheme is as follows: under the condition that a route control instruction is detected according to voice information of a user, selecting a target router to be controlled from candidate routers associated with an intelligent screen; a page associated with the routing control instruction is determined, and the target router is controlled by the page. The router control method and the router control device have the advantages that the effect of simplifying the operation flow of the control router is achieved, a user can control the router more conveniently, and user experience is improved.

Description

Router control method, device, equipment and storage medium
Technical Field
The application relates to the technical field of artificial intelligence, in particular to the technical field of voice recognition and natural language processing, and specifically relates to a router control method, a device, equipment and a storage medium.
Background
The router is also called gateway equipment and is used for connecting a plurality of logically separated network equipment, thereby providing convenience for the life of people.
However, routers currently on the market only support users to control the router through relevant web pages or application programs and other channels.
Disclosure of Invention
The present disclosure provides a method, apparatus, device, and storage medium for controlling a router.
According to an aspect of the present disclosure, there is provided a router control method including:
under the condition that a route control instruction is detected according to voice information of a user, selecting a target router to be controlled from candidate routers associated with an intelligent screen;
A page associated with the routing control instruction is determined, and the target router is controlled by the page.
According to another aspect of the present disclosure, there is provided a router control apparatus including:
the target router selection module is used for selecting a target router to be controlled from candidate routers associated with the intelligent screen under the condition that a routing control instruction is detected according to voice information of a user;
and the target router control module is used for determining a page associated with the routing control instruction and controlling the target router through the page.
According to another aspect of the present disclosure, there is provided an electronic device including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the router control method of any one of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the router control method of any one of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a router control method according to any of the present disclosure.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
FIG. 1A is a flow chart of a router control method disclosed in accordance with an embodiment of the present disclosure;
FIG. 1B is a schematic diagram of a password filling page disclosed in accordance with an embodiment of the present disclosure;
FIG. 2A is a flow chart of a router control method disclosed in accordance with an embodiment of the present disclosure;
FIG. 2B is a schematic diagram of a routing configuration page disclosed in accordance with an embodiment of the present disclosure;
FIG. 2C is a schematic diagram of a status monitor page disclosed in accordance with an embodiment of the present disclosure;
Fig. 3 is a schematic structural view of a router control device according to an embodiment of the present disclosure;
Fig. 4 is a block diagram of an electronic device for implementing the router control method disclosed in an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The applicant finds that in the research and development process, the router on the market only supports users to control the router through relevant channels such as webpages or application programs. For example, a user logs in a router management webpage through a website provided by a router manufacturer, finds a page related to a control router from the router management webpage, and clicks on the page to control the router; for another example, the user opens an APP (application) developed by a router vendor in the smart phone, finds a button related to the control router from the APP, clicks the button to jump to display the interface of the control router, and controls the router in the interface of the control router.
However, the current method of controlling the router requires that the user clicks on the web page or the application program for multiple times, and then the interface related to the router is obtained, so that the operation flow is complex, the user cannot control the router conveniently, and the user experience is poor.
Fig. 1A is a flowchart of a router control method according to an embodiment of the present disclosure, which may be suitable for a case where a user controls a router. The method of the present embodiment may be performed by a router control device, which may be implemented in software and/or hardware, and may be integrated on any electronic device having computing capabilities.
As shown in fig. 1A, the router control method disclosed in this embodiment may include:
s101, selecting a target router to be controlled from candidate routers associated with the intelligent screen under the condition that a route control instruction is detected according to voice information of a user.
Wherein the voice information is emitted by the user and received by the smart screen through a mounted sound pickup device, including but not limited to a microphone or the like. The smart screen refers to a device with a data processing function and a data visual display function, such as a smart television or a smart display. At least one candidate router is associated with one intelligent screen, and the associated candidate router can be a router in the same local area network as the intelligent screen or a router in a different local area network as the intelligent screen. The routing control instruction refers to a control instruction of a user for a target router to be controlled, and the routing control instruction includes, but is not limited to, a network configuration instruction, a network password modification instruction, a status monitoring instruction, a firmware upgrade instruction, and the like.
In one embodiment, a user firstly sends voice information containing a wake-up instruction to an intelligent screen, after the intelligent screen receives the voice information containing the wake-up instruction, the wake-up instruction is matched with a preset wake-up word, if the matching is successful, a voice recognition function of the intelligent screen is started, and voice recognition start prompt information such as 'i am, please talk' or 'please ask what questions' is, and the like is fed back to the user. And the user continues to send the voice information containing the routing control instruction to the intelligent screen according to the voice recognition start prompt information. The intelligent screen performs voice recognition on voice information containing the routing control instruction, converts the routing control instruction in a voice form into a voice recognition result in a character form which can be recognized by the intelligent screen, and determines whether the routing control instruction contains the identification information of the target router according to the voice recognition result, for example, if the voice recognition result is "modifying the password of the router A", the router A is the identification information of the target router. If the router identification information is included, the intelligent screen sends the identification information to a locally installed router application, so that the router application performs matching search in a maintained candidate router list according to the identification information, and the candidate router successfully matched is used as a target router to be controlled; if not, the guiding voice is fed back to the user, for example, please ask you which router to control, or not know which router you to control, etc., to guide the user to continue clarifying the target router.
Optionally, another implementation of the intelligent screen for performing voice recognition on the voice information is: the user directly sends voice information containing the routing control instruction to the intelligent screen. The intelligent screen firstly extracts voiceprint features of voice information, matches the voiceprint features with prestored sample voiceprint features, starts a voice recognition function if the voiceprint features are successfully matched, carries out voice recognition on the voice information, and is according to a voice recognition result.
Optionally, if there is no candidate router matching the identification information in the candidate router list maintained by the routing application, the implementation may be: and feeding back error prompt voice to the user, such as 'not finding the router which you want to control' or 'asking you to confirm the router which you want to control', so that after confirming the identification information of the target router again, the user continues to send a route control instruction containing the identification information of the target router to the intelligent screen.
Optionally, if the route control instruction does not include the identification information of the target router, the implementation may further be: and the candidate router connected with the intelligent screen currently is defaulted to be a target router to be controlled.
Alternatively, the candidate router associated with the smart screen may be a router that logs into the same user account as the smart screen. For example, the user account currently logged in by the smart screen is: 0001, and the current logged-in user account of router a is also: 0001, router a is a candidate router for the intelligent screen.
Under the condition that a route control instruction is detected according to the voice information of the user, a target router to be controlled is selected from candidate routers associated with the intelligent screen, so that the effect of determining the target router to be controlled according to the voice information of the user is achieved, the effect of manually selecting the target router to be controlled by the user is not needed, and the efficiency is improved.
S102, determining a page associated with the routing control instruction, and controlling the target router through the page.
In one embodiment, the intelligent screen performs intention recognition on the received routing control instruction, wherein the intention recognition method comprises, but is not limited to, a rule classification method based on a dictionary template, a past log matching method based on a classification model and the like, determines an instruction category of the routing control instruction, determines a page identifier of a page associated with the instruction category from a routing application installed at a local end according to the determined instruction category, and further sends the page identifier to the routing application to control the routing application to display the page corresponding to the page identifier to a user. The user carries out control operation on the target router through a page displayed in the intelligent screen, such as network connection type setting or account password modification and the like, and the intelligent screen responds to the control operation carried out by the user to correspondingly control the target router.
Optionally, determining a page identifier of a page associated with the instruction category may be further implemented as: the intelligent screen determines the page identification of the page associated with the instruction category from the cloud platform according to the determined instruction category, and further sends the page identification to the cloud platform so as to download the page corresponding to the page identification from the cloud platform and display the page to the user.
The effect that the user controls the target router based on the page displayed by the intelligent screen is achieved by determining the page associated with the route control instruction and controlling the target router through the page, and the requirement of the user on control of the target router is met.
According to the method and the device, under the condition that the route control instruction is detected according to the voice information of the user, the target router to be controlled is selected from the candidate routers associated with the intelligent screen, the page associated with the route control instruction is determined, and the target router is controlled through the page, so that the effect of simplifying the operation flow of the control router is achieved, the user can control the router more conveniently, and the user experience is improved.
On the basis of the above embodiment, before "determining the page associated with the routing control instruction" in S102, the following two steps a and B are further included:
A. And acquiring the management password of the target router input by the user.
The management password of the target router is used for authenticating the authority of the user controlling the target router.
In one embodiment, a routing application in the intelligent screen displays a password filling page to a user according to the determined target router, the user inputs a management password of the target router in the password filling page, and the routing application correspondingly acquires the management password input by the user. The user can input the management password in a voice mode or in a touch click mode.
B. and authenticating the authority of the user to operate the target router according to the management password.
In one embodiment, the routing application in the intelligent screen compares the management password input by the user with the preset management password obtained from the target router, if the management password is consistent, the user is determined to have the authority to control the target router, if the management password is inconsistent, the user is determined to not have the authority to control the target router, and alarm information such as "do not manage the authority of the router" or "password error, please re-input" is sent to the user.
Fig. 1B is a schematic diagram of a password filling page according to an embodiment of the present disclosure, as shown in fig. 1B, the password filling page 20 includes a password filling area 21, after the user fills in a management password in the password filling area 21, the user clicks a login button 22, and a routing application in the smart screen correspondingly authenticates the authority of the user.
By acquiring the management password of the target router input by the user and authenticating the authority of the user to operate the target router according to the management password, the effect of guaranteeing the safety of the target router is achieved, and the problem that the user maliciously falsifies the related information of the target router is prevented.
Fig. 2A is a flowchart of a router control method according to an embodiment of the present disclosure, which is further optimized and expanded based on the above technical solution, and may be combined with the above various alternative embodiments.
S201, selecting a target router to be controlled from candidate routers associated with the intelligent screen under the condition that a route control instruction is detected according to voice information of a user.
In one embodiment, the intelligent screen performs voice recognition on voice information of the user, determines whether a route control instruction is included according to a voice recognition result, if yes, selects a target router to be controlled from candidate routers associated with the intelligent screen, if not, terminates a subsequent flow, or feeds back guiding voice to the user, for example, "i don't understand what you mean," please speak again, or "whether you want to control the router" or the like, so as to guide the user to resend the voice information including the route control instruction.
S202, taking a candidate page template matched with the route control instruction as a target page template, and acquiring target data required by the target page template from the target router.
The page template is a pre-manufactured page frame, and is a template for determining the basic structure and setting of a page, including but not limited to elements such as character format, paragraph format, page background color, page format and the like. And only filling the data required by the page template into each region in the template, and rendering the page template after the data filling, so that the visualized page can be obtained.
In one embodiment, the intelligent screen performs intention recognition on the routing control instruction, determines an instruction category of the routing control instruction, determines a candidate page template matched with the instruction category from candidate page templates maintained in the routing application according to a pre-established association relation between the instruction category and the page template, and further sends a template identifier of the target page template to the routing application so that the routing application obtains target data required by the target template from the target router according to the template identifier of the target page template.
Optionally, in the case that the routing control instruction is a network configuration instruction, the target page template is a network configuration page template, and the target data is a network connection type of the target router.
The network configuration instruction is an instruction for configuring the network connection type of the target router. The network configuration page template is used to generate a visualized network configuration page. The network connection types of the target router include, but are not limited to, PPPoE dial-up connections, dynamic IP connections, and static IP connections, among others.
Under the condition that the routing control instruction is a network configuration instruction, the target page template is a network configuration page template, the target data is the network connection type of the target router, a foundation is laid for subsequently generating the network configuration page associated with the network configuration instruction, and the requirement of a user on configuration of the network connection type of the target router is met.
Optionally, in the case that the routing control instruction is a network password modification instruction, the target page template is an account control page template, and the target data is an account password of the target router.
The network password modification instruction is an instruction for modifying the account password of the target router. The account control page template is used to generate a visualized account control page. The account password of the target router comprises a router name of the target router, a router network password, a router management password and the like, wherein the router network password is used for establishing network connection between equipment and the router, and the router management password is used for authenticating the authority of a user controlling the router.
Under the condition that the routing control instruction is a network password modification instruction, the target page template is an account control page template, the target data is an account password of the target router, a foundation is laid for subsequently generating an account control page associated with the network password modification instruction, and the requirement of a user for modifying the account password of the target router is met.
Optionally, in the case that the routing control instruction is a state monitoring instruction, the target page template is a state monitoring page template, and the target data is current state information of the target router.
The state monitoring instruction is an instruction for monitoring the current state of the target router. The status monitor page template is used for generating a visualized status monitor page. The current state information of the target router includes, but is not limited to, upload rate, download rate, internet time, system run time, router IP address, connection device information, network state information, wireless state information, CPU state information, traffic information, and the like.
Under the condition that the routing control instruction is a state monitoring instruction, the target page template is a state monitoring page template, the target data is the current state information of the target router, a foundation is laid for the state monitoring page associated with the state monitoring instruction to be generated subsequently, and the requirement of a user for monitoring the current state information of the target router is met.
Optionally, in the case that the routing control instruction is a firmware upgrade instruction, the target page template is a router upgrade page template, and the target data is version information of the target router.
The firmware upgrading instruction is an instruction for upgrading the firmware of the target router. The router upgrade page template is used to generate a visualized router upgrade page. The version information of the target router includes, but is not limited to, the current firmware version number of the target router, etc.
Under the condition that the route control instruction is a firmware upgrading instruction, the target page template is a router upgrading page template, the target data is version information of the target router, a foundation is laid for subsequently generating a router upgrading page associated with the firmware upgrading instruction, and the requirement of a user for upgrading the firmware of the target router is met.
S203, generating a page associated with the routing control instruction according to the target data and the target page template.
In one embodiment, the target data is filled into a preset display area of the target page template, the target page template after being filled with the data is rendered, a page associated with the routing control instruction is generated, and the page is visually displayed through the intelligent screen.
Optionally, in the case that the route control instruction is a router configuration instruction, the target page template is a route configuration page template, and the target data is configurable information of the target router, S203 includes:
And generating a route configuration page associated with the router configuration instruction according to the configurable information of the target router and the route configuration page template.
Illustratively, fig. 2B is a schematic diagram of a routing configuration page disclosed in accordance with an embodiment of the present disclosure, as shown in fig. 2B, the routing configuration page 200 includes a network configuration sub-area 201, an account control sub-area 202, a status monitor sub-area 203, and a router upgrade sub-area 204. The user can touch and click any sub-region on the route configuration page 200 visually displayed on the intelligent screen according to the self requirement, so that the intelligent screen jumps to display the page corresponding to the sub-region, and the user can control the router according to the jumped page.
S204, controlling the target router through the page.
In one embodiment, the intelligent screen performs visual display on the generated page, the user performs control operation on the target router through the visual page, and the intelligent screen correspondingly controls the target router according to the control operation performed by the user.
Optionally, in the case that the page template is a network configuration page template and the target data is a network connection type of the target router, the page is a network configuration page, and the corresponding S204 includes:
and updating the network connection of the target router according to the setting operation of the user on the network connection type.
In one embodiment, the user performs a setting operation on the network configuration page for the network connection type of the target router, and changes the current network connection type of the target router to a required target network connection type, wherein the mode of performing the setting operation can be a voice mode, a touch click mode or the like. The intelligent screen responds to the setting operation of the user on the network connection type, and the route application controls the target router to change the current network connection type into the target network connection type so as to update the network connection of the target router.
The network connection of the target router is updated according to the setting operation of the user on the network connection type, so that the requirement of the user on the configuration of the network connection type of the target router is met.
Optionally, in the case that the page template is an account control page template and the target data is an account password of the target router, the page is an account control page, and the corresponding S204 includes:
and updating the network password of the target router according to the modification operation of the user on the account password.
The network password of the target router is used for establishing network connection between the device and the target router.
In one embodiment, the user performs a modification operation on the account control page to change the current account password of the target router to the required target account password, wherein the modification operation may be performed in a voice form, a touch click form or the like. The intelligent screen responds to the user operation of modifying the account password, and the routing application controls the target router to change the current account password into the target account password, so that the network password of the target router is updated.
According to the method, the network password of the target router is updated according to the account password modification operation of the user, so that the requirement of the user on the account password modification of the target router is met.
Optionally, in the case that the page template is a status monitoring page template and the target data is current status information of the target router, the page is a status monitoring page, and the corresponding S204 includes:
and displaying the page to a user so that the user can monitor the target router.
In one embodiment, the intelligent screen visually displays the status monitoring page to the user, and the user can monitor the target router through the status monitoring page.
Illustratively, fig. 2C is a schematic diagram of a status monitor page disclosed in accordance with an embodiment of the present disclosure, and as shown in fig. 2C, status monitor page 205 includes an operational status sub-area 206, a connection device information sub-area 207, a network status information sub-area 208, a wireless status information sub-area 209, a CPU status information sub-area 210, and a traffic information sub-area 211. The working state sub-area 206 displays the uploading rate, the downloading rate, the internet time, the system running time, the router IP address and the like of the target router. The connected device information sub-area 207 shows the internet device to which the target router is currently connected. The network state information sub-area 208 shows the protocol type and Mac address information of the target router, etc. The radio state information sub-area 209 displays 2.4G radio state information and 5G radio state information of the target router, and specifically includes information such as name, password, security mode, and the like. The CPU status information sub-area 210 shows a trend graph of the total occupancy of the target router CPU over a period of time. Traffic information sub-area 211 shows a trend graph of the download traffic values and upload traffic values of the target router over a period of time.
Based on the status monitor page 205, the user may also perform operations including: 1) And managing the current connected internet surfing equipment of the target router according to the requirement, such as disconnecting a certain internet surfing equipment and the like. 2) The download rate and upload rate of the target router are rate-limited, e.g., the download rate is set below a download rate threshold and/or the upload rate is set below an upload rate threshold. 3) Based on the content displayed by the network state information sub-area 208, network state detection is performed on the target router, and whether the current network state of the target router is normal is determined.
On the basis of the content displayed by the status monitor page 205, the status monitor page 205 may further include a bandwidth information sub-area for displaying the actual bandwidth occupied by the target router to the user.
The page is displayed to the user, so that the user monitors the target router, and the requirement of the user on monitoring the current state information of the target router is met.
Optionally, in the case that the page template is a router upgrade page template and the target data is version information of the target router, the page is a router upgrade page, and the corresponding S204 includes:
And upgrading the firmware version of the target router according to the upgrading operation of the user on the version information.
In one implementation, a user clicks an upgrade button on a router upgrade page, and the intelligent screen responds to upgrade operation of the user and sends an upgrade installation package to a target router through a routing application so as to control the target router to upgrade a current firmware version according to the upgrade installation package.
The firmware version of the target router is upgraded according to the upgrading operation of the user on the version information, so that the requirement of the user on upgrading the firmware of the target router is met.
According to the method and the device, under the condition that the route control instruction is detected according to the voice information of the user, the target router to be controlled is selected from the candidate routers associated with the intelligent screen, the candidate page templates matched with the route control instruction are used as target page templates, target data required by the target page templates are acquired from the target routers, further, pages associated with the route control instruction are generated according to the target data and the target page templates, and finally, the target routers are controlled through the pages, so that the effect of quickly generating the pages according to the page templates is achieved, the page generation speed is accelerated, the waiting time of the user is reduced, the operation flow of the control router is simplified, the user can control the router more conveniently, and the user experience is improved.
On the basis of the above embodiment, the "target data required for acquiring the target page template from the target router" in S202 includes the following two steps a and B:
A. and under the condition that the current router connected with the intelligent screen is different from the target router, disconnecting the current router and establishing the connection with the target router.
In one embodiment, the current router connected to the intelligent screen is different from the target router, which means that the target router and the intelligent screen are not currently located in the same local area network, and the intelligent screen disconnects the communication connection with the current router through the routing application, and then establishes the communication connection with the target router through the routing application, so that the intelligent screen and the target router are located in the same local area network.
B. And acquiring target data required by the target page template from the target router.
In one embodiment, the smart screen obtains target data required for the target page template from the target router via a local link with the target router.
Under the condition that the current router connected with the intelligent screen is different from the target router, the connection with the current router is disconnected, the connection with the target router is established, and target data required by the target page template are acquired from the target router, so that the effect of acquiring the target data from the target router based on a local link is realized.
On the basis of the above embodiment, in S202, "the target data required for obtaining the target page template from the target router", further includes the following steps:
and under the condition that the current router connected with the intelligent screen is different from the target router, acquiring target data required by the target page template from the target router through a cloud platform.
In one embodiment, the target router periodically uploads the operation data to the cloud platform, and the cloud platform stores the received operation data. And the intelligent screen downloads target data required by the target page template from the operation data stored by the cloud platform to the local terminal through a data channel between the intelligent screen and the cloud platform.
Under the condition that the current router connected with the intelligent screen is different from the target router, target data required by the target page template are acquired from the target router through the cloud platform, and the effect of acquiring the target data from the target router based on a cloud transmission mode is achieved.
Fig. 3 is a schematic structural diagram of a router control device according to an embodiment of the present disclosure, which may be suitable for a case where a user controls a router. The device of the embodiment can be implemented by software and/or hardware, and can be integrated on any electronic equipment with computing capability.
As shown in fig. 3, the router control device 30 disclosed in this embodiment may include a target router selection module 31 and a target router control module 32, where:
A target router selection module 31, configured to select a target router to be controlled from candidate routers associated with the intelligent screen, when a route control instruction is detected according to voice information of a user;
The target router control module 32 is configured to determine a page associated with the routing control instruction, and control the target router through the page.
Optionally, the target router control module 32 is specifically configured to:
taking a candidate page template matched with the route control instruction as a target page template, and acquiring target data required by the target page template from the target router;
And generating a page associated with the routing control instruction according to the target data and the target page template.
Optionally, in the case that the routing control instruction is a network configuration instruction, the target page template is a network configuration page template, and the target data is a network connection type of the target router.
Optionally, the target router control module 32 is specifically further configured to:
and updating the network connection of the target router according to the setting operation of the user on the network connection type.
Optionally, in the case that the routing control instruction is a network password modification instruction, the target page template is an account control page template, and the target data is an account password of the target router.
Optionally, the target router control module 32 is specifically further configured to:
and updating the network password of the target router according to the modification operation of the user on the account password.
Optionally, in the case that the routing control instruction is a state monitoring instruction, the target page template is a state monitoring page template, and the target data is current state information of the target router.
Optionally, the target router control module 32 is specifically further configured to:
and displaying the page to a user so that the user can monitor the target router.
Optionally, the target router control module 32 is specifically further configured to:
Under the condition that a current router connected with an intelligent screen is different from a target router, disconnecting the current router and establishing connection with the target router;
And acquiring target data required by the target page template from the target router.
Optionally, the target router control module 32 is specifically further configured to:
and under the condition that the current router connected with the intelligent screen is different from the target router, acquiring target data required by the target page template from the target router through a cloud platform.
Optionally, the device further comprises a permission authentication module, specifically configured to:
Acquiring a management password of a target router input by a user;
and authenticating the authority of the user to operate the target router according to the management password.
The router control device 30 disclosed in the embodiment of the present disclosure may execute the router control method disclosed in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. Reference is made to the description of any method embodiment of the disclosure for details not explicitly described in this embodiment.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 4 illustrates a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the electronic device 400 includes a computing unit 401 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 may also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in electronic device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, etc.; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the electronic device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the respective methods and processes described above, such as a router control method. For example, in some embodiments, the router control method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 400 via the ROM 402 and/or the communication unit 409. When the computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the router control method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the router control method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (25)

1. A router control method, comprising:
Under the condition that a routing control instruction is detected according to voice information of a user, the intelligent screen carries out voice recognition on the voice information of the user to obtain a voice recognition result; if the voice recognition result contains identification information of a target router to be controlled, selecting the target router to be controlled from candidate routers associated with the intelligent screen according to the identification information; if the candidate router matched with the identification information does not exist in the candidate routers associated with the intelligent screen, feeding back error prompt voice to the user; if the voice recognition result does not contain the identification information of the target router to be controlled, taking the candidate router currently connected with the intelligent screen as the target router to be controlled; the routing control instruction is one of a network configuration instruction, a network password modification instruction, a state monitoring instruction, a firmware upgrading instruction and a router configuration instruction;
the intelligent screen carries out intention recognition on the routing control instruction and determines the instruction category of the routing control instruction; according to the instruction category, determining a page associated with the routing control instruction, and controlling the target router through the page displayed by the intelligent screen; the page is one of a network configuration page, an account control page, a state monitoring page, a router upgrading page and a route configuration page.
2. The method of claim 1, wherein determining the page associated with the routing control instruction comprises:
taking a candidate page template matched with the route control instruction as a target page template, and acquiring target data required by the target page template from the target router;
And generating a page associated with the routing control instruction according to the target data and the target page template.
3. The method of claim 2, wherein, in the case where the routing control instruction is a network configuration instruction, the target page template is a network configuration page template, and the target data is a network connection type of the target router.
4. A method according to claim 3, wherein controlling the target router via the page comprises:
and updating the network connection of the target router according to the setting operation of the user on the network connection type.
5. The method of claim 2, wherein, in the case where the routing control instruction is a network password modification instruction, the target page template is an account control page template and the target data is an account password of the target router.
6. The method of claim 5, wherein controlling the target router through the page comprises:
and updating the network password of the target router according to the modification operation of the user on the account password.
7. The method of claim 2, wherein in the case where the routing control instruction is a state monitoring instruction, the target page template is a state monitoring page template, and the target data is current state information of the target router.
8. The method of claim 7, wherein controlling the target router through the page comprises:
and displaying the page to a user so that the user can monitor the target router.
9. The method of claim 2, wherein obtaining target data required for the target page template from the target router comprises:
Under the condition that a current router connected with an intelligent screen is different from a target router, disconnecting the current router and establishing connection with the target router;
And acquiring target data required by the target page template from the target router.
10. The method of claim 2, wherein obtaining target data required for the target page template from the target router comprises:
and under the condition that the current router connected with the intelligent screen is different from the target router, acquiring target data required by the target page template from the target router through a cloud platform.
11. The method of claim 1, prior to determining the page associated with the routing control instruction, further comprising:
Acquiring a management password of a target router input by a user;
and authenticating the authority of the user to operate the target router according to the management password.
12. A router control apparatus comprising:
The target router selection module is used for carrying out voice recognition on the voice information of the user by the intelligent screen under the condition that a routing control instruction is detected according to the voice information of the user, so as to obtain a voice recognition result; if the voice recognition result contains identification information of a target router to be controlled, selecting the target router to be controlled from candidate routers associated with the intelligent screen according to the identification information; if the candidate router matched with the identification information does not exist in the candidate routers associated with the intelligent screen, feeding back error prompt voice to the user; if the voice recognition result does not contain the identification information of the target router to be controlled, taking the candidate router currently connected with the intelligent screen as the target router to be controlled; the routing control instruction is one of a network configuration instruction, a network password modification instruction, a state monitoring instruction, a firmware upgrading instruction and a router configuration instruction;
The target router control module is used for carrying out intention recognition on the routing control instruction by the intelligent screen and determining the instruction category of the routing control instruction; according to the instruction category, determining a page associated with the routing control instruction, and controlling the target router through the page displayed by the intelligent screen; the page is one of a network configuration page, an account control page, a state monitoring page, a router upgrading page and a route configuration page.
13. The apparatus of claim 12, wherein the target router control module is specifically configured to:
taking a candidate page template matched with the route control instruction as a target page template, and acquiring target data required by the target page template from the target router;
And generating a page associated with the routing control instruction according to the target data and the target page template.
14. The apparatus of claim 13, wherein, in the case where the routing control instruction is a network configuration instruction, the target page template is a network configuration page template and the target data is a network connection type of the target router.
15. The apparatus of claim 14, wherein the target router control module is further specifically configured to:
and updating the network connection of the target router according to the setting operation of the user on the network connection type.
16. The apparatus of claim 13, wherein, in the case where the routing control instruction is a network password modification instruction, the target page template is an account control page template and the target data is an account password of the target router.
17. The apparatus of claim 16, wherein the target router control module is further specifically configured to:
and updating the network password of the target router according to the modification operation of the user on the account password.
18. The apparatus of claim 13, wherein, in the case where the routing control instruction is a state monitoring instruction, the target page template is a state monitoring page template, and the target data is current state information of the target router.
19. The apparatus of claim 18, wherein the target router control module is further specifically configured to:
and displaying the page to a user so that the user can monitor the target router.
20. The apparatus of claim 13, wherein the target router control module is further specifically configured to:
Under the condition that a current router connected with an intelligent screen is different from a target router, disconnecting the current router and establishing connection with the target router;
And acquiring target data required by the target page template from the target router.
21. The apparatus of claim 13, wherein the target router control module is further specifically configured to:
and under the condition that the current router connected with the intelligent screen is different from the target router, acquiring target data required by the target page template from the target router through a cloud platform.
22. The apparatus according to claim 12, the apparatus further comprising a rights authentication module, in particular for:
Acquiring a management password of a target router input by a user;
and authenticating the authority of the user to operate the target router according to the management password.
23. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the router control method of any one of claims 1-11.
24. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the router control method according to any one of claims 1-11.
25. A computer program product comprising a computer program which, when executed by a processor, implements the router control method according to any of claims 1-11.
CN202110349677.6A 2021-03-31 Router control method, device, equipment and storage medium Active CN113096659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349677.6A CN113096659B (en) 2021-03-31 Router control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349677.6A CN113096659B (en) 2021-03-31 Router control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113096659A CN113096659A (en) 2021-07-09
CN113096659B true CN113096659B (en) 2024-06-28

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737172A (en) * 2018-05-11 2018-11-02 四川斐讯信息技术有限公司 A kind of method and system of the automatic modification router Wi-Fi passwords based on intelligent sound box
CN111048087A (en) * 2019-12-24 2020-04-21 深圳Tcl新技术有限公司 Shared voice interaction method, device, equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737172A (en) * 2018-05-11 2018-11-02 四川斐讯信息技术有限公司 A kind of method and system of the automatic modification router Wi-Fi passwords based on intelligent sound box
CN111048087A (en) * 2019-12-24 2020-04-21 深圳Tcl新技术有限公司 Shared voice interaction method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20200351659A1 (en) Voice control and telecommunications service integration
CN107277153B (en) Method, device and server for providing voice service
CN112861057B (en) Page rendering method, device, equipment and storage medium based on applet
US10237267B2 (en) Rights control method, client, and server
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
CN113704063B (en) Performance monitoring method, device, equipment and storage medium of cloud mobile phone
CN105426448A (en) Method, device and system for interface display
CN114157701B (en) Task testing method, device, equipment and storage medium
US10979582B2 (en) Extension of remote frame buffer (RFB) protocol
CN113691602B (en) Service processing method, system, device, equipment and medium based on cloud mobile phone
CN113067769B (en) Router restarting method, device, equipment and storage medium
CN114360554A (en) Vehicle remote control method, device, equipment and storage medium
CN114048441A (en) Control method and device for login user, storage medium and terminal equipment
CN113096659B (en) Router control method, device, equipment and storage medium
US10666683B2 (en) User interface for low-touch security policy provisioning
WO2023169193A1 (en) Method and device for generating smart contract
CN110893616B (en) Remote control method and device, computer equipment and storage medium
CN113096659A (en) Router control method, device, equipment and storage medium
CN112953794B (en) Network detection method, device, equipment and storage medium of router
CN113641439B (en) Text recognition and display method, device, electronic equipment and medium
CN115268951A (en) Installation method, device, equipment and storage medium of operating system
CN114401121A (en) Application program login method and device, electronic equipment and readable storage medium
CN113496703A (en) Method, device and program product for controlling program in voice mode
CN114756300B (en) Cloud equipment configuration method and device, electronic equipment and medium
CN113162920B (en) Network authority control method, device, equipment, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant