CN106254575B - A kind of method and apparatus of determining user identifier - Google Patents

A kind of method and apparatus of determining user identifier Download PDF

Info

Publication number
CN106254575B
CN106254575B CN201610815617.8A CN201610815617A CN106254575B CN 106254575 B CN106254575 B CN 106254575B CN 201610815617 A CN201610815617 A CN 201610815617A CN 106254575 B CN106254575 B CN 106254575B
Authority
CN
China
Prior art keywords
terminal
user identifier
device identification
mark
corresponding relationship
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.)
Active
Application number
CN201610815617.8A
Other languages
Chinese (zh)
Other versions
CN106254575A (en
Inventor
黄裕佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610815617.8A priority Critical patent/CN106254575B/en
Publication of CN106254575A publication Critical patent/CN106254575A/en
Application granted granted Critical
Publication of CN106254575B publication Critical patent/CN106254575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information 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/84Mapping; Conversion
    • G06F16/88Mark-up to mark-up conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method and apparatus of determining user identifier, belong to electronic technology field.This method comprises: receiving the identity acquisition request that terminal is sent, wherein carry the first device identification of the first terminal mark of the terminal, the network equipment for establishing the local area network that terminal accesses in identity acquisition request;If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include first terminal and identify corresponding with the first device identification user identifier, then create the first user identifier, and first terminal mark, the first device identification and the first user identifier correspondence are added in corresponding relationship, and send the first user identifier to terminal;If identifying the first user identifier corresponding with the first device identification comprising first terminal in corresponding relationship, the first user identifier is sent to terminal.Using the present invention, can enable the server to carry out business processing based on user identifier.

Description

A kind of method and apparatus of determining user identifier
Technical field
The present invention relates to electronic technology field, in particular to a kind of method and apparatus of determining user identifier.
Background technique
With the development of electronic technology, various terminals are widely used, and terminal and server can be with base Business processing is carried out in user name, for example server can meet user's habit to terminal push according to the use habit of user Song etc..
Server is often based on the method that user name carries out business processing: user is by inputting user identifier in terminal (i.e. user name) and password log on to server, and in turn, the user name that terminal can be inputted based on user carries out business processing, Correspondingly, server can carry out business processing (for example, recommending personalized service based on user name) based on user name.For example, Terminal can play song based on user name, correspondingly, server can recorde the song that the user name and terminal plays are crossed Corresponding relationship can be pushed to terminal based on user name in turn and recommend song.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Based on above-mentioned processing mode, for terminal (such as the intelligent sound, intelligent TV set of the input equipments such as no keyboard Deng), user can not carry out the operations such as input user identifier, thus, cause server that can not carry out at business based on user identifier Reason.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides the methods and dress of a kind of determining user identifier It sets.The technical solution is as follows:
In a first aspect, providing a kind of method of determining user identifier, which comprises
Receive the identity acquisition request that terminal is sent, wherein the of the terminal is carried in the identity acquisition request One terminal iidentification, establish terminal access local area network the network equipment the first device identification;
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include it is described first eventually End identifies corresponding with first device identification user identifier, then creates the first user identifier, and by the first terminal mark Know, first device identification and first user identifier correspondence are added in the corresponding relationship, and send out to the terminal Send first user identifier;
If used in the corresponding relationship comprising first terminal mark corresponding with first device identification first Family mark, then send first user identifier to the terminal;
Wherein, first user identifier carries out the business processing based on user identifier for the terminal.
Optionally, if the pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include The first terminal identifies user identifier corresponding with first device identification, then creates the first user identifier, comprising:
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include it is described first eventually End identifies and does not include first device identification, then creates the first user identifier.
Optionally, the method also includes:
If not including the first terminal in the corresponding relationship identifies user corresponding with first device identification It identifies and includes that the first terminal identifies the first user identifier corresponding with the second device identification, then by the second equipment mark Knowledge is revised as first device identification, and sends first user identifier to the terminal.
In this way, when user has replaced the network equipment, user identifier before still can be used, thus, server can be with According to the corresponding use habit of user identifier before, provide personalized service.
Optionally, the method also includes:
If not including the first terminal in the corresponding relationship identifies user corresponding with first device identification It identifies and includes that second terminal identifies the first user identifier corresponding with first device identification, then by the second terminal mark Knowledge is revised as the first terminal mark, and sends first user identifier to the terminal.
In this way, when user has replaced terminal, user identifier before still can be used, thus, server can basis The corresponding use habit of user identifier before, provides personalized service.
5, method according to claim 1-4, which is characterized in that the first terminal mark includes described The MAC address of terminal, first device identification include the MAC Address of the network equipment.
Second aspect, provides a kind of device of determining user identifier, and described device includes:
Receiving module, for receiving the identity acquisition request of terminal transmission, wherein carried in the identity acquisition request The first terminal of the terminal identifies, establishes the first device identification of the network equipment of the local area network of the terminal access;
Creation module, if for pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not wrap Corresponding with first device identification user identifier is identified containing the first terminal, then creates the first user identifier, and by institute First terminal mark, first device identification and first user identifier correspondence is stated to be added in the corresponding relationship, and First user identifier is sent to the terminal;
Sending module, if for including first terminal mark and first device identification in the corresponding relationship Corresponding first user identifier then sends first user identifier to the terminal;
Wherein, first user identifier carries out the business processing based on user identifier for the terminal.
Optionally, the creation module, is used for:
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include it is described first eventually End identifies and does not include first device identification, then creates the first user identifier.
Optionally, described device further include:
First modified module, if set for not including first terminal mark and described first in the corresponding relationship It is standby to identify corresponding user identifier and include that the first terminal identifies the first user identifier corresponding with the second device identification, then Second device identification is revised as first device identification, and sends first user identifier to the terminal.
Optionally, described device further include:
Second modified module, if set for not including first terminal mark and described first in the corresponding relationship It is standby to identify corresponding user identifier and include that second terminal identifies the first user identifier corresponding with first device identification, then Second terminal mark is revised as the first terminal mark, and sends first user identifier to the terminal.
Optionally, the first terminal mark includes the MAC address of the terminal, first equipment Mark includes the MAC Address of the network equipment.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, terminal can send identity acquisition request to server, correspondingly, server can receive Identity acquisition request, wherein the first terminal mark of terminal can be carried in identity acquisition request and establish terminal access Local area network the network equipment the first device identification, in turn, server can determine whether pre-stored user identifier, terminal mark Know, whether comprising first terminal identify user identifier corresponding with the first device identification in the corresponding relationship of device identification, if Do not include, then server can create the first user identifier, and first terminal mark, the first device identification and the first user are marked Know correspondence to be added in corresponding relationship, and send the first user identifier to terminal, if comprising server can be directly to end End sends the first user identifier, wherein the first user identifier carries out the business processing based on user identifier for terminal.In this way, Terminal can be by sending identity acquisition request to server, and acquisition user identifier is manually entered user identifier without user, from And it can enable the server to carry out business processing based on user identifier.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, 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 a kind of method flow diagram of determining user identifier provided in an embodiment of the present invention;
Fig. 2 is a kind of system framework schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram of determining user identifier provided in an embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram of determining user identifier provided in an embodiment of the present invention;
Fig. 5 is a kind of apparatus structure schematic diagram of determining user identifier provided in an embodiment of the present invention;
Fig. 6 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of method of determining user identifier, the executing subject of this method is server.Its In, server can be the background server of determining subscriber identity functions.Transceiver, processing can be set in the server Device, memory, transceiver can be used for sending and receiving data, and processor is determined for first terminal mark and first and sets Standby to identify corresponding user identifier, memory can be used for the data for needing and generating in following treatment processes.The present invention is implemented The method that example provides can be adapted for the scene that intelligent appliance equipment determines user identifier.Method provided in an embodiment of the present invention is more Before using the terminal for the first time suitable for user, in server the case where the not stored terminal iidentification for having the terminal.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as Under:
Step 101, the identity acquisition request that terminal is sent is received, wherein the of terminal is carried in identity acquisition request One terminal iidentification, establish terminal access local area network the network equipment the first device identification;
Wherein, terminal, which can be, has the function of determining user identifier, and has access to the intelligent terminal of local area network, can be with It is intelligent appliance equipment, for example is intelligent TV set etc., the network equipment can be the equipment for establishing the local area network of terminal access, can To be router.
In an implementation, terminal can have the function of determining user identity, can be with when terminal is successfully accessed local area network Identity acquisition request is sent to server by the network equipment, wherein the terminal of terminal can be carried in identity acquisition request It identifies (i.e. first terminal mark), when identity acquisition request passes through the network equipment, the network equipment can be to the identity of terminal transmission The device identification (i.e. the first device identification) of the network equipment is added in acquisition request, is built alternatively, terminal attempts access network device When vertical local area network, the first device identification of the network equipment can be sent to terminal by the network equipment, in such cases, terminal to When server sends identity acquisition request, first terminal mark and the directly can be carried in terminal side in identity acquisition request One device identification.
Correspondingly, server can receive the identity acquisition request of terminal transmission, and it can be parsed, obtain it The first terminal mark of middle carrying and the first device identification, as shown in Figure 2.
Optionally, first terminal mark can be the MAC (Media Access Control, media access control) of terminal Address, the first device identification can be the MAC Address of the network equipment.
Step 102, if pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include the One terminal iidentification and the corresponding user identifier of the first device identification, then create the first user identifier, and by first terminal mark, the One device identification and the first user identifier correspondence are added in corresponding relationship, and send the first user identifier to terminal, wherein the One user identifier carries out the business processing based on user identifier for terminal.
In an implementation, can be previously stored in server user identifier, terminal iidentification, device identification corresponding relationship. 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 It whether include that first terminal identifies user identifier corresponding with the first device identification in relationship, if do not included in corresponding relationship First terminal identifies user identifier corresponding with the first device identification, then server can create the first user identifier, and will First terminal mark, the first device identification and the first user identifier correspondence are added in corresponding relationship, and send first to terminal User identifier, correspondingly, terminal can receive the first user identifier of server transmission, in turn, terminal can be used based on first Family mark carries out business processing.That is, server can be with when terminal sends identity acquisition request to server for the first time For the terminal distribution user identifier, and by the user identifier of distribution, the terminal terminal iidentification, establish the local of terminal access The device identification correspondence of the network equipment of net is added in corresponding relationship, so that the subsequent terminal sends identity to server again When acquisition request, server determines the user identifier of the terminal.
Optionally, server can not only not include first terminal in corresponding relationship and identify but also not include the first device identification In the case where, the first user identifier is created, correspondingly, the treatment process of step 102 can be such that if pre-stored user Mark, terminal iidentification, device identification corresponding relationship in do not include first terminal identify and do not include the first device identification, then create Build the first user identifier.
In an implementation, server gets the first terminal mark and the first device identification carried in identity acquisition request Afterwards, can pre-stored user identifier, terminal iidentification, device identification corresponding relationship in, search first terminal mark, such as Fruit does not find, then can continue to search the first device identification, if not finding the first device identification still, can create The first user identifier is built, and the first user identifier, first terminal mark, the first device identification correspondence are added to corresponding relationship In, wherein can also first search the first device identification, then search first terminal mark (such processing mode can be preferably Processing mode), the embodiment of the present invention is not limited thereof.That is, if pre-stored above-mentioned correspondence in server Do not include first terminal in relationship and identify and do not include the first device identification, then server can create the first user identifier, i.e., If do not include first terminal mark, the corresponding user identifier of the second device identification in pre-stored above-mentioned corresponding relationship, and Not comprising second terminal mark, the corresponding user identifier of the first device identification, then the first user identifier is created, wherein second sets Standby mark is any appliance mark different from the first device identification, and second terminal mark is appointing different from first terminal mark One terminal iidentification.
Optionally, when server storage corresponding relationship in comprising first terminal identify and do not include the first device identification When, the device identification in the corresponding relationship item identified comprising first terminal can be updated, correspondingly, treatment process can be with It is as follows: to identify user identifier corresponding with the first device identification if not including first terminal in corresponding relationship and include first whole End identifies the first user identifier corresponding with the second device identification, then the second device identification is revised as the first device identification, and The first user identifier is sent to terminal.
In an implementation, server gets the first terminal mark and the first device identification carried in identity acquisition request Afterwards, can pre-stored user identifier, terminal iidentification, device identification corresponding relationship in, search first terminal mark, such as Fruit finds first terminal mark, it can be determined that whether the device identification in corresponding relationship item where first terminal mark is with the One device identification is consistent, if the device identification in corresponding relationship item and the first device identification are inconsistent, server can be incited somebody to action Device identification in corresponding relationship item is revised as the first device identification, and the first user mark in corresponding relationship item is sent to terminal Know.That is, if not including first terminal in corresponding relationship identifies user identifier corresponding with the first device identification and packet The first user identifier corresponding with the second device identification is identified containing first terminal, then server can modify the second device identification For the first device identification, and the first user identifier is sent to terminal.In this way, can make to take when user has replaced the network equipment Business device timely updates corresponding corresponding relationship item, and the user can also continue to the user identifier before use.
In addition, the server can be applied to the case where determining the user identifier of same type of terminal, i.e., in server Terminal iidentification in pre-stored corresponding relationship can be the terminal iidentification of same type of terminal, for example, intelligent TV set Identity acquisition request can be sent to the server, intelligent refrigerator can send identity acquisition request to another server, but It is the treatment process of each server is identical.
Optionally, it is identified when comprising the first device identification in the corresponding relationship of server storage and not comprising first terminal When, the device identification in the corresponding relationship item comprising the first device identification can be updated, correspondingly, treatment process can be with It is as follows: to identify user identifier corresponding with the first device identification if not including first terminal in corresponding relationship and include second whole End identifies the first user identifier corresponding with the first device identification, then second terminal mark is revised as first terminal mark, and The first user identifier is sent to terminal.
In an implementation, server gets the first terminal mark and the first device identification carried in identity acquisition request Afterwards, can pre-stored user identifier, terminal iidentification, device identification corresponding relationship in, search first terminal mark, such as Fruit does not find first terminal mark, then can continue to search the first device identification, if finding the first device identification, take Terminal iidentification in corresponding relationship item where first device identification can be revised as first terminal mark by business device, and to terminal Send the first user identifier in corresponding relationship item.That is, if not including first terminal mark and the in corresponding relationship The corresponding user identifier of one device identification and include that second terminal identifies corresponding with the first device identification the first user identifier, then Second terminal mark is revised as first terminal mark, and sends the first user identifier to terminal.In this way, when user has replaced end When end, server can be made to timely update corresponding corresponding relationship item, and the user can also continue to the user before use Mark.
Step 103, if identifying the first user mark corresponding with the first device identification comprising first terminal in corresponding relationship Know, then send the first user identifier to terminal, wherein the first user identifier carries out at the business based on user identifier for terminal Reason.
In an implementation, server gets the first terminal mark and the first device identification carried in identity acquisition request Afterwards, it can be determined that pre-stored user identifier, terminal iidentification, device identification corresponding relationship in, if include first terminal User identifier corresponding with the first device identification is identified, if comprising server can identify first terminal and first sets Terminal is sent to for corresponding first user identifier is identified.
In addition, identity is also provided in terminal obtains key, it, can be with when user needs terminal to obtain user identifier The identity clicked in terminal obtains key, at this point, will triggering terminal receive identity acquisition instruction, in turn, terminal can be to Server sends identity acquisition request.In such cases, when user uses the terminal or replaced the network equipment for the first time, User can click the identity in terminal and obtain key, so that server creation first terminal mark is corresponding with the first device identification User identifier, or update the corresponding relationship item comprising first terminal mark or the first device identification, terminal gets first It after user identifier, can be stored, so that subsequent terminal can first user identifier progress business processing.
In addition, the trigger event of the corresponding user identifier of terminal iidentification of creation terminal can also be previously provided in terminal (for example being to double-click identity to obtain key), when user, which double-clicks identity, obtains key, it will triggering terminal sends body to server Part request to create, wherein the first terminal mark of terminal can be carried in identity request to create and the first of the network equipment sets Standby mark, correspondingly, server can receive identity request to create, and parses it, obtains first wherein carried eventually End mark and the first device identification, and create first terminal and identify the first user identifier corresponding with the first device identification, and will Three carries out corresponding storage.
In the embodiment of the present invention, terminal can send identity acquisition request to server, correspondingly, server can receive Identity acquisition request, wherein the first terminal mark of terminal can be carried in identity acquisition request and establish terminal access Local area network the network equipment the first device identification, in turn, server can determine whether pre-stored user identifier, terminal mark Know, whether comprising first terminal identify user identifier corresponding with the first device identification in the corresponding relationship of device identification, if Do not include, then server can create the first user identifier, and first terminal mark, the first device identification and the first user are marked Know correspondence to be added in corresponding relationship, and send the first user identifier to terminal, if comprising server can be directly to end End sends the first user identifier, wherein the first user identifier carries out the business processing based on user identifier for terminal.In this way, Terminal can be by sending identity acquisition request to server, and acquisition user identifier is manually entered user identifier without user, from And it can enable the server to carry out business processing based on user identifier.
Based on the same technical idea, the embodiment of the invention also provides a kind of devices of determining user identifier, such as Fig. 3 institute Show, which includes:
Receiving module 310, for receiving the identity acquisition request of terminal transmission, wherein taken in the identity acquisition request First terminal with the terminal identifies, establishes the first device identification of the network equipment of the local area network of the terminal access;
Creation module 320, if for pre-stored user identifier, terminal iidentification, device identification corresponding relationship in User identifier corresponding with first device identification is identified not comprising the first terminal, then creates the first user identifier, and First terminal mark, first device identification and first user identifier correspondence are added to the corresponding relationship In, and first user identifier is sent to the terminal;
Sending module 330, if for including first terminal mark and first equipment in the corresponding relationship Corresponding first user identifier is identified, then sends first user identifier to the terminal;
Wherein, first user identifier carries out the business processing based on user identifier for the terminal.
Optionally, the creation module 320, is used for:
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include it is described first eventually End identifies and does not include first device identification, then creates the first user identifier.
Optionally, as shown in figure 4, described device further include:
First modified module 340, if for not including first terminal mark and described the in the corresponding relationship The corresponding user identifier of one device identification and include that the first terminal identifies the first user corresponding with the second device identification and marks Know, then second device identification is revised as first device identification, and send the first user mark to the terminal Know.
Optionally, as shown in figure 5, described device further include:
Second modified module 350, if for not including first terminal mark and described the in the corresponding relationship The corresponding user identifier of one device identification and include that second terminal identifies corresponding with first device identification the first user and marks Know, then second terminal mark is revised as the first terminal and identified, and sends the first user mark to the terminal Know.
Optionally, the first terminal mark includes the MAC address of the terminal, first equipment Mark includes the MAC Address of the network equipment.
In the embodiment of the present invention, terminal can send identity acquisition request to server, correspondingly, server can receive Identity acquisition request, wherein the first terminal mark of terminal can be carried in identity acquisition request and establish terminal access Local area network the network equipment the first device identification, in turn, server can determine whether pre-stored user identifier, terminal mark Know, whether comprising first terminal identify user identifier corresponding with the first device identification in the corresponding relationship of device identification, if Do not include, then server can create the first user identifier, and first terminal mark, the first device identification and the first user are marked Know correspondence to be added in corresponding relationship, and send the first user identifier to terminal, if comprising server can be directly to end End sends the first user identifier, wherein the first user identifier carries out the business processing based on user identifier for terminal.In this way, Terminal can be by sending identity acquisition request to server, and acquisition user identifier is manually entered user identifier without user, from And it can enable the server to carry out business processing based on user identifier.
It should be understood that the device of determining user identifier provided by the above embodiment is when determining user identifier, only with The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not Same functional module is completed, i.e., the internal structure of server is divided into different functional modules, described above complete to complete Portion or partial function.In addition, the method for the device of determining user identifier provided by the above embodiment and determining user identifier is real It applies example and belongs to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Fig. 6 is the structural schematic diagram of server provided in an embodiment of the present invention.The server 1900 can be because of configuration or performance It is different and generate bigger difference, it may include one or more central processing units (central processing Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into One step, central processing unit 1922 can be set to communicate with storage medium 1930, execute storage medium on server 1900 Series of instructions operation 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 may include have memory and one perhaps more than one program one of them or one A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor A procedure above includes the instruction for performing the following operation:
Receive the identity acquisition request that terminal is sent, wherein the of the terminal is carried in the identity acquisition request One terminal iidentification, establish terminal access local area network the network equipment the first device identification;
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include it is described first eventually End identifies corresponding with first device identification user identifier, then creates the first user identifier, and by the first terminal mark Know, first device identification and first user identifier correspondence are added in the corresponding relationship, and send out to the terminal Send first user identifier;
If used in the corresponding relationship comprising first terminal mark corresponding with first device identification first Family mark, then send first user identifier to the terminal;
Wherein, first user identifier carries out the business processing based on user identifier for the terminal.
Optionally, if the pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include The first terminal identifies user identifier corresponding with first device identification, then creates the first user identifier, comprising:
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include it is described first eventually End identifies and does not include first device identification, then creates the first user identifier.
Optionally, the method also includes:
If not including the first terminal in the corresponding relationship identifies user corresponding with first device identification It identifies and includes that the first terminal identifies the first user identifier corresponding with the second device identification, then by the second equipment mark Knowledge is revised as first device identification, and sends first user identifier to the terminal.
Optionally, the method also includes:
If not including the first terminal in the corresponding relationship identifies user corresponding with first device identification It identifies and includes that second terminal identifies the first user identifier corresponding with first device identification, then by the second terminal mark Knowledge is revised as the first terminal mark, and sends first user identifier to the terminal.
Optionally, the first terminal mark includes the MAC address of the terminal, first equipment Mark includes the MAC Address of the network equipment.
In the embodiment of the present invention, terminal can send identity acquisition request to server, correspondingly, server can receive Identity acquisition request, wherein the first terminal mark of terminal can be carried in identity acquisition request and establish terminal access Local area network the network equipment the first device identification, in turn, server can determine whether pre-stored user identifier, terminal mark Know, whether comprising first terminal identify user identifier corresponding with the first device identification in the corresponding relationship of device identification, if Do not include, then server can create the first user identifier, and first terminal mark, the first device identification and the first user are marked Know correspondence to be added in corresponding relationship, and send the first user identifier to terminal, if comprising server can be directly to end End sends the first user identifier, wherein the first user identifier carries out the business processing based on user identifier for terminal.In this way, Terminal can be by sending identity acquisition request to server, and acquisition user identifier is manually entered user identifier without user, from And it can enable the server to carry out business processing based on user identifier.
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 presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of method of determining user identifier, which is characterized in that the described method includes:
Receive the identity acquisition request that terminal is sent, wherein first that the terminal is carried in the identity acquisition request is whole End identifies, establishes the first device identification of the network equipment of the local area network of the terminal access;
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include the first terminal mark Know user identifier corresponding with first device identification, then create the first user identifier, and the first terminal is identified, institute It states the first device identification and first user identifier correspondence is added in the corresponding relationship, and to described in terminal transmission First user identifier;
If identifying the first user mark corresponding with first device identification comprising the first terminal in the corresponding relationship Know, then sends first user identifier to the terminal;
Wherein, first user identifier carries out the business processing based on user identifier for the terminal,
If the pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include it is described first eventually End identifies user identifier corresponding with first device identification, then creates the first user identifier, comprising:
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include the first terminal mark Know and do not include first device identification, then creates the first user identifier,
The method also includes:
If not including the first terminal in the corresponding relationship identifies user identifier corresponding with first device identification And include that second terminal identifies the first user identifier corresponding with first device identification, then second terminal mark is repaired It is changed to the first terminal mark, and sends first user identifier to the terminal,
Wherein, the network equipment is router.
2. the method according to claim 1, wherein the method also includes:
If not including the first terminal in the corresponding relationship identifies user identifier corresponding with first device identification And include that the first terminal identifies the first user identifier corresponding with the second device identification, then second device identification is repaired It is changed to first device identification, and sends first user identifier to the terminal.
3. -2 described in any item methods according to claim 1, which is characterized in that the first terminal mark includes the terminal MAC address, first device identification includes the MAC Address of the network equipment.
4. a kind of device of determining user identifier, which is characterized in that described device includes:
Receiving module, for receiving the identity acquisition request of terminal transmission, wherein carried in the identity acquisition request described The first terminal of terminal identifies, establishes the first device identification of the network equipment of the local area network of the terminal access;
Creation module, if for pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include institute It states first terminal and identifies corresponding with first device identification user identifier, then create the first user identifier, and by described the One terminal iidentification, first device identification and first user identifier correspondence are added in the corresponding relationship, and to institute It states terminal and sends first user identifier;
Sending module, if corresponding with first device identification for being identified in the corresponding relationship comprising the first terminal The first user identifier, then send first user identifier to the terminal;
Wherein, first user identifier carries out the business processing based on user identifier for the terminal,
The creation module, is used for:
If pre-stored user identifier, terminal iidentification, device identification corresponding relationship in do not include the first terminal mark Know and do not include first device identification, then creates the first user identifier,
Second modified module, if for not including first terminal mark and the first equipment mark in the corresponding relationship Know corresponding user identifier and include that second terminal identifies the first user identifier corresponding with first device identification, then by institute It states second terminal mark and is revised as the first terminal mark, and send first user identifier to the terminal,
Wherein, the network equipment is router.
5. device according to claim 4, which is characterized in that described device further include:
First modified module, if for not including first terminal mark and the first equipment mark in the corresponding relationship Know corresponding user identifier and include that the first terminal identifies the first user identifier corresponding with the second device identification, then by institute It states the second device identification and is revised as first device identification, and send first user identifier to the terminal.
6. according to the described in any item devices of claim 4-5, which is characterized in that the first terminal mark includes the terminal MAC address, first device identification includes the MAC Address of the network equipment.
CN201610815617.8A 2016-09-09 2016-09-09 A kind of method and apparatus of determining user identifier Active CN106254575B (en)

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 CN106254575A (en) 2016-12-21
CN106254575B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070654B (en) * 2017-05-12 2020-11-27 北京小米移动软件有限公司 Information acquisition method and device
CN109032655B (en) * 2018-06-11 2021-10-29 平安科技(深圳)有限公司 Configuration method of monitoring instance, server and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106254575A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN103915095B (en) The method of speech recognition, interactive device, server and system
CN103825895B (en) A kind of information processing method and electronic equipment
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
CN110943961A (en) Data processing method, device and storage medium
US10833937B2 (en) Detect impact of network maintenance in software defined infrastructure
JP2019513246A (en) Training method of random forest model, electronic device and storage medium
CN106649446B (en) Information pushing method and device
CN110830234B (en) User traffic distribution method and device
US10599402B2 (en) Techniques to configure a web-based application for bot configuration
CN106453216A (en) Malicious website interception method, malicious website interception device and client
US20230409837A1 (en) Systems and methods for a virtual agent in a cloud computing environment
CN104618388B (en) Fast registration login method and corresponding resetting server, information server
CN106528289A (en) Resource operation processing method and apparatus
CN112468409A (en) Access control method, device, computer equipment and storage medium
CN113064583A (en) Multi-level page routing skip method and device, computer equipment and storage medium
CN105677882B (en) A kind of method and apparatus showing comment information
CN106488534A (en) Obtain the method and system of Network Access Point
CN111047434B (en) Operation record generation method and device, computer equipment and storage medium
CN106254575B (en) A kind of method and apparatus of determining user identifier
CN110995489B (en) Large data platform server management method, device, server and storage medium
WO2014169498A1 (en) Method and system for third-party service platform login
CN105279157B (en) A kind of method and apparatus of canonical inquiry
US20220342742A1 (en) Graphical management of big data pipelines
CN109725931A (en) A kind of jenkins construction method and device
CN108737350B (en) Information processing method and client

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