WO2019136812A1 - Dispositif électronique, procédé de génération et de consultation de journal d'appels de données, et support de stockage - Google Patents
Dispositif électronique, procédé de génération et de consultation de journal d'appels de données, et support de stockage Download PDFInfo
- Publication number
- WO2019136812A1 WO2019136812A1 PCT/CN2018/077629 CN2018077629W WO2019136812A1 WO 2019136812 A1 WO2019136812 A1 WO 2019136812A1 CN 2018077629 W CN2018077629 W CN 2018077629W WO 2019136812 A1 WO2019136812 A1 WO 2019136812A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- log
- identification code
- time
- call
- identifier
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1734—Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
Definitions
- the present application relates to the field of mutual data management, and in particular, to an electronic device, a data call log generation and query method, and a storage medium.
- the enterprise service management monitoring platform monitors the business call data of all business departments within the company in real time. Once abnormal data is found, it is necessary to query the call log of the abnormal data in time and perform exception processing according to the called call log.
- the enterprise service governance monitoring platform locates and indexes the database by using the keyword and the storage time of the data to be queried (in minutes) to locate the call log of the abnormal data. This method of calling the log requires a minute of time. When the amount of data to be called is large, the response time of the query page is likely to occur, and even the failure of the query call log may occur, resulting in inefficient processing of the exception processing and wasting a lot of time.
- the present application provides an electronic device, a data generation log generation and query method, and a storage medium, which can improve the efficiency of data query.
- a first aspect of the present application provides an electronic device, where the electronic device includes a memory and a processor connected to the memory, and the processor is configured to execute a data call log stored on the memory. Generating and querying a program that implements the following steps when the data call log generation and query program is executed by the processor:
- A1 After receiving the request for invoking data sent by the service system, generating, according to the predetermined call log identifier generation rule, a log identifier corresponding to the call log generated when the request call data is generated;
- the second aspect of the present application further provides a data call log generation and query method, where the method includes the following steps:
- the third aspect of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a data call log generation and query program, and the data call log generation and query program may be Executed by at least one processor to cause the at least one processor to perform the steps of the data call log generation and query method as described above.
- the electronic device, the data call log generation and query method and the storage medium proposed by the present application generate rules according to a predetermined call log identification code after receiving a request for calling data sent by the service system. Generating a log identifier corresponding to the call log generated when the data is invoked in response to the request; generating a mapping relationship between the call log and the log identifier, and storing the mapping relationship in a predetermined database. It ensures that the query response time is increased from the minute to the second by matching the log identification code when the query data is called, which improves the efficiency of data query and reduces the time of exception processing.
- FIG. 2 is a schematic diagram of a program module of a data call log generation and query procedure in an embodiment of an electronic device of the present application
- FIG. 3 is a flowchart of an implementation of an embodiment of a data call log generation and query method of the present application
- FIG. 4 is a flow chart showing an implementation of another embodiment of the data call log generation and query method of the present application.
- the electronic device 10 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through the communication bus 14. It should be noted that FIG. 1 only shows the electronic device 10 having the components 11-14, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
- the memory 11 includes at least one type of computer readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (for example, SD or DX memory, etc.), a random access memory (RAM), and a static memory.
- the memory 11 may be an internal storage unit of the electronic device 10, such as a hard disk or memory of the electronic device 10.
- the memory 11 may also be an outsourced storage device of the electronic device 10, such as a plug-in hard disk equipped on the electronic device 10, a smart memory card (SMC), and a secure digital (Secure Digital, SD) ) cards, flash cards, etc.
- the memory 11 can also include both an internal storage unit of the electronic device 10 and an outsourced storage device thereof.
- the memory 11 is generally used to store an operating system installed on the electronic device 10 and various types of application software, such as a data call log generation and query program. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
- Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
- the processor 12 is typically used to control the overall operation of the electronic device 10.
- the processor 12 is configured to run program code or processing data stored in the memory 11, such as a running data call log generation and query program.
- Network interface 13 may include a wireless network interface or a wired network interface, which is typically used to establish a communication connection between electronic device 10 and other electronic devices.
- FIG 1 shows only the electronic device 10 with components 11-14 and data call log generation and query procedures, but it should be understood that not all illustrated components may be implemented, alternative implementations may be more or less Component.
- the electronic device 10 may further include a user interface (not shown in FIG. 1), and the user interface may include a display, an input unit such as a keyboard, wherein the user interface may further include a standard wired interface, a wireless interface, and the like.
- the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED touch device, or the like. Further, the display may also be referred to as a display screen or display unit for displaying information processed in the electronic device 10 and a user interface for displaying visualizations.
- the request for invoking data sent by the service system may be triggered by the related staff by clicking an operation interface provided by the service system, and after receiving the request for calling the data, generating according to the predetermined log identification code.
- the rule generates a call log identifier corresponding to the request.
- the first current time is in units of seconds.
- the log identification code includes a system identification code, a second time, and a second request quantity
- the step C includes: after receiving the call log query instruction with the log identifier parameter sent by the user terminal, searching for the inclusion and the information from the predetermined database. a log identifier matching the log identifier parameter, where the log identifier parameter includes a system identification code and time information;
- the step C includes: after receiving the call log query command with the log identifier parameter sent by the user terminal, searching from the predetermined database includes the parameter of the log identifier a matching log identifier, the log identifier parameter including a system identification code and time information;
- the search is performed from the predetermined data.
- the outbound and time range information is 15:37 on October 12, 2017 - 15:38 on October 12, 2017, and the system identification code is ESG1 matching log ID ESG12017101215:370120 (indicating October 12, 2017) 15:37, the first request received 20 requests), ESG12017101215:372352 (representing the number of 52 requests received at 15:37 on October 12, 2017, 23rd), ESG12017101215:374434 (indicating October 2017) At 15:37 on the 12th, the 44th request received 34 requests), ESG12017101215:380324 (representing the number of 24 requests received at 15:38 on October 12, 2017), ESG12017101215:383355 (indicating 2017) At 15:38 on October 12, the 33rd request received 55 requests), ESG12017101215:385638 (indicating that on October
- the electronic device proposed by the present application generates a call log corresponding to the call data generated in response to the request according to a predetermined call log identification code generation rule after receiving the request for calling data sent by the service system.
- a log identifier generating a mapping relationship between the call log and the log identifier, storing the mapping relationship in a predetermined database; receiving a call log with a log identifier parameter sent by the user end
- the log identifier corresponding to the log identifier parameter and the call log are determined according to the mapping relationship between the pre-stored call log and the log identifier, and the determined call log is returned to the client. It ensures that the query response time is increased from the minute to the second by matching the log identification code when the query data is called, which improves the efficiency of data query and reduces the time of exception processing.
- FIG. 2 is a schematic diagram of a program module for data call log generation and query procedure in an embodiment of the electronic device of the present application.
- the data call log generation and query program may be divided into a generation module 201, a storage module 202, and a determination module 203 according to different functions implemented by the respective parts.
- the program module referred to in the present application refers to a series of computer program instruction segments capable of performing a specific function, which is more suitable than the program to describe the execution process of the data call log generation and query program in the electronic device 10.
- the functions or operation steps implemented by the generating module 201, the storage module 202, and the determining module 203 are all similar to the above, and are not described in detail herein, for example, where:
- the generating module 201 is configured to: after receiving the request for calling data sent by the service system, generate a log identifier corresponding to the call log generated when the request is invoked according to the predetermined call log identifier generation rule;
- the determining module 203 is configured to: after receiving the call log query instruction with the log identifier parameter sent by the user end, determine the parameter of the log identifier according to the mapping relationship between the pre-stored call log and the log identifier Corresponding log identifier and call log, and return the determined call log to the client.
- the present application also provides a data call log generation and query method.
- FIG. 3 it is an implementation flowchart of an embodiment of the data call log generation and query method of the present application. As shown in FIG. 3, the data is called.
- the log generation and query method includes the following steps:
- Step S301 after receiving the request for invoking data sent by the service system, generating a log identifier corresponding to the call log generated when the request is invoked according to the predetermined call log identifier generation rule;
- Step S302 generating a mapping relationship between the call log and the log identification code, and storing the mapping relationship in a predetermined database
- the request for invoking data sent by the service system may be triggered by the related staff by clicking an operation interface provided by the service system, and after receiving the request for calling the data, generating according to the predetermined log identification code.
- the rule generates a call log identifier corresponding to the request.
- the predetermined call log identifier generation rule may be, for example, a first time to obtain a request for receiving the call data, a predetermined system identification code corresponding to the service system; and statistics at the first time The first number of requests received within the call data; generating a log identification code including the first time, the system identification code, and the first number of requests.
- the first current time is in units of seconds.
- the predetermined call log identifier generation rule may be, for example, a second time to obtain a request for receiving the call data, a predetermined system identification code corresponding to the service system, and the second time in minutes Calculating, in units, a second request quantity of the call data received in the second time of the second time; generating a call including the second time, the preset type coded information, and the second request quantity Log ID.
- step S303 includes the following steps:
- Step S402 calculating, according to the first request quantity included in the log identification code and the number of data displayed on each page of the predetermined user interface, the number of pages that the user interface needs to display and the logs respectively included in each page of the page. Identifier;
- Step S403 Acquire a call log corresponding to the log identifier included in each page according to the mapping relationship between the log identifier and the call log, and return the obtained call log to the client.
- ESG12017101215:372352 (representing the number of 52 requests received at 15:37 on October 12, 2017 at 23:37), ESG12017101215:374434 (representing the number of 34 requests received at 44:37 on October 12, 2017, 44 seconds) ), ESG12017101215:380324 (representing the number of 24 requests received at 15:38 on October 12, 2017, 3rd), ESG12017101215:383355 (indicating that on October 12, 2017, 15:38, 33rd, received 55) The number of requests), ESG12017101215:385638 (representing 38 requests for the number of requests received at 15:38 on October 12, 2017), in this embodiment, the predetermined number of data displayed per page of the user interface is 30.
- the number of pages that need to be displayed on the user interface is 8, and the log identifiers contained in the first page are ESG12017101215:370120 and ESG12017101215:372310 (indicating that the first page contains the identification code at 15 o'clock on October 12, 2017)
- the number of 20 requests received in the first second of 37 minutes and the number of 10 requests received in the 23rd second of 15:37 on October 12, 2017), and so on, can calculate each page to be displayed on the user interface.
- the log identifiers contained in the pages It can be seen from the embodiment that the stored log identifier is in seconds, so the response time of the query page can be increased from the minute level to the second level, and the implementation process is simple.
- the present application further provides a computer readable storage medium, on which the data call log generation and query program is stored, and the data call log generation and query program is executed by the processor to:
- the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
- Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
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
L'invention concerne un dispositif électronique, un procédé de génération et de consultation de journal d'appels de données, et un support de stockage. Le procédé fait intervenir les étapes consistant: après qu'une demande d'appel de données émise par un système de service a été reçue, à générer, selon une règle prédéterminée de génération de codes d'identification de journal d'appels, un code d'identification de journal correspondant à un journal d'appels généré lors de la réponse à la demande d'appel de données, à générer une relation de mappage entre le journal d'appels et le code d'identification de journal, et à stocker la relation de mappage dans une base de données prédéterminée; et après qu'une instruction de consultation de journal d'appels portant un paramètre de code d'identification de journal et émise par un côté utilisateur a été reçue, à déterminer, selon la relation de mappage pré-stockée entre le journal d'appels et le code d'identification de journal, un code d'identification de journal et un journal d'appels correspondant au paramètre de code d'identification de journal, et à renvoyer le journal d'appels déterminé au côté utilisateur. La présente invention améliore le rendement de consultation de données, et réduit un temps de gestion d'exception.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810024107.8 | 2018-01-10 | ||
CN201810024107.8A CN108415925B (zh) | 2018-01-10 | 2018-01-10 | 电子装置、数据调用日志生成及查询方法及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019136812A1 true WO2019136812A1 (fr) | 2019-07-18 |
Family
ID=63125449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/077629 WO2019136812A1 (fr) | 2018-01-10 | 2018-02-28 | Dispositif électronique, procédé de génération et de consultation de journal d'appels de données, et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108415925B (fr) |
WO (1) | WO2019136812A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112564959A (zh) * | 2020-12-01 | 2021-03-26 | 上海恒生聚源数据服务有限公司 | 一种日志采集方法、装置、设备及可读存储介质 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656778B (zh) * | 2018-11-28 | 2022-07-12 | 金蝶软件(中国)有限公司 | 数据获取方法、装置、计算机设备和存储介质 |
CN111459756A (zh) * | 2020-03-30 | 2020-07-28 | 深圳市金蝶天燕云计算股份有限公司 | 一种日志处理方法及相关设备 |
CN111489122B (zh) * | 2020-04-09 | 2021-10-01 | 山东山大华天软件有限公司 | 一种基于浏览器编辑及展示多条bom数据的方法、设备及可读存储介质 |
CN112541009B (zh) * | 2020-12-23 | 2023-10-13 | 湖北华中电力科技开发有限责任公司 | 数据查询方法、装置、电子设备及存储介质 |
CN113283884A (zh) * | 2020-12-31 | 2021-08-20 | 深圳怡化电脑股份有限公司 | 一种日志处理方法和装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902764A (zh) * | 2012-09-25 | 2013-01-30 | 北京奇虎科技有限公司 | 一种日志记录的方法和装置 |
CN105138592A (zh) * | 2015-07-31 | 2015-12-09 | 武汉虹信技术服务有限责任公司 | 一种基于分布式架构的日志数据存储和检索方法 |
CN106850782A (zh) * | 2017-01-17 | 2017-06-13 | 泰康保险集团股份有限公司 | 用于日志处理的方法和系统 |
CN107181675A (zh) * | 2017-06-20 | 2017-09-19 | 北京奇艺世纪科技有限公司 | 服务调用方法及装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4078454B2 (ja) * | 2002-03-22 | 2008-04-23 | 株式会社日立製作所 | ディジタル署名管理方法とディジタル署名処理装置およびプログラムと記録媒体 |
US20070100911A1 (en) * | 2005-11-03 | 2007-05-03 | International Business Machines Corporation | Apparatus and method for materialized query table journaling in a computer database system |
CN104252536B (zh) * | 2014-09-16 | 2017-12-08 | 福建新大陆软件工程有限公司 | 一种基于hbase的上网日志数据查询方法及装置 |
-
2018
- 2018-01-10 CN CN201810024107.8A patent/CN108415925B/zh active Active
- 2018-02-28 WO PCT/CN2018/077629 patent/WO2019136812A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902764A (zh) * | 2012-09-25 | 2013-01-30 | 北京奇虎科技有限公司 | 一种日志记录的方法和装置 |
CN105138592A (zh) * | 2015-07-31 | 2015-12-09 | 武汉虹信技术服务有限责任公司 | 一种基于分布式架构的日志数据存储和检索方法 |
CN106850782A (zh) * | 2017-01-17 | 2017-06-13 | 泰康保险集团股份有限公司 | 用于日志处理的方法和系统 |
CN107181675A (zh) * | 2017-06-20 | 2017-09-19 | 北京奇艺世纪科技有限公司 | 服务调用方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112564959A (zh) * | 2020-12-01 | 2021-03-26 | 上海恒生聚源数据服务有限公司 | 一种日志采集方法、装置、设备及可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN108415925B (zh) | 2020-11-24 |
CN108415925A (zh) | 2018-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019140828A1 (fr) | Appareil électronique, procédé d'interrogation de journaux dans un système distribué, et support d'informations | |
WO2019136812A1 (fr) | Dispositif électronique, procédé de génération et de consultation de journal d'appels de données, et support de stockage | |
WO2019148722A1 (fr) | Dispositif électronique, procédé de migration et d'appel de données, et support d'informations | |
WO2019148720A1 (fr) | Dispositif électronique, procédé de stockage de données et support d'informations | |
WO2019148727A1 (fr) | Dispositif électronique, procédé d'avertissement d'exception à base de redis et support d'informations | |
WO2019153592A1 (fr) | Dispositif et procédé de gestion de données de droit d'usage, et support d'informations lisible par ordinateur | |
WO2020010714A1 (fr) | Appareil et procédé d'identification de client et support d'informations lisible par ordinateur | |
WO2019179027A1 (fr) | Dispositif électronique, procédé de vérification de fourniture de pare-feu, système et support d'informations | |
CN111400308B (zh) | 缓存数据的处理方法、电子装置及可读存储介质 | |
WO2019019636A1 (fr) | Procédé d'identification d'utilisateur, dispositif électronique et support d'informations lisible par ordinateur | |
CN112162965B (zh) | 一种日志数据处理的方法、装置、计算机设备及存储介质 | |
EP3188051B1 (fr) | Systèmes et procédés de production de modèle de recherche | |
EP2930629A1 (fr) | Accès à magasins de données non-relationnels à l'aide de requêtes en langage de requête structuré | |
WO2019169763A1 (fr) | Appareil électronique, procédé de contrôle de risque de système de service et support de stockage | |
WO2019062191A1 (fr) | Dispositif électronique, procédé et système d'extraction de données dans une table de données, et support de stockage | |
WO2019148728A1 (fr) | Dispositif électronique, procédé d'affectation de tâche d'exécution pour système distribué, et support d'informations | |
WO2019169771A1 (fr) | Dispositif électronique, procédé d'acquisition d'informations d'instruction d'accès et support d'informations | |
CN110851298A (zh) | 异常分析及处理方法、电子装置及存储介质 | |
CN112860737B (zh) | 数据查询方法、装置、电子设备及可读存储介质 | |
WO2019071898A1 (fr) | Dispositif électronique, procédé de génération de script d'interrogation de base de données et support d'informations | |
CN113238815B (zh) | 一种接口访问控制方法、装置、设备及存储介质 | |
WO2023165256A1 (fr) | Procédé et appareil de génération d'informations et dispositif électronique | |
CN116644223A (zh) | 数据查询方法、装置、设备及可读介质 | |
WO2019071899A1 (fr) | Dispositif électronique, procédé d'importation de données de véhicule et support de stockage | |
WO2020248384A1 (fr) | Procédé et appareil de prévention d'accès par requêtes répétées, dispositif informatique et support de stockage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/10/2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18900473 Country of ref document: EP Kind code of ref document: A1 |