CN108415925A - Electronic device, data call daily record generation and querying method and storage medium - Google Patents

Electronic device, data call daily record generation and querying method and storage medium Download PDF

Info

Publication number
CN108415925A
CN108415925A CN201810024107.8A CN201810024107A CN108415925A CN 108415925 A CN108415925 A CN 108415925A CN 201810024107 A CN201810024107 A CN 201810024107A CN 108415925 A CN108415925 A CN 108415925A
Authority
CN
China
Prior art keywords
daily record
calling
identification code
record identification
page
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.)
Granted
Application number
CN201810024107.8A
Other languages
Chinese (zh)
Other versions
CN108415925B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810024107.8A priority Critical patent/CN108415925B/en
Priority to PCT/CN2018/077629 priority patent/WO2019136812A1/en
Publication of CN108415925A publication Critical patent/CN108415925A/en
Application granted granted Critical
Publication of CN108415925B publication Critical patent/CN108415925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of electronic device, data call daily record generation and querying method and storage mediums, by after the request for receiving the calling data that operation system is sent out, the corresponding daily record identification code of calling daily record generated when generating the response request call data according to predetermined calling daily record identification code create-rule, and the mapping relations called between daily record and daily record identification code are generated, the mapping relations are stored in predetermined database;After receiving the calling log query instruction with daily record identification parameter that user terminal is sent, according to the mapping relations between pre-stored calling daily record and daily record identification code, it determines daily record identification code corresponding with the daily record identification parameter and calls daily record, and the calling daily record determined is returned into the user terminal.The efficiency for improving data query reduces the time of abnormality processing.

Description

Electronic device, data call daily record generation and querying method and storage medium
Technical field
The present invention relates to a kind of mutual data management field more particularly to electronic device, data call daily record generation and issuer Method and storage medium.
Background technology
The calling service data of all business departments of monitor supervision platform real time monitoring intra-company are administered in enterprises service, once hair Existing abnormal data then needs the calling daily record for inquiring the abnormal data in time and is carried out according to the calling daily record inquired abnormal Processing.Currently, monitor supervision platform is administered in enterprises service passes through keyword and the storage time of data to be checked (as unit of minute) Database progress subregion is indexed to position the calling daily record of abnormal data, this positioning calls the mode of daily record to need to expend The time of minute grade, and it is susceptible to query page response timeout when calling data volume larger, or even will appear query calls The phenomenon that daily record fails causes processing abnormality processing efficiency low, wastes a large amount of time.
Invention content
In view of this, a kind of electronic device of present invention proposition, data generate daily record generation and querying method and storage medium, The efficiency of data query can be improved.First, to achieve the above object, the present invention proposes a kind of electronic device, the electronics dress Set the processor being connect including memory and with the memory, the processor is used to executing to be stored on the memory Data call daily record generation and polling routine, it is real when the data call daily record generation and polling routine are executed by the processor Existing following steps:
A1, after the request for receiving the calling data that operation system is sent out, according to predetermined calling daily record identification code Create-rule generates the corresponding daily record identification code of calling daily record for responding and being generated when the request call data;
A2, the mapping relations called between daily record and daily record identification code are generated, the mapping relations is stored in advance In determining database;
A3, after receiving the calling log query instruction with daily record identification parameter that user terminal sends, according to pre- What is first stored calls the mapping relations between daily record and daily record identification code, determines daily record corresponding with the daily record identification parameter Identification code and calling daily record, and the calling daily record determined is returned into the user terminal..
Further, the daily record identification code include system identification coding, at the first time and the first number of requests, it is described Step A3 includes:
After receiving the calling log query instruction with daily record identification parameter that user terminal sends, from it is described in advance In determining database, searches element and go out the daily record identification code including matching with the daily record identification parameter, the daily record identification Code parameter includes system identification coding and temporal information;
The every page of display of first number of requests and predetermined user interface for including according to the daily record identification code Number of data, calculate the daily record identification that the user interface needs page number to be shown and every page of page to separately include Code;
According to the daily record identification code and the mapping relations for calling daily record, the daily record that every page of page includes is obtained respectively The calling daily record of acquisition is returned to the client by the corresponding calling daily record of identification code.
Further, the daily record identification code includes system identification coding, the second time and the second number of requests, described Step A3 includes:
After receiving the calling log query instruction with daily record identification parameter that user terminal sends, from it is described in advance In determining database, searches element and go out the daily record identification code including matching with the daily record identification parameter, the daily record identification Code parameter includes system identification coding and temporal information;
The every page of display of second number of requests and predetermined user interface for including according to the daily record identification code Number of data, calculate the daily record identification that the user interface needs page number to be shown and every page of page to separately include Code;
According to the daily record identification code and the mapping relations for calling daily record, the daily record that every page of page includes is obtained respectively The calling daily record of acquisition is returned to the client by the corresponding calling daily record of identification code.
Further, the predetermined calling daily record identification code create-rule includes:
It obtains the first time for receiving the request for calling data and the predetermined operation system corresponds to System identification coding, wherein the first time is in seconds;
The first number of requests of the calling data received within the first time is counted, when generating comprising described first Between, the system identification coding and first number of requests daily record identification code.
Further, the predetermined calling daily record identification code create-rule includes:
It obtains the second time for receiving the request for calling data and the predetermined operation system corresponds to System identification coding, wherein second time is as unit of minute;
The second number of requests in the interior calling data received per second of second time is counted respectively, and generation includes Second time, the system identification coding, second number of requests daily record identification code.
In addition, to achieve the above object, the present invention also proposes a kind of data call daily record generation and querying method, the side Method includes the following steps:
S1, after the request for receiving the calling data that operation system is sent out, according to predetermined calling daily record identification code Create-rule generates the corresponding daily record identification code of calling daily record for responding and being generated when the request call data;
S2, the mapping relations called between daily record and daily record identification code are generated, the mapping relations is stored in advance In determining database;
S3, after receiving the calling log query instruction with daily record identification parameter that user terminal sends, according to pre- What is first stored calls the mapping relations between daily record and daily record identification code, determines daily record corresponding with the daily record identification parameter Identification code and calling daily record, and the calling daily record determined is returned into the user terminal..
Further, the daily record identification code include system identification coding, at the first time and the first number of requests, it is described Step S3 includes:
After receiving the calling log query instruction with daily record identification parameter that user terminal sends, from it is described in advance In determining database, searches element and go out the daily record identification code including matching with the daily record identification parameter, the daily record identification Code parameter includes system identification coding and temporal information;
The every page of display of first number of requests and predetermined user interface for including according to the daily record identification code Number of data, calculate the daily record identification that the user interface needs page number to be shown and every page of page to separately include Code;
According to the daily record identification code and the mapping relations for calling daily record, the daily record that every page of page includes is obtained respectively The calling daily record of acquisition is returned to the client by the corresponding calling daily record of identification code.
Further, the daily record identification code includes system identification coding, the second time and the second number of requests, described Step S3 includes:
After receiving the calling log query instruction with daily record identification parameter that user terminal sends, from it is described in advance In determining database, searches element and go out the daily record identification code including matching with the daily record identification parameter, the daily record identification Code parameter includes system identification coding and temporal information;
The every page of display of second number of requests and predetermined user interface for including according to the daily record identification code Number of data, calculate the daily record identification that the user interface needs page number to be shown and every page of page to separately include Code;
According to the daily record identification code and the mapping relations for calling daily record, the daily record that every page of page includes is obtained respectively The calling daily record of acquisition is returned to the client by the corresponding calling daily record of identification code.
Further, the predetermined calling daily record identification code create-rule includes:
It obtains the first time for receiving the request for calling data and the predetermined operation system corresponds to System identification coding, wherein the first time is in seconds;
The first number of requests of the calling data received within the first time is counted, when generating comprising described first Between, the system identification coding and first number of requests daily record identification code.
Alternatively, the predetermined calling daily record identification code create-rule includes:
It obtains the second time for receiving the request for calling data and the predetermined operation system corresponds to System identification coding, wherein second time is as unit of minute;
The second number of requests in the interior calling data received per second of second time is counted respectively, and generation includes Second time, the system identification coding, second number of requests daily record identification code.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers Readable storage medium storing program for executing is stored with data call daily record generation and polling routine, and the data call daily record generation and polling routine can It is executed by least one processor, so that at least one processor is executed as above-mentioned data call daily record generates and inquiry The step of method.
Compared to the prior art, it electronic device proposed by the invention, data call daily record generation and querying method and deposits Storage media, by after the request for receiving the calling data that operation system is sent out, according to predetermined calling daily record identification code Create-rule generates the corresponding daily record identification code of calling daily record for responding and being generated when the request call data;Generate the calling The mapping relations are stored in predetermined database by the mapping relations between daily record and daily record identification code.It ensure that and look into Query responding time is increased to the second from minute grade by carrying out matched mode with daily record identification code when asking data call daily record Grade, improves the efficiency of data query, reduces the time of abnormality processing.
Description of the drawings
Fig. 1 is the schematic diagram of one optional hardware structure of electronic device proposed by the present invention;
Fig. 2 is that the program module of data call daily record generation and polling routine is illustrated in one embodiment of electronic device of the present invention Figure;
Fig. 3 is the implementing procedure figure of one embodiment of data call daily record generation of the present invention and querying method;
Fig. 4 is the implementing procedure figure of data call daily record generation of the present invention and another embodiment of querying method.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work The every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as indicating or implying its relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection domain within.
As shown in fig.1, being one optional hardware structure schematic diagram of electronic device proposed by the present invention.In the present embodiment, Electronic device 10 may include, but be not limited only to, and connection memory 11, processor 12, net can be in communication with each other by communication bus 14 Network interface 13.It should be pointed out that Fig. 1 illustrates only the electronic device 10 with component 11-14, it should be understood that simultaneously All components shown realistic are not applied, the implementation that can be substituted is more or less component.
Wherein, memory 11 includes at least a type of computer readable storage medium, computer readable storage medium Including flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), quiet State random access storage device (SRAM), electrically erasable programmable read-only memory (EEPROM), can be compiled read-only memory (ROM) Journey read-only memory (PROM), magnetic storage, disk, CD etc..In some embodiments, memory 11 can be electronics dress Set 10 internal storage unit, such as the hard disk or memory of electronic device 10.In further embodiments, memory 11 can also It is the outer packet storage device of electronic device 10, such as the plug-in type hard disk being equipped on electronic device 10, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, it stores Device 11 can also both include electronic device 10 internal storage unit and also including its outer packet storage device.In the present embodiment, storage Device 11 is installed on the operating system and types of applications software of electronic device 10 commonly used in storage, such as data call daily record generates And polling routine etc..In addition, memory 11 can be also used for temporarily storing the Various types of data that has exported or will export.
Processor 12 can be in some embodiments central processing unit (Central Processing Unit, CPU), Controller, microcontroller, microprocessor or other data processing chips.Processor 12 is commonly used in control electronic device 10 Overall operation.In the present embodiment, the program code or processing data that processor 12 is used to store in run memory 11, such as The data call daily record generation of operation and polling routine etc..
Network interface 13 may include that radio network interface or wired network interface, network interface 13 are commonly used in filling in electronics It sets and establishes communication connection between 10 and other electronic equipments.
Communication bus 14 is for realizing the communication connection between component 11-13.
Fig. 1 illustrates only the electronic device 10 with component 11-14 and data call daily record generation and polling routine, but Be it should be understood that, it is not required that implement all components shown, the implementation that can be substituted is more or less component.
Optionally, electronic device 10 can also include user interface (not shown in figure 1), and user interface may include display Device, input unit such as keyboard, wherein user interface can also be including standard wireline interface and wireless interface etc..
Optionally, in some embodiments, display can be that light-emitting diode display, liquid crystal display, touch control type LCD are shown Device and OLED touch device etc..Further, display is alternatively referred to as display screen or display unit, for being shown in electronic device Information is handled in 10 and for showing visual user interface.
In one embodiment, the data call daily record generation and polling routine stored in memory 11 is executed by processor 12 When, realize following operation:
A, it after the request for receiving the calling data that operation system is sent out, is given birth to according to predetermined calling daily record identification code The corresponding daily record identification code of calling daily record generated when generating the response request call data at rule;
B, the mapping relations called between daily record and daily record identification code are generated, mapping relations deposit is true in advance In fixed database;
C, after receiving the calling log query instruction with daily record identification parameter that user terminal is sent, according to advance The mapping relations of storage called between daily record and daily record identification code determine that daily record corresponding with the daily record identification parameter is known Other code and calling daily record, and the calling daily record determined is returned into the user terminal..
In the present embodiment, the request for the calling data that the operation system is sent out can be that relevant staff passes through a little The operation interface triggering of operation system offer is hit, after the request for receiving the calling data, according to predetermined daily record Identification code create-rule generates the corresponding calling daily record identification code of the request.
In the present embodiment, the daily record identification code includes system identification coding, first time and the first number of requests;
The predetermined calling daily record identification code create-rule can receive the calling number for example, obtaining According to first time of request, the corresponding system identification coding of the predetermined operation system;Statistics is at described first First number of requests of the interior calling data received;Generate comprising the first time, the system identification coding and The daily record identification code of first number of requests.
In the present embodiment, first current time is in seconds.
In the other embodiment of the present invention, or the daily record identification coding include system identification coding, the second time, And second number of requests;
The predetermined calling daily record identification code create-rule can receive the calling number for example, obtaining According to the second time of request, the corresponding system identification coding of the predetermined operation system, second time with point Clock is unit, counts the second number of requests in the interior calling data received per second of second time respectively;Generate packet Containing second time, the preset kind coding information, the calling daily record identification code of second number of requests.
In the other embodiment of the present invention, the step C includes:Daily record identification code is carried receive that user terminal sends Parameter calling log query instruction after, from the predetermined database, search element go out including with the daily record identification code The daily record identification code of match parameters, the daily record identification parameter include system identification coding and temporal information;
The every page of display of first number of requests and predetermined user interface for including according to the daily record identification code Number of data, calculate the daily record identification that the user interface needs page number to be shown and every page of page to separately include Code;
According to the daily record identification code and the mapping relations for calling daily record, the daily record that every page of page includes is obtained respectively The calling daily record of acquisition is returned to the client by the corresponding calling daily record of identification code.
Alternatively, the step C includes:It is looked into receiving the calling daily record with daily record identification parameter that user terminal is sent After asking instruction, from the predetermined database, searches element and go out the daily record including matching with the daily record identification parameter Identification code, the daily record identification parameter include system identification coding and temporal information;
The every page of display of second number of requests and predetermined user interface for including according to the daily record identification code Number of data, calculate the daily record identification that the user interface needs page number to be shown and every page of page to separately include Code;
According to the daily record identification code and the mapping relations for calling daily record, the daily record that every page of page includes is obtained respectively The calling daily record of acquisition is returned to the client by the corresponding calling daily record of identification code.
For example, in one embodiment, receiving and inquiring 12 days 15 October in 2017:37 points of -2017 on October 12,15:38 Point, after the instruction of the calling daily record of ESG1, from predetermined data, it is in October, 2017 to search element to go out with time range information 12 days 15:37 points of -2017 on October 12,15:38 points and system identification are encoded to the daily record identification code that ESG1 matches ESG12017101215:370120 (indicating to receive 20 articles of number of requests in the 1st second 37 minutes 15 points of October 12 in 2017),
ESG12017101215:372352 (indicate to receive 52 articles of number of requests within the 23rd second 37 minutes 15 points of October 12 in 2017 Amount), ESG12017101215:374434 (indicating to receive 34 articles of number of requests in the 44th second 37 minutes 15 points of October 12 in 2017), ESG12017101215:380324 (indicating to receive 24 articles of number of requests in the 3rd second 38 minutes 15 points of October 12 in 2017), ESG12017101215:383355 (indicating to receive 55 articles of number of requests in the 33rd second 38 minutes 15 points of October 12 in 2017),
ESG12017101215:385638 (indicate to receive 38 articles of number of requests within the 56th second 38 minutes 15 points of October 12 in 2017 Amount), in the present embodiment, the number of data of every page of display of predetermined user interface is 30, then calculates user interface It is 8 to need page number to be shown, and the daily record identification code that first page includes is ESG12017101215:370120 and ESG12017101215:372310 (indicate that the identification code that first page includes is to receive for the 1st second 37 minutes 15 points of October 12 in 2017 20 articles of number of requests and 15 points of the 23rd second 37 minutes 10 articles of number of requests received on October 12nd, 2017), and so on, can count Calculate the daily record identification code that every page of page that the user interface need to be shown separately includes.By the present embodiment it is found that due to storage Daily record identification code be in seconds, so the present invention response time of query page can be increased to by minute rank Second grade realizes that process is simple.
By above-mentioned thing embodiment it is found that electronic device proposed by the present invention passes through in the calling number for receiving operation system and sending out According to request after, according to predetermined calling daily record identification code create-rule generate respond the request call data when generate The corresponding daily record identification code of calling daily record;The mapping relations between the calling daily record and daily record identification code are generated, it will be described Mapping relations are stored in predetermined database;In the calling day with daily record identification parameter for receiving user terminal and sending After will inquiry instruction, according to the mapping relations between pre-stored calling daily record and daily record identification code, determine and the daily record The corresponding daily record identification code of identification parameter and calling daily record, and the calling daily record determined is returned into the user terminal.Ensure Query responding time is improved from minute grade by carrying out matched mode with daily record identification code when inquiry data call daily record To second grade, the efficiency of data query is improved, the time of abnormality processing is reduced.
It is real according to its each section institute to need further exist for explanation, data call daily record generation of the invention and polling routine Existing function is different, can be described with program module with the same function.It please refers to shown in Fig. 2, is electronics dress of the present invention Set the program module schematic diagram of data call daily record generation and polling routine in an embodiment.In the present embodiment, data call day The difference for the function that will generates and polling routine is realized according to its each section can be divided into generation module 201, storage mould Block 202 and determining module 203.By above description it is found that the so-called program module of the present invention is to refer to complete specific work( The series of computation machine program instruction section of energy, than program more suitable for description data call daily record generation and polling routine in electronics Implementation procedure in device 10.The function or behaviour that the generation module 201, memory module 202 and determining module 203 are realized It is similar as above to make step, and will not be described here in detail, illustratively, such as wherein:
Generation module 201 is used for after the request for receiving the calling data that operation system is sent out, according to predetermined tune The corresponding daily record identification code of calling daily record generated when generating the response request call data with daily record identification code create-rule;
Memory module 202 is used to generate the mapping relations between the calling daily record and daily record identification code, by the mapping Relationship is stored in predetermined database;
Determining module 203 is used to refer to receiving the calling log query with daily record identification parameter that user terminal is sent After order, according to the mapping relations between pre-stored calling daily record and daily record identification code, determine to join with the daily record identification code The corresponding daily record identification code of number and calling daily record, and the calling daily record determined is returned into the user terminal.
In addition, the present invention also proposes a kind of data call daily record generation and querying method, please refers to shown in Fig. 3, be this hair The implementing procedure figure of one embodiment of bright data call daily record generation and querying method, from the figure 3, it may be seen that the data call daily record is given birth to At and querying method include the following steps:
Step S301, after the request for receiving the calling data that operation system is sent out, according to predetermined calling daily record Identification code create-rule generates the corresponding daily record identification code of calling daily record for responding and being generated when the request call data;
Step S302 generates the mapping relations called between daily record and daily record identification code, the mapping relations is deposited Enter in predetermined database;
Step S303, after receiving the calling log query instruction with daily record identification parameter that user terminal is sent, According to the mapping relations between pre-stored calling daily record and daily record identification code, determine corresponding with the daily record identification parameter Daily record identification code and call daily record, and the calling daily record determined is returned into the user terminal.
In the present embodiment, the request for the calling data that the operation system is sent out can be that relevant staff passes through a little The operation interface triggering of operation system offer is hit, after the request for receiving the calling data, according to predetermined daily record Identification code create-rule generates the corresponding calling daily record identification code of the request.
In the present embodiment, the daily record identification code includes system identification coding, first time and the first number of requests;
The predetermined calling daily record identification code create-rule can receive the calling number for example, obtaining According to first time of request, the corresponding system identification coding of the predetermined operation system;Statistics is at described first First number of requests of the interior calling data received;Generate comprising the first time, the system identification coding and The daily record identification code of first number of requests.
In the present embodiment, first current time is in seconds.
In the other embodiment of the present invention or the daily record identification coding include system identification encode, the second time and Second number of requests;
The predetermined calling daily record identification code create-rule can receive the calling number for example, obtaining According to the second time of request, the corresponding system identification coding of the predetermined operation system, second time with point Clock is unit, counts the second number of requests in the interior calling data received per second of second time respectively;Generate packet Containing second time, the preset kind coding information, the calling daily record identification code of second number of requests.
Further, as shown in figure 4, being data call daily record generation of the present invention and the implementation of another embodiment of querying method Flow chart.As shown in Figure 4, in this embodiment, the step S303 includes the following steps:
Step S401, after receiving the calling log query instruction with daily record identification parameter that user terminal is sent, From the predetermined database, searches element and go out the daily record identification code including matching with the daily record identification parameter, institute It includes system identification coding and temporal information to state daily record identification parameter;
Step S402, first number of requests and predetermined user interface for including according to the daily record identification code The number of data of every page of display calculates the day that the user interface needs page number to be shown and every page of page to separately include Will identification code;
Step S403 obtains every page of page respectively according to the daily record identification code and the mapping relations for calling daily record Including the corresponding calling daily record of daily record identification code, the calling daily record of acquisition is returned to client.
Alternatively, in another embodiment, the step S402 may be replaced by include according to the daily record identification code The number of data of every page of display of second number of requests and predetermined user interface, calculates the user interface needs The daily record identification code (being not shown in Fig. 4) that the page number of display and every page of page separately include.
For example, in one embodiment, receiving and inquiring 12 days 15 October in 2017:37 points of -2017 on October 12,15:38 Point, after the instruction of the calling daily record of ESG1, from predetermined data, it is in October, 2017 to search element to go out with time range information 12 days 15:37 points of -2017 on October 12,15:38 points and system identification are encoded to the daily record identification code that ESG1 matches ESG12017101215:370120 (indicating to receive 20 articles of number of requests in the 1st second 37 minutes 15 points of October 12 in 2017), ESG12017101215:372352 (indicating to receive 52 articles of number of requests in the 23rd second 37 minutes 15 points of October 12 in 2017), ESG12017101215:374434 (indicating to receive 34 articles of number of requests in the 44th second 37 minutes 15 points of October 12 in 2017), ESG12017101215:380324 (indicating to receive 24 articles of number of requests in the 3rd second 38 minutes 15 points of October 12 in 2017), ESG12017101215:383355 (indicating to receive 55 articles of number of requests in the 33rd second 38 minutes 15 points of October 12 in 2017), ESG12017101215:385638 (indicating to receive 38 articles of number of requests in the 56th second 38 minutes 15 points of October 12 in 2017), at this In embodiment, the number of data of every page of display of predetermined user interface is 30, then calculates user interface and need to show Page number be 8, and first page include daily record identification code be ESG12017101215:370120 and ESG12017101215: 372310 (indicate that the identification code that first page includes is 15 points of the 1st second 37 minutes 20 articles of number of requests received on October 12nd, 2017 And 15 points of the 23rd second 37 minutes 10 articles of number of requests received on October 12nd, 2017), and so on, user circle can be calculated The daily record identification code that every page of page that face need to be shown separately includes.By the present embodiment it is found that the daily record identification code due to storage is In seconds, so the response time of query page can be increased to second grade by the present invention by minute rank, process is realized Simply.
By above-mentioned thing embodiment it is found that data call daily record generation proposed by the present invention and querying method are by receiving industry After the request for the calling data that business system is sent out, generated described in response according to predetermined calling daily record identification code create-rule The corresponding daily record identification code of calling daily record generated when request call data;It generates between the calling daily record and daily record identification code Mapping relations, the mapping relations are stored in predetermined database;Daily record is carried receive that user terminal sends After the calling log query instruction of identification parameter, closed according to the mapping between pre-stored calling daily record and daily record identification code System determines daily record identification code corresponding with the daily record identification parameter and calls daily record, and the calling daily record determined is returned Back to the user terminal.It ensure that when inquiry data call daily record by carrying out matched mode by inquiry response with daily record identification code Time from minute grade is increased to second grade, improves the efficiency of data query, reduces the time of abnormality processing.
In addition, the present invention also proposes a kind of computer readable storage medium, stored on the computer readable storage medium There are data call daily record generation and polling routine, the data call daily record generation and polling routine to be realized when being executed by processor Following operation:
After the request for receiving the calling data that operation system is sent out, generated according to predetermined calling daily record identification code Rule generates the corresponding daily record identification code of calling daily record for responding and being generated when the request call data;
The mapping relations between the calling daily record and daily record identification code are generated, the mapping relations are stored in and are predefined Database in;
After receiving the calling log query instruction with daily record identification parameter that user terminal sends, according to depositing in advance The mapping relations of storage called between daily record and daily record identification code determine daily record identification corresponding with the daily record identification parameter Code and calling daily record, and the calling daily record determined is returned into the user terminal.
Computer readable storage medium specific implementation mode of the present invention is given birth to above-mentioned electronic device and data call daily record At and each embodiment of querying method it is essentially identical, do not make tired state herein.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every 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 (10)

1. a kind of electronic device, which is characterized in that the electronic device includes memory and the processing that is connect with the memory Device, the processor is for executing the data call daily record generation stored on the memory and polling routine, the data tune Following steps are realized when being executed by the processor with daily record generation and polling routine:
A1, after the request for receiving the calling data that operation system is sent out, according to predetermined calling daily record identification code generate Rule generates the corresponding daily record identification code of calling daily record for responding and being generated when the request call data;
A2, the mapping relations called between daily record and daily record identification code are generated, the mapping relations is stored in and are predefined Database in;
A3, after receiving the calling log query instruction with daily record identification parameter that user terminal sends, according to depositing in advance The mapping relations of storage called between daily record and daily record identification code determine daily record identification corresponding with the daily record identification parameter Code and calling daily record, and the calling daily record determined is returned into the user terminal.
2. electronic device as described in claim 1, which is characterized in that the daily record identification code includes system identification coding, the One time and the first number of requests, the step A3 include:
After receiving the calling log query instruction with daily record identification parameter that user terminal is sent, predefined from described Database in, search element and go out including the daily record identification code that matches with the daily record identification parameter, the daily record identification code ginseng Number includes system identification coding and temporal information;
According to the number for every page of display of first number of requests and predetermined user interface that the daily record identification code includes According to item number, the daily record identification code that the user interface needs page number to be shown and every page of page to separately include is calculated;
According to the daily record identification code and the mapping relations for calling daily record, the daily record identification that every page of page includes is obtained respectively The corresponding calling daily record of code, the user terminal is returned to by the calling daily record of acquisition.
3. electronic device as described in claim 1, which is characterized in that the daily record identification code includes system identification coding, the Two times and the second number of requests, the step A3 include:
After receiving the calling log query instruction with daily record identification parameter that user terminal is sent, predefined from described Database in, search element and go out including the daily record identification code that matches with the daily record identification parameter, the daily record identification code ginseng Number includes system identification coding and temporal information;
According to the number for every page of display of second number of requests and predetermined user interface that the daily record identification code includes According to item number, the daily record identification code that the user interface needs page number to be shown and every page of page to separately include is calculated;
According to the daily record identification code and the mapping relations for calling daily record, the daily record identification that every page of page includes is obtained respectively The corresponding calling daily record of code, the user terminal is returned to by the calling daily record of acquisition.
4. the electronic device as described in claims 1 to 3 is any, which is characterized in that the predetermined calling daily record identification Code create-rule include:
Obtain the first time for receiving the request for calling data and the corresponding system of the predetermined operation system System identification coding, wherein the first time is in seconds;
Count the first number of requests of callings data received within the first time, generate include the first time, The daily record identification code of the system identification coding and first number of requests.
5. the electronic device as described in claims 1 to 3 is any, which is characterized in that the predetermined calling daily record identification Code create-rule include:
Obtain the second time for receiving the request for calling data and the corresponding system of the predetermined operation system System identification coding, wherein second time is as unit of minute;
The second number of requests in the interior calling data received per second of second time is counted respectively, is generated comprising described Second time, the system identification coding, second number of requests daily record identification code.
6. a kind of data call daily record generation and querying method, which is characterized in that described method includes following steps:
S1, after the request for receiving the calling data that operation system is sent out, according to predetermined calling daily record identification code generate Rule generates the corresponding daily record identification code of calling daily record for responding and being generated when the request call data;
S2, the mapping relations called between daily record and daily record identification code are generated, the mapping relations is stored in and are predefined Database in;
S3, after receiving the calling log query instruction with daily record identification parameter that user terminal sends, according to depositing in advance The mapping relations of storage called between daily record and daily record identification code determine daily record identification corresponding with the daily record identification parameter Code and calling daily record, and the calling daily record determined is returned into the user terminal.
7. data call daily record generation as claimed in claim 6 and querying method, which is characterized in that the daily record identification code packet Including system identification coding, first time and the first number of requests, the step A3 includes:
After receiving the calling log query instruction with daily record identification parameter that user terminal is sent, predefined from described Database in, search element and go out including the daily record identification code that matches with the daily record identification parameter, the daily record identification code ginseng Number includes system identification coding and temporal information;
According to the number for every page of display of first number of requests and predetermined user interface that the daily record identification code includes According to item number, the daily record identification code that the user interface needs page number to be shown and every page of page to separately include is calculated;
According to the daily record identification code and the mapping relations for calling daily record, the daily record identification that every page of page includes is obtained respectively The corresponding calling daily record of code, the user terminal is returned to by the calling daily record of acquisition.
8. data call daily record generation as claimed in claim 6 and querying method, which is characterized in that the daily record identification code packet Including system identification coding, the second time and the second number of requests, the step A3 includes:
After receiving the calling log query instruction with daily record identification parameter that user terminal is sent, predefined from described Database in, search element and go out including the daily record identification code that matches with the daily record identification parameter, the daily record identification code ginseng Number includes system identification coding and temporal information;
According to the number for every page of display of second number of requests and predetermined user interface that the daily record identification code includes According to item number, the daily record identification code that the user interface needs page number to be shown and every page of page to separately include is calculated;
According to the daily record identification code and the mapping relations for calling daily record, the daily record identification that every page of page includes is obtained respectively The corresponding calling daily record of code, the user terminal is returned to by the calling daily record of acquisition.
9. the data call daily record generation as described in claim 6 to 8 is any and querying method, which is characterized in that described advance Determining calling daily record identification code create-rule includes:
Obtain the first time for receiving the request for calling data and the corresponding system of the predetermined operation system System identification coding, wherein the first time is in seconds;
Count the first number of requests of callings data received within the first time, generate include the first time, The daily record identification code of the system identification coding and first number of requests.
Alternatively, the predetermined calling daily record identification code create-rule includes:
Obtain the second time for receiving the request for calling data and the corresponding system of the predetermined operation system System identification coding, wherein second time is as unit of minute;
The second number of requests in the interior calling data received per second of second time is counted respectively, is generated comprising described Second time, the system identification coding, second number of requests daily record identification code.
10. a kind of computer readable storage medium, the computer-readable recording medium storage have data call daily record generate and Polling routine, the data call daily record generation and polling routine can be executed by least one processor, so that described at least one A processor executes the step of data call daily record generation and querying method as described in any one of claim 6-9.
CN201810024107.8A 2018-01-10 2018-01-10 Electronic device, data call log generation and query method and storage medium Active CN108415925B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810024107.8A CN108415925B (en) 2018-01-10 2018-01-10 Electronic device, data call log generation and query method and storage medium
PCT/CN2018/077629 WO2019136812A1 (en) 2018-01-10 2018-02-28 Electronic device, data calling log generation and query method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810024107.8A CN108415925B (en) 2018-01-10 2018-01-10 Electronic device, data call log generation and query method and storage medium

Publications (2)

Publication Number Publication Date
CN108415925A true CN108415925A (en) 2018-08-17
CN108415925B CN108415925B (en) 2020-11-24

Family

ID=63125449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810024107.8A Active CN108415925B (en) 2018-01-10 2018-01-10 Electronic device, data call log generation and query method and storage medium

Country Status (2)

Country Link
CN (1) CN108415925B (en)
WO (1) WO2019136812A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656778A (en) * 2018-11-28 2019-04-19 金蝶软件(中国)有限公司 Data capture method, device, computer equipment and storage medium
CN111459756A (en) * 2020-03-30 2020-07-28 深圳市金蝶天燕云计算股份有限公司 Log processing method and related equipment
CN111489122A (en) * 2020-04-09 2020-08-04 山东山大华天软件有限公司 Method, equipment and readable storage medium for editing and displaying multiple pieces of BOM data based on browser
CN112541009A (en) * 2020-12-23 2021-03-23 平安普惠企业管理有限公司 Data query method and device, electronic equipment and storage medium
CN113283884A (en) * 2020-12-31 2021-08-20 深圳怡化电脑股份有限公司 Log processing method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564959A (en) * 2020-12-01 2021-03-26 上海恒生聚源数据服务有限公司 Log acquisition method, device and equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1351431A1 (en) * 2002-03-22 2003-10-08 Hitachi, Ltd. Method and apparatus for managing and processing digital signatures
CN1959676A (en) * 2005-11-03 2007-05-09 国际商业机器公司 Apparatus and method for materialized query table journaling in a computer database system
CN104252536A (en) * 2014-09-16 2014-12-31 福建新大陆软件工程有限公司 Hbase-based internet log data inquiring method and device
CN105138592A (en) * 2015-07-31 2015-12-09 武汉虹信技术服务有限责任公司 Distributed framework-based log data storing and retrieving method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868391B (en) * 2012-09-25 2019-06-04 北京奇虎科技有限公司 A kind of method and apparatus of log recording
CN106850782A (en) * 2017-01-17 2017-06-13 泰康保险集团股份有限公司 For the method and system of log processing
CN107181675B (en) * 2017-06-20 2020-03-03 北京奇艺世纪科技有限公司 Service calling method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1351431A1 (en) * 2002-03-22 2003-10-08 Hitachi, Ltd. Method and apparatus for managing and processing digital signatures
CN1959676A (en) * 2005-11-03 2007-05-09 国际商业机器公司 Apparatus and method for materialized query table journaling in a computer database system
CN104252536A (en) * 2014-09-16 2014-12-31 福建新大陆软件工程有限公司 Hbase-based internet log data inquiring method and device
CN105138592A (en) * 2015-07-31 2015-12-09 武汉虹信技术服务有限责任公司 Distributed framework-based log data storing and retrieving method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656778A (en) * 2018-11-28 2019-04-19 金蝶软件(中国)有限公司 Data capture method, device, computer equipment and storage medium
CN109656778B (en) * 2018-11-28 2022-07-12 金蝶软件(中国)有限公司 Data acquisition method and device, computer equipment and storage medium
CN111459756A (en) * 2020-03-30 2020-07-28 深圳市金蝶天燕云计算股份有限公司 Log processing method and related equipment
CN111489122A (en) * 2020-04-09 2020-08-04 山东山大华天软件有限公司 Method, equipment and readable storage medium for editing and displaying multiple pieces of BOM data based on browser
CN112541009A (en) * 2020-12-23 2021-03-23 平安普惠企业管理有限公司 Data query method and device, electronic equipment and storage medium
CN112541009B (en) * 2020-12-23 2023-10-13 湖北华中电力科技开发有限责任公司 Data query method, device, electronic equipment and storage medium
CN113283884A (en) * 2020-12-31 2021-08-20 深圳怡化电脑股份有限公司 Log processing method and device

Also Published As

Publication number Publication date
WO2019136812A1 (en) 2019-07-18
CN108415925B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN108415925A (en) Electronic device, data call daily record generation and querying method and storage medium
CN108427705A (en) Electronic device, distributed system journal querying method and storage medium
CN108416485B (en) User identity recognition method, electronic device and computer readable storage medium
CN112052111B (en) Processing method, device and equipment for server abnormity early warning and storage medium
CN109962855A (en) A kind of current-limiting method of WEB server, current-limiting apparatus and terminal device
CN110784355A (en) Fault identification method and device
CN110533286B (en) Block chain-based coalition member management method and device and computer equipment
CN109040970A (en) Method and terminal device are handled in plan of operation based on cloud computing
CN106130972A (en) Resource access control method and device
CN111475369A (en) Log monitoring adding method and device, computer equipment and storage medium
CN110602215B (en) Resource processing method based on alliance block chain and alliance block chain system
CN110060041A (en) Channel of disbursement cut-in method, system, computer equipment and readable storage medium storing program for executing
CN110191097A (en) Detection method, system, equipment and the storage medium of login page safety
CN111382976B (en) Early warning data processing method and device, computer equipment and storage medium
CN111475468A (en) Log access method, device, equipment and storage medium of newly added system
CN106332054A (en) Method and device for identifying verification in data migration
CN110532499A (en) Market data intelligence method for pushing and device
CN115879889A (en) Service processing method and device based on block chain and computer equipment
CN109918277A (en) Electronic device, the evaluation method of system log cluster analysis result and storage medium
CN109034401A (en) O&M monitoring method and terminal device
CN109377391A (en) A kind of tracking of information method, storage medium and server
CN108021597B (en) Parallel counter, server and counting method
CN115456634A (en) Data processing method and device, electronic equipment and storage medium
CN108280768A (en) Electronic device, declaration form merchandiser expense statistical method and storage medium
CN111726266B (en) Hot spot data barreling method and system and computer equipment

Legal Events

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