CN106254575A - A kind of method and apparatus determining ID - Google Patents
A kind of method and apparatus determining ID Download PDFInfo
- Publication number
- CN106254575A CN106254575A CN201610815617.8A CN201610815617A CN106254575A CN 106254575 A CN106254575 A CN 106254575A CN 201610815617 A CN201610815617 A CN 201610815617A CN 106254575 A CN106254575 A CN 106254575A
- Authority
- CN
- China
- Prior art keywords
- terminal
- mark
- device identification
- user
- corresponding relation
- 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
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/84—Mapping; Conversion
- G06F16/88—Mark-up to mark-up conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
Abstract
The invention discloses a kind of method and apparatus determining ID, belong to electronic technology field.The method includes: receive the identity acquisition request that terminal sends, wherein, the first device identification that identity obtains the first terminal mark carrying described terminal in request, sets up the network equipment of the LAN of terminal access;If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise the first terminal mark ID corresponding with the first device identification, then create first user mark, and first terminal mark, the first device identification and first user are identified corresponding adding in corresponding relation, and send first user mark to terminal;If corresponding relation comprises the first user mark that first terminal mark is corresponding with the first device identification, then send first user mark to terminal.Use the present invention, so that server can carry out Business Processing based on ID.
Description
Technical field
The present invention relates to electronic technology field, particularly to a kind of method and apparatus determining ID.
Background technology
Along with the development of electronic technology, various terminals are widely used, and terminal and server can be with bases
Carry out Business Processing, such as server in user name to push to terminal meet user habit according to the use habit of user
Song etc..
Server carries out the method for Business Processing often based on user name: user is by inputting ID in terminal
(i.e. user name) and password, sign in server, and then, terminal can carry out Business Processing based on the user name of user's input,
Accordingly, server can carry out Business Processing (such as, recommending personalized service based on user name) based on user name.Such as,
Terminal can play song based on user name, and accordingly, server can record the song that this user name crosses with terminal plays
Corresponding relation, and then, recommendation song can be pushed based on user name to terminal.
During realizing the present invention, inventor finds that prior art at least there is problems in that
Based on above-mentioned processing mode, for there is no terminal (the such as intelligent sound, intelligent TV set of the input equipments such as keyboard
Deng), user cannot be carried out inputting the operations such as ID, thus, cause server cannot carry out at business based on ID
Reason.
Summary of the invention
In order to solve problem of the prior art, embodiments provide a kind of method determining ID and dress
Put.Described technical scheme is as follows:
First aspect, it is provided that a kind of method determining ID, described method includes:
Receiving the identity that terminal sends and obtain request, wherein, described identity obtains and carries the of described terminal in request
One terminal iidentification, set up first device identification of the network equipment of the LAN that described terminal accesses;
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first eventually
The ID that end mark is corresponding with described first device identification, then create first user mark, and by described first terminal mark
Know, described first device identification identifies corresponding adding in described corresponding relation with described first user, and sends out to described terminal
Described first user is sent to identify;
If described corresponding relation comprises the first use that described first terminal mark is corresponding with described first device identification
Family identifies, then send described first user mark to described terminal;
Wherein, described first user mark carries out Business Processing based on ID for described terminal.
Optionally, if described prestore ID, terminal iidentification, device identification corresponding relation in do not comprise
The ID that described first terminal mark is corresponding with described first device identification, then create first user mark, including:
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first eventually
End identifies and does not comprise described first device identification, then create first user mark.
Optionally, described method also includes:
If described corresponding relation does not comprise the user that described first terminal mark is corresponding with described first device identification
Mark and the first user comprising described first terminal mark corresponding with the second device identification identify, then by described second equipment mark
Know and be revised as described first device identification, and send described first user mark to described terminal.
So, when user has changed the network equipment, the ID before still can using, thus, server is permissible
According to the use habit that ID before is corresponding, it is provided that personalized service.
Optionally, described method also includes:
If described corresponding relation does not comprise the user that described first terminal mark is corresponding with described first device identification
Identify and comprise the first user mark that the second terminal iidentification is corresponding with described first device identification, then by described second terminal mark
Know and be revised as described first terminal mark, and send described first user mark to described terminal.
So, when user has changed terminal, the ID before still can using, thus, server can basis
The use habit that ID before is corresponding, it is provided that personalized service.
5, according to the method described in any one of claim 1-4, it is characterised in that described first terminal mark includes described
The MAC address of terminal, described first device identification includes the MAC Address of the described network equipment.
Second aspect, it is provided that a kind of device determining ID, described device includes:
Receiver module, the identity sent for receiving terminal obtains request, and wherein, described identity obtains in request and carries
The first terminal of described terminal identifies, sets up the first device identification of the network equipment of the LAN that described terminal accesses;
Creation module, if for prestore ID, terminal iidentification, device identification corresponding relation in do not wrap
The ID that the mark containing described first terminal is corresponding with described first device identification, then create first user mark, and by institute
State first terminal mark, described first device identification and described first user and identify corresponding adding in described corresponding relation, and
Described first user mark is sent to described terminal;
Sending module, if comprise described first terminal mark and described first device identification in described corresponding relation
Corresponding first user mark, then send described first user mark to described terminal;
Wherein, described first user mark carries out Business Processing based on ID for described terminal.
Optionally, described creation module, it is used for:
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first eventually
End identifies and does not comprise described first device identification, then create first user mark.
Optionally, described device also includes:
First modified module, sets if not comprising described first terminal mark and described first in described corresponding relation
The standby ID identifying correspondence and the first user comprising described first terminal mark corresponding with the second device identification identify, then
Described second device identification is revised as described first device identification, and sends described first user mark to described terminal.
Optionally, described device also includes:
Second modified module, sets if not comprising described first terminal mark and described first in described corresponding relation
For identifying corresponding ID and comprising the first user mark that the second terminal iidentification is corresponding with described first device identification, then
Described second terminal iidentification is revised as described first terminal mark, and sends described first user mark to described terminal.
Optionally, described first terminal mark includes the MAC address of described terminal, described first equipment
Mark includes the MAC Address of the described network equipment.
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, terminal can send identity to server and obtain request, and accordingly, server can receive
Identity obtains request, and wherein, identity obtains to carry the first terminal mark of terminal in request and set up terminal and accesses
First device identification of the network equipment of LAN, and then, server can determine whether ID, the terminal mark prestored
Know, whether the corresponding relation of device identification comprises the ID that first terminal mark is corresponding with the first device identification, if
Do not comprise, then server can create first user mark, and by first terminal mark, the first device identification and first user mark
Knowing correspondence to add in corresponding relation, and send first user mark to terminal, if comprised, then server can be directly to end
End sends first user mark, and wherein, first user mark carries out Business Processing based on ID for terminal.So,
Terminal can obtain request by sending identity to server, obtains ID, it is not necessary to user is manually entered ID, from
And, so that server can carry out Business Processing based on ID.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of method flow diagram determining ID that the embodiment of the present invention provides;
Fig. 2 is a kind of system framework schematic diagram that the embodiment of the present invention provides;
Fig. 3 is a kind of apparatus structure schematic diagram determining ID that the embodiment of the present invention provides;
Fig. 4 is a kind of apparatus structure schematic diagram determining ID that the embodiment of the present invention provides;
Fig. 5 is a kind of apparatus structure schematic diagram determining ID that the embodiment of the present invention provides;
Fig. 6 is a kind of server architecture schematic diagram that the embodiment of the present invention provides.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiments providing a kind of method determining ID, the executive agent of the method is server.Its
In, server can determine that the background server of subscriber identity functions.This server can be provided with transceiver, process
Device, memorizer, transceiver may be used for receiving and sending data, and processor is determined for first terminal mark and first and sets
The ID that standby mark is corresponding, memorizer may be used for the data needing in following processing procedure and producing.The present invention implements
The method that example provides goes for intelligent appliance equipment and determines the scene of ID.The method that the embodiment of the present invention provides is more
It is applicable to before user for the first time uses this terminal, server not store the situation of the terminal iidentification of this terminal.
Below in conjunction with detailed description of the invention, being described in detail the handling process shown in Fig. 1, content can be as
Under:
Step 101, receives the identity that terminal sends and obtains request, and wherein, identity obtains and carries the of terminal in request
One terminal iidentification, set up first device identification of the network equipment of the LAN that terminal accesses;
Wherein, terminal can be the function having and determining ID, and has access to the intelligent terminal of LAN, permissible
Being intelligent appliance equipment, be such as intelligent TV set etc., the network equipment can be the equipment setting up the LAN that terminal accesses, can
To be router.
In force, terminal can have the function determining user identity, when terminal is successfully accessed LAN, permissible
Sending identity by the network equipment to server and obtain request, wherein, identity obtains the terminal that can carry terminal in request
Mark (i.e. first terminal mark), identity obtains request through the network equipment, the identity that the network equipment can send to terminal
Obtain the device identification (the i.e. first device identification) adding the network equipment in request, or, terminal is attempted access network device and is built
During vertical LAN, the first device identification of the network equipment can be sent to terminal by the network equipment, in such cases, terminal to
Server sends identity when obtaining request, and identity obtains in request directly can carry first terminal mark with the in end side
One device identification.
Accordingly, server can receive the identity acquisition request that terminal sends, it is possible to resolves it, obtains it
In carry first terminal mark and the first device identification, as shown in Figure 2.
Optionally, first terminal mark can be the MAC (Media Access Control, media interviews control) of terminal
Address, the first device identification can be the MAC Address of the network equipment.
Step 102, if the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise
One terminal iidentification and ID corresponding to the first device identification, then create first user mark, and first terminal is identified, the
One device identification is corresponding with first user mark to be added in corresponding relation, and to terminal transmission first user mark, wherein, the
One ID carries out Business Processing based on ID for terminal.
In force, server can be previously stored with the corresponding relation of ID, terminal iidentification, device identification.
After server gets the first terminal mark and the first device identification carried in identity acquisition request, it can be determined that above-mentioned correspondence
Whether relation includes the ID that first terminal mark is corresponding with the first device identification, if corresponding relation does not comprises
The ID that first terminal mark is corresponding with the first device identification, then server can create first user mark, and will
First terminal mark, the first device identification and first user identify corresponding adding in corresponding relation, and send first to terminal
ID, accordingly, terminal can receive the first user mark that server sends, and then, terminal can be used based on first
Family mark carries out Business Processing.It is to say, when terminal sends identity acquisition request to server for the first time, server is permissible
For this terminal distribution ID, and by the ID of distribution, the terminal iidentification of this terminal, set up the local that this terminal accesses
The device identification correspondence of the network equipment of net is added in corresponding relation, in order to this terminal follow-up sends identity to server again
When obtaining request, server determines the ID of this terminal.
Optionally, server can neither comprise first terminal mark in corresponding relation and the most not comprise the first device identification
In the case of, create first user mark, accordingly, the processing procedure of step 102 can be such that if the user prestored
Mark, terminal iidentification, device identification corresponding relation in do not comprise first terminal mark and do not comprise the first device identification, then create
Build first user mark.
In force, server gets identity and obtains the first terminal mark and the first device identification carried in request
After, can the ID prestored, terminal iidentification, device identification corresponding relation in, search first terminal mark, as
Fruit does not finds, then can continuing to search for the first device identification, if the most not finding the first device identification, then can create
Build first user mark, and add first user mark, first terminal mark, the first device identification correspondence to corresponding relation
In, wherein, it is also possible to first search the first device identification, then (this kind of processing mode can be preferred to search first terminal mark
Processing mode), the embodiment of the present invention is not limited thereof.If it is to say, the above-mentioned correspondence prestored in server
Do not comprise first terminal mark in relation and do not comprise the first device identification, then server can create first user mark, i.e.
If the above-mentioned corresponding relation prestored does not comprises the ID that first terminal identifies, the second device identification is corresponding, and
Not comprising the ID that the second terminal iidentification, the first device identification are corresponding, then create first user mark, wherein, second sets
Standby mark is different from any appliance mark of the first device identification, and the second terminal iidentification is different from appointing of first terminal mark
One terminal iidentification.
Optionally, when the corresponding relation of server storage comprising first terminal mark and not comprising the first device identification
Time, the device identification in the corresponding relation item comprising first terminal mark can be updated, accordingly, processing procedure is permissible
As follows: to identify the ID corresponding with the first device identification if corresponding relation does not comprise first terminal and comprise first eventually
The first user mark that end mark is corresponding with the second device identification, then be revised as the first device identification by the second device identification, and
First user mark is sent to terminal.
In force, server gets identity and obtains the first terminal mark and the first device identification carried in request
After, can the ID prestored, terminal iidentification, device identification corresponding relation in, search first terminal mark, as
Fruit finds first terminal mark, it can be determined that whether the device identification in the corresponding relation item at first terminal mark place is with the
One device identification is consistent, if the device identification in corresponding relation item is inconsistent with the first device identification, then server can be by
Device identification in corresponding relation item is revised as the first device identification, and sends the first user mark in corresponding relation item to terminal
Know.If it is to say, corresponding relation not comprising first terminal identify the ID corresponding with the first device identification and bag
The first user mark that the mark containing first terminal is corresponding with the second device identification, then server can be by the second device identification amendment
It is the first device identification, and sends first user mark to terminal.So, when user has changed the network equipment, clothes can be made
Business device upgrades in time corresponding corresponding relation item, and this user can also continue to the ID before using.
It addition, this server can apply to determine the situation of the ID of same type of terminal, i.e. in server
Terminal iidentification in the corresponding relation prestored can be the terminal iidentification of same type of terminal, such as, intelligent TV set
Can send identity to this server and obtain request, intelligent refrigerator can send identity to another server and obtain request, but
Be the processing procedure of each server be identical.
Optionally, when the corresponding relation of server storage comprising the first device identification and not comprising first terminal mark
Time, the device identification in the corresponding relation item comprising the first device identification can be updated, accordingly, processing procedure is permissible
As follows: to identify the ID corresponding with the first device identification if corresponding relation does not comprise first terminal and comprise second eventually
The first user mark that end mark is corresponding with the first device identification, then be revised as first terminal mark by the second terminal iidentification, and
First user mark is sent to terminal.
In force, server gets identity and obtains the first terminal mark and the first device identification carried in request
After, can the ID prestored, terminal iidentification, device identification corresponding relation in, search first terminal mark, as
Fruit does not finds first terminal mark, then can continuing to search for the first device identification, if finding the first device identification, then taking
Terminal iidentification in the corresponding relation item at the first device identification place can be revised as first terminal mark by business device, and to terminal
Send the first user mark in corresponding relation item.If it is to say, corresponding relation not comprising first terminal mark and the
ID that one device identification is corresponding and comprise the second terminal iidentification and first user mark corresponding to the first device identification, then
Second terminal iidentification is revised as first terminal mark, and sends first user mark to terminal.So, end has been changed as user
During end, server can be made to upgrade in time corresponding corresponding relation item, and this user can also continue to the user before using
Mark.
Step 103, if comprising the first user mark that first terminal mark is corresponding with the first device identification in corresponding relation
Knowing, then send first user mark to terminal, wherein, first user mark is carried out at business based on ID for terminal
Reason.
In force, server gets identity and obtains the first terminal mark and the first device identification carried in request
After, it can be determined that the ID that prestores, terminal iidentification, device identification corresponding relation in, if comprise first terminal
Identifying the ID corresponding with the first device identification, if comprised, then first terminal mark and first can be set by server
The first user mark of standby mark correspondence sends to terminal.
It addition, terminal is also provided with identity obtain button, when user needs terminal to obtain ID, permissible
Click on the identity in terminal and obtain button, now, it will triggering terminal receives identity and obtains instruction, and then, terminal can be to
Server sends identity and obtains request.In such cases, when user uses this terminal or has changed the network equipment for the first time,
User can click on the identity in terminal and obtain button, in order to it is corresponding with the first device identification that server creates first terminal mark
ID, or update comprise first terminal mark or the corresponding relation item of the first device identification, terminal gets first
After ID, can store, in order to subsequent terminal this first user mark can carry out Business Processing.
Additionally, terminal can also be previously provided with the trigger event of ID corresponding to terminal iidentification creating terminal
(being such as to double-click identity to obtain button), when user double-clicks identity acquisition button, it will triggering terminal sends body to server
Part request to create, wherein, can carry the first terminal mark of terminal and the first of the network equipment sets in identity request to create
Standby mark, accordingly, server can receive identity request to create, and resolves it, obtains first wherein carried eventually
End mark and the first device identification, and create the first user mark that first terminal mark is corresponding with the first device identification, and will
Three carries out corresponding storage.
In the embodiment of the present invention, terminal can send identity to server and obtain request, and accordingly, server can receive
Identity obtains request, and wherein, identity obtains to carry the first terminal mark of terminal in request and set up terminal and accesses
First device identification of the network equipment of LAN, and then, server can determine whether ID, the terminal mark prestored
Know, whether the corresponding relation of device identification comprises the ID that first terminal mark is corresponding with the first device identification, if
Do not comprise, then server can create first user mark, and by first terminal mark, the first device identification and first user mark
Knowing correspondence to add in corresponding relation, and send first user mark to terminal, if comprised, then server can be directly to end
End sends first user mark, and wherein, first user mark carries out Business Processing based on ID for terminal.So,
Terminal can obtain request by sending identity to server, obtains ID, it is not necessary to user is manually entered ID, from
And, so that server can carry out Business Processing based on ID.
Based on identical technology design, the embodiment of the present invention additionally provides a kind of device determining ID, such as Fig. 3 institute
Showing, this device includes:
Receiver module 310, the identity sent for receiving terminal obtains request, and wherein, described identity obtains in request and takes
First terminal with described terminal identifies, sets up the first device identification of the network equipment of the LAN that described terminal accesses;
Creation module 320, if for prestore ID, terminal iidentification, device identification corresponding relation in
Do not comprise the ID that described first terminal mark is corresponding with described first device identification, then create first user mark, and
Identified by described first terminal, described first device identification and described first user mark corresponding add described corresponding relation to
In, and send described first user mark to described terminal;
Sending module 330, if comprise described first terminal mark and described first equipment in described corresponding relation
The first user mark that mark is corresponding, then send described first user mark to described terminal;
Wherein, described first user mark carries out Business Processing based on ID for described terminal.
Optionally, described creation module 320, it is used for:
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first eventually
End identifies and does not comprise described first device identification, then create first user mark.
Optionally, as shown in Figure 4, described device also includes:
First modified module 340, if not comprising described first terminal mark and described the in the described corresponding relation
ID that one device identification is corresponding and comprise the first user mark that described first terminal mark is corresponding with the second device identification
Know, then described second device identification is revised as described first device identification, and sends described first user mark to described terminal
Know.
Optionally, as it is shown in figure 5, described device also includes:
Second modified module 350, if not comprising described first terminal mark and described the in the described corresponding relation
ID that one device identification is corresponding and comprise the first user mark that the second terminal iidentification is corresponding with described first device identification
Know, then described second terminal iidentification is revised as described first terminal mark, and sends described first user mark to described terminal
Know.
Optionally, described first terminal mark includes the MAC address of described terminal, described first equipment
Mark includes the MAC Address of the described network equipment.
In the embodiment of the present invention, terminal can send identity to server and obtain request, and accordingly, server can receive
Identity obtains request, and wherein, identity obtains to carry the first terminal mark of terminal in request and set up terminal and accesses
First device identification of the network equipment of LAN, and then, server can determine whether ID, the terminal mark prestored
Know, whether the corresponding relation of device identification comprises the ID that first terminal mark is corresponding with the first device identification, if
Do not comprise, then server can create first user mark, and by first terminal mark, the first device identification and first user mark
Knowing correspondence to add in corresponding relation, and send first user mark to terminal, if comprised, then server can be directly to end
End sends first user mark, and wherein, first user mark carries out Business Processing based on ID for terminal.So,
Terminal can obtain request by sending identity to server, obtains ID, it is not necessary to user is manually entered ID, from
And, so that server can carry out Business Processing based on ID.
It should be understood that the device of determination ID that above-described embodiment provides is when determining ID, only with
The division of above-mentioned each functional module is illustrated, and in actual application, can distribute above-mentioned functions by not as desired
With functional module complete, the internal structure of server will be divided into different functional modules, with complete described above entirely
Portion or partial function.It addition, the device of the determination ID of above-described embodiment offer is real with the method determining ID
Executing example and belong to same design, it implements process and refers to embodiment of the method, repeats no more here.
Fig. 6 is the structural representation of the server that the embodiment of the present invention provides.This server 1900 can be because of configuration or performance
Different and produce bigger difference, one or more central processing units (central processing can be included
Units, CPU) 1922 (such as, one or more processors) and memorizeies 1932, one or more store application
The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memorizer
1932 and storage medium 1930 can be of short duration storage or persistently store.The program being stored in storage medium 1930 can include one
Individual or more than one module (diagram does not marks), each module can include a series of command operatings in server.More enter
One step ground, central processing unit 1922 could be arranged to communicate with storage medium 1930, performs storage medium on server 1900
A series of command operatings in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
Server 1900 can include memorizer, and one or more than one program, one of them or one
Individual procedure above is stored in memorizer, and is configured to be performed one or by one or more than one processor
Individual procedure above comprises the instruction for carrying out following operation:
Receiving the identity that terminal sends and obtain request, wherein, described identity obtains and carries the of described terminal in request
One terminal iidentification, set up first device identification of the network equipment of the LAN that described terminal accesses;
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first eventually
The ID that end mark is corresponding with described first device identification, then create first user mark, and by described first terminal mark
Know, described first device identification identifies corresponding adding in described corresponding relation with described first user, and sends out to described terminal
Described first user is sent to identify;
If described corresponding relation comprises the first use that described first terminal mark is corresponding with described first device identification
Family identifies, then send described first user mark to described terminal;
Wherein, described first user mark carries out Business Processing based on ID for described terminal.
Optionally, if described prestore ID, terminal iidentification, device identification corresponding relation in do not comprise
The ID that described first terminal mark is corresponding with described first device identification, then create first user mark, including:
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first eventually
End identifies and does not comprise described first device identification, then create first user mark.
Optionally, described method also includes:
If described corresponding relation does not comprise the user that described first terminal mark is corresponding with described first device identification
Mark and the first user comprising described first terminal mark corresponding with the second device identification identify, then by described second equipment mark
Know and be revised as described first device identification, and send described first user mark to described terminal.
Optionally, described method also includes:
If described corresponding relation does not comprise the user that described first terminal mark is corresponding with described first device identification
Identify and comprise the first user mark that the second terminal iidentification is corresponding with described first device identification, then by described second terminal mark
Know and be revised as described first terminal mark, and send described first user mark to described terminal.
Optionally, described first terminal mark includes the MAC address of described terminal, described first equipment
Mark includes the MAC Address of the described network equipment.
In the embodiment of the present invention, terminal can send identity to server and obtain request, and accordingly, server can receive
Identity obtains request, and wherein, identity obtains to carry the first terminal mark of terminal in request and set up terminal and accesses
First device identification of the network equipment of LAN, and then, server can determine whether ID, the terminal mark prestored
Know, whether the corresponding relation of device identification comprises the ID that first terminal mark is corresponding with the first device identification, if
Do not comprise, then server can create first user mark, and by first terminal mark, the first device identification and first user mark
Knowing correspondence to add in corresponding relation, and send first user mark to terminal, if comprised, then server can be directly to end
End sends first user mark, and wherein, first user mark carries out Business Processing based on ID for terminal.So,
Terminal can obtain request by sending identity to server, obtains ID, it is not necessary to user is manually entered ID, from
And, so that server can carry out Business Processing based on ID.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware
Completing, it is also possible to instruct relevant hardware by program and complete, described program can be stored 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 only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (10)
1. the method determining ID, it is characterised in that described method includes:
Receiving the identity that terminal sends and obtain request, wherein, described identity obtains and carries the first of described terminal in request eventually
End identifies, sets up the first device identification of the network equipment of the LAN that described terminal accesses;
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first terminal mark
Know the ID corresponding with described first device identification, then create first user mark, and by described first terminal mark, institute
State the first device identification and identify corresponding adding in described corresponding relation with described first user, and send to described terminal described
First user identifies;
If described corresponding relation comprises the first user mark that described first terminal mark is corresponding with described first device identification
Know, then send described first user mark to described terminal;
Wherein, described first user mark carries out Business Processing based on ID for described terminal.
Method the most according to claim 1, it is characterised in that if described prestore ID, terminal iidentification,
The corresponding relation of device identification does not comprise the ID that described first terminal mark is corresponding with described first device identification, then
Establishment first user identifies, including:
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first terminal mark
Know and do not comprise described first device identification, then create first user mark.
Method the most according to claim 2, it is characterised in that described method also includes:
If described corresponding relation does not comprise the ID that described first terminal mark is corresponding with described first device identification
And comprise the first user mark that described first terminal mark is corresponding with the second device identification, then described second device identification is repaiied
Change described first device identification into, and send described first user mark to described terminal.
Method the most according to claim 2, it is characterised in that described method also includes:
If described corresponding relation does not comprise the ID that described first terminal mark is corresponding with described first device identification
And comprise the first user mark that the second terminal iidentification is corresponding with described first device identification, then described second terminal iidentification is repaiied
Change described first terminal mark into, and send described first user mark to described terminal.
5. according to the method described in any one of claim 1-4, it is characterised in that described first terminal mark includes described terminal
MAC address, described first device identification includes the MAC Address of the described network equipment.
6. the device determining ID, it is characterised in that described device includes:
Receiver module, the identity sent for receiving terminal obtains request, wherein, carries described in the acquisition request of described identity
The first terminal of terminal identifies, sets up the first device identification of the network equipment of the LAN that described terminal accesses;
Creation module, if for prestore ID, terminal iidentification, device identification corresponding relation in do not comprise institute
State the first terminal mark ID corresponding with described first device identification, then create first user and identify, and by described the
One terminal iidentification, described first device identification and described first user identify corresponding adding in described corresponding relation, and to institute
State terminal and send described first user mark;
Sending module, if it is corresponding with described first device identification to comprise described first terminal mark in described corresponding relation
First user mark, then to described terminal send described first user mark;
Wherein, described first user mark carries out Business Processing based on ID for described terminal.
Device the most according to claim 6, it is characterised in that described creation module, is used for:
If the ID prestored, terminal iidentification, device identification corresponding relation in do not comprise described first terminal mark
Know and do not comprise described first device identification, then create first user mark.
Device the most according to claim 7, it is characterised in that described device also includes:
First modified module, if do not comprise described first terminal mark and described first equipment mark in described corresponding relation
Know corresponding ID and comprise the first user mark that described first terminal mark is corresponding with the second device identification, then by institute
State the second device identification and be revised as described first device identification, and send described first user mark to described terminal.
Device the most according to claim 7, it is characterised in that described device also includes:
Second modified module, if do not comprise described first terminal mark and described first equipment mark in described corresponding relation
Know corresponding ID and comprise the first user mark that the second terminal iidentification is corresponding with described first device identification, then by institute
State the second terminal iidentification and be revised as described first terminal mark, and send described first user mark to described terminal.
10. according to the device described in any one of claim 6-9, it is characterised in that described first terminal mark includes described end
The MAC address of end, described first device identification includes the MAC Address of the described network equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610815617.8A CN106254575B (en) | 2016-09-09 | 2016-09-09 | A kind of method and apparatus of determining user identifier |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610815617.8A CN106254575B (en) | 2016-09-09 | 2016-09-09 | A kind of method and apparatus of determining user identifier |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106254575A true CN106254575A (en) | 2016-12-21 |
CN106254575B CN106254575B (en) | 2019-11-05 |
Family
ID=57599501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610815617.8A Active CN106254575B (en) | 2016-09-09 | 2016-09-09 | A kind of method and apparatus of determining user identifier |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254575B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107070654A (en) * | 2017-05-12 | 2017-08-18 | 北京小米移动软件有限公司 | information collecting method and device |
WO2019237538A1 (en) * | 2018-06-11 | 2019-12-19 | 平安科技(深圳)有限公司 | Method for configuring monitoring instance, server, and computer-readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104283843A (en) * | 2013-07-02 | 2015-01-14 | 腾讯科技(深圳)有限公司 | User login method, device and system |
WO2015196755A1 (en) * | 2014-06-27 | 2015-12-30 | 中兴通讯股份有限公司 | Address allocation method in subscriber identifier and locator separation network, and access service router |
CN105337937A (en) * | 2014-07-24 | 2016-02-17 | 小米科技有限责任公司 | Network verification method and device |
-
2016
- 2016-09-09 CN CN201610815617.8A patent/CN106254575B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104283843A (en) * | 2013-07-02 | 2015-01-14 | 腾讯科技(深圳)有限公司 | User login method, device and system |
WO2015196755A1 (en) * | 2014-06-27 | 2015-12-30 | 中兴通讯股份有限公司 | Address allocation method in subscriber identifier and locator separation network, and access service router |
CN105337937A (en) * | 2014-07-24 | 2016-02-17 | 小米科技有限责任公司 | Network verification method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107070654A (en) * | 2017-05-12 | 2017-08-18 | 北京小米移动软件有限公司 | information collecting method and device |
WO2019237538A1 (en) * | 2018-06-11 | 2019-12-19 | 平安科技(深圳)有限公司 | Method for configuring monitoring instance, server, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106254575B (en) | 2019-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106487869B (en) | Multi-cloud network proxy for controlling and standardizing tagged data | |
CN102939579B (en) | The method and apparatus that user bound interface element and granularity reflection process | |
CN106649446B (en) | Information pushing method and device | |
US11283689B2 (en) | Method for managing multiple servers and device employing method | |
WO2017045450A1 (en) | Resource operation processing method and device | |
CN104767767A (en) | Method, device and system for sharing Internet access data and network equipment | |
US20170277526A1 (en) | Software categorization method and electronic device | |
EP3607440A1 (en) | Credential-based proactive discovery of remote micro-services by spreadsheet applications | |
US20070106770A1 (en) | Managing a remote device by a communication element that does not specify an identifier for the management object | |
CN104408118A (en) | Database establishing method and device | |
CN104618388B (en) | Fast registration login method and corresponding resetting server, information server | |
CN110247951A (en) | A kind of file transfer control method, device, equipment and storage medium | |
CN107800781A (en) | A kind of configuration data processing method and device | |
US11882154B2 (en) | Template representation of security resources | |
CN111431818B (en) | Cross-domain request flow distribution method and device, storage medium and computer equipment | |
US10430441B1 (en) | Tagging resources of a remote computing service based on locality | |
KR20230175142A (en) | Method, system, and non-transitory computer readable record medium for controlling device based internet of things using messenger bot | |
CN106302428A (en) | The automatic deployment method of a kind of encryption level and device | |
CN108737371A (en) | Hive data access control methods, server and computer storage media | |
US20160070553A1 (en) | Methods and apparatus for uninstalling a software application | |
CN106254575A (en) | A kind of method and apparatus determining ID | |
CN107423395A (en) | Navigation data processing system | |
CN114675982A (en) | General method and system for acquiring data of service integration system | |
KR100542758B1 (en) | Sobot based on ubiquitous network, system using the sobot, operation method of the system, and transition and transferring method of the sobot | |
CN108667647B (en) | Method and device for setting device parameters and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |