CN105491565A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105491565A
CN105491565A CN201410474703.8A CN201410474703A CN105491565A CN 105491565 A CN105491565 A CN 105491565A CN 201410474703 A CN201410474703 A CN 201410474703A CN 105491565 A CN105491565 A CN 105491565A
Authority
CN
China
Prior art keywords
network
electronic device
information
electronic
electronic equipment
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
CN201410474703.8A
Other languages
Chinese (zh)
Other versions
CN105491565B (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 CN201410474703.8A priority Critical patent/CN105491565B/en
Publication of CN105491565A publication Critical patent/CN105491565A/en
Application granted granted Critical
Publication of CN105491565B publication Critical patent/CN105491565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an information processing method, and is applied to first electronic equipment, the first electronic equipment belongs to a first kind of electronic equipment, more than two first kind of electronic equipment intercommunicate through a first channel to form a first network, the first kind of electronic equipment is accessed to a second network through a second channel, and the first channel is different from the second channel. The method includes the following steps: first electronic equipment receives an access request message sent by second electronic equipment; the first electronic equipment inquires a preset list, and judges whether network ID information and a network secret key of a network to which the second electronic equipment belongs are valid, thereby obtaining a first judgment result; and when the first judgment result indicates that the network ID information and network secret key of the network to which the second electronic equipment belongs are valid, the second electronic equipment is accessed to the network by the first electronic equipment. The invention also discloses electronic equipment.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to electronic technologies, and in particular, to an information processing method and an electronic device.
Background
Networks have become a necessity in people's life, entertainment, work, etc., and therefore, users in a building or users in a cell almost every home have a home router to connect to the internet through the home router. Each user purchases different bandwidths from a telecom operator, the bandwidths can be used as a resource or commodities such as books and the like to some extent, and users who are in a neighborhood relationship can share the bandwidth of the router with each other like sharing other real objects.
For a network which is formed by mutually connected routers and can share bandwidth among neighbors, when a user plays at the home of the neighbor, the user firstly inquires about the neighbor and then manually inputs a password to be accessed into the network, and at present, some methods, such as Near Field Communication (NFC) and two-dimensional code scanning, make the method of inquiring about the password manually somewhat convenient, but the convenience and the security are still insufficient.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information processing method and an electronic device for solving the problems in the prior art, which can enable a network to be accessed without inquiring a password for a network that is formed by interconnected routers and can share a bandwidth.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information processing method, which is applied to a first electronic device, where the first electronic device belongs to a first class of electronic devices, the first class of electronic devices is an electronic device with a routing function, two or more first class of electronic devices are interconnected through a first channel to form a first network, the first class of electronic devices are connected to a second network through a second channel, and the first channel is different from the second channel;
the method comprises the following steps:
the first electronic equipment receives an access request message sent by second electronic equipment, wherein the second electronic equipment belongs to second type electronic equipment, and the first type electronic equipment provides a routing function for the second type electronic equipment;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
the first electronic equipment inquires a preset list, and judges whether the network ID information of the network to which the second electronic equipment belongs and the network key of the second electronic equipment are valid or not to obtain a first judgment result;
and when the first judgment result shows that the network ID information of the network to which the second electronic equipment belongs and the network key thereof are valid, the first electronic equipment accesses the second electronic equipment to the network.
In a second aspect, an embodiment of the present invention provides an information processing method, which is applied to a third electronic device, where the third electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are interconnected through a first channel to form a first network, the first type of electronic device is connected to a second network through a second channel, and the first channel is different from the second channel;
the method comprises the following steps:
the third electronic equipment sends a synchronization message to each first electronic equipment connected with the third electronic equipment, wherein the synchronization message comprises network ID information of a network formed by the third electronic equipment and a network key thereof;
the synchronization message is used to trigger the first electronic device to form a list including network ID information and its network keys or to update the list.
In a third aspect, an embodiment of the present invention provides an information processing method, which is applied to a second electronic device, where the second electronic device belongs to a second type of electronic device, the second type of electronic device provides a routing function through a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first types of electronic devices are communicated with each other through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel; the method comprises the following steps:
the second electronic device detecting an accessible network;
the second electronic equipment sends an access request message to first electronic equipment in the accessible network;
the access request message carries equipment Identification (ID) information of second electronic equipment, network ID information of a network to which the second electronic equipment belongs and a network key;
the access request message is used for triggering the first type of electronic equipment in the accessible network to send the equipment identification ID information, the network ID information and the network key to the electronic equipment of the network to which the second electronic equipment belongs.
In a fourth aspect, an embodiment of the present invention provides a first electronic device, where the first electronic device belongs to a first class of electronic devices, the first class of electronic devices is an electronic device with a routing function, two or more first class of electronic devices are interconnected through a first channel to form a first network, the first class of electronic devices are connected to a second network through a second channel, and the first channel is different from the second channel;
the first electronic device comprises a first receiving unit, an inquiring unit and a first access unit, wherein:
the first receiving unit is configured to receive an access request message sent by a second electronic device, where the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
the query unit is configured to query a preset list, and determine whether network ID information of a network to which the second electronic device belongs and a network key thereof are valid, so as to obtain a first determination result;
the first access unit is configured to access the second electronic device to a network when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
In a fifth aspect, an embodiment of the present invention provides a third electronic device, where the third electronic device belongs to a first class of electronic devices, the first class of electronic devices is an electronic device with a routing function, two or more first class of electronic devices are communicated with each other through a first channel to form a first network, the first class of electronic devices is accessed to a second network through a second channel, and the first channel is different from the second channel;
the third electronic device includes a first obtaining unit and a first sending unit, wherein:
the first obtaining unit is configured to obtain network ID information of a network formed by the third electronic device and a network key thereof;
the first sending unit is configured to send a synchronization message to each first electronic device connected to the third electronic device, where the synchronization message includes network ID information of a network formed by the third electronic device and a network key thereof;
the synchronization message is used to trigger the first electronic device to form a list including network ID information and its network keys or to update the list.
In a sixth aspect, an embodiment of the present invention provides a second electronic device, which is applied to a second electronic device, where the second electronic device belongs to a second class of electronic devices, the second class of electronic devices provides a routing function through the first class of electronic devices, the first class of electronic devices are electronic devices having a routing function, two or more first class of electronic devices are communicated with each other through a first channel to form a first network, the first class of electronic devices are connected to a second network through a second channel, and the first channel is different from the second channel; the second electronic device includes a detection unit and a second transmission unit, wherein:
the detection unit is used for detecting an accessible network;
the second sending unit is configured to send an access request message to the first type of electronic device in the accessible network;
the access request message carries equipment Identification (ID) information of second electronic equipment, network ID information of a network to which the second electronic equipment belongs and a network key;
the access request message is used for triggering the first type of electronic equipment in the accessible network to send the equipment identification ID information, the network ID information and the network key to the electronic equipment of the network to which the second electronic equipment belongs.
According to the information processing method and the electronic device provided by the embodiment of the invention, the first electronic device receives the access request message sent by the second electronic device; the first electronic equipment inquires a preset list, and judges whether the network ID information of the network to which the second electronic equipment belongs and the network key of the second electronic equipment are valid or not to obtain a first judgment result; and when the first judgment result shows that the network ID information and the network key of the network to which the second electronic equipment belongs are valid, the first electronic equipment accesses the second electronic equipment to the network, so that the network which is formed by mutually connected routers and can share the bandwidth between neighbors can be accessed without inquiring a password.
Drawings
FIG. 1-1 is a first scenario diagram of an embodiment of the present invention;
FIG. 1-2 is a second scenario diagram of an embodiment of the present invention;
FIGS. 1-3 are schematic views of a scenario III according to an embodiment of the present invention;
FIGS. 1-4 are schematic diagrams illustrating a flow chart of an information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of an implementation of a second information processing method according to an embodiment of the present invention;
FIG. 3-1 is a schematic view of an implementation flow of a third information processing method according to an embodiment of the present invention;
FIG. 3-2 is a schematic flow chart illustrating the implementation of the three step 301 according to the embodiment of the present invention;
FIG. 4 is a schematic diagram of a flow chart of a fourth information processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an implementation flow of a fifth information processing method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an implementation flow of a sixth information processing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an implementation flow of a seventh information processing method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an eighth electronic device according to an embodiment of the invention;
fig. 9-1 is a schematic structural diagram of a ninth first electronic device according to an embodiment of the invention;
FIG. 9-2 is a first schematic diagram illustrating a structure of a forming unit according to a ninth embodiment of the present invention;
FIG. 9-3 is a schematic diagram of a second exemplary embodiment of a cell structure;
fig. 9-4 are schematic structural diagrams of a first access unit according to a ninth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a tenth electronic device according to a tenth embodiment of the disclosure;
fig. 11 is a schematic structural diagram of an eleventh electronic device according to an embodiment of the invention.
Detailed Description
The following embodiments of the present invention relate to an information processing method and an electronic device, where the electronic device is divided into two types, a first type is an electronic device having a routing function, and a second type is an electronic device having no routing function; wherein an electronic device having a routing function is referred to as a first type of electronic device, and an electronic device having no routing function is referred to as a second type of electronic device; the first type of electronic device is typically represented by a Router (Router), and the second type of electronic device is typically represented by various terminal devices, such as a smart phone (SmartPhone), a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and the like. The first type of electronic device provides a routing function for the second type of electronic device in a wired or wireless manner, as shown in fig. 1-1, the router 10 provides a routing function for the pda 11, the smartphones 12 and 13, and the notebook 14 in a wireless manner, and the router 10 provides a routing function for the desktop computer 15 in a wired manner.
Here, the router includes various routers such as a wireless router, a broadband router, etc., wherein a wireless network router (e.g., D-LINK, TP-LINK, TENDA, etc.) is a communication device for connecting wired and wireless networks, which can receive and transmit wireless signals through wireless fidelity (WiFi) technology to communicate with devices such as a personal digital assistant, a smart phone, a notebook, etc.; the wireless network router may conveniently establish a network without cabling, fig. 1-1 being a network built through the router 10.
The following describes a network to which the following embodiments of the present invention relate, and first introduces a hierarchical network of routers. A plurality of networks are interconnected by routers to form the internet, and the internet (internet) has been deeply influencing the aspects of life, work, learning and the like of people from the generation to the development thereof. Routers are generally divided into multi-level connections, for example, home routers with relatively few functions and small bandwidth are generally used in a user home; the family routers of all users in a building are connected with a router, the router can be called a building router, the building routers in all buildings in a cell are connected with a router, the router can be called a cell router, and thus, the family routers are connected upwards in a layered and unidirectional mode to form a large internet.
The home router is used for forwarding data packets sent by each terminal of a user or data packets sent by a building router; the building router is used for forwarding a data packet sent by the home router or a data packet sent by the cell router; and the cell router is used for forwarding data packets sent by the building router or forwarding data packets sent by a router which is directly connected with the cell router and has a higher level than the cell router.
In order to solve the problems described in the background art, the inventors of the present application will provide a network formed by connecting users in a certain area (for example, users in a building or users in a cell) with each other through a home router, and the network may be referred to as a neighbor network, and thus referred to as a neighbor network, because users in a certain area may be referred to as neighbors, and thus the network constructed based on the neighborhood relationship may be referred to as a neighbor network.
Each subscriber in a building or each subscriber in a cell purchases a different bandwidth from a telecommunications carrier, and the neighbor network in embodiments of the invention enables: the bandwidth is like a resource or commodities such as books and the like to some extent, users who are in neighborhood relation with each other can share the bandwidth of the router with each other like sharing other real commodities. For example: when the user does not use the network, the bandwidth of the user is provided for the neighbor; assuming that user a1 and user a2 are door-to-door neighbors, user a1 purchases a monthly subscription package TC1 from a telecommunications carrier, the package TC1 having the contents: the telecom operator provides 5M bandwidth for user A1, and no matter whether user A1 is used, the telecom operator needs to be paid 50 RMB cost each month; user a2 purchases a monthly subscription package TC2 from a telecommunications carrier, the package TC2 containing: the telecom carrier provides the user A1 with the bandwidth of 10M on average, and the telecom carrier needs to be paid 80 RMB fees every month no matter whether the user A2 uses the bandwidth or not. On a certain day, when the user A1 goes out in the daytime, the network of the user A1 home is not used by people in the daytime, while the user A2 is a free worker, and the user A2 has a great demand on the network in the daytime. If user a2 and user a1 form the neighbor network described above, then user a2 can not only use 10M bandwidth of its home, but user a2 can also borrow 5M bandwidth of user a1 home since user a1 is not at home, so that user a2 can use 15M bandwidth altogether.
As another example, user a1 and user a2 both use the network at home, but user a2 is always using the instant chat application software (hereinafter referred to as application), and assuming that user a2 uses only 0.5M of bandwidth in the home network, user a2 still has the remaining 9.5M of bandwidth, and at this time, user a1 is downloading a high-definition movie or watching a high-definition movie online, user a1 now has a very large demand for bandwidth, and if user a2 and user a1 constitute the above-mentioned neighbor network, user a1 can use not only its own 5M of bandwidth, but user a1 can also borrow the 9.5M of bandwidth of user a2, so that user a1 can use 14.5M of bandwidth altogether.
As can be seen from the above description, through the neighbor network, the user can provide the idle bandwidth of the home for other users in the neighbor network, and certainly, the bandwidth of the home can also be increased by using the bandwidth of other users, so that the neighbor can greatly increase the bandwidth, and the resources can be reasonably utilized without increasing the cost.
The neighbor network is a network composed of routers on the same layer, and the routers on the same layer are all used for connecting the home routers of the terminal as described above; neighbor networks topologically, the networks formed may be ring networks (as shown in fig. 1-2), star networks (as shown in fig. 1-3), bus networks, and so on. The ring network shown in fig. 1-2 includes three routers 20, 30, and 40, where the network formed by the router 20 provides the terminal 21 with a routing function, the network formed by the router 30 provides the terminals 31, 32, and 33 with a routing function, and the network formed by the router 40 provides the terminals 41 and 42 with a routing function.
The ring network shown in fig. 1-3 includes three routers 20, 30, 40 and 50, where the network formed by the router 20 provides the terminal 21 with a routing function, the network formed by the router 30 provides the terminals 31 and 32 with a routing function, the network formed by the router 40 provides the terminals 41 and 42 with a routing function, and the router provides the terminals 51 and 52 with a routing function. The terminal in the embodiment of the present invention has the same meaning as the second type of electronic device, and in some contexts, for simplicity and convenience of description, the term of the terminal is used as a synonym of the second type of electronic device, where the terminal includes a mobile terminal and a non-mobile terminal, the mobile terminal includes devices such as a personal digital assistant, a smart phone, a tablet computer, a notebook computer, and a navigator, and the non-mobile terminal includes devices such as a desktop computer.
In the embodiment of the present invention, two similar terms are involved, the first term is a network formed by routers, and the second term is a network to which routers belong. Wherein: the network formed by the routers can be understood as the WiFi network, that is, in the network formed by the routers, the routers are gateway devices of the WiFi network, and various terminals connected below in the WiFi network, such as a notebook computer, a tablet computer, a smart phone, and a desktop computer, need to be connected with other networks, such as the internet, through the routers. The network to which the router belongs refers to a neighbor network composed of all mutually connected routers in the same layer, and the routers in the neighbor network all belong to one node in the network. It should be noted that the router participates in the internet network in addition to the WiFi network and the neighbor network, and the router finally accesses the internet network through the router with a higher level than the router.
The difference of the three networks is introduced below, wherein more than two routers are communicated with each other through a first channel to form a neighbor network, the routers are accessed to an internet network through a second channel, and each router also forms a WiFi network so as to be connected with a terminal device through a third channel; wherein the first channel, the second channel, and the third channel are different. Generally, the bandwidth of the router accessing the internet network is the bandwidth purchased by the user from the telecom operator; two terminals ZD1 and ZD2 interact under a WiFi network composed of routers, the bandwidth between terminal ZD1 and terminal ZD2 will generally be greater than the bandwidth purchased by the user from the telecom operator, as much as the hardware conditions of the routers and terminals are limited; the bandwidth of the interaction between the two routers in the neighbor network is also larger than the bandwidth purchased by the user from the telecom operator, and how large the bandwidth of the interaction between the two routers in the neighbor network is depends on the hardware conditions of the routers and the terminals. In other words, if the rate at which two terminals in one WiFi network transmit data is similar to the rate at which data is copied, the rate at which two terminals in a neighbor network transmit data is also similar to the rate at which data is copied.
The following is a description of several important concepts involved in embodiments of the present invention:
1) rate (also known as nominal rate or nominal rate)
Signals transmitted in the data communication process are in a digital form, a bit is a unit of data amount in the data communication, and one bit is 1 or 0 in binary digits. The rate in network technology refers to the rate at which a device connected to a network transmits data on a digital channel, and is also referred to as data rate (datarate) or bit rate (bitrate), the rate is an important performance index of the network, and has a unit of bit per second (b/s, bit/s, or bps, i.e., bitpersension), when the data rate is high, kb/s (k ═ k), Mb/s (M ═ Gb/s (G ═ G), or Tb/s (T ═ too) may be used, and sometimes for simplicity of description, such as a 100M network, b/s is omitted in units, which means a network with a rate of 100 Mb/s.
2) Bandwidth (Bandwidth)
Generally, bandwidth has two different meanings, and first, bandwidth is used to indicate the frequency bandwidth a signal has. The bandwidth of a signal refers to the frequency range occupied by various frequency components contained in the signal. Second, the bandwidth is used to indicate the capability of the communication line of the network to transmit data, and therefore, the network bandwidth indicates the highest data amount that the product can pass from one point to another point of the network in a unit time.
3) Throughput (throughput)
Throughput represents the amount of data that passes through a certain network (channel, interface) per unit time, and is obviously limited by the bandwidth of the network or the rated rate of the network. The unit is bit/s, sometimes the throughput is also expressed in bytes transmitted per second (B/s, Byte/s), where one Byte represents 8 bits (bit). The unit of throughput is represented by B/s in the embodiment of the invention.
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Example one
Based on the above embodiment, an information processing method according to an embodiment of the present invention is applied to a first electronic device, where the first electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are interconnected through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel; fig. 1 to 4 are schematic diagrams illustrating a flow of implementing an information processing method according to an embodiment of the present invention, and as shown in fig. 1 to 4, the method includes:
step 101, the first electronic device receives an access request message sent by a second electronic device;
here, the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
wherein, the access request message carries network Identification (ID) information of a network to which the second electronic device belongs and a network key thereof;
step 102, the first electronic device queries a preset list, and judges whether the network ID information and the network key of the network to which the second electronic device belongs are valid, so as to obtain a first judgment result;
and 103, when the first judgment result shows that the network ID information of the network to which the second electronic equipment belongs and the network key thereof are valid, the first electronic equipment accesses the second electronic equipment to the network.
Here, the network identification information may be a Service Set Identifier (SSID), which is an identifier of the wireless network and is used to identify the identity of the wireless device found on a specific wireless network. The wireless device may be a router in the embodiment of the present invention, and the SSID is 32-bit data, whose value is case-specific, and may be a character set by a user such as a physical location identifier, a company name, a department, and the like of the wireless lan.
Here, the network key may be a WiFi password.
In the neighbor network, although the WiFi passwords and SSIDs of the two networks are different, the two routers in the neighbor network have mutually authorized and are stored in a list, so the embodiment of the present invention conveniently shares the network key of the wireless subnet between the two subnets by means of the mutual authorization characteristic of the neighbor network, and achieves a method for logging in the neighbor network without inputting the password by the user.
The technical scheme provided by the embodiment of the invention can be used in the following scenes, when a user A carries a terminal such as a smart phone and runs to a home of a user B, the smart phone of the user A can automatically use a WiFi password of the home of the user A to log in a WiFi network of the user B, a router of the user B inquires whether a matched access password (namely a network key) exists in a list of the user B, and the list can be stored in a database (database). If the router of the user B judges that the matched network key exists in the list, the smart phone of the user A is allowed to access; and if the router of the user B judges that no matched network key exists in the list, the access of the smart phone of the user A is refused.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
The unit of throughput is bytes per second (B/s), and the unit of bandwidth is bits per second (B/s).
In the embodiment of the invention, the first electronic equipment receives an access request message sent by the second electronic equipment; the first electronic equipment inquires a preset list, and judges whether the network ID information of the network to which the second electronic equipment belongs and the network key of the second electronic equipment are valid or not to obtain a first judgment result; when the first judgment result shows that the network ID information and the network key of the network to which the second electronic equipment belongs are valid, the first electronic equipment accesses the second electronic equipment to the network; therefore, for a network which is formed by mutually connected routers and can share the bandwidth, the network can be accessed without inquiring the password.
Example two
Based on the above embodiment, an information processing method according to an embodiment of the present invention is applied to a first electronic device, where the first electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are interconnected through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel; fig. 2 is a schematic flow chart of an implementation of a second information processing method according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
step 201, the first electronic device receives an access request message sent by a second electronic device;
here, the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
step 202, the first electronic device queries a preset list, and judges whether the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, so as to obtain a first judgment result;
step 203, when the first judgment result shows that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, the first electronic device accesses the second electronic device to the network of the first electronic device itself.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
In the neighbor network, although the WiFi passwords and the SSIDs of the networks of the user A and the user B are different, the routers of the user A and the user B in the neighbor network are mutually authorized and stored in a list, so that when the user A carries a terminal such as a smart phone to run to the home of the user B, the smart phone of the user A can automatically log in the WiFi network of the user B by using the WiFi password of the user A; therefore, the technical scheme provided by the embodiment of the invention can log in the neighboring home network without inputting the password by the user.
EXAMPLE III
Based on the above embodiment, an information processing method according to an embodiment of the present invention is applied to a first electronic device, where the first electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are interconnected through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel; fig. 3-1 is a schematic flow chart of an implementation of a third information processing method according to an embodiment of the present invention, and as shown in fig. 3-1, the method includes:
step 301, the first electronic device forming a list including network ID information and its network key;
step 302, the first electronic device receives an access request message sent by a second electronic device;
here, the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
step 303, the first electronic device queries a preset list, and determines whether the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, so as to obtain a first determination result;
step 304, when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, the first electronic device accesses the second electronic device to the network.
In this embodiment of the present invention, as shown in fig. 3-2, the step 301 includes:
step 311, the first electronic device receives synchronization messages sent by each third electronic device connected to the first electronic device;
step 312, the first electronic device forms the list according to the network ID information and the network key thereof.
Here, the third electronic device belongs to a first type of electronic device;
here, the synchronization message carries network ID information of a network formed by the second electronic device and a network key thereof;
here, the step 312 further includes:
the first electronic device periodically transmits a synchronization request message to the third electronic device;
here, the synchronization request message is used to trigger the second electronic device to send, to the first electronic device, network ID information of a network formed by the second electronic device and a network key thereof;
or,
and when receiving the access request message sent by the second electronic equipment, the first electronic equipment sends a synchronization request message to the third electronic equipment.
In the embodiment of the present invention, the method further includes: updating the list, the updating the list comprising: when the network ID information and the network key are not included in the list, the first electronic device writes the network ID information and the network key thereof into the list.
In this embodiment of the present invention, the accessing, by the first electronic device, the second electronic device to the network includes:
and the first electronic equipment accesses the second electronic equipment to the network of the first electronic equipment.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
The technical scheme provided by the embodiment of the invention specifically describes a process of how to form a list and update the list, and the first electronic equipment can passively receive a synchronous message, which is a mode without triggering; the first electronic device may further obtain a synchronization message based on the request, where the synchronization message is based on a trigger, for example, the first electronic device first sends a synchronization request message, and then each first type of electronic device connected to the first electronic device responds to the synchronization request message, that is, each first type of electronic device connected to the first electronic device sends a synchronization message to the first electronic device, and then the synchronization message may further carry device ID information and network authority information through at least network ID information and a network key carried in the synchronization message, so that the first electronic device may form a list or update a list according to the information carried in the synchronization message.
Example four
Based on the above embodiment, an information processing method according to an embodiment of the present invention is applied to a first electronic device, where the first electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are interconnected through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel; fig. 4 is a schematic flow chart of an implementation of a fourth information processing method according to an embodiment of the present invention, and as shown in fig. 4, the method includes:
step 401, the first electronic device receives an access request message sent by a second electronic device;
here, the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
step 402, the first electronic device queries a preset list, and determines whether the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, so as to obtain a first determination result;
here, the list further includes routing device ID information corresponding to the network ID information, the network key.
Here, the device ID information may be a subsystem identifier (SSID), a physical address (MAC address) of the device, an IP address, and the like.
Step 403, when the first judgment result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, the first electronic device receives data sent by the second electronic device;
step 404, the first electronic device queries the list to obtain the routing device ID information of the network to which the second electronic device belongs;
step 405, the first electronic device sends the data to a third electronic device according to the routing device ID information, so that the second electronic device accesses to a network formed by the third electronic device through the first electronic device.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
In the neighbor network, although the WiFi passwords and the SSIDs of the networks of the user A and the user B are different, the routers of the user A and the user B in the neighbor network are mutually authorized and stored in a list, so that when the user A carries a terminal such as a smart phone to run to the home of the user B, the smart phone of the user A can automatically log in the WiFi network of the user B by using the WiFi password of the user A; at this time, the router of the user B receives data sent by the smart phone of the user A; then the router of the user B sends the data sent by the smart phone of the user A to the router A according to the equipment ID information, and then the router A forwards the data sent by the smart phone of the user A.
EXAMPLE five
Based on the first embodiment, an information processing method according to an embodiment of the present invention is applied to a first electronic device, where the first electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are interconnected through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel; fig. 5 is a schematic flow chart of an implementation of a fifth information processing method according to an embodiment of the present invention, and as shown in fig. 5, the method includes:
step 501, the first electronic device receives an access request message sent by a second electronic device;
here, the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic device belongs, a network key of the network, and device ID information of the second electronic device;
step 502, the first electronic device queries a preset list, and determines whether the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, so as to obtain a first determination result;
here, the list further includes routing device ID information and network authority information thereof, the routing device ID information corresponding to the network ID information and the network key; the network permission information corresponds to the device ID information.
Here, the network authority refers to related attribute information configured according to device ID information; at present, parents can provide terminal equipment such as a smart phone and a tablet personal computer for children, but resources on a network are mixed, and some network resources such as games and adult websites cannot be accessed by the children, so that a router can store network authority information related to equipment ID information, for example, the terminal equipment with the equipment ID information of 'babygirl' of the user A cannot access the game website, and when the terminal with the equipment ID information of 'babygirl' needs to access the game website, the router can refuse access.
Step 503, when the first judgment result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, the first electronic device acquires the network authority information corresponding to the device ID information according to the device ID information;
step 504, the first electronic device accesses the second electronic device to the network of the first electronic device according to the network authority information.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
The technical scheme provided by the embodiment of the invention can be used in the following scenes: when a child of a user A carries a terminal such as a smart phone and runs to a home of a user B, the smart phone of the child of the user A can automatically log in a WiFi network of the user B by using a WiFi password of the user A, at the moment, a router of the user B can inquire the network authority information of the smart phone of the child of the user A according to the equipment ID information of the smart phone of the child of the user A, and then the smart phone of the child of the user A is enabled to surf the internet according to the network authority information; therefore, the technical scheme provided by the embodiment of the invention can access the network without inputting the password by the user, and can provide personalized service according to the equipment ID information, thereby improving the user experience.
EXAMPLE six
Based on the first to fifth embodiments, an embodiment of the present invention provides an information processing method, which is applied to a third electronic device, where the third electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are communicated with each other through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel;
fig. 6 is a schematic flow chart of an implementation of a sixth information processing method according to an embodiment of the present invention, and as shown in fig. 6, the method includes:
step 601, the third electronic device obtains network ID information and a network key thereof of a network formed by the third electronic device;
step 602, the third electronic device sends a synchronization message to each first electronic device connected thereto.
Here, the synchronization message includes network ID information of a network formed by the third electronic device and a network key thereof; the synchronization message is used to trigger the first electronic device to form a list including network ID information and its network keys or to update the list.
In this embodiment of the present invention, the step 601 includes:
the third electronic equipment sends a synchronization message to each first electronic equipment connected with the third electronic equipment when the network ID information and/or the network key are/is replaced;
or the third electronic device periodically sends a synchronization message to each first electronic device connected with the third electronic device;
or, when a new second type of electronic device joins the network formed by the third electronic device, the third electronic device sends a synchronization message to each first electronic device connected to the third electronic device.
In the embodiment of the present invention, the method further includes: the third electronic equipment acquires equipment ID information of equipment in a network formed by the third electronic equipment and equipment authority information corresponding to the equipment ID information;
correspondingly, the synchronization message also carries equipment ID information and equipment authority information corresponding to the equipment ID information; the device permission information is used for triggering the first electronic device to access the second electronic device to the network of the first electronic device according to the network permission information.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
EXAMPLE seven
Based on the foregoing embodiment, an information processing method is provided in an embodiment of the present invention, and is applied to a second electronic device, where the second electronic device belongs to a second type of electronic device, the second type of electronic device provides a routing function through a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are communicated with each other through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel;
fig. 7 is a schematic flow chart of an implementation of a seventh information processing method according to an embodiment of the present invention, as shown in fig. 7, the method includes:
step 701, the second electronic device detects an accessible network;
step 702, the second electronic device sends an access request message to a first type of electronic device in the accessible network;
here, the access request message carries device identification ID information of the second electronic device, network ID information of a network to which the second electronic device belongs, and a network key;
step 703, the access request message is used to trigger the first class of electronic devices in the accessible network to send the device identification ID information, the network ID information, and the network key to the electronic device of the network to which the second electronic device belongs.
In this embodiment of the present invention, before the second electronic device sends the access request message to the first type of electronic device in the accessible network, the method further includes:
the second electronic equipment judges whether an automatic login function of the first network is started or not to obtain a third judgment result;
and when the third judgment result shows that the second electronic equipment judges that the automatic login function of the first network is started, the second electronic equipment sends an access request message to the first type of electronic equipment in the accessible network.
In the embodiment of the present invention, the method further includes:
and when the third judgment result shows that the second electronic equipment does not start the automatic login function of the first network, the second electronic equipment displays a prompt message, wherein the prompt message is used for prompting a user to input the network key of the accessible network.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
Example eight
The embodiment of the invention provides first electronic equipment, which belongs to first-class electronic equipment, wherein the first-class electronic equipment is electronic equipment with a routing function, more than two first-class electronic equipment are mutually communicated through a first channel to form a first network, the first-class electronic equipment is accessed into a second network through a second channel, and the first channel is different from the second channel;
fig. 8 is a schematic structural diagram of an eighth electronic device according to an embodiment of the present invention, as shown in fig. 8, the first electronic device includes a first receiving unit 801, an inquiring unit 802, and a first accessing unit 803, where:
the first receiving unit 801 is configured to receive an access request message sent by a second electronic device, where the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
the querying unit 802 is configured to query a preset list, determine whether network ID information of a network to which the second electronic device belongs and a network key thereof are valid, and obtain a first determination result;
the first accessing unit 803 is configured to access the second electronic device to a network when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
In this embodiment of the present invention, the first access unit is configured to access the second electronic device to a network of the first electronic device when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
In the embodiment of the invention, the first electronic equipment receives an access request message sent by the second electronic equipment; the first electronic equipment inquires a preset list, and judges whether the network ID information of the network to which the second electronic equipment belongs and the network key of the second electronic equipment are valid or not to obtain a first judgment result; when the first judgment result shows that the network ID information and the network key of the network to which the second electronic equipment belongs are valid, the first electronic equipment accesses the second electronic equipment to the network; therefore, for a network which is formed by mutually connected routers and can share the bandwidth, the network can be accessed without inquiring the password.
Example nine
The embodiment of the invention provides first electronic equipment, which belongs to first-class electronic equipment, wherein the first-class electronic equipment is electronic equipment with a routing function, more than two first-class electronic equipment are mutually communicated through a first channel to form a first network, the first-class electronic equipment is accessed into a second network through a second channel, and the first channel is different from the second channel;
fig. 9-1 is a schematic structural diagram of a ninth first electronic device according to an embodiment of the present invention, and as shown in fig. 9-1, the first electronic device includes a forming unit 901, a first receiving unit 902, an inquiring unit 903, and a first accessing unit 904, where:
the forming unit 901 is configured to form a list including the network ID information and the network key thereof.
The first receiving unit 902 is configured to receive an access request message sent by a second electronic device, where the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
the querying unit 903 is configured to query a preset list, and determine whether the network ID information of the network to which the second electronic device belongs and the network key thereof are valid, so as to obtain a first determination result;
the first accessing unit 904 is configured to access the second electronic device to a network when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
As shown in fig. 9-2, the forming unit 901 includes a first receiving module 911 and a forming module 912, wherein:
the first receiving module 911 is configured to receive a synchronization message sent by each third electronic device connected to the first receiving module, where the third electronic device belongs to a first class of electronic devices;
the synchronization message carries network ID information of a network formed by the second electronic equipment and a network key thereof;
the forming module 912 is configured to form the list according to the network ID information and the network key thereof.
In this embodiment of the present invention, the first electronic device further includes an updating unit, configured to update the list, and the updating unit is configured to, when the network ID information and the network key are not included in the list, write the network ID information and the network key thereof into the list by the first electronic device.
As shown in fig. 9-3, the forming unit further includes a first sending module 910, configured to periodically send a synchronization request message to the third electronic device, where the synchronization request message is used to trigger the second electronic device to send, to the first electronic device, the network ID information of the network formed by the second electronic device and the network key thereof;
or, the first sending module 910 is configured to send a synchronization request message to the third electronic device when receiving the access request message sent by the second electronic device.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
In this embodiment of the present invention, the first access unit is configured to access the second electronic device to a network of the first electronic device when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
In the embodiment of the present invention, the list further includes: routing device ID information corresponding to network ID information and a network key; as shown in fig. 9-4, the first access unit 904 includes a second receiving module 941, a querying module 942, and a second transmitting module 943, wherein:
the second receiving module 941 is configured to receive data sent by the second electronic device when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid;
the query module 942 is configured to query the list to obtain the routing device ID information of the network to which the second electronic device belongs;
the second sending module 943 is configured to send the data to a third electronic device according to the routing device ID information, so that the second electronic device accesses a network formed by the third electronic device through the first electronic device.
In the embodiment of the present invention, the synchronization message includes network authority information of a device in a network formed by the third electronic device;
correspondingly, the first access unit is configured to access the second electronic device to the network formed by the first electronic device according to the network authority information when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
Example ten
Based on the foregoing embodiments, an embodiment of the present invention provides a third electronic device, where the third electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are communicated with each other through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel;
fig. 10 is a schematic diagram of a composition structure of a tenth third electronic device according to an embodiment of the present invention, and as shown in fig. 10, the third electronic device includes a first obtaining unit 1001 and a first sending unit 1002, where:
the first obtaining unit 1001 is configured to obtain network ID information of a network formed by the third electronic device and a network key thereof;
the first sending unit 1002 is configured to send a synchronization message to each first electronic device connected to the third electronic device, where the synchronization message includes network ID information of a network formed by the third electronic device and a network key thereof;
the synchronization message is used to trigger the first electronic device to form a list including network ID information and its network keys or to update the list.
In this embodiment of the present invention, the first sending unit 1001 is configured to send a synchronization message to each first electronic device connected to the third electronic device when replacing network ID information and/or a network key;
or, the synchronization module is configured to periodically send a synchronization message to each first electronic device connected to the third electronic device;
or, the method is used for sending a synchronization message to each first electronic device connected with the third electronic device when a new second type of electronic device joins the network formed by the third electronic device.
In this embodiment of the present invention, the third electronic device further includes the second obtaining unit, configured to obtain device ID information of a device in a network formed by the third electronic device and device authority information corresponding to the device ID information;
correspondingly, the synchronization message also carries equipment ID information and equipment authority information corresponding to the equipment ID information;
the device permission information is used for triggering the first electronic device to access the second electronic device to the network of the first electronic device according to the network permission information.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
EXAMPLE eleven
The embodiment of the invention provides a second electronic device, which is applied to a second electronic device, wherein the second electronic device belongs to a second type of electronic device, the second type of electronic device provides a routing function through a first type of electronic device, the first type of electronic device is an electronic device with the routing function, more than two first type of electronic devices are mutually communicated through a first channel to form a first network, the first type of electronic device is accessed into a second network through a second channel, and the first channel is different from the second channel;
fig. 11 is a schematic diagram of a composition structure of an eleventh second electronic device according to an embodiment of the present invention, and as shown in fig. 11, the second electronic device includes a detecting unit 1101 and a second sending unit 1102, where:
the detecting unit 1101 is configured to detect an accessible network;
the second sending unit 1102 is configured to send an access request message to a first type of electronic device in the accessible network;
the access request message carries equipment Identification (ID) information of second electronic equipment, network ID information of a network to which the second electronic equipment belongs and a network key;
the access request message is used for triggering the first type of electronic equipment in the accessible network to send the equipment identification ID information, the network ID information and the network key to the electronic equipment of the network to which the second electronic equipment belongs.
The second electronic device in the embodiment of the present invention further includes a determining unit, configured to determine whether to start an automatic login function of the first network, so as to obtain a third determination result; and when the third judgment result shows that the second electronic equipment judges that the automatic login function of the first network is started, triggering the second sending unit.
In this embodiment of the present invention, the second electronic device further includes a prompting unit, configured to display a prompting message when the third determination result indicates that the second electronic device determines that the automatic login function of the first network is not started;
wherein the prompt message is used for prompting a user to input a network key of the accessible network.
In this embodiment of the present invention, the first network accessed by the first type of electronic device and the second network accessed by the first type of electronic device have at least one of the following parameters:
throughput, bandwidth, packet loss rate, frequency, connection mode, transmission protocol.
Here, it should be noted that: the above description of the embodiment of the electronic device is similar to the above description applied to the embodiment of the information processing method, and has the same beneficial effects as the embodiment of the method, and therefore, the description is omitted. For technical details not disclosed in the embodiments of the electronic device of the present invention, refer to the description of the embodiments of the information processing method of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable memory device, a Read-only memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (28)

1. An information processing method is applied to first electronic equipment, wherein the first electronic equipment belongs to first-class electronic equipment, the first-class electronic equipment is electronic equipment with a routing function, more than two first-class electronic equipment are mutually communicated through a first channel to form a first network, the first-class electronic equipment is accessed into a second network through a second channel, and the first channel is different from the second channel;
the method comprises the following steps:
the first electronic equipment receives an access request message sent by second electronic equipment, wherein the second electronic equipment belongs to second type electronic equipment, and the first type electronic equipment provides a routing function for the second type electronic equipment;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
the first electronic equipment inquires a preset list, and judges whether the network ID information of the network to which the second electronic equipment belongs and the network key of the second electronic equipment are valid or not to obtain a first judgment result;
and when the first judgment result shows that the network ID information of the network to which the second electronic equipment belongs and the network key thereof are valid, the first electronic equipment accesses the second electronic equipment to the network.
2. The method of claim 1, wherein before the first electronic device queries a preset list, the method further comprises:
the first electronic device forms a list including the network ID information and its network keys.
3. The method of claim 2, wherein the first electronic device forms a list including the network ID information and its network key, comprising:
the first electronic equipment receives synchronous messages sent by all third electronic equipment connected with the first electronic equipment, wherein the third electronic equipment belongs to first-class electronic equipment;
the synchronization message carries network ID information of a network formed by the second electronic equipment and a network key thereof;
and the first electronic equipment forms the list according to the network ID information and the network key thereof.
4. The method of claim 3, further comprising: updating the list, the updating the list comprising:
when the network ID information and the network key are not included in the list, the first electronic device writes the network ID information and the network key thereof into the list.
5. The method of claim 3, wherein the first electronic device forms a list including network ID information and its network keys, further comprising:
the first electronic device periodically sends a synchronization request message to the third electronic device, wherein the synchronization request message is used for triggering the second electronic device to send network ID information of a network formed by the second electronic device and a network key thereof to the first electronic device;
or,
and when receiving the access request message sent by the second electronic equipment, the first electronic equipment sends a synchronization request message to the third electronic equipment.
6. The method of any of claims 1-5, wherein the first electronic device accessing the second electronic device to a network comprises:
and the first electronic equipment accesses the second electronic equipment to the network of the first electronic equipment.
7. The method according to any of claims 1 to 5, wherein the list further comprises routing device ID information, the routing device ID information corresponding to network ID information, a network key;
the first electronic device accesses the second electronic device to a network, including:
the first electronic equipment receives data sent by the second electronic equipment;
the first electronic equipment inquires the list to obtain the routing equipment ID information of the network to which the second electronic equipment belongs;
and the first electronic equipment sends the data to third electronic equipment according to the routing equipment ID information so as to enable the second electronic equipment to access a network formed by the third electronic equipment through the first electronic equipment.
8. The method according to claim 6, wherein the synchronization message includes network authority information of devices in a network formed by the third electronic device;
correspondingly, the accessing, by the first electronic device, the second electronic device to the network of the first electronic device itself includes:
and the first electronic equipment accesses the second electronic equipment to the network of the first electronic equipment according to the network authority information.
9. An information processing method is applied to a third electronic device, wherein the third electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are communicated with each other through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel;
the method comprises the following steps:
the third electronic equipment sends a synchronization message to each first electronic equipment connected with the third electronic equipment, wherein the synchronization message comprises network ID information of a network formed by the third electronic equipment and a network key thereof;
the synchronization message is used to trigger the first electronic device to form a list including network ID information and its network keys or to update the list.
10. The method of claim 9, wherein sending, by the third electronic device, the third electronic device synchronization message to each first electronic device connected thereto comprises:
the third electronic equipment sends a synchronization message to each first electronic equipment connected with the third electronic equipment when the network ID information and/or the network key are/is replaced;
or,
the third electronic equipment periodically sends a synchronization message to each first electronic equipment connected with the third electronic equipment;
or,
and when new second-type electronic equipment is added into the network formed by the third electronic equipment, the third electronic equipment sends a synchronization message to each first electronic equipment connected with the third electronic equipment.
11. The method according to claim 9 or 10, characterized in that the method further comprises:
the third electronic equipment acquires equipment ID information of equipment in a network formed by the third electronic equipment and equipment authority information corresponding to the equipment ID information;
in a corresponding manner, the first and second electrodes are,
the synchronization message also carries equipment ID information and equipment authority information corresponding to the equipment ID information;
the device permission information is used for triggering the first electronic device to access the second electronic device to the network of the first electronic device according to the network permission information.
12. An information processing method is applied to a second electronic device, wherein the second electronic device belongs to a second type of electronic device, the second type of electronic device provides a routing function by a first type of electronic device, the first type of electronic device is an electronic device with a routing function, more than two first types of electronic devices are mutually communicated through a first channel to form a first network, the first type of electronic device is accessed to a second network through a second channel, and the first channel is different from the second channel; the method comprises the following steps:
the second electronic device detecting an accessible network;
the second electronic equipment sends an access request message to first electronic equipment in the accessible network;
the access request message carries equipment Identification (ID) information of second electronic equipment, network ID information of a network to which the second electronic equipment belongs and a network key;
the access request message is used for triggering the first type of electronic equipment in the accessible network to send the equipment identification ID information, the network ID information and the network key to the electronic equipment of the network to which the second electronic equipment belongs.
13. The method of claim 12, wherein before the second electronic device sends the access request message to the first type of electronic device in the accessible network, the method further comprises:
the second electronic equipment judges whether an automatic login function of the first network is started or not to obtain a third judgment result;
and when the third judgment result shows that the second electronic equipment judges that the automatic login function of the first network is started, the second electronic equipment sends an access request message to the first type of electronic equipment in the accessible network.
14. The method according to claim 12 or 13, characterized in that the method further comprises:
and when the third judgment result shows that the second electronic equipment does not start the automatic login function of the first network, the second electronic equipment displays a prompt message, wherein the prompt message is used for prompting a user to input the network key of the accessible network.
15. A first electronic device is characterized in that the first electronic device belongs to a first class of electronic devices, the first class of electronic devices are electronic devices with a routing function, more than two first class of electronic devices are mutually communicated through a first channel to form a first network, the first class of electronic devices are accessed into a second network through a second channel, and the first channel is different from the second channel;
the first electronic device comprises a first receiving unit, an inquiring unit and a first access unit, wherein:
the first receiving unit is configured to receive an access request message sent by a second electronic device, where the second electronic device belongs to a second type of electronic device, and the first type of electronic device provides a routing function for the second type of electronic device;
the access request message carries network ID information of a network to which the second electronic equipment belongs and a network key thereof;
the query unit is configured to query a preset list, and determine whether network ID information of a network to which the second electronic device belongs and a network key thereof are valid, so as to obtain a first determination result;
the first access unit is configured to access the second electronic device to a network when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
16. The first electronic device according to claim 15, characterized in that the first electronic device further comprises a forming unit for forming a list comprising network ID information and its network keys.
17. The first electronic device of claim 16, wherein the forming unit comprises a first receiving module and a forming module, wherein:
the first receiving module is configured to receive a synchronization message sent by each third electronic device connected to the first receiving module, where the third electronic device belongs to a first class of electronic devices;
the synchronization message carries network ID information of a network formed by the second electronic equipment and a network key thereof;
and the forming module is used for forming the list according to the network ID information and the network key thereof.
18. The first electronic device according to claim 17, further comprising an updating unit configured to update the list, wherein the updating unit is configured to write the network ID information and the network key thereof into the list when the network ID information and the network key are not included in the list.
19. The first electronic device according to claim 17, wherein the forming unit further comprises a first sending module, configured to periodically send a synchronization request message to the third electronic device, where the synchronization request message is used to trigger the second electronic device to send, to the first electronic device, network ID information of a network formed by the second electronic device and a network key thereof;
or,
the first sending module is configured to send a synchronization request message to the third electronic device when receiving the access request message sent by the second electronic device.
20. The first electronic device according to any one of claims 15 to 19, wherein the first accessing unit is configured to access the second electronic device to a network of the first electronic device when the first determination result indicates that network ID information of a network to which the second electronic device belongs and a network key thereof are valid.
21. The first electronic device of any of claims 15-19, wherein the list further comprises: routing device ID information corresponding to network ID information and a network key;
the first access unit comprises a second receiving module, a query module and a second sending module, wherein:
the second receiving module is configured to receive data sent by the second electronic device when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid;
the query module is used for querying the list to obtain the routing equipment ID information of the network to which the second electronic equipment belongs;
the second sending module is configured to send the data to a third electronic device according to the routing device ID information, so that the second electronic device accesses a network formed by the third electronic device through the first electronic device.
22. The first electronic device of claim 20, wherein the synchronization message includes network permission information of devices in a network formed by the third electronic device;
correspondingly, the first access unit is configured to access the second electronic device to the network formed by the first electronic device according to the network authority information when the first determination result indicates that the network ID information of the network to which the second electronic device belongs and the network key thereof are valid.
23. A third electronic device, wherein the third electronic device belongs to a first type of electronic device, the first type of electronic device is an electronic device with a routing function, two or more first type of electronic devices are interconnected through a first channel to form a first network, the first type of electronic device is connected to a second network through a second channel, and the first channel is different from the second channel;
the third electronic device includes a first obtaining unit and a first sending unit, wherein:
the first obtaining unit is configured to obtain network ID information of a network formed by the third electronic device and a network key thereof;
the first sending unit is configured to send a synchronization message to each first electronic device connected to the third electronic device, where the synchronization message includes network ID information of a network formed by the third electronic device and a network key thereof;
the synchronization message is used to trigger the first electronic device to form a list including network ID information and its network keys or to update the list.
24. The third electronic device according to claim 23, wherein the first sending unit is configured to send a synchronization message to each first electronic device connected to the third electronic device when network ID information and/or a network key is replaced;
or,
the synchronization message is periodically sent to each first electronic device connected with the third electronic device;
or,
and the synchronization message is sent to each first electronic device connected with the third electronic device when a new second type of electronic device joins the network formed by the third electronic device.
25. The third electronic device according to claim 23 or 24, further comprising a second obtaining unit:
the second obtaining unit is configured to obtain device ID information of a device in a network formed by the third electronic device and device authority information corresponding to the device ID information;
correspondingly, the synchronization message also carries equipment ID information and equipment authority information corresponding to the equipment ID information;
the device permission information is used for triggering the first electronic device to access the second electronic device to the network of the first electronic device according to the network permission information.
26. A second electronic device, which is applied to a second electronic device, where the second electronic device belongs to a second class of electronic devices, the second class of electronic devices provides a routing function through the first class of electronic devices, the first class of electronic devices are electronic devices with a routing function, two or more first class of electronic devices are connected to each other through a first channel to form a first network, the first class of electronic devices are connected to a second network through a second channel, and the first channel is different from the second channel; the second electronic device includes a detection unit and a second transmission unit, wherein:
the detection unit is used for detecting an accessible network;
the second sending unit is configured to send an access request message to the first type of electronic device in the accessible network;
the access request message carries equipment Identification (ID) information of second electronic equipment, network ID information of a network to which the second electronic equipment belongs and a network key;
the access request message is used for triggering the first type of electronic equipment in the accessible network to send the equipment identification ID information, the network ID information and the network key to the electronic equipment of the network to which the second electronic equipment belongs.
27. The second electronic device according to claim 26, further comprising a determining unit, configured to determine whether to start an automatic login function of the first network by the second electronic device, so as to obtain a third determination result; and when the third judgment result shows that the second electronic equipment judges that the automatic login function of the first network is started, triggering the second sending unit.
28. The second electronic device according to claim 26 or 27, further comprising a prompting unit configured to display a prompting message when the third determination result indicates that the second electronic device determines that the automatic login function of the first network is not started;
wherein the prompt message is used for prompting a user to input a network key of the accessible network.
CN201410474703.8A 2014-09-17 2014-09-17 A kind of information processing method and electronic equipment Active CN105491565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410474703.8A CN105491565B (en) 2014-09-17 2014-09-17 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410474703.8A CN105491565B (en) 2014-09-17 2014-09-17 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105491565A true CN105491565A (en) 2016-04-13
CN105491565B CN105491565B (en) 2019-10-29

Family

ID=55678203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410474703.8A Active CN105491565B (en) 2014-09-17 2014-09-17 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105491565B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979002A (en) * 2016-06-29 2016-09-28 联想(北京)有限公司 Information processing method and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090930A1 (en) * 2002-11-13 2004-05-13 Lee Hyun-Woo Authentication method and system for public wireless local area network system
JP2004207965A (en) * 2002-12-25 2004-07-22 Nec Commun Syst Ltd High speed authentication system and method for wireless lan
JP2006330881A (en) * 2005-05-24 2006-12-07 Toyo Keiki Co Ltd Setting method of terminal equipment
CN101399661A (en) * 2007-09-27 2009-04-01 华为技术有限公司 Legal neighbor authentication method and device in group key management
CN102811175A (en) * 2012-08-14 2012-12-05 杭州华三通信技术有限公司 Neighbor table item updating method and router
CN103220669A (en) * 2012-01-19 2013-07-24 中国移动通信集团公司 Share method, system, server, terminal and gateway management server of private wireless local area network (WLAN)
CN103368847A (en) * 2012-03-27 2013-10-23 华为技术有限公司 Broadband convergence communication method and router
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN103765855A (en) * 2013-09-13 2014-04-30 华为终端有限公司 Processing method of wireless network equipment, wireless network equipment and processor
CN103828413A (en) * 2011-09-27 2014-05-28 高通股份有限公司 Automatic configuration of a wireless device
KR20140069635A (en) * 2012-11-29 2014-06-10 김만필 Aidc based smart devices for automatic connecting access point
CN103874164A (en) * 2014-02-28 2014-06-18 齐文钊 Method and system for connecting to WIFI (Wireless Fidelity) by NFC (Near Field Communication) and mobile terminal equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040090930A1 (en) * 2002-11-13 2004-05-13 Lee Hyun-Woo Authentication method and system for public wireless local area network system
JP2004207965A (en) * 2002-12-25 2004-07-22 Nec Commun Syst Ltd High speed authentication system and method for wireless lan
JP2006330881A (en) * 2005-05-24 2006-12-07 Toyo Keiki Co Ltd Setting method of terminal equipment
CN101399661A (en) * 2007-09-27 2009-04-01 华为技术有限公司 Legal neighbor authentication method and device in group key management
CN103828413A (en) * 2011-09-27 2014-05-28 高通股份有限公司 Automatic configuration of a wireless device
CN103220669A (en) * 2012-01-19 2013-07-24 中国移动通信集团公司 Share method, system, server, terminal and gateway management server of private wireless local area network (WLAN)
CN103368847A (en) * 2012-03-27 2013-10-23 华为技术有限公司 Broadband convergence communication method and router
CN102811175A (en) * 2012-08-14 2012-12-05 杭州华三通信技术有限公司 Neighbor table item updating method and router
KR20140069635A (en) * 2012-11-29 2014-06-10 김만필 Aidc based smart devices for automatic connecting access point
CN103765855A (en) * 2013-09-13 2014-04-30 华为终端有限公司 Processing method of wireless network equipment, wireless network equipment and processor
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
CN103874164A (en) * 2014-02-28 2014-06-18 齐文钊 Method and system for connecting to WIFI (Wireless Fidelity) by NFC (Near Field Communication) and mobile terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979002A (en) * 2016-06-29 2016-09-28 联想(北京)有限公司 Information processing method and electronic equipment
CN105979002B (en) * 2016-06-29 2019-09-24 联想(北京)有限公司 A kind of information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105491565B (en) 2019-10-29

Similar Documents

Publication Publication Date Title
JP6943978B2 (en) Communication method and related equipment
JP6668407B2 (en) Terminal authentication method and apparatus used in mobile communication system
US10193891B2 (en) Device-to-device network location updates
CN106304264B (en) Wireless network access method and device
WO2016015510A1 (en) Method and device for terminal authentication for use in mobile communication system
CN103906055A (en) Service data distribution method and service data distribution system
CN104093151A (en) Method and device for preventing Wi-Fi (Wireless-Fidelity) hot spot from being illegally accessed
CN108024306B (en) TCP connection management method and gateway equipment
CN105491565B (en) A kind of information processing method and electronic equipment
CN103067902A (en) Charging method, server, mobile terminal and charging system
Nguyen et al. An SDN‐based connectivity control system for Wi‐Fi devices
CN105491640B (en) A kind of information processing method and electronic equipment
CN110620751A (en) WIFI routing terminal, access gateway, authentication method and authentication system thereof
CN111786871B (en) Bluetooth MESH different network data transmission method
CN105530631A (en) Communication method, communication device and communication system
CN105490968B (en) A kind of information processing method and electronic equipment
CN105490965A (en) Information processing method and routing electronic equipment
KR102216546B1 (en) Method for providing private network service for each application and telecommunication network system, and method for transmitting traffic in terminal
CN105791081B (en) Information processing method and first electronic device
CN105429932B (en) A kind of information processing method and electronic equipment
CN106357511B (en) Information synchronization method and device
CN115175118B (en) Communication service complementary system and method based on cooperative WiFi
JP4094485B2 (en) User terminal connection control method and connection control server
WO2022270228A1 (en) Device and method for providing communication service for accessing ip network, and program therefor
CN105491639B (en) A kind of information processing method and electronic equipment

Legal Events

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