CN108833607A - Physical address acquisition methods, device and readable medium - Google Patents
Physical address acquisition methods, device and readable medium Download PDFInfo
- Publication number
- CN108833607A CN108833607A CN201810599630.3A CN201810599630A CN108833607A CN 108833607 A CN108833607 A CN 108833607A CN 201810599630 A CN201810599630 A CN 201810599630A CN 108833607 A CN108833607 A CN 108833607A
- Authority
- CN
- China
- Prior art keywords
- terminal
- management server
- sent
- physical address
- access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
Abstract
This application discloses a kind of physical address acquisition methods, device and readable mediums, are related to field of computer technology.This method includes:Access information corresponding with the identity of the terminal is obtained from management server;The Wireless Communication Equipment is accessed according to the access information, the Wireless Communication Equipment is used to send the physical address of the terminal to the management server after access in the terminal;Address acquisition request is sent to the management server by the destination application;The physical address that the management server is sent is received by the destination application.Since terminal is when obtaining network service by Wireless Communication Equipment, it needs to obtain network service by MAC Address, that is the available MAC Address to terminal of Wireless Communication Equipment, MAC Address is sent to management server by the Wireless Communication Equipment, after the MAC Address is sent to terminal by management server, avoids and the problem of interface can not obtain MAC Address is obtained by address.
Description
Technical field
The invention relates to field of computer technology, in particular to a kind of physical address acquisition methods, device and can
Read medium.
Background technique
Each terminal is corresponding with a physical address (Media Access Control or Medium Access
Control, MAC Address), which is the unique identifier when terminal accesses wireless network.
In general, when the application program in terminal needs to obtain the MAC Address of terminal to provide further service, Ke Yitong
It crosses from the address that the terminal operating system provides acquisition interface and directly acquires the MAC Address, and carried out by the MAC Address into one
The offer of the service of step, it is the interface for directly acquiring MAC Address for providing application program which, which obtains interface,.
However, the operating system of terminal, which usually would turn off address above mentioned, obtains interface, i.e. application program can not pass through the ground
Location obtains the MAC Address that interface directly acquires the terminal.
Summary of the invention
The embodiment of the present application provides a kind of physical address acquisition methods, device and readable medium, can solve and works as address
When acquisition interface is closed, impenetrably location obtains the problem of interface obtains MAC Address to application program.The technical solution is such as
Under:
On the one hand, a kind of physical address acquisition methods are provided, the method includes:
Access information corresponding with the identity of the terminal is obtained from management server;
The Wireless Communication Equipment is accessed according to the access information, the Wireless Communication Equipment in the terminal for existing
The physical address of the terminal is sent after access to the management server, the management server is for saving the end
Corresponding relationship between the identity at end and the physical address;
Address acquisition request, the address acquisition request are sent to the management server by the destination application
For obtaining the physical address from the management server, the address acquisition request includes the identity;
The physical address that the management server is sent is received by the destination application.
On the other hand, a kind of physical address acquisition methods are provided, the method includes:
Access information corresponding with the identity of the terminal is sent to the terminal;
The physical address that the Wireless Communication Equipment is sent is received, the physical address is the Wireless Communication Equipment
It is sent after the terminal is according to access information access;
Save the corresponding relationship between the physical address and the identity;
The address acquisition request that the terminal is sent is received, the address acquisition request is used for described in request physically
Location, the acquisition request include the identity;
The physical address is sent to the terminal according to the address acquisition request.
On the other hand, a kind of physical address acquisition methods are provided, the method includes:
Receive the access request that sends according to access information of terminal, the access information is management server to the terminal
The access information of transmission, the access information are corresponding with the identity of the terminal;
The physical address of the terminal is obtained from the access request;
The physical address is sent to management server, the management server is used to receive the terminal transmission
Address the physical address is sent to the terminal when obtaining signal.
On the other hand, a kind of physical address acquisition device is provided, in the terminal for having destination application applied to operation,
Described device includes:
Module is obtained, for obtaining access information corresponding with the identity of the terminal from management server;
Network module, for accessing the Wireless Communication Equipment according to the access information, the Wireless Communication Equipment is used
In the physical address for sending the terminal to the management server after access in the terminal, the management server
For saving the corresponding relationship between the identity of the terminal and the physical address;
Sending module, for sending address acquisition request, institute to the management server by the destination application
Address acquisition request is stated for obtaining the physical address from the management server, the address acquisition request includes the body
Part mark;
Receiving module, for being received described in the management server transmission physically by the destination application
Location.
On the other hand, a kind of physical address acquisition device is provided, described device includes:
Sending module, for sending access information corresponding with the identity of the terminal to the terminal;
Receiving module, the physical address sent for receiving the Wireless Communication Equipment, the physical address is institute
State what Wireless Communication Equipment was sent after the terminal is according to access information access;
Memory module, for saving the corresponding relationship between the physical address and the identity;
The receiving module, is also used to receive the address acquisition request that the terminal is sent, and the address acquisition request is used
The physical address described in request, the acquisition request include the identity;
The sending module is also used to send the physical address to the terminal according to the address acquisition request.
On the other hand, a kind of physical address acquisition device is provided, described device includes:
Receiving module, the access request sent for receiving terminal according to access information, the access information are management clothes
The access information that business device is sent to the terminal, the access information are corresponding with the identity of the terminal;
Module is obtained, for obtaining the physical address of the terminal from the access request;
Sending module, for the physical address to be sent to management server, the management server is for receiving
The physical address is sent to the terminal when address sent to the terminal obtains signal.
On the other hand, a kind of electronic equipment is provided, when the electronic equipment is terminal, the terminal includes processor
And memory, be stored at least one instruction, at least one section of program, code set or instruction set in the memory, it is described at least
One instruction, at least one section of program, the code set or the instruction set are loaded by the processor and are executed to realize this Shen
Please embodiment provide physical address acquisition methods.
On the other hand, a kind of electronic equipment is provided, when the electronic equipment is server, the server includes place
Device and memory are managed, is stored at least one instruction, at least one section of program, code set or instruction set in the memory, it is described
At least one instruction, at least one section of program, the code set or the instruction set are loaded by the processor and are executed to realize
Physical address acquisition methods provided by the embodiments of the present application.
On the other hand, a kind of electronic equipment is provided, when the electronic equipment is the network equipment, which is characterized in that institute
Stating the network equipment includes processor and memory, and at least one instruction, at least one section of program, code are stored in the memory
Collection or instruction set, at least one instruction, at least one section of program, the code set or the instruction set are added by the processor
It carries and executes to realize physical address acquisition methods provided by the embodiments of the present application.
On the other hand, a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is loaded as the processor and is executed to realize the physical address acquisition methods as described in above-mentioned the embodiment of the present application.
On the other hand, a kind of computer program product is provided, when the computer program product is run on computers
When, so that computer executes the physical address acquisition methods as described in above-mentioned embodiments herein.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
Since terminal is when obtaining network service by Wireless Communication Equipment, need to obtain network service by MAC Address,
I.e. terminal needs for MAC Address to be sent to Wireless Communication Equipment, and the available MAC Address to terminal of Wireless Communication Equipment leads to
It crosses the Wireless Communication Equipment and MAC Address is sent to management server, which is sent to the mesh of terminal by management server
Mark application program after, destination application be not necessarily to by address obtain interface acquisition MAC Address, avoid destination application without
Method obtains the problem of interface obtains MAC Address by address.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the schematic diagram that the physical address that one exemplary embodiment of the application provides obtains system;
Fig. 2 is the flow chart for the physical address acquisition methods that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart for the physical address acquisition methods that another exemplary embodiment of the application provides;
Fig. 4 is the flow chart for the physical address acquisition methods that another exemplary embodiment of the application provides;
Fig. 5 is the user interface schematic diagram for the destination application that one exemplary embodiment of the application provides;
Fig. 6 is the user interface schematic diagram for the destination application that another exemplary embodiment of the application provides;
Fig. 7 is the structural block diagram for the physical address acquisition device that one exemplary embodiment of the application provides;
Fig. 8 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides;
Fig. 9 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides;
Figure 10 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides;
Figure 11 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides;
Figure 12 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides;
Figure 13 is the structural block diagram for the terminal that one exemplary embodiment of the application provides;
Figure 14 is the structural block diagram for the server that one exemplary embodiment of the application provides;
Figure 15 is the structural block diagram for the network equipment that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
Firstly, simply being introduced for noun involved in the embodiment of the present application:
The network equipment:The network equipment is used to provide network service for terminal device, and optionally, the network equipment is for being
Terminal equipment access network.Optionally, the network equipment be wireless access points (WirelessAccessPoint, AP) or
Person's router is illustrated so that the network equipment is AP equipment as an example, which provides cable network and wireless network
The AP equipment and wireline equipment are carried out wired connection by bridge, and terminal device can carry out wireless network by the AP equipment and connect
Enter.
Physical address (Media Access Control or Medium Access Control, MAC Address):MAC Address
For the unique identifier of the network insertion of responsible terminal, by the MAC Address of terminal, AP equipment or router provide for terminal
Network insertion.
Management server:The management server is used to receive the MAC Address of terminal from the network equipment, and this is being received
After the address acquisition request that terminal is sent, the corresponding MAC Address of the terminal is sent to terminal.Optionally, it is wrapped in the network equipment
Default management module is included, which is used to the MAC Address for accessing the network equipment being sent to management server.
In conjunction with above-mentioned noun brief introduction, system is obtained to physical address provided by the embodiments of the present application and is introduced, is please referred to
Fig. 1, Fig. 1 are the schematic diagrames for the address acquisition system that one exemplary embodiment of the application provides, as shown in Figure 1, this is physically
Location obtains system:Terminal device 110, the network equipment 120, management server 130 and communication network 140;
Terminal device 110 includes MAC Address, unique identification when which is the terminal device 110 access network
Symbol, optionally, is equipped with destination application in the terminal device 110, passes through the destination application, the terminal device 110
It can be communicated with management server 130, optionally, when 110 access network device 120 of terminal device, terminal device 110
It can be communicated by the network equipment 120 with management server 130, when the non-access network device 120 of terminal device 110
When, which can also directly be communicated with management server 130 by other cable networks or wireless network.It is optional
Ground, terminal 110 further include network module, which can be cable network module, are also possible to wireless network module, eventually
End 110 can access the network equipment 120 by the network module.
Optionally, which can also include multiple sub- equipment, schematically, as shown in Figure 1, the terminal is set
Standby 110 further include sub- equipment 111, sub- equipment 112 and sub- equipment 113.
Optionally, which can be mobile phone, tablet computer, E-book reader, MP3 (Moving
Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) player,
MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level
4) player, pocket computer on knee and desktop computer etc..Optionally, the target application installed in terminal device 110
Program can be a specific wireless networking program, be also possible to instant messaging class application program, e.g., Tencent QQ, wechat, and also
It can be browser program, such as:QQ browser etc..
The network equipment 120 is used to provide network service for terminal device 110, and optionally, which is used for as eventually
End equipment 110 accesses network.Optionally, the network equipment 120 be wireless access points (WirelessAccessPoint,
AP) or router, the AP equipment provide the bridge of cable network and wireless network, and the AP equipment and wireline equipment are carried out
Wired connection, terminal device 110 can carry out wireless network access by the AP equipment.Optionally, which can be with
The MAC Address for having accessed the terminal device 110 of the network equipment 120 is obtained, but when access has at least two terminal devices, nothing
Method determines the corresponding relationship of MAC Address and terminal.
Management server 130 is used to receive the MAC Address of the transmission of the network equipment 120, and optionally, the network equipment 120 will connect
All MAC equipment for entering the network equipment 120 are all sent to management server 130.Optionally, when management server 130 receives
To some terminal device 110 send address acquisition request when, management server 130 can be according to the terminal device 110
Address acquisition request is arranged temporary key and is used for access network device 120, and the temporary key is sent to the terminal device
110, terminal device 110 sets the terminal of access according to the temporary key access network device 120 received, the network equipment 120
Standby 110 MAC Address is sent to management server 130, then management server 130 be with can determining the MAC of the terminal device 110
The MAC Address is simultaneously sent to the terminal device 110 by location.
Optionally, above-mentioned terminal device 110 can be communicated by communication network 140 with management server 130, network
Equipment 120 can also be communicated by communication network 140 with management server 130, wherein the communication network 140 can be
Wireline communication network is also possible to cordless communication network.
Optionally, management server 130 can be the server cluster or cloud meter of a server, multiple servers composition
Calculation center.
Fig. 2 is the flow chart for the physical address acquisition methods that one exemplary embodiment of the application provides, such as Fig. 2 institute
Show, is illustrated so that the physical address acquisition methods are applied in physical address acquisition system as shown in Figure 1 as an example, the physics
Address acquiring method includes:
Step 201, management server sends access information corresponding with the identity of terminal to terminal.
Optionally, the access information is for arranging the access between terminal and Wireless Communication Equipment, access letter
Breath can be one or a set of temporary key, a turn-on time section arranged or a mark subsidiary in access etc.,
The present embodiment is not limited this.
Optionally, which can be unique access information, and the unique access information is in the target time period
Wireless Communication Equipment is accessed using terminal as unique access terminals, wherein unique access terminals can refer in target time section
Interior only one newly accesses the terminal of Wireless Communication Equipment, may also mean that only one in the target time period and wireless network
Equipment is in the terminal of access state.
Step 202, terminal obtains access information corresponding with the identity of terminal from management server.
Optionally, destination application is installed, terminal can be by the destination application from management service in terminal
Device obtains access information corresponding with the identity of terminal.
Optionally, the identity of terminal can be the destination application and is somebody's turn to do according to the unique expression that terminal generates
The mark of terminal.Optionally, before which sends the access information to terminal, terminal can also be to the management service
Device sends information acquisition request, which is used for the corresponding access information of identity of the request terminal.
Optionally, the access information that the received management server of terminal is sent can also be unique access information, i.e. terminal receives management
The unique access information of server feedback.
Step 203, Wireless Communication Equipment receives the access request that terminal is sent according to access information.
It optionally, include the MAC Address of terminal in the access request, which is used in accessing terminal to network only
One identifies the terminal.
Optionally, it is corresponding to the Wireless Communication Equipment when terminal can be in the service range of the Wireless Communication Equipment
Network carries out selection connection, to send access request to the Wireless Communication Equipment.Schematically, which corresponds to nothing
Line network A, then when terminal is in the service range of the Wireless Communication Equipment, by the way that wireless network A is scanned for and selected
Link sends access request to the Wireless Communication Equipment.
Step 204, Wireless Communication Equipment obtains the physical address of terminal from access request.
Optionally, which, which can be, is provided with wildcard (Pre-Shared Key, PSK) in advance
The network equipment is also possible to be not configured with the network equipment of key, can also be and modified key according to above-mentioned access information
The network equipment.
Optionally, which is unique access information, when the Wireless Communication Equipment is modified according to unique access information
When crossing key, the Wireless Communication Equipment to terminal send a string of character strings, terminal according to unique access information to the character string into
Row encryption obtains encrypted target string, and the access request for carrying the encrypted target string is sent to nothing
The line network equipment, Wireless Communication Equipment obtain encrypted target string from access request, and to encrypted target word
Symbol string is decrypted by unique access information, after to encrypted target string successful decryption, terminal is allowed to access, and
The physical address of terminal is obtained from access request.Optionally, the character string decrypted and the character string phase for being sent to terminal
Simultaneously, then it is assumed that successful decryption.
Optionally, Wireless Communication Equipment provides the terminal with network service after terminal is successfully accessed.
Optionally, the Wireless Communication Equipment and wireline equipment have carried out wired connection, and the Wireless Communication Equipment can root
Network service is provided the terminal with according to the access signal received, such as:Terminal can access the wireless network by wireless connection and set
It is standby.Optionally, Wireless Communication Equipment provides network service to the terminal according to the physical address of terminal.Optionally, the wireless network
Network equipment is also used to according to the physical address and Internet protocol address of terminal (Internet Protocol Address, IP
Location) to the terminal provide network service.
Step 205, physical address is sent to management server by Wireless Communication Equipment.
Optionally, the MAC Address of all terminals of access is all sent to the management server by Wireless Communication Equipment.It is optional
Ground, in the present embodiment, by the Wireless Communication Equipment state only up send access signal terminal network service is provided for carry out
Illustrate, then the Wireless Communication Equipment sends the MAC Address of the terminal to the management server.
It optionally, include default management module in Wireless Communication Equipment, which can be one using journey
Sequence is also possible to a physical module, presets management module by this, which is sent to the pipe by Wireless Communication Equipment
Manage server.
Step 206, management server receives the physical address that Wireless Communication Equipment is sent.
The physical address is that Wireless Communication Equipment is sent after terminal is accessed according to access information.
Step 207, management server saves the corresponding relationship between physical address and identity.
Optionally, since the physical address is that Wireless Communication Equipment is sent after terminal is accessed by access information, institute
It is corresponding with the access information that management server is sent to terminal with the physical address, due to the identity of access information and terminal
It is corresponding, so the physical address that management server receives is corresponding with the identity of terminal.Management server is determining physics
After address is corresponding with the identity of terminal, the corresponding relationship of the physical address and identity is saved.
Step 208, terminal sends address acquisition request to management server by destination application.
Optionally, which is used to obtain above-mentioned physical address, the address acquisition request from management server
In include above-mentioned terminal identity.
It optionally, further include the reception address of the terminal in the address acquisition request, server can according to the reception
Location sends physical address to the terminal.
Optionally, the mode of terminal to management server transmission address acquisition request includes such as at least one under type
Kind:
First, when in the state that terminal is in access Wireless Communication Equipment, terminal can pass through the Wireless Communication Equipment
Address acquisition request is sent to management server;
Second, (i.e. the terminal is disconnected sets with wireless network when in the state that terminal is not in access Wireless Communication Equipment
Standby access state), then address acquisition request can be sent to management server by other communication modes by terminal, such as:It is logical
It crosses cellular mobile communication data and address acquisition request is sent to management server, can be incited somebody to action by fourth generation mobile communication technology
Address acquisition request is sent to management server, address acquisition request can also be sent to pipe by connecting other wireless networks
Server is managed, the embodiment of the present application sends the mode of address acquisition request without limitation to terminal.
Optionally, destination application is installed in terminal, which is used in terminal in management server
Between communicated.Optionally, it is stored with the reception address of management server in the destination application, passes through target application journey
The address acquisition request is sent to the reception address by sequence.
Step 209, management server receives the address acquisition request that terminal is sent.
Optionally, when terminal forwards the address acquisition request by Wireless Communication Equipment, management server receives wireless
The address acquisition request of network equipment forwarding;Or management server receives the address acquisition request that terminal is sent.
Step 210, management server sends physical address to terminal according to address acquisition request.
It optionally, include identity in the address acquisition request, according to the identity and above-mentioned identity and object
The corresponding relationship for managing address, inquires MAC Address corresponding to the identity, and the MAC Address is sent to terminal.
It optionally, further include the reception address of the terminal in the address acquisition request that terminal is sent, by the reception address,
MAC Address is sent to terminal by management server.
Step 211, terminal receives the physical address that management server is sent by destination application.
In conclusion physical address acquisition methods provided in this embodiment, since terminal is obtained by Wireless Communication Equipment
When network being taken to service, need to obtain network service by MAC Address, i.e. terminal is needed MAC Address being sent to wireless network and be set
Standby, MAC Address is sent to management by the Wireless Communication Equipment by the available MAC Address to terminal of Wireless Communication Equipment
Server, after which is sent to the destination application of terminal by management server, destination application is without passing through ground
Location obtains interface and obtains MAC Address, and avoiding destination application, impenetrably location obtains asking for interface acquisition MAC Address
Topic.
In an alternative embodiment, above-mentioned unique access information includes temporary key, which is management clothes
Business device generates and is uniquely sent to the key of terminal, referring to FIG. 3, Fig. 3 is that another exemplary embodiment of the application provides
Physical address acquisition methods flow chart, applied with the physical address acquisition methods in physical address acquisition as shown in Figure 1
It is illustrated in system, this method includes:
Step 301, terminal sends cipher key acquisition request to management server.
It include the identity of terminal in the cipher key acquisition request.Optionally, which is the mark with terminal binding
Know, optionally, destination application is installed in terminal, which generates an identity according to the terminal,
The identity is used for the unique identification terminal.
Optionally, terminal can send cipher key acquisition request to management server by above-mentioned destination application.Specifically
Sending method can refer to above-mentioned steps 208, and the address acquisition request replacement in above-mentioned steps 208 is embodied as key acquisition and is asked
It asks.
Step 302, management server receives the cipher key acquisition request that terminal is sent.
Step 303, management server generates temporary key according to cipher key acquisition request.
Optionally, after generating temporary key (indicating with PSK-T) according to cipher key acquisition request in management server, according to this
The first incidence relation is established in the identity of temporary key and terminal, i.e., the temporary key is associated with identity including first
System.Optionally, the temporary key and the first incidence relation of the identity are the unique association relationship of the temporary key, i.e., should
Temporary key will not establish incidence relation with the identity of other terminals.
Optionally, which can refer to the key temporarily generated, may also mean that the key including limited period.It can
Selection of land in the present embodiment, is illustrated so that the temporary key corresponds to validity period as an example, which allows for indicating through this
The validity period of temporary key access Wireless Communication Equipment.
Step 304, management server sends key to Wireless Communication Equipment and modifies signal.
Optionally, key modification signal is used to the key for accessing Wireless Communication Equipment being revised as above-mentioned temporary key.
It optionally, include above-mentioned temporary key in key modification signal, schematically, which is xyzd123, then manages clothes
The key modification signal that business device is sent to Wireless Communication Equipment is " updatekeyword=xyzd123 ", and wherein update is indicated
It updates, it is " xyzd123 " by key updating that keyword, which indicates key,.
Step 305, the key that Wireless Communication Equipment receives that management server is sent modifies signal.
Optionally, key modification signal is for the access key of Wireless Communication Equipment in the target time period to be revised as
Temporary key.
Step 306, Wireless Communication Equipment modifies signal according to key and is revised as facing by the key for accessing Wireless Communication Equipment
When key.
Schematically, in conjunction with the citing of above-mentioned key modification signal, when the management server that Wireless Communication Equipment receives
When the key modification signal of transmission is " updatekeyword=xyzd123 ", Wireless Communication Equipment will access the wireless network and set
Standby key is revised as " xyzd123 ".
Optionally, which includes validity period, i.e., further includes the effective of the temporary key in key modification signal
Phase schematically modifies signal in conjunction with above-mentioned key, and the key modification signal including validity period is as follows
" key is revised as xyzd123 by updatekeyword=xyzd123, time=200s ", the validity period of the temporary key
Be 200 seconds, wherein the expression way of validity period be to generate validity period after, the temporary key effective duration, this effectively
The expression way of phase can also be actual time section, such as:2018,06,03,00:42,2018,06,03,00:43, i.e., this is interim
The validity period of key is 43 minutes 0 point of June 3 of 42 minutes to 2018 0 point of on June 3rd, 2018, and the embodiment of the present application is to validity period
Expression way is without limitation.
When optionally, when except the key validity period at the time of, Wireless Communication Equipment is restored to the original before modification key
Beginning state.Such as:Before modifying key, which does not preset access key, then except key validity period
At the time of when, which is set for no key state, that is, does not need key i.e. and can access the Wireless Communication Equipment.
Step 307, temporary key is uniquely sent to terminal by management server.
Optionally, which receives the reception address that the cipher key acquisition request that terminal is sent further includes the terminal,
According to the reception address, which is uniquely sent to the terminal by management server.Optionally, unique send refers to the pipe
It manages server and the temporary key is only sent to the terminal, and the temporary key can't be sent to other terminals.
Optionally, management server sends the terminal of the temporary key, as above-mentioned to be associated with temporary key including first
The terminal of relationship.
Step 308, terminal receives the temporary key that management server is sent.
It is worth noting that, above-mentioned steps 304 can be first carried out to step 306 and above-mentioned steps 307 to step 308
Step 304 executes step 307 to step 306 to step 308 again, can also first carry out step 307 to step 308 and execute step again
304 to step 306, or is performed simultaneously above-mentioned steps 304 to step 306 and above-mentioned steps 307 to step 308, the application
Embodiment is not limited this.
Step 309, Wireless Communication Equipment receives the access request that terminal is sent according to temporary key.
Optionally, which is the request that terminal accesses Wireless Communication Equipment.Optionally, the access signal
In include the target string encrypted by the temporary key.
Optionally, Wireless Communication Equipment sends target string, the target to terminal after receiving key modification signal
Character string is for being encrypted and being fed back when terminal accesses Wireless Communication Equipment.Terminal is by the temporary key to this
Character string is encrypted to obtain encrypted target string.After Wireless Communication Equipment obtains encrypted target string, lead to
It crosses temporary key to be decrypted, after to encrypted target string successful decryption, allows terminal to access, and from access request
The middle MAC Address for obtaining terminal.
Optionally, which includes validity period, and Wireless Communication Equipment decrypts target string by temporary key
Successfully, when and temporary key is in validity period, Wireless Communication Equipment is successfully accessed instruction to terminal transmission, i.e. terminal receives wireless
Network equipment feedback is successfully accessed instruction.
Schematically, temporary key abcd123, for after terminal inputs " abcd123 ", terminal to be to target string
It uses " abcd123 " to be encrypted, and obtained encrypted target string is increased in access signal and is sent to wirelessly
The network equipment.
Optionally, since the access key of Wireless Communication Equipment is arranged to temporary key, and only terminal acquisition has this
Temporary key, that is, only the terminal can access the Wireless Communication Equipment after access key is changed to temporary key.
Optionally, the terminal of the Wireless Communication Equipment, Ke Yiqiang are accessed before access key is modified to temporary key
System, which executes, cancels access Wireless Communication Equipment, these terminals can also be kept in the access state of Wireless Communication Equipment, but refuse
Other terminals continue to carry out access operation to the Wireless Communication Equipment.
Optionally, at the time of whether Wireless Communication Equipment detection temporary key was within key validity period, when interim close
When key was within key validity period, Wireless Communication Equipment provides the terminal with network service.
Step 310, Wireless Communication Equipment obtains the physical address of terminal from access request.
Optionally, Wireless Communication Equipment obtains encrypted target string from access request first, this is encrypted
Target string be the key for being encrypted to the target string for examining terminal to input whether with temporary key
Matching, Wireless Communication Equipment are decrypted the encrypted target string by temporary key, when the character that decryption obtains
When string is target string, then it is assumed that successful decryption namely the terminal are successfully accessed.
Optionally, it after Wireless Communication Equipment is to encrypted target string successful decryption, obtains in the access request
MAC Address.
Step 311, physical address is sent to management server by Wireless Communication Equipment.
Optionally, Wireless Communication Equipment after modification access key is temporary key, ask by the access for receiving above-mentioned terminal
After asking and being successfully accessed, the MAC Address of the terminal is sent to management server.
It optionally, include default management module in Wireless Communication Equipment, which can be one using journey
Sequence is also possible to a physical module, presets management module by this, which is sent to the pipe by Wireless Communication Equipment
Manage server.
Step 312, management server receives the physical address that Wireless Communication Equipment is sent.
Optionally, management server receive Wireless Communication Equipment transmission MAC Address after, determine the temporary key with
Second incidence relation of MAC Address, since only the corresponding terminal of the MAC Address is can to access wireless network by temporary key
Equipment, therefore, it is determined second incidence relation of the temporary key and MAC Address.
(faced according to above-mentioned first incidence relation (incidence relation of temporary key and identity) and the second incidence relation
When key and MAC Address incidence relation), determine the third incidence relation of identity and MAC Address.Optionally, due to upper
Stating the first incidence relation and above-mentioned second incidence relation is all one-to-one corresponding relationship, so according to above-mentioned two incidence relation
Can directly obtain the third incidence relation of identity and MAC Address as the corresponding relationship of identity and MAC Address into
Row saves.
Step 313, terminal sends address acquisition request to management server.
It optionally, further include the identity of terminal in the address acquisition request.
Terminal please refers to above-mentioned steps 206 to the mode that management server sends address acquisition request.
Step 314, management server receives the address acquisition request that terminal is sent.
Step 315, management server sends physical address to terminal according to address acquisition request.
Optionally, management server according to the identity in the acquisition request of address and the identity obtained with
The third incidence relation of MAC Address, determines the MAC Address of the address acquisition request institute request, and sends the MAC to terminal
Address.
It is worth noting that, above-mentioned steps 314 to step 316 is to send address acquisition request to management server with terminal
Management server is illustrated for sending MAC Address to terminal afterwards, in actual operation, it is also possible to which management server receives
To after the MAC Address of terminal, the reception address of the terminal obtained when obtaining signal by receiving key directly leads to MAC Address
It crosses the reception address and is sent to terminal, send address acquisition request to management server again without terminal.
Step 316, terminal receives the physical address that management server is sent.
Optionally, terminal receives the physical address that management server is sent by above-mentioned destination application.
In conclusion physical address acquisition methods provided in this embodiment, since terminal is obtained by Wireless Communication Equipment
When network being taken to service, need to obtain network service by MAC Address, i.e. terminal is needed MAC Address being sent to wireless network and be set
Standby, MAC Address is sent to management by the Wireless Communication Equipment by the available MAC Address to terminal of Wireless Communication Equipment
Server, after which is sent to the destination application of terminal by management server, destination application is without passing through ground
Location obtains interface and obtains MAC Address, and avoiding destination application, impenetrably location obtains asking for interface acquisition MAC Address
Topic.
Method provided in this embodiment by generating temporary key according to cipher key acquisition request, and the temporary key is sent out
It send to terminal, terminal can uniquely access Wireless Communication Equipment by the temporary key, and Wireless Communication Equipment is by unique access
Terminal MAC Address be sent to management server after, management server can determine identity and the MAC Address of terminal
Incidence relation, so that it is determined that the MAC Address of terminal, and the MAC Address is sent to terminal, avoided since a network is set
The problem of standby middle corresponding relationship for having accessed multiple terminals and can not having distinguished MAC Address and terminal.
In an alternative embodiment, Wireless Communication Equipment will access key and be revised as being set in advance before temporary key
Shared key is equipped with as default key, referring to FIG. 4, Fig. 4 is the physics that another exemplary embodiment of the application provides
The flow chart of address acquiring method is applied in physical address acquisition system as shown in Figure 1 with the physical address acquisition methods
For be illustrated, this method includes:
Step 401, Wireless Communication Equipment receives key setting signal.
Optionally, which is used to set shared key for the key for accessing Wireless Communication Equipment, this is total
It is the default key for accessing Wireless Communication Equipment with key.Optionally, which can be multiple terminal access wireless networks
The key used when network equipment.
Optionally, which can be management server and is sent to the Wireless Communication Equipment, be also possible to
Other servers are sent to the Wireless Communication Equipment, and the present embodiment is not limited this.
Step 402, terminal accesses Wireless Communication Equipment by shared key.
Optionally, which accesses the Wireless Communication Equipment by sending default access signal to Wireless Communication Equipment, should
It include shared key and the MAC Address of the terminal in default access signal.
Step 403, other terminals access Wireless Communication Equipment by shared key.
Optionally, other terminals access the wireless network and set also by sending default access signal to Wireless Communication Equipment
It is standby.
Step 404, terminal sends cipher key acquisition request to management server.
It include the identity of terminal in the cipher key acquisition request.Optionally, which is the mark with terminal binding
Know, optionally, destination application is installed in terminal, which generates an identity according to the terminal,
The identity is used for the unique identification terminal.
Step 405, management server receives the cipher key acquisition request that terminal is sent.
Step 406, management server generates temporary key according to cipher key acquisition request.
Optionally, after generating temporary key according to cipher key acquisition request in management server, according to the temporary key and end
The first incidence relation is established in the identity at end, i.e., the temporary key and identity include the first incidence relation.Optionally, should
Temporary key and the first incidence relation of the identity are the unique association relationship of the temporary key, i.e., the temporary key will not
Incidence relation is established in identity with other terminals.
Step 407, temporary key is uniquely sent to terminal by management server.
Optionally, which receives the reception address that the cipher key acquisition request that terminal is sent further includes the terminal,
According to the reception address, which is uniquely sent to the terminal by management server.Optionally, unique send refers to the pipe
It manages server and the temporary key is only sent to the terminal, and the temporary key can't be sent to other terminals.
Optionally, management server sends the terminal of the temporary key, as above-mentioned to be associated with temporary key including first
The terminal of relationship.
Step 408, terminal receives the temporary key that management server is sent.
Schematically, Fig. 5 is that the terminal that one exemplary embodiment of the application provides is interim from management server request
The interface schematic diagram of the destination application of key, as shown in figure 5, being shown in the user interface 51 of destination application
The linkage interface of wireless network " silvia ", the wireless network is corresponding with Wireless Communication Equipment A, in the user interface 51, user
Key can be sent to management server by the destination application and obtained by selecting acquisition temporary key control 52
Request is taken, can also be selected in the user interface 51 to disconnecting control 53, to terminate to access the wireless network pair
The Wireless Communication Equipment A answered.Optionally, after user selects the acquisition temporary key control 52, the wireless network is obtained
The temporary key of network is najkg3289.
Step 409, terminal disconnects the access state being attached by shared key and Wireless Communication Equipment.
Optionally, as shown in figure 5, terminal can be disconnected actively after the temporary key for receiving management server transmission
The access state being attached by shared key and Wireless Communication Equipment.
Step 410, management server sends key to Wireless Communication Equipment and modifies signal.
Optionally, key modification signal is used to the key for accessing Wireless Communication Equipment being revised as above-mentioned temporary key.
It optionally, include above-mentioned temporary key in key modification signal, schematically, which is xyzd123, then manages clothes
The key modification signal that business device is sent to Wireless Communication Equipment is " updatekeyword=xyzd123 ", and wherein update is indicated
It updates, it is " xyzd123 " by key updating that keyword, which indicates key,.
Step 411, the key that Wireless Communication Equipment receives that management server is sent modifies signal.
Step 412, Wireless Communication Equipment modifies signal according to key and is revised as facing by the key for accessing Wireless Communication Equipment
When key.
When optionally, when except the key validity period at the time of, Wireless Communication Equipment is restored to the original before modification key
Beginning state.Such as:Before modifying key, which does not preset access key, then except key validity period
At the time of when, which is set for no key state, that is, does not need key i.e. and can access the Wireless Communication Equipment.
Step 413, other equipment, which are rejected, accesses Wireless Communication Equipment by shared key.
Optionally, above-mentioned steps 409 are also implemented as being revised as temporary key in the access key of Wireless Communication Equipment
Afterwards, terminal is disconnected the access state accessed by shared key by Wireless Communication Equipment.
In an alternative embodiment, terminal is after the MAC Address for getting itself, can by management server or
Person's Wireless Communication Equipment obtains a separate keys, which is used to generate incidence relation with MAC Address, passes through the terminal
MAC Address and separate keys access Wireless Communication Equipment, i.e. corresponding one an of terminal is independent for accessing wireless network
The key of equipment, then after the access key of Wireless Communication Equipment is revised as temporary key, other do not access the wireless network and set
Standby terminal, which is rejected, accesses Wireless Communication Equipment by shared key, and accesses wireless network by separate keys
The terminal of equipment can keep the access state to the Wireless Communication Equipment.
Step 414, Wireless Communication Equipment receives the access request that terminal is sent according to temporary key.
Optionally, which is the request that terminal accesses Wireless Communication Equipment.Optionally, the access signal
In include the target string encrypted by the temporary key.
Optionally, Wireless Communication Equipment sends target string, the target to terminal after receiving key modification signal
Character string is for being encrypted and being fed back when terminal accesses Wireless Communication Equipment.Terminal is by the temporary key to this
Character string is encrypted to obtain encrypted target string.After Wireless Communication Equipment obtains encrypted target string, lead to
It crosses temporary key to be decrypted, after to encrypted target string successful decryption, allows terminal to access, and from access request
The middle MAC Address for obtaining terminal.
Optionally, which includes validity period, and Wireless Communication Equipment decrypts target string by temporary key
Successfully, when and temporary key is in validity period, Wireless Communication Equipment is successfully accessed instruction to terminal transmission, i.e. terminal receives wireless
Network equipment feedback is successfully accessed instruction.
Optionally, the Wireless Communication Equipment and wireline equipment have carried out wired connection, and the Wireless Communication Equipment can root
Network service is provided the terminal with according to the access signal received, such as:Terminal can access the wireless network by wireless connection and set
It is standby.Optionally, Wireless Communication Equipment provides network service to the terminal according to the physical address of terminal.Optionally, the wireless network
Network equipment is also used to provide network service to the terminal according to the physical address and IP address of terminal.
Optionally, when Wireless Communication Equipment provides network service to the terminal, i.e. the terminal is accessed by temporary key
The Wireless Communication Equipment.
Step 415, Wireless Communication Equipment obtains the physical address of terminal from access request.
Optionally, Wireless Communication Equipment obtains encrypted target string from access request first, this is encrypted
Target string be the key for being encrypted to the target string for examining terminal to input whether with temporary key
Matching, Wireless Communication Equipment are decrypted the encrypted target string by temporary key, when the character that decryption obtains
When string is target string, then it is assumed that successful decryption namely the terminal are successfully accessed.
Optionally, it after Wireless Communication Equipment is to encrypted target string successful decryption, obtains in the access request
MAC Address.
Step 416, physical address is sent to management server by Wireless Communication Equipment.
Optionally, since Wireless Communication Equipment needs to provide the terminal with network service by the MAC Address of terminal, i.e., wirelessly
The network equipment can obtain the MAC Address for accessing the terminal of the Wireless Communication Equipment.
Optionally, Wireless Communication Equipment receives the access letter of above-mentioned terminal after modification access key is temporary key
Number and after being successfully accessed, the MAC Address of the terminal is sent to management server.
Step 417, management server receives the physical address that Wireless Communication Equipment is sent.
Optionally, management server receive Wireless Communication Equipment transmission MAC Address after, determine the temporary key with
Second incidence relation of MAC Address, since only the corresponding terminal of the MAC Address is can to access wireless network by temporary key
Equipment, therefore, it is determined second incidence relation of the temporary key and MAC Address.
(faced according to above-mentioned first incidence relation (incidence relation of temporary key and identity) and the second incidence relation
When key and MAC Address incidence relation), determine the third incidence relation of identity and MAC Address.Optionally, due to upper
Stating the first incidence relation and above-mentioned second incidence relation is all one-to-one corresponding relationship, so according to above-mentioned two incidence relation
The incidence relation of identity and MAC Address can be directly obtained.
Step 418, terminal sends address acquisition request to management server.
It optionally, further include the identity of terminal in the address acquisition request.
Terminal please refers to above-mentioned steps 206 to the mode that management server sends address acquisition request.
Step 419, management server receives the address acquisition request that terminal is sent.
Step 420, management server sends physical address to terminal according to address acquisition request.
It is worth noting that, above-mentioned steps 418 to step 420 is to send address acquisition request to management server with terminal
Management server is illustrated for sending MAC Address to terminal afterwards, in actual operation, it is also possible to which management server receives
To after the MAC Address of terminal, the reception address of the terminal obtained when obtaining signal by receiving key directly leads to MAC Address
It crosses the reception address and is sent to terminal, send address acquisition request to management server again without terminal.
Step 421, terminal receives the physical address that management server is sent.
Optionally, terminal receives the physical address that management server is sent by above-mentioned destination application.
Schematically, referring to FIG. 6, in the user interface 61 of destination application, user be can choose with obtaining MAC
Location control 62 obtains the MAC Address of terminal to execute above-mentioned steps 418 to step 421, also can choose and disconnects control
63 to disconnect the WiFi that have connected, and after user selects the acquisition MAC Address control 62, management server is to the terminal
MAC Address is sent, which can be specifically shown in user interface 64, can also show the acquisition knot of the MAC Address
Fruit, as shown in fig. 6, showing the acquisition result " obtaining MAC Address success " of MAC Address in user interface 64.
It optionally, can be according to the MAC Address to management service after terminal receives the MAC Address that management server is sent
Device or Wireless Communication Equipment application separate keys, the separate keys are to be only applicable to the MAC Address of the terminal to access wirelessly
The key of the network equipment.The separate keys can be generated by management server, can also be generated by Wireless Communication Equipment, can be with
It is generated by other servers, the present embodiment is not limited this.
After the MAC Address for the terminal generates separate keys, the corresponding relationship of the MAC Address and separate keys is deposited
Storage, when the terminal again accesses the Wireless Communication Equipment, can pass through the separate keys in Wireless Communication Equipment
It is accessed.Optionally, the corresponding relationship of the MAC Address and separate keys that store in Wireless Communication Equipment is as shown in following table one:
Table one
MAC Address | Separate keys |
D8:A3:E3:R4:T5:Q2:Y4:M7 | Auhgu34 |
H4:F5:H5:S3:L0:N7:X7:V7 | Eajhd6723 |
D4:B5:Z1:M0:G7:H8:I9:O0 | Bafsba738268 |
In conclusion physical address acquisition methods provided in this embodiment, since terminal is obtained by Wireless Communication Equipment
When network being taken to service, need to obtain network service by MAC Address, i.e. terminal is needed MAC Address being sent to wireless network and be set
Standby, MAC Address is sent to management by the Wireless Communication Equipment by the available MAC Address to terminal of Wireless Communication Equipment
Server, after which is sent to the destination application of terminal by management server, destination application is without passing through ground
Location obtains interface and obtains MAC Address, and avoiding destination application, impenetrably location obtains asking for interface acquisition MAC Address
Topic.
Method provided in this embodiment by generating temporary key according to cipher key acquisition request, and the temporary key is sent out
It send to terminal, terminal can uniquely access Wireless Communication Equipment by the temporary key, and Wireless Communication Equipment is by unique access
Terminal MAC Address be sent to management server after, management server can determine identity and the MAC Address of terminal
Incidence relation, so that it is determined that the MAC Address of terminal, and the MAC Address is sent to terminal, avoided since a network is set
The problem of standby middle corresponding relationship for having accessed multiple terminals and can not having distinguished MAC Address and terminal.
Method provided in this embodiment passes through management server or Wireless Communication Equipment after terminal obtains MAC Address
Generate separate keys, corresponding different terminal carries out access Wireless Communication Equipment by different separate keys, reduce due to
The access key of Wireless Communication Equipment is more single and is easy the problem of risk of terminal caused by cracking increases, and improves
The terminal accesses the safety of the Wireless Communication Equipment.
Fig. 7 is the structural block diagram for the physical address acquisition device that one exemplary embodiment of the application provides, such as Fig. 7 institute
Show, which includes:Obtain module 71, network module 72, sending module 73 and receiving module 74;
Module 71 is obtained, for obtaining access information corresponding with the identity of the terminal from management server;
Network module 72, for accessing the Wireless Communication Equipment, the Wireless Communication Equipment according to the access information
For sending the physical address of the terminal, the management service to the management server after access in the terminal
Device is used to save the corresponding relationship between the identity of the terminal and the physical address;
Sending module 73, for sending address acquisition request to the management server by the destination application,
The address acquisition request is used to obtain the physical address from the management server, and the address acquisition request includes described
Identity;
Receiving module 74, for being received described in the management server transmission physically by the destination application
Location.
Fig. 8 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides, such as Fig. 8
Shown, which further includes:Sending submodule 711, receiving submodule 712;
Sending submodule 711, for sending information acquisition request to the management server, the information acquisition request is used
In request access information corresponding with the identity of the terminal;
Receiving submodule 712, for receiving the unique access information of the management server feedback, unique access letter
Breath is for accessing the Wireless Communication Equipment for the terminal as unique access terminals in the target time period.
In an alternative embodiment, the unique access information includes temporary key, and the temporary key is described
Management server generates and is uniquely sent to the key of the terminal;
The sending submodule 711 is also used to send cipher key acquisition request to the management server, and the key obtains
Request includes the identity of the terminal;
The receiving submodule 712 is also used to receive the temporary key that the management server is sent, described interim
Key is the key that the management server generated and established with the identity the first incidence relation.
In an alternative embodiment, the temporary key corresponds to validity period, and the validity period allows to lead to for indicating
Spend the validity period that the temporary key accesses the Wireless Communication Equipment;
The sending submodule 711, is also used to send access request to the Wireless Communication Equipment, and access request includes logical
It crosses the temporary key and carries out encrypted target string;
The receiving submodule 712 is also used to receive the instruction that is successfully accessed of the Wireless Communication Equipment feedback, described to connect
Entering successfully instruction is that the Wireless Communication Equipment passes through the temporary key to the encrypted target string successful decryption
Afterwards, and the temporary key is in and feeds back when the validity period.
In an alternative embodiment, the network module 72 is also used to access the wireless network by shared key
Network equipment, the shared key are to access the default key of the Wireless Communication Equipment;The terminal is disconnected to share by described
The access state that key and the Wireless Communication Equipment are attached.
Fig. 9 is the structural block diagram for the physical address acquisition device that one exemplary embodiment of the application provides, such as Fig. 9 institute
Show, which includes:Sending module 91, receiving module 92, memory module 93;
Sending module 91, for sending access information corresponding with the identity of the terminal to the terminal;
Receiving module 92, the physical address sent for receiving the Wireless Communication Equipment, the physical address are
What the Wireless Communication Equipment was sent after the terminal is according to access information access;
Memory module 93, for saving the corresponding relationship between the physical address and the identity;
The receiving module 92 is also used to receive the address acquisition request that the terminal is sent, the address acquisition request
For physical address described in request, the acquisition request includes the identity;
The sending module 91 is also used to send the physical address to the terminal according to the address acquisition request.
In an alternative embodiment, the sending module 91 is also used to receive the access request that the terminal is sent,
The access request is used for request access information corresponding with the identity of the terminal;
The sending module 91 is also used to send unique access information to the terminal, and the unique access information is used for
Wireless Communication Equipment is accessed using the terminal as unique access terminals in the target time period.
Figure 10 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides, and is such as schemed
Shown in 10, which further includes:Generate submodule 921, sending submodule 922;
The receiving module 92 is also used to receive the cipher key acquisition request that the terminal is sent, the cipher key acquisition request
In include the terminal the identity;
Submodule 921 is generated, for generating temporary key, and is established between the temporary key and the identity
First incidence relation;
Sending submodule 922, for the temporary key to be uniquely sent to the terminal, the terminal is used for according to institute
It states temporary key and accesses the Wireless Communication Equipment.
In an alternative embodiment, the memory module 93, is also used to determine the temporary key and the physics
Second incidence relation of address;
The memory module 93 is also used to determine the body according to first incidence relation and second incidence relation
The third incidence relation of part mark and the physical address, as the corresponding pass between the physical address and the identity
System.
In an alternative embodiment, the sending module 91 is also used to send key to the Wireless Communication Equipment
Signal is modified, the key modification signal is for the access key of the Wireless Communication Equipment in the target time period to be revised as
The temporary key.
Figure 11 is the structural block diagram for the physical address acquisition device that one exemplary embodiment of the application provides, such as Figure 11
Shown, which includes:Receiving module 111 obtains module 112 and sending module 113;
Receiving module 111, the access request sent for receiving terminal according to access information, the access information are management
The access information that server is sent to the terminal, the access information are corresponding with the identity of the terminal;
Module 112 is obtained, for obtaining the physical address of the terminal from the access request;
Sending module 113, for the physical address to be sent to management server, the management server is for connecing
It receives and the physical address is sent to the terminal when address that the terminal is sent obtains signal.
Figure 12 is the structural block diagram for the physical address acquisition device that another exemplary embodiment of the application provides, and is such as schemed
Shown in 12, which further includes:Decrypt submodule 1121, access submodule 1122;
The access information is unique access information, and the unique access information is used in the target time period by the end
The Wireless Communication Equipment is accessed as unique access terminals in end;
The acquisition module 112, is also used to obtain encrypted target string from the access request;
Submodule 1121 is decrypted, for solving to the encrypted target string by the unique access information
It is close;
Submodule 1122 is accessed, is used for after to the encrypted target string successful decryption, described in permission
Terminal accesses, and the physical address of the terminal is obtained from the access request.
In an alternative embodiment, the unique access information includes temporary key;
The receiving module 111, is also used to receive the key modification signal that the management server is sent, and the key is repaired
The number of converting to is used to the key for accessing the Wireless Communication Equipment being revised as temporary key.
In an alternative embodiment, the temporary key is corresponding with key validity period, and the key validity period is used for
Indicate the validity period for allowing to access the Wireless Communication Equipment by the temporary key;
Described device further includes:
Detection module 114, at the time of whether being within the key validity period for detecting the temporary key;
The detection module 114, when being also used to when the temporary key was within the key validity period at the time of, to
The terminal provides the network service.
In an alternative embodiment, the receiving module 111 is also used to receive key setting signal, the key
Setting signal is used to set shared key for the key for accessing the Wireless Communication Equipment, and the shared key is described in access
The default key of Wireless Communication Equipment.
In conclusion physical address acquisition device provided in this embodiment, since terminal is obtained by Wireless Communication Equipment
When network being taken to service, need to obtain network service by MAC Address, i.e. terminal is needed MAC Address being sent to wireless network and be set
Standby, MAC Address is sent to management by the Wireless Communication Equipment by the available MAC Address to terminal of Wireless Communication Equipment
Server, after which is sent to the destination application of terminal by management server, destination application is without passing through ground
Location obtains interface and obtains MAC Address, and avoiding destination application, impenetrably location obtains asking for interface acquisition MAC Address
Topic.
Figure 13 shows the structural block diagram of the terminal 1300 of an illustrative embodiment of the invention offer.The terminal 1300 can
To be:Smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer
III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio
Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 1300 is also
Other titles such as user equipment, portable terminal, laptop terminal, terminal console may be referred to as.
In general, terminal 1300 includes:Processor 1301 and memory 1302.
Processor 1301 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 1301 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1301 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 1301 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1301 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1302 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 1302 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1302 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1301 for realizing this Shen
Please in embodiment of the method provide physical address acquisition methods.
In some embodiments, terminal 1300 is also optional includes:Peripheral device interface 1303 and at least one periphery are set
It is standby.It can be connected by bus or signal wire between processor 1301, memory 1302 and peripheral device interface 1303.It is each outer
Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1303.Specifically, peripheral equipment includes:
In radio circuit 1304, touch display screen 1305, camera 1306, voicefrequency circuit 1307, positioning component 1308 and power supply 1309
At least one.
Peripheral device interface 1303 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 1301 and memory 1302.In some embodiments, processor 1301, memory 1302 and periphery
Equipment interface 1303 is integrated on same chip or circuit board;In some other embodiments, processor 1301, memory
1302 and peripheral device interface 1303 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1304 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1304 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1304 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1304 include:Antenna system, one or more amplifiers, tuner, oscillator, digital signal processor, compiles solution at RF transceiver
Code chipset, user identity module card etc..Radio circuit 1304 can by least one wireless communication protocol come with it is other
Terminal is communicated.The wireless communication protocol includes but is not limited to:WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network
(2G, 3G, 4G and 13G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some realities
It applies in example, radio circuit 1304 can also include that NFC (Near Field Communication, wireless near field communication) is related
Circuit, the application is not limited this.
Display screen 1305 is for showing UI (UserInterface, user interface).The UI may include figure, text, figure
Mark, video and its their any combination.When display screen 1305 is touch display screen, display screen 1305 also has acquisition aobvious
The ability of the touch signal on the surface or surface of display screen 1305.The touch signal can be used as control signal and be input to processing
Device 1301 is handled.At this point, display screen 1305 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button
And/or soft keyboard.In some embodiments, display screen 1305 can be one, and the front panel of terminal 1300 is arranged;At other
In embodiment, display screen 1305 can be at least two, be separately positioned on the different surfaces of terminal 1300 or in foldover design;?
In still other embodiments, display screen 1305 can be flexible display screen, be arranged on the curved surface of terminal 1300 or fold plane
On.Even, display screen 1305 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1305 can be adopted
With LCD (Liquid Crystal Display, liquid crystal display), (Organic Light-Emitting Diode, has OLED
Machine light emitting diode) etc. materials preparation.
CCD camera assembly 1306 is for acquiring image or video.Optionally, CCD camera assembly 1306 includes front camera
And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.?
In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively
As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide
Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle
Shooting function.In some embodiments, CCD camera assembly 1306 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light
Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for
Light compensation under different-colour.
Voicefrequency circuit 1307 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and
It converts sound waves into electric signal and is input to processor 1301 and handled, or be input to radio circuit 1304 to realize that voice is logical
Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1300 to be multiple.
Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1301 or radio frequency will to be come from
The electric signal of circuit 1304 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking
Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action
Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1307 may be used also
To include earphone jack.
Positioning component 1308 is used for the current geographic position of positioning terminal 1300, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 1308 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group
Part.
Power supply 1309 is used to be powered for the various components in terminal 1300.Power supply 1309 can be alternating current, direct current
Electricity, disposable battery or rechargeable battery.When power supply 1309 includes rechargeable battery, which can be line charge
Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through
The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1300 further includes having one or more sensors 1310.One or more sensing
Device 1310 includes but is not limited to:Acceleration transducer 1311, gyro sensor 1312, pressure sensor 1310, fingerprint sensing
Device 1314, optical sensor 1315 and proximity sensor 1316.
Acceleration transducer 1311 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1300
Size.For example, acceleration transducer 1311 can be used for detecting component of the acceleration of gravity in three reference axis.Processor
The 1301 acceleration of gravity signals that can be acquired according to acceleration transducer 1311, control touch display screen 1305 with transverse views
Or longitudinal view carries out the display of user interface.Acceleration transducer 1311 can be also used for game or the exercise data of user
Acquisition.
Gyro sensor 1312 can detecte body direction and the rotational angle of terminal 1300, gyro sensor 1312
Acquisition user can be cooperateed with to act the 3D of terminal 1300 with acceleration transducer 1311.Processor 1301 is according to gyro sensors
The data that device 1312 acquires, may be implemented following function:Action induction (for example changing UI according to the tilt operation of user) is clapped
Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1305 in terminal 1300 can be set in pressure sensor 1310.When
When the side frame of terminal 1300 is arranged in pressure sensor 1310, user can detecte to the gripping signal of terminal 1300, by
Reason device 1301 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1310 acquires.Work as pressure sensor
1310 when being arranged in the lower layer of touch display screen 1305, is grasped by processor 1301 according to pressure of the user to touch display screen 1305
Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control,
At least one of icon control, menu control.
Fingerprint sensor 1314 is used to acquire the fingerprint of user, is collected by processor 1301 according to fingerprint sensor 1314
Fingerprint recognition user identity, alternatively, by fingerprint sensor 1314 according to the identity of collected fingerprint recognition user.Knowing
Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1301, which grasps
Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1314 can be set
Set the front, the back side or side of terminal 1300.When being provided with physical button or manufacturer Logo in terminal 1300, fingerprint sensor
1314 can integrate with physical button or manufacturer Logo.
Optical sensor 1315 is for acquiring ambient light intensity.In one embodiment, processor 1301 can be according to light
The ambient light intensity that sensor 1315 acquires is learned, the display brightness of touch display screen 1305 is controlled.Specifically, work as ambient light intensity
When higher, the display brightness of touch display screen 1305 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1305 is turned down
Show brightness.In another embodiment, the ambient light intensity that processor 1301 can also be acquired according to optical sensor 1315, is moved
The acquisition parameters of state adjustment CCD camera assembly 1306.
Proximity sensor 1316, also referred to as range sensor are generally arranged at the front panel of terminal 1300.Proximity sensor
1316 for acquiring the distance between the front of user Yu terminal 1300.In one embodiment, when proximity sensor 1316 is examined
When measuring the distance between the front of user and terminal 1300 and gradually becoming smaller, by processor 1301 control touch display screen 1305 from
Bright screen state is switched to breath screen state;When proximity sensor 1316 detect the distance between front of user and terminal 1300 by
When gradual change is big, touch display screen 1305 is controlled by processor 1301 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1300 of structure shown in Figure 13
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, the meter
Calculation machine readable storage medium storing program for executing can be computer readable storage medium included in the memory in above-described embodiment;It can also be with
It is individualism, without the computer readable storage medium in supplying terminal.Be stored in the computer readable storage medium to
Few an instruction, at least one section of program, code set or instruction set, it is at least one instruction, at least one section of program, described
Code set or instruction set are loaded by the processor and are executed to realize any physical address acquisition side as shown in Figure 1 to Figure 4
Method.
Optionally, which may include:Read-only memory (ROM, Read Only Memory),
Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or light
Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random
Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned
Apply for that embodiment sequence number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Present invention also provides a kind of server, which includes processor and memory, be stored in memory to
A few instruction, at least one instruction load by processor and is executed with realize above-mentioned each embodiment of the method offer short-sighted
The method interacted in sound interval sequence.It should be noted that the server can be server provided by following Figure 14.
Figure 14 is please referred to, it illustrates the structural schematic diagrams for the server that one exemplary embodiment of the application provides.Tool
For body:The server 1400 includes 1402 He of central processing unit (CPU) 1401 including random access memory (RAM)
The system storage 1404 of read-only memory (ROM) 1403, and connection system storage 1404 and central processing unit 1401
System bus 1405.The server 1400 further includes that the substantially defeated of information is transmitted between each device helped in computer
Enter/output system (I/O system) 1406, and is used for storage program area 1413, application program 1414 and other program modules
1415 mass-memory unit 1407.
The basic input/output 1406 includes display 1408 for showing information and inputs for user
The input equipment 1409 of such as mouse, keyboard etc of information.Wherein the display 1408 and input equipment 1409 all pass through
The input and output controller 1410 for being connected to system bus 1405 is connected to central processing unit 1401.The basic input/defeated
System 1406 can also include input and output controller 1410 to touch for receiving and handling from keyboard, mouse or electronics out
Control the input of multiple other equipment such as pen.Similarly, input and output controller 1410 also provide output to display screen, printer or
Other kinds of output equipment.
The mass-memory unit 1407 (is not shown by being connected to the bulk memory controller of system bus 1405
It is connected to central processing unit 1401 out).The mass-memory unit 1407 and its associated computer-readable medium are
Server 1400 provides non-volatile memories.That is, the mass-memory unit 1407 may include such as hard disk or
The computer-readable medium (not shown) of person's CD-ROI driver etc.
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer
Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage
The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes
RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape
Box, tape, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that the computer storage medium
It is not limited to above-mentioned several.Above-mentioned system storage 1404 and mass-memory unit 1407 may be collectively referred to as memory.
Memory is stored with one or more programs, and one or more programs are configured to by one or more central processings
Unit 1401 executes, and one or more programs include the finger for realizing the above-mentioned method interacted in short video program
Enable, central processing unit 1401 execute the one or more program realize above-mentioned each embodiment of the method offer in short-sighted sound interval
The method interacted in sequence.
According to various embodiments of the present invention, the server 1400 can also be arrived by network connections such as internets
Remote computer operation on network.Namely server 1400 can be connect by the network being connected on the system bus 1405
Mouth unit 1411 is connected to network 1412, in other words, it is other kinds of to be connected to that Network Interface Unit 1411 also can be used
Network or remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in
In memory, the one or more programs include provided in an embodiment of the present invention in short video program for carrying out
The step as performed by server in the method interacted.
The embodiment of the present application also provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is loaded by the processor 1410 and is executed to realize the video interaction method as described in Fig. 1 to Fig. 9 is any.
Present invention also provides a kind of computer program products to make when computer program product is run on computers
It obtains computer and executes the video interaction method that above-mentioned each embodiment of the method provides.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Present invention also provides a kind of network equipment, which includes processor and memory, is stored in memory
There is at least one instruction, at least one instruction is loaded by processor and executed the object to realize above-mentioned each embodiment of the method offer
Manage address acquiring method.It should be noted that the network equipment can be the network equipment provided by following Figure 15.
Figure 15 is please referred to, it illustrates the structural schematic diagrams for the network equipment that one exemplary embodiment of the application provides.
Specifically:The network equipment includes processor 1510, memory 1520 and communication interface 1530.
Processor 1510 is connected with memory 1520 and communication interface 1530 respectively by bus.
Communication interface 1530 is used for and realizes the communication between other network elements.
Processor 1510 includes one or more processing cores.Processor 1510 passes through operation operating system or application
Program module, to realize the function of the network equipment in above-mentioned each embodiment of the method.
Optionally, memory 1520 can application program module needed for storage program area 1522, at least one function
1524.Optionally, application program module 1524 includes:Receiving unit 1524a, processing unit 1524b and transmission unit 1524c.
Wherein, the step of receiving unit 1524a is for realizing related reception;Processing unit 1524b is for realizing related calculating or processing
The step of;The step of transmission unit 1524c is for realizing related transmission.
In addition, memory 1520 can be by any kind of volatibility or non-volatile memory device or their combination
It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable
Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory,
Disk or CD.
Optionally, be stored at least one instruction, at least one section of program, code set or instruction set in memory, it is above-mentioned extremely
Few instruction, at least one section of program, code set or an instruction set are loaded by processor and are executed to realize above-mentioned Fig. 1 to Fig. 4
Any physical address acquisition methods.
It will be understood by those skilled in the art that structure shown in Figure 15 does not constitute the restriction of the above-mentioned network equipment,
It may include than illustrating more or fewer components or combining certain components or different component layouts.
The embodiment of the present application also provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is loaded by the processor 1510 and is executed to realize any physical address acquisition methods as shown in Figure 1 to Figure 4.
The memory further includes that one or more than one program, the one or more programs are stored in
In memory, the one or more programs include for carrying out physical address acquisition side provided in an embodiment of the present invention
Method.
The embodiment of the present application also provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is loaded by the processor 1510 and is executed to realize any physical address acquisition methods as shown in Figure 1 to Figure 4.
Present invention also provides a kind of computer program products to make when computer program product is run on computers
It obtains computer and executes the physical address acquisition methods that above-mentioned each embodiment of the method provides.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, the meter
Calculation machine readable storage medium storing program for executing can be computer readable storage medium included in the memory in above-described embodiment;It can also be with
It is individualism, without the computer readable storage medium in supplying terminal.Be stored in the computer readable storage medium to
Few an instruction, at least one section of program, code set or instruction set, it is at least one instruction, at least one section of program, described
Code set or instruction set are loaded by the processor and are executed to realize any physical address acquisition side as shown in Figure 1 to Figure 4
Method.
Optionally, which may include:Read-only memory (ROM, Read Only Memory),
Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or light
Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random
Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned
Apply for that embodiment sequence number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (15)
1. a kind of physical address acquisition methods, which is characterized in that in the terminal for having destination application applied to operation, the side
Method includes:
Access information corresponding with the identity of the terminal is obtained from management server;
The Wireless Communication Equipment is accessed according to the access information, the Wireless Communication Equipment in the terminal for accessing
The physical address of the terminal is sent to the management server afterwards, the management server is for saving the terminal
Corresponding relationship between identity and the physical address;
Address acquisition request is sent to the management server by the destination application, the address acquisition request is used for
The physical address is obtained from the management server, the address acquisition request includes the identity;
The physical address that the management server is sent is received by the destination application.
2. the method according to claim 1, wherein the identity obtained from management server with the terminal
Corresponding access information is identified, including:
Information acquisition request is sent to the management server, the information acquisition request is for request and the terminal
The corresponding access information of identity;
The unique access information of the management server feedback is received, the unique access information will be in the target time period will
The terminal accesses the Wireless Communication Equipment as unique access terminals.
3. described to face according to the method described in claim 2, it is characterized in that, the unique access information includes temporary key
When key be key that the management server generated and be uniquely sent to the terminal;
It is described to send access request to the management server, including:
Cipher key acquisition request is sent to the management server, the cipher key acquisition request includes the identity mark of the terminal
Know;
The unique access information for receiving the management server feedback, including:
Receive the temporary key that the management server is sent, the temporary key be the management server generate and with
The key of the first incidence relation is established in the identity.
4. a kind of physical address acquisition methods, which is characterized in that the method includes:
Access information corresponding with the identity of the terminal is sent to the terminal;
The physical address that the Wireless Communication Equipment is sent is received, the physical address is the Wireless Communication Equipment in institute
Terminal is stated according to sending after access information access;
Save the corresponding relationship between the physical address and the identity;
The address acquisition request that the terminal is sent is received, the address acquisition request is used for physical address described in request,
The acquisition request includes the identity;
The physical address is sent to the terminal according to the address acquisition request.
5. according to the method described in claim 4, it is characterized in that, the identity mark sent to the terminal with the terminal
Know corresponding access information, including:
The access request that the terminal is sent is received, the access request is used for the identity pair of request and the terminal
The access information answered;
Unique access information is sent to the terminal, the unique access information is in the target time period making the terminal
Wireless Communication Equipment is accessed for unique access terminals.
6. according to the method described in claim 5, it is characterized in that, the access request for receiving the terminal and sending, including:
The cipher key acquisition request that the terminal is sent is received, includes the identity mark of the terminal in the cipher key acquisition request
Know;
Temporary key is generated, and establishes the first incidence relation between the temporary key and the identity;
The temporary key is uniquely sent to the terminal, the terminal is used for described wireless according to temporary key access
The network equipment.
7. according to the method described in claim 6, it is characterized in that, the preservation physical address and the identity it
Between corresponding relationship, including:
Determine the second incidence relation of the temporary key Yu the physical address;
The of the identity and the physical address is determined according to first incidence relation and second incidence relation
Three incidence relations are saved as the corresponding relationship between the physical address and the identity.
8. a kind of physical address acquisition methods, which is characterized in that the method includes:
The access request that terminal is sent according to access information is received, the access information is that management server is sent to the terminal
Access information, the access information is corresponding with the identity of the terminal;
The physical address of the terminal is obtained from the access request;
The physical address is sent to management server, the management server is used on the ground for receiving the terminal transmission
The physical address is sent to the terminal when location obtains signal.
9. described unique according to the method described in claim 8, it is characterized in that, the access information is unique access information
Access information is for accessing the Wireless Communication Equipment for the terminal as unique access terminals in the target time period;
The physical address that the terminal is obtained from the access request, including:
Encrypted target string is obtained from the access request;
The encrypted target string is decrypted by the unique access information;
After to the encrypted target string successful decryption, the terminal is allowed to access, and ask from the access
Seek the middle physical address for obtaining the terminal.
10. according to the method described in claim 9, it is characterized in that, the unique access information includes temporary key;
It is described receive the access request that terminal is sent according to access information before, further include:
The key modification signal that the management server is sent is received, the key modification signal will be for that will access the wireless network
The key of network equipment is revised as temporary key.
11. a kind of physical address acquisition device, which is characterized in that described in the terminal for having destination application applied to operation
Device includes:
Module is obtained, for obtaining access information corresponding with the identity of the terminal from management server;
Network module, for accessing the Wireless Communication Equipment according to the access information, the Wireless Communication Equipment is used for
The terminal sends the physical address of the terminal after access to the management server, and the management server is used for
Save the corresponding relationship between the identity of the terminal and the physical address;
Sending module, for sending address acquisition request to the management server by the destination application, describedly
Location acquisition request is used to obtain the physical address from the management server, and the address acquisition request includes the identity mark
Know;
Receiving module, for receiving the physical address that the management server is sent by the destination application.
12. a kind of physical address acquisition device, which is characterized in that described device includes:
Sending module, for sending access information corresponding with the identity of the terminal to the terminal;
Receiving module, the physical address sent for receiving the Wireless Communication Equipment, the physical address is the nothing
What the line network equipment was sent after the terminal is according to access information access;
Memory module, for saving the corresponding relationship between the physical address and the identity;
The receiving module is also used to receive the address acquisition request that the terminal is sent, and the address acquisition request is for asking
It asks and obtains the physical address, the acquisition request includes the identity;
The sending module is also used to send the physical address to the terminal according to the address acquisition request.
13. a kind of physical address acquisition device, which is characterized in that described device includes:
Receiving module, the access request sent for receiving terminal according to access information, the access information is management server
The access information sent to the terminal, the access information are corresponding with the identity of the terminal;
Module is obtained, for obtaining the physical address of the terminal from the access request;
Sending module, for the physical address to be sent to management server, the management server is used for receiving
The physical address is sent to the terminal when stating the address acquisition signal of terminal transmission.
14. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and memory, is deposited in the memory
Contain at least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of journey
Sequence, the code set or instruction set are loaded by the processor and are executed to realize the object as described in claims 1 to 10 is any
Manage address acquiring method.
15. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction
Collection is loaded by the processor and is executed to realize the physical address acquisition methods as described in claims 1 to 10 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810599630.3A CN108833607B (en) | 2018-06-12 | 2018-06-12 | Physical address acquisition method, device and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810599630.3A CN108833607B (en) | 2018-06-12 | 2018-06-12 | Physical address acquisition method, device and readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108833607A true CN108833607A (en) | 2018-11-16 |
CN108833607B CN108833607B (en) | 2022-03-11 |
Family
ID=64145193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810599630.3A Active CN108833607B (en) | 2018-06-12 | 2018-06-12 | Physical address acquisition method, device and readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108833607B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110022322A (en) * | 2019-04-15 | 2019-07-16 | 维沃移动通信有限公司 | A kind of MAC Address guard method and terminal device |
CN110399717A (en) * | 2018-11-21 | 2019-11-01 | 腾讯科技(深圳)有限公司 | Key acquisition method and device, storage medium and electronic device |
CN110809250A (en) * | 2019-09-09 | 2020-02-18 | 天地融科技股份有限公司 | Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal |
CN111131546A (en) * | 2019-12-25 | 2020-05-08 | 宁波奥克斯电气股份有限公司 | Method, device, system, terminal and medium for acquiring MAC address of terminal |
CN111385371A (en) * | 2018-12-28 | 2020-07-07 | 钉钉控股(开曼)有限公司 | MAC address acquisition method, device and equipment |
CN112307517A (en) * | 2020-03-23 | 2021-02-02 | 尼尔森网联媒介数据服务有限公司 | Identification code processing method and device, storage medium and electronic equipment |
CN112351420A (en) * | 2020-07-28 | 2021-02-09 | 深圳Tcl新技术有限公司 | Networking identity creating method and device of terminal device and readable storage medium |
CN112750234A (en) * | 2020-12-31 | 2021-05-04 | 北京骑胜科技有限公司 | Vehicle unlocking method and device, computer equipment and storage medium |
CN113079510A (en) * | 2019-12-17 | 2021-07-06 | 天津蠃鱼企业管理咨询合伙企业(有限合伙) | Signal processing method, communication device and storage medium |
CN113242060A (en) * | 2021-04-01 | 2021-08-10 | 青岛海尔科技有限公司 | Network access method and device, storage medium and electronic device |
CN113556227A (en) * | 2021-07-09 | 2021-10-26 | 腾讯科技(深圳)有限公司 | Network connection management method and device, computer readable medium and electronic equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1879434A (en) * | 2003-09-29 | 2006-12-13 | 瑞姆系统公司 | Mobility device |
CN101051899A (en) * | 2006-05-22 | 2007-10-10 | 华为技术有限公司 | Method and system for forming mobile IP key in radio communication network |
CN101064628A (en) * | 2006-04-28 | 2007-10-31 | 华为技术有限公司 | Household network appliance safe management system and method |
CN101141246A (en) * | 2006-09-05 | 2008-03-12 | 华为技术有限公司 | Service key obtaining method and subscription management server |
CN101170461A (en) * | 2007-12-04 | 2008-04-30 | 中控科技集团有限公司 | A method and device for enhancing network security |
CN101193024A (en) * | 2006-11-24 | 2008-06-04 | 鸿富锦精密工业(深圳)有限公司 | Network access device, mobile communication device, secret key setting method and mobile communication system |
CN101383698A (en) * | 2008-10-29 | 2009-03-11 | 中国电信股份有限公司 | Session cipher key distributing method and system |
CN103312677A (en) * | 2012-03-15 | 2013-09-18 | 宇龙计算机通信科技(深圳)有限公司 | Terminal, server and establishment method of communication connection |
CN103501481A (en) * | 2013-09-13 | 2014-01-08 | 北京赢销通软件技术有限公司 | Information propaganda pushing method and pushing device thereof based on wireless network |
CN103647856A (en) * | 2013-12-23 | 2014-03-19 | 成都西加云杉科技有限公司 | Method and device for application (APP) to obtain media access control (MAC) address of terminal |
CN105247814A (en) * | 2013-12-30 | 2016-01-13 | 华为技术有限公司 | Method and apparatus for managing physical address of network device |
CN105577365A (en) * | 2014-11-11 | 2016-05-11 | 中国移动通信集团公司 | Key consultation method and device for user' access to WLAN |
CN105828330A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Access method and access device |
CN105939402A (en) * | 2016-03-03 | 2016-09-14 | 杭州迪普科技有限公司 | MAC table entry obtaining method and device |
CN106937406A (en) * | 2017-04-06 | 2017-07-07 | 深圳市晟碟半导体有限公司 | A kind of method and system for accessing wireless network |
-
2018
- 2018-06-12 CN CN201810599630.3A patent/CN108833607B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1879434A (en) * | 2003-09-29 | 2006-12-13 | 瑞姆系统公司 | Mobility device |
CN101064628A (en) * | 2006-04-28 | 2007-10-31 | 华为技术有限公司 | Household network appliance safe management system and method |
CN101051899A (en) * | 2006-05-22 | 2007-10-10 | 华为技术有限公司 | Method and system for forming mobile IP key in radio communication network |
CN101141246A (en) * | 2006-09-05 | 2008-03-12 | 华为技术有限公司 | Service key obtaining method and subscription management server |
CN101193024A (en) * | 2006-11-24 | 2008-06-04 | 鸿富锦精密工业(深圳)有限公司 | Network access device, mobile communication device, secret key setting method and mobile communication system |
CN101170461A (en) * | 2007-12-04 | 2008-04-30 | 中控科技集团有限公司 | A method and device for enhancing network security |
CN101383698A (en) * | 2008-10-29 | 2009-03-11 | 中国电信股份有限公司 | Session cipher key distributing method and system |
CN103312677A (en) * | 2012-03-15 | 2013-09-18 | 宇龙计算机通信科技(深圳)有限公司 | Terminal, server and establishment method of communication connection |
CN103501481A (en) * | 2013-09-13 | 2014-01-08 | 北京赢销通软件技术有限公司 | Information propaganda pushing method and pushing device thereof based on wireless network |
CN103647856A (en) * | 2013-12-23 | 2014-03-19 | 成都西加云杉科技有限公司 | Method and device for application (APP) to obtain media access control (MAC) address of terminal |
CN105247814A (en) * | 2013-12-30 | 2016-01-13 | 华为技术有限公司 | Method and apparatus for managing physical address of network device |
CN105577365A (en) * | 2014-11-11 | 2016-05-11 | 中国移动通信集团公司 | Key consultation method and device for user' access to WLAN |
CN105828330A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Access method and access device |
CN105939402A (en) * | 2016-03-03 | 2016-09-14 | 杭州迪普科技有限公司 | MAC table entry obtaining method and device |
CN106937406A (en) * | 2017-04-06 | 2017-07-07 | 深圳市晟碟半导体有限公司 | A kind of method and system for accessing wireless network |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399717A (en) * | 2018-11-21 | 2019-11-01 | 腾讯科技(深圳)有限公司 | Key acquisition method and device, storage medium and electronic device |
CN110399717B (en) * | 2018-11-21 | 2023-03-14 | 腾讯科技(深圳)有限公司 | Key acquisition method and device, storage medium and electronic device |
CN111385371A (en) * | 2018-12-28 | 2020-07-07 | 钉钉控股(开曼)有限公司 | MAC address acquisition method, device and equipment |
CN111385371B (en) * | 2018-12-28 | 2022-10-21 | 钉钉控股(开曼)有限公司 | MAC address acquisition method, device and equipment |
CN110022322A (en) * | 2019-04-15 | 2019-07-16 | 维沃移动通信有限公司 | A kind of MAC Address guard method and terminal device |
CN110022322B (en) * | 2019-04-15 | 2021-07-20 | 维沃移动通信有限公司 | MAC address protection method and terminal equipment |
CN110809250A (en) * | 2019-09-09 | 2020-02-18 | 天地融科技股份有限公司 | Method for communication between read-write terminal and N vehicle-mounted units and read-write terminal |
CN113079510A (en) * | 2019-12-17 | 2021-07-06 | 天津蠃鱼企业管理咨询合伙企业(有限合伙) | Signal processing method, communication device and storage medium |
CN111131546A (en) * | 2019-12-25 | 2020-05-08 | 宁波奥克斯电气股份有限公司 | Method, device, system, terminal and medium for acquiring MAC address of terminal |
CN112307517A (en) * | 2020-03-23 | 2021-02-02 | 尼尔森网联媒介数据服务有限公司 | Identification code processing method and device, storage medium and electronic equipment |
CN112351420A (en) * | 2020-07-28 | 2021-02-09 | 深圳Tcl新技术有限公司 | Networking identity creating method and device of terminal device and readable storage medium |
CN112351420B (en) * | 2020-07-28 | 2023-07-25 | 深圳Tcl新技术有限公司 | Networking identity creation method and equipment of terminal equipment and readable storage medium |
CN112750234A (en) * | 2020-12-31 | 2021-05-04 | 北京骑胜科技有限公司 | Vehicle unlocking method and device, computer equipment and storage medium |
CN112750234B (en) * | 2020-12-31 | 2022-06-28 | 北京骑胜科技有限公司 | Vehicle unlocking method and device, computer equipment and storage medium |
CN113242060A (en) * | 2021-04-01 | 2021-08-10 | 青岛海尔科技有限公司 | Network access method and device, storage medium and electronic device |
CN113242060B (en) * | 2021-04-01 | 2022-07-05 | 青岛海尔科技有限公司 | Network access method and device, storage medium and electronic device |
CN113556227A (en) * | 2021-07-09 | 2021-10-26 | 腾讯科技(深圳)有限公司 | Network connection management method and device, computer readable medium and electronic equipment |
WO2023280194A1 (en) * | 2021-07-09 | 2023-01-12 | 腾讯科技(深圳)有限公司 | Network connection management method and apparatus, readable medium, program product, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN108833607B (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108833607A (en) | Physical address acquisition methods, device and readable medium | |
US20210243603A1 (en) | Wireless network access method, apparatus, device, equipment and system | |
CN108881030B (en) | Routing method and device in gray release scene | |
KR102089191B1 (en) | Methods, devices and systems for processing order information | |
CN108306771A (en) | Log reporting method, apparatus and system | |
CN109905318A (en) | Apparatus control method, device and storage medium | |
CN109982102A (en) | The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end | |
CN108710496A (en) | Configuration update method, device, equipment and the storage medium of application program | |
CN113542290B (en) | Data access request processing method, device, equipment and readable storage medium | |
KR102124575B1 (en) | Electro device for protecting user privacy and method for controlling thereof | |
CN110213153A (en) | Display methods, acquisition methods, device, terminal and the storage medium of unread message | |
CN110032384A (en) | Method, apparatus, equipment and the storage medium of resource updates | |
CN108769992A (en) | User authen method, device, terminal and storage medium | |
CN110322151A (en) | Platform enters system, method, equipment and storage medium | |
CN109726064A (en) | Method, apparatus, system and the storage medium of simulant-client misoperation | |
CN109254775A (en) | Image processing method, terminal and storage medium based on face | |
CN109218751A (en) | The method, apparatus and system of recommendation of audio | |
CN110677262B (en) | Information notarization method, device and system based on blockchain | |
CN110290191B (en) | Resource transfer result processing method, device, server, terminal and storage medium | |
CN110365501A (en) | The method and device that processing is added in group is carried out based on graphic code | |
CN110263525B (en) | Equipment configuration method and device | |
CN109783176A (en) | Switch the method and apparatus of the page | |
CN109857882A (en) | Image processing method, device and storage medium | |
CN110535890A (en) | The method and apparatus that file uploads | |
CN109828915A (en) | A kind of method, apparatus of debugging utility, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |