CN104350705B - A kind of method of wireless router and its switch communication mode - Google Patents

A kind of method of wireless router and its switch communication mode Download PDF

Info

Publication number
CN104350705B
CN104350705B CN201480001423.3A CN201480001423A CN104350705B CN 104350705 B CN104350705 B CN 104350705B CN 201480001423 A CN201480001423 A CN 201480001423A CN 104350705 B CN104350705 B CN 104350705B
Authority
CN
China
Prior art keywords
crypted password
password
encrypted state
empty
communication mode
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
CN201480001423.3A
Other languages
Chinese (zh)
Other versions
CN104350705A (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.)
Huawei Device Co Ltd
Huawei Device Shenzhen Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Publication of CN104350705A publication Critical patent/CN104350705A/en
Application granted granted Critical
Publication of CN104350705B publication Critical patent/CN104350705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of method that the application provides wireless router and its switch communication mode, this method include:Receive switching command;It is non-encrypted switching command or encryption switching command to judge the switching command;When the switching command is non-encrypted switching command, then it is encrypted state or non-encrypted state to judge current communication mode:If encrypted state, then current communication mode is switched to non-encrypted state;When the switching command is encryption switching command, then it is encrypted state or non-encrypted state to judge current communication mode, if non-encrypted state, then obtains Crypted password, and according to the Crypted password of acquisition, current communication mode is switched to encrypted state.The application improves the communication pattern switching efficiency of wireless router.

Description

A kind of method of wireless router and its switch communication mode
Technical field
The present invention relates to wireless telecom equipment technical field more particularly to a kind of wireless routers and its switch communication mode Method.
Background technology
Wireless router utilizes WIFI (Wireless Fidelity, adopting wireless fidelity technology), in the ring of no wireless network Cable network is expanded into wireless network under border, for having the equipment of WIFI function to use wireless networking.
Portable routing product is often brought under various places and used because its small volume and less weight, but under different situations by It is differed in the number and personnel component of access, is also set to be not added with close shape no matter router is set to encrypted state State is unable to meet user demand well.
It uses, leads in the case of more people use same router, such as with go on business together use/in company of colleague Router can be often arranged to encrypted state, at this moment, it is relatively more to access the terminal of network, if router has been set to encrypt State, then the manager of router constantly will tell password to user, very troublesome.Therefore in this case, routing Device is just more suitable for not encrypting, and more people arbitrarily access.At this moment manager is just needed to be revised as non-encrypted state.
In the case of individual uses, for example, user oneself using or household go out uses of playing, router is simply consolidated It is fixed to be used by one or several people, if routing is arranged to non-encrypted state, it is likely to by other people loiter networks.This is to route Device is more suitable for having password, ensures network speed and network security.At this moment just need to be revised as encrypted state.
But for some users, various service conditions may be often alternately present, it is necessary to constantly into configuration circle Face progress " cancellation password --- recover password (being manually entered) --- cancelling password --- and recover password (being manually entered) ... " Repetitive operation, operating burden are very heavy.If the usual password of user is very long very complicated, then switching efficiency will be lower, experience It is then worse.
Not exclusively this portable router is present with this problem, and home router also has similar problems.Some families Mind very much and tell the password of oneself home network to other people, be not that each guest is friend after all, it is all credible. Therefore password would generally be cancelled temporarily, but it is too complicated by cancelling cryptographic processes temporarily into configuration interface.
As it can be seen that wireless router generally existing cryptographic state/non-cryptographic state switching efficiency is low at present, it is impossible to flexibly carry out The problem of network configuration.
The content of the invention
A kind of method that the embodiment of the present invention provides wireless router and its switch communication mode, need not enter every time Configuration interface goes to configure, and is automatically switched according to user demand, improves communication pattern switching efficiency.
In a first aspect, the embodiment of the present invention provides a kind of method of wireless router switch communication mode, including:
Receive switching command;
It is non-encrypted switching command or encryption switching command to judge the switching command;
When the switching command is non-encrypted switching command, then judge that current communication mode is encrypted state or non-encrypted State:If encrypted state, then current communication mode is switched to non-encrypted state;
When the switching command is encryption switching command, then it is encrypted state or non-encrypted shape to judge current communication mode State if non-encrypted state, then obtains Crypted password, and according to the Crypted password of acquisition, current communication mode is switched to and is added Close state.
With reference to first aspect, the first possible embodiment, this method further include:
When receiving the Crypted password of non-empty and password modification instruction, it is close to update encryption using the Crypted password for receiving non-empty Code;
It is close using the empty Crypted password update encryption received when receiving empty Crypted password and password modification instruction Code alternatively, instruction needs to input Crypted password, when receiving the Crypted password of non-empty, utilizes the Crypted password of the non-empty received Update the Crypted password.
With reference to first aspect, using the Crypted password of acquisition, current communication mode is cut for second of possible embodiment Encrypted state is changed to, including:
When getting empty Crypted password, current communication mode is switched to the encryption shape that need not input Crypted password State;Or
When getting empty Crypted password, instruction needs to re-enter Crypted password, when receiving the Crypted password of non-empty, The Crypted password of non-empty is preserved, and using the Crypted password of non-empty, current communication mode is switched to encrypted state.
With reference to first aspect, the third possible embodiment by status indicator, determines current communication mode for encryption State is non-encrypted state;
Wherein, the Crypted password is initially non-empty, and initial communication pattern is encrypted state, and initial status indicator is The mark of encrypted state, alternatively, the Crypted password is initially empty, initial communication module is non-encrypted state, initial shape State is identified as the mark of non-encrypted state;
Wherein, after each switch communication mode, status indicator is updated according to the communication pattern after switching.
With reference to first aspect, the 4th kind of possible embodiment, this method further include:
It opens the first indicator light and closes the second indicator light, instruction current communication mode is non-encrypted state, opens second Indicator light and the first indicator light of closing, instruction current communication mode are encrypted state;Or
By two different conditions of an indicator light, instruction current communication mode is non-encrypted state or encrypted state; Or
By showing that different conditions identify on software interface, instruction current communication mode is non-encrypted state or encryption shape State.
Second aspect, the embodiment of the present invention provide a kind of wireless router, including:
Order receiving unit, for receiving switching command;
Judging unit, for judging that the switching command is non-encrypted switching command or encryption switching command;
First switch unit is non-encrypted switching command for working as the switching command, and it is to add to judge current communication mode Current communication mode if encrypted state, is then switched to non-encrypted state by close state or non-encrypted state;
Second switch unit is encryption switching command for working as the switching command, and it is encryption to judge current communication mode State or non-encrypted state if non-encrypted state, then obtain Crypted password, and using the Crypted password obtained, it will be current Communication pattern is switched to encrypted state.
With reference to second aspect, the first possible embodiment further includes:
First password updating block, during for receiving the Crypted password of non-empty and password modification instruction, using receiving non-empty Crypted password update the Crypted password;
Second password update unit, during for receiving empty Crypted password and password modification instruction, utilize receive it is empty Crypted password updates the Crypted password, alternatively, instruction needs to re-enter Crypted password, when the Crypted password for receiving non-empty When, update the Crypted password using the Crypted password of the non-empty received.
With reference to second aspect, second of possible embodiment, the second switch unit, ought using the Crypted password obtained Preceding communication pattern is switched to encrypted state, including:
When getting empty Crypted password, current communication mode is switched to the encryption shape that need not input Crypted password State;Or
When getting empty Crypted password, instruction needs to re-enter Crypted password, when receiving the Crypted password of non-empty, The Crypted password of non-empty is preserved, and using the Crypted password of non-empty, current communication mode is switched to encrypted state.
With reference to second aspect, the third possible embodiment, the switch unit of the first switch unit/second passes through state Mark, it is encrypted state/non-encrypted state to determine current communication mode;
Wherein, the Crypted password is initially non-empty, and initial communication pattern is encrypted state, and initial status indicator is The mark of encrypted state, alternatively, the Crypted password is initially empty, initial communication module is non-encrypted state, initial shape State is identified as the mark of non-encrypted state;
Wherein, after each switch communication mode, status indicator is updated according to the communication pattern after switching.
With reference to second aspect, the 4th kind of possible embodiment further includes:
State indication unit, for opening the first indicator light and closing the second indicator light, instruction current communication mode is non- Encrypted state opens the second indicator light and closes the first indicator light, and instruction current communication mode is encrypted state;Or pass through one Two different conditions of a indicator light, instruction current communication mode are non-encrypted state or encrypted state;Or by software Show that different conditions identify on interface, instruction current communication mode is non-encrypted state or encrypted state.
Using the method for wireless router provided by the invention and its switch communication mode, have the advantages that:With Family under different scenes, can be chosen at random according to actual conditions network be encryption or do not encrypt, need not every time into Enter configuration interface to go to configure;Never encrypted state is switched to encrypted state, it is no longer necessary to be manually entered, can arrive designated position automatically Available password is transferred, therefore improves the communication pattern switching efficiency of wireless router.
Description of the drawings
Fig. 1 is the method flow diagram of wireless router switch communication mode provided in an embodiment of the present invention;
Fig. 2 is wireless router structure chart provided in an embodiment of the present invention;
Fig. 3 is the wireless router structure chart that another embodiment of the present invention provides.
Specific embodiment
With reference to the accompanying drawings and examples to the method for wireless router provided by the invention and its switch communication mode into Row is more fully described.
The method of wireless router switch communication mode provided in an embodiment of the present invention, as shown in Figure 1, including:
Step 100, wireless router receives the switching command for carrying out communication pattern switching;
Step 101, wireless router judges that switching command is non-encrypted switching command or encryption switching command, works as judgement When to go out the switching command be non-encrypted switching command, step 102 is performed, when judging that the switching command is encryption switching command When, perform step 103;
Step 102, wireless router judges that current communication pattern is encrypted state or non-encrypted state:If encryption State, then wireless router communication pattern is switched to non-encrypted state;
Step 103, wireless router judges that current communication pattern is encrypted state or non-encrypted state:If it is non-add Close state then obtains Crypted password, and according to the Crypted password of acquisition, current communication pattern is switched to encrypted state.
Optionally, wireless router can set status indicator, to determine that current communication mode is encrypted state also right and wrong Confidential status.
By method provided in an embodiment of the present invention, wireless router receives the switching command of progress communication pattern switching certainly Dynamic implementation pattern switching, thus can realize the network cipher of WLAN with/without be switched fast.So user need to only give One trigger signal of router, can allow the network to have cryptoguard or without cryptoguard at once.Without any defeated manually Enter, even without into configuring, substantially increase the switching efficiency of communication pattern.
Optionally, wireless router can store Crypted password in the designated position of internal storage, so as to fulfill encryption The automatic reading of password.
In order to facilitate modification of the user to Crypted password, optionally, without Router receives adding for non-empty input by user When password and password modification instruction, Crypted password is updated using the Crypted password of the non-empty received.Such as wireless router it Preceding Crypted password is that A or designated position do not store Crypted password, then its synchronous vacations can be B by user.
When it is implemented, the Crypted password of designated position is either one or more, if one, then every time Using the password during encryption, if multiple, can be chosen by setting rule one of as using password, equally, user It, can be by the way that instruction be instructed to change the Crypted password specified during modification.In general, a Crypted password can meet the need of user It asks.
Wireless router of the embodiment of the present invention provides cryptographic state on software and preserves function and available password preservation work( Can, wherein:
1) cryptographic state preserves function
Wireless router preserve it is above-mentioned be used for indicating the status indicator that is currently encrypted state or non-encrypted state, can be with Judge to use when facilitating instruction user's current communication mode and switching.
If specific bit is equipped with the Crypted password of non-empty when router dispatches from the factory, i.e. the initial encryption password of designated position is non- Sky, then initial communication pattern is encrypted state, and initial status indicator is the mark of encrypted state.
If the Crypted password of designated position is sky when router dispatches from the factory, i.e., the initial encryption password of designated position is sky, Initial communication pattern is non-encrypted state, and initial status indicator is the mark of non-encrypted state.
After each switch communication mode, status indicator is updated to the status indicator after switching by wireless router.
Optionally, wireless router of the embodiment of the present invention determines to be currently encrypted state or non-encrypted by status indicator State.
2) function can be preserved with password
Wireless router the designated position of storage preserve Crypted password, the password by router to network encryption when make Password, so as to be used when conveniently automatically switching into encrypted state and change Crypted password according to user demand.
Specific bit is equipped with the initial encryption password of the Crypted password of non-empty, i.e. designated position when if wireless router dispatches from the factory For non-empty.
If the Crypted password of designated position is sky when wireless router dispatches from the factory, i.e. the initial encryption password of designated position is It is empty.
When wireless router receives Crypted password and password input by user modification instruction, the encryption that is newly inputted using user The Crypted password of password update designated position.
The software interface or hardware button of " cipher mode quickly selects ", wireless routing are provided the user in the present embodiment Device receives the mode of non-encrypted switching command/encryption switching command of user, can be, but not limited in the following way:
1) wireless router receives encryption switching command/non-encrypted switching command that user is inputted by software interface
2) wireless router receives encryption switching command/non-encrypted switching command that user is inputted by hardware button.
User chooses at random " encryption " and " not encrypting " by hardware button, need not enter any software interface.Hardware The realization method of button can pass through the various Combination Designs such as button, indicator light, silk-screen.
Equally, wireless router of the embodiment of the present invention can be current logical by software interface and/or the instruction of hardware indicator light Letter pattern, therefore either software interface or hardware, user not only can be seen that current communication mode, but also can trigger other one A cryptographic state works.
Optionally, when wireless router indicates current communication mode by hardware indicator light, by opening an indicator light A Another indicator light B is closed, the instruction currently running communication pattern of wireless router is non-encrypted communication modes, passes through open instruction Lamp B closes indicator light A, and the instruction currently running communication pattern of wireless router is encrypted communication modes;Alternatively, pass through a finger Show two different conditions of lamp, it is non-encrypted communication modes and encryption to indicate respectively the currently running communication pattern of wireless router Communication pattern;Alternatively, showing different status indicators on software interface, the currently running communication of wireless router is indicated respectively Pattern is non-encrypted communication modes or encrypted communication modes.
Optionally, wireless router receives encryption switching command/non-encrypted switching life that user is inputted by hardware button When making, it may be employed but be not limited to following set-up mode:
One is stirred button+software interface instruction communication pattern:Button is toggled it to while for " encryption ", toggles it to other one Side is " not encrypting ", and wireless router, with different status indicators, indicates current communication mode on software interface;
+ two status indicator lamps of one button:It clicks button and switches a communication pattern, an indicator light corresponds to instruction One communication pattern, the indicator light of corresponding communication pattern brighten;
+ one status indicator lamp of one button:It clicks button and switches a state, different communication modes pass through indicator light Different colours show, such as:Green is represented and not encrypted, and red represents encryption.It is of course also possible to it by the bright of instruction and implies Show different communication patterns.
If current password of embodiment of the present invention state is " encryption ", either by software interface or hardware button, As long as triggering " not encrypting " is ordered successfully, then wireless router cancels network cipher automatically, while cryptographic state is revised as " no Encryption ".But the password in " can use password " remains unchanged.
If wireless router current state is " not encrypting ", either by software interface or hardware button, as long as Triggering " encryption " is ordered successfully, then wireless router calls automatically can use the password in password to network encryption.Without user's hand Dynamic input.Simultaneously cryptographic state is revised as " encrypting ".
The software interface mentioned in the present embodiment, the software interface including all software forms, such as WEB UI webpages version, WEB UI mobile phones version, App application interfaces etc..
Below for the Crypted password of designated position two kinds of optional embodiments are provided for empty situation.
Mode one, it is empty situation to allow in Crypted password, and non-encrypted state is switched to encrypted state
That is encrypted state display encryption, but password is actual for sky.
When wireless router gets the Crypted password of sky to designated position, current communication mode is switched to need not be defeated Enter the encrypted communication modes of Crypted password.
When wireless router receives the Crypted password of sky/non-empty and password modification instruction, adding for the sky/non-empty received is utilized The Crypted password of close password update designated position.
Mode two does not allow, in the case where Crypted password is sky, non-encrypted state to be switched to encrypted state
When i.e. available password is empty, communication pattern cannot be encryption.
Optionally, when wireless router receives the Crypted password of non-empty and password modification instruction, the non-empty received is utilized Crypted password updates the Crypted password of designated position;
When wireless router receives empty Crypted password and password modification instruction, instruction needs to re-enter Crypted password, When receiving the Crypted password of non-empty, the Crypted password of the Crypted password update designated position of the non-empty received is utilized.
Optionally, wireless router to designated position get empty Crypted password when, further comprise:
Instruction needs to re-enter Crypted password;
When receiving the Crypted password of non-empty, the Crypted password of non-empty is saved in designated position, and adding using non-empty Current communication mode is switched to encrypted state by password
On software is realized, wireless router can prompt user's " encryption " that order is invalid, and so only give " can be with close by user Code " assigns the value of a non-empty, which can just come into force.Specific prompting mode is unlimited, such as:Encryption is clicked on, prompts to use The currently available password in family is sky, please input password.
I.e. if the password of non-empty is revised as B by A, if B is sky, it cannot be sky to prompt user password, further, If wanting stateful indicator light on fuselage, no matter how user goes triggering encryption key.Then status indicator lamp is shown as not always Encrypted state.
The method preferred embodiment of wireless router switch communication mode of the present invention is given below.
During wireless router product export, the non-empty initial password of acquiescence is equipped in specific bit, can be first with password at this moment Beginning password, communication pattern are encryption.
User triggers non-encrypted state switch command, then network cipher comes into force (for example, restarting) for empty instruction.It is close Code state is then shown as not encrypting.
User triggers encryption order again, then wireless router calls the value that can be used in password automatically, close as network Code comes into force, while cryptographic state is shown as encrypting.
If user has modified network cipher and is non-null value.New password so can be automatically updated into password.
If allowing the refined net in a state that available password is sky, if the encryption that wireless router receives sky is close When code and password modification instruction, the Crypted password of the empty Crypted password update designated position received is utilized.
When wireless router gets the Crypted password of sky to designated position, current communication mode is switched to need not be defeated Enter the communication pattern of Crypted password.
If not allowing to encrypt in a state that available password is sky, wireless router to designated position gets empty add During password, instruction needs to re-enter Crypted password;When receiving the Crypted password of non-empty, the Crypted password of non-empty is preserved To designated position, and using the Crypted password of non-empty, current communication mode is switched to encrypted state.Receive empty Crypted password And during password modification instruction, instruction needs to re-enter Crypted password, non-using what is received when receiving the Crypted password of non-empty The Crypted password of empty Crypted password update designated position.
Initial password without acquiescence when wireless router product appears on the scene can be empty with password, cryptographic state is not when initial Encryption.
1) when available password is empty, when cryptographic state cannot be encryption, then:
When can be sky with password, software triggering encryption command expiration, first prompting can be empty with password, and user has to input Non- null password, the triggering encrypted instruction of software can just come into force.Communication pattern is updated to encrypt.
When can be sky with password, hardware trigger encryption command expiration shows Product Status not encrypt, until system always It can just come into force in the case of detecting available password non-empty.Communication pattern is updated to encrypt.
2) when under encrypted state, when password can be empty.Then:
When can be sky with password, triggering encryption order, wireless router directly cuts communication pattern without using Crypted password Encrypted state is changed to, cryptographic state is updated to encrypt.
When wireless router receives the Crypted password of sky/non-empty and password modification instruction, adding for the sky/non-empty received is utilized The Crypted password of close password update designated position.
When can be non-empty with password, triggering encryption order, system calls the value that can be used in password, as network cipher It comes into force, cryptographic state is updated to encrypt.
For user under different scenes, it is " encryption " or " not encrypting " that network can be chosen at random according to actual conditions, It need not go to configure into configuration interface every time.
Method provided in the present embodiment is suitable for any satisfaction " offer wireless network " and " network can lead to Cross password access " all-network product.
A kind of wireless router provided in an embodiment of the present invention, as shown in Fig. 2, including:
Order receiving unit 201, for receiving switching command;
Judging unit 202, for judging that the switching command is non-encrypted switching command or encryption switching command;
First switch unit 203 is non-encrypted switching command for working as the switching command, judges that current communication mode is Current communication mode if encrypted state, is then switched to non-encrypted state by encrypted state or non-encrypted state;
Second switch unit 204 is encryption switching command for working as the switching command, and it is to add to judge current communication mode Close state or non-encrypted state if non-encrypted state, then obtain Crypted password, and using the Crypted password obtained, it ought Preceding communication pattern is switched to encrypted state.
Optionally, which further includes:
First password updating block, during for receiving the Crypted password of non-empty and password modification instruction, using receiving non-empty Crypted password update the Crypted password;
Second password update unit, during for receiving empty Crypted password and password modification instruction, utilize receive it is empty Crypted password updates the Crypted password, alternatively, instruction needs to re-enter Crypted password, when the Crypted password for receiving non-empty When, update the Crypted password using the Crypted password of the non-empty received.
Optionally, current communication mode is switched to encrypted state, is wrapped by the second switch unit using the Crypted password obtained It includes:
When getting empty Crypted password, current communication mode is switched to the encryption shape that need not input Crypted password State;Or
When getting empty Crypted password, instruction needs to re-enter Crypted password, when receiving the Crypted password of non-empty, The Crypted password of non-empty is preserved, and using the Crypted password of non-empty, current communication mode is switched to encrypted state.
Optionally, the switch unit of the first switch unit/second by status indicator, determines current communication mode for encryption State/non-encrypted state;
Wherein, the Crypted password is initially non-empty, and initial communication pattern is encrypted state, and initial status indicator is The mark of encrypted state, alternatively, the Crypted password is initially empty, initial communication module is non-encrypted state, initial shape State is identified as the mark of non-encrypted state;
Wherein, after each switch communication mode, status indicator is updated according to the communication pattern after switching.
Optionally, further include:
State indication unit, for opening the first indicator light and closing the second indicator light, instruction current communication mode is non- Encrypted state opens the second indicator light and closes the first indicator light, and instruction current communication mode is encrypted state;Or pass through one Two different conditions of a indicator light, instruction current communication mode are non-encrypted state or encrypted state;Or by software Show that different conditions identify on interface, instruction current communication mode is non-encrypted state or encrypted state.
The embodiment of the present invention also provides a kind of wireless router, as shown in figure 3, including:
Processor 300, for receiving switching command;It is that non-encrypted switching command or encryption are cut to judge the switching command Change order;When the switching command is non-encrypted switching command, then judge that current communication mode is encrypted state or non-encrypted State:If encrypted state, then current communication mode is switched to non-encrypted state;When the switching command is encryption switching life Order, then it is encrypted state or non-encrypted state to judge current communication mode, if non-encrypted state, then obtain Crypted password, And according to the Crypted password of acquisition, current communication mode is switched to encrypted state;
Transceiver 310, for transceiving data under the control of a processor.
Optionally, it is non-using receiving when the processor is additionally operable to receive the Crypted password of non-empty and password modification instruction Empty Crypted password update Crypted password;When receiving empty Crypted password and password modification instruction, the empty encryption received is utilized Crypted password described in password update alternatively, instruction needs to input Crypted password, when receiving the Crypted password of non-empty, utilizes receipts The Crypted password of the non-empty arrived updates the Crypted password.
Optionally, when the processor is specifically used for getting empty Crypted password, current communication mode is switched to not Need the encrypted state of input Crypted password;Or
When getting empty Crypted password, instruction needs to re-enter Crypted password, when receiving the Crypted password of non-empty, The Crypted password of non-empty is preserved, and using the Crypted password of non-empty, current communication mode is switched to encrypted state.
Optionally, by status indicator, determine that current communication mode is encrypted state or is non-encrypted state;Wherein, institute It states Crypted password and is initially non-empty, initial communication pattern is encrypted state, and initial status indicator is the mark of encrypted state, Alternatively, the Crypted password is initially empty, initial communication module is non-encrypted state, and initial status indicator is non-encrypted shape The mark of state;Wherein, after each switch communication mode, status indicator is updated according to the communication pattern after switching.
Optional, the processor is additionally operable to open the first indicator light and closes the second indicator light, indicates current communication mode For non-encrypted state, open the second indicator light and close the first indicator light, instruction current communication mode is encrypted state;It is or logical Two different conditions of an indicator light are crossed, instruction current communication mode is non-encrypted state or encrypted state;Or by Show that different conditions identify on software interface, instruction current communication mode is non-encrypted state or encrypted state.
Wherein, in figure 3, bus architecture can include the bus and bridge of any number of interconnection, specifically by processor 300 The various circuits for the memory that the one or more processors and memory 320 of representative represent link together.Bus architecture is also Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can be linked together, these are all It is it is known in the art, therefore, no longer it is described further herein.Bus interface provides interface.Transceiver 310 can To be multiple element, i.e., including transmitter and receiver, provide the list for communicating over a transmission medium with various other devices Member.Processor 300 is responsible for bus architecture and common processing, and memory 320 can store processor 300 and perform operation When used data.
Processor 300 is responsible for bus architecture and common processing, and memory 320 can store processor 300 and hold Used data during row operation.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out the embodiment of the present invention various modification and variations without departing from this hair The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these modification and variations.

Claims (8)

  1. A kind of 1. method of wireless router switch communication mode, which is characterized in that including:
    Receive switching command;
    It is non-encrypted switching command or encryption switching command to judge the switching command;
    When the switching command is non-encrypted switching command, then it is encrypted state or non-encrypted shape to judge current communication mode State:If encrypted state, then current communication mode is switched to non-encrypted state;
    When the switching command is encryption switching command, then judge that current communication mode is encrypted state or non-encrypted state, If non-encrypted state, then Crypted password is obtained, and according to the Crypted password of acquisition, current communication mode is switched to encryption shape State, including:When getting empty Crypted password, current communication mode is switched to the encryption shape that need not input Crypted password State;Or when getting empty Crypted password, instruction needs to re-enter Crypted password, when receiving the Crypted password of non-empty, The Crypted password of non-empty is preserved, and using the Crypted password of non-empty, current communication mode is switched to encrypted state.
  2. 2. the method as described in claim 1, which is characterized in that the method further includes:
    When receiving the Crypted password of non-empty and password modification instruction, Crypted password is updated using the Crypted password for receiving non-empty;
    When receiving empty Crypted password and password modification instruction, the Crypted password is updated using the empty Crypted password received, Alternatively, instruction needs to input Crypted password, when receiving the Crypted password of non-empty, updated using the Crypted password of the non-empty received The Crypted password.
  3. 3. the method as described in claim 1, which is characterized in that
    By status indicator, determine that current communication mode is encrypted state or is non-encrypted state;
    Wherein, the Crypted password is initially non-empty, and initial communication pattern is encrypted state, and initial status indicator is encryption The mark of state, alternatively, the Crypted password is initially empty, initial communication module is non-encrypted state, initial state mark Know for the mark of non-encrypted state;
    Wherein, after each switch communication mode, status indicator is updated according to the communication pattern after switching.
  4. 4. the method as described in claim 1, which is characterized in that further include:
    It opens the first indicator light and closes the second indicator light, instruction current communication mode is non-encrypted state, opens the second instruction Lamp and the first indicator light of closing, instruction current communication mode are encrypted state;Or
    By two different conditions of an indicator light, instruction current communication mode is non-encrypted state or encrypted state;Or
    By showing that different conditions identify on software interface, instruction current communication mode is non-encrypted state or encrypted state.
  5. 5. a kind of wireless router, which is characterized in that including:
    Order receiving unit, for receiving switching command;
    Judging unit, for judging that the switching command is non-encrypted switching command or encryption switching command;
    First switch unit is non-encrypted switching command for working as the switching command, and it is encryption shape to judge current communication mode Current communication mode if encrypted state, is then switched to non-encrypted state by state or non-encrypted state;
    Second switch unit is encryption switching command for working as the switching command, and it is encrypted state to judge current communication mode Or non-encrypted state if non-encrypted state, then obtains Crypted password, and using the Crypted password obtained, by present communications Pattern switching is encrypted state, including:When getting empty Crypted password, current communication mode is switched to need not input plus The encrypted state of password;Or when getting empty Crypted password, instruction needs to re-enter Crypted password, when receiving non-empty Crypted password when, the Crypted password of non-empty is preserved, and using the Crypted password of non-empty, current communication mode is switched to plus Close state.
  6. 6. wireless router as claimed in claim 5, which is characterized in that further include:
    First password updating block, for receive the Crypted password of non-empty and password modification instruction when, using receive non-empty plus Crypted password described in close password update;
    Second password update unit is changed when instructing for receiving empty Crypted password and password, utilizes the empty encryption received Crypted password described in password update, alternatively, instruction needs to re-enter Crypted password, when receiving the Crypted password of non-empty, profit The Crypted password is updated with the Crypted password of the non-empty received.
  7. 7. wireless router as claimed in claim 5, which is characterized in that
    The switch unit of first switch unit/second by status indicator, determines current communication mode for encrypted state/non-encrypted State;
    Wherein, the Crypted password is initially non-empty, and initial communication pattern is encrypted state, and initial status indicator is encryption The mark of state, alternatively, the Crypted password is initially empty, initial communication module is non-encrypted state, initial state mark Know for the mark of non-encrypted state;
    Wherein, after each switch communication mode, status indicator is updated according to the communication pattern after switching.
  8. 8. wireless router as claimed in claim 5, which is characterized in that further include:
    State indication unit, for opening the first indicator light and closing the second indicator light, instruction current communication mode is non-encrypted State opens the second indicator light and closes the first indicator light, and instruction current communication mode is encrypted state;Or pass through a finger Show two different conditions of lamp, instruction current communication mode is non-encrypted state or encrypted state;Or by software interface Upper display different conditions mark, instruction current communication mode are non-encrypted state or encrypted state.
CN201480001423.3A 2014-03-13 2014-03-13 A kind of method of wireless router and its switch communication mode Active CN104350705B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2014073385 2014-03-13

Publications (2)

Publication Number Publication Date
CN104350705A CN104350705A (en) 2015-02-11
CN104350705B true CN104350705B (en) 2018-06-05

Family

ID=52504151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480001423.3A Active CN104350705B (en) 2014-03-13 2014-03-13 A kind of method of wireless router and its switch communication mode

Country Status (1)

Country Link
CN (1) CN104350705B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929324B (en) * 2019-12-06 2023-02-21 中兴通讯股份有限公司 Encryption and non-encryption switching method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW587878U (en) * 2003-01-10 2004-05-11 Global Sun Technology Inc Router capable of displaying data encryption status on LCD
CN1710974A (en) * 2005-05-20 2005-12-21 上海贝豪通讯电子有限公司 Mobile communication terminal apparatus capable of protecting customer information and method thereof
CN102149162A (en) * 2011-05-03 2011-08-10 中国联合网络通信集团有限公司 Wireless router and access method thereof
CN102791016A (en) * 2012-07-04 2012-11-21 大唐移动通信设备有限公司 Access processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070178885A1 (en) * 2005-11-28 2007-08-02 Starhome Gmbh Two-phase SIM authentication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW587878U (en) * 2003-01-10 2004-05-11 Global Sun Technology Inc Router capable of displaying data encryption status on LCD
CN1710974A (en) * 2005-05-20 2005-12-21 上海贝豪通讯电子有限公司 Mobile communication terminal apparatus capable of protecting customer information and method thereof
CN102149162A (en) * 2011-05-03 2011-08-10 中国联合网络通信集团有限公司 Wireless router and access method thereof
CN102791016A (en) * 2012-07-04 2012-11-21 大唐移动通信设备有限公司 Access processing method and device

Also Published As

Publication number Publication date
CN104350705A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
US9313773B2 (en) Aircraft communications switching system
CN104125596B (en) A kind of data flow statistic method and device
CN103019719B (en) A kind of pop-up blocking apparatus and method
CN103024698B (en) A kind of method, system and the mobile terminal of information that integrating each contact person
CN109391648A (en) It is a kind of to apply correlating method, device and the communication system being sliced with network
CN104852840B (en) A kind of method and device exchanged visits between control virtual machine
EP2625797B1 (en) Methods and systems for communicating between a vehicle and a remote application server
CN105828402B (en) A kind of blind reorientation method and core net, base station
US20080263674A1 (en) Wireless network system, information providing apparatus and wireless terminal
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
CN108429669A (en) A kind of method and device carrying out private chat in group chat
CN106101374A (en) The display packing of notification message and device, terminal
CN109495309A (en) The intelligent detecting method and device of cloud platform virtual network state
CN104350705B (en) A kind of method of wireless router and its switch communication mode
CN104394073B (en) A kind of routing of data and its control method and equipment
CN103763370B (en) A kind of method, system and device for changing mobile terminal workspace screen-lock password
CN106131786B (en) The acquisition methods and device of additional population data
CN105447384B (en) A kind of anti-method monitored, system and mobile terminal
CN104253834B (en) Method, mobile terminal and the system that mobile application data copy is controlled
CN103379015B (en) The data transmission method of Website server and IM client and its device and system
CN102868766B (en) A kind of mthods, systems and devices for realizing remote control
CN105451233B (en) A kind of anti-method monitored, system and mobile terminal
CN110087225A (en) Message treatment method and relevant apparatus
CN109147306A (en) Management method, equipment and the management system of the network equipment
CN110019321A (en) Problem delimits method, device and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20181224

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right