CN105471886A - User identification method and device - Google Patents

User identification method and device Download PDF

Info

Publication number
CN105471886A
CN105471886A CN201510979826.1A CN201510979826A CN105471886A CN 105471886 A CN105471886 A CN 105471886A CN 201510979826 A CN201510979826 A CN 201510979826A CN 105471886 A CN105471886 A CN 105471886A
Authority
CN
China
Prior art keywords
designated pictures
user identity
appointed area
color value
pictures
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.)
Pending
Application number
CN201510979826.1A
Other languages
Chinese (zh)
Inventor
贾宏超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201510979826.1A priority Critical patent/CN105471886A/en
Publication of CN105471886A publication Critical patent/CN105471886A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/107Network architectures or network communication protocols for network security for controlling access to devices or network resources wherein the security policies are location-dependent, e.g. entities privileges depend on current location or allowing specific operations only from locally connected terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a user identification method and device. The method of a user terminal side comprises the following steps: judging whether a specific picture is loaded on a webpage or not, sending the specific picture to a local cache of the user terminal by a website server and reading the specific picture from the local cache by a browser when the page is required to be displayed, wherein the specific picture carries a user identifier; and if judging that the specific picture is loaded on the page, reading the user identifier from a specific area of the specific picture for user identification. The invention further provides a user identification method of a server side. With the adoption of the scheme, the purpose of accurate user identification can be realized conveniently.

Description

A kind of method for identifying ID and device
Technical field
The present invention relates to data processing field, particularly, relate to a kind of method for identifying ID and device.
Background technology
Cookie (sometimes also with its plural form cookies), refers to that some website is in order to distinguish user identity, carry out session (session control) tracking etc., is stored in the data on user local terminal.The most typical application of cookie is exactly when user's Website login, automatically identifies user identity; Or website can also utilize cookie to follow the tracks of the custom of statistic of user accessing website, for user provides personalized service.
Usually, for the consideration of secret protection, some user can forbid cookie, causes website when user logs in, cannot carry out user identity identification by cookie.Be directed to this, mostly adopt IP address to identify user identity in conjunction with the mode of browser feature at present, wherein, browser feature can be browser version, screen resolution etc.But which is when IP address changes, and identification error is larger.
For example, for user A, an IP address and the first browser feature can be passed through in website, identification is carried out to user A, if user A use dial up on the telephone, and upper once dial time, the 2nd IP address is assigned with to user A, now, user A, by the 2nd IP address and the first browser feature, can not correctly be identified in website.In addition, if there is user B, and when dialling up on the telephone by the first IP address assignment user B, if user B has the browser feature identical with user A, now, user B, by an IP address and the first browser, can be identified as user A by website.
Summary of the invention
The object of this invention is to provide a kind of method for identifying ID and device, in order to when user forbids cookie, accurately identify user identity.
Embodiments provide a kind of method for identifying ID of subscriber terminal side, described method comprises: judge whether Website page is loaded with designated pictures, described designated pictures is sent to user terminal local cache by the server of described website, and read from described local cache by browser when the described page shown by needs, carry User Identity in described designated pictures; If it is determined that the described page is loaded with described designated pictures, then from the appointed area of described designated pictures, read User Identity, carry out user identity identification.
Alternatively, describedly judge whether Website page is loaded with designated pictures, comprising: the event judging whether to monitor the representation page loaded that described browser triggers, if monitor described event, then judges the described page is loaded with described designated pictures.
Alternatively, describedly from the appointed area of described designated pictures, read User Identity, comprising: read the positional information write in the fixed area of described designated pictures; Determine described appointed area according to described positional information, and obtain described User Identity from described appointed area.
Alternatively, describedly from the appointed area of described designated pictures, read User Identity, comprising: the color value reading the pixel at described appointed area place, is converted to binary data by described color value, obtains described User Identity.
Alternatively, the mode that described user terminal preserves described designated pictures is: send access request to described server, described access request comprises the identify label of described designated pictures; Receive the access response that described server returns, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures; Preserve described designated pictures and described status indicator at described user terminal local cache.
Embodiments provide a kind of method for identifying ID of server side, described method comprises: receive the access request that user terminal sends, described access request comprises the identify label of designated pictures; According to the identify label of described designated pictures, obtain original designated pictures; The User Identity generated is write the appointed area of described original designated pictures, obtain described designated pictures; Send access response to described user terminal, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures.
Alternatively, described appointed area immobilizes, and the described appointed area User Identity generated being write described original designated pictures, obtains described designated pictures, comprising: described User Identity is converted to pixel color value; The pixel color value utilizing conversion to obtain, covers the color value of described appointed area place pixel, obtains described designated pictures.
Alternatively, described appointed area is variable, the described appointed area User Identity generated being write described original designated pictures, obtain described designated pictures, comprise: described User Identity is converted to pixel color value, and obtain the color value of each pixel in described original designated pictures; From described original designated pictures, determine described appointed area, the pixel color value that the color value of described appointed area place pixel and the conversion of described User Identity obtain is closest; The pixel color value utilizing described conversion to obtain, covers the color value of described appointed area place pixel; Obtain the positional information of described appointed area, write in the fixed area of described original designated pictures, obtain described designated pictures.
Embodiments provide a kind of user identity identification device of subscriber terminal side, described device comprises: judging unit, for judging whether Website page is loaded with designated pictures, described designated pictures is sent to user terminal local cache by the server of described website, and read from described local cache by browser when the described page shown by needs, carry User Identity in described designated pictures; Reading unit, during for judging the described page is loaded with described designated pictures at described judging unit, reading User Identity, carrying out user identity identification from the appointed area of described designated pictures.
Alternatively, described judging unit, specifically for judging whether the event monitoring the representation page loaded that described browser triggers, if monitor described event, then judges the described page is loaded with described designated pictures.
Alternatively, described reading unit, specifically for reading the positional information write in the fixed area of described designated pictures; Determine described appointed area according to described positional information, and obtain described User Identity from described appointed area.
Alternatively, described reading unit, specifically for reading the color value of the pixel at described appointed area place, being converted to binary data by described color value, obtaining described User Identity.
Alternatively, described device also comprises: request transmitting unit, and for sending access request to described server, described access request comprises the identify label of described designated pictures; Response receiving element, for receiving the access response that described server returns, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures; Storage unit, for preserving described designated pictures and described status indicator at described user terminal local cache.
Embodiments provide a kind of user identity identification device of server side, described device comprises: access request receiving element, and for receiving the access request that user terminal sends, described access request comprises the identify label of designated pictures; Original image obtains unit, for the identify label according to described designated pictures, obtains original designated pictures; Designated pictures obtains unit, and the User Identity for generating writes the appointed area of described original designated pictures, obtains described designated pictures; Access response transmitting element, for sending access response to described user terminal, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures.
Alternatively, described appointed area immobilizes, and described designated pictures obtains unit, specifically for described User Identity is converted to pixel color value; The pixel color value utilizing conversion to obtain, covers the color value of described appointed area place pixel, obtains described designated pictures.
Alternatively, described appointed area is variable, and described designated pictures obtains unit and comprises: color value converting unit, for described User Identity is converted to pixel color value, and obtains the color value of each pixel in described original designated pictures; Appointed area determining unit, for determining described appointed area from described original designated pictures, the pixel color value that the color value of described appointed area place pixel and the conversion of described User Identity obtain is closest; Capping unit, for the pixel color value utilizing described conversion to obtain, covers the color value of described appointed area place pixel; Positional information writing unit, for obtaining the positional information of described appointed area, writing in the fixed area of described original designated pictures, obtaining described designated pictures.
In technical solution of the present invention, user first access websites time, Website server is that user generates unique User Identity, and is write by this User Identity in the appointed area of original designated pictures, obtain designated pictures; Meanwhile, server also arranges one and represents the status indicator that designated pictures is permanently effective, then designated pictures and status indicator are sent to user terminal local cache.Corresponding to this, user again access websites time, user terminal just after determining Website page to be loaded with designated pictures, can read User Identity from designated pictures.So, contribute to realizing the object that the present invention accurately carries out user identity identification.
Other features and advantages of the present invention are described in detail in embodiment part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, is used from explanation the present invention, but is not construed as limiting the invention with embodiment one below.In the accompanying drawings:
Fig. 1 is the flow chart of the method for identifying ID of server side of the present invention;
Fig. 2 is a kind of flow chart obtaining the method for designated pictures in the present invention;
Fig. 3 is the another kind of flow chart obtaining the method for designated pictures in the present invention;
Fig. 4 is the flow chart of the family personal identification method of subscriber terminal side of the present invention;
Fig. 5 is the structural representation of the user identity identification device of server side of the present invention;
Fig. 6 is the structural representation of the user identity identification device of subscriber terminal side of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.Should be understood that, embodiment described herein, only for instruction and explanation of the present invention, is not limited to the present invention.
Before introducing the present invention program, first description below explanation is done to the principle that realizes of the present invention program.
HTML (Hypertext Markup Language) (English: HyperTextTransferProtocol, be called for short: HTTP) be a kind of procotol that the Internet is most widely used.Http protocol is a kind of typical request-response protocol, and that is, user can send resource request by browser to server, and server then can respond this request.Particularly, response contents main body and head response (ResponseHeader) can be comprised in the response that server returns.
Usually, in order to improve response speed, browser can by content cachings such as some requested picture, files in this locality.For example, for the pictures A that webpage is shown, browser can send resource request to server, after obtaining picture A, picture A is buffered in this locality.Like this, browser next time to server request picture A time, server can judge that whether picture A after request, renewal occurred in last time, if picture A is updated, the picture A after upgrading, then by response, is sent to browser by server; If picture A does not upgrade, server is then by response, and return 304 conditional codes representing that resource is unmodified to browser, corresponding to this, the picture A of local cache just can be presented to user by browser.With return compared with picture A to browser, transmission state code just can reduce transmitted data on network, contributes to improving response speed.
In conjunction with the feature of above-mentioned HTTP agreement, namely, user terminal can the resource that provides of caching server, the present invention program, the static resource that a renewal frequency is very low is selected the page can shown from website, as the logo picture of website homepage, this static resource is set to permanently effective, so, user first access websites time, the User Identity that just can will generate for this user, write above-mentioned static resource and feed back to user terminal and preserve, that is, carry the static resource of User Identity, can as the object of the present invention program's user identity identification.Corresponding to this, when user's access websites next time, browser identify this static resource be permanently effective after, just can directly read from local cache and be loaded on Website page, like this, just by identifying the User Identity carried in static resource, realizing the present invention when user forbids cookie, accurately identifying the object of user identity.
See Fig. 1, show the flow chart of the method for identifying ID of server side of the present invention, can comprise:
S101, receive the access request that user terminal sends, described access request comprises the identify label of designated pictures.
Usually, when user's Website login, in order to the complete page representing website to user, user terminal can send access request to Website server, so that the resource in load page.Such as, can return to by website the JavaScript script that the page of user terminal browser runs, send access request to server.
Particularly, this step, for the access request of designated pictures, can be sent to server by user terminal during resource in load page mentioned above; Or also can be sent to server when user triggers some predeterminable event by user terminal, if predeterminable event is click event, the embodiment of the present invention can be not specifically limited this.
In addition, when practical application, can chosen in advance using any pictures on the page as designated pictures, so, user terminal just when needed, can send the access request that comprise this designated pictures identify label to server.For example, the form of designated pictures can be png, gif etc., designated pictures identify label can be that URL is (English: UniformResoureLocator, Chinese: URL(uniform resource locator)) etc. can carry out uniquely identified information to designated pictures, the concrete manifestation form etc. of the embodiment of the present invention to picture format, identify label can be not specifically limited.
For example, in the present invention program, designated pictures can be the picture that on the page, arbitrary renewal frequency is low, as the logo picture of website homepage; Or, designated pictures also can be generate not easily by the specific pictures that user realizes, as transparent picture.Particularly, in order to reduce that the page loads specific pictures as far as possible, on the impact that webpage representation effect causes, specific pictures can be arranged on position that the page not easily checked by user, or, also can reduce the impact of specific pictures on page effect by the DIV that the page is arranged (English: DIVision, Chinese: the position of cascading style table unit and level) layer, as specific pictures being arranged on DIV layer position, and blocked by DIV layer.
S102, according to the identify label of described designated pictures, obtains original designated pictures.
After server receives access request, just can utilize the designated pictures identify label of carrying in access request, obtain original designated pictures.Particularly, server can judge whether in book server, find the picture with described identify label, if so, then the picture found is defined as original designated pictures; If not, then a pictures can be built as original designated pictures.
S103, writes the appointed area of described original designated pictures, obtains described designated pictures by the User Identity generated.
Server obtains original designated pictures, and for after user generates unique user identity mark, just User Identity can be write in original designated pictures, obtaining can as the designated pictures of user identity identification object in the present invention program.Wherein, a string random code that User Identity can generate for server, the constituted mode, length etc. of the present invention to random code can be not specifically limited.
Particularly, the present invention program provides the scheme that two kinds obtain designated pictures, Fig. 2 and Fig. 3 place that can vide infra to this is introduced, and wouldn't describe in detail herein.
S104, send access response to described user terminal, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures.
From realizing introducing of principle to the present invention program above, in order to can user next time access websites time, accurately carry out user identity identification, the status indicator that one represents designated pictures validity also should be set, like this, when user's access websites next time, user terminal just can read this permanently effective designated pictures from local cache, be loaded on the page, and then from this designated pictures, obtain User Identity again, realize the object of user identity identification of the present invention.As a kind of example, status indicator can write-access response head response in.
In conjunction with practical application, the present invention program at least obtains designated pictures by following two kinds of modes.
Scheme one, when appointed area immobilizes, obtains the scheme of designated pictures, specifically can flow chart shown in Figure 2, can comprise:
S201, is converted to pixel color value by described User Identity;
S202, the pixel color value utilizing conversion to obtain, covers the color value of described appointed area place pixel, obtains described designated pictures.
For example, User Identity of the present invention can be String type, first the User Identity of String type can be converted to binary format, and then be converted to pixel color value again, as be converted to the color value under rgb color pattern.
Such as, getBytes (" UTF-8 ") can be passed through, User Identity is converted to UTF-8 (English: 8-bitUnicodeTransformationFormat, also known as ten thousand country codes) byte arrays under coded format, realize the object User Identity of String type being converted to binary format above.
Such as, if under rgb color pattern, each Color Channel represents color value by 8 color depths, namely in R, G, B tri-Color Channels, the span of often kind of color is 0 to 255, then whether there is sign bit according to binary system byte, binary data is converted to pixel color value above and can be presented as following two kinds of examples.What is called has sign bit to can be understood as in binary data, and be provided with one and be exclusively used in the bit representing that data are positive and negative, represent when this bit is 1 that data are negative, represent when this bit is 0 that data are positive number, usually, sign bit is arranged on the highest order of byte.
Example one, the byte in byte arrays is without sign bit, and namely the span of each byte is 0 to 255, and so, the binary data be converted to by User Identity can directly as color value.
Example two, byte in byte arrays has sign bit, namely the span of each byte is-128 to 127, so, each byte in array and int type numeral 0xFF can be carried out AND operation bit-by-bit, be converted to the int type numeral of this byte in 0 to 255 scope, namely the int type numeral that this is converted to can be used as the color value of the single channel of 8 color depth RGB.
Only by a concrete example above, the explanation explanation that process User Identity being write designated pictures to the present invention is carried out.In application process, can in conjunction with embody rule situation, take adaptive scheme to realize the conversion of User Identity to pixel color value, the embodiment of the present invention can be not specifically limited this.
Because appointed area immobilizes in this programme, therefore after conversion obtains pixel color value, just this color value can be utilized to cover original color value of pixel in appointed area, realize said object User Identity being write appointed area of the present invention, thus obtain the designated pictures of carrying User Identity in the present invention program.
In addition, it should be noted that, when User Identity being converted to the color value under rgb color pattern, in order to reduce the pixel number shared by write User Identity as far as possible, R, G, B and transparency four passages can be utilized, represent User Identity.Or, the passage portion in four passages also can be utilized to represent User Identity, so can avoid occurring color change in picture as far as possible, reduce the impact that write User Identity produces picture.
Scheme two, when appointed area is variable, obtains the scheme of designated pictures, specifically can flow chart shown in Figure 3, can comprise:
S301, is converted to pixel color value by described User Identity, and obtains the color value of each pixel in described original designated pictures;
S302, determines described appointed area from described original designated pictures, and the pixel color value that the color value of described appointed area place pixel and the conversion of described User Identity obtain is closest;
S303, the pixel color value utilizing described conversion to obtain, covers the color value of described appointed area place pixel;
S304, obtains the positional information of described appointed area, writes in the fixed area of described original designated pictures, obtains described designated pictures.
Because server generates the randomness of User Identity, after User Identity may be caused to write original designated pictures, there is uncertain change in picture, as there is obvious spot in picture.Corresponding to this, this programme can pass through picture Processing Technique, finds out the region that a pixel color value be converted to User Identity is the most close, as appointed area in original designated pictures.Like this, the visual impact that write User Identity causes picture can be reduced as far as possible.
Particularly, two regions in the original designated pictures of this programme, can be comprised: one is variable appointed area, for writing User Identity; One is constant fixed area, for writing the positional information of appointed area.Usually, positional information wants shorter compared with User Identity, needs the pixel that takies just few during write picture, and write compared with User Identity in constant region, in constant region writing position information, less on the impact of picture generation.
See Fig. 4, show the flow chart of the family personal identification method of subscriber terminal side of the present invention, can comprise:
S401, judge whether Website page is loaded with designated pictures, described designated pictures is sent to user terminal local cache by the server of described website, and is read from described local cache by browser when the described page shown by needs, carries User Identity in described designated pictures.
After server feeds back designated pictures according to scheme shown in Fig. 1 to user terminal, user terminal can be kept in local cache, like this, user again access websites time, browser can read local cache, and judging that the conditional code of designated pictures is as time permanently effective, is carried in designated pictures on the page and shows, for follow-up user identity identification of carrying out carries out technique preparation.
Corresponding to above-mentioned picture loading procedure, before needs carry out user identity identification, first can judge whether the page is loaded with designated pictures, if so, then designated pictures can be utilized to carry out user identity identification; If not, then after can waiting for that designated pictures has loaded, recycling designated pictures carries out user identity identification.
Particularly, the event monitoring the representation page loaded that browser triggers can be judged whether, if monitor described event, then judge the page is loaded with designated pictures.Usually, after the loading completing picture on the page, browser can trigger an event, and whether the present invention program just by monitoring this event to judge designated pictures loaded.Or, also can according to certain cycle, the tentative information reading designated pictures from the page, if the information reading less than designated pictures, just illustrates designated pictures also non-loaded, can wait for that next cycle continues to attempt reading; If read the information of designated pictures, just designated pictures loaded is described.The embodiment of the present invention is to judging that the mode whether Website page being loaded with designated pictures can be not specifically limited.
In addition, with scheme shown in Fig. 1 is corresponding above, user terminal can preserve designated pictures in the following manner: send access request to described server, described access request comprises the identify label of described designated pictures.Receive the access response that described server returns, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures.Preserve described designated pictures and described status indicator at described user terminal local cache.Detailed process can refer to Fig. 1 place above and introduces, and repeats no more herein.
S402, if it is determined that the described page is loaded with described designated pictures, then reads User Identity, carries out user identity identification from the appointed area of described designated pictures.
When S401 judges the page is loaded with designated pictures, just can read out User Identity from designated pictures, realize the object of the present invention program's user identity identification.In addition, server is that the User Identity that user generates has uniqueness, therefore when utilizing this User Identity to carry out identification, also can ensure the accuracy of identification of the present invention.
Particularly, from the appointed area of designated pictures, read User Identity can comprise: the color value reading the pixel of described appointed area, and described color value is converted to binary data, obtains described User Identity.This process can be considered that Fig. 2 place is converted to the inverse process of pixel color value from User Identity above, specific implementation can refer to above introduce, be no longer illustrated herein.
Particularly, if server adopts scheme shown in Fig. 2 to obtain designated pictures, that is, user terminal and server know the position of appointed area in advance, and appointed area immobilizes.Corresponding to this, user terminal directly can obtain the color value of the pixel being positioned at appointed area scope, and the color value of obtained pixel is converted to User Identity.
Particularly, if server adopts scheme shown in Fig. 3 to obtain designated pictures, that is, user terminal and server know the position of fixed area in advance, and appointed area is variable.Corresponding to this, user terminal can read the positional information write in fixed area, and determines appointed area according to positional information, and then obtains the color value being positioned at the pixel of appointed area scope, is converted to User Identity.
Alternatively, scheme shown in Fig. 4 of the present invention, can return to the JavaScript script realization in the page of browser by being embedded in website.
Alternatively, the present invention program can be fully utilized and cookie carries out user identity identification.Particularly, when user's access websites, first can judge whether user forbids cookie, if do not forbidden, then carry out user identity identification by cookie; If forbidding, then carry out user identity identification by the designated pictures of the present invention program.
Corresponding with method shown in Fig. 1, the embodiment of the present invention also provides a kind of user identity identification device 500 of server side, schematic diagram shown in Figure 5, and described device can comprise:
Access request receiving element 501, for receiving the access request that user terminal sends, described access request comprises the identify label of designated pictures;
Original image obtains unit 502, for the identify label according to described designated pictures, obtains original designated pictures;
Designated pictures obtains unit 503, and the User Identity for generating writes the appointed area of described original designated pictures, obtains described designated pictures;
Access response transmitting element 504, for sending access response to described user terminal, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures.
Alternatively, described appointed area immobilizes, and described designated pictures obtains unit, specifically for described User Identity is converted to pixel color value; The pixel color value utilizing conversion to obtain, covers the color value of described appointed area place pixel, obtains described designated pictures.
Alternatively, described appointed area is variable, and described designated pictures obtains unit and comprises: color value converting unit, for described User Identity is converted to pixel color value, and obtains the color value of each pixel in described original designated pictures; Appointed area determining unit, for determining described appointed area from described original designated pictures, the pixel color value that the color value of described appointed area place pixel and the conversion of described User Identity obtain is closest; Capping unit, for the pixel color value utilizing described conversion to obtain, covers the color value of described appointed area place pixel; Positional information writing unit, for obtaining the positional information of described appointed area, writing in the fixed area of described original designated pictures, obtaining described designated pictures.
Corresponding with method shown in Fig. 4, the embodiment of the present invention also provides a kind of user identity identification device 600 of subscriber terminal side, schematic diagram shown in Figure 6, and described device can comprise:
Judging unit 601, for judging whether Website page is loaded with designated pictures, described designated pictures is sent to user terminal local cache by the server of described website, and read from described local cache by browser when the described page shown by needs, carry User Identity in described designated pictures;
Reading unit 602, during for judging the described page is loaded with described designated pictures at described judging unit, reading User Identity, carrying out user identity identification from the appointed area of described designated pictures.
Alternatively, described judging unit, specifically for judging whether the event monitoring the representation page loaded that described browser triggers, if monitor described event, then judges the described page is loaded with described designated pictures.
Alternatively, described reading unit, specifically for reading the positional information write in the fixed area of described designated pictures; Determine described appointed area according to described positional information, and obtain described User Identity from described appointed area.
Alternatively, described reading unit, specifically for reading the color value of the pixel at described appointed area place, being converted to binary data by described color value, obtaining described User Identity.
Alternatively, described device also comprises: request transmitting unit, and for sending access request to described server, described access request comprises the identify label of described designated pictures; Response receiving element, for receiving the access response that described server returns, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures; Storage unit, for preserving described designated pictures and described status indicator at described user terminal local cache.
Below the preferred embodiment of the present invention is described in detail by reference to the accompanying drawings; but; the present invention is not limited to the detail in above-mentioned execution mode; within the scope of technical conceive of the present invention; can carry out multiple simple variant to technical scheme of the present invention, these simple variant all belong to protection scope of the present invention.
It should be noted that in addition, each concrete technical characteristic described in above-mentioned embodiment, in reconcilable situation, can be combined by any suitable mode, in order to avoid unnecessary repetition, the present invention illustrates no longer separately to various possible compound mode.
In addition, also can carry out combination in any between various different execution mode of the present invention, as long as it is without prejudice to thought of the present invention, it should be considered as content disclosed in this invention equally.

Claims (14)

1. a method for identifying ID, is characterized in that, described method comprises:
Judge whether Website page is loaded with designated pictures, described designated pictures is sent to user terminal local cache by the server of described website, and read from described local cache by browser when the described page shown by needs, carry User Identity in described designated pictures;
If it is determined that the described page is loaded with described designated pictures, then from the appointed area of described designated pictures, read User Identity, carry out user identity identification.
2. method according to claim 1, is characterized in that, describedly judges whether Website page is loaded with designated pictures, comprising:
Judge whether the event monitoring the representation page loaded that described browser triggers, if monitor described event, then judge the described page is loaded with described designated pictures.
3. method according to claim 1, is characterized in that, describedly from the appointed area of described designated pictures, reads User Identity, comprising:
Read the positional information write in the fixed area of described designated pictures;
Determine described appointed area according to described positional information, and obtain described User Identity from described appointed area.
4. method according to claim 1, is characterized in that, describedly from the appointed area of described designated pictures, reads User Identity, comprising:
Read the color value of the pixel at described appointed area place, described color value is converted to binary data, obtain described User Identity.
5. the method according to any one of Claims 1-4, is characterized in that, the mode that described user terminal preserves described designated pictures is:
Send access request to described server, described access request comprises the identify label of described designated pictures;
Receive the access response that described server returns, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures;
Preserve described designated pictures and described status indicator at described user terminal local cache.
6. a method for identifying ID, is characterized in that, described method comprises:
Receive the access request that user terminal sends, described access request comprises the identify label of designated pictures;
According to the identify label of described designated pictures, obtain original designated pictures;
The User Identity generated is write the appointed area of described original designated pictures, obtain described designated pictures;
Send access response to described user terminal, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures.
7. method according to claim 6, is characterized in that, described appointed area immobilizes, and the described appointed area User Identity generated being write described original designated pictures, obtains described designated pictures, comprising:
Described User Identity is converted to pixel color value;
The pixel color value utilizing conversion to obtain, covers the color value of described appointed area place pixel, obtains described designated pictures.
8. method according to claim 6, is characterized in that, described appointed area is variable, and the described appointed area User Identity generated being write described original designated pictures, obtains described designated pictures, comprising:
Described User Identity is converted to pixel color value, and obtains the color value of each pixel in described original designated pictures;
From described original designated pictures, determine described appointed area, the pixel color value that the color value of described appointed area place pixel and the conversion of described User Identity obtain is closest;
The pixel color value utilizing described conversion to obtain, covers the color value of described appointed area place pixel;
Obtain the positional information of described appointed area, write in the fixed area of described original designated pictures, obtain described designated pictures.
9. a user identity identification device, is characterized in that, described device comprises:
Judging unit, for judging whether Website page is loaded with designated pictures, described designated pictures is sent to user terminal local cache by the server of described website, and read from described local cache by browser when the described page shown by needs, carry User Identity in described designated pictures;
Reading unit, during for judging the described page is loaded with described designated pictures at described judging unit, reading User Identity, carrying out user identity identification from the appointed area of described designated pictures.
10. device according to claim 9, is characterized in that,
Described judging unit, specifically for judging whether the event monitoring the representation page loaded that described browser triggers, if monitor described event, then judges the described page is loaded with described designated pictures.
11. devices according to claim 9 or 10, is characterized in that,
Described reading unit, specifically for reading the color value of the pixel at described appointed area place, being converted to binary data by described color value, obtaining described User Identity.
12. 1 kinds of user identity identification devices, is characterized in that, described device comprises:
Access request receiving element, for receiving the access request that user terminal sends, described access request comprises the identify label of designated pictures;
Original image obtains unit, for the identify label according to described designated pictures, obtains original designated pictures;
Designated pictures obtains unit, and the User Identity for generating writes the appointed area of described original designated pictures, obtains described designated pictures;
Access response transmitting element, for sending access response to described user terminal, described access response comprises described designated pictures and status indicator, and described status indicator is permanently effective for representing described designated pictures.
13. devices according to claim 12, is characterized in that, described appointed area immobilizes,
Described designated pictures obtains unit, specifically for described User Identity is converted to pixel color value; The pixel color value utilizing conversion to obtain, covers the color value of described appointed area place pixel, obtains described designated pictures.
14. devices according to claim 12, is characterized in that, described appointed area is variable, and described designated pictures obtains unit and comprises:
Color value converting unit, for described User Identity is converted to pixel color value, and obtains the color value of each pixel in described original designated pictures;
Appointed area determining unit, for determining described appointed area from described original designated pictures, the pixel color value that the color value of described appointed area place pixel and the conversion of described User Identity obtain is closest;
Capping unit, for the pixel color value utilizing described conversion to obtain, covers the color value of described appointed area place pixel;
Positional information writing unit, for obtaining the positional information of described appointed area, writing in the fixed area of described original designated pictures, obtaining described designated pictures.
CN201510979826.1A 2015-12-23 2015-12-23 User identification method and device Pending CN105471886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510979826.1A CN105471886A (en) 2015-12-23 2015-12-23 User identification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510979826.1A CN105471886A (en) 2015-12-23 2015-12-23 User identification method and device

Publications (1)

Publication Number Publication Date
CN105471886A true CN105471886A (en) 2016-04-06

Family

ID=55609156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510979826.1A Pending CN105471886A (en) 2015-12-23 2015-12-23 User identification method and device

Country Status (1)

Country Link
CN (1) CN105471886A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341376A (en) * 2016-04-29 2017-11-10 深圳富泰宏精密工业有限公司 The anti-misinformation of picture and glance prevention method and electronic equipment
CN107730364A (en) * 2017-10-31 2018-02-23 北京麒麟合盛网络技术有限公司 user identification method and device
CN109146561A (en) * 2018-08-08 2019-01-04 北京新意互动数字技术有限公司 Recognition methods, device and the server of the network user
WO2020114374A1 (en) * 2018-12-03 2020-06-11 上海掌门科技有限公司 Method for detecting compromised application, and apparatus
CN114650272A (en) * 2020-12-17 2022-06-21 上海嗨普智能信息科技股份有限公司 User unique identifier processing method, device, storage medium and computer device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295047A (en) * 2013-06-25 2013-09-11 谢婧 Image identifier capable of obtaining hidden information and manufacturing and reading method thereof
CN103560935A (en) * 2013-11-13 2014-02-05 北京国双科技有限公司 Internet user information collecting method and device
US20140310805A1 (en) * 2013-04-14 2014-10-16 Kunal Kandekar Gesture-to-Password Translation
CN104394121A (en) * 2014-10-31 2015-03-04 小米科技有限责任公司 Terminal marking method and device
CN104636392A (en) * 2013-11-13 2015-05-20 腾讯科技(北京)有限公司 Method and system for issuing recommending information, server and browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310805A1 (en) * 2013-04-14 2014-10-16 Kunal Kandekar Gesture-to-Password Translation
CN103295047A (en) * 2013-06-25 2013-09-11 谢婧 Image identifier capable of obtaining hidden information and manufacturing and reading method thereof
CN103560935A (en) * 2013-11-13 2014-02-05 北京国双科技有限公司 Internet user information collecting method and device
CN104636392A (en) * 2013-11-13 2015-05-20 腾讯科技(北京)有限公司 Method and system for issuing recommending information, server and browser
CN104394121A (en) * 2014-10-31 2015-03-04 小米科技有限责任公司 Terminal marking method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341376A (en) * 2016-04-29 2017-11-10 深圳富泰宏精密工业有限公司 The anti-misinformation of picture and glance prevention method and electronic equipment
CN107341376B (en) * 2016-04-29 2020-07-14 深圳富泰宏精密工业有限公司 Picture mistransmission preventing and peeping preventing method and electronic equipment
CN107730364A (en) * 2017-10-31 2018-02-23 北京麒麟合盛网络技术有限公司 user identification method and device
CN109146561A (en) * 2018-08-08 2019-01-04 北京新意互动数字技术有限公司 Recognition methods, device and the server of the network user
CN109146561B (en) * 2018-08-08 2019-09-06 北京新意互动数字技术有限公司 Recognition methods, device and the server of the network user
WO2020114374A1 (en) * 2018-12-03 2020-06-11 上海掌门科技有限公司 Method for detecting compromised application, and apparatus
CN114650272A (en) * 2020-12-17 2022-06-21 上海嗨普智能信息科技股份有限公司 User unique identifier processing method, device, storage medium and computer device

Similar Documents

Publication Publication Date Title
CN105471886A (en) User identification method and device
CN110324311B (en) Vulnerability detection method and device, computer equipment and storage medium
CN102917059B (en) A kind of client and the method downloading application thereof
US8904279B1 (en) Inhibiting automated extraction of data from network pages
CN102137059B (en) Method and system for blocking malicious accesses
CN104468592B (en) Login method and login system
CN104426862B (en) Realize method, system and browser that cross-domain request logs in
CN104468363B (en) Page reorientation method, routing device, terminal device and system
CN107124430B (en) Page hijacking monitoring method, device, system and storage medium
CN104735066A (en) Single sign-on method, device and system oriented to web page applications
WO2008111048A2 (en) System and method for browser within a web site and proxy server
CN109672658B (en) JSON hijacking vulnerability detection method, device, equipment and storage medium
CN103905497A (en) Method, device and application platform for realizing login of third-party application service website
CN111274781A (en) Table display method and device, storage medium and electronic equipment
CN102882993A (en) Computing device and downloading method thereof
US20140157369A1 (en) Method, apparatus and computer program for controlling access to content in a communications network
US10158691B2 (en) Method and apparatus for providing network resources at intermediary server
CN102904765A (en) Method and equipment for data reporting
CN103634399A (en) Method and device for realizing cross-domain data transmission
CN104834588A (en) Permanent residence cross site script vulnerability detection method and apparatus
CN106899689B (en) Information pre-issuing method and server
US11212287B2 (en) Program execution control method, program, recording medium, web page, transmission server, client, and web system
CN106446640A (en) User identification method and server
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
US9571555B2 (en) Methods circuits devices systems and associated computer executable code for web augmentation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160406

RJ01 Rejection of invention patent application after publication