CN108874625B - Information processing method and device, electronic equipment and storage medium - Google Patents

Information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108874625B
CN108874625B CN201810555690.5A CN201810555690A CN108874625B CN 108874625 B CN108874625 B CN 108874625B CN 201810555690 A CN201810555690 A CN 201810555690A CN 108874625 B CN108874625 B CN 108874625B
Authority
CN
China
Prior art keywords
forwarding behavior
information
calling
target object
node information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810555690.5A
Other languages
Chinese (zh)
Other versions
CN108874625A (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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201810555690.5A priority Critical patent/CN108874625B/en
Publication of CN108874625A publication Critical patent/CN108874625A/en
Application granted granted Critical
Publication of CN108874625B publication Critical patent/CN108874625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides an information processing method and device, electronic equipment and a storage medium, and relates to the technical field of computers, wherein the method comprises the following steps: if the forwarding behavior aiming at the target object is detected, generating a first table associated with the forwarding behavior; recording calling information associated with the forwarding behavior through the first table, wherein the calling information comprises original node information of the target object, current node information corresponding to the forwarding behavior and superior node information; and determining the calling relation of the target object in the forwarding behavior according to the calling information in at least one first table associated with the forwarding behavior at least once. The technical scheme of the embodiment of the invention can quickly and conveniently determine the call relation of the forwarding behavior.

Description

Information processing method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an information processing method, an information processing device, electronic equipment and a computer readable storage medium.
Background
In the related art, when monitoring a mutual call relationship between a plurality of micro services (a plurality of micro services can be obtained by splitting a single application program or service, for example, a micro-letter operation is divided into several modules, each module represents one micro service, each module meets different requirements, and the purpose of marketing promotion of the micro-letter is achieved through combination), monitoring parameters of a software monitoring module need to be modified, and it is ensured that only an application module needing to be monitored is monitored. When monitoring the call relationship of different application modules, the monitoring parameters of the software monitoring module need to be modified for multiple times for different application modules. For example, as shown in FIG. 1, trace identification may be passed from service A through to service E via Threadlocal to concatenate the entire call link. Wherein, ThreadLocal is different for different calling chains. Therefore, when the calling relation is monitored in real time by modifying the monitoring parameters, the operation difficulty is higher and the operation steps are more complicated.
In addition, in the related art, the call relations for all forwarding behaviors that are active at one time are stored in one table, and if the amount of data stored in the table is large, when the call relations of the forwarding behaviors are determined through one table, a problem of slow speed of determining the call relations occurs, which results in low operation efficiency and inconvenience.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the embodiments of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
An object of embodiments of the present invention is to provide an information processing method and apparatus, an electronic device, and a storage medium, so as to overcome, at least to a certain extent, a problem that a call relationship cannot be determined quickly due to limitations and defects of related technologies.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of embodiments of the invention.
According to an aspect of an embodiment of the present invention, there is provided an information processing method including: if the forwarding behavior aiming at the target object is detected, generating a first table associated with the forwarding behavior; recording calling information associated with the forwarding behavior through the first table, wherein the calling information comprises original node information of the target object, current node information corresponding to the forwarding behavior and superior node information; and determining the calling relation of the target object in the forwarding behavior according to the calling information in at least one first table associated with the forwarding behavior at least once.
Optionally, the method further comprises: if the forwarding behavior for the target object is detected, generating a second table associated with the forwarding behavior; and recording calling parameter information associated with the forwarding behavior through the second table.
Optionally, the first table and the second table are associated by the same field identifier.
Optionally, the method further comprises: if the forwarding behavior for the target object is detected, generating a value of the field identifier; and updating the first table and the second table according to the value of the field identifier.
Optionally, the field identification comprises a track identification.
Optionally, the method further comprises: generating a third table associated with the forwarding behavior, wherein the third table is used for recording parent node information and child node information of the forwarding behavior; and updating the father node information and the child node information in the third table according to the calling information recorded by the first table.
Optionally, updating the parent node information and the child node information in the third table according to the call information recorded in the first table includes: and updating the child node information recorded in the third table according to the current node information recorded in the first table, and updating the parent node information recorded in the third table according to the superior node information recorded in the first table.
Optionally, if a forwarding behavior for the target object is detected, generating a first table associated with the forwarding behavior, including: if the forwarding behavior for the target object is detected, calling an encapsulated service interface to generate and store the first table associated with the forwarding behavior.
According to an aspect of an embodiment of the present invention, there is provided an information processing apparatus including: the system comprises a first table generation module, a first table generation module and a second table generation module, wherein the first table generation module is used for generating a first table associated with a forwarding behavior if the forwarding behavior aiming at a target object is detected; a calling information recording module, configured to record, through the first table, calling information associated with the forwarding behavior, where the calling information includes original node information of the target object, current node information corresponding to the forwarding behavior, and upper node information; and the calling relation determining module is used for determining the calling relation of the target object in the forwarding behavior according to the calling information in at least one first table associated with the forwarding behavior at least once.
According to an aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any one of the information processing methods described above via execution of the executable instructions.
According to an aspect of an embodiment of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the information processing method described in any one of the above.
In the technical scheme provided by the embodiment of the invention, on one hand, the first table associated with the forwarding behavior is generated to record the calling information associated with the forwarding behavior, so that one first table can be generated to record the corresponding calling information for each forwarding behavior, the problem of low efficiency of inquiring and calling relation due to large data quantity of the table caused by storing all the calling information associated with the forwarding behaviors in the same table is avoided, and the operation speed and convenience can be improved in the process of determining the calling relation of the forwarding behavior; on the other hand, the calling relation of the forwarding behavior can be monitored in real time through the original node information of the target objects in the first tables, the current node information corresponding to the forwarding behavior and the superior node information, so that the operation steps are simplified, the operation difficulty is reduced, and the operation efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the embodiments of the invention. It is obvious that the drawings in the following description are only some of the embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a diagram schematically illustrating a call relationship in the related art;
FIG. 2 is a diagram schematically illustrating an information processing method in an embodiment of the present invention;
fig. 3 schematically shows a block diagram of an information processing apparatus in an exemplary embodiment of the present invention;
FIG. 4 schematically illustrates a block diagram of an electronic device in an exemplary embodiment of the invention;
fig. 5 schematically shows a program product in an exemplary embodiment of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known techniques have not been shown or described in detail to avoid obscuring aspects of embodiments of the invention.
Furthermore, the drawings are merely schematic illustrations of embodiments of the invention, which are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The present exemplary embodiment first provides an information processing method, which can be applied to an application scenario in which a call relationship is monitored in real time when a certain link in each application is forwarded. Referring to fig. 2, the information processing method may include the steps of:
in step S210, if a forwarding behavior for a target object is detected, generating a first table associated with the forwarding behavior;
in step S220, recording, by using the first table, invocation information associated with the forwarding behavior, where the invocation information includes original node information of the target object, current node information corresponding to the forwarding behavior, and upper node information;
in step S230, according to the calling information in at least one first table associated with the forwarding behavior at least once, determining a calling relationship of the target object in the forwarding behavior.
In the information processing method provided in the exemplary embodiment, on one hand, the first table associated with the forwarding behavior is generated to record the calling information associated with the forwarding behavior, so that one first table can be generated to record corresponding calling information for each forwarding behavior, and the problem of low efficiency of querying and calling relationships due to large data volume of the tables caused by storing all the calling information associated with the forwarding behaviors in the same table is avoided, so that the operation speed and convenience can be improved in the process of determining the calling relationships of the forwarding behaviors; on the other hand, the calling relation of the forwarding behavior can be monitored in real time through the original node information of the target objects in the first tables, the current node information corresponding to the forwarding behavior and the superior node information, so that the operation steps are simplified, the operation difficulty is reduced, and the operation efficiency is improved.
Next, the information processing method in the present exemplary embodiment is further explained with reference to the drawings.
In step S210, if a forwarding behavior for a target object is detected, a first table associated with the forwarding behavior is generated.
In this example, the target object may be, for example, an application module, such as application software or a website link in an application website, and specifically may be a link in a public number; or may be data in a server; it can also be a certain activity in the offline scene, and the website link in the application software is taken as an example for illustration. The forwarding behavior may include both direct forwarding and indirect forwarding. For each target object, multiple forwarding actions may be included, and the multiple forwarding actions may occur simultaneously, or may be performed sequentially according to a preset time sequence or other sequences.
Before or when the forwarding behavior is detected, for each target object, an account table corresponding to each target object may be generated, and detailed information about the target object may be defined in each account table. For example, for a link in the target object, i.e. the public number 1, the related information of the public number 1 may be recorded in the account table, referring to table 1:
in table 1, APPID represents the account id of the target object, and the account id corresponding to each target object is different. For a link in a target object such as a public number, the account id of public number 1 may be 100001, the account id of public number 2 may be 100002, and so on. And if the call information of the forwarding behaviors of the target objects needs to be monitored, generating a plurality of account lists correspondingly.
Name of field Type (B) Whether or not it is empty Description of the invention
ID Shaping machine Is not empty Self-increasing running water number
APPID Character(s) Is not empty Account identification
NAME Character(s) Is not empty Name of public number
INTRODUCTION Character(s) Can be empty Public description information
TYPE Character(s) Is not empty Type of public number
REMARK Character(s) Can be empty Remark information
CREATETIME Date Is not empty Creation time
MODIFYTIME Date Is not empty Modifying time
OPERATOR Character(s) Is not empty Operator personnel
TABLE 1
The first table may be, for example, a call link list table of forwarding behaviors for indicating specific information of each forwarding behavior. It should be noted that, for multiple forwarding actions of the same target object, multiple first tables associated with each forwarding action need to be generated. For example, a first forwarding for public number 1 results in a first table 1, a second forwarding for public number 1 results in a first table 2, and so on. In particular, an encapsulated service interface may be invoked to generate and store a first table associated with the forwarding behavior. The first table is stored through the packaging service interface, so that the configuration difficulty can be reduced, and the maintenance cost is reduced.
In step S220, recording, by using the first table, invocation information associated with the forwarding behavior, where the invocation information includes original node information of the target object, current node information corresponding to the forwarding behavior, and upper node information.
In this exemplary embodiment, all the invocation information associated with the forwarding behavior may be recorded in the first table, and the information table identifier in the first table, i.e., WXACCOUNT _ ID, may be consistent with the account identifier APPID in the account table, so that the first table and the account table may be associated through the information table identifier in the first table and the account identifier in the account table to determine the target object targeted by the forwarding behavior.
The first table may specifically include original node information of the target object, current node information corresponding to the forwarding behavior, and upper node information corresponding to the forwarding behavior. The specific structure of the first table is shown with reference to table 2.
In table 2, the original node information of the target object is the original link identifier, and its field may be denoted as MAINOPENID; the current node information corresponding to the forwarding behavior is the current handler identifier and can be represented by a field OPENID; the upper node information corresponding to the forwarding behavior is the PARENT node identifier, and can be represented by a field party _ ID. The invocation information associated with the forwarding action in the first table includes, but is not limited to, this. When each forwarding behavior for the same or different target objects is detected, a first table shown in table 2, for example, may be generated for each forwarding behavior, so as to store the calling information of each forwarding behavior through the first table, and further execute subsequent operations.
Name of field Type (B) Whether or not it is empty Description of the invention
ID Shaping machine Is not empty Self-increasing running water number
ACTIVITYCODE Character(s) Is not empty Active coding
WXACCOUNT_ID Shaping machine Is not empty Information table identification
TRACE_ID Shaping machine Is not empty Track identification
NAME Character(s) Is not empty Forwarding mode
OPENID Character(s) Is not empty Current handler identification
MAINOPENID Character(s) Is not empty Linking original identities
PARENT_ID Shaping machine Is not empty Parent node identification
STARTTIME Date Is not empty Starting time
ENDTIME Date Is not empty End time
CREATETIME Date Is not empty Creation time
MODIFYTIME Date Is not empty Modifying time
OPERATOR Character(s) Is not empty Operator personnel
TABLE 2
In addition, the first table may further include an information table identifier, i.e., a public number identifier defined in the account table, and may further include a track identifier track _ ID, i.e., a serial number generated by the system for the acquired link. The track identifications in the first table generated by the multiple forwarding behaviors of the same target object are all the same, and the track identifications in the first table generated by the multiple forwarding behaviors of different target objects are all different.
Next, in step S230, according to the calling information in at least one first table associated with at least one forwarding behavior, determining a calling relationship of the target object in the forwarding behavior.
In this exemplary embodiment, since the first table shown in table 2 may be generated for each forwarding behavior, all the invocation relations for the target object or the invocation relation of a certain forwarding behavior may be determined according to the invocation information in at least one first table associated with one or more forwarding behaviors for the target object.
When the forwarding behavior for the target object is detected, a second table associated with the forwarding behavior can be generated, and the calling parameter information associated with the forwarding behavior is recorded through the second table. The second table may be a call label information table, wherein the call parameters include, but are not limited to, a service key value, service data JSONSTR, and the like. The business key value mainly stores a main key value of the business, the business data may include a policy number such as 200001, and a branch name such as beijing branch, etc. The specific structure of the second table is shown with reference to table 3:
name of field Type (B) Whether or not it is empty Description of the invention
ID Shaping machine Is not empty Self-increasing running water number
ACTIVITYCODE Character(s) Is not empty Active coding
WXACCOUNT_ID Shaping machine Is not empty Information table identification
TRACE_ID Shaping machine Is not empty Track identification
SPAN_ID Shaping machine Is not empty Link information table identification
KEYNO Character(s) Is not empty Service key value
OPENID Character(s) Is not empty Current handler identification
MAINOPENID Character(s) Is not empty Linking original identities
JSONSTR Character(s) Can be empty Service data JSON
TYPE Character(s) Is not empty Call type
SERVICE_NAME Character(s) Is not empty Service nameBalance
CREATETIME Date Is not empty Creation time
MODIFYTIME Date Is not empty Modifying time
OPERATOR Character(s) Is not empty Operator personnel
TABLE 3
Likewise, for multiple forwarding activities for the same target object, multiple second tables may be generated that are associated with each forwarding activity. The plurality of second tables are associated with the plurality of first tables through the same field identification so as to facilitate searching. The field identification may be a track identification, for example. Based on this, when the forwarding behavior is detected, a value of the trace identifier needs to be generated first, and the value of the trace identifier may be a serial number that is generated by the system randomly or according to the latest serial number plus one or other preset rules uniquely for the target object. The trace identifications corresponding to the same target object are the same, for example, the trace identifications in the first and second tables generated for all forwarding behaviors of link 1 in public number 1 are 30000001, the trace identifications in the first and second tables generated for all forwarding behaviors of link 2 in public number 1 are 30000002, and so on.
In addition, a link identifier, that is, a link information table identifier in table 3, may be automatically generated in the second table according to the characteristics of the forwarding times or forwarding time of the target object. The link identification may be represented, for example, by the field SPAN _ ID. And for the same target object, the link identifications in the second table corresponding to each forwarding action are different. For example, when forwarding link 1 for the first time, if account a acquires link 1 and forwards to account B, the value of the link identifier in the second table may be set to 1; the value of the link id in the second table may be set to 2 and so on if account B forwards link 1 to account C when link 1 is forwarded a second time. Or the link identifier may be set according to different forwarding manners, for example, when the forwarding manner is direct forwarding, the value of the link identifier may be set to 1; when the forwarding method is indirect forwarding, the value of the link identifier may be set to 2, and the like, and is not particularly limited herein.
On the basis, the calling can be determined by the track identification and the link identification stored in the second table, and the service data in the first table and the second table can be updated according to the track identification TRACE _ ID and the link identification SPAN _ ID. The service data can be identified by a JSONSTR field, and specifically can include an order account number, a company name and the like. For multiple forwarding operations of a link, the transmitted service data may be the same or different. Therefore, the calling parameter information transmitted by each forwarding behavior can be quickly and conveniently inquired according to the track identifier and the link identifier in the second table.
Further, on the basis of the first table and the second table, a third table associated with the forwarding behavior may be further generated, where the third table may be a call relation table for recording parent node information and child node information of each forwarding behavior. When multiple forwarding behaviors are performed, after a first table, a second table, and a third table are generated for the first forwarding behavior, the first table, the second table, and the third table are generated for the second forwarding behavior. When generating the first table of the second forwarding behavior, firstly, whether the third table of the first forwarding behavior contains the same call chain is judged, and if not, the first table of the second forwarding behavior is saved; if the third table has the same call chain, the first table of the second forwarding behavior is not saved to reduce the data volume. The detailed structure of the third table is shown with reference to table 4.
For each forwarding action, the current node information corresponding to the forwarding action, i.e. the current handler identifier, and the parent node information, i.e. the parent node identifier, update the parent node information, i.e. the parent node identifier partenopenid shown in table 4 and the child node information, i.e. the child node identifier CHILDOPENID shown in table 4, in real time according to the link original identifier, i.e. the original node information of the target object in the first table. Specifically, the current node information recorded in the first table may be determined as child node information recorded in the third table, while the upper node information recorded in the first table may be determined as parent node information recorded in the third table. It should be noted that, if the original node information is the same as the parent node information, the calling relationship of the primary forwarding behavior is determined by the parent node information and the child node information. If the original node information is different from the father node information, the calling relationship of the multi-time forwarding behavior can be determined through the father node information, the child node information and the original node information of the target object.
Name of field Type (B) Whether or not it is empty Description of the invention
ID Shaping machine Is not empty Self-increasing running water number
ACTIVITYCODE Character(s) Is not empty Active coding
WXACCOUNT_ID Shaping machine Is not empty Information table identification
PARENtopENID Character(s) Is not empty Parent node identification
CHILDOPENID Character(s) Is not empty Child node identification
CREATETIME Date Is not empty Creation time
MODIFYTIME Date Is not empty Modifying time
OPERATOR Character(s) Is not empty Operator personnel
TABLE 4
It should be noted that, when each forwarding behavior for the target object is detected, the first table and the second table may be generated at the same time, or the first table is generated first, then the second table is generated according to the trajectory identifier in the first table, and then the parent node information and the child node information of the third table are updated according to the first table, so that the call relationship for the forwarding behavior for the target object may be determined according to the first table to the third table, and a distributed call chain system based on each target object is formed.
For example, suppose that the track corresponding to link 1 is identified as 30000001 and the track corresponding to link 2 is identified as 30000002. Assume that link 1 is forwarded for the first time with link id 1 and link 1 is forwarded for the second time with link id 2. If the trace identifier is 30000001, the current handler identifier is the OPENID value of the client B, the link original identifier is the OPENID value of the client a, and the parent node identifier is the OPENID value of the client a in the first table corresponding to the first forwarding behavior, the parent node identifier in the third table can be updated to the OPENID value of the client a, and the child node identifier is updated to the OPENID value of the client B. In this way, it can be determined that the first forwarding action is that client a obtains link 1 and forwards link 1 to client B.
If the trace identifier is 30000001, the current handler identifier is the OPENID value of client C, the link original identifier is the OPENID value of client a, and the parent node identifier is the OPENID value of client B in the first table corresponding to the second forwarding behavior, the parent node identifier in the third table can be updated to the OPENID value of client B, and the child node identifier is updated to the OPENID value of client C. In this way, it can be determined that the invocation of the second forwarding action is such that client B forwards link 1 to client C. The calling relationship of the whole forwarding behavior is that the client A acquires the link 1 and forwards the link 1 to the client B, and the client B forwards the acquired link 1 to the client C continuously.
If the link id in the second table is 1, it can be determined from the trace id 30000001 and the link id 1 that the first forwarding for link 1 belongs, and the corresponding call parameter information can be obtained. That is, the call chain of the multiple forwarding behaviors for the same target object can be determined by the two databases of the original node information and the child node information in the first table. And judging the call chain of the forwarding behavior through the father node information and the son node information in the third table.
If the online application module needs to be accessed into the distributed link system in a configuration mode, only the first table, the second table and the third table corresponding to the online application module need to be generated, the access mode of the software monitoring module does not need to be modified, and convenience is provided for developers.
Therefore, the calling relation of each forwarding behavior aiming at one target object can be determined through the associated first table, the second table and the third table; through the plurality of first tables and the second tables and the third tables associated with the plurality of first tables, the call relations of all forwarding behaviors of the plurality of target objects can be quickly determined so as to monitor the call relations in real time. Compared with the prior art, when the calling relation of different target objects is monitored in real time, the monitoring parameters and the software access mode of the software monitoring module do not need to be modified for multiple times aiming at the different target objects, so that the operation difficulty is reduced, and the operation steps are reduced; in addition, the call relation of the forwarding behavior can be quickly and conveniently determined through the plurality of first tables, when the data volume stored in the tables is large, the problem of overlong determination time is avoided, and the determination speed of the call relation is improved. In addition, the configuration difficulty is reduced, so that the maintenance cost is reduced.
The embodiment of the invention also provides an information processing device. Referring to fig. 3, the information processing apparatus 300 may include:
a first table generating module 301, configured to generate a first table associated with a forwarding behavior of a target object if the forwarding behavior is detected;
a calling information recording module 302, configured to record, through the first table, calling information associated with the forwarding behavior, where the calling information includes original node information of the target object, current node information corresponding to the forwarding behavior, and upper node information;
the invocation relation determining module 303 may be configured to determine, according to invocation information in at least one of the first tables associated with at least one of the forwarding behaviors, an invocation relation of the target object in the forwarding behavior.
Optionally, the apparatus further comprises: a second table generation module, configured to generate a second table associated with the forwarding behavior if the forwarding behavior for the target object is detected; and recording calling parameter information associated with the forwarding behavior through the second table.
Optionally, the first table and the second table are associated by the same field identifier.
Optionally, the apparatus further comprises: an identifier generating module, configured to generate a value of the field identifier if the forwarding behavior for the target object is detected; and the table updating module is used for updating the first table and the second table according to the value of the field identifier.
Optionally, the field identification comprises a track identification.
Optionally, the apparatus further comprises: a third table generating module, configured to generate a third table associated with the forwarding behavior, where the third table is used to record parent node information and child node information of the forwarding behavior; and the node updating module is used for updating the father node information and the child node information in the third table according to the calling information recorded by the first table.
Optionally, the node update module includes: and the updating control module is used for updating the child node information recorded in the third table according to the current node information recorded in the first table and updating the father node information recorded in the third table according to the superior node information recorded in the first table.
Optionally, the first table generating module includes: and the interface packaging module is used for calling a packaged service interface to generate and store the first table associated with the forwarding behavior if the forwarding behavior aiming at the target object is detected.
It should be noted that, the details of each module in the information processing apparatus have been described in detail in the corresponding information processing method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to an implementation of an embodiment of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of a method in the embodiments of the invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 400 according to this embodiment of the invention is described below with reference to fig. 4. The electronic device 400 shown in fig. 4 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 4, electronic device 400 is embodied in the form of a general purpose computing device. The components of electronic device 400 may include, but are not limited to: the at least one processing unit 410, the at least one memory unit 420, and a bus 430 that couples various system components including the memory unit 420 and the processing unit 410.
Wherein the storage unit stores program code that is executable by the processing unit 410 to cause the processing unit 410 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 410 may perform the steps as shown in fig. 2: in step S210, if a forwarding behavior for a target object is detected, generating a first table associated with the forwarding behavior; in step S220, recording, by using the first table, invocation information associated with the forwarding behavior, where the invocation information includes original node information of the target object, current node information corresponding to the forwarding behavior, and upper node information; in step S230, according to the calling information in at least one first table associated with the forwarding behavior at least once, determining a calling relationship of the target object in the forwarding behavior.
The storage unit 420 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)4201 and/or a cache memory unit 4202, and may further include a read only memory unit (ROM) 4203.
The storage unit 420 may also include a program/utility 4204 having a set (at least one) of program modules 4205, such program modules 4205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 430 may be any bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 400 may also communicate with one or more external devices 600 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 400, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 400 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 450. Also, the electronic device 400 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 460. As shown, the network adapter 460 communicates with the other modules of the electronic device 400 over the bus 430. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In an exemplary embodiment of the embodiments of the present invention, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 5, a program product 500 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the embodiments of the invention following, in general, the principles of the embodiments of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the embodiments of the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the embodiments of the invention being indicated by the following claims.

Claims (9)

1. An information processing method characterized by comprising:
if the forwarding behavior aiming at the target object is detected, generating a first table associated with the forwarding behavior;
recording calling information associated with the forwarding behavior through the first table, wherein the calling information comprises original node information of the target object, current node information corresponding to the forwarding behavior and superior node information;
determining the calling relation of the target object in the forwarding behavior according to the calling information in at least one first table associated with the forwarding behavior at least once;
if the forwarding behavior for the target object is detected, generating a second table associated with the forwarding behavior, wherein the first table and the second table are associated through the same field identifier;
recording calling parameter information associated with the forwarding behavior through the second table, wherein the calling parameter information comprises service data information;
and determining the service data transmitted by the target object in the forwarding behavior according to the calling parameter information in at least one second table associated with the forwarding behavior at least once.
2. The information processing method according to claim 1, characterized by further comprising:
if the forwarding behavior for the target object is detected, generating a value of the field identifier;
and updating the first table and the second table according to the value of the field identifier.
3. The information processing method according to claim 1, wherein the field identification includes a track identification.
4. The information processing method according to claim 1, characterized by further comprising:
generating a third table associated with the forwarding behavior, wherein the third table is used for recording parent node information and child node information of the forwarding behavior;
and updating the father node information and the child node information in the third table according to the calling information recorded by the first table.
5. The information processing method according to claim 4, wherein updating the parent node information and the child node information in the third table according to the call information recorded in the first table includes:
and updating the child node information recorded in the third table according to the current node information recorded in the first table, and updating the parent node information recorded in the third table according to the superior node information recorded in the first table.
6. The information processing method according to any one of claims 1 to 5, wherein generating, if a forwarding behavior for a target object is detected, a first table associated with the forwarding behavior includes:
if the forwarding behavior for the target object is detected, calling an encapsulated service interface to generate and store the first table associated with the forwarding behavior.
7. An information processing apparatus characterized by comprising:
the system comprises a first table generation module, a first table generation module and a second table generation module, wherein the first table generation module is used for generating a first table associated with a forwarding behavior if the forwarding behavior aiming at a target object is detected;
a calling information recording module, configured to record, through the first table, calling information associated with the forwarding behavior, where the calling information includes original node information of the target object, current node information corresponding to the forwarding behavior, and upper node information;
the calling relation determining module is used for determining the calling relation of the target object in the forwarding behavior according to the calling information in at least one first table associated with the forwarding behavior at least once;
a second table generation module, configured to generate a second table associated with the forwarding behavior if the forwarding behavior for the target object is detected; and recording calling parameter information associated with the forwarding behavior through the second table, wherein the calling parameter comprises service data information, and determining a calling parameter transmitted by the target object in the forwarding behavior according to the calling parameter information in at least one second table associated with the forwarding behavior at least once, wherein the first table and the second table are associated through the same field identifier.
8. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the information processing method of any one of claims 1 to 6 via execution of the executable instructions.
9. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the information processing method of any one of claims 1 to 6.
CN201810555690.5A 2018-05-31 2018-05-31 Information processing method and device, electronic equipment and storage medium Active CN108874625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810555690.5A CN108874625B (en) 2018-05-31 2018-05-31 Information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810555690.5A CN108874625B (en) 2018-05-31 2018-05-31 Information processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108874625A CN108874625A (en) 2018-11-23
CN108874625B true CN108874625B (en) 2021-09-10

Family

ID=64336103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810555690.5A Active CN108874625B (en) 2018-05-31 2018-05-31 Information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108874625B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110942388B (en) * 2019-10-29 2023-04-07 泰康保险集团股份有限公司 Policy information display method and device and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605661A (en) * 2013-10-18 2014-02-26 清华大学 Generation method and system of social network information transmission tree
CN104809225A (en) * 2015-05-06 2015-07-29 泰康人寿保险股份有限公司 Chain information spreading tracking management system and chain information spreading tracking management method
CN104951324A (en) * 2014-03-28 2015-09-30 腾讯科技(深圳)有限公司 Method and device for acquiring application calling relation table
CN105119811A (en) * 2015-08-19 2015-12-02 上海斐讯数据通信技术有限公司 Method and system for displaying moving locus of data information, node, and server
CN106157155A (en) * 2016-07-27 2016-11-23 北京大学 Social media information based on map metaphor propagates visual analysis method and system
CN106487596A (en) * 2016-10-26 2017-03-08 宜人恒业科技发展(北京)有限公司 Distributed Services follow the tracks of implementation method
CN107222381A (en) * 2016-03-21 2017-09-29 北大方正集团有限公司 The propagation path of microblog data determines method and apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164288B (en) * 2011-12-15 2016-04-06 财团法人工业技术研究院 System and method for generating application-level dependencies in one or more virtual machines
US20150088686A1 (en) * 2013-09-23 2015-03-26 Note Social, Inc. System and Method for Improving the Efficiency And Security For Online Order Payment and Shipping and Tracking the Value of Social Networking Related To Same
US9477444B1 (en) * 2014-12-30 2016-10-25 Ca, Inc. Method and apparatus for validating and recommending software architectures
CN107291744A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 It is determined that and with the method and device of the relationship between application program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605661A (en) * 2013-10-18 2014-02-26 清华大学 Generation method and system of social network information transmission tree
CN104951324A (en) * 2014-03-28 2015-09-30 腾讯科技(深圳)有限公司 Method and device for acquiring application calling relation table
CN104809225A (en) * 2015-05-06 2015-07-29 泰康人寿保险股份有限公司 Chain information spreading tracking management system and chain information spreading tracking management method
CN105119811A (en) * 2015-08-19 2015-12-02 上海斐讯数据通信技术有限公司 Method and system for displaying moving locus of data information, node, and server
CN107222381A (en) * 2016-03-21 2017-09-29 北大方正集团有限公司 The propagation path of microblog data determines method and apparatus
CN106157155A (en) * 2016-07-27 2016-11-23 北京大学 Social media information based on map metaphor propagates visual analysis method and system
CN106487596A (en) * 2016-10-26 2017-03-08 宜人恒业科技发展(北京)有限公司 Distributed Services follow the tracks of implementation method

Also Published As

Publication number Publication date
CN108874625A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN109558748B (en) Data processing method and device, electronic equipment and storage medium
CN111309550A (en) Data acquisition method, system, equipment and storage medium of application program
CN110858172A (en) Automatic test code generation method and device
CN110912809B (en) Information sharing chain generation method and device, electronic equipment and storage medium
CN109995523B (en) Activation code management method and device and activation code generation method and device
US11934287B2 (en) Method, electronic device and computer program product for processing data
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
CN110688096A (en) Method, device, medium and electronic equipment for constructing application program containing plug-in
CN110955438A (en) Method, device and equipment for monitoring performance of small program and storage medium
CN112860504A (en) Monitoring method and device, computer storage medium and electronic equipment
CN108595178B (en) Hook-based data acquisition method, device and equipment
CN108874625B (en) Information processing method and device, electronic equipment and storage medium
CN112312335A (en) Reminding short message sending method and device and electronic equipment
CN111199420A (en) User invitation method and device and electronic equipment
CN110705637A (en) User classification method and device based on application installation list information and electronic equipment
CN111949862B (en) Method and device for managing business task flow and electronic equipment
CN108984221B (en) Method and device for acquiring multi-platform user behavior logs
CN113722007B (en) Configuration method, device and system of VPN branch equipment
CN111681093B (en) Method and device for displaying resource page and electronic equipment
CN114090514A (en) Log retrieval method and device for distributed system
CN114546780A (en) Data monitoring method, device, equipment, system and storage medium
US8495033B2 (en) Data processing
CN110704222A (en) Dump file analysis method and device, storage medium and electronic equipment
CN111680867B (en) Resource allocation method and device and electronic equipment
CN113762871B (en) Production data control method, device, equipment and 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