Identification generation method and device

A technology of identification and business identification, applied in the Internet field, can solve the problems of low log analysis efficiency, unfavorable log storage and transmission, long number of bits, etc., and achieve the effect of improving log analysis efficiency

Active Publication Date: 2017-10-03
BEIJING XIAODU INFORMATION TECH CO LTD
View PDF8 Cites 44 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when using UUID as a log identifier, on the one hand, because UUID requires 128 binary bits, the number of digits is long, which is not conducive to the storage and transmission of logs; on the other hand, the purpose of analyzing logs mainly includes monitoring various business in th

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Identification generation method and device
  • Identification generation method and device
  • Identification generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the conte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides an identification generation method and an identification generation device. The method comprises the steps of in response to initiation of a service process, acquiring a service identification number and a process identification number which correspond to the service process, wherein the service identification numbers of different services are different, and the process identification numbers of different processes of the same service are different; in response to the service process, receiving a data processing request, and determining a current timestamp; determining an auto-increment serial number corresponding to the data processing request in combination with the timestamp; and generating log identification which corresponds to the data processing request according to the timestamp, the service identification number, the process identification number and the auto-increment serial number. As the log identification includes the service identification and the process identification, logs generated by a lot of service processes in a server can be uniquely identified; and when the problem of abnormal running of a certain service needs to be checked, the log corresponding to the service can be rapidly located, and the log analysis efficiency for the log is improved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a method and device for generating a logo. Background technique [0002] In the Internet industry, a server will generate a log when it is running. The log is the main basis for checking the running status of the server and troubleshooting the abnormal operation of the server. [0003] When each log is generated, a unique identifier needs to be assigned to each log. A commonly used solution for generating a unique identifier is to generate a unique identifier based on a Universally Unique Identifier (UUID for short). However, when using UUID as a log identifier, on the one hand, because UUID requires 128 binary bits, the number of digits is long, which is not conducive to the storage and transmission of logs; on the other hand, the purpose of analyzing logs mainly includes monitoring various business in the server In order to detect and deal with abnormal situatio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/34G06F11/30
CPCG06F11/3065G06F11/3476G06F2201/835
Inventor 石兵
Owner BEIJING XIAODU INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products