CN105979021B - A kind of information processing method and user terminal - Google Patents

A kind of information processing method and user terminal Download PDF

Info

Publication number
CN105979021B
CN105979021B CN201610267069.XA CN201610267069A CN105979021B CN 105979021 B CN105979021 B CN 105979021B CN 201610267069 A CN201610267069 A CN 201610267069A CN 105979021 B CN105979021 B CN 105979021B
Authority
CN
China
Prior art keywords
user terminal
value
guid
target duration
user
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
CN201610267069.XA
Other languages
Chinese (zh)
Other versions
CN105979021A (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.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Zhuhai Seal Interest Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Seal Interest Technology Co Ltd filed Critical Zhuhai Seal Interest Technology Co Ltd
Priority to CN201610267069.XA priority Critical patent/CN105979021B/en
Publication of CN105979021A publication Critical patent/CN105979021A/en
Application granted granted Critical
Publication of CN105979021B publication Critical patent/CN105979021B/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/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC

Abstract

The embodiment of the invention discloses a kind of information processing method and user terminals, wherein this method comprises: generating at least one globally unique identifier GUID using preset algorithm;Obtain the target duration that user terminal is passed through from booting moment to current time;According at least one described GUID and the target duration, eap-message digest MD5 value is generated.Implement the embodiment of the present invention, can reduce a possibility that user identifier repeats.

Description

A kind of information processing method and user terminal
Technical field
The present invention relates to technical field of information processing more particularly to a kind of information processing methods and user terminal.
Background technique
With the continuous development of Internet technology, Internet Users are also increasingly increasing, in order to preferably manage user, Generally require the related data of counting user.Such as: for a certain application, average user number is enlivened day 50,000,000 or so, is Management user group, generally by for each user distribute a GUID (Globally Unique Identifier, it is global Unique identifier), to identify the difference of each user.GUID is a kind of number that the binary length generated by algorithm is 128 Word identifier, a possibility that two identical GUID of generation, is very small at random, but is not 0.It is obtained according to data statistic analysis, At least 20 general-purpose families will appear duplicate GUID in 5000 general-purpose families, it is seen that GUID is not truly globally unique. Therefore, for big data platform, the probability that GUID is duplicated is larger, can not be suitable for increasingly huge user group.
Summary of the invention
The embodiment of the invention discloses a kind of information processing method and user terminal, can reduce that user identifier is duplicate can It can property.
First aspect of the embodiment of the present invention discloses a kind of information processing method, comprising:
At least one globally unique identifier GUID is generated using preset algorithm;
Obtain the target duration that user terminal is passed through from booting moment to current time;
According at least one described GUID and the target duration, eap-message digest MD5 value is generated.
In conjunction with the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the first possible embodiment In, the method also includes:
Obtain operating position of the current time user on the display screen of the user terminal, the operating position packet Include cursor position or position of touch;
Wherein, described at least one GUID according to and the target duration generate eap-message digest MD5 value, comprising:
According at least one described GUID, the target duration and the operating position, eap-message digest MD5 value is generated.
In conjunction with the first possible embodiment of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention Second of possible embodiment in, described at least one GUID according to, the target duration and the operating position, Generate eap-message digest MD5 value, comprising:
At least one described GUID, the target duration and the operating position are combined, to obtain target character String;
The MD5 value is determined according to the target string.
In conjunction with the first or second of possible embodiment of first aspect of the embodiment of the present invention or first aspect, at this It is described to generate at least one overall situation only using preset algorithm in the third possible embodiment of inventive embodiments first aspect Before one identifier GUID, the method also includes:
Judge MD5 value whether is stored in the user terminal;
It is wherein, described to generate at least one globally unique identifier GUID using preset algorithm, comprising:
If not stored in the user terminal have MD5 value, at least one globally unique identifier is generated using preset algorithm GUID。
In conjunction with the first or second of possible embodiment of first aspect of the embodiment of the present invention or first aspect, at this In 4th kind of possible embodiment of inventive embodiments first aspect, the method also includes:
The MD5 value of generation is stored into the user terminal.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, comprising:
First generation unit, for generating at least one globally unique identifier GUID using preset algorithm;
First acquisition unit, the target duration passed through for obtaining user terminal from booting moment to current time;
Second generation unit, for generating eap-message digest MD5 according at least one described GUID and the target duration Value.
In conjunction with second aspect of the embodiment of the present invention, in the first possible embodiment of second aspect of the embodiment of the present invention In, the user terminal further include:
Second acquisition unit, for obtaining operative position of the current time user on the display screen of the user terminal It sets, the operating position includes cursor position or position of touch;
Second generation unit is specifically used for according at least one described GUID, the target duration and the operation Position generates eap-message digest MD5 value.
In conjunction with the first possible embodiment of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention Second of possible embodiment in, second generation unit includes:
Subelement is combined, at least one described GUID, the target duration and the operating position to be combined, To obtain target string;
Subelement is determined, for determining the MD5 value according to the target string.
In conjunction with the first or second of possible embodiment of second aspect of the embodiment of the present invention or second aspect, at this In the third possible embodiment of inventive embodiments second aspect, the user terminal further include:
Judging unit, for generating at least one globally unique identifier using preset algorithm in first generation unit Before GUID, judge MD5 value whether is stored in the user terminal;
First generation unit is specifically used for judging not stored in the user terminal there is MD5 when the judging unit Value, generates at least one globally unique identifier GUID using preset algorithm.
In conjunction with the first or second of possible embodiment of second aspect of the embodiment of the present invention or second aspect, at this In 4th kind of possible embodiment of inventive embodiments second aspect, the user terminal further include:
Storage unit, the MD5 value for generating second generation unit are stored into the user terminal.
In the embodiment of the present invention, it can use preset algorithm and generate at least one globally unique identifier GUID at random, and The target duration that user terminal is passed through from the booting moment to current time is obtained, it can be according at least one above-mentioned GUID and mesh Duration is marked to generate eap-message digest MD5 value.As it can be seen that the embodiment of the present invention on the basis of GUID generated at random further combined with Client terminal system starts to the duration currently passed through to generate MD5 value, so that the duplicate probability of MD5 value generated is far small In the duplicate probability of GUID, therefore, using the MD5 value of generation as user identifier, it is duplicate to can be effectively reduced user identifier Possibility.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of information processing method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another information processing method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of information processing method and user terminals, can be in the base of the GUID generated at random The duration currently passed through is started on plinth further combined with client terminal system to generate MD5 value, so that the MD5 value weight generated Therefore multiple probability using the MD5 value of generation as user identifier, will can be effectively reduced much smaller than the duplicate probability of GUID A possibility that user identifier repeats.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of information processing method disclosed by the embodiments of the present invention.Such as Fig. 1 institute Show, which may comprise steps of:
101, at least one globally unique identifier GUID is generated using preset algorithm.
In the embodiment of the present invention, user terminal can use preset algorithm and generate at least one GUID at random, specifically, use Family terminal can generate corresponding GUID value by repeatedly calling CoCreateGuid function at random, i.e., every to call once CoCreateGuid function can generate a GUID value at random.GUID is a kind of number mark that binary length is 128 Symbol, the representation formats of GUID value are " xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ", wherein each x be 0-9 or A hexadecimal number within the scope of a-f, and each hexadecimal number is made of 4 bits.Such as: 6F9619FF- 8B86-D011-B42D-00C04FC964FF is effective GUID value, wherein hexadecimal number 6 is binary number 0110. For example, user terminal calls CoCreateGuid function three times, generates three GUID values, such as " 0B69B136- at random EDE4-45be-B121-FF555A05352F”、“DF6F8579-07D2-45f2-B090-F9DAC5A325E2”、 “E1D56FB7-699E-4b3e-BCED-091C00E096E7”。
In the embodiment of the present invention, user terminal may include cell phone, computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID), intelligence wearing set Each Terminal Type, the embodiment of the present invention such as standby (such as smartwatch, Intelligent bracelet) are not construed as limiting.
102, the target duration that user terminal is passed through from booting moment to current time is obtained.
In the embodiment of the present invention, the available system boot of user terminal (or starting) moment to current time is passed through Duration, as target duration.Specifically, it can use GetTickCount function to obtain system boot moment to current time The duration passed through, can using call GetTickCount function at the time of as current time.The unit of target duration can be with For millisecond (ms), for example, user terminal is switched on 2 hours till now, then a length of 2*60*60*1000=when target 7200000ms。
It is understood that step 102 can be executed prior to step 101, can also be executed later in step 101, it can be with It is executed parallel with step 101, the embodiment of the present invention is not construed as limiting.
103, according at least one above-mentioned GUID and the target duration, eap-message digest MD5 value is generated.
In the embodiment of the present invention, when generating at least one GUID at random and get user terminal from the booting moment to current Moment by target duration after, a MD5 can be generated according at least one above-mentioned GUID and the target duration (Message Digest Algorithm5, Message Digest 5 5) value.Wherein, MD5 value has uniqueness, and different data are raw At MD5 value be all different.
In the embodiment of the present invention, step 103 generates eap-message digest according at least one above-mentioned GUID and the target duration The specific embodiment of MD5 value may comprise steps of:
11) at least one above-mentioned GUID and the target duration are combined, to obtain character string;
12) MD5 value is determined according to the character string.
In the embodiment of the present invention, each of at least one above-mentioned GUID GUID and the target duration can be carried out with Machine combination, to obtain character string;Group is carried out with the target duration again after first at least one above-mentioned GUID can also be combined It closes, to obtain character string.For example, character string can be { 0B69B136-EDE4-45be-B121-FF555A05352F } {DF6F8579-07D2-45f2-B090-F9D AC5A325E2}{E1D56FB7-699E-4b3e-BCED-091C00E096E7} 7200000, or { DF6F8579-07D2-45f2-B090-F9DAC5A325E2 } { E1D56FB7-699E-4b3e- BCED-091C00E096E7 } 7200000 { 0B69B136-EDE4-45be-B121-FF555A05352F } etc..Further, Character string can be obtained according to combination to determine MD5 value.Specifically, the Md5_calc function in MD5 function library can be called The character string is converted into MD5 value, such as " bd55e31cb02eba6923697cd8ba782a9e ".MD5 algorithm has following spy Point: 1, compressibility: the MD5 value length of the data of random length, calculating is fixed.The length of MD5 value and the length of GUID value Degree is consistent, is binary one 28, i.e. the data of 32 characters composition.2, it is easy to calculate: calculating MD5 value from former data It is easy to.3, anti-modification: making any change to former data, even only modifying 1 byte, obtained MD5 value has very Big difference.Therefore, the MD5 value being converted by the character string that different sequences is composed is different.4, strong impact resistant: known original Data and its MD5 value want that it is very difficult for finding the data (i.e. data falsification) with identical MD5 value.
In the method depicted in fig. 1, it can use preset algorithm and generate at least one globally unique identifier at random GUID, and obtain user terminal from the target duration passed through to current time of booting moment, can according to it is above-mentioned at least one GUID and target duration generate eap-message digest MD5 value.By implementing method described in Fig. 1, the GUID's generated at random On the basis of the duration currently passed through is started to further combined with client terminal system to generate MD5 value so that the MD5 value generated Therefore duplicate probability using the MD5 value of generation as user identifier, can will effectively be dropped much smaller than the duplicate probability of GUID A possibility that low user identifier repeats.
Referring to Fig. 2, Fig. 2 is the flow diagram of another information processing method disclosed by the embodiments of the present invention.Such as Fig. 2 Shown, which may comprise steps of:
201, at least one globally unique identifier GUID is generated using preset algorithm.
In the embodiment of the present invention, user terminal can generate GUID value at random by calling CoCreateGuid function, Call a CoCreateGuid function is corresponding to generate a GUID value at random.Each GUID can be at least one above-mentioned GUID It is different.
202, the target duration that user terminal is passed through from booting moment to current time is obtained.
In the embodiment of the present invention, user terminal can obtain the system boot moment by calling GetTickCount function The duration passed through to current time.
203, operating position of the current time user on the display screen of user terminal is obtained.
In the embodiment of the present invention, which can include but is not limited to cursor (or mouse pointer) position or touch-control position It sets.Operating position can be indicated with the form of coordinate.Wherein, cursor position can be the point institute that cursor stops on a display screen Corresponding coordinate;Position of touch can be user's coordinate corresponding to the point of touch-control on a display screen, at this point, user terminal is aobvious Display screen can be touch screen or touch panel.
In the embodiment of the present invention, cursor position can be obtained by calling GetCursorPos function, with screen coordinate To indicate.User terminal can detect that touch-control is grasped by the variation of capacitance or resistance value on touch screen (or touch panel) Make, and position of touch (coordinate of touch point) is obtained according to the sensor integrated in user terminal.
It is understood that step 203 can be prior to step 201 and 202, and it can also be later in step 201 and 202, it can also To intersect with step 201,202 or execute parallel, i.e., there is no stringent time order and function suitable between the three of step 201,202 and 203 Sequence.
204, according at least one above-mentioned GUID, the target duration and the operating position, eap-message digest MD5 value is generated.
In the embodiment of the present invention, step 204 according at least one above-mentioned GUID, the target duration and the operating position, The specific embodiment for generating eap-message digest MD5 value may comprise steps of:
21) at least one above-mentioned GUID, the target duration and the operating position are combined, to obtain target character String;
22) MD5 value is determined according to the target string.
In the embodiment of the present invention, at least one above-mentioned GUID, target duration and operating position can be subjected to random groups It closes, obtains target string, and convert MD5 value using MD5 algorithm for the target string.
For example, 3 calling CoCreateGuid functions of user terminal generate 3 GUID values at random, respectively “0B69B136-EDE4-45be-B121-FF555A05352F”、“DF6F8579-07D2-45f2-B090- F9DAC5A325E2","E1D56FB7-699E-4b3e-BCED-091C00E096E7".GetTickCount function is called to obtain A length of 7200000ms when the target that system boot moment to current time is passed through.GetCursorPos function is called to be worked as The coordinate of the operating position of preceding moment user on a display screen is (600,800).By 3 GUID values of acquisition, target duration and Operating position progress random combine, available target string, e.g., { 0B69B136-EDE4-45be-B121- FF555A05352F}7200000{E1D56FB7-699E-4b3e-BCED-091C00E096E7}600800{DF6F8579- 07D2-45f2-B090-F9DAC5A325E2 }, and the target string is converted into MD5 value using MD5 algorithm.It can also be by 3 A GUID value is first combined into a character string, such as: { 0B69B136-EDE4-45be-B121-FF555A05352F } { DF6F8579-07D2-45f2-B090-F9DAC5A325E2 } { E1D56FB7-699E-4b3e-BCED-091C00E096E7 }, Again with target duration and operating position random combine at target string, such as: { 0B69B136-EDE4-45be-B121- FF555A05352F}{DF6F8579-07D2-45f2-B090-F9DAC5A325E2}{E1D56FB7-699E-4b3e-BCED- 091C00E096E7 } 7200000600800, and the target string is converted into MD5 value using MD5 algorithm.Wherein, according to not The same MD5 value made of the target string conversion being composed that puts in order is different, i.e. the change of arbitrary string, generation MD5 value is all entirely different.
In the embodiment of the present invention, since the data such as GUID, target duration and operating position all have randomness, There is higher more reliable uniqueness using the MD5 value that above-mentioned data generate.
As an alternative embodiment, before executing step 204, method described in Fig. 2 can also include with Lower step:
23) current time of user terminal is obtained;
It specifically, can will be in the data such as current time and at least one above-mentioned GUID, target duration and operating position At least one data carry out random combine, generate target string, and corresponding MD5 value is generated according to the target string.
As an alternative embodiment, before executing step 204, method described in Fig. 2 can also include with Lower step:
24) (Internet Protocol, the Internet protocol) address IP or the MAC (Media of user terminal are obtained Access Control, media access control) address;
Specifically, can by IP address or MAC Address and at least one above-mentioned GUID, target duration, operating position and At least one of the data such as current time data carry out random combine, generate target string, and according to the target string Generate corresponding MD5 value.
As an alternative embodiment, before executing step 201, method described in Fig. 2 can also include with Lower step:
25) judge MD5 value whether is stored in user terminal;
Wherein, step 201 generates the specific embodiment of at least one globally unique identifier GUID using preset algorithm It can be with are as follows:
If not stored in user terminal have MD5 value, at least one globally unique identifier GUID is generated using preset algorithm.
In this embodiment, before user terminal generates MD5 value, it can first judge whether be stored in user terminal MD5 value creates a MD5 value according to above-mentioned steps if do not stored;If being stored with MD5 value, nothing in user terminal MD5 value need to be created again, it can be directly using the MD5 value stored in user terminal as the mark of user terminal.
As an alternative embodiment, method described in Fig. 2 can with the following steps are included:
26) the MD5 value of generation is stored into user terminal.
In this embodiment, the MD5 value of generation can be stored into the registration table of user terminal, for example, it is saved Position (or path) can be the HKEY_LOCAL_MACHINE in registration table SOFTWARE kingsoft antivirus, Under KsGUID registration table key assignments.After MD5 value is successfully generated, just no longer need to time generate, because if calling above-mentioned step again If rapid creation, an other MD5 value just will create, the MD5 value that the embodiment of the present invention generates can be with this user of unique identification Terminal is permanent, and is globally unique.When user terminal is switched on every time, can first judge be in user terminal It is no to exist there are MD5 value, without creating again.
In the embodiment of the present invention, by implementing method described in Fig. 2, on the basis of the GUID generated at random further The data next life such as the operating position of the duration currently passed through and user on a display screen are started in conjunction with client terminal system At MD5 value, so that therefore the duplicate probability of MD5 value generated will utilize the MD5 value of generation much smaller than the duplicate probability of GUID As user identifier, a possibility that user identifier repeats can be effectively reduced.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, can be used for holding Row information processing method disclosed by the embodiments of the present invention.As shown in figure 3, the user terminal may include:
First generation unit 301, for generating at least one globally unique identifier GUID using preset algorithm.
In the embodiment of the present invention, the first generation unit 301 can use preset algorithm and generate at least one GUID at random, tool Body, corresponding GUID value can be generated at random by repeatedly calling CoCreateGuid function, i.e., it is every to call once CoCreateGuid function can generate a GUID value at random.
First acquisition unit 302, the target duration passed through for obtaining user terminal from booting moment to current time.
In the embodiment of the present invention, the available system boot of first acquisition unit 302 (or starting) moment to current time The duration passed through, as target duration.Specifically, it can use GetTickCount function to obtain the system boot moment extremely The duration that current time is passed through.
Second generation unit 303, for generating eap-message digest MD5 according at least one above-mentioned GUID and the target duration Value.
In the embodiment of the present invention, the second generation unit 303 can be generated at random according to the first generation unit 301 at least one The target duration that a GUID and first acquisition unit 302 obtain, generates a MD5 value.Wherein, MD5 value has uniqueness, no The MD5 value that same data generate is all different.Specifically, the second generation unit 303 can be by least one above-mentioned GUID and this Target duration is combined, and to obtain character string, and determines MD5 value according to the character string.
As an alternative embodiment, referring to Figure 4 together, Fig. 4 is another use disclosed by the embodiments of the present invention The structural schematic diagram of family terminal can be used for executing information processing method disclosed by the embodiments of the present invention.Wherein, shown in Fig. 4 User terminal is advanced optimized on the basis of user terminal shown in Fig. 3.With user terminal phase shown in Fig. 3 Than user terminal shown in Fig. 4 can also include:
Second acquisition unit 304, for obtaining operating position of the current time user on the display screen of user terminal.
Wherein, which can include but is not limited to cursor position or position of touch.The operating position can use seat For mark to indicate, cursor position is the coordinate where the point that stops on a display screen of cursor, position of touch be user on a display screen The coordinate of touch point when touch-control.
Correspondingly, the second generation unit 303 specifically can be used for according at least one above-mentioned GUID, the target duration and The operating position generates eap-message digest MD5 value.
As an alternative embodiment, in user terminal shown in Fig. 4, the second generation unit 303 may include:
Subelement 3031 is combined, at least one above-mentioned GUID, the target duration and the operating position to be combined, To obtain target string;
Subelement 3032 is determined, for determining MD5 value according to the target string.
As an alternative embodiment, please refer to fig. 5, Fig. 5 is another use disclosed by the embodiments of the present invention The structural schematic diagram of family terminal can be used for executing information processing method disclosed by the embodiments of the present invention.Wherein, shown in fig. 5 User terminal is to advanced optimize to obtain on the basis of user terminal shown in Fig. 4.With user terminal phase shown in Fig. 4 Than user terminal shown in fig. 5 can also include:
Judging unit 305, for generating at least one globally unique identifier using preset algorithm in the first generation unit 301 Before according with GUID, judge MD5 value whether is stored in user terminal.
Correspondingly, the first generation unit 301 can be specifically used for when judging unit 305 judge it is not stored in user terminal There is MD5 value, generates at least one globally unique identifier GUID using preset algorithm.
As an alternative embodiment, user terminal shown in fig. 5 can also include:
Storage unit 306, the MD5 value for generating the second generation unit 303 are stored into user terminal.
Specifically, storage unit 306 can store the MD5 value that the second generation unit 303 generates to the note of user terminal In volume table.In the user terminal by the storage of MD5 value, time generation MD5 value can be no longer needed to when being switched on user terminal next time.
In the embodiment of the present invention, by implementing Fig. 3 to user terminal shown in fig. 5, on the basis of the GUID generated at random On started to further combined with client terminal system the operating position of the duration currently passed through and user on a display screen come MD5 value is generated, so that therefore the duplicate probability of MD5 value generated will utilize the MD5 of generation much smaller than the duplicate probability of GUID Value is used as user identifier, can be effectively reduced a possibility that user identifier repeats.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, can be used for Execute information processing method disclosed by the embodiments of the present invention.As shown in fig. 6, the user terminal 600 may include: at least one Reason device 601, at least one network interface 602, user interface 603, memory 604, the equal components of at least one communication bus 605. Wherein, communication bus 605 is for realizing the connection communication between these components.It will be understood by those skilled in the art that showing in Fig. 6 The structure of user terminal out does not constitute the restriction to the embodiment of the present invention, it is also possible to either busbar network Hub-and-spoke configuration can also include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
Processor 601 is the control centre of user terminal, utilizes each of various interfaces and the entire user terminal of connection A part by running or execute the program and/or module that are stored in memory 604, and calls and is stored in memory 604 Interior data, to execute the various functions and processing data of user terminal.Processor 601 can be by integrated circuit (Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection The encapsulation IC of identical function or different function and form.For example, processor 601 can only include central processing unit (Central Processing Unit, abbreviation CPU) is also possible to CPU, digital signal processor (digital signal Processor, abbreviation DSP), graphics processor (Graphic Processing Unit, abbreviation GPU) and various control chips Combination.In embodiments of the present invention, CPU can be single operation core, also may include multioperation core.
Network interface 602 may include wireline interface, wireless interface etc., for connecting data network.
User interface 603 may include display screen (Display), keyboard (Keyboard), mouse (Mouse) etc., be used for It is interacted with user, for example, can receive the operations that user carries out in the user terminal.In addition, display screen can be Touch screen or touch panel etc..
Memory 604 can be high speed RAM memory, be also possible to non-labile memory (non-volatile Memory), a for example, at least magnetic disk storage.Memory 604 optionally can also be that at least one is located remotely from aforementioned place Manage the storage device of device 601.As shown in fig. 6, as may include operation system in a kind of memory 604 of computer storage medium System, network communication module, Subscriber Interface Module SIM and application program etc..In embodiments of the present invention, operating system can be Android system, iOS system or Windows operating system etc..
In user terminal shown in Fig. 6, processor 601 can call the application program of storage in the memory 604, use The operation below executing:
At least one globally unique identifier GUID is generated using preset algorithm;
Obtain the target duration that user terminal 600 is passed through from booting moment to current time;
According at least one above-mentioned GUID and the target duration, eap-message digest MD5 value is generated.
As an alternative embodiment, processor 601 may call upon the application journey of storage in the memory 604 Sequence, and execute following operation:
Obtain operating position of the current time user on the display screen of the user interface 603 in user terminal 600, the behaviour It may include cursor position or position of touch as position;
Wherein, processor 601 generates the tool of eap-message digest MD5 value according at least one above-mentioned GUID and the target duration Body embodiment can be with are as follows:
According at least one above-mentioned GUID, the target duration and the operating position, eap-message digest MD5 value is generated.
As an alternative embodiment, processor 601 is according at least one above-mentioned GUID, the target duration and is somebody's turn to do Operating position, the specific embodiment for generating eap-message digest MD5 value can be with are as follows:
At least one above-mentioned GUID, the target duration and the operating position are combined, to obtain target string;
MD5 value is determined according to the target string.
As an alternative embodiment, processor 601 generates at least one globally unique identifier using preset algorithm Before according with GUID, the application program of storage in the memory 604 may call upon, and execute following operation:
Judge MD5 value whether is stored in user terminal 600;
Wherein, processor 601 generates the specific embodiment party of at least one globally unique identifier GUID using preset algorithm Formula can be with are as follows:
If not stored in user terminal 600 have MD5 value, at least one globally unique identifier is generated using preset algorithm GUID。
As an alternative embodiment, processor 601 may call upon the application journey of storage in the memory 604 Sequence, and execute following operation:
The MD5 value of generation is stored into user terminal 600.
Specifically, the letter that the present invention combines Fig. 1 or Fig. 2 introduction can be implemented in the user terminal introduced in the embodiment of the present invention Process some or all of in breath processing method embodiment.
In the embodiment of the present invention, by implementing user terminal shown in fig. 6, into one on the basis of the GUID generated at random Step starts to the operating position of the duration currently passed through and user on a display screen in conjunction with client terminal system to generate MD5 Value, so that the duplicate probability of MD5 value generated will be much smaller than the duplicate probability of GUID, therefore, using the MD5 value of generation as use Family mark, can be effectively reduced a possibility that user identifier repeats.
Module or submodule in all embodiments of the invention, can be by universal integrated circuit, such as CPU, or passes through ASIC (Application Specific Integrated Circuit, specific integrated circuit) Lai Shixian.
It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned The combination of actions of column, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because For according to the application, certain some step be can be performed in other orders or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment Part, reference can be made to the related descriptions of other embodiments.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit or sub-unit in user terminal of the embodiment of the present invention can be merged according to actual needs, divides and be deleted Subtract.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
A kind of information processing method disclosed by the embodiments of the present invention and user terminal are described in detail above, herein In apply that a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to sides Assistant solves method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (8)

1. a kind of information processing method characterized by comprising
At least one globally unique identifier GUID is generated using preset algorithm;
Obtain the target duration that user terminal is passed through from booting moment to current time;
According at least one described GUID and the target duration, eap-message digest MD5 value is generated, the MD5 value is as the use The user identifier of family terminal;
Operating position of the current time user on the display screen of the user terminal is obtained, the operating position includes light Cursor position or position of touch;
Wherein, described at least one GUID according to and the target duration generate eap-message digest MD5 value, comprising:
According at least one described GUID, the target duration and the operating position, eap-message digest MD5 value is generated.
2. the method according to claim 1, wherein when described at least one GUID according to, the target The long and operating position generates eap-message digest MD5 value, comprising:
At least one described GUID, the target duration and the operating position are combined, to obtain target string;
The MD5 value is determined according to the target string.
3. method according to claim 1 or 2, which is characterized in that described to be generated at least using preset algorithm Before one globally unique identifier GUID, the method also includes:
Judge MD5 value whether is stored in the user terminal;
It is wherein, described to generate at least one globally unique identifier GUID using preset algorithm, comprising:
If not stored in the user terminal have MD5 value, at least one globally unique identifier GUID is generated using preset algorithm.
4. method according to claim 1 or 2, which is characterized in that the method also includes:
The MD5 value of generation is stored into the user terminal.
5. a kind of user terminal characterized by comprising
First generation unit, for generating at least one globally unique identifier GUID using preset algorithm;
First acquisition unit, the target duration passed through for obtaining user terminal from booting moment to current time;
Second generation unit, for generating eap-message digest MD5 value, institute according at least one described GUID and the target duration State user identifier of the MD5 value as the user terminal;
The user terminal further include:
Second acquisition unit, for obtaining operating position of the current time user on the display screen of the user terminal, The operating position includes cursor position or position of touch;
Second generation unit is specifically used for according at least one described GUID, the target duration and the operative position It sets, generates eap-message digest MD5 value.
6. user terminal according to claim 5, which is characterized in that second generation unit includes:
Subelement is combined, at least one described GUID, the target duration and the operating position to be combined, to obtain Obtain target string;
Subelement is determined, for determining the MD5 value according to the target string.
7. the user terminal according to any one of claim 5 or 6, which is characterized in that the user terminal further include:
Judging unit, for generating at least one globally unique identifier GUID using preset algorithm in first generation unit Before, judge MD5 value whether is stored in the user terminal;
First generation unit be specifically used for when the judging unit judge it is not stored in the user terminal have MD5 value, At least one globally unique identifier GUID is generated using preset algorithm.
8. the user terminal according to any one of claim 5 or 6, which is characterized in that the user terminal further include:
Storage unit, the MD5 value for generating second generation unit are stored into the user terminal.
CN201610267069.XA 2016-04-26 2016-04-26 A kind of information processing method and user terminal Active CN105979021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610267069.XA CN105979021B (en) 2016-04-26 2016-04-26 A kind of information processing method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610267069.XA CN105979021B (en) 2016-04-26 2016-04-26 A kind of information processing method and user terminal

Publications (2)

Publication Number Publication Date
CN105979021A CN105979021A (en) 2016-09-28
CN105979021B true CN105979021B (en) 2019-08-23

Family

ID=56993976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610267069.XA Active CN105979021B (en) 2016-04-26 2016-04-26 A kind of information processing method and user terminal

Country Status (1)

Country Link
CN (1) CN105979021B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038188A (en) * 2016-11-03 2017-08-11 北京集奥聚合科技有限公司 A kind of Global ID's generation method and system based on business
CN107704164A (en) * 2017-08-09 2018-02-16 厦门天锐科技股份有限公司 A kind of terminal identifier generation system and method based on screenshotss

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035654A (en) * 2010-12-29 2011-04-27 北京握奇数据系统有限公司 Identity authentication method, identity authentication equipment, server and identity authentication-based encryption method
CN102930230A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 Computing device identifying method and device
CN104394022A (en) * 2014-12-09 2015-03-04 安科智慧城市技术(中国)有限公司 Network equipment identification method and device
CN104702781A (en) * 2015-02-04 2015-06-10 深圳市中兴移动通信有限公司 Information encryption method and information encryption device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8839460B2 (en) * 2008-03-07 2014-09-16 Qualcomm Incorporated Method for securely communicating information about the location of a compromised computing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035654A (en) * 2010-12-29 2011-04-27 北京握奇数据系统有限公司 Identity authentication method, identity authentication equipment, server and identity authentication-based encryption method
CN102930230A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 Computing device identifying method and device
CN104394022A (en) * 2014-12-09 2015-03-04 安科智慧城市技术(中国)有限公司 Network equipment identification method and device
CN104702781A (en) * 2015-02-04 2015-06-10 深圳市中兴移动通信有限公司 Information encryption method and information encryption device

Also Published As

Publication number Publication date
CN105979021A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
US11163851B2 (en) Method, apparatus, computer device and storage medium of page displaying
CN109949111A (en) Electronic bill mark distributing method, electronic bill generation method, apparatus and system
CN103235685B (en) A kind of method and apparatus that terminal operating system desktop contents is set
CN103777967B (en) Page returning method, page generation method and device
CN105549847B (en) A kind of image display method and user terminal at playback of songs interface
CN104268229B (en) Resource obtaining method and device based on multi-process browser
CN109739656A (en) Interface data analogy method, device, storage medium and electronic equipment
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
JP2018511840A (en) Password generation method and device
CN109726067A (en) A kind of process monitoring method and client device
CN107741902A (en) Program application detection method and program application detection means
CN105979021B (en) A kind of information processing method and user terminal
CN105653131B (en) A kind of method and terminal for searching application program
CN107888663A (en) A kind of method of distribution of document, equipment and computer-readable medium
CN103077032B (en) The operating method of application program and the client of application program
CN108401159A (en) A kind of method and electronic equipment of target bit rate control
WO2014177033A1 (en) Input method invoking method and invoking device, and terminal
CN111901453B (en) Identification generation method, device, computer equipment and storage medium
CN106202456B (en) Send the method and device of picture
CN106445479A (en) Information pushing method and apparatus
CN111984293A (en) Information processing method, device and storage medium
CN107038078A (en) A kind of information sharing method and electronic equipment
CN108427691B (en) Network data transmission method and device and computer equipment
CN108062350A (en) A kind of data processing method, node device and computer-readable medium
CN107483399A (en) A kind of Information encapsulation method and device in remote procedure call

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181227

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Leopard Technology Co.,Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant