CN106612534A - Network connection method and terminal - Google Patents

Network connection method and terminal Download PDF

Info

Publication number
CN106612534A
CN106612534A CN201611120803.6A CN201611120803A CN106612534A CN 106612534 A CN106612534 A CN 106612534A CN 201611120803 A CN201611120803 A CN 201611120803A CN 106612534 A CN106612534 A CN 106612534A
Authority
CN
China
Prior art keywords
password
input method
preset characters
subelement
account
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.)
Granted
Application number
CN201611120803.6A
Other languages
Chinese (zh)
Other versions
CN106612534B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611120803.6A priority Critical patent/CN106612534B/en
Publication of CN106612534A publication Critical patent/CN106612534A/en
Application granted granted Critical
Publication of CN106612534B publication Critical patent/CN106612534B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The invention provides a network connection method and a terminal. The method comprises the steps of: receiving an account and a password which are input by a user, and according to the account and the password, carrying out network connection; if receiving a prompt representing that the password is wrong, detecting whether the password includes preset characters; if the password includes the preset characters, changing the preset characters according to a preset mode so as to acquire a new password; and according to the account and the new password, carrying out network connection. Therefore, by implementing the technical scheme provided by the invention, when the prompt representing that the password is wrong is received, the wrong password can be modified according to a preset rule to acquire the new password and network connection is carried out again according to the account and the new password so as to avoid a trouble brought to the user due to retyping of the user.

Description

A kind of method and terminal of network connection
Technical field
The present invention relates to field of terminal, and in particular to a kind of method and terminal of network connection.
Background technology
The popularization of booming and intelligent terminal with broadband industry, increasing user pass through intelligent terminal Wi-Fi Access gateway, to enjoy network service.
It is pointed out that in prior art, be required for being first turned on Wi-Fi during mobile phone First Contact Connections Wi-Fi, secondly Scanning needs the Wi-Fi accounts of connection, recently enters password and is attached.If when running into password and inputing situation by mistake, needing repeatedly Trial is re-entered, and brings inconvenience to user.
The content of the invention
The method and terminal of a kind of network connection are embodiments provided, the prompting of code error can received When, the password of mistake is modified to obtain new password according to preset rules, and is entered according to account and new password again Row network connection, to avoid user from re-entering, cause the user trouble.
The method that embodiment of the present invention first aspect discloses network connection, methods described include:
The account and password of receiving user's input, and network connection is carried out according to the account and password;
If receiving the wrong prompting of the password, in detecting the password, whether contain preset characters;
If containing preset characters in the password, preset characters are changed according to predetermined manner new close to obtain Code;
Network connection is carried out according to the account and the new password.
Second aspect present invention discloses a kind of terminal, and the terminal includes:
Receiving unit, for the account and password of receiving user's input;
Connection unit, for carrying out network connection according to the account and password;
Whether detector unit, if the prompting wrong for receiving the password, contain in detecting the password default Character;
Acquiring unit, if for containing preset characters in the password, being become preset characters according to predetermined manner More obtaining new password;
The connection unit, is additionally operable to carry out network connection according to the account and the new password.
Third aspect present invention discloses a kind of terminal, and the terminal includes:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The executable program code that the processor is stored in calling the memorizer, performs as described in relation to the first aspect Method.
In the scheme of the embodiment of the present invention, the account and password of receiving user's input, and entered according to the account and password Row network connection;If receiving the wrong prompting of the password, in detecting the password, whether contain preset characters;If described Contain preset characters in password, then changed to obtain new password according to predetermined manner by preset characters;According to the account Number and the new password carry out network connection.It is hereby understood that by implementing the technical scheme that the present invention is provided, can receive To code error prompting when, according to preset rules to mistake password be modified to obtain new password, and according to account Network connection is re-started with new password, to avoid user from re-entering, cause the user trouble.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow sheet of method for connecting network provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another kind of network connection provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another kind of network connection provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another kind of terminal provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another kind of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of entity apparatus structural representation of terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of entity apparatus structural representation of mobile phone provided in an embodiment of the present invention.
Specific embodiment
The method and terminal of a kind of network connection are embodiments provided, the prompting of code error can received When, the password of mistake is modified to obtain new password according to preset rules, and is entered according to account and new password again Row network connection, to avoid user from re-entering, cause the user trouble.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is explicitly described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention one The embodiment divided, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing The every other embodiment obtained under the premise of going out creative work, should all belong to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " occurred in description of the invention, claims and accompanying drawing etc. is to use In the different objects of difference, and it is not intended to describe specific order.Additionally, term " comprising " and " having " and they are any Deformation, it is intended that cover non-exclusive including.The process of series of steps or unit, method, system, product are contained for example Or equipment is not limited to the step of listing or unit, but alternatively also include the step of not listing or unit, or can Selection of land also includes other intrinsic for these processes, method, product or equipment step or unit.
A kind of method of network connection is disclosed in one embodiment of the invention, and methods described includes:Receive user The account and password of input, and network connection is carried out according to the account and password;If receiving the wrong prompting of the password, Whether the password is detected then in contain preset characters;If containing preset characters in the password, will be pre- according to predetermined manner If character is changed to obtain new password;Network connection is carried out according to the account and the new password.
Fig. 1 is referred to, Fig. 1 is a kind of method of network connection that one embodiment of the invention is provided.Wherein, such as Fig. 1 institutes Show, a kind of method of network connection that one embodiment of the present of invention is provided includes herein below:
S101, the account of receiving user's input and password, and network connection is carried out according to the account and password;
, wherein it is desired to, it is noted that the executive agent of the method is terminal.The terminal includes but is not limited to intelligent handss Machine, panel computer, computer and Wearable etc. can carry out data transmission the electronic equipment of business by network.
Wherein, user can pass through voice or screen or other input equipments are input into account and password.
If S102, receiving the wrong prompting of the password, in detecting the password, whether contain preset characters.
Wherein, the prompting can for example be the combination of one or more in voice, vibrations, tone, signal lighties prompting.
Wherein, the preset characters can be capitalization English character, small English character or special punctuation mark (example Such as comma, fullstop, exclamation mark etc.) etc..
If containing preset characters in S103, the password, preset characters are changed according to predetermined manner to obtain New password;
Wherein, it is described preset characters to be changed according to predetermined manner to obtain new password, including:Obtain with it is described The code value of the corresponding ASCII of preset characters;The current input method of identification;According to input method list and institute State current input method and determine next input method;Target character corresponding with the code value is obtained in next input method; Replace the preset characters to obtain new password using the target character.
, wherein it is desired to, it is noted that described determine next input method according to input method list and the current input method Including:The current input method is matched to determine the current input method described defeated with the input method list Enter the position in method list;Next input method is determined according to position of the current input method in the input method list.
Wherein, ASCII refers to ASCII character, and ASCII uses 7 bits (remaining 1 two Enter to be made as 0) to represent all of upper case and lower case letter, numeral 0 to 9, punctuation mark and other control characters.Wherein:0~ 31 and 127 (totally 33) are control character or communication special character (remaining is to show character), such as command character:LF (line feed), CR (carriage return), FF (skipping), DEL (deletion), BS (backspace), BEL (jingle bell) etc.;Communication special character:SOH (literary head), EOT (literary tail), ACK (confirmation) etc.;32~126 (totally 95) are character (32 are spaces), wherein 48~57 is 0 to 90 Arabic Numeral.65~90 be 26 capitalization English letters, 97~No. 122 be 26 small English alphabets, remaining be some punctuation marks, Operative symbol etc..
For example, preset characters are American comma (corresponding ASCII character value is 44), if current input method is English Input method, next input method be Chinese character coding input method when, this 44 it is corresponding be exactly Chinese style comma.
In addition, it is optional, it is described preset characters to be changed according to predetermined manner to obtain new password, can also wrap Include:Determine position of the preset characters in keyboard;Position according to preset characters in keyboard determines and the predetermined word The adjacent character of symbol;Replace the preset characters to obtain new password using the adjacent character.
S104, network connection is carried out according to the account and the new password.
, wherein it is desired to, it is noted that the terminal can be according to account and new password connection Wi-Fi.
As can be seen that in the scheme of the embodiment of the present invention, the account and password of receiving user's input, and according to the account Network connection is carried out with password;If receiving the wrong prompting of the password, in detecting the password, whether contain predetermined word Symbol;If containing preset characters in the password, preset characters are changed according to predetermined manner to obtain new password;Root Network connection is carried out according to the account and the new password.It is hereby understood that by implementing the technical scheme that the present invention is provided, energy It is enough the password of mistake to be modified to obtain new password according to preset rules when the prompting of code error is received, and Network connection is re-started according to account and new password, to avoid user from re-entering, cause the user trouble.
Fig. 2 is referred to, Fig. 2 is a kind of method of network connection that one embodiment of the invention is provided.Wherein, such as Fig. 2 institutes Show, a kind of method of network connection that one embodiment of the present of invention is provided includes herein below:
S201, the account of receiving user's input and password, and network connection is carried out according to the account and password;
, wherein it is desired to, it is noted that the executive agent of the method is terminal.The terminal includes but is not limited to intelligent handss Machine, panel computer, computer and Wearable etc. can carry out data transmission the electronic equipment of business by network.
Wherein, user can pass through voice or screen or other input equipments are input into account and password.
If S202, receiving the wrong prompting of the password, in detecting the password, whether contain preset characters;
Wherein, the prompting can for example be the combination of one or more in voice, vibrations, tone, signal lighties prompting.
Wherein, the preset characters can be capitalization English character, small English character or special punctuation mark etc.. Wherein, common special punctuate can be comma, fullstop, exclamation mark etc..
If containing preset characters in S203, the password, obtain U.S. information corresponding with the preset characters and exchange mark The code value of quasi- code;
Wherein, ASCII refers to ASCII character, and ASCII uses 7 bits (remaining 1 two Enter to be made as 0) to represent all of upper case and lower case letter, numeral 0 to 9, punctuation mark and other control characters.Wherein 32~ 126 (totally 95) are character (32 are spaces), wherein 48~57 is 0 to 90 Arabic numerals.65~90 is 26 capitalization English Word is female, and 97~No. 122 is 26 small English alphabets, and remaining is some punctuation marks, operative symbol etc..
The current input method of S204, identification;
Wherein, current input method can be that American input method can also be Chinese character coding input method.
S205, the current input method is matched to determine the current input method with the input method list Position in the input method list;
S206, the position according to the current input method in the input method list determine next input method;
For example, in the input method list include three input methods, if current input method be defined as second it is defeated Enter method, then the 3rd is exactly next input method;If current input method is defined as the 3rd input method, then first It is exactly next input method (head and the tail connection circulation).
S207, target character corresponding with the code value is obtained in next input method;
For example, 46 during the corresponding ASCII character value of American fullstop, then when input method is switched to Chinese character coding input method, 46 Corresponding is exactly the fullstop of Chinese.
S208, replace the preset characters to obtain new password using the target character;
S209, network connection is carried out according to the account and the new password.
As can be seen that the step of obtaining new password in the scheme of the embodiment of the present invention, is extended, so that terminal exists In the case of artificial participation, new password can be obtained according to the method automatically.
Fig. 3 is referred to, Fig. 3 is a kind of method of network connection that one embodiment of the invention is provided.Wherein, such as Fig. 3 institutes Show, a kind of method of network connection that one embodiment of the present of invention is provided includes herein below:
S301, the account of receiving user's input and password, and network connection is carried out according to the account and password;
, wherein it is desired to, it is noted that the executive agent of the method is terminal.The terminal includes but is not limited to intelligent handss Machine, panel computer, computer and Wearable etc. can carry out data transmission the electronic equipment of business by network.
Wherein, user can pass through voice or screen or other input equipments are input into account and password.
If S302, receiving the wrong prompting of the password, in detecting the password, whether contain preset characters;
Wherein, the prompting can for example be the combination of one or more in voice, vibrations, tone, signal lighties prompting.
Wherein, the preset characters can be capitalization English character, small English character or special punctuation mark etc.. Wherein, common special punctuate can be comma, fullstop, exclamation mark etc..
If containing preset characters in S303, the password, position of the preset characters in keyboard is determined;
S304, the position according to preset characters in keyboard determine the alternative characters adjacent with the preset characters;
For example, the preset characters can be G, then the character adjacent with G can be top T or Y, or Following V or B, can also be the F on the left side, can also be the H on the right.
S305, replace the preset characters to obtain new password using the adjacent character;
It is understood that if adjacent character have it is multiple if, then be obtained with multiple new passwords.
S306, network connection is carried out according to the account and the new password.
Wherein, optionally, the preset characters are replaced with before obtaining new password using the adjacent character, it is described Method also includes:Rule is arranged according to password the alternative characters are screened to determine target character;It is described using described Adjacent character replaces the preset characters to obtain new password, including:The predetermined word is replaced using the target character Accord with obtaining new password.
Wherein, it can not include spcial character, such as question mark or exclamation mark in password that common password arranges rule Etc..
As can be seen that the step of obtaining new password in the scheme of the embodiment of the present invention, is extended, so that terminal exists In the case of artificial participation, new password can be obtained according to the method automatically.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 4, a kind of terminal 400 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board electricity The electronic equipments such as brain, intelligent wearable equipment.The terminal 400 includes receiving unit 401, connection unit 402, detector unit 403 And acquiring unit 404.
Receiving unit 401, for the account and password of receiving user's input;
Connection unit 402, for carrying out network connection according to the account and password;
Whether detector unit 403, if the prompting wrong for receiving the password, contain in detecting the password pre- If character;
Acquiring unit 404, if for containing preset characters in the password, carrying out preset characters according to predetermined manner Change to obtain new password;
Connection unit 401, is additionally operable to carry out network connection according to the account and the new password.
Wherein, receiving unit 401, connection unit 402, detector unit 403 and acquiring unit 404 can be used for performing reality The method described in step S101 to S104 in example 1 is applied, description of the detailed in Example 1 to methods described is specifically described, here is no longer Repeat.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 5, another kind of terminal 500 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board The electronic equipments such as computer, intelligent wearable equipment.The terminal 500 includes receiving unit 501, connection unit 502, detector unit 503 and acquiring unit 504.
Receiving unit 501, for the account and password of receiving user's input;
Connection unit 502, for carrying out network connection according to the account and password;
Whether detector unit 503, if the prompting wrong for receiving the password, contain in detecting the password pre- If character;
Acquiring unit 504, if for containing preset characters in the password, carrying out preset characters according to predetermined manner Change to obtain new password;
Wherein, acquiring unit 504 includes that obtaining subelement, identification subelement, the first determination subelement and first replaces son Unit;
The acquisition subelement, for obtaining the code of ASCII corresponding with the preset characters Value;The identification subelement, for recognizing current input method;The determination subelement, for according to input method list and institute State current input method and determine next input method;The acquisition subelement, is additionally operable to obtain and institute in next input method State the corresponding target character of code value;The replacement subelement, for replacing the preset characters to obtain using the target character Take new password.
, wherein it is desired to, it is noted that the determination subelement, specifically for by the current input method and the input Method list is matched to determine position of the current input method in the input method list;According to described current defeated Enter position of the method in the input method list and determine next input method.
Connection unit 501, is additionally operable to carry out network connection according to the account and the new password.
Wherein, receiving unit 501, connection unit 502, detector unit 503 and acquiring unit 504 can be used for performing reality The method described in step S201 to S209 in example 2 is applied, description of the detailed in Example 2 to methods described is specifically described, here is no longer Repeat.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 6, another kind of terminal 600 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board The electronic equipments such as computer, intelligent wearable equipment.The terminal 600 includes that terminal 600 includes receiving unit 601, connection unit 602nd, detector unit 603 and acquiring unit 604.
Receiving unit 601, for the account and password of receiving user's input;
Connection unit 602, for carrying out network connection according to the account and password;
Whether detector unit 603, if the prompting wrong for receiving the password, contain in detecting the password pre- If character;
Acquiring unit 604, if for containing preset characters in the password, carrying out preset characters according to predetermined manner Change to obtain new password;
Acquiring unit 604 includes that the second determination subelement and second replaces subelement;
Second determination subelement, for determining position of the preset characters in keyboard;It is additionally operable to according to default Position of the character in keyboard determines the character adjacent with the preset characters;Described second replaces subelement, for utilizing State adjacent character the preset characters are replaced to obtain new password.
Optionally, the acquiring unit includes screening subelement;
The alternative characters are screened to determine target word by the screening subelement for arranging rule according to password Symbol;Described second replaces subelement, specifically for replacing the preset characters to obtain new password using the target character.
Connection unit 601, is additionally operable to carry out network connection according to the account and the new password.
Wherein, receiving unit 601, connection unit 602, detector unit 603 and acquiring unit 604 can be used for performing reality The method described in step S301 to S306 in example 3 is applied, description of the detailed in Example 3 to methods described is specifically described, here is no longer Repeat.
Fig. 7 is referred to, in another embodiment of the present invention, there is provided a kind of second terminal.The second terminal 700 is wrapped Include CPU701, memorizer 702, bus 703.Wherein, the terminal 700 can be smart mobile phone, panel computer, Intelligent worn device Deng the electronic equipment with call function.
Wherein, CPU701 performs the program being stored in advance in memorizer 702, and the implementation procedure is specifically included:
The account and password of receiving user's input, and network connection is carried out according to the account and password;
If receiving the wrong prompting of the password, in detecting the password, whether contain preset characters;
If containing preset characters in the password, preset characters are changed according to predetermined manner new close to obtain Code;
Network connection is carried out according to the account and the new password.
Optionally, it is described preset characters to be changed according to predetermined manner to obtain new password, including:
Obtain the code value of ASCII corresponding with the preset characters;
The current input method of identification;
Next input method is determined according to input method list and the current input method;
Target character corresponding with the code value is obtained in next input method;
Replace the preset characters to obtain new password using the target character.
Optionally, it is described to determine that next input method includes according to input method list and the current input method:
The current input method is matched to determine the current input method in institute with the input method list State the position in input method list;
Next input method is determined according to position of the current input method in the input method list.
Optionally, it is described preset characters to be changed according to predetermined manner to obtain new password, specifically include:
Determine position of the preset characters in keyboard;
Position according to preset characters in keyboard determines the alternative characters adjacent with the preset characters;
Replace the preset characters to obtain new password using the adjacent character.
Optionally, the preset characters are replaced with before obtaining new password using the adjacent character, methods described Also include:
Rule is arranged according to password the alternative characters are screened to determine target character;
It is described to replace the preset characters to obtain new password using the adjacent character, including:
Replace the preset characters to obtain new password using the target character.
As can be seen that in the scheme of the embodiment of the present invention, the account and password of receiving user's input, and according to the account Network connection is carried out with password;If receiving the wrong prompting of the password, in detecting the password, whether contain predetermined word Symbol;If containing preset characters in the password, preset characters are changed according to predetermined manner to obtain new password;Root Network connection is carried out according to the account and the new password.It is hereby understood that by implementing the technical scheme that the present invention is provided, energy It is enough the password of mistake to be modified to obtain new password according to preset rules when the prompting of code error is received, and Network connection is re-started according to account and new password, to avoid user from re-entering, cause the user trouble.
Fig. 8 is referred to, Fig. 8 is the frame of the part-structure of the mobile phone of the terminal correlation that one embodiment of the present of invention is provided Figure.With reference to Fig. 8, mobile phone includes:It is radio frequency (Radio Frequency, RF) circuit 810, memorizer 820, input block 830, aobvious Show unit 840, sensor 850, voicefrequency circuit 860, Wireless Fidelity (Wireless Fidelity, Wi-Fi) module 870, process Device 880, and the part such as power supply 890.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 8 do not constitute it is right The restriction of mobile phone, can include than illustrating more or less of part, or combine some parts, or different part cloth Put.
Each component parts of mobile phone are specifically introduced with reference to Fig. 8:
RF circuits 810 can be used for the reception and transmission of information.Generally, RF circuits 810 include but is not limited to antenna, at least one Individual amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 810 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use arbitrary communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 820 can be used to store software program and module, and processor 880 is stored in memorizer 820 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memorizer 820 mainly can include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as network connecting function, password detection function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as ASCII character and character corresponding relation etc.) etc..Additionally, memorizer 820 can include high-speed random access memory, Nonvolatile memory can also be included, for example, at least one disk memory, flush memory device or other volatile solid-states are deposited Memory device.
Input block 830 can be used for the numeral or character information of receives input, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 830 may include that fingerprint module 831 and other inputs set Standby 832.Fingerprint module 831, can gather user's finger print data thereon.Optionally, fingerprint module 831 may include that optical profile type refers to Stricture of vagina module, capacitance type fingerprint module and RF-type fingerprint module.So that fingerprint module 831 is capacitance type fingerprint module as an example, tool Body includes induction electrode (n1 abnormal induction electrode and n2 normal induction electrode) and the signal being connected with the induction electrode Process circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.).Except fingerprint module 831, input block 830 can also include other input equipments 832.Specifically, other input equipments 832 can include but is not limited to physical keyboard, One or more in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 840 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 840 may include display screen 841, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 841.Although in fig. 8, fingerprint module 831 and display screen 841 are realizing the defeated of mobile phone as two independent parts Enter and input function, but in some embodiments it is possible to will be fingerprint module 831 integrated with display screen 841 and realize mobile phone Input and output function.
Mobile phone may also include at least one sensor 850, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display screen 841, proximity transducer can when mobile phone is moved in one's ear, close display screen 841 and/or Backlight.Used as one kind of motion sensor, in the detectable all directions of accelerometer sensor, (generally three axles) acceleration is big It is little, size and the direction of gravity is can detect that when static, can be used to recognize application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as mobile phone The other sensors such as gyroscope, barometer, drimeter, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 860, speaker 881, microphone 882 can provide the audio interface between user and mobile phone.Audio-frequency electric The signal of telecommunication after the voice data for receiving conversion can be transferred to speaker 881, is converted to sound by speaker 881 by road 860 Signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 882, is turned after being received by voicefrequency circuit 860 Be changed to voice data, then after voice data output processor 880 is processed, Jing RF circuits 810 to be sent to such as another mobile phone, Or voice data is exported to memorizer 820 further to process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 8 shows WiFi module 870, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Omit in the scope of the essence for becoming invention.
Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module that are stored in memorizer 820, and call and be stored in memorizer 820 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 880 can be wrapped Include one or more processing units;Preferably, processor 880 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are processed mainly with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 880.
Mobile phone also includes the power supply 890 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 880, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., will not be described here.
In embodiment shown in aforementioned Fig. 1, Fig. 2 and Fig. 3, each step method flow process can be based on the structure reality of the mobile phone It is existing.
In embodiment shown in aforementioned Fig. 4, Fig. 5 and Fig. 6, each unit function can be realized based on the structure of the mobile phone.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind Division of logic function, can have when actually realizing other dividing mode, such as multiple units or component can with reference to or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server or network equipment etc.) perform the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (11)

1. a kind of method of network connection, it is characterised in that methods described includes:
The account and password of receiving user's input, and network connection is carried out according to the account and password;
If receiving the wrong prompting of the password, in detecting the password, whether contain preset characters;
If containing preset characters in the password, preset characters are changed according to predetermined manner to obtain new password;
Network connection is carried out according to the account and the new password.
2. method according to claim 1, it is characterised in that it is described according to predetermined manner by preset characters changed with New password is obtained, including:
Obtain the code value of ASCII corresponding with the preset characters;
The current input method of identification;
Next input method is determined according to input method list and the current input method;
Target character corresponding with the code value is obtained in next input method;
Replace the preset characters to obtain new password using the target character.
3. method according to claim 2, it is characterised in that described according to input method list and the current input method Determine that next input method includes:
The current input method is matched to determine the current input method described defeated with the input method list Enter the position in method list;
Next input method is determined according to position of the current input method in the input method list.
4. method according to claim 1, it is characterised in that it is described according to predetermined manner by preset characters changed with New password is obtained, is specifically included:
Determine position of the preset characters in keyboard;
Position according to preset characters in keyboard determines the alternative characters adjacent with the preset characters;
Replace the preset characters to obtain new password using the adjacent character.
5. method according to claim 4, it is characterised in that using the adjacent character replace the preset characters with Before obtaining new password, methods described also includes:
Rule is arranged according to password the alternative characters are screened to determine target character;
It is described to replace the preset characters to obtain new password using the adjacent character, including:
Replace the preset characters to obtain new password using the target character.
6. a kind of terminal, it is characterised in that the terminal includes:
Receiving unit, for the account and password of receiving user's input;
Connection unit, for carrying out network connection according to the account and password;
Whether detector unit, if the prompting wrong for receiving the password, contain preset characters in detecting the password;
Acquiring unit, if for containing preset characters in the password, according to predetermined manner by preset characters changed with Obtain new password;
The connection unit, is additionally operable to carry out network connection according to the account and the new password.
7. terminal according to claim 6, it is characterised in that the acquiring unit includes obtaining subelement, identification single Unit, the first determination subelement and first replace subelement;
The acquisition subelement, for obtaining the code value of ASCII corresponding with the preset characters;
The identification subelement, for recognizing current input method;
The determination subelement, for determining next input method according to input method list and the current input method;
The acquisition subelement, is additionally operable to target character corresponding with the code value is obtained in next input method;
The replacement subelement, for replacing the preset characters to obtain new password using the target character.
8. terminal according to claim 7, it is characterised in that the determination subelement, specifically for will be described current Input method is matched to determine position of the current input method in the input method list with the input method list; Next input method is determined according to position of the current input method in the input method list.
9. terminal according to claim 6, it is characterised in that the acquiring unit includes the second determination subelement and second Replace subelement;
Second determination subelement, for determining position of the preset characters in keyboard;It is additionally operable to
Position according to preset characters in keyboard determines the character adjacent with the preset characters;
Described second replaces subelement, for replacing the preset characters to obtain using the adjacent character
Take new password.
10. terminal according to claim 9, it is characterised in that the acquiring unit includes screening subelement;
The alternative characters are screened to determine target character by the screening subelement for arranging rule according to password;
Described second replaces subelement, new close to obtain specifically for replacing the preset characters using the target character Code.
11. a kind of terminals, it is characterised in that include:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The executable program code that the processor is stored in calling the memorizer, performs if claim 1 is to right Require the method described in 5 any one.
CN201611120803.6A 2016-12-07 2016-12-07 A kind of method and terminal of network connection Expired - Fee Related CN106612534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611120803.6A CN106612534B (en) 2016-12-07 2016-12-07 A kind of method and terminal of network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611120803.6A CN106612534B (en) 2016-12-07 2016-12-07 A kind of method and terminal of network connection

Publications (2)

Publication Number Publication Date
CN106612534A true CN106612534A (en) 2017-05-03
CN106612534B CN106612534B (en) 2019-10-18

Family

ID=58636640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611120803.6A Expired - Fee Related CN106612534B (en) 2016-12-07 2016-12-07 A kind of method and terminal of network connection

Country Status (1)

Country Link
CN (1) CN106612534B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459884B (en) * 2008-12-29 2010-11-10 中国移动通信集团北京有限公司 Method and device for processing service
CN104883704A (en) * 2014-02-27 2015-09-02 宇龙计算机通信科技(深圳)有限公司 Mobile terminal access point parameter automatic error correction method and apparatus
CN105426359A (en) * 2015-11-11 2016-03-23 小米科技有限责任公司 Information processing method and apparatus
CN105929974A (en) * 2016-04-14 2016-09-07 广东欧珀移动通信有限公司 Password input management method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459884B (en) * 2008-12-29 2010-11-10 中国移动通信集团北京有限公司 Method and device for processing service
CN104883704A (en) * 2014-02-27 2015-09-02 宇龙计算机通信科技(深圳)有限公司 Mobile terminal access point parameter automatic error correction method and apparatus
CN105426359A (en) * 2015-11-11 2016-03-23 小米科技有限责任公司 Information processing method and apparatus
CN105929974A (en) * 2016-04-14 2016-09-07 广东欧珀移动通信有限公司 Password input management method and mobile terminal

Also Published As

Publication number Publication date
CN106612534B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN104852885A (en) Method, device and system for verifying verification code
CN106155557B (en) A kind of virtual key display methods and mobile terminal
CN106714333A (en) Data migration method and terminal
CN106412033A (en) Data migration method and terminal
CN106446111A (en) Data migration method and terminal
CN110209245A (en) Face identification method and Related product
CN105912919A (en) Fingerprint unlocking method and terminal
CN106200970A (en) A kind of method of split screen display available and terminal
CN106385485A (en) Call recording method, call recording device and mobile terminal
CN108172200A (en) A kind of method and terminal device of this display of applicating Chinese
CN106569916A (en) Data backup method and mobile terminal
CN106339894A (en) Pushing method of screen locking magazine, playing method and related device
CN105868598A (en) Method and terminal for fingerprint unlocking
CN104391588B (en) A kind of method of input prompt and device
CN106453571A (en) Data migration method and terminal
CN106227534A (en) A kind of display screen division methods and terminal
CN106385482A (en) Contact information processing method and device, and mobile terminal
CN106487878A (en) A kind of method of Data Migration and terminal
CN106657214A (en) Data migration method and terminal
CN103729283A (en) System log output method and device and terminal device
CN106527980A (en) Data migration method and terminal
CN106612534A (en) Network connection method and terminal
CN106411864A (en) Information synchronization method, and terminals
CN107025389A (en) A kind of method and terminal of fingerprint typing
CN107608776A (en) Facial information method for previewing and Related product

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191018