CN108174372A - Method for network access, device, electronic equipment and storage medium - Google Patents

Method for network access, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108174372A
CN108174372A CN201711403515.6A CN201711403515A CN108174372A CN 108174372 A CN108174372 A CN 108174372A CN 201711403515 A CN201711403515 A CN 201711403515A CN 108174372 A CN108174372 A CN 108174372A
Authority
CN
China
Prior art keywords
equipment
network
network access
configuration information
access point
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.)
Withdrawn
Application number
CN201711403515.6A
Other languages
Chinese (zh)
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.)
Zhuhai Juntian Electronic Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201711403515.6A priority Critical patent/CN108174372A/en
Publication of CN108174372A publication Critical patent/CN108174372A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Abstract

The present invention proposes a kind of method for network access, device, electronic equipment and storage medium, wherein, method includes:First equipment is established first network with the second equipment based on short range wireless transmission and is connect;First equipment connects the configuration information that network access point is sent to second equipment by the first network;The networking that first equipment receives the second equipment transmission by first network connection is asked, and establishes the second network connection based on the network access point with second equipment;Wherein, the configuration information is carried in the request that networks.By this method, can realize between equipment at a high speed, the communication of the proximal end of high security, the characteristics of by combining two kinds of wireless communication modes, solve in the prior art using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.

Description

Method for network access, device, electronic equipment and storage medium
Technical field
The present invention relates to technical field of electronic equipment more particularly to a kind of method for network access, device, electronic equipment and deposit Storage media.
Background technology
Between mobile equipment except through internet inter-transmitting file except, most common transmission mode is carried out by bluetooth Point-to-point transmission is transmitted by the Wi-Fi Hotspot of unencryption.
However, when being transmitted by bluetooth, transmission speed is slower, and due to the Bluetooth pairing of different system, operation side Formula difference, the process for establishing bluetooth connection is relatively complicated, and user experience is bad.It is transmitted by the Wi-Fi Hotspot of unencryption When, due to not being encrypted, cause transmission security poor.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the present invention is to propose a kind of method for network access, by being first based on short-distance wireless What transmission was established between equipment quick connect and transmits link information, then the high speed established between equipment according to link information connects Connect, realize between equipment at a high speed, the communication of the proximal end of high security, the characteristics of by combining two kinds of wireless communication modes, solve existing Have in technology using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.
Second object of the present invention is to propose another method for network access.
Third object of the present invention is to propose a kind of network access device.
Fourth object of the present invention is to propose another network access device.
The 5th purpose of the present invention is to propose a kind of electronic equipment.
The 6th purpose of the present invention is to propose another electronic equipment.
The 7th purpose of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
The 8th purpose of the present invention is to propose another non-transitorycomputer readable storage medium.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of method for network access, including:
First equipment is established first network with the second equipment based on short range wireless transmission and is connect;
First equipment is connected to second equipment transmission network access point by the first network with confidence Breath;
First equipment receives the networking that second equipment sends by first network connection and asks, and with institute It states the second equipment and establishes the second network connection based on the network access point;Wherein, match described in being carried in the request that networks Confidence ceases.
As the optional realization method of another kind of first aspect present invention embodiment, first equipment passes through described the One network connection receives the networking request that second equipment is sent, and is established with second equipment based on the network insertion Second network connection of point, including:
First equipment extracts the configuration information from the request that networks, and the configuration information is verified;
First equipment establishes second network connection after being verified, with second equipment.
As the optional realization method of another kind of first aspect present invention embodiment, first equipment is from the networking The configuration information is extracted in request, the configuration information is verified, including:
First equipment shows inquiry request in display interface;Wherein, the inquiry request is used to ask whether to allow Second equipment accesses the network access point;
First equipment is carried when second equipment is allowed to access the network access point from the request that networks Take the configuration information;
The configuration information that first equipment utilization is locally stored is compared with the configuration information extracted;
If two accordant configuration informations, first equipment is tested by the configuration information to extracting Card.
As the optional realization method of another kind of first aspect present invention embodiment, first equipment and described second Equipment is established after the second network connection based on the network access point, is further included:
First equipment by second network connection transmits file to second equipment or receives described the The file of two equipment transmission.
As the optional realization method of another kind of first aspect present invention embodiment, first equipment passes through institute It states the second network connection and transmits file to second equipment, including:
First equipment chooses the file to be transmitted for needing to transmit to second equipment from the All Files of storage;
First equipment verifies the size and/or form of the file to be transmitted;
After being verified, the file to be transmitted is transferred to institute by first equipment by second network connection State the second equipment.
As the optional realization method of another kind of first aspect present invention embodiment, first equipment is based on short distance Wireless transmission is established first network with the second equipment and is connect, including:
Around first equipment detection with the matched facility information of the short range wireless transmission;Wherein, it is described to set The facility information of second equipment is included at least in standby information, the facility information of second equipment is in second equipment In what is broadcasted when can search for state by the short range wireless transmission;
First equipment establishes the first network according to the facility information of second equipment with second equipment Connection.
As the optional realization method of another kind of first aspect present invention embodiment, first equipment is according to described the The facility information of two equipment is established the first network with second equipment and is connect, including:
The facility information detected is illustrated in display interface by first equipment in the form of a list;
After the facility information for detecting second equipment is selected, then first equipment is set with described second It is standby to establish the first network connection.
The method for network access of the embodiment of the present invention is built by the first equipment based on short range wireless transmission with the second equipment Vertical first network connection, the configuration information that network access point is sent to the second equipment is connected by first network, passes through the first net Network connection receives the networking request that the second equipment is sent, and establishes the second network based on network access point with the second equipment and connect It connects.By first quick connecting based on what short range wireless transmission was established between equipment and transmitting link information, then believe according to line Breath establishes the high speed connection between equipment, realizes the proximal end communication of high speed, high security between equipment, wireless by combining two kinds The characteristics of communication modes, is solved in the prior art using the technology that single wireless communication mode transmission speed is slow, safety is poor Problem.
In order to achieve the above object, second aspect of the present invention embodiment proposes another method for network access, including:
First equipment is established first network with the second equipment based on short range wireless transmission and is connect;
First equipment receives matching for the network access point of the second equipment transmission by first network connection Confidence ceases;
First equipment is connected to second equipment by the first network and sends the request that networks, and with described the Two equipment establish the second network connection based on the network access point;Wherein, it is carried in the request that networks described with confidence Breath.
As the optional realization method of another kind of second aspect of the present invention embodiment, first equipment passes through described the One network connection sends the request that networks, and establish based on the network access point with second equipment to second equipment Second network connection, including:
First equipment carries the configuration information in the request that networks, and is sent to second equipment and carries out The verification of the configuration information;
First equipment is established after second equipment is verified the configuration information with second equipment Second network connection.
It is described to be established with second equipment as the optional realization method of another kind of second aspect of the present invention embodiment After the second network connection based on the network access point, further include:
First equipment by second network connection transmits file to second equipment or receives described the The file of two equipment transmission.
As the optional realization method of another kind of second aspect of the present invention embodiment, first equipment passes through described the Two network connections transmit file to second equipment, including:
First equipment chooses the file to be transmitted for needing to transmit to second equipment from the All Files of storage;
First equipment verifies the size and/or form of the file to be transmitted;
After being verified, the file to be transmitted is transferred to institute by first equipment by second network connection State the second equipment.
As the optional realization method of another kind of second aspect of the present invention embodiment, first equipment passes through described the Two network connections transmit file to second equipment, including:
First equipment chooses the file to be transmitted for needing to transmit to second equipment from the All Files of storage;
First equipment verifies the size and/or form of the file to be transmitted;
After being verified, the file to be transmitted is transferred to institute by first equipment by second network connection State the second equipment.
As the optional realization method of another kind of second aspect of the present invention embodiment, first equipment is according to described the The facility information of two equipment is established the first network with second equipment and is connect, including:
The facility information detected is illustrated in display interface by first equipment in the form of a list;
After the facility information for detecting second equipment is selected, then first equipment is set with described second It is standby to establish the first network connection.
The method for network access of the embodiment of the present invention is built by the first equipment based on short range wireless transmission with the second equipment Vertical first network connection, the configuration information for receiving the network access point that the second equipment is sent is connected by first network, by the One network connection sends the request that networks to the second equipment, and establishes the second network based on network access point with the second equipment and connect It connects.By first quick connecting based on what short range wireless transmission was established between equipment and transmitting link information, then believe according to line Breath establishes the high speed connection between equipment, realizes the proximal end communication of high speed, high security between equipment, wireless by combining two kinds The characteristics of communication modes, is solved in the prior art using the technology that single wireless communication mode transmission speed is slow, safety is poor Problem.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of network access device, including:
First establishes module, and establishing first network with the second equipment for being based on short range wireless transmission connect;
Sending module, for being connected by the first network to second equipment transmission network access point with confidence Breath;
Second establishes module, and the networking for receiving the second equipment transmission by first network connection is asked, And establish the second network connection based on the network access point with second equipment;Wherein, it is carried in the request that networks The configuration information.
As the optional realization method of another kind of third aspect present invention embodiment, described second establishes module, including:
Authentication unit for extracting the configuration information from the request that networks, is verified the configuration information;
Second establishes unit, for after being verified, second network connection to be established with second equipment.
As the optional realization method of another kind of third aspect present invention embodiment, the authentication unit is specifically used for:
Inquiry request is shown in display interface;Wherein, the inquiry request is used to ask whether to allow second equipment Access the network access point;
When second equipment is allowed to access the network access point, extraction is described from the request that networks matches confidence Breath;
It is compared using the configuration information being locally stored with the configuration information extracted;
If two accordant configuration informations pass through the verification of the configuration information to extracting.
As the optional realization method of another kind of third aspect present invention embodiment, described device further includes:
Transmission module, after establishing the second network connection based on the network access point with second equipment, File is transmitted to second equipment by second network connection or receives the file that second equipment is transmitted.
As the optional realization method of another kind of third aspect present invention embodiment, the transmission module is specifically used for:
The file to be transmitted for needing to transmit to second equipment is chosen from the All Files of storage;
The size and/or form of the file to be transmitted are verified;
After being verified, the file to be transmitted is transferred to second equipment by second network connection.
As the optional realization method of another kind of third aspect present invention embodiment, described first establishes module, including:
First probe unit, for detection surrounding and the matched facility information of the short range wireless transmission;Wherein, institute The facility information that second equipment is included at least in facility information is stated, the facility information of second equipment is described second Equipment is in what is broadcasted when can search for state by the short range wireless transmission;
First establishing unit establishes described first for the facility information according to second equipment and second equipment Network connection.
As the optional realization method of another kind of third aspect present invention embodiment, the first establishing unit, specifically For:
The facility information detected is illustrated in display interface in the form of a list;
After the facility information for detecting second equipment is selected, then described is established with second equipment One network connection.
The network access device of the embodiment of the present invention establishes the first net by being based on short range wireless transmission with the second equipment Network connects, and the configuration information that network access point is sent to the second equipment is connected by first network, is connect by first network The networking request of the second equipment transmission is received, and the second network connection based on network access point is established with the second equipment.Pass through elder generation It quick connect based on what short range wireless transmission was established between equipment and transmits link information, then equipment is established according to link information Between high speed connection, realize between equipment at a high speed, the communication of the proximal end of high security, pass through and combine two kinds of wireless communication modes Feature was solved in the prior art using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.
In order to achieve the above object, fourth aspect present invention embodiment proposes another network access device, including:
Third establishes module, and establishing first network with the second equipment for being based on short range wireless transmission connect;
Receiving module, for receiving matching for the network access point of the second equipment transmission by first network connection Confidence ceases;
4th establishes module, is asked for connecting to send to network to second equipment by the first network, and with Second equipment establishes the second network connection based on the network access point;Wherein, described in being carried in the request that networks Configuration information.
As the optional realization method of another kind of fourth aspect present invention embodiment, the described 4th establishes module, including:
Transmitting element, for by the configuration information carry it is described network request in, be sent to second equipment into The verification of the row configuration information;
4th establishes unit, for after second equipment is verified the configuration information, being set with described second It is standby to establish second network connection.
As the optional realization method of another kind of fourth aspect present invention embodiment, described device further includes:
Transmission module, after establishing the second network connection based on the network access point with second equipment, File is transmitted to second equipment by second network connection or receives the file that second equipment is transmitted.
As the optional realization method of another kind of fourth aspect present invention embodiment, the transmission module is specifically used for:
The file to be transmitted for needing to transmit to second equipment is chosen from the All Files of storage;
First equipment verifies the size and/or form of the file to be transmitted;
After being verified, the file to be transmitted is transferred to institute by first equipment by second network connection State the second equipment.
As the optional realization method of another kind of fourth aspect present invention embodiment, the third establishes module, including:
Second probe unit, for detection surrounding and the matched facility information of the short range wireless transmission;Wherein, institute The facility information that second equipment is included at least in facility information is stated, the facility information of second equipment is described second Equipment is in what is broadcasted when can search for state by the short range wireless transmission;
Third establishes unit, and described first is established for the facility information according to second equipment and second equipment Network connection.
As the optional realization method of another kind of fourth aspect present invention embodiment, the third establishes unit, specifically For:
The facility information detected is illustrated in display interface in the form of a list;
After the facility information for detecting second equipment is selected, then described is established with second equipment One network connection.
The network access device of the embodiment of the present invention establishes the first net by being based on short range wireless transmission with the second equipment Network connects, and the configuration information for receiving the network access point that the second equipment is sent is connected by first network, is connected by first network It connects to the second equipment and sends the request that networks, and the second network connection based on network access point is established with the second equipment.Pass through elder generation It quick connect based on what short range wireless transmission was established between equipment and transmits link information, then equipment is established according to link information Between high speed connection, realize between equipment at a high speed, the communication of the proximal end of high security, pass through and combine two kinds of wireless communication modes Feature was solved in the prior art using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.
In order to achieve the above object, fifth aspect present invention embodiment proposes a kind of electronic equipment, including:Housing, processor, Memory, circuit board and power circuit, wherein, circuit board is placed in the space interior that housing surrounds, and processor and memory are set It puts on circuit boards;Power circuit, for powering for each circuit or device of above-mentioned electronic equipment;Memory can for storing Perform program code;Processor is run and executable program code by reading the executable program code stored in memory Corresponding program, for performing the method for network access as described in first aspect embodiment.
In order to achieve the above object, sixth aspect present invention embodiment proposes another electronic equipment, including:Housing, processing Device, memory, circuit board and power circuit, wherein, circuit board is placed in the space interior that housing surrounds, processor and memory Setting is on circuit boards;Power circuit, for powering for each circuit or device of above-mentioned electronic equipment;Memory is used to store Executable program code;Processor is run and executable program generation by reading the executable program code stored in memory The corresponding program of code, for performing the method for network access as described in second aspect embodiment.
In order to achieve the above object, seventh aspect present invention embodiment proposes a kind of non-transitory computer-readable storage medium Matter is stored thereon with computer program, realizes that the network as described in first aspect embodiment connects when which is executed by processor Enter method.
In order to achieve the above object, eighth aspect present invention embodiment proposes another non-transitory computer-readable storage medium Matter is stored thereon with computer program, realizes that the network as described in second aspect embodiment connects when which is executed by processor Enter method.
In order to achieve the above object, ninth aspect present invention embodiment proposes a kind of computer program product, when the calculating The method for network access as described in first aspect embodiment is realized when instruction in machine program product is performed as processor.
In order to achieve the above object, tenth aspect present invention embodiment proposes a kind of computer program product, when the calculating The method for network access as described in second aspect embodiment is realized when instruction in machine program product is performed as processor.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description It obtains significantly or is recognized by the practice of the present invention.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Significantly and it is readily appreciated that, wherein:
The flow diagram of a kind of method for network access that Fig. 1 is provided by the embodiment of the present invention one;
The flow diagram of a kind of method for network access that Fig. 2 is provided by the embodiment of the present invention two;
The flow diagram of a kind of method for network access that Fig. 3 is provided by the embodiment of the present invention three;
The flow diagram of a kind of method for network access that Fig. 4 is provided by the embodiment of the present invention four;
The flow diagram of another method for network access that Fig. 5 is provided by the embodiment of the present invention one;
The flow diagram of another method for network access that Fig. 6 is provided by the embodiment of the present invention two;
The flow diagram of another method for network access that Fig. 7 is provided by the embodiment of the present invention three;
Fig. 8 (a) is the schematic diagram that device A is in the state that can search for;
Schematic diagram when Fig. 8 (b) is other equipment existing for equipment B search nearby;
Fig. 8 (c) shows the list of devices schematic diagram searched for equipment B;
Fig. 8 (d) is device A displaying connection inquiry message schematic diagram;
Fig. 8 (e) is the file transport interface schematic diagram of device A;
The structure diagram of a kind of network access device that Fig. 9 is provided by the embodiment of the present invention one;
The structure diagram of a kind of network access device that Figure 10 is provided by the embodiment of the present invention two;
The structure diagram of a kind of network access device that Figure 11 is provided by the embodiment of the present invention three;
The structure diagram of a kind of network access device that Figure 12 is provided by the embodiment of the present invention four;
The structure diagram of another network access device that Figure 13 is provided by the embodiment of the present invention one;
The structure diagram of another network access device that Figure 14 is provided by the embodiment of the present invention two;
The structure diagram of another network access device that Figure 15 is provided by the embodiment of the present invention three;
The structure diagram of another network access device that Figure 16 is provided by the embodiment of the present invention four;
Figure 17 is the structure diagram for a kind of electronic equipment that one embodiment of the invention proposes;And
Figure 18 is the structure diagram for another electronic equipment that one embodiment of the invention protrudes.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings method for network access, device, electronic equipment and the storage medium of the embodiment of the present invention are described.
The flow diagram of a kind of method for network access that Fig. 1 is provided by the embodiment of the present invention one.
Assuming that there is the demand of transmission file mutually before two equipment, then it can establish and wirelessly connect between both devices It connects.For convenience of description, two equipment of inter-transmitting file is needed to may be respectively referred to as the first equipment and the second equipment, one of them sets During for being sender, then another equipment is recipient..
It should be noted that the first equipment and the second equipment are identical equipment, have the function of identical, establishing near field Connection can be completed by shirtsleeve operation during connection.
As shown in Figure 1, the method for network access includes the following steps:
Step 101, the first equipment is established first network with the second equipment based on short range wireless transmission and is connect.
Wherein, short range wireless transmission such as can be bluetooth, near-field communication (Near Field Communication, The short-distance wireless communications mechanism such as NFC).
For an equipment, when opening of device short range wireless transmission mechanism after, which, which enters, to be searched Strand state can be searched by other neighbouring equipment for opening identical short range wireless transmission mechanism, it is of course also possible to Search the existing other equipment for opening identical short range wireless transmission mechanism nearby.So as in the present embodiment, when first When needing inter-transmitting file between equipment and the second equipment, the first equipment and the second equipment can open identical short-distance wireless and pass Defeated mechanism, for example bluetooth is opened, alternatively, opening NFC.Open the first equipment of identical short range wireless transmission mechanism Other side can be searched mutually with the second equipment.
First equipment may be used the search of short range wireless transmission mechanism and nearby be sent out with the presence or absence of other with the first equipment The equipment that the information format gone out matches.After second opening of device short range wireless transmission mechanism, second equipment enters can Searched state, broadcasts the information of itself in the form of broadcast, such as the unit type or title of the second equipment.If the second equipment The short range wireless transmission mechanism of unlatching is identical with the first equipment, then the form of the information of the second device broadcasts and the first equipment are sent out The form of the information gone out is identical, and the first equipment can detect the information that the second equipment is sent out, so as to be passed based on short-distance wireless First network connection between defeated Mechanism establishing and the second equipment, for example, when the first equipment and the second equipment open bluetooth, Bluetooth connection can be set up between two equipment.
Step 102, the first equipment connects the configuration information that network access point is sent to the second equipment by first network.
In the present embodiment, established between the first equipment and the second equipment after first network connection, the first equipment can be after It is continuous to create a network access point (such as Wi-Fi Hotspot), and by the configuration information of network access point by have built up the One network connection is sent to the second equipment.Wherein, the network access point that the first equipment is established can be included in configuration information The information such as title, password.
Step 103, the first equipment is connected by first network receives the networking request that the second equipment is sent, and set with second It is standby to establish the second network connection based on network access point;Wherein, it networks and carries configuration information in asking.
It, can be according to configuration information after the second equipment receives the configuration information of the first equipment transmission in the present embodiment Access the network access point of the first equipment foundation.When second equipment accesses network access point, established first can be first passed through Network connection sends the networking request for carrying configuration information to the first equipment, to obtain the insertion authority of the first equipment.First sets It, can be to the configuration information in asking that networks after the standby networking request that the transmission of the second equipment is received by first network Verified, for example, verification configuration information whether the accordant configuration information with itself storage, and be verified when consistent, permit Perhaps the corresponding network access point of the second equipment access configuration information, so as to set up the based on network access point with the second equipment Two network connections.
The method for network access of the present embodiment is based on short range wireless transmission and the second equipment by the first equipment and establishes the One network connection is connected the configuration information that network access point is sent to the second equipment by first network, is connected by first network The networking request that the second equipment is sent is received, and the second network connection based on network access point is established with the second equipment.It is logical Quickly connecting and transmitting link information between equipment is first established based on short range wireless transmission, then established according to link information High speed connection between equipment realizes the proximal end communication of high speed, high security between equipment, by combining two kinds of wireless telecommunications sides The characteristics of formula, was solved in the prior art using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.
In order to clearly describe to establish the first net with the second equipment based on short range wireless transmission in previous embodiment The specific implementation process of network connection, the embodiment of the present invention propose another method for network access, and Fig. 2 is the embodiment of the present invention two The flow diagram of a kind of method for network access provided.
As shown in Fig. 2, on the basis of embodiment as shown in Figure 1, step 101 may comprise steps of:
Step 201, the first equipment detection around with the matched facility information of short range wireless transmission.
Wherein, the facility information of the second equipment is included at least in facility information, the facility information of the second equipment is second Equipment is in and can search for what is broadcasted during state by short range wireless transmission.
After opening of device short range wireless transmission mechanism, which is that entrance can be searched state, and pass through short distance The facility information of itself is broadcasted in wireless transmission.For example, support Bluetooth function opening of device bluetooth after, the equipment by bluetooth to Surrounding broadcast Bluetooth signal includes the bluetooth title of the equipment in Bluetooth signal, and other equipment is allowed to search for the indigo plant of the equipment Tooth signal.
In the present embodiment, after the first opening of device short range wireless transmission mechanism, detect surrounding and short-distance wireless Matched facility information is transmitted, if the second opening of device short range wireless transmission mechanism identical with the first equipment, The facility information of two device broadcasts can be detected by the first equipment.
Step 202, the first equipment is established first network with the second equipment according to the facility information of the second equipment and is connect.
It specifically, can be with after the first equipment detects the facility information matched with short range wireless transmission of surrounding The facility information detected is illustrated in display interface in the form of a list, when the facility information quilt of the second equipment detected It after choosing, then establishes first network with the second equipment and connect, first network connection is established based on short range wireless transmission.
In the present embodiment, the facility information that the first equipment detects is illustrated in display circle of the first equipment in the form of a list It being selected in face for user, user selects the facility information of the second equipment interacted with the first equipment from list, for example, with Family can select the facility information of the second equipment by way of click, when the facility information of the second equipment of display is clicked Afterwards, the facility information of the second equipment is i.e. selected, the first equipment detect the second equipment facility information be selected after, then be based on The corresponding short range wireless transmission foundation of facility information is connect with the first network of the second equipment.
The method for network access of the present embodiment, by around the detection of the first equipment with short range wireless transmission is matched sets Standby information, establishes first network with the second equipment according to the facility information of the second equipment and connect, and can be based on short-distance wireless and pass The defeated wireless connection established between equipment, by using identical equipment, user only needs shirtsleeve operation that can establish near field company It connects, optimizes the operating process of user when establishing near field connection, improve user experience.
In order to clearly describe to connect the networking for receiving the second equipment and sending in previous embodiment by first network It asks, and the specific implementation process of the second network connection based on network access point, the embodiment of the present invention is established with the second equipment Another method for network access is proposed, Fig. 3 is shown by the flow of a kind of method for network access that the embodiment of the present invention three provides It is intended to.
As shown in figure 3, on the basis of embodiment as shown in Figure 1, step 103 may comprise steps of:
Step 301, the first equipment extracts configuration information from the request that networks, and configuration information is verified.
In the present embodiment, the second equipment receives matching for the network access point that the first equipment is sent by first network connection After confidence breath, when accessing network access point by configuration information, first network can be first passed through and connected to the transmission of the first equipment The networking request of configuration information is carried, to ensure to access correct network access point.First equipment receives the second equipment hair After the networking request sent, configuration information is extracted, and configuration information is verified from the request that networks.
It specifically, can be first in the display of the first equipment after the first equipment receives the networking request of the second equipment transmission Inquiry request is shown on interface, wherein, inquiry request is used to ask whether that the second equipment is allowed to access network access point.Work as permission When second equipment accesses network access point, from network ask in extract configuration information, and using the configuration information being locally stored with The configuration information extracted is compared, if two accordant configuration informations, pass through the verification of the configuration information to extracting.
In the present embodiment, after the first equipment receives networking request of second equipment by first network connection transmission, First inquiry request can be shown on the display interface of the first equipment, so that user decides whether that the second equipment is allowed to access network Access point.For example, " refusal " and " permission " two touch key-press can be provided on display interface, for receiving the choosing of user It selects.When user touches " permission " button, which is triggered, and after the first monitoring of equipment to triggering command, determines that second sets It is standby to be allowed to access network access point, then from network ask in extract the configuration information of carrying, and by it with being locally stored Configuration information is compared, and in two accordant configuration informations, passes through the verification of the configuration information to extracting.
Step 302, the first equipment establishes the second network connection after being verified with the second equipment.
In the present embodiment, the configuration information extracted in the first equipment asks the networking sent from the second equipment is verified By rear, the first equipment can establish the second network connection based on network access point with the second equipment.
The method for network access of the present embodiment extracts configuration information and to matching confidence by the first equipment from the request that networks Breath is verified, is established the second network connection with the second equipment after being verified, can be ensured the safety of network insertion, keep away Exempt to establish network connection with illegal equipment.
It is established after network connection between two equipment, can file be carried out by the network of foundation and mutually passed.So as at this In a kind of possible realization method of inventive embodiments, the first equipment establishes the second network based on network access point with the second equipment After connection, can also file be transmitted to the second equipment by the second network connection or receive the file that the second equipment is transmitted.
Specifically, the flow diagram of a kind of method for network access that Fig. 4 is provided by the embodiment of the present invention four.Such as Fig. 4 Shown, on the basis of embodiment as shown in Figure 1, the first equipment transmits text by the second network connection of foundation to the second equipment During part, it may comprise steps of:
Step 401, the first equipment chooses the file to be transmitted for needing to transmit to the second equipment from the All Files of storage.
In the present embodiment, the first equipment is established with the second equipment after the second network connection, the display interface of the first equipment File transport interface can be jumped to, and shows that file selects entrance in display interface, when user clicks file selection entrance When, the All Files list being locally stored is shown in display interface, user can select to need to second by way of choosing The file to be transmitted of equipment transmission.
Step 402, the first equipment verifies the size and/or form of file to be transmitted.
After user selectes file to be transmitted, the first equipment can test the size and/or form of file to be transmitted Card.
For example, when the second network connection of foundation is Wi-Fi Hotspot, since Wi-Fi Hotspot uses mobile data, In order to avoid the mobile data that the too big digestion of the size of file to be transmitted is excessive, the mobile data usage amount for leading to user is more than set Meal amount and deduct fees, user can pre-set allow transmission file size maximum value, size be more than maximum value file Do not allow to be transmitted.Since the size of video file is generally large, user can also preset the file that setting is not allowed to transmission Form blacklist adds in the video formats such as mp4, mpg, avi in blacklist, so that video file is not transmitted.Certainly, user Can also simultaneously to allow transmission file size and form be carried out at the same time limitation.According to user to allowing the file of transmission Size and/or form verify file to be transmitted, are transmitted to avoid the file for not meeting size and/or call format.
Step 403, after being verified, file to be transmitted is transferred to second by the second network connection and set by the first equipment It is standby.
In the present embodiment, after the first equipment carries out file to be transmitted being verified of size and/or form, you can will treat Transmission file provides the second network connection and is transferred to the second equipment.
The method for network access of the present embodiment, by the way that after the second network connection is established, the first equipment passes through the second net Network connects to the second equipment and transmits file, since the second network connection is established based on network access point, so as to protect While demonstrate,proving data transmission security, the efficiency of equipment room data transmission is improved, promotes user experience.
In the embodiment of the present invention, the first equipment and the second equipment are equivalent equipment, have the function of identical, the first equipment The operation of realization and the second equipment of function can similarly be realized.Previous embodiment has been described to be established wirelessly by the first equipment Access point, the second equipment receive the specific implementation of the method for network access of the configuration information for the network access point that the first equipment is sent Process, accordingly, the second equipment can also establish wireless access point, and the first equipment can receive the wireless of the second equipment transmission and connect The configuration information of access point.In order to be fully described by the realization side that an equipment realizes the method for network access of the embodiment of the present invention Formula, below by for wireless access point is established by the second equipment, the first equipment receives the wireless access point that second equipment is sent The situation of configuration information is described in detail.
The flow diagram of another method for network access that Fig. 5 is provided by the embodiment of the present invention one.
As shown in figure 5, the method for network access may comprise steps of:
Step 501, the first equipment is established first network with the second equipment based on short range wireless transmission and is connect.
When needing to establish the connection of the short range wireless transmission between the first equipment and the second equipment, user can select to lead to Other for crossing the short range wireless transmission mechanism identical with the second opening of device that may be present around the search of the second equipment are set It is standby, it can also be searched for by the first equipment that may be present with the identical short range wireless transmission of the first opening of device around The other equipment of mechanism.If the identical short range wireless transmission mechanism of the first equipment and the second opening of device, the first equipment Or second equipment search other side after, can the first net be established based on short range wireless transmission between the first equipment and the second equipment Network connects.
Herein it should be noted that establishing the specific mistake of first network connection in the present embodiment based on short range wireless transmission Journey may refer to the associated description in step 101 in previous embodiment, repeats to avoid, is no longer described in detail herein.
Step 502, the network access point that the first equipment is sent by first network connection the second equipment of reception matches confidence Breath.
It is established between first equipment and the second equipment after first network connection, the second equipment, which can continue to establish, wirelessly to be connect Access point (such as Wi-Fi Hotspot), and pass through first network and connect the configuration that established network access point is sent to the first equipment Information.Wherein, the title of network access point, the information such as password that the second equipment is established can be included in configuration information.First Equipment can receive the configuration information for the wireless access point that the second equipment is sent by first network connection.
Step 503, the first equipment is connected to the second equipment by first network and sends the request that networks, and is built with the second equipment Be based on the second network connection of network access point;Wherein, it networks and carries configuration information in asking.
It, can be according to configuration information after the first equipment receives the configuration information of the second equipment transmission in the present embodiment The request that networks is generated, and passes through first network and connects the networking request that carrying configuration information is sent to the second equipment.Second equipment After receiving networking request, can to network ask in the configuration information that carries verify, and to the after being verified One equipment is authorized, so that the first equipment can establish the second network connection based on network access point with the second equipment.
The method for network access of the present embodiment is based on short range wireless transmission and the second equipment by the first equipment and establishes the One network connection is connected the configuration information for receiving the network access point that the second equipment is sent by first network, passes through the first net Network connects to the second equipment and sends the request that networks, and establish the second network connection based on network access point with the second equipment.It is logical Quickly connecting and transmitting link information between equipment is first established based on short range wireless transmission, then established according to link information High speed connection between equipment realizes the proximal end communication of high speed, high security between equipment, by combining two kinds of wireless telecommunications sides The characteristics of formula, was solved in the prior art using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.
It is built to clearly describe the first equipment in previous embodiment based on short range wireless transmission with the second equipment The specific implementation process of vertical first network connection, the embodiment of the present invention propose another method for network access, and Fig. 6 is the present invention The flow diagram of another method for network access that embodiment two is provided.
As shown in fig. 6, on the basis of embodiment as shown in Figure 5, step 501 includes the following steps:
Step 601, the first equipment detection around with the matched facility information of short range wireless transmission.
Wherein, the facility information of the second equipment is included at least in facility information, the facility information of the second equipment is second Equipment is in and can search for what is broadcasted during state by short range wireless transmission.
After opening of device short range wireless transmission mechanism, which is that entrance can be searched state, and pass through short distance The facility information of itself is broadcasted in wireless transmission.For example, support Bluetooth function opening of device bluetooth after, the equipment by bluetooth to Surrounding broadcast Bluetooth signal includes the bluetooth title of the equipment in Bluetooth signal, and other equipment is allowed to search for the indigo plant of the equipment Tooth signal.
In the present embodiment, after the first opening of device short range wireless transmission mechanism, detect surrounding and short-distance wireless Matched facility information is transmitted, if the second opening of device short range wireless transmission mechanism identical with the first equipment, The facility information of two device broadcasts can be detected by the first equipment.
Herein it should be noted that being not limited in the embodiment of the present invention by existing and short distance around the detection of the first equipment From being wirelessly transferred matched facility information, after the first opening of device short range wireless transmission mechanism can also be detected by the second equipment The facility information sent out, whichsoever equipment first detect the facility information of another equipment, can detect equipment First network is established after information with another equipment to connect.
Step 602, the first equipment is established first network with the second equipment according to the facility information of the second equipment and is connect.
Specifically, the facility information detected can be illustrated in the display of the first equipment in the form of a list by the first equipment On interface, after the facility information that the first equipment detects the second equipment is selected, then the first equipment and the second equipment establish the One network connection.
The method for network access of the present embodiment, by around the detection of the first equipment with short range wireless transmission is matched sets Standby information, establishes first network with the second equipment according to the facility information of the second equipment and connect, and can be based on short-distance wireless and pass The defeated wireless connection established between equipment, by using identical equipment, user only needs shirtsleeve operation that can establish near field company It connects, optimizes the operating process of user when establishing near field connection, improve user experience.
It is established to clearly describe the first equipment in previous embodiment with the second equipment based on network access point The specific implementation process of second network connection, the embodiment of the present invention propose another method for network access, and Fig. 7 is real for the present invention Apply the flow diagram of another method for network access that example three is provided.
As shown in fig. 7, on the basis of embodiment as shown in Figure 5, step 503 may comprise steps of:
Step 701, the first equipment carries configuration information in the request that networks, and is sent to the second equipment and carries out configuration information Verification.
After first equipment receives configuration information of second equipment by the network access point of first network connection transmission, When accessing network access point by configuration information, first configuration information can be encapsulated in networking request, is connected by first network It connects the request that will network and is sent to the second equipment, to ensure to access correct network access point.Second equipment receives the first equipment After the networking request of transmission, configuration information is extracted, and configuration information is verified from the request that networks.
After second equipment receives the networking request of the first equipment transmission, can first it be shown on the display interface of the second equipment Show inquiry request, wherein, inquiry request is used to ask whether that the first equipment is allowed to access network access point.When allowing the first equipment When accessing network access point, from network ask in extract configuration information, and using the configuration information that is locally stored and extract Configuration information is compared, if two accordant configuration informations, pass through the verification of the configuration information to extracting.
Step 702, the first equipment establishes the second network after the second equipment is verified configuration information with the second equipment Connection.
As a kind of example, the configuration information that the second device authentication is extracted from the request that networks and the configuration being locally stored After information is consistent, by the verification to configuration information, the networking received can be directed to and ask to return to authorize to the first equipment to ring After information, the first equipment is answered to receive authorization response message, you can establish the second network connection with the second equipment.
The method for network access of the present embodiment by carrying configuration information in the request that networks, is sent to the second equipment The verification of configuration information is carried out, the second network connection is established with the second equipment after the second equipment is verified configuration information, It can ensure the safety of network insertion, avoid establishing network connection with illegal equipment.
It is established after network connection between two equipment, can file be carried out by the network of foundation and mutually passed.So as at this In a kind of possible realization method of inventive embodiments, the first equipment establishes the second network based on network access point with the second equipment After connection, the first equipment can also be transmitted file or receive the second equipment and transmitted by the second network connection to the second equipment File.
Specifically, the first equipment by the second network connection to the second equipment transmit file when, the first equipment can be from depositing The file to be transmitted for needing to transmit to the second equipment is chosen in the All Files of storage, and to the size and/or lattice of file to be transmitted Formula is verified, after being verified, file to be transmitted is transferred to the second equipment by the first equipment by the second network connection.Tool Body realizes that process may refer to embodiment described in Fig. 4 and the first equipment is transmitted by the second network connection of foundation to the second equipment The description of file is repeated to avoid, and details are not described herein again.
By the way that after the second network connection is established, the first equipment transmits file by the second network connection to the second equipment Or receive the second equipment transmission file, since the second network connection is established based on network access point, so as to While ensureing data transmission security, the efficiency of equipment room data transmission is improved, promotes user experience.
In order to clearly describe the realization process of the method for network access described in previous embodiment, below with one Specific embodiment is described in detail.
When needing inter-transmitting file between device A and equipment B, user can open the bluetooth of device A, enter device A State can be searched, as shown in Fig. 8 (a), at this point, device A broadcasts the facility information of its own by Bluetooth signal.Then, it uses Family operates equipment B, opens the bluetooth of equipment B, equipment B is made to start to detect neighbouring Bluetooth signal, is nearby deposited with searching for The other equipment for sending out Bluetooth signal, as shown in Fig. 8 (b).When equipment B detects the Bluetooth signal of surrounding, can incite somebody to action The facility information carried in the Bluetooth signal detected is shown in the form of a list in the display interface of equipment B, for user Selection, as shown in Fig. 8 (c).As can be seen that equipment B detects two equipment for sending out Bluetooth signal, equipment letter from Fig. 8 (c) Breath is respectively Spider-Man Parker and batman's Wei grace, and provides " connection " button for each facility information, when user's point When hitting " connection " button after a certain facility information, it is blue to show that user allows equipment B equipment corresponding with the facility information to establish Tooth connects.Assuming that the facility information of device A is Spider-Man Parker, then " connection " that user is clicked behind Spider-Man Parker is pressed After button, bluetooth connection has then been successfully established between equipment B and device A.Meanwhile equipment B establishes a Wi-Fi Hotspot, and should The configuration information of Wi-Fi Hotspot is sent to device A by the bluetooth connection of foundation.Device A receive equipment B transmissions with confidence After breath, it can show that connection inquiry message confirms for user in the display interface of device A, as shown in Fig. 8 (d), in Fig. 8 (d), The outstanding gloomy facility information for representing equipment B, the facility information can voluntarily be set, for example could be provided as using by the user of equipment B The name at family.If user agrees to connection, the accept button shown in Fig. 8 (d) can be clicked, then device A matching according to reception Confidence breath is automatically connected to the Wi-Fi Hotspot of equipment B foundation, and Wi-Fi connection is established.Wi- is established between device A and equipment B After Fi connections, then file transport interface is shown, as shown in Fig. 8 (e), so that user selects to need the file that transmits to be transferred to pair Side.Fig. 8 (e) is the file transport interface schematic diagram of device A, and in Fig. 8 (e), left side represents the file that device A is sent, right side table Show the file that device A receives.The user of device A can continue to select by clicking " select file " button shown in Fig. 8 (e) Selecting needs the file sent to be transferred to counterpart device.File is transmitted by being based on Wi-Fi connection, can realize that the high speed of file passes It is defeated.
In order to realize above-described embodiment, the present invention also proposes a kind of network access device.
The structure diagram of a kind of network access device that Fig. 9 is provided by the embodiment of the present invention one.
As shown in figure 9, the network access device 70 includes:First establishes module 710, sending module 720 and second builds Formwork erection block 730.Wherein,
First establishes module 710, and establishing first network with the second equipment for being based on short range wireless transmission connect.
Sending module 720, for pass through first network connect to the second equipment send network access point configuration information.
Second establishes module 730, receives the networking that the second equipment sends for being connected by first network and asks, and with the Two equipment establish the second network connection based on network access point;Wherein, it networks and carries configuration information in asking.
Further, in a kind of possible realization method of the embodiment of the present invention, as shown in Figure 10, as shown in Figure 9 real On the basis of applying example, first, which establishes module 710, includes:
First probe unit 711, for detection surrounding and the matched facility information of short range wireless transmission;Wherein, if The facility information of the second equipment is included at least in standby information, the facility information of the second equipment is to be in can search for shape in the second equipment It is broadcasted during state by short range wireless transmission.
First establishing unit 712 is established first network with the second equipment for the facility information according to the second equipment and is connect.
Specifically, first establishing unit 712 is used to for the facility information detected to be illustrated in display circle in the form of a list Face;After the facility information for detecting the second equipment is selected, then establishes first network with the second equipment and connect.
By detect around and the matched facility information of short range wireless transmission, according to the facility information of the second equipment with Second equipment establishes first network connection, the wireless connection between equipment can be established based on short range wireless transmission, by adopting With identical equipment, user only needs shirtsleeve operation that can establish near field connection, optimizes the behaviour of user when establishing near field connection Make process, improve user experience.
In a kind of possible realization method of the embodiment of the present invention, as shown in figure 11, on the basis of embodiment as shown in Figure 9 On, second, which establishes module 730, includes:
Authentication unit 731 for extracting configuration information from the request that networks, is verified configuration information.
Specifically, authentication unit 731 is used to show inquiry request in display interface;Wherein, inquiry request is for inquiring The second equipment of no permission accesses network access point;When the second equipment is allowed to access network access point, extracted from the request that networks Configuration information;It is compared using the configuration information being locally stored with the configuration information extracted;If two configuration informations one It causes, then passes through the verification of the configuration information to extracting.
Second establishes unit 732, for after being verified, the second network connection to be established with the second equipment.
By the extraction configuration information from the request that networks and configuration information is verified, set after being verified with second It is standby to establish the second network connection, it can ensure the safety of network insertion, avoid establishing network connection with illegal equipment.
In a kind of possible realization method of the embodiment of the present invention, as shown in figure 12, on the basis of embodiment as shown in Figure 9 On, which further includes:
Transmission module 740, after establishing the second network connection based on network access point with the second equipment, by the Two network connections transmit file to the second equipment or receive the file of the second equipment transmission.
Specifically, when transmission module 740 is used for through the second network connection to the second equipment transmission file, from the institute of storage There is the file to be transmitted chosen in file and need to transmit to the second equipment;The size and/or form of file to be transmitted are tested Card;After being verified, file to be transmitted is transferred to the second equipment by the second network connection.
By after the second network connection is established, file is transmitted to the second equipment by the second network connection, due to the Two network connections are established based on network access point, so as to while data transmission security is ensured, improve equipment Between data transmission efficiency, promoted user experience.
It should be noted that the aforementioned explanation to method for network access embodiment is also applied for the network of the embodiment Access device, realization principle is similar, and details are not described herein again.
The network access device of the present embodiment establishes first network company by being based on short range wireless transmission and the second equipment It connects, the configuration information that network access point is sent to the second equipment is connected by first network, the is received by first network connection The networking request that two equipment are sent, and establish the second network connection based on network access point with the second equipment.By being first based on What short range wireless transmission was established between equipment quick connect and transmits link information, then established between equipment according to link information High speed connection, realize between equipment at a high speed, the communication of the proximal end of high security, pass through the spy for combining two kinds of wireless communication modes Point was solved in the prior art using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.
In order to realize above-described embodiment, the invention also provides another network access devices.
The structure diagram of another network access device that Figure 13 is provided by the embodiment of the present invention one.
As shown in figure 13, which includes:Third establishes module 810, receiving module 820 and the 4th Establish module 830.Wherein,
Third establishes module 810, and establishing first network with the second equipment for being based on short range wireless transmission connect.
Receiving module 820, for matching confidence by the network access point of first network connection reception the second equipment transmission Breath.
4th establishes module 830, is connected for passing through first network to the transmission networking request of the second equipment, and set with second It is standby to establish the second network connection based on network access point;Wherein, it networks and carries configuration information in asking.
Further, in a kind of possible realization method of the embodiment of the present invention, as shown in figure 14, as shown in figure 13 real On the basis of applying example, third is established module 810 and is included:
Second probe unit 811, for detection surrounding and the matched facility information of short range wireless transmission.Wherein, if The facility information of the second equipment is included at least in standby information, the facility information of the second equipment is to be in can search for shape in the second equipment It is broadcasted during state by short range wireless transmission;
Third establishes unit 812, and establishing first network with the second equipment for the facility information according to the second equipment connect.
Specifically, third establishes unit 812 for the facility information detected to be illustrated in display circle in the form of a list Face;After the facility information for detecting the second equipment is selected, then establishes first network with the second equipment and connect.
By detect around and the matched facility information of short range wireless transmission, according to the facility information of the second equipment with Second equipment establishes first network connection, the wireless connection between equipment can be established based on short range wireless transmission, by adopting With identical equipment, user only needs shirtsleeve operation that can establish near field connection, optimizes the behaviour of user when establishing near field connection Make process, improve user experience.
In a kind of possible realization method of the embodiment of the present invention, as shown in figure 15, in the base of embodiment as shown in figure 13 On plinth, the 4th, which establishes module 830, includes:
Transmitting element 831 for carrying configuration information in the request that networks, being sent to the second equipment and carrying out configuration information Verification.
4th establishes unit 832, for after the second equipment is verified configuration information, second to be established with the second equipment Network connection.
By carrying configuration information in networking and asking, the verification that the second equipment carries out configuration information is sent to, the After two equipment are verified configuration information and the second equipment establishes the second network connection, can ensure the safety of network insertion Property, it avoids establishing network connection with illegal equipment.
In a kind of possible realization method of the embodiment of the present invention, as shown in figure 16, in the base of embodiment as shown in figure 13 On plinth, network access device 80 further includes:
Transmission module 840, after establishing the second network connection based on network access point with the second equipment, by the Two network connections transmit file to the second equipment or receive the file of the second equipment transmission.
Specifically, transmission module 840 be used for from the All Files of storage choose need transmitted to the second equipment it is to be passed Defeated file;First equipment verifies the size and/or form of file to be transmitted;After being verified, the first equipment will be treated Transmission file is transferred to the second equipment by the second network connection.
By the way that after the second network connection is established, the first equipment transmits file by the second network connection to the second equipment Or receive the second equipment transmission file, since the second network connection is established based on network access point, so as to While ensureing data transmission security, the efficiency of equipment room data transmission is improved, promotes user experience.
It should be noted that the aforementioned explanation to method for network access embodiment is also applied for the network of the embodiment Access device, realization principle is similar, and details are not described herein again.
The network access device of the present embodiment establishes first network company by being based on short range wireless transmission and the second equipment Connect, by first network connect receive the second equipment send network access point configuration information, by first network connect to Second equipment sends the request that networks, and establishes the second network connection based on network access point with the second equipment.By being first based on What short range wireless transmission was established between equipment quick connect and transmits link information, then established between equipment according to link information High speed connection, realize between equipment at a high speed, the communication of the proximal end of high security, pass through the spy for combining two kinds of wireless communication modes Point was solved in the prior art using the technical issues of single wireless communication mode transmission speed is slow, safety is poor.
In order to realize above-described embodiment, the present invention also proposes a kind of electronic equipment.
Figure 17 is the structure diagram for a kind of electronic equipment that one embodiment of the invention proposes.As shown in figure 17, the electronics Equipment 120 includes:Housing 121, processor 122, memory 123, circuit board 124 and power circuit 125, wherein, circuit board 124 The space interior that housing 121 surrounds is placed in, processor 122 and memory 123 are set on circuit boards;Power circuit 125 is used It powers in each circuit for above-mentioned electronic equipment 120 or device;Memory 123 is used to store executable program code;Processing Device 122 runs program corresponding with executable program code by reading the executable program code stored in memory 123, A kind of method for network access is used to implement, the method includes:
First equipment is established first network with the second equipment based on short range wireless transmission and is connect;
First equipment is connected to second equipment transmission network access point by the first network with confidence Breath;
First equipment receives the networking that second equipment sends by first network connection and asks, and with institute It states the second equipment and establishes the second network connection based on the network access point;Wherein, match described in being carried in the request that networks Confidence ceases.
In order to realize above-described embodiment, the present invention also proposes a kind of electronic equipment.
Figure 18 is the structure diagram for another electronic equipment that one embodiment of the invention protrudes.As shown in figure 18, the electricity Sub- equipment 130 includes:Housing 131, processor 132, memory 133, circuit board 134 and power circuit 135, wherein, circuit board 134 are placed in the space interior that housing 131 surrounds, and processor 132 and memory 133 are set on circuit boards;Power circuit 135, it powers for each circuit for above-mentioned electronic equipment 130 or device;Memory 133 is used to store executable program generation Code;Processor 132 is corresponding with executable program code to run by reading the executable program code stored in memory 133 Program, be used to implement a kind of method for network access, the method includes:
First equipment is established first network with the second equipment based on short range wireless transmission and is connect;
First equipment receives matching for the network access point of the second equipment transmission by first network connection Confidence ceases;
First equipment is connected to second equipment by the first network and sends the request that networks, and with described the Two equipment establish the second network connection based on the network access point;Wherein, it is carried in the request that networks described with confidence Breath.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon Computer program is contained, method for network access as in the foregoing embodiment is realized when which is executed by processor.
In order to realize above-described embodiment, the present invention also proposes another non-transitorycomputer readable storage medium, thereon Computer program is stored with, another network access side as in the foregoing embodiment is realized when which is executed by processor Method.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces A kind of method for network access as in the foregoing embodiment is realized when instruction in product is performed by processor.
In order to realize above-described embodiment, the present invention also proposes another computer program product, when the computer program Another method for network access as in the foregoing embodiment is realized when instruction in product is performed by processor.
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments " The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It is combined in an appropriate manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the different embodiments or examples described in this specification and the feature of different embodiments or examples It closes and combines.
In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, " multiple " are meant that at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, segment or the portion of the code of the executable instruction of one or more the step of being used to implement custom logic function or process Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, to perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) it uses or combines these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment It puts.The more specific example (non-exhaustive list) of computer-readable medium is including following:Electricity with one or more wiring Connecting portion (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, the program when being executed, one or a combination set of the step of including embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and is independent product sale or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although it has been shown and retouches above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, those of ordinary skill in the art can be changed above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (10)

1. a kind of method for network access, which is characterized in that including:
First equipment is established first network with the second equipment based on short range wireless transmission and is connect;
First equipment connects the configuration information that network access point is sent to second equipment by the first network;
First equipment receives the networking that second equipment sends by first network connection and asks, and with described the Two equipment establish the second network connection based on the network access point;Wherein, it is carried in the request that networks described with confidence Breath.
2. according to the method described in claim 1, it is characterized in that, first equipment connects reception by the first network The networking request that second equipment is sent, and establish the second network based on the network access point with second equipment and connect It connects, including:
First equipment extracts the configuration information from the request that networks, and the configuration information is verified;
First equipment establishes second network connection after being verified, with second equipment.
3. according to the method described in claim 2, its feature is being, first equipment extracts institute from the request that networks Configuration information is stated, the configuration information is verified, including:
First equipment shows inquiry request in display interface;Wherein, the inquiry request is used to ask whether described in permission Second equipment accesses the network access point;
First equipment extracts institute when second equipment is allowed to access the network access point from the request that networks State configuration information;
The configuration information that first equipment utilization is locally stored is compared with the configuration information extracted;
If two accordant configuration informations, first equipment passes through the verification of the configuration information to extracting.
4. a kind of method for network access, which is characterized in that including:
First equipment is established first network with the second equipment based on short range wireless transmission and is connect;
The network access point that first equipment is sent by first network connection reception second equipment matches confidence Breath;
First equipment is connected to second equipment by the first network and sends the request that networks, and is set with described second It is standby to establish the second network connection based on the network access point;Wherein, the configuration information is carried in the request that networks.
5. a kind of network access device, which is characterized in that including:
First establishes module, and establishing first network with the second equipment for being based on short range wireless transmission connect;
Sending module, for connecting the configuration information that network access point is sent to second equipment by the first network;
Second establishes module, and the networking for receiving the second equipment transmission by first network connection is asked, and with Second equipment establishes the second network connection based on the network access point;Wherein, described in being carried in the request that networks Configuration information.
6. a kind of network access device, which is characterized in that including:
Third establishes module, and establishing first network with the second equipment for being based on short range wireless transmission connect;
Receiving module, for matching confidence by the network access point of first network connection reception the second equipment transmission Breath;
4th establishes module, for by the first network connect to second equipment send network request, and with it is described Second equipment establishes the second network connection based on the network access point;Wherein, the configuration is carried in the request that networks Information.
7. a kind of electronic equipment, which is characterized in that including:Housing, processor, memory, circuit board and power circuit, wherein, Circuit board is placed in the space interior that housing surrounds, and processor and memory setting are on circuit boards;Power circuit, for for State each circuit of electronic equipment or device power supply;Memory is used to store executable program code;Processor is deposited by reading The executable program code stored in reservoir runs program corresponding with executable program code, and 1- is required for perform claim 7 any one of them method for network access.
8. a kind of electronic equipment, which is characterized in that including:Housing, processor, memory, circuit board and power circuit, wherein, Circuit board is placed in the space interior that housing surrounds, and processor and memory setting are on circuit boards;Power circuit, for for State each circuit of electronic equipment or device power supply;Memory is used to store executable program code;Processor is deposited by reading The executable program code stored in reservoir runs program corresponding with executable program code, and 8- is required for perform claim Method for network access described in 13.
9. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program quilt The method for network access as described in any one of claim 1-7 is realized when processor performs.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program The method for network access as described in claim 8-13 is realized when being executed by processor.
CN201711403515.6A 2017-12-22 2017-12-22 Method for network access, device, electronic equipment and storage medium Withdrawn CN108174372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711403515.6A CN108174372A (en) 2017-12-22 2017-12-22 Method for network access, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711403515.6A CN108174372A (en) 2017-12-22 2017-12-22 Method for network access, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108174372A true CN108174372A (en) 2018-06-15

Family

ID=62523261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711403515.6A Withdrawn CN108174372A (en) 2017-12-22 2017-12-22 Method for network access, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108174372A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083706A (en) * 2019-12-13 2020-04-28 夏侯淑琴 Electronic device designated via secondary backoff in network access and corresponding access method
CN113170377A (en) * 2021-04-19 2021-07-23 华为技术有限公司 Network connection establishing method and corresponding device
CN114363853A (en) * 2022-03-17 2022-04-15 苏州百孝医疗科技有限公司 Communication method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access
CN104010309A (en) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 Method for establishing connection between access point and terminal and terminal
US20150215941A1 (en) * 2009-01-22 2015-07-30 Qwest Communications International Inc. Simultaneous Multi-Mode WiFi Differentiated By SSID
CN105554819A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Data transmission method and device and mobile terminal
CN106028261A (en) * 2016-04-29 2016-10-12 高翔 Wireless connection method, device and system
CN106912085A (en) * 2017-04-25 2017-06-30 努比亚技术有限公司 A kind of client and WI FI connection methods
CN106937239A (en) * 2015-12-29 2017-07-07 天津三星通信技术研究有限公司 Set up and closely connect and control the method and apparatus that electric terminal sets up the connection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150215941A1 (en) * 2009-01-22 2015-07-30 Qwest Communications International Inc. Simultaneous Multi-Mode WiFi Differentiated By SSID
CN103200567A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Method and system of wireless fidelity (WiFi) access
CN104010309A (en) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 Method for establishing connection between access point and terminal and terminal
CN105554819A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Data transmission method and device and mobile terminal
CN106937239A (en) * 2015-12-29 2017-07-07 天津三星通信技术研究有限公司 Set up and closely connect and control the method and apparatus that electric terminal sets up the connection
CN106028261A (en) * 2016-04-29 2016-10-12 高翔 Wireless connection method, device and system
CN106912085A (en) * 2017-04-25 2017-06-30 努比亚技术有限公司 A kind of client and WI FI connection methods

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083706A (en) * 2019-12-13 2020-04-28 夏侯淑琴 Electronic device designated via secondary backoff in network access and corresponding access method
CN113170377A (en) * 2021-04-19 2021-07-23 华为技术有限公司 Network connection establishing method and corresponding device
CN114363853A (en) * 2022-03-17 2022-04-15 苏州百孝医疗科技有限公司 Communication method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN104378145B (en) The matching method and system of bluetooth equipment
CN105119939B (en) The cut-in method and device, providing method and device and system of wireless network
CN102646081B (en) Inductively paired device is with the system and method for shared resource or data
CN103929400B (en) Quick Response Code acquisition methods, generation method, verification method, equipment and system
EP3179758A1 (en) Building intercom method, nfc unlocking device and building intercom system
CN106233689B (en) Method and apparatus for protecting mobile application
CN104637131A (en) Authorization method and authorization device for access control system and access control system
CN104902465B (en) System of real name is opened an account remote writing-card method and system
CN107276888A (en) Data sharing method and device, server, mobile terminal and storage medium
CN105307235B (en) A kind of hot spot sharing method, device and system
CN106850392A (en) Message treatment method and device, message receival method and device
CN108174372A (en) Method for network access, device, electronic equipment and storage medium
CN106027250B (en) A kind of ID card information safe transmission method and system
CN106211159A (en) Personal identification method based on bluetooth and device
CN202904698U (en) Entrance guard management system
CN112968977B (en) Information interaction method and device
CN101661442A (en) Data card information protection method and device
CN105898418A (en) Intelligent terminal, remote controller, and intelligent terminal payment method
CN104780045A (en) Management method and management device for intelligent devices
CN106686754A (en) Data interaction method and data interaction system
CN108462953A (en) File transmission method and device, electronic equipment and storage medium
CN107770757B (en) Data communications method, storage equipment and mobile device
CN107995154A (en) A kind of intelligent appliance distribution method of controlling security
CN109981312A (en) Smart machine configuration method, apparatus and system
CN108093097A (en) The connection method of camera and home gateway and home gateway

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20180615

WW01 Invention patent application withdrawn after publication