CN107610696B - Router control method based on dialog messages input by user and router - Google Patents

Router control method based on dialog messages input by user and router Download PDF

Info

Publication number
CN107610696B
CN107610696B CN201710676896.9A CN201710676896A CN107610696B CN 107610696 B CN107610696 B CN 107610696B CN 201710676896 A CN201710676896 A CN 201710676896A CN 107610696 B CN107610696 B CN 107610696B
Authority
CN
China
Prior art keywords
preset
user
control instruction
message
language type
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
CN201710676896.9A
Other languages
Chinese (zh)
Other versions
CN107610696A (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.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Yiwu Zhixiang Communication Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yiwu Zhixiang Communication Equipment Co Ltd filed Critical Yiwu Zhixiang Communication Equipment Co Ltd
Priority to CN201710676896.9A priority Critical patent/CN107610696B/en
Publication of CN107610696A publication Critical patent/CN107610696A/en
Application granted granted Critical
Publication of CN107610696B publication Critical patent/CN107610696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a router control method based on dialog messages input by a user and a router, wherein the method comprises the following steps: s100, acquiring a dialogue message input by a user; s200, analyzing the language type of the dialogue message; s300, converting the dialogue message into a control instruction corresponding to the language type; s400, executing corresponding operation according to the control instruction. The invention solves the problem of complex operation, the user only needs to input the conversation message to wait for the result, and can simultaneously support multiple languages, automatically identify the language type and improve the use experience of the user.

Description

Router control method based on dialog messages input by user and router
Technical Field
The present invention relates to the field of routers, and in particular, to a method for controlling a router based on a dialog message input by a user and a router.
Background
The Router (Router), which is a device for connecting local area networks and wide area networks in the internet, automatically selects and sets a route according to the channel condition, and sends signals in a front-back order by using an optimal path. Routers, also known as Gateway devices (gateways), are used to connect multiple logically separate networks, so-called logical networks, representing a single network or a sub-network. This may be accomplished by the routing function of the router when data is transferred from one subnet to another. Therefore, the router has the functions of judging network addresses and selecting IP paths, can establish flexible connection in a multi-network interconnection environment, can be used for connecting various subnets by completely different data grouping and medium access methods, only receives information of a source station or other routers, and belongs to interconnection equipment of a network layer.
At present, routers are widely applied to various industries, and various products with different grades become the backbone force for realizing the internal connection of various backbone networks, interconnection among backbone networks and interconnection and intercommunication service between the backbone networks and the Internet. In the prior art, the current router web configuration pages are numerous, and a user needs to search the configuration pages by himself to understand the meaning of the configuration parameters, fill in and issue the configuration by using correct logic, so that the operation is complex, and the use experience of the user is influenced.
In addition, the router needs to manually select different language types, and the language type of the content input by the user cannot be automatically identified, so that the router may not identify the content input by the user, and the router cannot convert the dialogue message into a control instruction corresponding to the language type.
Disclosure of Invention
The invention aims to provide a router control method based on a dialogue message input by a user and a router, which are used for simplifying the configuration of the router, intelligently identifying the language type of the content input by the user and improving the use experience of the user.
The technical scheme provided by the invention is as follows:
a router control method based on a dialog message input by a user, comprising the steps of: s100, acquiring a dialogue message input by a user; s200, analyzing the language type of the dialogue message; s300, converting the dialogue message into a control instruction corresponding to the language type; s400, executing corresponding operation according to the control instruction.
Further, the step S200 includes the steps of: s210, analyzing the acquired dialogue message to obtain characters in the dialogue message; s260, matching the characters according to a preset language library to obtain a corresponding language type.
Further, after the step S210, the step S260 includes the steps of: s220, judging whether the number of the character types in the dialogue message is larger than a preset number or not; if yes, go to step S230; otherwise, go to step S260; s230, feeding back information to be confirmed to the user; the information to be confirmed is information for requesting a user to confirm the language type of the dialogue message; s240, receiving first confirmation information sent by a user according to the information to be confirmed; s250 determines that the language type of the dialog message is changed from the first language type to the second language type according to the first confirmation information.
Further, the step S300 includes the steps of: s310, when the number of the character types in the dialogue message is judged to be less than or equal to the preset number, converting all the dialogue messages into first control instructions corresponding to the first language type according to a first preset language library; s320, when the number of the character types in the dialogue message is judged to be larger than the preset number, converting the changed dialogue message into a second control instruction corresponding to the second language type according to a second preset language library; the first preset language library comprises a relation between a first language type and a preset control instruction, and the second preset language library comprises a relation between a second language type and a preset control instruction.
Further, the step S300 further includes the steps of: s330, judging whether the converted control command is a control command or not; if yes, go to step S400; if not, go to step S340; and S340, sequentially executing the operation corresponding to the control instruction according to the preset execution priority.
The present invention also provides a router, comprising: the acquisition module acquires a dialogue message input by a user; the analysis module is used for analyzing the language type of the dialogue message; the conversion module is used for converting the dialogue message into a control instruction corresponding to the language type; and the execution module executes corresponding operation according to the control instruction.
Further, the analysis module comprises: the analysis unit is used for analyzing the acquired conversation message to obtain characters in the conversation message; and the matching unit is used for matching the characters according to a preset language library to obtain a corresponding language type.
Further, the analysis module further comprises: the first judging unit is used for judging whether the number of the character types in the dialogue message is larger than a preset number or not; the first feedback unit feeds back information to be confirmed to a user when the first judging unit judges that the number of the character types in the dialogue message is larger than a preset number; the information to be confirmed is information for requesting a user to confirm the language type of the dialogue message; the first receiving unit is used for receiving first confirmation information sent by a user according to the information to be confirmed; a first determining unit, which determines that the language type of the dialogue message is changed from a first language type to a second language type according to the first confirmation information; and the matching unit is used for matching the characters according to a preset language library to obtain the corresponding language type when the first judging unit judges that the number of the character types in the dialogue message is less than or equal to the preset number.
Further, when the number of the character types in the dialogue message is judged to be less than or equal to the preset number, the conversion module converts all the dialogue messages into a first control instruction corresponding to the first language type according to a first preset language library; the conversion module is also used for converting the changed dialogue message into a second control instruction corresponding to the second language type according to a second preset language library when the number of the character types in the dialogue message is judged to be larger than the preset number; the first preset language library comprises a relation between a first language type and a preset control instruction, and the second preset language library comprises a relation between a second language type and a preset control instruction.
Further, the execution module includes: the second judgment unit is used for judging whether the converted control instruction is a control instruction or not; the execution unit is used for executing corresponding operation according to the control instruction when the control instruction obtained by conversion is judged to be one control instruction; and the execution unit is used for sequentially executing the operation corresponding to the control instruction according to a preset execution priority when the converted control instruction is judged to be a plurality of control instructions.
The router control method and the router based on the dialogue information input by the user can bring at least one of the following beneficial effects:
1) the invention has no complicated configuration options and page selection, and solves the problem of complex operation.
2) According to the invention, the user only needs to input the session information containing the user's own requirements and then waits for the router to execute the operation result corresponding to the control instruction converted according to the session information, so that the method is suitable for any user, the user does not need to master the meaning of the configuration parameters, and the user experience is high.
3) The invention can simultaneously support multiple languages, automatically identify the language type and improve the use experience of users.
Drawings
The above features, technical features, advantages and implementations of a method for controlling a router based on a dialog message input by a user will be further described in the following description of preferred embodiments in a clearly understandable manner with reference to the accompanying drawings.
FIG. 1 is a flow diagram of one embodiment of a method for router control based on user-entered dialog messages in accordance with the present invention;
FIG. 2 is a flow diagram of another embodiment of a method for router control based on user-entered dialog messages in accordance with the present invention;
FIG. 3 is a flow diagram of another embodiment of a method for router control based on user-entered dialog messages in accordance with the present invention;
FIG. 4 is a flow diagram of another embodiment of a method for router control based on user-entered dialog messages in accordance with the present invention;
FIG. 5 is a flow diagram of another embodiment of a method for router control based on user-entered dialog messages in accordance with the present invention;
FIG. 6 is a schematic diagram of one embodiment of a router of the present invention;
FIG. 7 is a schematic diagram of another embodiment of a router of the present invention;
fig. 8 is a schematic structural diagram of another embodiment of a router according to the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
Fig. 1 is an embodiment of a router control method based on a dialog message input by a user according to the present invention, including:
s100, acquiring a dialogue message input by a user;
s200, analyzing the language type of the dialogue message;
s300, converting the dialogue message into a control instruction corresponding to the language type;
s400, executing corresponding operation according to the control instruction.
Specifically, in the prior art, the router needs to manually select different language types, and cannot automatically identify the language type of the dialog message input by the user, so that when the user inputs the dialog message of different language types, the router may not identify the dialog message input by the user, and if the router cannot identify the dialog message input by the user, the router may not convert the dialog message into a control instruction corresponding to the language type. The method for obtaining the dialogue message input by the user can be that the user directly inputs and obtains the dialogue message in an input medium of the router, or the user inputs and obtains the dialogue message through an input medium of an intelligent terminal such as a mobile phone, a computer and the like. After the dialog message input by the user is acquired, the language type of the dialog message needs to be analyzed, so that the corresponding language library is selected according to the language type, and the dialog message input by the user is matched to obtain the corresponding control instruction.
Fig. 2 is another embodiment of a method for controlling a router based on a dialog message input by a user according to the present invention, including:
s100, acquiring a dialogue message input by a user;
s210, analyzing the acquired dialogue message to obtain characters in the dialogue message;
s260, matching the characters according to a preset language library to obtain a corresponding language type;
s300, converting the dialogue message into a control instruction corresponding to the language type;
s400, executing corresponding operation according to the control instruction.
Specifically, in this embodiment, a process of analyzing a dialog message input by a user is specifically described, in the present invention, a dialog message input by a user is first analyzed to obtain all characters in the dialog message, where the characters include letters, numbers, words and symbols, and the process specifically includes: "1, 2, 3, A, B, C-,! -, #, -, (-), -, and the like. Suppose that when the dialog message input by the user is "i want to change the transmission channel. "then according to the present invention scheme, analyze and get" I, want, change, transmit, transport, channel ". The characters are matched with one or more of the characters according to a preset language library to obtain a dialogue message input by a user as Chinese, and then the dialogue message is converted according to the Chinese language library to obtain a corresponding control instruction. Because the web configuration pages in the prior art are numerous, a user needs to search for the significance of understanding the configuration parameters by himself, the configuration is filled and issued by using correct logic, the operation is complex, and the user needs to search carefully when problems occur. The invention is different from the network configuration interface of the router which needs exquisite and complex in the prior art, only needs a simple and understandable dialog box interface, so that a user only needs to input own control requirement, namely a dialog message, and can match and search the corresponding control instruction through the preset language library which is pre-built in the router, so that the router can execute the operation corresponding to the control instruction according to the control instruction, the complex operation and the page selection are reduced, the invention is simple and easy to understand, convenient and fast, the configuration page is simplified, the problem of adapting the browser and the screen resolution is reduced, and the use experience of the user is greatly improved. The user only needs to wait for the router to execute the operation result corresponding to the control instruction converted according to the conversation message after inputting the conversation message containing the self requirement of the user on the conversation box interface, the method is suitable for any user, the user does not need to master the meaning of various configuration parameters, and the user experience is high.
Fig. 3 is another embodiment of a method for controlling a router based on a dialog message input by a user according to the present invention, including:
s100, acquiring a dialogue message input by a user;
s210, analyzing the acquired dialogue message to obtain characters in the dialogue message;
s220, judging whether the number of the character types in the dialogue message is larger than a preset number or not; if yes, go to step S230; otherwise, go to step S260;
s230, feeding back information to be confirmed to the user; the information to be confirmed is information for requesting a user to confirm the language type of the dialogue message;
s240, receiving first confirmation information sent by a user according to the information to be confirmed;
s250, determining that the language type of the dialogue message is changed from a first language type to a second language type according to the first confirmation information;
s260, matching the characters according to a preset language library to obtain a corresponding language type;
s310, when the number of the character types in the dialogue message is judged to be less than or equal to the preset number, converting all the dialogue messages into first control instructions corresponding to the first language type according to a first preset language library;
s320, when the number of the character types in the dialogue message is judged to be larger than the preset number, converting the changed dialogue message into a second control instruction corresponding to the second language type according to a second preset language library;
s330, judging whether the converted control command is a control command or not; if yes, go to step S400; if not, go to step S340;
s340, sequentially executing the operation corresponding to the control instruction according to a preset execution priority;
s400, executing corresponding operation according to the control instruction.
The first preset language library comprises a relation between a first language type and a preset control instruction, and the second preset language library comprises a relation between a second language type and a preset control instruction.
Specifically, in this embodiment, in the present invention, key fields in the dialog message are matched, that is,:
s11, judging whether any field in the dialogue message is matched with a key field of a preset control instruction; if yes, go to step S12; otherwise, go to step S13;
s12 determining that the dialog message is an invalid control message;
s13 determines that the dialog message includes the valid field.
In this embodiment, after determining whether any field is matched with the key field, it is able to know that there is an effective field controlling the router itself in the session message, so as to avoid meaningless conversion, if the session message input by the user is "i want to do", the matching of the key word can avoid converting all received session messages, and only converting the effective field can save conversion time, improve CPU processing efficiency, and save system resources.
After analyzing the characters in the dialog message one by one, and counting whether the number of the character types is greater than the preset number, for example, if the preset number is 1, when the dialog message input by the user is that "i want to increase the transmission frequency, it also wants to change the encryption mode to WPA. "when, get 3 kinds of character types according to the analysis, are the letter, Chinese character and symbol respectively, but the key field does not include the symbol", "and". ", it can be known that the number of character types is greater than the preset number, it can be known that the user has input a different language type. Matching key fields of 'i want to increase the transmitting frequency' in the dialogue message according to a preset language library, namely a first preset language library (Chinese language library) to obtain a control instruction for controlling the increase of the transmitting frequency. The router can change the first language library into the second language library (including other languages such as Japanese, Korean, Russian and the like), so that the router can match the key fields according to the second preset language library to obtain the WPA, and the router can not identify the WPA according to the first preset language library to cause the router to be incapable of knowing what the specifically changed encryption mode is, so that the router feeds back the WPA and the changed encryption mode to the user, the user inputs the WPA again, and the router receives the WPA again, so that the router can know that the language type of the user is changed from the first language type to the second language type (namely Chinese is changed into English, and the change is just exemplified by the user), and the router can match the key fields according to the second preset language library (English language library) to obtain the WPA, and the router can combine the WPA and the WPA, obtaining a control instruction, then knowing that the user inputs "i want to turn up the transmitting frequency, and also want to change the encryption mode to WPA. After that, the control commands returned by the router are respectively "increase the transmission frequency" and "change the encryption mode to WPA", here, it is assumed that the execution priority preset by the user is: the router executes the operation of turning up the transmission frequency according to the executed priority and then executes the operation of changing the encryption mode to WPA. Since the dialog message input by the user may include a plurality of valid fields, which may result in a plurality of control instructions being converted according to the plurality of valid fields in the dialog message, once a plurality of control instructions are obtained according to one dialog message, the corresponding control instructions need to be sequentially executed according to the preset execution priority. At present, language packs of different countries need to be manually selected, and can not support automatic identification of conversation messages input by users. For different language inputs, the router may have difficulty recognizing and may not execute the control command normally.
Actually, when the language is judged, many uncertain factors may be encountered, which lists a simplest judgment and a simplest judgment when a problem is encountered, when the user input language changes, firstly, the user input language is confirmed again to ensure that the change is a normal behavior, and then the language package is switched, as shown in a logic diagram of fig. 4:
s10, logging in for the first time;
s11, establishing connection;
s12, the user inputs the dialogue message;
s13, judging whether the language type of the dialogue message can be determined; if yes, go to step S16; otherwise, go to step S14;
s14, feeding back information to be confirmed in different language types;
s15, receiving user determination information and determining a language type;
s16, converting the dialogue message into a control instruction according to the preset language library corresponding to the determined language type;
and S17, executing relevant operations according to the control instruction.
When the user input language changes, firstly, reconfirmation is carried out to ensure that the change is a normal behavior, and then, switching of language packages is carried out, as shown in a logic diagram 5:
s21, changing the language type of the dialogue message input by the user from language 1 to language 2;
s22, feeding back information to be confirmed with language 2 as the language type;
s23, the user continues to input the dialogue message with the input language type of language 2;
and S24, switching the language library 1 to the language library 2.
In this embodiment, when the user inputs "i want to increase the transmission frequency and also want to change the encryption mode to the WPA", two language types, that is, an english character and a chinese character, are obtained through analysis, and if specific phrases of the types WPA, WEP, DHCP, PPPOE and the like are stored in the chinese library, it is able to directly obtain that the language type is the chinese language, and if specific phrases of the types WPA, WEP, DHCP, PPPOE and the like are not stored in the chinese library, the router feeds back the language "i want to increase the transmission frequency, and also wants to change the encryption mode to" and the english "WAP" to confirm the user, and at this time, if the user continues to input "WAP", it is reflected that the user confirms that the user wants to change the language library to match and obtain a corresponding control instruction. The invention can simultaneously support multiple languages and has the functions of automatically identifying and switching languages.
Referring to fig. 6, the present invention provides one embodiment of a router 100 comprising:
an obtaining module 110, which obtains a dialog message input by a user;
an analysis module 120 for analyzing the language type of the dialog message;
a conversion module 130, converting the dialog message into a control instruction corresponding to the language type;
and the execution module 140 executes corresponding operations according to the control instructions.
Specifically, in the present embodiment,
referring to fig. 7, the present invention provides another embodiment of a router 100, and other parts in this embodiment are the same as the previous embodiment, including: an acquisition module 110, an analysis module 120, a conversion module 130, and an execution module 140;
further, the analysis module 120 includes:
the analyzing unit 121 is configured to analyze the obtained dialog message to obtain a character in the dialog message;
and the matching unit 122 matches the characters according to a preset language library to obtain a corresponding language type.
A first judging unit 123, configured to judge whether the number of character types in the dialog message is greater than a preset number;
a first feedback unit 124, configured to feed back to-be-confirmed information to a user when the first determining unit 123 determines that the number of the character types in the dialog message is greater than a preset number; the information to be confirmed is information for requesting a user to confirm the language type of the dialogue message;
a first receiving unit 125, configured to receive first confirmation information sent by a user according to the information to be confirmed;
a first determining unit 126, which determines that the language type of the dialog message is changed from a first language type to a second language type according to the first confirmation information;
the matching unit 122, when the first judging unit 123 judges that the number of the character types in the dialog message is less than or equal to a preset number, matches the characters according to a preset language library to obtain a corresponding language type;
the conversion module 130, when judging that the number of the character types in the dialog message is less than or equal to the preset number, converts all the dialog messages into a first control instruction corresponding to the first language type according to the first preset language library;
the conversion module 130 is further configured to, when it is determined that the number of the character types in the dialog message is greater than the preset number, convert the changed dialog message into a second control instruction corresponding to the second language type according to a second preset language library;
the first preset language library comprises a relation between a first language type and a preset control instruction, and the second preset language library comprises a relation between a second language type and a preset control instruction;
the execution module 140 includes:
a second judgment unit 141 that judges whether the converted control command is a control command;
the execution unit 142, when judging that the converted control instruction is a control instruction, executes corresponding operation according to the control instruction;
and when the converted control instruction is judged to be a plurality of control instructions, the execution unit 142 sequentially executes the operation corresponding to the control instruction according to a preset execution priority.
Specifically, in this embodiment, after determining whether any field matches the key field, it is able to know that the session message includes an effective field that controls the router 100 itself, so as to avoid meaningless conversion, and if the session message input by the user is "i want to perform", matching the key word can avoid converting all received session messages, and only converting the effective field can save conversion time, improve CPU processing efficiency, and save system resources. The invention is different from the network configuration interface of the router 100 which needs exquisite and complicated in the prior art, only needs a simple and understandable dialog box interface, so that a user only needs to input own control requirements, namely dialog messages, and can match and search corresponding control instructions through a preset language library which is pre-built in the router 100, so that the router 100 can execute the operation corresponding to the control instructions according to the control instructions, the complex operation and the page selection are reduced, the operation is simple and easy, the operation is convenient and fast, the problem of adapting the configuration page, which reduces the resolution ratio of a browser and a screen, and the use experience of the user is greatly improved. The user only needs to wait for the router 100 to execute the operation result corresponding to the control instruction converted according to the dialog message after inputting the dialog message containing the user's own requirements on the dialog box interface, so that the method is suitable for any user, the user does not need to master the meaning of various configuration parameters, and the user experience is high.
When using a very simplistic configuration of wireless router 100 with only one dialog box, one of the presented problems is that the user does not know at all what your router 100 will tell you, or the user cannot know at all what language version this router 100 is in, an extreme example might be that a dialog box enters chinese, but the router 100 returns what you do not see. The invention aims to solve the problem, and in the intelligentized modern, when a user encounters a very simple configuration, the user can avoid the barrier brought by the language. As shown in fig. 8, the key to solve this problem is to load a multi-language module 14 supporting multiple languages at the front end of the dialogue module 11, so as to quickly and efficiently determine the language used by the user before the dialogue is actually started, and simultaneously support multiple languages communication when necessary.
Hardware part: adding a multi-language module 14 on the basis of a main dialogue module 11, which stores language libraries of multiple countries, wherein the dialogue module 11 (equivalent to the acquisition module 110 and the analysis module 120 in fig. 7) is used for analyzing a dialogue message input by a user, transmitting a valid field in the dialogue message to a translation module 12, returning invalid information (i.e. the dialogue message does not include any valid field) and further confirming the user, the translation module 12 (equivalent to the conversion module 130 in fig. 7) is used for processing the valid field of the user and converting the valid field into a control instruction, the CPU module 13 (equivalent to the execution module 140 in fig. 7) receives the control instruction sent by the translation module 12, executes corresponding operations according to the control instruction, the CPU module 13 returns an execution result to the translation module 12, the translation module 12 converts the execution result into an execution result keyword, the dialogue module 11 converts the execution result keyword into execution result information corresponding to the dialogue message language type.
A software part: when a user logs in for the first time, the language use type is judged according to the dialogue information input by the user, and the dialogue module 11 is switched to the matched language library of the dialogue module 11, and after the switching, the dialogue module 11 carries out normal communication with the user according to the language library and executes the control instruction of the user. When the input language of the user changes, the language library is triggered to change, and after the change is completed, the dialogue module 11 uses the new language library to communicate with the user. The translation module 12 converts the key fields in the dialog message into control instructions, and issues the control instructions to the CPU module 13, and if the control instructions are multiple control instructions, the translation module sequentially executes the corresponding control instructions according to a preset execution priority.
In all the embodiments described above, the dialog messages such as the dialog text manually input by the user can be received, or the dialog messages such as the voice message input by the user can be received.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A router control method based on a dialog message input by a user, comprising the steps of:
s100, acquiring a dialogue message input by a user;
s200, analyzing the language type of the dialogue message, comprising the following steps:
s210, analyzing the acquired dialogue message to obtain characters in the dialogue message;
s220, judging whether the number of the character types in the dialogue message is larger than a preset number or not; if yes, go to step S230; otherwise, go to step S260;
s230, feeding back information to be confirmed to the user; the information to be confirmed is information for requesting a user to confirm the language type of the dialogue message;
s240, receiving first confirmation information sent by a user according to the information to be confirmed;
s250, determining that the language type of the dialogue message is changed from a first language type to a second language type according to the first confirmation information;
s260, matching the characters according to a preset language library to obtain a corresponding language type;
s300, converting the dialogue message into a control instruction corresponding to the language type;
s400, executing corresponding operation according to the control instruction.
2. The method for controlling a router based on a dialog message entered by a user according to claim 1, wherein said step S300 comprises the steps of:
s310, when the number of the character types in the dialogue message is judged to be less than or equal to the preset number, converting all the dialogue messages into first control instructions corresponding to the first language type according to a first preset language library;
s320, when the number of the character types in the dialogue message is judged to be larger than the preset number, converting the changed dialogue message into a second control instruction corresponding to the second language type according to a second preset language library;
the first preset language library comprises a relation between a first language type and a preset control instruction, and the second preset language library comprises a relation between a second language type and a preset control instruction.
3. The method for controlling a router based on a dialog message entered by a user according to claim 1 or 2, wherein said step S300 further comprises the steps of:
s330, judging whether the converted control command is a control command or not; if yes, go to step S400; if not, go to step S340;
and S340, sequentially executing the operation corresponding to the control instruction according to the preset execution priority.
4. A router, comprising:
the acquisition module acquires a dialogue message input by a user;
an analysis module for analyzing the language type of the dialog message, comprising:
the analysis unit is used for analyzing the acquired conversation message to obtain characters in the conversation message;
the first judging unit is used for judging whether the number of the character types in the dialogue message is larger than a preset number or not;
the first feedback unit feeds back information to be confirmed to a user when the first judging unit judges that the number of the character types in the dialogue message is larger than a preset number; the information to be confirmed is information for requesting a user to confirm the language type of the dialogue message;
the first receiving unit is used for receiving first confirmation information sent by a user according to the information to be confirmed;
a first determining unit, which determines that the language type of the dialogue message is changed from a first language type to a second language type according to the first confirmation information;
the matching unit is used for matching the characters according to a preset language library to obtain a corresponding language type when the first judging unit judges that the number of the character types in the dialogue message is less than or equal to a preset number;
the conversion module is used for converting the dialogue message into a control instruction corresponding to the language type;
and the execution module executes corresponding operation according to the control instruction.
5. The router of claim 4, wherein:
the conversion module is used for converting all the dialogue messages into first control instructions corresponding to the first language type according to the first preset language library when the number of the character types in the dialogue messages is judged to be less than or equal to the preset number;
the conversion module is also used for converting the changed dialogue message into a second control instruction corresponding to the second language type according to a second preset language library when the number of the character types in the dialogue message is judged to be larger than the preset number;
the first preset language library comprises a relation between a first language type and a preset control instruction, and the second preset language library comprises a relation between a second language type and a preset control instruction.
6. The router according to claim 4 or 5, wherein the executing module comprises:
the second judgment unit is used for judging whether the converted control instruction is a control instruction or not;
the execution unit is used for executing corresponding operation according to the control instruction when the control instruction obtained by conversion is judged to be one control instruction;
and the execution unit is used for sequentially executing the operation corresponding to the control instruction according to a preset execution priority when the converted control instruction is judged to be a plurality of control instructions.
CN201710676896.9A 2017-08-09 2017-08-09 Router control method based on dialog messages input by user and router Active CN107610696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710676896.9A CN107610696B (en) 2017-08-09 2017-08-09 Router control method based on dialog messages input by user and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710676896.9A CN107610696B (en) 2017-08-09 2017-08-09 Router control method based on dialog messages input by user and router

Publications (2)

Publication Number Publication Date
CN107610696A CN107610696A (en) 2018-01-19
CN107610696B true CN107610696B (en) 2020-12-25

Family

ID=61065034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710676896.9A Active CN107610696B (en) 2017-08-09 2017-08-09 Router control method based on dialog messages input by user and router

Country Status (1)

Country Link
CN (1) CN107610696B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768764A (en) * 2018-05-08 2018-11-06 四川斐讯信息技术有限公司 A kind of router test method and device
CN108922526A (en) * 2018-06-25 2018-11-30 广州市锐尚展柜制作有限公司 A kind of Intelligent household voice control system of achievable human-computer interaction
CN111161706A (en) * 2018-10-22 2020-05-15 阿里巴巴集团控股有限公司 Interaction method, device, equipment and system
CN109147790A (en) * 2018-10-31 2019-01-04 东莞市华庄电子有限公司 Have both the Intelligent wireless router of interactive voice and screen interactive controlling mode

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW421750B (en) * 1997-03-14 2001-02-11 Omron Tateisi Electronics Co Language identification device, language identification method and storage media recorded with program of language identification
KR100593993B1 (en) * 2003-10-22 2006-06-30 삼성전자주식회사 Apparatus and method for recognizing the character
CN101943952B (en) * 2010-01-27 2014-07-09 北京搜狗科技发展有限公司 Mixed input method of at least two languages and input method system
CN103559172B (en) * 2013-11-06 2016-08-31 北京百度网讯科技有限公司 The subordinate sentence method and apparatus of multi-lingual mixing text
CN105847162A (en) * 2015-01-13 2016-08-10 国基电子(上海)有限公司 Router and method for controlling router by voice
CN105989341A (en) * 2015-02-17 2016-10-05 富士通株式会社 Character recognition method and device
CN105095509B (en) * 2015-09-06 2019-01-25 百度在线网络技术(北京)有限公司 Voice search method and device
CN105872687A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Method and device for controlling intelligent equipment through voice

Also Published As

Publication number Publication date
CN107610696A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107610696B (en) Router control method based on dialog messages input by user and router
US8027293B2 (en) Communication channel selection and use
KR20060046895A (en) Method and system for providing selected service by displaying numbers and strings corresponding to inputted buttons
CN105573988A (en) Voice conversion method and terminal
KR101406981B1 (en) System and Method for Translating Messages of Multiple Languages
US10182132B2 (en) Method, apparatus and system for communication between OpenFlow device and IP network device
KR20090008865A (en) Real time translation system and method for mobile phone contents
CN114363288A (en) Message processing method and device, link load balancing equipment and storage medium
CN107493229A (en) Message group sending method, server and the computer-readable storage medium of converged communication
CN101459650A (en) Service routing method, service router, customer terminal equipment and service network system
JP2018174453A (en) Computer program for terminal, and communication device
CN112153753B (en) Network connection method and device
US20090149160A1 (en) Method and system for directive transmitting content processed at telecom transmission terminals and for distributed content transmission connecting to networks
EP3107231A1 (en) Data processing method and device
CN109964473A (en) The method and device of voice service response
CN101360153A (en) Interface apparatus, exchange apparatus with the apparatus, and control method for use in the apparatus
CN111147582B (en) Voice interaction method and device, computer equipment and storage medium
CN105429880A (en) Network equipment and method for performing router forwarding by network equipment
US8886701B1 (en) Network based software agent to allow dynamic resource access
CN103257718A (en) Chinese character input method, device and system
CN107016998A (en) Equipment room voice typing method and system
CN113454959A (en) Control plane network function, user plane network function, and packet processing method using the same
KR20020057045A (en) Internet-searching method in mobile wireless terminal using voice recognition
CN107102874B (en) Application concurrent installation method and system
KR100424508B1 (en) Method to connect wireless internet sites using asr

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201113

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201208

Address after: Room 501, unit 2, building 63, xiazhuzhaicun, Niansanli street, Yiwu City, Jinhua City, Zhejiang Province

Applicant after: Yiwu Zhixiang communication equipment Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221226

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: Room 501, unit 2, building 63, xiazhuzhaicun, Niansanli street, Yiwu City, Jinhua City, Zhejiang Province

Patentee before: Yiwu Zhixiang communication equipment Co.,Ltd.

TR01 Transfer of patent right