CN104753690A - Information processing method and electronic devices - Google Patents

Information processing method and electronic devices Download PDF

Info

Publication number
CN104753690A
CN104753690A CN201510085115.XA CN201510085115A CN104753690A CN 104753690 A CN104753690 A CN 104753690A CN 201510085115 A CN201510085115 A CN 201510085115A CN 104753690 A CN104753690 A CN 104753690A
Authority
CN
China
Prior art keywords
bag
udp
beacon
packet sequence
broadcast
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
CN201510085115.XA
Other languages
Chinese (zh)
Other versions
CN104753690B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510085115.XA priority Critical patent/CN104753690B/en
Publication of CN104753690A publication Critical patent/CN104753690A/en
Application granted granted Critical
Publication of CN104753690B publication Critical patent/CN104753690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an information processing method and electronic devices. When the first electronic device is connected with a network, the method includes the steps of storing access information and the login password of the network, coding the access information to obtain an access information coding sequence corresponding to the access information, coding the login password to obtain a password coding sequence corresponding to the login password, establishing a broadcasting signal on the basis of the access information coding sequence and the password coding sequence, and sending the broadcasting signal so that at least one second electronic device which is in the interception state can obtain the broadcasting signal. The method is used for solving the technical problem that in the prior art, the operation process is complex when the electronic devices have access to the network, and the technical effect of simplifying the operation when the electronic devices have access to the network is achieved.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, the method for particularly a kind of information processing and electronic equipment.
Background technology
Along with the development of science and technology, the use of network is more and more universal, in the prior art, if when electronic equipment will be accessed a network, need user to select this network of network title, and manually input the login password of this network, if password is correct, electronic equipment just accesses this network.
Present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art at least exists following technical problem:
Due in the prior art, electronic equipment needs when access network select network of network title and input login password, like this, when electronic equipment needs to be connected to different networks, all want user manually select and input at every turn, visible, when there is electronic equipment access network in prior art, the technical problem that operating process is loaded down with trivial details.
Due in the prior art, electronic equipment needs when access network select network of network title and input login password, if do not know the login password of this network, then can not access this network, visible, prior art exists when not knowing the login password of network, and electronic equipment cannot the technical problem of access network.
Summary of the invention
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solve prior art there is electronic equipment access network time, the technical problem that operating process is loaded down with trivial details, achieves the technique effect of simple operation during electronic equipment access network.
The embodiment of the present application provides a kind of information processing method, is applied in the first electronic equipment, and when described first electronic equipment and network connect, described method comprises:
Preserve access information and the login password of described network;
Described access information is encoded, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password;
Based on described access information coded sequence and described cipher coding sequence, build a broadcast singal;
Send described broadcast singal, obtain described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
Optionally, before described transmission broadcast singal, described method also comprises:
With a pre-defined rule, described broadcast singal is encrypted, obtains encrypted broadcast signals;
Described transmission broadcast singal, specifically comprises:
Send described encrypted broadcast signals at least one second electronic equipment described, when described encrypted broadcast signals being decrypted based on described pre-defined rule to enable at least one second electronic equipment described, obtain described broadcast singal.
Optionally, described described access information to be encoded, obtains the access information coded sequence corresponding with described access information, specifically comprise:
Based on the first coding rule, described access information is encoded, obtain the first coding result;
Described first coding result is processed, obtains the described access information coded sequence of decimal format;
Accordingly, described described login password to be encoded, obtains the cipher coding sequence corresponding with described login password, specifically comprise:
Based on described first coding rule, described login password is encoded, obtain the second coding result;
Described second coding result is processed, obtains the described cipher coding sequence of decimal format.
Optionally, described, described access information is encoded, obtain the access information coded sequence corresponding with described access information; And described login password is encoded, after obtaining the cipher coding sequence corresponding with described login password, described method also comprises:
Based on described access information coded sequence, build the UDP packet sequence comprising described access information; And
Based on described cipher coding sequence, build the 2nd UDP packet sequence comprising described login password;
Wherein, the sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in a described UDP packet sequence is long and described access information coded sequence; Sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in described 2nd UDP packet sequence is long and described cipher coding sequence.
Optionally, described based on described access information coded sequence and described cipher coding sequence, before building a broadcast singal, described method also comprises:
Obtain the described UDP of transmission and wrap the maximum data length allowed;
Determine a foundation length value;
Determine a beacon length;
Wherein, described foundation length should be less than the difference of described maximum data length and described beacon length, and described beacon length should be greater than 16 and be less than the difference of described maximum data length and described foundation length.
Optionally, described based on described access information coded sequence and described cipher coding sequence, build a broadcast singal, specifically comprise:
Build beacon UDP bag, the length value of the bag length that described beacon UDP wraps is described beacon length, and described beacon UDP wraps the beginning for representing a described UDP packet sequence or described 2nd UDP packet sequence transmission;
Combine described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal.
Optionally, described combination described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal, specifically comprise:
Based on described foundation length, the bag progress line translation that the UDP that the bag of the UDP bag that the bag wrapped described beacon UDP is long, a described UDP packet sequence comprises is long, described 2nd UDP packet sequence comprises wraps, obtains the UDP packet sequence after the beacon UDP bag after the long conversion of bag, the long conversion of bag and the 2nd UDP packet sequence after the conversion of bag length;
Wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal.
Optionally, describedly to wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal, specifically comprise:
The first continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described first described bag of continuous number of broadcast times broadcast, the UDP packet sequence after the long conversion of described bag starts transmission;
The second continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described second described bag of continuous number of broadcast times broadcast, the 2nd UDP packet sequence after the long conversion of described bag starts transmission;
Combine that the beacon UDP after with the long conversion of described bag of the described first continuous number of broadcast times broadcast wraps, a UDP packet sequence after the long conversion of described bag, to wrap with the beacon UDP after the long conversion of described bag of the described second continuous number of broadcast times broadcast and described bag length convert after the 2nd UDP packet sequence, build described broadcast singal.
Optionally, the described broadcast singal of described transmission, to enable at least one second electronic equipment being in the state of intercepting obtain described broadcast singal, specifically comprises:
Send that the beacon UDP after by the long conversion of described bag broadcasted with the described first continuous number of broadcast times wraps, a UDP packet sequence after the long conversion of described bag, beacon UDP after the long conversion of described bag broadcasted with the described second continuous number of broadcast times wrap and described bag is long convert after the broadcast singal of the 2nd UDP packet sequence structure, obtain described broadcast singal to enable to be at least one second electronic equipment described in the state of intercepting.
The embodiment of the present application also provides a kind of electronic equipment, comprising:
Memory, for when described first electronic equipment and network connect, preserves access information and the login password of described network;
Encoder, for encoding to described access information, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password;
Processor, for based on described access information coded sequence and described cipher coding sequence, builds a broadcast singal;
Sender unit, for sending described broadcast singal, obtains described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
Optionally, described encoder, also for being encrypted described broadcast singal with a pre-defined rule, obtains encrypted broadcast signals.
Optionally, described sender unit is also for sending described encrypted broadcast signals at least one second electronic equipment described, when described encrypted broadcast signals being decrypted based on described pre-defined rule to enable at least one second electronic equipment described, obtain described broadcast singal.
Optionally, described encoder is used for based on the first coding rule, encodes, obtain the first coding result to described access information; Described first coding result is processed, obtains the described access information coded sequence of decimal format; And based on described first coding rule, described login password is encoded, obtain the second coding result; Described second coding result is processed, obtains the described cipher coding sequence of decimal format.
Optionally, described processor is used for based on described access information coded sequence, builds the UDP packet sequence comprising described access information; And based on described cipher coding sequence, build the 2nd UDP packet sequence comprising described login password;
Wherein, the sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in a described UDP packet sequence is long and described access information coded sequence; Sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in described 2nd UDP packet sequence is long and described cipher coding sequence.
Optionally, described processor wraps for obtaining the described UDP of transmission the maximum data length allowed; Determine a foundation length value; Determine a beacon length;
Wherein, described foundation length should be less than the difference of described maximum data length and described beacon length, and described beacon length should be greater than 16 and be less than the difference of described maximum data length and described foundation length.
Optionally, described processor wraps for building beacon UDP, and the length value of the bag length that described beacon UDP wraps is described beacon length, and described beacon UDP wraps the beginning for representing a described UDP packet sequence or described 2nd UDP packet sequence transmission; Combine described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal.
Optionally, described processor is used for based on described foundation length, the bag progress line translation that the UDP that the bag of the UDP bag that the bag wrapped described beacon UDP is long, a described UDP packet sequence comprises is long, described 2nd UDP packet sequence comprises wraps, obtains the UDP packet sequence after the beacon UDP bag after the long conversion of bag, the long conversion of bag and the 2nd UDP packet sequence after the conversion of bag length; Wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal.
Optionally, described processor is for arranging the first continuous number of broadcast times of the beacon UDP bag after the long conversion of described bag; Wherein, after wrapping with the beacon UDP after the long conversion of the described first described bag of continuous number of broadcast times broadcast, the UDP packet sequence after the long conversion of described bag starts transmission; The second continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described second described bag of continuous number of broadcast times broadcast, the 2nd UDP packet sequence after the long conversion of described bag starts transmission; Combine that the beacon UDP after with the long conversion of described bag of the described first continuous number of broadcast times broadcast wraps, a UDP packet sequence after the long conversion of described bag, to wrap with the beacon UDP after the long conversion of described bag of the described second continuous number of broadcast times broadcast and described bag length convert after the 2nd UDP packet sequence, build described broadcast singal.
Optionally, for sending, the beacon UDP after by the long conversion of described bag broadcasted with the described first continuous number of broadcast times wraps described sender unit, a UDP packet sequence after the long conversion of described bag, beacon UDP after the long conversion of described bag broadcasted with the described second continuous number of broadcast times wrap and the broadcast singal of the 2nd UDP packet sequence structure after the long conversion of described bag, obtains described broadcast singal to enable to be at least one second electronic equipment described in the state of intercepting.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
One, the electronic equipment that scheme in the embodiment of the present application passes through access network sends the broadcast singal including access information and login password information, the electronic equipment of network to be accessed passes through to receive this broadcast singal and the access information and the login password that obtain this network, realize automatically being connected into network, and do not need manually to select access information and scorpio login password, visible, scheme in the embodiment of the present application effectively solves prior art when there is electronic equipment access network, the technical problem that operating process is loaded down with trivial details, achieve the technique effect of simple operation during electronic equipment access network.
Two, the broadcast singal including access information and login password information that the electronic equipment that scheme in the embodiment of the present application receives access network by the electronic equipment of network to be accessed sends, thus obtain access information and the login password of this network, automatically network is signed in, and need not as first must knowing the access information of access network in the prior art and logging in close, then code inputs, therefore, scheme in the embodiment of the present application effectively solves prior art to be existed when not knowing the login password of network, electronic equipment cannot the technical problem of access network, achieve the technique effect that access information without the need to knowing access network and login password can be connected into access network.
Three, the scheme in the embodiment of the present application is encrypted by the broadcast singal sent the electronic equipment of access network, only have the electronic equipment that can be decrypted this encrypted broadcast signals could obtain access information and the login password of network from broadcast singal, the electronic equipment that cannot be decrypted this encrypted broadcast signals then can not access this network, therefore, the scheme in the embodiment of the present application achieves the technique effect of the fail safe ensureing access network.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the present application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The flow chart of a kind of information processing method that Fig. 1 provides for the embodiment of the present application one;
Fig. 2 A ~ Fig. 2 B is the specific implementation flow chart of step S102 in the embodiment of the present application one;
Fig. 3 is the specific implementation flow chart of step S103 in the embodiment of the present application one;
Fig. 4 is the specific implementation flow chart of step S302 in the embodiment of the present application one;
The block diagram of a kind of electronic equipment that Fig. 5 provides for the embodiment of the present application two.
Embodiment
The embodiment of the present application provides a kind of information processing method and electronic equipment, for solve prior art there is electronic equipment access network time, the technical problem that operating process is loaded down with trivial details, achieves the technique effect of simple operation during electronic equipment access network.
Technical scheme in the embodiment of the present application is solve above-mentioned technical problem, and general thought is as follows:
There is provided a kind of information processing method, be applied in the first electronic equipment, when described first electronic equipment and network connect, described method comprises: access information and the login password of preserving described network; Described access information is encoded, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password; Based on described access information coded sequence and described cipher coding sequence, build a broadcast singal; Send described broadcast singal, obtain described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
In technique scheme, the broadcast singal including access information and login password information is sent by the electronic equipment of access network, the electronic equipment of network to be accessed passes through to receive this broadcast singal and the access information and the login password that obtain this network, realize automatically being connected into network, and do not need manually to select access information and scorpio login password, visible, scheme in the embodiment of the present application effectively solves prior art when there is electronic equipment access network, the technical problem that operating process is loaded down with trivial details, achieve the technique effect of simple operation during electronic equipment access network.
In order to better understand technique scheme, below by accompanying drawing and specific embodiment, technical scheme is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical scheme, instead of the restriction to technical scheme, when not conflicting, the technical characteristic in the embodiment of the present application and embodiment can combine mutually.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application provides a kind of information processing method, is applied in the first electronic equipment, and when described first electronic equipment and network connect, described method comprises:
S101: access information and the login password of preserving described network;
S102: encode to described access information, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password;
S103: based on described access information coded sequence and described cipher coding sequence, build a broadcast singal;
S104: send described broadcast singal, obtains described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
In specific implementation process, described first electronic equipment can be access network mobile phone, computer, panel computer etc., described second electronic equipment is the electronic equipment such as mobile phone, computer of this network to be accessed, this network can be cable network, also can be wireless network, in the embodiment of the present application, will be mobile phone with the first electronic equipment, second electronic equipment is panel computer is example, is described in detail the implementation procedure of the method in the embodiment of the present application.
First, step S101 is performed: access information and the login password of preserving described network.
Specifically, when described mobile phone has been connected into a network, preserve access information and the login password of this network, the access information as this network is APNODE, and password is PASSWORD, then corresponding information is saved to the memory of described mobile phone.
Following execution step S102: encode to described access information, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password.
Please refer to Fig. 2 A, the specific implementation obtaining access information coded sequence is as follows:
S1021: based on the first coding rule, encodes to described access information, obtains the first coding result;
S1022: process described first coding result, obtains the described access information coded sequence of decimal format.
Please refer to Fig. 2 B, the specific implementation obtaining cipher coding sequence is as follows:
S1023: based on described first coding rule, described login password is encoded, obtain the second coding result;
S1024: process described second coding result, obtains the described cipher coding sequence of decimal format.
In specific implementation process, described first coding rule can be ASCII 16 scale coding, UTF-8 coding, and GBK encodes, and also can be other coding rule, in the embodiment of the present application, take coding rule as ASCII 16 scale coding is example.
Still continue to use example above, ASCII 16 scale coding is carried out to the access information APNODE of network, obtain described first coding result: 0x41, 0x50, 0x4e, 0x4f, 0x44, 0x45, next, each coding in first coding result is processed, concrete, because the coding result obtained according to ASCII 16 scale coding is 8bit, a decimal system conversion can be carried out to every 4bit, namely the high 4 and low 4 of each coding is got respectively, decimal format is converted to again by high 4 and low 4, based on this method, the first coding result is processed, obtain the access information coded sequence of decimal format: 4, 1, 5, 0, 4, 14, 4, 15, 4, 4, 4, 5.
Accordingly, ASCII 16 scale coding is carried out to the login password PASSWORD of network, obtain described second coding result: 0x50,0x41,0x53,0x53,0x57,0x4f, 0x51,0x44, high 4 and low 4 to each coding in the second coding result are carried out decimal system conversion, obtain the cipher coding sequence after decimal system conversion: 5,0,4,1,5,3,5,3,5,7,4,15,5, Isosorbide-5-Nitrae, 4.
After execution of step S102, the scheme in the embodiment of the present application also comprises:
Step one: based on described access information coded sequence, builds the UDP packet sequence comprising described access information; And
Step 2: based on described cipher coding sequence, builds the 2nd UDP packet sequence comprising described login password;
Wherein, the sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in a described UDP packet sequence is long and described access information coded sequence; Sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in described 2nd UDP packet sequence is long and described cipher coding sequence.
In specific implementation process, User Datagram Protoco (UDP) (udp protocol) is adopted to carry out transfer of data, based on information coding sequence and cipher coding sequence, with UDP message bag for carrier, build a described UDP packet sequence and affiliated 2nd UDP packet sequence.
Still continue to use example above, the access information coded sequence of network is: 4, 1, 5, 0, 4, 14, 4, 15, 4, 4, 4, 5, wherein, the bag that each encoded radio correspond to a UDP bag is long, as the Bao Changwei 4 that the UDP corresponding with encoded radio 4 wraps, be the Bao Changwei 1 that 1 corresponding UDP wraps with encoded radio, because the quantity of the UDP bag comprised in a UDP packet sequence is identical with the quantity of the coding comprised in access information coded sequence, in the embodiment of the present application, 12 codings are altogether included in access information coded sequence, therefore, also 12 UDP bags are included in one UDP packet sequence, wherein, Bao Changyu 12 encoded radios of 12 UDP bags are one to one.
Further, continue the example continued to use above, cipher coding sequence: 5,0,4,1,5,3,5,3,5,7,4,15,5, Isosorbide-5-Nitrae, 4, wherein, the bag that each encoded radio correspond to each UDP bag in the 2nd UDP packet sequence is long, and as first encoded radio 5 of cipher coding sequence, so in the 2nd UDP packet sequence, the bag length of first UDP bag is also 5, second encoded radio of cipher coding sequence is 0, so in the 2nd UDP packet sequence, the bag length of second UDP bag is also 0, by that analogy, builds the 2nd UDP packet sequence.
Further, before execution step S103, described method also comprises:
Obtain the described UDP of transmission and wrap the maximum data length allowed;
Determine a foundation length value;
Determine a beacon length;
Wherein, described foundation length should be less than the difference of described maximum data length and described beacon length, and described beacon length should be greater than 16 and be less than the difference of described maximum data length and described foundation length.
Accordingly, please refer to Fig. 3, step S103: based on described access information coded sequence and described cipher coding sequence, build a broadcast singal, specific implementation process is as follows:
S301: build beacon UDP bag, the length value of the bag length that described beacon UDP wraps is described beacon length, and described beacon UDP wraps the beginning for representing a described UDP packet sequence or described 2nd UDP packet sequence transmission;
S302: combine described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal.
Wherein, as shown in Figure 4, step S302 specifically comprises:
S401: based on described foundation length, the bag progress line translation that the UDP that the bag of the UDP bag that the bag wrapped described beacon UDP is long, a described UDP packet sequence comprises is long, described 2nd UDP packet sequence comprises wraps, obtains the UDP packet sequence after the beacon UDP bag after the long conversion of bag, the long conversion of bag and the 2nd UDP packet sequence after the conversion of bag length;
S402: to wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, builds described broadcast singal.
In specific implementation process, broadcast singal constructed by described first electronic equipment is made up of following several part: beacon broadcast part, access information broadcast segment, login password broadcast segment, wherein, the information that beacon broadcast part is used for identification of broadcast signal starts, or for distinguishing access information broadcasting part and login password broadcast segment, therefore, except building the UDP packet sequence including access information and the 2nd UDP packet sequence containing login password, also to build beacon UDP and wrapping.First, determine that the bag that beacon UDP wraps is long, namely beacon length is determined, carry out in the process of ASCII16 scale coding due to above-mentioned to access information and login password, every 4bit of the coding result of access information and login password is carried out a decimal system conversion, the metric maximum corresponding due to 4bit in coding is 16, namely in a UDP packet sequence and the 2nd UDP packet sequence, the bag of each UDP bag is long is 16 to the maximum, in order to distinguish coded message and beacon message, therefore, beacon length can be selected to wrap for being greater than 16 and being less than UDP the maximum data length allowed, namely the Bao Changwei that beacon UDP wraps is greater than 16 and is less than UDP and wraps the maximum data length allowed, in the embodiment of the present application, getting beacon length is 23, certainly, those skilled in the art can select beacon length according to actual needs, the application is not specifically limited.
Further, above-mentioned to access information and login password carry out coding obtain access information coded sequence and cipher coding sequence time, the situation that encoded radio is 0 is all included in access information coded sequence and cipher coding sequence, like this, be the bag length that 0 corresponding UDP wraps with encoded radio be also 0, when carrying out the transmission of UDP packet sequence, if the Bao Changwei 0 of UDP bag, just mean that there is not this UDP wraps, therefore, the coded message corresponding to UDP bag of Bao Changwei 0 will be lost, the access information that the electronic equipment of network to be accessed decodes out and login password just there will be mistake.In order to avoid coded message is lost, a foundation length value can be determined, as length value based on selecting 5, this foundation length value is all added on the bag of all UDP bag comprised at broadcast singal is long, still continue to use example above, the bag long value of the UDP bag comprised in the one UDP packet sequence is: 4, 1, 5, 0, 4, 14, 4, 15, 4, 4, 4, 5, each bag long value adds foundation length value, the UDP packet sequence after the long conversion of bag can be obtained, now, the bag long value of the UDP bag comprised in the UDP packet sequence after the long conversion of bag is: 9, 6, 10, 5, 9, 19, 9, 20, 9, 9, 9, 10, doing so avoids the situation appearance that bag long value is 0, accordingly, the bag long value of the UDP bag comprised in the 2nd UDP packet sequence adds foundation length value respectively, the 2nd UDP packet sequence after wrapping long conversion can be obtained: 10, 5, 9, 6, 10, 8, 10, 8, 10, 12, 9, 20, 10, 6, 9, 9, and foundation length value is added on the bag long value of beacon UDP bag, obtain the beacon UDP after wrapping long conversion and wrap, bag long value is 28.
For step S402, specific implementation is as follows:
The first continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described first described bag of continuous number of broadcast times broadcast, the UDP packet sequence after the long conversion of described bag starts transmission;
The second continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described second described bag of continuous number of broadcast times broadcast, the 2nd UDP packet sequence after the long conversion of described bag starts transmission;
Combine that the beacon UDP after with the long conversion of described bag of the described first continuous number of broadcast times broadcast wraps, a UDP packet sequence after the long conversion of described bag, to wrap with the beacon UDP after the long conversion of described bag of the described second continuous number of broadcast times broadcast and described bag length convert after the 2nd UDP packet sequence, build described broadcast singal.
In specific implementation process, grow the UDP packet sequence after converting to distinguish the bag including access information and include the 2nd UDP packet sequence after the long conversion of bag of login password, can insert before a UDP packet sequence after the long conversion of bag and the 2nd UDP packet sequence after the long conversion of bag bag length convert after beacon UDP wrap, and the continuous number of broadcast times that the beacon UDP after the long conversion of bag wraps is set, as the beacon UDP after the long conversion of insert continually 4 bags before the UDP packet sequence after the long conversion of bag wraps, beacon UDP before the 2nd UDP packet sequence after the long conversion of bag after the long conversion of insert continually 2 bags wraps, like this, the information sent after the number of broadcast times just can wrapped according to the beacon UDP after the long conversion of bag judges beacon broadcast is access information or logs in encrypted message, according to the method for the described broadcast singal of above-mentioned structure, just the long broadcast singal carrying access information and login password information of bag can be constructed, continue to use example above, can obtain for access information is APNODE, the bag long value of the described broadcast singal of login password corresponding to PASSWORD is: (4 beacon broadcasts) 28, 28, 28, 28, (including the long sequence of bag of access information) 9, 6, 10, 5, 9, 19, 9, 20, 9, 9, 9, 10, (2 beacon broadcasts) 28, 28, (including the long sequence of bag of login password) 10, 5, 9, 6, 10, 8, 10, 8, 10, 12, 9, 20, 10, 6, 9, 9, (4 beacon broadcasts) 28, 28, 28, 28, 4 times last beacon broadcasts show that broadcast terminates, the bag length of wrapping owing to adopting UDP in the application is used as the carrier of beacon, access information and login password, data in UDP bag are not specifically limited, data in UDP bag can be stochastic generation, also can come specifically to arrange by actual needs, the application does not limit.
Next, step S104 is performed: send described broadcast singal, to enable at least one second electronic equipment being in the state of intercepting obtain described broadcast singal, specific implementation process is as follows:
Send that the beacon UDP after by the long conversion of described bag broadcasted with the described first continuous number of broadcast times wraps, a UDP packet sequence after the long conversion of described bag, beacon UDP after the long conversion of described bag broadcasted with the described second continuous number of broadcast times wrap and described bag is long convert after the broadcast singal of the 2nd UDP packet sequence structure, obtain described broadcast singal to enable to be at least one second electronic equipment described in the state of intercepting.
Specifically, still continue to use example above, when the first electronic equipment sends described broadcast singal to the second electronic equipment, according to the number of broadcast times of beacon, second electronic equipment first can determine that the bag long value of which UDP bag carries access information, the bag long value of which UDP bag carries login password, then foundation length value is deducted to the bag long value of the UDP bag carrying access information and login password, decode again, obtain access information and login password, last based on access information and login password, be automatically connected into network.
Further, in order to ensure the information security of network, described method also comprises:
With a pre-defined rule, described broadcast singal is encrypted, obtains encrypted broadcast signals;
Described transmission broadcast singal, specifically comprises:
Send described encrypted broadcast signals at least one second electronic equipment described, when described encrypted broadcast signals being decrypted based on described pre-defined rule to enable at least one second electronic equipment described, obtain described broadcast singal.
Specifically, the first electronic equipment, before the described broadcast singal of transmission, first can be encrypted broadcast singal, only have the electronic equipment that can be decrypted this coded signal could obtain access information or the login password of network in a broadcast signal.
Further, before the second electronic equipment receives described broadcast singal, can first receive an authentication information, when the second electronic equipment is by after authentication, receive the broadcast singal that the first electronic equipment sends again, and obtain access information and the log-on message of network, automatic access network.
Embodiment two
Based on the inventive concept same with information processing method in the embodiment of the present application one, the embodiment of the present application provides a kind of electronic equipment, please refer to Fig. 5, and described electronic equipment comprises:
Memory 501, for when described first electronic equipment and network connect, preserves access information and the login password of described network;
Encoder 502, for encoding to described access information, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password;
Processor 503, for based on described access information coded sequence and described cipher coding sequence, builds a broadcast singal;
Sender unit 504, for sending described broadcast singal, obtains described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
In order to ensure the information security of network, described encoder 502, also for being encrypted described broadcast singal with a pre-defined rule, obtains encrypted broadcast signals.
Described sender unit 504 is also for sending described encrypted broadcast signals at least one second electronic equipment described, when described encrypted broadcast signals being decrypted based on described pre-defined rule to enable at least one second electronic equipment described, obtain described broadcast singal.
Described encoder 502, for based on the first coding rule, is encoded to described access information, obtains the first coding result; Described first coding result is processed, obtains the described access information coded sequence of decimal format; And based on described first coding rule, described login password is encoded, obtain the second coding result; Described second coding result is processed, obtains the described cipher coding sequence of decimal format.
Described processor 503, for based on described access information coded sequence, builds the UDP packet sequence comprising described access information; And based on described cipher coding sequence, build the 2nd UDP packet sequence comprising described login password;
Wherein, the sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in a described UDP packet sequence is long and described access information coded sequence; Sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in described 2nd UDP packet sequence is long and described cipher coding sequence.
Described processor 503 wraps for obtaining the described UDP of transmission the maximum data length allowed; Determine a foundation length value; Determine a beacon length;
Wherein, described foundation length should be less than the difference of described maximum data length and described beacon length, and described beacon length should be greater than 16 and be less than the difference of described maximum data length and described foundation length.
Described processor 503 wraps for building beacon UDP, and the length value of the bag length that described beacon UDP wraps is described beacon length, and described beacon UDP wraps the beginning for representing a described UDP packet sequence or described 2nd UDP packet sequence transmission; Combine described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal.
Described processor 503 is for based on described foundation length, the bag progress line translation that the UDP that the bag of the UDP bag that the bag wrapped described beacon UDP is long, a described UDP packet sequence comprises is long, described 2nd UDP packet sequence comprises wraps, obtains the UDP packet sequence after the beacon UDP bag after the long conversion of bag, the long conversion of bag and the 2nd UDP packet sequence after the conversion of bag length; Wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal.
Described processor 503 for: the first continuous number of broadcast times that the beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described first described bag of continuous number of broadcast times broadcast, the UDP packet sequence after the long conversion of described bag starts transmission; The second continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described second described bag of continuous number of broadcast times broadcast, the 2nd UDP packet sequence after the long conversion of described bag starts transmission; Combine that the beacon UDP after with the long conversion of described bag of the described first continuous number of broadcast times broadcast wraps, a UDP packet sequence after the long conversion of described bag, to wrap with the beacon UDP after the long conversion of described bag of the described second continuous number of broadcast times broadcast and described bag length convert after the 2nd UDP packet sequence, build described broadcast singal.
For sending, the beacon UDP after by the long conversion of described bag broadcasted with the described first continuous number of broadcast times wraps described sender unit 504, a UDP packet sequence after the long conversion of described bag, beacon UDP after the long conversion of described bag broadcasted with the described second continuous number of broadcast times wrap and the broadcast singal of the 2nd UDP packet sequence structure after the long conversion of described bag, obtains described broadcast singal to enable to be at least one second electronic equipment described in the state of intercepting.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
One, the electronic equipment that scheme in the embodiment of the present application passes through access network sends the broadcast singal including access information and login password information, the electronic equipment of network to be accessed passes through to receive this broadcast singal and the access information and the login password that obtain this network, realize automatically being connected into network, and do not need manually to select access information and scorpio login password, visible, scheme in the embodiment of the present application effectively solves prior art when there is electronic equipment access network, the technical problem that operating process is loaded down with trivial details, achieve the technique effect of simple operation during electronic equipment access network.
Two, the broadcast singal including access information and login password information that the electronic equipment that scheme in the embodiment of the present application receives access network by the electronic equipment of network to be accessed sends, thus obtain access information and the login password of this network, automatically network is signed in, and need not as first must knowing the access information of access network in the prior art and logging in close, then code inputs, therefore, scheme in the embodiment of the present application effectively solves prior art to be existed when not knowing the login password of network, electronic equipment cannot the technical problem of access network, achieve the technique effect that access information without the need to knowing access network and login password can be connected into access network.
Three, the scheme in the embodiment of the present application is encrypted by the broadcast singal sent the electronic equipment of access network, only have the electronic equipment that can be decrypted this encrypted broadcast signals could obtain access information and the login password of network from broadcast singal, the electronic equipment that cannot be decrypted this encrypted broadcast signals then can not access this network, therefore, the scheme in the embodiment of the present application achieves the technique effect of the fail safe ensureing access network.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Specifically, the computer program instructions that a kind of information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, read by an electronic equipment when the computer program instructions corresponding with information processing method in storage medium or when being performed, comprise the steps:
Preserve access information and the login password of described network;
Described access information is encoded, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password;
Based on described access information coded sequence and described cipher coding sequence, build a broadcast singal;
Send described broadcast singal, obtain described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
Optionally, store in described storage medium with step: at computer program instructions corresponding to described transmission broadcast singal before being executed, also to perform computer program instructions corresponding to the following step:
With a pre-defined rule, described broadcast singal is encrypted, obtains encrypted broadcast signals;
Described transmission broadcast singal, specifically comprises:
Send described encrypted broadcast signals at least one second electronic equipment described, when described encrypted broadcast signals being decrypted based on described pre-defined rule to enable at least one second electronic equipment described, obtain described broadcast singal.
Optionally, that store in described storage medium and step: described described access information to be encoded, obtaining computer program instructions corresponding to the access information coded sequence corresponding with described access information when being performed, specifically comprising:
Based on the first coding rule, described access information is encoded, obtain the first coding result;
Described first coding result is processed, obtains the described access information coded sequence of decimal format;
Accordingly, that store in described storage medium and step: described described login password to be encoded, obtaining computer program instructions that the cipher coding sequence pair corresponding with described login password answer when being performed, specifically comprising:
Based on described first coding rule, described login password is encoded, obtain the second coding result;
Described second coding result is processed, obtains the described cipher coding sequence of decimal format.
Optionally, that store in described storage medium and step: described, described access information is encoded, obtain the access information coded sequence corresponding with described access information; And described login password is encoded, obtain computer program instructions that the cipher coding sequence pair corresponding with described login password answer after being performed, also will perform computer program instructions corresponding to the following step:
Based on described access information coded sequence, build the UDP packet sequence comprising described access information; And
Based on described cipher coding sequence, build the 2nd UDP packet sequence comprising described login password;
Wherein, the sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in a described UDP packet sequence is long and described access information coded sequence; Sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in described 2nd UDP packet sequence is long and described cipher coding sequence.
Optionally, that store in described storage medium and step: described based on described access information coded sequence and described cipher coding sequence, build computer program instructions corresponding to a broadcast singal before being executed, also will perform computer program instructions corresponding to the following step:
Obtain the described UDP of transmission and wrap the maximum data length allowed;
Determine a foundation length value;
Determine a beacon length;
Wherein, described foundation length should be less than the difference of described maximum data length and described beacon length, and described beacon length should be greater than 16 and be less than the difference of described maximum data length and described foundation length.
Optionally, store in described storage medium and step: described based on described access information coded sequence and described cipher coding sequence, building computer program instructions corresponding to a broadcast singal when being performed, specifically comprising:
Build beacon UDP bag, the length value of the bag length that described beacon UDP wraps is described beacon length, and described beacon UDP wraps the beginning for representing a described UDP packet sequence or described 2nd UDP packet sequence transmission;
Combine described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal.
Optionally, that store in described storage medium and step: described combination described beacon UDP wraps, a described UDP packet sequence and described 2nd UDP packet sequence, building computer program instructions corresponding to described broadcast singal when being performed, specifically comprising:
Based on described foundation length, the bag progress line translation that the UDP that the bag of the UDP bag that the bag wrapped described beacon UDP is long, a described UDP packet sequence comprises is long, described 2nd UDP packet sequence comprises wraps, obtains the UDP packet sequence after the beacon UDP bag after the long conversion of bag, the long conversion of bag and the 2nd UDP packet sequence after the conversion of bag length;
Wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal.
Optionally, that store in described storage medium and step: described based on described wrap long conversion after beacon UDP wrap, described bag grow the UDP packet sequence after converting and the 2nd UDP packet sequence after converting grown by described bag, building computer program instructions corresponding to described broadcast singal when being performed, specifically comprising:
The first continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described first described bag of continuous number of broadcast times broadcast, the UDP packet sequence after the long conversion of described bag starts transmission;
The second continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described second described bag of continuous number of broadcast times broadcast, the 2nd UDP packet sequence after the long conversion of described bag starts transmission;
Combine that the beacon UDP after with the long conversion of described bag of the described first continuous number of broadcast times broadcast wraps, a UDP packet sequence after the long conversion of described bag, to wrap with the beacon UDP after the long conversion of described bag of the described second continuous number of broadcast times broadcast and described bag length convert after the 2nd UDP packet sequence, build described broadcast singal.
Optionally, that store in described storage medium and step: the described broadcast singal of described transmission, to enable at least one second electronic equipment being in the state of intercepting obtain computer program instructions corresponding to described broadcast singal when being performed, specifically comprises:
Send that the beacon UDP after by the long conversion of described bag broadcasted with the described first continuous number of broadcast times wraps, a UDP packet sequence after the long conversion of described bag, beacon UDP after the long conversion of described bag broadcasted with the described second continuous number of broadcast times wrap and described bag is long convert after the broadcast singal of the 2nd UDP packet sequence structure, obtain described broadcast singal to enable to be at least one second electronic equipment described in the state of intercepting.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (19)

1. an information processing method, is applied in the first electronic equipment, and when described first electronic equipment and network connect, described method comprises:
Preserve access information and the login password of described network;
Described access information is encoded, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password;
Based on described access information coded sequence and described cipher coding sequence, build a broadcast singal;
Send described broadcast singal, obtain described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
2. the method for claim 1, is characterized in that, before described transmission broadcast singal, described method also comprises:
With a pre-defined rule, described broadcast singal is encrypted, obtains encrypted broadcast signals;
Described transmission broadcast singal, specifically comprises:
Send described encrypted broadcast signals at least one second electronic equipment described, when described encrypted broadcast signals being decrypted based on described pre-defined rule to enable at least one second electronic equipment described, obtain described broadcast singal.
3. method as claimed in claim 2, is characterized in that, describedly encodes to described access information, obtains the access information coded sequence corresponding with described access information, specifically comprises:
Based on the first coding rule, described access information is encoded, obtain the first coding result;
Described first coding result is processed, obtains the described access information coded sequence of decimal format;
Accordingly, described described login password to be encoded, obtains the cipher coding sequence corresponding with described login password, specifically comprise:
Based on described first coding rule, described login password is encoded, obtain the second coding result;
Described second coding result is processed, obtains the described cipher coding sequence of decimal format.
4. method as claimed in claim 3, is characterized in that, encode described to described access information, obtain the access information coded sequence corresponding with described access information; And described login password is encoded, after obtaining the cipher coding sequence corresponding with described login password, described method also comprises:
Based on described access information coded sequence, build the UDP packet sequence comprising described access information; And
Based on described cipher coding sequence, build the 2nd UDP packet sequence comprising described login password;
Wherein, the sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in a described UDP packet sequence is long and described access information coded sequence; Sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in described 2nd UDP packet sequence is long and described cipher coding sequence.
5. method as claimed in claim 4, it is characterized in that, described based on described access information coded sequence and described cipher coding sequence, before building a broadcast singal, described method also comprises:
Obtain the described UDP of transmission and wrap the maximum data length allowed;
Determine a foundation length value;
Determine a beacon length;
Wherein, described foundation length should be less than the difference of described maximum data length and described beacon length, and described beacon length should be greater than 16 and be less than the difference of described maximum data length and described foundation length.
6. method as claimed in claim 5, is characterized in that, described based on described access information coded sequence and described cipher coding sequence, builds a broadcast singal, specifically comprises:
Build beacon UDP bag, the length value of the bag length that described beacon UDP wraps is described beacon length, and described beacon UDP wraps the beginning for representing a described UDP packet sequence or described 2nd UDP packet sequence transmission;
Combine described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal.
7. method as claimed in claim 6, is characterized in that, described combination described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal, specifically comprise:
Based on described foundation length, the bag progress line translation that the UDP that the bag of the UDP bag that the bag wrapped described beacon UDP is long, a described UDP packet sequence comprises is long, described 2nd UDP packet sequence comprises wraps, obtains the UDP packet sequence after the beacon UDP bag after the long conversion of bag, the long conversion of bag and the 2nd UDP packet sequence after the conversion of bag length;
Wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal.
8. method as claimed in claim 7, it is characterized in that, describedly to wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal, specifically comprise:
The first continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described first described bag of continuous number of broadcast times broadcast, the UDP packet sequence after the long conversion of described bag starts transmission;
The second continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described second described bag of continuous number of broadcast times broadcast, the 2nd UDP packet sequence after the long conversion of described bag starts transmission;
Combine that the beacon UDP after with the long conversion of described bag of the described first continuous number of broadcast times broadcast wraps, a UDP packet sequence after the long conversion of described bag, to wrap with the beacon UDP after the long conversion of described bag of the described second continuous number of broadcast times broadcast and described bag length convert after the 2nd UDP packet sequence, build described broadcast singal.
9. method as claimed in claim 8, is characterized in that, the described broadcast singal of described transmission, to enable at least one second electronic equipment being in the state of intercepting obtain described broadcast singal, specifically comprises:
Send that the beacon UDP after by the long conversion of described bag broadcasted with the described first continuous number of broadcast times wraps, a UDP packet sequence after the long conversion of described bag, beacon UDP after the long conversion of described bag broadcasted with the described second continuous number of broadcast times wrap and described bag is long convert after the broadcast singal of the 2nd UDP packet sequence structure, obtain described broadcast singal to enable to be at least one second electronic equipment described in the state of intercepting.
10. an electronic equipment, comprising:
Memory, for when described first electronic equipment and network connect, preserves access information and the login password of described network;
Encoder, for encoding to described access information, obtains the access information coded sequence corresponding with described access information; And described login password is encoded, obtain the cipher coding sequence corresponding with described login password;
Processor, for based on described access information coded sequence and described cipher coding sequence, builds a broadcast singal;
Sender unit, for sending described broadcast singal, obtains described broadcast singal to enable at least one second electronic equipment being in the state of intercepting.
11. electronic equipments as claimed in claim 10, is characterized in that, described encoder, also for being encrypted described broadcast singal with a pre-defined rule, obtains encrypted broadcast signals.
12. electronic equipments as claimed in claim 11, it is characterized in that, described sender unit is also for sending described encrypted broadcast signals at least one second electronic equipment described, when described encrypted broadcast signals being decrypted based on described pre-defined rule to enable at least one second electronic equipment described, obtain described broadcast singal.
13. electronic equipments as claimed in claim 12, is characterized in that, described encoder is used for based on the first coding rule, encodes, obtain the first coding result to described access information; Described first coding result is processed, obtains the described access information coded sequence of decimal format; And based on described first coding rule, described login password is encoded, obtain the second coding result; Described second coding result is processed, obtains the described cipher coding sequence of decimal format.
14. electronic equipments as claimed in claim 13, is characterized in that, described processor is used for based on described access information coded sequence, build the UDP packet sequence comprising described access information; And based on described cipher coding sequence, build the 2nd UDP packet sequence comprising described login password;
Wherein, the sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in a described UDP packet sequence is long and described access information coded sequence; Sequential value one_to_one corresponding in the length value that the bag of the UDP bag comprised in described 2nd UDP packet sequence is long and described cipher coding sequence.
15. electronic equipments as claimed in claim 14, is characterized in that, described processor wraps for obtaining the described UDP of transmission the maximum data length allowed; Determine a foundation length value; Determine a beacon length;
Wherein, described foundation length should be less than the difference of described maximum data length and described beacon length, and described beacon length should be greater than 16 and be less than the difference of described maximum data length and described foundation length.
16. electronic equipments as claimed in claim 15, it is characterized in that, described processor wraps for building beacon UDP, the length value of the bag length that described beacon UDP wraps is described beacon length, and described beacon UDP wraps the beginning for representing a described UDP packet sequence or described 2nd UDP packet sequence transmission; Combine described beacon UDP bag, a described UDP packet sequence and described 2nd UDP packet sequence, build described broadcast singal.
17. electronic equipments as claimed in claim 16, it is characterized in that, described processor is used for based on described foundation length, the bag progress line translation that the UDP that the bag of the UDP bag that the bag wrapped described beacon UDP is long, a described UDP packet sequence comprises is long, described 2nd UDP packet sequence comprises wraps, obtains the UDP packet sequence after the beacon UDP bag after the long conversion of bag, the long conversion of bag and the 2nd UDP packet sequence after the conversion of bag length; Wrap based on the beacon UDP after the long conversion of described bag, the UDP packet sequence after the long conversion of described bag and the 2nd UDP packet sequence after the long conversion of described bag, build described broadcast singal.
18. electronic equipments as claimed in claim 17, it is characterized in that, described processor is used for: arrange the first continuous number of broadcast times that the beacon UDP after the long conversion of described bag wraps; Wherein, after wrapping with the beacon UDP after the long conversion of the described first described bag of continuous number of broadcast times broadcast, the UDP packet sequence after the long conversion of described bag starts transmission; The second continuous number of broadcast times that beacon UDP after the long conversion of described bag wraps is set; Wherein, after wrapping with the beacon UDP after the long conversion of the described second described bag of continuous number of broadcast times broadcast, the 2nd UDP packet sequence after the long conversion of described bag starts transmission; Combine that the beacon UDP after with the long conversion of described bag of the described first continuous number of broadcast times broadcast wraps, a UDP packet sequence after the long conversion of described bag, to wrap with the beacon UDP after the long conversion of described bag of the described second continuous number of broadcast times broadcast and described bag length convert after the 2nd UDP packet sequence, build described broadcast singal.
19. electronic equipments as claimed in claim 18, it is characterized in that, for sending, the beacon UDP after by the long conversion of described bag broadcasted with the described first continuous number of broadcast times wraps described sender unit, a UDP packet sequence after the long conversion of described bag, beacon UDP after the long conversion of described bag broadcasted with the described second continuous number of broadcast times wrap and the broadcast singal of the 2nd UDP packet sequence structure after the long conversion of described bag, obtains described broadcast singal to enable to be at least one second electronic equipment described in the state of intercepting.
CN201510085115.XA 2015-02-16 2015-02-16 A kind of information processing method and electronic equipment Active CN104753690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510085115.XA CN104753690B (en) 2015-02-16 2015-02-16 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510085115.XA CN104753690B (en) 2015-02-16 2015-02-16 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104753690A true CN104753690A (en) 2015-07-01
CN104753690B CN104753690B (en) 2019-04-26

Family

ID=53592848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510085115.XA Active CN104753690B (en) 2015-02-16 2015-02-16 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104753690B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181600A (en) * 2017-07-27 2017-09-19 锐捷网络股份有限公司 A kind of password login authentication method, system and user equipment and certificate server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040202323A1 (en) * 2001-08-30 2004-10-14 Josef Fellerer Method for encoding and decoding communication data
CN104144034A (en) * 2013-12-04 2014-11-12 腾讯科技(深圳)有限公司 Password sharing and obtaining methods and devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040202323A1 (en) * 2001-08-30 2004-10-14 Josef Fellerer Method for encoding and decoding communication data
CN104144034A (en) * 2013-12-04 2014-11-12 腾讯科技(深圳)有限公司 Password sharing and obtaining methods and devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181600A (en) * 2017-07-27 2017-09-19 锐捷网络股份有限公司 A kind of password login authentication method, system and user equipment and certificate server
CN107181600B (en) * 2017-07-27 2019-12-06 锐捷网络股份有限公司 Password login authentication method and system, user equipment and authentication server

Also Published As

Publication number Publication date
CN104753690B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN108234081B (en) Coding method and device
WO2014029260A1 (en) Method and device for data compression, transmission, and decompression
CN110741611B (en) Layer mapping subset restriction for 5G wireless communication systems
MX2008015656A (en) Methods and systems for processing overhead reduction for control channel packets.
CN109309650B (en) Data processing method, terminal equipment and network equipment
CN104619040A (en) Method and system for quickly connecting WIFI equipment
CN110635867B (en) Communication method, network equipment and terminal
KR101717515B1 (en) Communication method and device
CN107172028B (en) Method and device for sharing field bus data
CN105119900A (en) Information secure transmission method, network access method and corresponding terminals
CN103957087A (en) Wireless communication method, related devices and system
CN106304078A (en) The method and apparatus of home appliance access network
CN103078683A (en) Document transmission method and document transmission system
CN105120454A (en) Information transmission method, network access method and corresponding terminals
CN104753690A (en) Information processing method and electronic devices
WO2016119624A1 (en) Data transmission method and apparatus thereof
CN111385797B (en) WiFi network distribution method, device, apparatus and storage medium
TW201940003A (en) Terminal, base station, and method for communications between the terminal and the base station and for accessing a network
US20140298006A1 (en) Data encryption and decryption
CN112153094A (en) Data transmission control method and device between electronic devices
CN105657592A (en) Audio communication method and device
CN111372297B (en) Odd-even packet-based WiFi network distribution method, equipment, device and storage medium
CN103929449A (en) Data transmission method, web server and terminal
WO2014018204A1 (en) Gmsk-based modulation in a wireless local area network
CN114500167B (en) Information processing method and device, electronic equipment and storage medium

Legal Events

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