CN107679198B - Information query method and device - Google Patents
Information query method and device Download PDFInfo
- Publication number
- CN107679198B CN107679198B CN201710935517.3A CN201710935517A CN107679198B CN 107679198 B CN107679198 B CN 107679198B CN 201710935517 A CN201710935517 A CN 201710935517A CN 107679198 B CN107679198 B CN 107679198B
- Authority
- CN
- China
- Prior art keywords
- information
- condition
- node
- real
- test query
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
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/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24568—Data stream processing; Continuous queries
-
- 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
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)
- Computational Linguistics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses an information query method and an information query device, relates to the technical field of internet, and mainly aims to solve the problem that a large amount of labor is wasted because a service logic relationship and a program code in an SSP system need to be matched by a tester, an operator and a developer to search abnormal information. The main technical scheme is as follows: receiving a test query condition, wherein the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request; and extracting the information matched with the test query conditions, and displaying. The method is mainly used for inquiring information.
Description
Technical Field
The invention relates to the technical field of internet, in particular to an information query method and device.
Background
A provider Platform (SSP) is an advertisement service system for providing advertisement delivery services to a large number of internet media users and advertisers. The SSP system needs to configure matched advertisement putting strategies for a large number of internet media users aiming at a large number of advertisement information, so that a large-scale service logic relation and program codes are stored in the SSP system.
At present, when a technician tests an SSP system, abnormal operation conditions occur, for example, the SSP system does not issue advertisements, the order of issuing advertisements is wrong, and the like, and the technician is required to query abnormal information for correction, but because the service logic relationship and the program code in the SSP system need to be matched by the tester, the operator and the developer to search the abnormal information, a large amount of manpower is wasted, and the query time of the abnormal information is reduced.
Disclosure of Invention
In view of the above, the present invention provides an information query method and apparatus, and mainly aims to solve the problem that a great amount of labor is wasted because a service logic relationship and a program code in an SSP system need to be matched by a tester, an operator, and a developer to search for abnormal information.
According to an aspect of the present invention, there is provided a method for querying information, including:
receiving a test query condition, wherein the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
and extracting the information matched with the test query conditions, and displaying.
Further, before receiving the test query strip, the method further comprises:
acquiring a real-time log stream for running an advertisement request according to an SSP system, wherein the real-time log stream stores running information of different process nodes;
and configuring process identifiers for different process nodes in the real-time log stream.
Further, the configuring the process identifiers for the different process nodes in the real-time log stream includes:
monitoring the initial identification of each process node in the real-time log stream, analyzing the information type of each process node in the real-time log stream, and generating a process identification corresponding to the information type according to the initial identification so as to extract the information corresponding to the test query condition according to the process identification.
Further, before receiving the test query strip, the method further comprises:
and storing the information with the process identification into a specific database in an index form so as to directly extract the information corresponding to the test query condition from the specific database.
Further, the test query condition includes a time condition, and/or an attribute condition, and/or a node condition, and the storing the information with the process identifier in an index form into a specific database includes:
and establishing a corresponding relation between the process identification and the time condition, and/or the attribute condition, and/or the node condition, and storing the corresponding relation and the information into a specific database according to different dimensions and different levels.
Further, the extracting and displaying the information matched with the test query condition comprises:
and searching a process identification matched with the time condition, the attribute condition and/or the node condition in the specific database, and displaying information corresponding to the process identification.
Further, the method further comprises:
and updating the information with the process identification stored in the specific database according to a preset time interval.
According to an aspect of the present invention, there is provided an apparatus for querying information, including:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a test query condition, and the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
and the display unit is used for extracting the information matched with the test query conditions and displaying the information.
Further, the apparatus further comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a real-time log stream for running an advertisement request according to an SSP system, and the real-time log stream stores running information of different process nodes;
and the configuration unit is used for configuring the process identifiers for different process nodes in the real-time log stream.
Further, the configuration unit is specifically configured to monitor an initial identifier of each process node in the real-time log stream, analyze an information type of each process node in the real-time log stream, and generate a process identifier corresponding to the information type according to the initial identifier, so as to extract information corresponding to the test query condition according to the process identifier.
Further, the apparatus further comprises:
and the storage unit is used for storing the information with the process identification into a specific database in an index form so as to directly extract the information corresponding to the test query condition from the specific database.
Further, the test query condition comprises a time condition, and/or an attribute condition, and/or a node condition,
the storage unit is specifically configured to establish a correspondence between the process identifier and the time condition, and/or the attribute condition, and/or the node condition, and store the correspondence and the information in a specific database according to different dimensions and different levels.
Further, the display unit is specifically configured to search for a process identifier in the specific database, where the process identifier matches the time condition, and/or the attribute condition, and/or the node condition, and display information corresponding to the process identifier.
Further, the apparatus further comprises:
and the updating unit is used for updating the information with the process identification stored in the specific database according to a preset time interval.
According to another aspect of the present invention, there is provided a storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform an operation corresponding to the query method of the above information.
According to still another aspect of the present invention, there is provided a terminal including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the query method of the information.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the invention provides an information query method and device, which comprises the steps of firstly receiving test query conditions, wherein the test query conditions are information of different process nodes when a provider platform (SSP) operates a service according to an advertisement request, then extracting information matched with the test query conditions, and displaying the information. Compared with the prior art that the service logic relationship and the program code in the SSP system need the common cooperation of testers, operators and developers to search the abnormal information, the embodiment of the invention can display the information corresponding to the query condition in the SSP system in the query platform by inputting the query condition, so that the testers, the operators and the developers can respectively perform detailed query on the displayed information, avoid the three-party personnel from performing head-collision query, reduce the time for searching the abnormal information by common cooperation, and further improve the query efficiency.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for querying information according to an embodiment of the present invention;
FIG. 2 is a flow chart of another information query method provided by the embodiment of the invention;
FIG. 3 is a schematic diagram illustrating a client request processing flow according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a query interface provided by an embodiment of the invention;
FIG. 5 is a diagram illustrating a contextual information query according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a cloud rule information query according to an embodiment of the present invention;
FIG. 7 is a block diagram of an apparatus for querying information according to an embodiment of the present invention;
FIG. 8 is a block diagram of another information query device provided by an embodiment of the invention;
fig. 9 is a diagram illustrating a query entity structure of information according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present invention provides an information query method, as shown in fig. 1, the method includes:
101. a test query is received.
The test query condition is information of different process nodes when the provider platform SSP requests to run a service according to an advertisement request, and the information of the different process nodes may include client original request information, client advertisement information issued by the SSP system, context information, a request timestamp, request downstream DSP original information, downstream DSP original advertisement information, cloud rule information, and basic information of a requested product, a requested scene, and a requested Mid, and embodiments of the present invention are not particularly limited. The client original request information is information that the client requests to launch an advertisement, the SSP system issues client advertisement information to be launched advertisements distributed to advertisement positions provided for internet media in the client in the SSP system, the context information is a specific strategy and matching information for processing advertisement launching in the SSP system, the request timestamp is a time interval for sending the advertisement request by the client, the downstream DSP issues original advertisement information to be advertisement information that the DSP needs to issue to the client, the cloud rule information is a strategy for matching the advertisement and the advertisement positions configured in the SSP system, and the basic information of a requested product, a requested scene, requested Mid and the like is request information carried in one request. Generally, in order to reduce the input and limitation of the query condition to expand the query range, the test query condition may be configured as a certain number of conditions, such as a time period, a scene, and the like in advance, and the embodiment of the present invention is not limited specifically.
It should be noted that, since the SSP system provides client advertisement slots accessed from the internet media for a large number of advertisers docked in the DSP system, the SSP system needs to perform a large number of operations such as logical relationship operations and information storage, operation, matching, etc., after the client sends an advertisement request, when the client executes the advertisement request, the whole process of requesting operation is determined according to the information carried in the request, and further, the information of the whole flow of sending a request by the client is stored in the SSP system. In addition, the information of the process node may embody specific content of the advertisement request when the program is running, for example, the SSP issuing client advertisement information may include activity _ type and material _ type.
102. And extracting the information matched with the test query conditions, and displaying.
The information matched with the test query condition can be stored in a database of characteristics so as to be extracted and displayed according to the test query condition. For example, product information is stored in a database: product: "mobilesafe", when the input test query condition is "mobilesafe" and the timestamp is "2016-3-1-20: 01 to 2016-3-1-20: 05", extracting matching information of the mobilesafe that the advertisement request runs at 2016-3-1-20:01 to 2016-3-1-20: 05. Generally, in order to make the extracted matching information more accurate, the test query condition may include information of a plurality of process nodes, thereby reducing information to be extracted and improving query efficiency.
The invention provides an information query method, compared with the prior art that abnormal information is searched by the common cooperation of a tester, an operator and a developer due to the service logic relationship and program codes in an SSP system, the embodiment of the invention can display the information corresponding to the query condition in the SSP system in a query platform by inputting the query condition, so that the tester, the operator and the developer can respectively perform detailed query on the displayed information, avoid the three-party personnel from performing head-collision query, reduce the time for searching the abnormal information by the common cooperation, and improve the query efficiency.
An embodiment of the present invention provides another information query method, as shown in fig. 2, the method includes:
201. a real-time log stream of running advertisement requests is obtained from the SSP system.
In order to record the information of each process node, all information of the operation corresponding to the running advertisement request needs to be acquired, and since the information generated in different process nodes is stored in a single node form, a real-time log stream storing all the process node information needs to be acquired. The real-time log stream stores information of running of different process nodes, information generated when a program and a logic relationship are run by the request is recorded by acquiring an original request log of a client from an SSP system, each process node can be a parameter logic relationship running or a parameter configuration program, and the like. Generally, in order to find information with a possibility of operation error in true-to-true search, information of a process node includes client original request information, client advertisement information issued by an SSP system, context information, a request timestamp, request downstream DSP original information, downstream DSP original advertisement information, cloud rule information, and basic information of a requested product, a requested scene, and a requested Mid.
It should be noted that, generally, after a client sends an advertisement request, an SSP system processes the client request through a processing rule in the system, as shown in fig. 3, an operation corresponding to the client request may be run according to a cloud rule, then a downstream DSP system is requested to obtain an advertisement to be delivered, after the downstream DSP system returns the advertisement to be delivered, the SSP system returns the advertisement to the client. In addition, the information of each process node in the real-time log stream includes all the data which are requested to be successfully operated in the execution process and all the data which are requested to be failed to be operated, so that the testing personnel can conveniently inquire the data.
202. And configuring process identifiers for different process nodes in the real-time log stream.
In order to extract the query information corresponding to the test query condition, a process identifier needs to be configured for the process node, so as to find the process identifier and information of the process node corresponding to the process identifier according to the query information. The process identifier configured for each process node may be matched with the test query condition, or may establish a corresponding relationship with the test query condition, which is not specifically limited in the embodiments of the present invention.
For the embodiment of the present invention, step 202 may specifically be: monitoring the initial identification of each process node in the real-time log stream, analyzing the information type of each process node in the real-time log stream, and generating a process identification corresponding to the information type according to the initial identification so as to extract the information corresponding to the test query condition according to the process identification.
As shown in fig. 3, in order to accurately configure a process identifier for each process node, monitoring may be performed on an initial identifier in each process, for example, when advertisement information is monitored to be issued to a downstream DSP, the initial identifier of the issued advertisement is monitored, the initial identifier may correspondingly send an advertisement issuing request to the client, and the end identifier may correspondingly receive an advertisement delivery response returned by the client. Because the information of each process node may have the same or similar program parameters, the same process identifier is configured to avoid different operations when the process identifier is configured, the information type may be analyzed for the information in each process node, the information type may include detail type information, title type information, and the like, the detail type information is information that can be hidden, and is displayed when a user queries, and the title type information is information corresponding to the process node and needs to be matched with a test query condition so as to directly find the title type information through the query condition. Generally, information under the same process node can be continuously marked under the process identifier according to the title information and the detail information, so that a tester can check the title information first and check the detail information when needed.
It should be noted that, for the identifier configured for each process node, serial configuration needs to be performed according to the service logic sequence of the whole request execution, so that when the query information is presented, the queried information is presented according to the service logic execution sequence.
203. And storing the information with the process identification in a specific database in an index form.
Corresponding to the embodiment of the present invention, because node identifiers configured from different process nodes in a real-time log stream and corresponding information are massive and disordered, the node identifiers and the corresponding information need to be stored in a specific database, so as to directly extract information corresponding to the test query condition from the specific database. The specific database is a database supporting multidimensional storage and hierarchical document storage, such as a Mongo DB, and the embodiment of the present invention is not particularly limited.
It should be noted that, because the data stored in the Mongo DB may include information generated when a plurality of clients request to run a service, in order to avoid finding information generated when other clients request to run a service under a test query condition, the form stored in the Mongo DB needs to be stored in an index form, so that information corresponding to the client advertisement request is found, for example, the client advertisement request 1, and when the client advertisement request 1 stored in the Mongo DB executes a service, information of each process node is stored in a directory of the client advertisement request 1 in an index directory form, which is not specifically limited in the embodiment of the present invention.
For the embodiment of the present invention, step 203 may specifically be: and establishing a corresponding relation between the process identification and the time condition, and/or the attribute condition, and/or the node condition, and storing the corresponding relation and the information into a specific database according to different dimensions and different levels.
For the embodiment of the present invention, in order to quickly match the test query condition input by the search personnel to the corresponding process identifier, a relationship between the process identifier and a time condition, and/or an attribute condition, and/or a node condition may be established, where the time condition is the query time input by the user, the attribute condition is the information of the product, the main scene, the sub-scene, the environment, and the like input by the user, and the node condition is the process identifier stored in the specific database, such as mid and debug _ key, and the embodiment of the present invention is not particularly limited. In addition, because each process node has multi-dimensional and multi-level information, in order to store the stored information into a specific database in a clear and organized manner and accelerate the searching efficiency during searching, the established corresponding relation can be stored in the Mongo DB according to the multi-dimensional and multi-level manner of the information. In the Mongo DB, under a client advertisement request directory, information corresponding to each process node is stored in an index form according to different dimensions and different levels, so that the information needing to be inquired can be quickly found according to time conditions, attribute conditions and node conditions.
204. A test query is received.
This step is the same as step 101 shown in fig. 1, and is not described herein again.
It should be noted that the test query condition includes a time condition, an attribute condition, and/or a node condition, where the time condition is query time input by a user, the attribute condition is information of a product, a main scene, a sub-scene, an environment, and the like input by the user, the node condition is a process identifier stored in a specific database, such as mid and debug _ key, and a tester can query information under the corresponding process identifier by inputting the time condition, the attribute condition, and the node condition. In addition, as shown in fig. 3, since the information that does not correspond to the process node is stored in the database Mongo DB, the corresponding information in the Mongo DB can be directly called by establishing a query platform, specifically, the query can be performed according to 1 condition or a combination of a plurality of conditions, and the embodiment of the present invention is not particularly limited.
205. And searching a process identification matched with the time condition, the attribute condition and/or the node condition in the specific database, and displaying information corresponding to the process identification.
For example, the test query condition is a time interval, a product, a main scenario, a sub scenario, an environment (tests 2 and 3, regression), a mid combination query, and a debug _ key query, and the query condition is a node query, where the time interval, the product, the main scenario, the sub scenario, the environment (tests 2 and 3, regression), the mid combination query, the debug _ key query, and the like may be one or more query conditions, and the embodiment of the present invention is not particularly limited. Generally, a time interval, a product, a main scene, a sub-scene, an environment, a mid combination query, a debug _ key query, etc. all correspond to a process identifier, the flow identifier, however, includes a plurality of sub-identifiers that are progressive layer by layer, and may also include a plurality of sub-identifiers, for example, corresponding identifiers t1 and t2 in the time interval, process identifiers c1 and c2 of the product are included under the process identifier t1, under the c1 flow identification, main scene flow identifications z1, z2, z3 and the like are included, and by analogy, when the query conditions according to the input are t1, c2 and z3, the information corresponding to z3 in the product c2 at the time point of t1 can be found in the database according to the process identification, if the query condition is only z3, the products c1 and c2 under the time periods including t1 and t2 can be queried, the corresponding information of the main scene z3, and the specific corresponding relationship are not particularly limited in the embodiments of the present invention.
It should be noted that, in the embodiment of the present invention, the display may be performed by using a self-service query platform, and after the query condition is input, a query interface as shown in fig. 4 may be displayed, so that a query worker manually screens information corresponding to each process node.
206. And updating the information with the process identification stored in the specific database according to a preset time interval.
For the embodiment of the present invention, because the content of the advertisement information in the SSP system, such as storage, regulation, and the like, is only stored for a period of time, and the developer can perform operations, such as encoding test, and the like, on the request sent by the client in real time, the information stored in the specific database needs to be updated in time, and generally, the preset time interval may be 1 day or 1 week, and the embodiment of the present invention is not limited specifically.
For the embodiment of the present invention, specific application scenarios may be as follows, but are not limited to the following scenarios, including: the input query condition is the request mid: 000107a36f6ab819b7d3fdc3707b7ec3, requesting an approximate time: 2017.06.01 am about 11 am, product: mobile phone guard, scene (page _ id, sub _ page _ id): 14. 1, the information displayed by the query platform is shown in fig. 4, the context information displayed after the details are clicked and viewed is displayed, and as shown in fig. 5, the information that can be obtained is that 16 mv advertisements are issued, 1 mv advertisement is filtered, but the information is not finally issued to the client, 5 images, 3 mv advertisements with the size of 1200 x 627, 7 mv advertisements with the size of 200 x 150, and the cloud rule ID: 505615, after looking at the cloud rule configuration, as shown in fig. 6, get the required ad size: and 2, space _ id:3, and then determining the reason of the problem generation as the reason that the advertisement size does not meet the requirement according to the actually issued content.
The invention provides another information query method, the embodiment of the invention can match the information corresponding to each process node according to the input query condition by acquiring the real-time log stream of the running advertisement request and configuring an identifier for the process node in the real-time log stream and establishing the relationship between the process node and the query condition, and timely update the information corresponding to the process node and the query condition, thereby realizing that testers, operators and developers can respectively query the information in each process node in an SSP system through a query platform, avoiding three-party personnel from performing head-collision query, frequently viewing the original log, reducing the time for searching abnormal information by matching together, and further improving the query efficiency.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides an apparatus for querying information, and as shown in fig. 7, the apparatus includes: a receiving unit 31 and a display unit 32.
A receiving unit 31, configured to receive a test query condition, where the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request; the receiving unit 31 executes a function module for receiving a test query condition for a query device of information.
And the display unit 32 is used for extracting the information matched with the test query condition and displaying the information. The display unit 32 is a functional module that executes, extracts, and displays information matching the test query condition for an information query device.
The invention provides an information inquiry device, compared with the prior art that abnormal information is searched by the common cooperation of a tester, an operator and a developer due to the service logic relationship and program codes in an SSP system, the embodiment of the invention can display the information corresponding to the inquiry condition in an inquiry platform in the SSP system by inputting the inquiry condition, so that the tester, the operator and the developer can respectively carry out detailed inquiry on the displayed information, avoid the three-party personnel from carrying out head-collision inquiry, reduce the time for searching the abnormal information by the common cooperation, and further improve the inquiry efficiency.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention provides another information query apparatus, as shown in fig. 8, where the apparatus includes: receiving unit 41, presentation unit 42, obtaining unit 43, configuration unit 44, storage unit 45, and updating unit 46.
A receiving unit 41, configured to receive a test query condition, where the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
and the display unit 42 is used for extracting and displaying the information matched with the test query conditions. Further, the apparatus further comprises:
an obtaining unit 43, configured to obtain a real-time log stream for running an advertisement request according to an SSP system, where the real-time log stream stores running information of different process nodes;
a configuration unit 44, configured to configure process identifiers for different process nodes in the real-time log stream. Specifically, the configuration unit 44 is specifically configured to monitor an initial identifier of each process node in the real-time log stream, analyze an information type of each process node in the real-time log stream, and generate a process identifier corresponding to the information type according to the initial identifier, so as to extract information corresponding to the test query condition according to the process identifier.
Further, the apparatus further comprises:
the storage unit 45 is configured to store the information with the process identifier in an index form into a specific database, so as to directly extract the information corresponding to the test query condition from the specific database.
Specifically, the test query condition comprises a time condition, and/or an attribute condition, and/or a node condition,
the storage unit 45 is specifically configured to establish a corresponding relationship between the process identifier and the time condition, and/or the attribute condition, and/or the node condition, and store the corresponding relationship and the information into a specific database according to different dimensions and different levels.
Specifically, the displaying unit 42 is specifically configured to search for a process identifier in the specific database, where the process identifier matches the time condition, and/or the attribute condition, and/or the node condition, and display information corresponding to the process identifier.
Further, the apparatus further comprises:
and an updating unit 46, configured to update the information with the flow identifier stored in the specific database at preset time intervals.
The invention provides another information inquiry device, the embodiment of the invention can match the information corresponding to each process node according to the input inquiry condition by acquiring the real-time log stream of the running advertisement request and configuring an identifier for the process node in the real-time log stream and establishing the relationship between the process node and the inquiry condition, and timely update the information corresponding to the inquiry condition and the process node, thereby realizing that testers, operators and developers can respectively inquire the information in each process node in an SSP system through an inquiry platform, avoiding three-party personnel from carrying out head-collision inquiry, frequently checking the original log, reducing the time for searching abnormal information by cooperating with each other, and further improving the inquiry efficiency.
According to an embodiment of the present invention, a storage medium is provided, where at least one executable instruction is stored, and the computer executable instruction can execute the method for querying information in any of the above method embodiments.
Fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the terminal.
As shown in fig. 9, the terminal may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508.
A communication interface 504 for communicating with network elements of other devices, such as clients or other servers.
The processor 502 is configured to execute the program 510, and may specifically execute relevant steps in the above-described information query method embodiment.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The terminal comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may specifically be used to cause the processor 502 to perform the following operations:
receiving a test query condition, wherein the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
and extracting the information matched with the test query conditions, and displaying.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP system) may be used in practice to implement some or all of the functions of some or all of the components in the method and apparatus for querying information according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The embodiment of the invention discloses:
a1, a method for querying information, comprising:
receiving a test query condition, wherein the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
and extracting the information matched with the test query conditions, and displaying.
A2, before the receiving a test query strip according to the method of A1, the method further comprising:
acquiring a real-time log stream for running an advertisement request according to an SSP system, wherein the real-time log stream stores running information of different process nodes;
and configuring process identifiers for different process nodes in the real-time log stream.
A3, according to the method in A2, the configuring process identifiers for different process nodes in the real-time log stream includes:
monitoring the initial identification of each process node in the real-time log stream, analyzing the information type of each process node in the real-time log stream, and generating a process identification corresponding to the information type according to the initial identification so as to extract the information corresponding to the test query condition according to the process identification.
A4, the method of A1 or A2, wherein prior to said receiving a test query strip, the method further comprises:
and storing the information with the process identification into a specific database in an index form so as to directly extract the information corresponding to the test query condition from the specific database.
A5, the method according to A4, wherein the test query conditions include time conditions, and/or attribute conditions, and/or node conditions, and the storing the information with the process identification in a specific database in an index form comprises:
and establishing a corresponding relation between the process identification and the time condition, and/or the attribute condition, and/or the node condition, and storing the corresponding relation and the information into a specific database according to different dimensions and different levels.
A6, according to the method in A5, extracting and displaying the information matched with the test query conditions comprises the following steps:
and searching a process identification matched with the time condition, the attribute condition and/or the node condition in the specific database, and displaying information corresponding to the process identification.
A7, the method of A4, the method further comprising:
and updating the information with the process identification stored in the specific database according to a preset time interval.
B8, an apparatus for querying information, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a test query condition, and the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
and the display unit is used for extracting the information matched with the test query conditions and displaying the information.
B9, the apparatus of B8, the apparatus further comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a real-time log stream for running an advertisement request according to an SSP system, and the real-time log stream stores running information of different process nodes;
and the configuration unit is used for configuring the process identifiers for different process nodes in the real-time log stream.
B10, the device according to B9,
the configuration unit is specifically configured to monitor an initial identifier of each process node in the real-time log stream, analyze an information type of each process node in the real-time log stream, and generate a process identifier corresponding to the information type according to the initial identifier, so as to extract information corresponding to the test query condition according to the process identifier.
B11, the apparatus of B8 or B9, the apparatus further comprising:
and the storage unit is used for storing the information with the process identification into a specific database in an index form so as to directly extract the information corresponding to the test query condition from the specific database.
B12, the apparatus of B11, the test query condition comprising a time condition, and/or an attribute condition, and/or a node condition,
the storage unit is specifically configured to establish a correspondence between the process identifier and the time condition, and/or the attribute condition, and/or the node condition, and store the correspondence and the information in a specific database according to different dimensions and different levels.
B13, the device according to B12,
the display unit is specifically configured to search for a process identifier in the specific database, where the process identifier matches the time condition, and/or the attribute condition, and/or the node condition, and display information corresponding to the process identifier.
B14, the apparatus of B11, the apparatus further comprising:
and the updating unit is used for updating the information with the process identification stored in the specific database according to a preset time interval.
C15, a storage medium having stored therein at least one executable instruction for causing a processor to perform an operation corresponding to the method of querying for information as described in any one of a1-a 7.
D16, a terminal comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the information query method in any one of A1-A7.
Claims (12)
1. A method for querying information, comprising:
acquiring a real-time log stream for running an advertisement request according to an SSP system, wherein the real-time log stream stores running information of different process nodes;
configuring process identifiers for different process nodes in the real-time log stream;
receiving a test query condition, wherein the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
extracting and displaying information matched with the test query conditions, and respectively querying the displayed information in detail by a tester, an operator and a developer;
the configuring the process identifiers for the different process nodes in the real-time log stream includes:
monitoring the initial identification of each process node in the real-time log stream, analyzing the information type of each process node in the real-time log stream, and generating a process identification corresponding to the information type according to the initial identification so as to extract the information corresponding to the test query condition according to the process identification.
2. The method of claim 1, wherein prior to receiving the test query strip, the method further comprises:
and storing the information with the process identification into a specific database in an index form so as to directly extract the information corresponding to the test query condition from the specific database.
3. The method of claim 2, wherein the test query condition comprises a time condition, and/or an attribute condition, and/or a node condition, and wherein the storing the information with the flow identifier in an index form into a specific database comprises:
and establishing a corresponding relation between the process identification and the time condition, and/or the attribute condition, and/or the node condition, and storing the corresponding relation and the information into a specific database according to different dimensions and different levels.
4. The method of claim 3, wherein extracting and presenting information matching the test query comprises:
and searching a process identification matched with the time condition, the attribute condition and/or the node condition in the specific database, and displaying information corresponding to the process identification.
5. The method of claim 2, further comprising:
and updating the information with the process identification stored in the specific database according to a preset time interval.
6. An apparatus for querying information, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a real-time log stream for running an advertisement request according to an SSP system, and the real-time log stream stores running information of different process nodes;
the configuration unit is used for configuring process identifiers for different process nodes in the real-time log stream;
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a test query condition, and the test query condition is information of different process nodes when a provider platform SSP operates a service according to an advertisement request;
the display unit is used for extracting and displaying the information matched with the test query conditions;
wherein, the tester, the operator and the developer respectively carry out detailed inquiry on the displayed information;
the configuration unit is specifically configured to monitor an initial identifier of each process node in the real-time log stream, analyze an information type of each process node in the real-time log stream, and generate a process identifier corresponding to the information type according to the initial identifier, so as to extract information corresponding to the test query condition according to the process identifier.
7. The apparatus of claim 6, further comprising:
and the storage unit is used for storing the information with the process identification into a specific database in an index form so as to directly extract the information corresponding to the test query condition from the specific database.
8. The apparatus according to claim 7, wherein the test query condition comprises a time condition, and/or an attribute condition, and/or a node condition,
the storage unit is specifically configured to establish a correspondence between the process identifier and the time condition, and/or the attribute condition, and/or the node condition, and store the correspondence and the information in a specific database according to different dimensions and different levels.
9. The apparatus of claim 8,
the display unit is specifically configured to search for a process identifier in the specific database, where the process identifier matches the time condition, and/or the attribute condition, and/or the node condition, and display information corresponding to the process identifier.
10. The apparatus of claim 7, further comprising:
and the updating unit is used for updating the information with the process identification stored in the specific database according to a preset time interval.
11. A storage medium having stored therein at least one executable instruction for causing a processor to perform an operation corresponding to the method of querying for information according to any one of claims 1 to 5.
12. A terminal, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the information query method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710935517.3A CN107679198B (en) | 2017-10-10 | 2017-10-10 | Information query method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710935517.3A CN107679198B (en) | 2017-10-10 | 2017-10-10 | Information query method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107679198A CN107679198A (en) | 2018-02-09 |
CN107679198B true CN107679198B (en) | 2021-04-09 |
Family
ID=61138793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710935517.3A Active CN107679198B (en) | 2017-10-10 | 2017-10-10 | Information query method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107679198B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413614A (en) * | 2019-07-09 | 2019-11-05 | 北京三快在线科技有限公司 | A kind of method and device that tables of data generates |
CN111786854B (en) * | 2020-06-30 | 2022-08-16 | 曙光信息产业(北京)有限公司 | Network card testing method and device, electronic equipment and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013233604A (en) * | 2012-05-08 | 2013-11-21 | Canon Inc | Method and device of monitoring control of production apparatus, and production system |
CN103902537A (en) * | 2012-12-25 | 2014-07-02 | 重庆新媒农信科技有限公司 | Multi-service log data storage processing and inquiring system and method thereof |
CN105450462A (en) * | 2014-07-03 | 2016-03-30 | 阿里巴巴集团控股有限公司 | On-line state monitoring method and system |
CN105608203A (en) * | 2015-12-24 | 2016-05-25 | Tcl集团股份有限公司 | Internet of things log processing method and device based on Hadoop platform |
CN105721193A (en) * | 2014-12-05 | 2016-06-29 | 方正国际软件(北京)有限公司 | Method and device for system information monitoring |
CN105721187A (en) * | 2014-12-03 | 2016-06-29 | 中国移动通信集团江苏有限公司 | Service fault diagnosis method and apparatus |
JP2017117141A (en) * | 2015-12-24 | 2017-06-29 | セコム株式会社 | Guard business support system and guard device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030002978A (en) * | 2001-07-03 | 2003-01-09 | 주식회사 엔피아시스템즈 | Method and System for Offering Management Catalog |
CN101404696B (en) * | 2008-11-03 | 2012-10-10 | 中兴通讯股份有限公司 | Visible service flow tracing method and system, service flow processing system |
CN103530231B (en) * | 2013-10-12 | 2017-02-22 | 北京京东尚科信息技术有限公司 | Application program testing method and system based on service process control |
-
2017
- 2017-10-10 CN CN201710935517.3A patent/CN107679198B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013233604A (en) * | 2012-05-08 | 2013-11-21 | Canon Inc | Method and device of monitoring control of production apparatus, and production system |
CN103902537A (en) * | 2012-12-25 | 2014-07-02 | 重庆新媒农信科技有限公司 | Multi-service log data storage processing and inquiring system and method thereof |
CN105450462A (en) * | 2014-07-03 | 2016-03-30 | 阿里巴巴集团控股有限公司 | On-line state monitoring method and system |
CN105721187A (en) * | 2014-12-03 | 2016-06-29 | 中国移动通信集团江苏有限公司 | Service fault diagnosis method and apparatus |
CN105721193A (en) * | 2014-12-05 | 2016-06-29 | 方正国际软件(北京)有限公司 | Method and device for system information monitoring |
CN105608203A (en) * | 2015-12-24 | 2016-05-25 | Tcl集团股份有限公司 | Internet of things log processing method and device based on Hadoop platform |
JP2017117141A (en) * | 2015-12-24 | 2017-06-29 | セコム株式会社 | Guard business support system and guard device |
Non-Patent Citations (1)
Title |
---|
"基于网络日志分析的数字资源监测系统的实现";沈奎林、邵波、杜瑾;《图书馆学研究》;20150825(第16期);第21-25页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107679198A (en) | 2018-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11792291B1 (en) | Proxying hypertext transfer protocol (HTTP) requests for microservices | |
CN111522922B (en) | Log information query method and device, storage medium and computer equipment | |
US11232125B1 (en) | Conversion of cloud computing platform data for ingestion by data intake and query system | |
US20210075667A1 (en) | Generating actionable alert messages for resolving incidents in an information technology environment | |
US11829330B2 (en) | Log data extraction from data chunks of an isolated execution environment | |
US10917389B2 (en) | Trusted tunnel bridge | |
US11145123B1 (en) | Generating extended reality overlays in an industrial environment | |
US10887157B1 (en) | Dual-sourced incident management and monitoring system | |
CN108255847B (en) | Page generation method and device | |
US11676345B1 (en) | Automated adaptive workflows in an extended reality environment | |
US11276240B1 (en) | Precise plane detection and placement of virtual objects in an augmented reality environment | |
US11269808B1 (en) | Event collector with stateless data ingestion | |
US11301475B1 (en) | Transmission handling of analytics query response | |
US11663172B2 (en) | Cascading payload replication | |
US11316749B1 (en) | Generating three-dimensional representation of one or more cloud computing systems | |
CN109783543A (en) | Data query method, apparatus, equipment and storage medium | |
WO2021072742A1 (en) | Assessing an impact of an upgrade to computer software | |
US12062234B1 (en) | Codeless anchor detection for detectable features in an environment | |
US20230123539A1 (en) | Stitching event data using identity mappings | |
CN107679198B (en) | Information query method and device | |
CN110795332A (en) | Automatic testing method and device | |
CN109062799A (en) | Regression testing method, the apparatus and system of advertising scenarios | |
CN107885634B (en) | Method and device for processing abnormal information in monitoring | |
US20180217874A1 (en) | Resegmenting chunks of data for efficient load balancing across indexers | |
CN110737662A (en) | data analysis method, device, server and computer storage medium |
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 |