CN106331055B - Identifier generating means and method - Google Patents

Identifier generating means and method Download PDF

Info

Publication number
CN106331055B
CN106331055B CN201610649726.7A CN201610649726A CN106331055B CN 106331055 B CN106331055 B CN 106331055B CN 201610649726 A CN201610649726 A CN 201610649726A CN 106331055 B CN106331055 B CN 106331055B
Authority
CN
China
Prior art keywords
address
identifier
access request
starting time
coding
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
CN201610649726.7A
Other languages
Chinese (zh)
Other versions
CN106331055A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610649726.7A priority Critical patent/CN106331055B/en
Publication of CN106331055A publication Critical patent/CN106331055A/en
Application granted granted Critical
Publication of CN106331055B publication Critical patent/CN106331055B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of identifier generating means, identifier generating means include: acquisition module, for when receiving the access request applied in current accessed application server, obtaining the iso-ip Internetworking protocol ISO-IP IP address of the starting time and application server of pre-stored application;Coding module, for being encoded to starting time and IP address, the starting time and IP address after being encoded;It obtains module and is also used to obtain the variable in an access request identifier, change the corresponding value of variable according to preset rules, obtain new variable;Splicing module, for by after new variable, coding the starting time and IP address splice, to generate the identifier of access request.The invention also discloses a kind of identifier generation methods.Present invention reduces the generation times of the length of the identifier of access request and identifier, improve the performance of the identifier of access request.

Description

Identifier generating means and method
Technical field
The present invention relates to technical field of communication network more particularly to a kind of identifier generating means and method.
Background technique
In Internet application, distributed treatment, wherein being often related to a problem, is exactly using more and more extensive The generation problem of the corresponding ID of access request (IDentifier, identifier) in application server.Under centralized processing scene, Need to guarantee that the ID is unique in single node.But in distributed environment, need to guarantee the ID on multiple nodes all only One.It is therefore desirable to which the ID for establishing certain strategy to guarantee that each node generates will not be repeated.
In current techniques, UUID (Universally Unique Identifier, Universally Unique Identifier) is generallyd use ID to guarantee that each node generates will not be repeated.UUID refers to the number generated on a machine, it guarantees to same When all machines in the air UUID be all unique.
However, can be had the following problems using UUID as the way of unique identifier: one, a UUID by 32 16 into Number processed is constituted, and it is too long to be formed by identifier length so as to cause UUID, readable poor.Two, during generating UUID Strong random number is used, performance is poor.
Summary of the invention
It is a primary object of the present invention to propose a kind of identifier generating means and method, it is intended to solve existing application clothes The corresponding identifier length of access request in device of being engaged in is long, the technical problem of performance difference.
To achieve the above object, a kind of identifier generating means provided by the invention, the identifier generating means include:
Module is obtained, for when receiving the access request applied in current accessed application server, acquisition to be deposited in advance The iso-ip Internetworking protocol ISO-IP IP address of the starting time and the application server of the application of storage;
Coding module, for being encoded to the starting time and IP address, the starting time after being encoded And IP address;
The acquisition module is also used to obtain the variable in an access request identifier, change according to preset rules described in The corresponding value of variable, obtains new variable;
Splicing module, for by after the new variable, coding the starting time and IP address splice, with life At the identifier of the access request.
Optionally, the coding module includes:
First converting unit, for the starting time and IP address to be converted to 16 systems according to corresponding coding rule Number;
Second converting unit, the institute for the number of 16 system to be converted to the number of 64 systems, after being encoded State starting time and IP address.
Optionally, the identifier generating means further include:
Setup module, when for the starting after the separator and the new variable, coding of the identifier to be arranged Between and IP address splicing sequence;
The splicing module is also used to will be after the new variable, coding according to the separator and splicing sequence The starting time and IP address are spliced, to generate the identifier of the access request.
Optionally, the acquisition module is also used to obtain the corresponding operational order of the access request, determines the access Request the number of corresponding operational order;
The identifier generating means further include memory module, if at least corresponding to two operations for the access request Instruction, then according to the identifier of the access request, carry out series connection storage for the corresponding log of each operational order.
Optionally, the acquisition module is also used to obtain when detecting the start-up operation applied in the application server The IP address of the starting time and the application server of the application is taken, and stores the starting time and IP address.
In addition, to achieve the above object, the present invention also proposes a kind of identifier generation method, the identifier generation method Include:
When receiving the access request applied in current accessed application server, the pre-stored application is obtained Start the iso-ip Internetworking protocol ISO-IP IP address of time and the application server;
The starting time and IP address are encoded, the starting time and IP address after being encoded;
The variable in upper access request identifier is obtained, changes the corresponding value of the variable according to preset rules, obtains New variable;
By after the new variable, coding the starting time and IP address splice, asked with generating the access The identifier asked.
Optionally, described that the starting time and IP address are encoded, the starting time after being encoded and The step of IP address includes:
The starting time and IP address are converted to the number of 16 systems according to corresponding coding rule;
The number that the number of 16 system is converted to 64 systems, the starting time and IP after being encoded Location.
Optionally, the variable in the acquisition in an access request identifier changes the variable pair according to preset rules The value answered, after the step of obtaining new variable, further includes:
Separator and the spelling of the starting time and IP address after the new variable, coding of the identifier are set Connect sequence;
The starting time and IP address by after the new variable, coding splices, to generate the visit The step of asking the identifier of request include:
According to the separator and splicing sequence by after the new variable, coding starting time and IP Location is spliced, to generate the identifier of the access request.
Optionally, the starting time and IP address by after the new variable, coding splices, to generate After the step of identifier of the access request, further includes:
The corresponding operational order of the access request is obtained, determines the number of the corresponding operational order of the access request;
It, will be each according to the identifier of the access request if the access request at least corresponds to two operational orders The corresponding log of a operational order carries out series connection storage.
Optionally, described when receiving the access request applied in current accessed application server, acquisition is stored in advance The application starting the time and the application server IP address the step of before, further includes:
When detecting the start-up operation applied in the application server, starting time of the application and described is obtained The IP address of application server, and store the starting time and IP address.
The present invention is by when receiving the access request applied in current accessed application server, to pre-stored institute The IP address of the starting time and the application server of stating application are encoded, the starting time and IP after being encoded Address, and according to the corresponding value of variable in the acquired upper access request identifier of preset rules change, obtain new change Amount, by after the new variable, coding the starting time and IP address splice, generate the mark of the access request Symbol.The length of the identifier of the access request and the generation time of the identifier are shortened, the access request is improved Identifier performance.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the module diagram of identifier generating means first embodiment of the present invention;
Fig. 4 is a kind of module diagram of coding module in the embodiment of the present invention;
Fig. 5 is the module diagram of identifier generating means 3rd embodiment of the present invention;
Fig. 6 is the module diagram of identifier generating means fourth embodiment of the present invention;
Fig. 7 is the flow diagram of identifier generation method first embodiment of the present invention;
Fig. 8 be the embodiment of the present invention in the starting time and IP address are encoded, after being encoded described in open A kind of flow diagram of dynamic time and IP address;
Fig. 9 is the flow diagram of identifier generation method 3rd embodiment of the present invention;
Figure 10 is the flow diagram of identifier generation method fourth embodiment of the present invention;
Figure 11 is the flow diagram of the 5th embodiment of identifier generation method of the present invention.
The realization, the function and the advantages of the object of the present invention will be explained referring to attached drawing in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Mobile terminal 100 may include user input unit 130, memory 160, interface unit 170,180 and of controller Power supply unit 190 etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing institute There is the component shown.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals 100 At least one of.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition Location information.It substitutes GPS tracking technique or except GPS tracking technique, the position that can track mobile terminal can be used The other technologies set.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
It is the module diagram of identifier generating means first embodiment of the present invention referring to Fig. 3, Fig. 3.
It is emphasized that it will be apparent to those skilled in the art that module map shown in Fig. 3 is only a preferred embodiment Exemplary diagram, those skilled in the art surround identifier generating means shown in Fig. 3 module, new module can be carried out easily Supplement;The title of each module is self-defined title, is only used for each program function that auxiliary understands the identifier generating means Block is not used in restriction technical solution of the present invention, and the core of technical solution of the present invention is that the module of each self-defined title to be reached At function.
The present embodiment proposes that a kind of identifier generating means, identifier generating means include:
Module 10 is obtained, it is preparatory for obtaining when receiving the access request applied in current accessed application server The iso-ip Internetworking protocol ISO-IP IP address of the starting time and application server of the application of storage;
Coding module 20, for being encoded to starting time and IP address, the starting time and IP after being encoded Location;
When receiving the access request applied in current accessed application server, acquisition module 10 obtains pre-stored IP (Internet Protocol, iso-ip Internetworking protocol ISO-IP) address of the starting time and the application server of the application.Wherein, The access request sends sequence of operations request, such as inquiry request, browse request to application server for user.IP address is A kind of unified address format that IP agreement provides, it on internet each network and each host assignment one patrol Address is collected, the difference of physical address is shielded with this.It should be noted that being mounted with that one or more is answered in application server With the IP address of each application in the same application server is consistent.It is understood that in the present embodiment, answering It can be understood as a terminal with server, the difference that the application installed in application server can be understood as installing in terminal is answered With, such as Taobao, Netease's news.
When acquisition module 10 gets IP address and the starting time for the application for receiving access request of application server When, IP address acquired in 20 pairs of acquisition modules 10 of coding module and starting time encode, to shorten the IP address and open The length of dynamic time character, starting time and IP address after being encoded.
It obtains module 10 and is also used to obtain the variable in an access request identifier, change variable pair according to preset rules The value answered obtains new variable;
IP address after obtaining coding obtains module 10 and obtains in upper access request identifier with after the starting time Variable, and change the corresponding value of the variable according to preset rules, obtain new variable.It should be noted that the variable can be managed Solution is an ID from increasing.Preset rules are after receiving access request every time, to get in an access request identifier When variable, the changing rule of value corresponding to the variable.Such as the value of the variable is increased by one every time, perhaps increase by two or subtracted Small corresponding numerical value etc..In the present embodiment, this is got every time from ID is increased, and will can all increase certainly the corresponding value of ID plus one, with Increase ID certainly to new.
Further, it is contemplated that the environment of multithreading, i.e., when receiving the access request of multiple users simultaneously, using thread The long of safety indicates the variable, so that per thread can obtain different variables, even if each access request is corresponding It is different from increasing ID.Wherein, long is a kind of manifestation mode of data type in programming, usually indicates long with long Integer, long indicate 64 integers of symbol, and range is -2^63 to 2^63-1Int64, and unsigned long indicates no symbol Number 64 integers, range is 0-2^64 to 1 UInt64.
Such as in Java, " private static AtomicLong lastId=new AtomicLong () is used;" Carry out the statement of the variable.
Splicing module 30, for by after new variable, coding the starting time and IP address splice, with generate access The identifier of request.
After obtaining new variable, splicing module 30 by after new variable, the coding the starting time and IP address into Row splicing, the resulting result of the splicing is identifier corresponding to the access request, and application clothes are contained in the identifier The IP address of business device and starting time, while a unique variable is further comprised, which can uniquely distinguish the access Request, it can by the identifier, determine application server corresponding to the access request, and determine the access request institute Corresponding application, while can be distinguished by the identifier with the different access request in an application.And in distributed environment, Due to the IP address containing application server in the identifier, application service belonging to each access request can be distinguished Device.When some access request in distributed system breaks down, which can be determined by the identifier of the access request Application server belonging to request is asked, in order to carry out malfunction elimination.Meanwhile in distributed environment, asked by different access Corresponding identifier is sought, determines the corresponding access request of each application server, is convenient for data analysis.To solve to make When using identifier of the UUID as access request, application service belonging to each access request not can determine that in distributed environment The problem of device.
Further, the letter such as host number of application server can also be added as needed in the process for generating identifier Breath.
It should be noted that in the starting time and IP address progress splicing after new variable, coding, new The sequencing spliced between starting time and IP address three after variable, coding can according to need and be arranged, such as can be with It is set as new variable in front, IP address of the starting time behind centre, coding after coding is later;Or it is set as compiling Time after code, IP address of the new variable behind centre, coding was later in front.
In the present embodiment, the identifier for not needing to obtain strong generating random number access request improves generation access The rate of request identifier.By test it is found that generating a thousands of times UUID averagely needs time-consuming 7 seconds, and by new variable, The identifier that starting time and IP address after coding generate access request only needs 1.2 seconds.
The present embodiment is by when receiving the access request applied in current accessed application server, to pre-stored The starting time of application and the IP address of application server are encoded, starting time and IP address after being encoded, and are pressed Change the corresponding value of variable in acquired upper access request identifier according to preset rules, obtains new variable, it will be new Starting time and IP address after variable, coding are spliced, and the identifier of access request is generated.Shorten the mark of access request Know the length of symbol and the generation time of identifier, improves the performance of the identifier of access request.
Further, identifier generating means second embodiment of the present invention is proposed.
Identifier generating means second embodiment and the difference of identifier generating means first embodiment be, referring to Fig. 4, Coding module 20 includes:
First converting unit 21 is converted to 16 systems according to corresponding coding rule for that will start time and IP address Number;
Second converting unit 22, the starting for the number of 16 systems to be converted to the number of 64 systems, after being encoded Time and IP address.
It should be noted that IP address is one 32 binary numbers, it is usually divided into 4 " 8 bits " (namely 4 bytes).IP address is usually expressed as the form of (a.b.c.d) with " dotted decimal notation ", wherein a, b, c, d are It is the decimal integer between 0~255, as IP address is represented by 255.255.255.255.
When acquisition module 10 gets the IP address of application server, according to the coding rule of coding IP address to the IP The process that address is encoded are as follows: 4 " 8 bits " obtained in IP address can specifically be distinguished by decimal point 4 in IP address " 8 bit ", to obtain 4 in the IP address " 8 bits ".When obtaining in IP address When " 8 bit ", each " 8 bit " is converted to 2 16 system numbers by the first converting unit 21, is obtained and is somebody's turn to do Corresponding 16 system number of IP address.As being 255.255.255.255 when the IP address, after being encoded to the IP address, gained 16 system numbers corresponding with the IP address are FFFFFFFF.Then the second converting unit 22 will 16 systems corresponding with the IP address The IP address to get 64 systems to the IP address of 64 systems, are changed that number is converted to 64 system numbers is the IP address after encoding, that is, is used A-z, A-Z and this 64 characters of "-" indicate IP address.The character length of the IP address obtained by the coding rule is shorter than adopted IP address is obtained with Base64 coding mode.
When the starting time for getting application server, when encoding the starting according to coding rule corresponding with the starting time Between.It should be noted that in the present embodiment, the starting time of application server is the timestamp of a long, the time Stamp contains year, month, day, hour, min, second and the millisecond of application server starting time, i.e., the acquired starting time specific to Year, month, day, hour, min, second and the millisecond of application server starting.It should according to coding rule coding corresponding with the starting time Start time detailed process are as follows: the timestamp for starting the time is converted to the timestamp of 16 systems by the first converting unit 21, then The timestamp of 16 systems is converted to the timestamp of 64 systems by the second converting unit 22, when obtaining the starting indicated with 64 system numbers Between.
The present embodiment is converted into 64 by the starting time that will be applied in the IP address of application server and application server System number indicates, shortens IP address and starts the length of time character, improves the speed for generating the identifier of access request Rate.
Further, identifier generating means 3rd embodiment of the present invention is proposed.
Identifier generating means 3rd embodiment and the difference of identifier generating means first embodiment be, referring to Fig. 5, Identifier generating means further include:
Setup module 40, for the starting time after the separator and new variable, coding of identifier and IP address to be arranged Splicing sequence;
Splicing module 30 be also used to according to separator and splicing sequence by after new variable, coding starting time and IP Location is spliced, to generate the identifier of access request.
After the IP address after being encoded, the starting time after coding and new variable, the setting of setup module 40 should The splicing sequence of starting time and IP address after the separator of access request identifier and new variable, the coding.Specifically Ground, the separator of identifier can be decimal point or other symbols that can distinguish different data, such as pause mark.New variable, Splicing sequence between starting time and IP address three after coding can according to need and be arranged.
To after new variable, coding the starting time and IP address three spliced to obtain the mark of access request Fu Shi, splicing module 30 according to separator and splicing sequence by after new variable, coding the starting time and IP address spell It connects, to generate the identifier of the access request.Such as when separator is " ", new variable is A, and the IP address after coding is B, is compiled The starting time after code is C, and when splicing sequence is BAC, resulting identifier is " B.A.C ".
The present embodiment passes through the splicing according to the starting time and IP address after set separator and new variable, coding It is sequentially generated the identifier of access request, improves the readability of identifier generated, while can also quickly determine access Application server belonging to requesting and corresponding application.
Further, identifier generating means fourth embodiment of the present invention is proposed.
Identifier generating means fourth embodiment and the difference of identifier generating means first embodiment be, referring to Fig. 6, It obtains module 10 and is also used to obtain the corresponding operational order of access request, determine the number of the corresponding operational order of access request;
Identifier generating means further include memory module 50, if at least corresponding to two operational orders for access request, Then according to the identifier of access request, the corresponding log of each operational order is subjected to series connection storage.
When obtaining module 10 and getting the access request for accessing application server, behaviour corresponding to the access request is obtained It instructs, determines the number of the corresponding operational order of the access request.If the access request only corresponds to an operational order, deposit Storage module 50 then directly stores the log of the corresponding operational order of the access request.If the access request at least corresponds to two behaviour It instructs, the corresponding log of each operational order then according to the identifier of the access request, is carried out series connection and deposited by memory module 50 Storage.If certain user has sent an access request to application server by mobile terminal, 5 times are contained in the access request and is looked into Operation is ask, then passes through the identifier of the unique identification access request, this corresponding log of 5 inquiry operations is subjected to series connection and is deposited Storage, i.e., carry out series connection storage for the inquiry operation containing identical identifier, so that the subsequent access in the application server is asked Seek carry out log analysis.
The present embodiment is by going here and there log corresponding to the corresponding multiple operational orders of access request according to identifier Connection storage can be quickly found out corresponding to different access request for subsequent during carrying out log analysis to access request Log, improve to access request carry out log analysis efficiency.
Further, the 5th embodiment of identifier generating means of the present invention is proposed.
The 5th embodiment of identifier generating means and the difference of identifier generating means first embodiment be, referring to Fig. 3, It obtains module 10 to be also used to when detecting the start-up operation applied in application server, obtains starting time and the application of application The IP address of server, and store starting time and IP address.
When detecting the start-up operation applied in application server, obtain module 10 obtain the application the starting time and The IP address of application server where the application.Application service where the starting time and the application for getting the application After the IP address of device, acquired IP address and starting time are stored.It wherein, can when obtaining the IP address of application server With the difference of the compiler language according to used in the application server, method corresponding with the compiler language is taken to obtain the application The IP address of server.
Such as in Java, the IP address of the application server can be obtained by NetworkInterface interface, had Body is that NetworkInterface object set is obtained by NetworkInterface.getNetworkInterfaces () It closes, then traverses each NetworkInterface in the set, obtained by getInetAddresses method InetAddress set, screens qualified InetAddress object.In screening process, including filtering Intranet InetAddress object and local InetAddress object.Under normal conditions, only have one it is qualified InetAddress object, it is then available qualified InetAddress pairs current by getHostAddress method The IP address of elephant.Above-mentioned InetAddress object refers to encapsulation of the Java to IP address, its instance objects include with number The IP address that form saves, while may also contain host name.It is IP address that InetAddress class, which is provided hostname resolution, Method.NetworkInterface class refers to the class that Java is provided, institute in the available application server of this class The Logical Network Interface that the softwares such as some physical network interfaces and virtual machine are created using the physical network interface of application server Information.And NetworkInterface object set refers to that the network of all physics of the application server and logic connects Mouthful.
In the starting time course for obtaining the application, it can be applied in start-up course, be obtained at this by static variable When the starting time of the application, i.e., when obtaining the starting of the application when application initialization by static variable Between.For example, in Java, by using " private static final Long startTimeStamp= System.currentTimeMillis();" obtain the starting time applied.
The present embodiment starts the time by obtaining it when application starts, and obtains the IP address of application server, and deposit Storage acquired starting time and IP address so that in being subsequently generated identifier process, do not need to go to obtain again IP address and Start the time, improves the generating rate of access request identifier.
The present invention also provides a kind of identifier generation methods.
It is the flow diagram of identifier generation method first embodiment of the present invention referring to Fig. 7, Fig. 7.
The present embodiment proposes that a kind of identifier generation method, identifier generation method include:
Step S10 obtains pre-stored answer when receiving the access request applied in current accessed application server Start the iso-ip Internetworking protocol ISO-IP IP address of time and application server;
Step S20 encodes starting time and IP address, the starting time and IP address after being encoded;
When receiving the access request applied in current accessed application server, opening for the pre-stored application is obtained IP (Internet Protocol, iso-ip Internetworking protocol ISO-IP) address of dynamic time and the application server.Wherein, the access request Sequence of operations request, such as inquiry request, browse request are sent to application server for user.IP address is that IP agreement provides A kind of unified address format, it is one logical address of each network and each host assignment on internet, with This difference to shield physical address.It should be noted that one or more application is mounted in application server, it is same The IP address of each application in application server is consistent.It is understood that in the present embodiment, application server can To be interpreted as a terminal, installed in application server application can be understood as the different application installed in terminal, as Taobao, Netease's news etc..
When the starting time of the IP address and the application for receiving access request that get application server, to acquired IP address and starting the time encoded, with shorten the IP address and start time character length, opening after being encoded Dynamic time and IP address.
Step S30 obtains the variable in upper access request identifier, changes the corresponding value of variable according to preset rules, Obtain new variable;
IP address after obtaining coding obtains the variable in upper access request identifier, and press with after the starting time Change the corresponding value of the variable according to preset rules, obtains new variable.It should be noted that the variable can be understood as one certainly The ID of increasing.After preset rules is receive access request every time, when getting the variable in an access request identifier, the change The changing rule of the corresponding value of amount.Such as the value of the variable is increased by one every time, perhaps increase by two or reduces corresponding numerical value Deng.In the present embodiment, this is got every time from increasing ID, will can all increase certainly the corresponding value of ID plus one, to obtain new increasing ID certainly.
Further, it is contemplated that the environment of multithreading, i.e., when receiving the access request of multiple users simultaneously, using thread The long of safety indicates the variable, so that per thread can obtain different variables, even if each access request is corresponding It is different from increasing ID.Wherein, long is a kind of manifestation mode of data type in programming, usually indicates long with long Integer, long indicate 64 integers of symbol, and range is -2^63 to 2^63-1Int64, and unsigned long indicates no symbol Number 64 integers, range is 0-2^64 to 1 UInt64.
Such as in Java, " private static AtomicLong lastId=new AtomicLong () is used;" Carry out the statement of the variable.
Step S40, by after new variable, coding the starting time and IP address splice, to generate access request Identifier.
After obtaining new variable, by after new variable, the coding the starting time and IP address splice, the spelling Connecing resulting result is identifier corresponding to the access request, and the IP address of the application server is contained in the identifier With the starting time, while a unique variable is further comprised, which can uniquely distinguish the access request, it can logical The identifier is crossed, determines application server corresponding to the access request, and determine application corresponding to the access request, together When by the identifier can distinguish with one application in different access request.And in distributed environment, due to the identifier In the IP address containing application server, therefore application server belonging to each access request can be distinguished.When distribution is When some access request in system breaks down, it can be determined by the identifier of the access request and be answered belonging to the access request With server, in order to carry out malfunction elimination.Meanwhile in distributed environment, pass through the corresponding mark of different access request Symbol, determines the corresponding access request of each application server, is convenient for data analysis.Using solve use UUID as access When the identifier of request, the problem of not can determine that application server belonging to each access request in distributed environment.
It should be noted that in the starting time and IP address progress splicing after new variable, coding, new The sequencing spliced between starting time and IP address three after variable, coding can according to need and be arranged, such as can be with It is set as new variable in front, IP address of the starting time behind centre, coding after coding is later;Or it is set as compiling Time after code, IP address of the new variable behind centre, coding was later in front.
In the present embodiment, the identifier for not needing to obtain strong generating random number access request improves generation access The rate of request identifier.By test it is found that generating a thousands of times UUID averagely needs time-consuming 7 seconds, and by new variable, The identifier that starting time and IP address after coding generate access request only needs 1.2 seconds.
The present embodiment is by when receiving the access request applied in current accessed application server, to pre-stored The starting time of application and the IP address of application server are encoded, starting time and IP address after being encoded, and are pressed Change the corresponding value of variable in acquired upper access request identifier according to preset rules, obtains new variable, it will be new Starting time and IP address after variable, coding are spliced, and the identifier of access request is generated.Shorten the mark of access request Know the length of symbol and the generation time of identifier, improves the performance of the identifier of access request.
Further, identifier generation method second embodiment of the present invention is proposed.
Identifier generation method second embodiment and the difference of identifier generation method first embodiment be, referring to Fig. 8, Step S20 includes:
Starting time and IP address are converted to the number of 16 systems by step S21 according to corresponding coding rule;
The number of 16 systems is converted to the number of 64 systems by step S22, the starting time and IP after being encoded Location.
It should be noted that IP address is one 32 binary numbers, it is usually divided into 4 " 8 bits " (namely 4 bytes).IP address is usually expressed as the form of (a.b.c.d) with " dotted decimal notation ", wherein a, b, c, d are It is the decimal integer between 0~255, as IP address is represented by 255.255.255.255.
When getting the IP address of application server, the IP address is compiled according to the coding rule of coding IP address The process of code are as follows: obtain 4 " 8 bits " in IP address, specifically, can be distinguished 4 in IP address by decimal point A " 8 bit ", to obtain 4 in the IP address " 8 bits ".When obtaining " 8 binary systems in IP address When number ", each " 8 bit " is converted to 2 16 system numbers, obtains 16 system numbers corresponding with the IP address.Such as When the IP address is 255.255.255.255, after being encoded to the IP address, gained 16 system numbers corresponding with the IP address For FFFFFFFF.Then 16 system numbers corresponding with the IP address are converted into 64 system numbers to get to the IP address of 64 systems, IP address after changing the IP address as coding of 64 systems, i.e., indicate IP address with a-z, A-Z and this 64 characters of "-".It is logical The character length for crossing the IP address that the coding rule obtains shorter than uses Base64 coding mode to obtain IP address.
When the starting time for getting application server, when encoding the starting according to coding rule corresponding with the starting time Between.It should be noted that in the present embodiment, the starting time of application server is the timestamp of a long, the time Stamp contains year, month, day, hour, min, second and the millisecond of application server starting time, i.e., the acquired starting time specific to Year, month, day, hour, min, second and the millisecond of application server starting.It should according to coding rule coding corresponding with the starting time Start time detailed process are as follows: the timestamp for starting the time is converted to the timestamp of 16 systems, then by the time of 16 systems Stamp is converted to the timestamp of 64 systems, obtains the starting time indicated with 64 system numbers.
The present embodiment is converted into 64 by the starting time that will be applied in the IP address of application server and application server System number indicates, shortens IP address and starts the length of time character, improves the speed for generating the identifier of access request Rate.
Further, identifier generation method 3rd embodiment of the present invention is proposed.
Identifier generation method 3rd embodiment and the difference of identifier generation method first embodiment be, referring to Fig. 9, Identifier generation method further include:
Step S50, is arranged the separator of identifier and the splicing of starting time and IP address after new variable, coding are suitable Sequence;
Step S40 includes step S41, according to separator and splicing sequence by after new variable, coding the starting time and IP address is spliced, to generate the identifier of access request.
After the IP address after being encoded, the starting time after coding and new variable, which is set The splicing sequence of starting time and IP address after knowing the separator and new variable, the coding of symbol.Specifically, identifier Separator can be decimal point or other symbols that can distinguish different data, such as pause mark.Opening after new variable, coding Splicing sequence between dynamic time and IP address three can according to need and be arranged.
To after new variable, coding the starting time and IP address three spliced to obtain the mark of access request Fu Shi, according to separator and splicing sequence by after new variable, coding the starting time and IP address splice, with generate should The identifier of access request.Such as when separator is " ", new variable is A, and the IP address after coding is B, when starting after coding Between be C, for splicing sequence when being BAC, resulting identifier is " B.A.C ".
The present embodiment passes through the splicing according to the starting time and IP address after set separator and new variable, coding It is sequentially generated the identifier of access request, improves the readability of identifier generated, while can also quickly determine access Application server belonging to requesting and corresponding application.
Further, identifier generation method fourth embodiment of the present invention is proposed.
Identifier generation method fourth embodiment and the difference of identifier generation method first embodiment are, referring to figure 10, identifier generation method further include:
Step S60 obtains the corresponding operational order of access request, determines the number of the corresponding operational order of access request;
Step S70, will be each according to the identifier of access request if access request at least corresponds to two operational orders The corresponding log of a operational order carries out series connection storage.
When getting the access request of access application server, operational order corresponding to the access request is obtained, really The number of the fixed corresponding operational order of the access request.If the access request only corresponds to an operational order, directly store The log of the corresponding operational order of the access request.If the access request at least corresponds to two operational orders, according to the visit The corresponding log of each operational order is carried out series connection storage by the identifier for asking request.As certain user by mobile terminal to answering An access request is had sent with server, 5 inquiry operations are contained in the access request, then passes through the unique identification access This corresponding log of 5 inquiry operations is carried out series connection storage, i.e., grasped the inquiry containing identical identifier by the identifier of request Series connection storage is carried out, so that the subsequent access request in the application server carries out log analysis.
The present embodiment is by going here and there log corresponding to the corresponding multiple operational orders of access request according to identifier Connection storage can be quickly found out corresponding to different access request for subsequent during carrying out log analysis to access request Log, improve to access request carry out log analysis efficiency.
Further, the 5th embodiment of identifier generation method of the present invention is proposed.
The 5th embodiment of identifier generation method and the difference of identifier generation method first embodiment are, referring to figure 11, identifier generation method further include:
Step S80 obtains starting time and the application of application when detecting the start-up operation applied in application server The IP address of server, and store starting time and IP address.
When detecting the start-up operation applied in application server, starting time and the application place of the application are obtained Application server IP address.When the IP address of the application server where the starting time and the application for getting the application Afterwards, acquired IP address and starting time are stored.Wherein, it when obtaining the IP address of application server, can be answered according to this The difference of the compiler language used in server takes method corresponding with the compiler language to obtain the IP of the application server Address.
Such as in Java, the IP address of the application server can be obtained by NetworkInterface interface, had Body is that NetworkInterface object set is obtained by NetworkInterface.getNetworkInterfaces () It closes, then traverses each NetworkInterface in the set, obtained by getInetAddresses method InetAddress set, screens qualified InetAddress object.In screening process, including filtering Intranet InetAddress object and local InetAddress object.Under normal conditions, only have one it is qualified InetAddress object, it is then available qualified InetAddress pairs current by getHostAddress method The IP address of elephant.Above-mentioned InetAddress object refers to encapsulation of the Java to IP address, its instance objects include with number The IP address that form saves, while may also contain host name.It is IP address that InetAddress class, which is provided hostname resolution, Method.NetworkInterface class refers to the class that Java is provided, institute in the available application server of this class The Logical Network Interface that the softwares such as some physical network interfaces and virtual machine are created using the physical network interface of application server Information.And NetworkInterface object set refers to that the network of all physics of the application server and logic connects Mouthful.
In the starting time course for obtaining the application, it can be applied in start-up course, be obtained at this by static variable When the starting time of the application, i.e., when obtaining the starting of the application when application initialization by static variable Between.For example, in Java, by using " private static final Long startTimeStamp= System.currentTimeMillis();" obtain the starting time applied.
The present embodiment starts the time by obtaining it when application starts, and obtains the IP address of application server, and deposit Storage acquired starting time and IP address so that in being subsequently generated identifier process, do not need to go to obtain again IP address and Start the time, improves the generating rate of access request identifier.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of identifier generating means, which is characterized in that the identifier generating means include:
Module is obtained, for obtaining pre-stored when receiving the access request applied in current accessed application server The iso-ip Internetworking protocol ISO-IP IP address of the starting time and the application server of the application;
Coding module, the starting time and IP for being encoded to the starting time and IP address, after being encoded Address;
The acquisition module is also used to obtain the variable in an access request identifier, changes the variable according to preset rules Corresponding value obtains new variable;
Splicing module, for by after the new variable, coding the starting time and IP address splice, to generate State the identifier of access request;
The acquisition module is also used to obtain the application when detecting the start-up operation applied in the application server Start the IP address of time and the application server, and stores the starting time and IP address.
2. identifier generating means as described in claim 1, which is characterized in that the coding module includes:
First converting unit, for the starting time and IP address to be converted to the number of 16 systems according to corresponding coding rule Word;
Second converting unit, for the number of 16 system to be converted to the number of 64 systems, described after being encoded is opened Dynamic time and IP address.
3. identifier generating means as described in claim 1, which is characterized in that the identifier generating means further include:
Setup module, for be arranged the starting time after the separator and the new variable, coding of the identifier and The splicing sequence of IP address;
The splicing module is also used to will be described in after the new variable, coding according to the separator and splicing sequence Starting time and IP address are spliced, to generate the identifier of the access request.
4. identifier generating means as described in claim 1, which is characterized in that the acquisition module is also used to obtain the visit It asks request corresponding operational order, determines the number of the corresponding operational order of the access request;
The identifier generating means further include memory module, are referred to if at least corresponding to two operations for the access request It enables, then according to the identifier of the access request, the corresponding log of each operational order is subjected to series connection storage.
5. a kind of identifier generation method, which is characterized in that the identifier generation method includes:
When detecting the start-up operation applied in application server, obtain the application the starting time and the application service The iso-ip Internetworking protocol ISO-IP IP address of device, and store the starting time and IP address;
When receiving the access request applied in application server described in current accessed, the pre-stored application is obtained Start the IP address of time and the application server;
The starting time and IP address are encoded, the starting time and IP address after being encoded;
The variable in upper access request identifier is obtained, changes the corresponding value of the variable according to preset rules, obtains new Variable;
By after the new variable, coding the starting time and IP address splice, to generate the access request Identifier.
6. identifier generation method as claimed in claim 5, which is characterized in that it is described to the starting time and IP address into The step of row coding, starting time after being encoded and IP address includes:
The starting time and IP address are converted to the number of 16 systems according to corresponding coding rule;
The number that the number of 16 system is converted to 64 systems, the starting time and IP address after being encoded.
7. identifier generation method as claimed in claim 5, which is characterized in that in the acquisition in an access request identifier Variable, after the step of changing the corresponding value of the variable according to preset rules, obtain new variable, further includes:
The separator of the identifier is set and the splicing of the starting time and IP address after the new variable, coding are suitable Sequence;
The starting time and IP address by after the new variable, coding splices, and is asked with generating the access The step of identifier asked includes:
According to the separator and the splicing sequence by after the new variable, coding the starting time and IP address into Row splicing, to generate the identifier of the access request.
8. identifier generation method as claimed in claim 5, which is characterized in that it is described will be after the new variable, coding After the step of starting time and IP address are spliced, identifier to generate the access request, further includes:
The corresponding operational order of the access request is obtained, determines the number of the corresponding operational order of the access request;
If the access request at least corresponds to two operational orders, according to the identifier of the access request, by each behaviour Make that corresponding log is instructed to carry out series connection storage.
CN201610649726.7A 2016-08-09 2016-08-09 Identifier generating means and method Active CN106331055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610649726.7A CN106331055B (en) 2016-08-09 2016-08-09 Identifier generating means and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610649726.7A CN106331055B (en) 2016-08-09 2016-08-09 Identifier generating means and method

Publications (2)

Publication Number Publication Date
CN106331055A CN106331055A (en) 2017-01-11
CN106331055B true CN106331055B (en) 2019-08-16

Family

ID=57740680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610649726.7A Active CN106331055B (en) 2016-08-09 2016-08-09 Identifier generating means and method

Country Status (1)

Country Link
CN (1) CN106331055B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255708B (en) * 2017-12-14 2021-05-07 海尔优家智能科技(北京)有限公司 Method, device, storage medium and equipment for accessing production file in test environment
CN108647193B (en) * 2018-04-20 2021-11-19 河南中烟工业有限责任公司 Unique identifier generation method and device applicable to distributed system
CN109286493A (en) * 2018-11-27 2019-01-29 浙江万朋教育科技股份有限公司 It is a kind of that ip in local area network is generated into 6 random character encipher-decipher methods
CN109474698A (en) * 2018-12-14 2019-03-15 平安城市建设科技(深圳)有限公司 Access request labeling method, device, equipment and storage medium
CN111371918A (en) * 2020-02-28 2020-07-03 上海钧正网络科技有限公司 ID generation method, device, medium and equipment in distributed cluster environment
CN112817976B (en) * 2021-01-26 2024-04-05 广州欢网科技有限责任公司 ID generation method, system, computer and readable instruction storage medium
CN115686759B (en) * 2023-01-04 2023-04-07 恒丰银行股份有限公司 Method and system for calculating unique identification code of virtual machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401957A (en) * 2013-08-07 2013-11-20 五八同城信息技术有限公司 Method for identifying client machine uniquely in web environment
CN104378379A (en) * 2014-11-26 2015-02-25 北京奇艺世纪科技有限公司 Encryption transmission method, equipment and system for digital content
CN105404953A (en) * 2015-10-23 2016-03-16 努比亚技术有限公司 Identification generation method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401957A (en) * 2013-08-07 2013-11-20 五八同城信息技术有限公司 Method for identifying client machine uniquely in web environment
CN104378379A (en) * 2014-11-26 2015-02-25 北京奇艺世纪科技有限公司 Encryption transmission method, equipment and system for digital content
CN105404953A (en) * 2015-10-23 2016-03-16 努比亚技术有限公司 Identification generation method and apparatus

Also Published As

Publication number Publication date
CN106331055A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN106331055B (en) Identifier generating means and method
CN105302587B (en) Data-updating method and device
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
CN106599875A (en) Fingerprint identification device and method
CN106055328B (en) For the subject replacement device and method of third-party application
CN102783121A (en) Communications device
CN106648369A (en) Switching device and method for application program
CN105681561B (en) Ad blocking device and method
CN105718405B (en) The method that the USB interface of mobile terminal and its processor is multiplexed
CN106375962A (en) Network searching method and mobile terminal
CN106657611A (en) Device and method for changing application theme
CN106453939A (en) Streaming media access method and apparatus
CN106873936A (en) Electronic equipment and information processing method
CN106293738A (en) The update method of a kind of facial expression image and device
CN106331767A (en) Data error correcting processing method, terminal, server, and system
CN106528576A (en) Page search method and system, and terminal
CN108345606A (en) The acquisition methods and device of web page resources
CN105792181B (en) A kind of data migration method of analog card, mobile terminal and TSM platform
CN105682083B (en) A kind of communication means of mobile terminal and duplex MODEM system
CN106897135A (en) Restoration methods and device after a kind of application interruption
CN104182331A (en) Browser performance test method, browser performance test system and terminal
CN106169966A (en) Wireless Test Toolset configuration device and method
CN106055214A (en) Method and device for evaluation processing of application software
CN114327453B (en) Page display method, device, equipment and storage medium
CN105657732B (en) Mobile terminal and its method for upgrading system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant