CN105682088A - Wireless network sharing method and terminal - Google Patents

Wireless network sharing method and terminal Download PDF

Info

Publication number
CN105682088A
CN105682088A CN201410657346.9A CN201410657346A CN105682088A CN 105682088 A CN105682088 A CN 105682088A CN 201410657346 A CN201410657346 A CN 201410657346A CN 105682088 A CN105682088 A CN 105682088A
Authority
CN
China
Prior art keywords
terminal
configuration information
network configuration
radio network
encryption
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
CN201410657346.9A
Other languages
Chinese (zh)
Other versions
CN105682088B (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.)
Tencent Technology Wuhan Co Ltd
Original Assignee
Tencent Technology Wuhan 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 Tencent Technology Wuhan Co Ltd filed Critical Tencent Technology Wuhan Co Ltd
Priority to CN201410657346.9A priority Critical patent/CN105682088B/en
Publication of CN105682088A publication Critical patent/CN105682088A/en
Application granted granted Critical
Publication of CN105682088B publication Critical patent/CN105682088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a wireless network sharing method and a terminal, which can safely achieve the sharing of wireless network configuration information, and is convenient for other terminals to be rapidly connected to a wireless network. The method provided by the embodiment of the invention comprises the steps of acquiring the wireless network configuration information of a first terminal via a browser; encrypting the wireless network configuration information according to a preset encryption rule; and converting the encrypted wireless network configuration information into a graphic code and displaying on the display of the first terminal, and sharing the graphic code to a second terminal.

Description

A kind of wireless network shares method and terminal
Technical field
The present invention relates to wireless communication field, particularly relate to a kind of wireless network and share method and terminal.
Background technology
Along with the intellectuality of mobile terminal and the demand of wireless coverage are growing, the coverage of wireless network is also more and more extensive, for instance, various residential quarters, public place and businessman etc. When terminal needs to connect a certain wireless network under new network environment, the access permission of this wireless network need to be obtained, now, terminal need to obtain the radio network configuration information (including SSID and password etc.) of this wireless network, and is connected to this wireless network according to above-mentioned radio network configuration information.
For Wi-Fi, when user need to connect Wi-Fi, user, it is to be appreciated that Wi-Fi title and password, is then manually entered password and is thus connected on corresponding Wi-Fi, this connection procedure complex operation, and is easily caused password leakage. As multiple users same Wi-Fi to be visited, for instance, friend's party, family party etc., each user needs first to inquire obtain Wi-Fi title and password and be manually entered password, and at this moment, at this moment, whole process is not only dangerous, also quite loaded down with trivial details.
Summary of the invention
Embodiments provide a kind of wireless network and share method and terminal, sharing of radio network configuration information can be realized safely, it is simple to other-end is connected to wireless network quickly.
The first aspect of the embodiment of the present invention provides a kind of radio network configuration to share method, including:
The radio network configuration information of first terminal is obtained by browser;
According to default encryption rule, described radio network configuration information is encrypted;
Radio network configuration information after encryption is converted to graphic code and is illustrated on the display of described first terminal, so that described graphic code is shared to the second terminal.
The second aspect of the embodiment of the present invention provides a kind of terminal, including:
Acquiring unit, for obtaining the radio network configuration information of wireless network by browser;
Ciphering unit, for being encrypted described radio network configuration information according to the encryption rule preset;
Converting unit, for converting the radio network configuration information after encryption to graphic code;
Display unit, is used for showing described graphic code, so that described graphic code is shared to the second terminal.
In the technical scheme that the embodiment of the present invention provides, first terminal is after the radio network configuration information obtaining wireless network, first radio network configuration information is encrypted, again the radio network configuration information after encryption is converted to graphic code and shows, thus the mode by radio network configuration information graphically code is shared, it is simple to other-end is connected to wireless network quickly.Compared with prior art, the mode of radio network configuration information graphically code is carried out sharing and is easy to other-end and is connected to wireless network quickly and radio network configuration information can be avoided expressly to be displayed by the embodiment of the present invention, and by common barcode scanning client being avoided to parse radio network configuration information the encryption of radio network configuration information, cause the leakage of radio network configuration information.
Accompanying drawing explanation
Fig. 1 is that in the embodiment of the present invention, wireless network shares one embodiment schematic diagram of method;
Fig. 2 is that in the embodiment of the present invention, wireless network shares another embodiment schematic diagram of method;
Fig. 3 is one embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 8 is the unified embodiment schematic diagram of communication system in the embodiment of the present invention.
Detailed description of the invention
Embodiments provide a kind of wireless network and share method and terminal, sharing of radio network configuration information can be realized safely, it is simple to other-end is connected to wireless network quickly. It is described in detail individually below.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Referring to Fig. 1, in the embodiment of the present invention, shared one embodiment of method of wireless network includes:
101, the radio network configuration information of first terminal is obtained by browser.
Namely, when needing to carry out the radio network configuration information of wireless network sharing, first terminal obtains the radio network configuration information of wireless network by browser. Specifically, browser being provided with the entrance obtaining radio network configuration information, user just can obtain radio network configuration information after clicking described entrance. In the present embodiment, first terminal can include mobile phone, PDA, notebook computer etc. and has the communication terminal of wireless networking capabilities. Radio network configuration information is the information that communication terminal obtains needed for wireless network access permission, including SSID and password etc.
102, according to the encryption rule preset, described radio network configuration information is encrypted.
Namely first terminal is after obtaining radio network configuration information, according to default encryption rule, radio network configuration information is encrypted.
103, the radio network configuration information after encryption is converted to graphic code and is illustrated on the display of described first terminal, so that described graphic code is shared to the second terminal.
Namely the radio network configuration information after encryption is encoded by first terminal according to the graphic code coded system preset, to generate graphic code. Image code is displayed after converting the radio network configuration information after encryption to graphic code by first terminal, thus the mode by radio network configuration information graphically code is shared, it is simple to other-end is connected to wireless network quickly.
In the technical scheme that the embodiment of the present invention provides, first terminal is after the radio network configuration information obtaining wireless network, first radio network configuration information is encrypted, again the radio network configuration information after encryption is converted to graphic code and shows, thus the mode by radio network configuration information graphically code is shared, it is simple to other-end is connected to wireless network quickly. Compared with prior art, the mode of radio network configuration information graphically code is carried out sharing and is easy to other-end and is connected to wireless network quickly and radio network configuration information can be avoided expressly to be displayed by the embodiment of the present invention, and by common barcode scanning client being avoided to parse radio network configuration information the encryption of radio network configuration information, cause the leakage of radio network configuration information.
Below on the basis of embodiment illustrated in fig. 1, the mode how realized radio network configuration information graphically code being described in further detail and shares, specifically refer to Fig. 2, in the embodiment of the present invention, shared another embodiment of method of wireless network includes:
201, the radio network configuration information of first terminal is obtained by browser.
In the present embodiment, first terminal can be obtained root authority, is connected to this wireless network, and now, first terminal can pass through browser and directly get the radio network configuration information of this wireless network from local profile. It is understood that first terminal can also is that other modes of employing obtain radio network configuration information, for instance sent by network side or be manually entered, specifically the acquisition mode of radio network configuration information being not construed as limiting herein. In the present embodiment, radio network configuration information is the information that communication terminal obtains needed for wireless network access permission, including SSID and password etc., it is understandable that, radio network configuration information in the present embodiment is except comprising foregoing, can further include other parameter, specifically do not limit herein.
202, radio network configuration information is generated character string according to the format module preset by first terminal.
Namely radio network configuration information is processed by first terminal according to default template, to generate character string. In the present embodiment, the format module preset can be arranged according to the needs of user, is specifically not construed as limiting herein. It is understandable that, described radio network configuration information is generated character string and is only one preferred embodiment, in actual application, first terminal can also be that radio network configuration information is generated other representations except character string, as long as graphic code generate device recognizable just can, be specifically not construed as limiting herein.
203, character string is encrypted by first terminal according to the encryption rule preset.
Namely first terminal is after generating character string by radio network configuration information, according to default encryption rule, described character string is encrypted. In the present embodiment, the encryption rule preset can be arranged according to actual needs, for instance des encryption algorithm etc., does not specifically limit herein. It is emphasized that, in the present embodiment, after character string is encrypted, even if other common barcode scanning clients obtain the character string after encryption, due to unclear deciphering rule, character string after encryption cannot be decrypted to obtain radio network configuration information, and the character string after above-mentioned encryption can only be processed as plain text.
204, first terminal is that the character string after encryption adds network address prefix.
It is understood that in the present embodiment, add network address prefix for the character string after encryption and be only one preferred embodiment, in actual application, it is also possible to be the prefix or the suffix that add other forms, be specifically not construed as limiting herein. It is emphasized that, in the present embodiment, after adding network address prefix for the character string after encryption, even if other common barcode scanning clients are added with the character string of network address prefix after obtaining encryption, owing to namely not knowing the particular meaning expressed by URL, also the character string after encryption cannot be deciphered, and can only by the character string of above-mentioned URL as common URL process.
205, the radio network configuration information after encryption is converted to graphic code and is illustrated on the display of described first terminal, so that described graphic code is shared to the second terminal.
Namely the character string being added with network address prefix after encryption is encoded by first terminal according to the graphic code coded system preset, to generate graphic code. In actual application, first terminal can generate device by graphic code and realize converting the character string being added with network address prefix after encryption to graphic code, for instance, zxing.In the present embodiment, graphic code can be the graphic code of one-dimension code, Quick Response Code or other forms, does not specifically limit herein. Image code is displayed after converting the character string being added with network address prefix after encryption to graphic code by first terminal, thus the mode by radio network configuration information graphically code is shared, it is simple to other-end is connected to wireless network quickly.
206, the second terminal obtains graphic code.
In the present embodiment, the second terminal can obtain graphic code by the mode that photographic head scans, it is to be understood that the second terminal can also adopt other modes to obtain, and does not specifically limit herein.
207, the second terminal analysis diagram shape code, is added with the character string of network address prefix after being encrypted.
Namely graphic code is decoded by first terminal according to the decoding process of corresponding graphic code, to be added with the character string of network address prefix after being encrypted.
208, the second terminal extracts the character string after encrypting.
It is emphasized that in the present embodiment, the second terminal must be mated with first terminal, and namely first terminal can recognise that the particular meaning expressed by URL, and in actual application, the second terminal and first terminal can be realized with a application software by installation.
209, the character string after encryption is decrypted by the second terminal according to the deciphering rule preset.
Namely, after second terminal character string after obtaining encryption, according to default deciphering rule, the radio network configuration information after encryption is decrypted. Such as, when first terminal adopts des encryption algorithm that character string is encrypted, the second terminal is just corresponding adopts corresponding DES decipherment algorithm that the radio network configuration information after encryption is decrypted.
210, the second terminal obtains radio network configuration information according to the format module preset from character string.
In the present embodiment, the format module preset keeps consistent with the format module preset in step 202.
211, the second terminal connects wireless network according to radio network configuration information.
Namely the second terminal connects wireless network according to radio network configuration information after obtaining radio network configuration information from character string. It should be noted that connect in the process of wireless network in the second terminal, radio network configuration information is not expressly displayed, thus the leakage of radio network configuration information can effectively be prevented.
In the technical scheme that the embodiment of the present invention provides, first terminal is after the radio network configuration information obtaining wireless network, first radio network configuration information is generated character string and character string is encrypted, network address prefix is added again for the character string after encryption, and the character string being added with network address prefix after above-mentioned encryption is converted to graphic code and shows, thus the mode by radio network configuration information graphically code is shared, it is simple to other-end is connected to wireless network quickly. Compared with prior art, the mode of radio network configuration information graphically code is carried out sharing and is easy to other-end and is connected to wireless network quickly and radio network configuration information can be avoided expressly to be displayed by the embodiment of the present invention, and by common barcode scanning client being avoided to parse radio network configuration information the encryption of radio network configuration information, cause the leakage of radio network configuration information.
For ease of understanding, with a concrete application scenarios, the wireless network described in above-described embodiment being shared method below and be described in detail, in this application scene, wireless network is WI-FI, and terminal is mobile phone.Concrete:
Mobile phone A obtains the radio network configuration information of WI-FI, and the radio network configuration information of this WI-FI includes:
SSID:Tencent-Free-Wifi;
Password: 12345678;
Cipher mode: WPA.
Radio network configuration information is generated character string: WIFI:T:[encryptiontype according to following format module by mobile phone A]; S:[networkSSID]; P:[networkpassword], thus generating character string: WIFI:T:[WPA]; S:[Tencent-Free-Wifi]; P:[12345678].
Character string is encrypted by mobile phone A according to des encryption algorithm, the character string after being encrypted: lsdj543dkfjlsdf09844_djf2dsfm.
Mobile phone A is that the character string after encryption adds network address prefix http://abc.qq.com/, is added with the character string of network address prefix after being encrypted:
http://abc.qq.com/lsdj543dkfjlsdf09844_djf2dsfm
The character string being added with network address prefix after above-mentioned encryption is converted to Quick Response Code and shows by mobile phone A.
Namely mobile phone A achieves radio network configuration information (SSID:Tencent-Free-Wifi; Password: 12345678; Cipher mode: WPA) to share in the way of Quick Response Code, it is simple to other mobile phones are connected to this WI-FI quickly.
Quick Response Code that other mobile phones (such as mobile phone B) how according to mobile phone A to show is described further below and is connected to this WI-FI, concrete:
The Quick Response Code that mobile phone B scanning cell phone A shows;
Mobile phone B resolves this Quick Response Code, is added with the character string of network address prefix after being encrypted:
http://abc.qq.com/lsdj543dkfjlsdf09844_djf2dsfm
Mobile phone B extracts the character string after encryption, obtains: lsdj543dkfjlsdf09844_djf2dsfm
Character string after above-mentioned encryption is decrypted by mobile phone B, obtains character string:
WIFI:T:[WPA]; S:[Tencent-Free-Wifi]; P:[12345678];
Mobile phone B just would know that the radio network configuration information of this WI-FI is:
SSID:Tencent-Free-Wifi;
Password: 12345678;
Cipher mode: WPA.
Mobile phone B is connected to this WI-FI according to radio network configuration information one key of this WI-FI.
Above wireless network in the embodiment of the present invention being shared method to be described, below terminal in the embodiment of the present invention is described, refers to Fig. 3, in the embodiment of the present invention, one embodiment of terminal includes:
Acquiring unit 301, for obtaining the radio network configuration information of wireless network by browser.
Ciphering unit 302, for being encrypted described radio network configuration information according to the encryption rule preset.
Converting unit 303, for converting the radio network configuration information after encryption to graphic code.
Display unit 304, is used for showing described graphic code, so that described graphic code is shared to the second terminal.
For ease of understanding, below for a concrete application scenarios, terminal inner operation workflow in the present embodiment is described:
Acquiring unit 301 obtains the radio network configuration information of wireless network, described radio network configuration information is encrypted by ciphering unit 302 according to default encryption rule, converting unit 303 converts the radio network configuration information after encryption to graphic code, display unit 304 shows described graphic code, so that described graphic code is shared to the second terminal.
In the technical scheme that the embodiment of the present invention provides, the acquiring unit 301 of terminal is after the radio network configuration information obtaining wireless network, first by ciphering unit 302, radio network configuration information is encrypted, the radio network configuration information after encryption is converted to graphic code again by converting unit 303, this graphic code is shown finally by display unit 304, thus the mode by radio network configuration information graphically code is shared, it is simple to other-end is connected to wireless network quickly.Compared with prior art, the mode of radio network configuration information graphically code is carried out sharing and is easy to other-end and is connected to wireless network quickly and radio network configuration information can be avoided expressly to be displayed by the embodiment of the present invention, and by common barcode scanning client being avoided to parse radio network configuration information the encryption of radio network configuration information, cause the leakage of radio network configuration information.
Being described in detail the concrete structure of terminal below on the basis of embodiment illustrated in fig. 3, refer to Fig. 4, in the embodiment of the present invention, another embodiment of terminal includes:
Acquiring unit 401, for obtaining the radio network configuration information of wireless network by browser.
Ciphering unit 402, for being encrypted described radio network configuration information according to the encryption rule preset.
Converting unit 403, for converting the radio network configuration information after encryption to graphic code.
Display unit 404, is used for showing described graphic code, so that described graphic code is shared to the second terminal.
In the present embodiment, described terminal also includes:
Generate unit 405, before described radio network configuration information being encrypted according to the encryption rule preset at described first terminal, according to default format module by described radio network configuration information generation character string.
Described ciphering unit 402, specifically for being encrypted described character string according to the encryption rule preset.
Described converting unit 403, specifically for converting the character string after encryption to graphic code.
Alternatively, in the present embodiment, described terminal can also include:
Adding device 406, before converting the character string after encryption to graphic code at described first terminal, adds network address prefix for the character string after encryption;
Described converting unit 403, specifically for converting the character string being added with network address prefix after encryption to graphic code.
Alternatively, in the present embodiment,
Described acquiring unit 401, specifically for obtaining described radio network configuration information when obtaining root authority from local profile.
Or,
Described acquiring unit 401, specifically for receiving network side or the described radio network configuration information of user's transmission.
In the technical scheme that the embodiment of the present invention provides, the acquiring unit 401 of terminal is after the radio network configuration information obtaining wireless network, first and character string is encrypted radio network configuration information generation character string by ciphering unit 402 by generation unit 405, it is that the character string after encryption adds network address prefix again through adding device 406, and by converting unit 403, the character string being added with network address prefix after above-mentioned encryption is converted to graphic code, this graphic code is shown finally by display unit 404, thus the mode by radio network configuration information graphically code is shared, it is easy to other-end and is connected to wireless network quickly. compared with prior art, the mode of radio network configuration information graphically code is carried out sharing and is easy to other-end and is connected to wireless network quickly and radio network configuration information can be avoided expressly to be displayed by the embodiment of the present invention, and by common barcode scanning client being avoided to parse radio network configuration information the encryption of radio network configuration information, cause the leakage of radio network configuration information.
From the angle of modular functionality entity, the terminal the embodiment of the present invention being described above, from the angle of hardware handles, the terminal the embodiment of the present invention is described below, refer to Fig. 5, in the embodiment of the present invention, another embodiment of terminal includes:
Input equipment 501, output device 502, processor 503 and memorizer 504 (wherein the quantity of the processor 503 in terminal can be one or more, for a processor 501 in Fig. 5).In some embodiments of the invention, input equipment 501, output device 502, processor 503 and memorizer 504 can pass through bus or alternate manner connects, wherein, to be connected as example by bus in Fig. 5.
Wherein,
By calling the operational order of memorizer 504 storage, processor 503, it is used for performing following steps:
Obtain the radio network configuration information of wireless network;
According to default encryption rule, described radio network configuration information is encrypted;
Convert the radio network configuration information after encryption to graphic code;
Show described graphic code, so that described graphic code is shared to the second terminal.
In some embodiments of the invention, processor 503 is additionally operable to perform following steps:
Before described radio network configuration information is encrypted by described first terminal according to the encryption rule preset, according to default format module, described radio network configuration information is generated character string;
According to default encryption rule, described character string is encrypted;
For converting the character string after encryption to graphic code.
In some embodiments of the invention, processor 503 is additionally operable to perform following steps:
Before described first terminal converts the character string after encryption to graphic code, add network address prefix for the character string after encryption;
Convert the character string being added with network address prefix after encryption to graphic code.
In some embodiments of the invention, processor 503 is specifically for performing following steps:
From local profile, described radio network configuration information is obtained when obtaining root authority;
Or,
Receive network side or the described radio network configuration information of user's transmission.
In the technical scheme that the embodiment of the present invention provides, the processor 503 of terminal is after the radio network configuration information obtaining wireless network, first radio network configuration information is encrypted, again the radio network configuration information after encryption is converted to graphic code and shows, thus the mode by radio network configuration information graphically code is shared, it is simple to other-end is connected to wireless network quickly. Compared with prior art, the mode of radio network configuration information graphically code is carried out sharing and is easy to other-end and is connected to wireless network quickly and radio network configuration information can be avoided expressly to be displayed by the embodiment of the present invention, and by common barcode scanning client being avoided to parse radio network configuration information the encryption of radio network configuration information, cause the leakage of radio network configuration information.
Below for mobile phone, the terminal in embodiment illustrated in fig. 5 being described in detail, as shown in Figure 6, for the ease of illustrating, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and refer to embodiment of the present invention method part. This terminal can for including mobile phone, panel computer, PDA (PersonalDigitalAssistant, personal digital assistant), POS (PointofSales, point-of-sale terminal), the arbitrarily terminal unit such as vehicle-mounted computer, for terminal for mobile phone:
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the terminal of embodiment of the present invention offer. With reference to Fig. 6, mobile phone includes: the parts such as memorizer 620, input block 630, display unit 640, Wireless Fidelity (wirelessfidelity, WiFi) module 670, processor 680 and power supply 690. It will be understood by those skilled in the art that the handset structure shown in Fig. 6 is not intended that the restriction to mobile phone, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 6, each component parts of mobile phone is carried out concrete introduction:
Memorizer 620 can be used for storing software program and module, and processor 680 is stored in software program and the module of memorizer 620 by running, thus performing the application of various functions and the data process of mobile phone. Memorizer 620 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function; Storage data field can store the data (such as voice data, phone directory etc.) etc. that the use according to mobile phone creates. Additionally, memorizer 620 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 630 can be used for receiving numeral or the character information of input, and produces the key signals input relevant with the user setup of mobile phone and function control. Specifically, input block 630 can include contact panel 631 and other input equipments 632. Contact panel 631, also referred to as touch screen, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 631 or near contact panel 631), and drive corresponding connecting device according to formula set in advance. Optionally, contact panel 631 can include touch detecting apparatus and two parts of touch controller. Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 680, and can receive order that processor 680 sends and be performed. Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 631. Except contact panel 631, input block 630 can also include other input equipments 632. Specifically, other input equipments 632 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 640 can be used for showing the various menus of information or the information being supplied to user and the mobile phone inputted by user. Display unit 640 can include display floater 641, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display floater 641. Further, contact panel 631 can cover display floater 641, when contact panel 631 detects thereon or after neighbouring touch operation, send processor 680 to determine the type of touch event, on display floater 641, provide corresponding visual output with preprocessor 680 according to the type of touch event. Although in figure 6, contact panel 631 and display floater 641 are to realize input and the input function of mobile phone as two independent parts, but in some embodiments it is possible to by integrated to contact panel 631 and display floater 641 and realize input and the output function of mobile phone.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to send and receive e-mail by WiFi module 670, browse webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed.Although Fig. 6 illustrates WiFi module 670, but it is understood that, it is also not belonging to must be configured into of mobile phone, completely can as needed in do not change invention essence scope in and omit.
Processor 680 is the control centre of mobile phone, utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in memorizer 620 and/or module by running or performing, and call the data being stored in memorizer 620, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring. Optionally, processor 680 can include one or more processing unit; Preferably, processor 680 can integrated application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Mobile phone also includes the power supply 690 (such as battery) powered to all parts, preferably, it is logically contiguous with processor 680 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the processor 680 included by this terminal also has following functions:
Obtain the radio network configuration information of wireless network;
According to default encryption rule, described radio network configuration information is encrypted;
Convert the radio network configuration information after encryption to graphic code;
Show described graphic code, so that described graphic code is shared to the second terminal.
In some embodiments of the invention, processor 680 is additionally operable to perform following steps:
Before described radio network configuration information is encrypted by described first terminal according to the encryption rule preset, according to default format module, described radio network configuration information is generated character string;
According to default encryption rule, described character string is encrypted;
For converting the character string after encryption to graphic code.
In some embodiments of the invention, processor 680 is additionally operable to perform following steps:
Before described first terminal converts the character string after encryption to graphic code, add network address prefix for the character string after encryption;
Convert the character string being added with network address prefix after encryption to graphic code.
Embodiment shown in Fig. 3 to Fig. 6 is from the angle how realizing the mode of radio network configuration information graphically code carries out share to describe the concrete structure of terminal, by being connected to the angle of wireless network from how according to graphic code, the concrete structure of terminal is described below, specifically referring to Fig. 7, in the embodiment of the present invention, another embodiment of terminal includes:
Acquiring unit 701, is used for obtaining graphic code;
Resolution unit 702, is used for resolving described graphic code, obtains the radio network configuration information through encryption;
Decryption unit 703, for being decrypted the described radio network configuration information through encryption according to the deciphering rule preset;
Connect unit 704, for connecting wireless network according to the radio network configuration information after deciphering.
For ease of understanding, below for a concrete application scenarios, terminal inner operation workflow in the present embodiment is described:
Acquiring unit 701 obtains graphic code, resolution unit 702 resolves described graphic code, obtain the radio network configuration information through encryption, the described radio network configuration information through encryption is decrypted by decryption unit 703 according to default deciphering rule, connects unit 704 and connects wireless network according to the radio network configuration information after deciphering.
In the technical scheme that the embodiment of the present invention provides, after the acquiring unit 701 of terminal obtains graphic code, by resolution unit 702, graphic code is resolved, to obtain the radio network configuration information of encryption, according to default deciphering rule, the radio network configuration information through encryption is decrypted by decryption unit 703, and connects wireless network by connecting unit 704 according to the radio network configuration information after deciphering. Compared with prior art, the embodiment of the present invention can be passed through to obtain graphic code and is connected to wireless network quickly and radio network configuration information can be avoided expressly to be displayed, and it is configured with the deciphering scheme to the radio network configuration information through encryption, common barcode scanning client can be avoided to parse radio network configuration information, cause the leakage of radio network configuration information.
Above wireless network in the embodiment of the present invention being shared method and terminal is described, below communication system in the embodiment of the present invention is described, refers to Fig. 8, in the embodiment of the present invention, the unified embodiment of communication system includes:
Described first terminal 801, for obtaining the radio network configuration information of wireless network, according to default encryption rule, described radio network configuration information is encrypted, convert the radio network configuration information after encryption to graphic code, show described graphic code, so that described graphic code is shared to the second terminal.
Described second terminal 802, for obtaining described graphic code, resolve described graphic code, obtain the radio network configuration information after described encryption, according to default deciphering rule, the radio network configuration information after described encryption is decrypted, connects described wireless network according to the radio network configuration information after deciphering.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way. Such as, device embodiment described above is merely schematic, such as, the division of described unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform. Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE. Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit. Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium. Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The above, above example only in order to technical scheme to be described, is not intended to limit; Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent replacement; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a radio network configuration shares method, it is characterised in that including:
The radio network configuration information of first terminal is obtained by browser;
According to default encryption rule, described radio network configuration information is encrypted;
Radio network configuration information after encryption is converted to graphic code and is illustrated on the display of described first terminal, so that described graphic code is shared to the second terminal.
2. wireless network as claimed in claim 1 shares method, it is characterised in that the encryption rule preset in described basis also includes before described radio network configuration information is encrypted:
Described radio network configuration information is generated character string according to the format module preset by described first terminal;
Then described first terminal according to the encryption rule preset described radio network configuration information is encrypted particularly as follows:
Described character string is encrypted by described first terminal according to the encryption rule preset;
Described first terminal by encryption after radio network configuration information convert graphic code to particularly as follows:
Described first terminal converts the character string after encryption to graphic code.
3. wireless network as claimed in claim 2 shares method, it is characterised in that described radio network configuration information after encryption converted to graphic code and is illustrated on the display of described first terminal before also include:
Described first terminal is that the character string after encryption adds network address prefix;
Then the character string after encryption is converted to graphic code and includes by described first terminal:
Described first terminal converts the character string being added with network address prefix after encryption to graphic code.
4. wireless network as claimed in claim 1 shares method, it is characterised in that described radio network configuration information after encryption converted to graphic code and is illustrated on the display of described first terminal after also include:
Second terminal obtains described graphic code;
Described second terminal resolves described graphic code, obtains the radio network configuration information after described encryption;
Radio network configuration information after described encryption is decrypted by described second terminal according to the deciphering rule preset;
Described second terminal connects described wireless network according to the radio network configuration information after deciphering.
5. in Claims 1-4 as described in any one connect wireless network method, it is characterised in that described first terminal obtain wireless network radio network configuration information include:
Described first terminal obtains described radio network configuration information when obtaining root authority from local profile;
Or,
Described first terminal receives network side or the described radio network configuration information of user's transmission.
6. in Claims 1-4 as described in any one connect wireless network method, it is characterised in that described graphic code is one-dimension code or Quick Response Code.
7. a terminal, it is characterised in that including:
Acquiring unit, for obtaining the radio network configuration information of wireless network by browser;
Ciphering unit, for being encrypted described radio network configuration information according to the encryption rule preset;
Converting unit, for converting the radio network configuration information after encryption to graphic code;
Display unit, is used for showing described graphic code, so that described graphic code is shared to the second terminal.
8. terminal as claimed in claim 7, it is characterised in that described terminal also includes:
Generate unit, before described radio network configuration information being encrypted according to the encryption rule preset at described first terminal, according to default format module by described radio network configuration information generation character string;
Described ciphering unit, specifically for being encrypted described character string according to the encryption rule preset;
Described converting unit, specifically for converting the character string after encryption to graphic code.
9. terminal as claimed in claim 8, it is characterised in that also include:
Adding device, before converting the character string after encryption to graphic code at described first terminal, adds network address prefix for the character string after encryption;
Described converting unit, specifically for converting the character string being added with network address prefix after encryption to graphic code.
10. the terminal as described in any one in claim 7 to 9, it is characterised in that
Described acquiring unit, specifically for obtaining described radio network configuration information when obtaining root authority from local profile;
Or,
Described acquiring unit, specifically for receiving network side or the described radio network configuration information of user's transmission.
CN201410657346.9A 2014-11-18 2014-11-18 Wireless network sharing method and terminal Active CN105682088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410657346.9A CN105682088B (en) 2014-11-18 2014-11-18 Wireless network sharing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410657346.9A CN105682088B (en) 2014-11-18 2014-11-18 Wireless network sharing method and terminal

Publications (2)

Publication Number Publication Date
CN105682088A true CN105682088A (en) 2016-06-15
CN105682088B CN105682088B (en) 2020-08-04

Family

ID=56945556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410657346.9A Active CN105682088B (en) 2014-11-18 2014-11-18 Wireless network sharing method and terminal

Country Status (1)

Country Link
CN (1) CN105682088B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012270A (en) * 2017-12-27 2018-05-08 努比亚技术有限公司 A kind of method of information processing, equipment and computer-readable recording medium
CN108601062A (en) * 2018-06-29 2018-09-28 努比亚技术有限公司 WiFi connections sharing method, terminal and computer storage media
CN109618316A (en) * 2018-11-29 2019-04-12 努比亚技术有限公司 Network share method, mobile terminal and storage medium
WO2022048125A1 (en) * 2020-09-06 2022-03-10 Oppo广东移动通信有限公司 Information processing method and apparatus, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7565322B1 (en) * 2000-03-29 2009-07-21 Enliven Marketing Technologies Corporation Systems and methods for serverless software licensing
CN101827365A (en) * 2009-03-06 2010-09-08 希姆通信息技术(上海)有限公司 Device and method for Internet surfing control of mobile terminal
CN102571969A (en) * 2012-01-19 2012-07-11 百度在线网络技术(北京)有限公司 Method, device, equipment and system for acquiring network access identification information in webpage
CN102724668A (en) * 2012-06-15 2012-10-10 惠州Tcl移动通信有限公司 Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs
CN102811426A (en) * 2011-05-30 2012-12-05 网秦无限(北京)科技有限公司 Method and system for cryptographically sending and receiving messages of mobile device
EP2549709A1 (en) * 2011-07-21 2013-01-23 British Telecommunications Public Limited Company Address allocation system
CN102930015A (en) * 2012-10-31 2013-02-13 百度在线网络技术(北京)有限公司 Method and equipment for providing search results on mobile terminals

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7565322B1 (en) * 2000-03-29 2009-07-21 Enliven Marketing Technologies Corporation Systems and methods for serverless software licensing
CN101827365A (en) * 2009-03-06 2010-09-08 希姆通信息技术(上海)有限公司 Device and method for Internet surfing control of mobile terminal
CN102811426A (en) * 2011-05-30 2012-12-05 网秦无限(北京)科技有限公司 Method and system for cryptographically sending and receiving messages of mobile device
EP2549709A1 (en) * 2011-07-21 2013-01-23 British Telecommunications Public Limited Company Address allocation system
CN102571969A (en) * 2012-01-19 2012-07-11 百度在线网络技术(北京)有限公司 Method, device, equipment and system for acquiring network access identification information in webpage
CN102724668A (en) * 2012-06-15 2012-10-10 惠州Tcl移动通信有限公司 Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs
CN102930015A (en) * 2012-10-31 2013-02-13 百度在线网络技术(北京)有限公司 Method and equipment for providing search results on mobile terminals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012270A (en) * 2017-12-27 2018-05-08 努比亚技术有限公司 A kind of method of information processing, equipment and computer-readable recording medium
CN108601062A (en) * 2018-06-29 2018-09-28 努比亚技术有限公司 WiFi connections sharing method, terminal and computer storage media
CN108601062B (en) * 2018-06-29 2020-12-18 南京投知科技有限公司 WiFi connection sharing method, terminal and computer storage medium
CN109618316A (en) * 2018-11-29 2019-04-12 努比亚技术有限公司 Network share method, mobile terminal and storage medium
WO2022048125A1 (en) * 2020-09-06 2022-03-10 Oppo广东移动通信有限公司 Information processing method and apparatus, device and storage medium

Also Published As

Publication number Publication date
CN105682088B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN105933904B (en) Network connection method and device
CN104202745B (en) A kind of shared method, terminal and communication system of radio network configuration information
CN111585760B (en) Key retrieving method, device, terminal and readable medium
RU2628488C2 (en) Method, terminal device and server for nfc data transfer
CN110417543B (en) Data encryption method, device and storage medium
CN105704837B (en) Method and equipment for establishing wireless connection
CN103561072B (en) A kind of cloud data processing method based on the Internet and cloud DPF
WO2017185711A1 (en) Method, apparatus and system for controlling smart device, and storage medium
CN104376353A (en) Two-dimension code generating method, terminal and server and two-dimension code reading method, terminal and server
CN103634109A (en) Operation right authentication method and device
CN103731810A (en) Access point sharing method and device
CN104519197A (en) User login method, user login device and terminal devices
CN105025486A (en) Network connection method and user equipment
CN103634294A (en) Information verifying method and device
CN103294515A (en) Method, device and system for acquiring application programs
CN106790009B (en) Information processing method and device and mobile terminal
US9525667B2 (en) Method and system for roaming website account and password
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN107911818B (en) Method and device for data transmission between mobile terminals and mobile terminal
CN104426963A (en) Terminal associating method and terminal
CN106550361B (en) Data transmission method, equipment and computer readable storage medium
CN105162591A (en) Equipment registration method and device
CN104954126A (en) Sensitive operation verification method, device and system
CN105682088A (en) Wireless network sharing method and terminal
CN103607377B (en) Information sharing method, Apparatus and system

Legal Events

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