Information processing method, device, computer equipment, storage medium and program product

By embedding data point tool in functional components, detecting and reporting operation information that meets preset conditions, the problem of low accuracy of component reuse information in the prior art is solved, and a more flexible and accurate data reporting mechanism is achieved.

CN114860230BActive Publication Date: 2025-05-13BOE TECHNOLOGY GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210611677.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2025-05-13
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

In the prior art, the accuracy of component multiplexing information is low, mainly due to the inflexible control of the data buried code, which makes it difficult to accurately control the reporting timing and content of the multiplexing information.

Method used

By generating a data buried point tool corresponding to the initial functional component, it is encapsulated into the functional component. When the functional component is referenced, the data buried point tool is used to detect whether the operating information of the software system meets the preset conditions, and the relevant information is reported to the server to count the component's multiplexed information.

Benefits of technology

The accuracy of functional components' reuse information is improved. By flexibly configuring preset conditions and information types, the flexibility of the data reporting mechanism is enhanced and the accuracy of the reuse information is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114860230B_ABST
    Figure CN114860230B_ABST
Patent Text Reader

Abstract

The present application provides an information processing method, device, computer equipment, storage medium and program product, which relate to the field of the Internet. The information processing method includes: generating a data point-of-sale tool corresponding to an initial functional component, encapsulating the data point-of-sale tool into the initial functional component, and generating a functional component; if the functional component is referenced by a software system, performing the following operations through the data point-of-sale tool: if it is detected that the current operation information of the software system meets the preset conditions in the configuration information of the data point-of-sale tool, then obtaining the information to be reported and reporting the information to be reported to the server, so that the server determines the reuse information of the functional component through the information to be reported of at least one software system received. Different preset conditions can be set, and reporting can be performed flexibly, thereby improving the accuracy of the reused information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and the present application relates to an information processing method, device, computer equipment, storage medium and program product. Background Art

[0002] At present, in order to facilitate code processing, the code is often componentized. A component can be a piece of code with a specific function and style. As a whole, the component has the same function and style no matter where it is used, so it can be easily reused.

[0003] When a component is reused, it is necessary to count the reuse information of the component, such as the reuse time, reuse method, reuse rate, etc. Currently, unified tracking code can be automatically inserted in batches through tools, but the control of the timing of triggering and reporting of different components is not flexible enough, resulting in a low accuracy rate of the final reuse information. Summary of the invention

[0004] In view of the shortcomings of the existing methods, the present application proposes an information processing method, device, electronic device and storage medium to solve the technical problem of low accuracy of determined multiplexed information in the prior art.

[0005] On the one hand, an embodiment of the present application provides an information processing method, including:

[0006] Generate a data point-buying tool corresponding to the initial functional component, encapsulate the data point-buying tool into the initial functional component, and generate a functional component;

[0007] If the functional component is referenced by the software system, perform the following operations through the data tracking tool:

[0008] If it is detected that the current operation information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, so that the server determines the reuse information of the functional components through the information to be reported received from at least one software system.

[0009] In some possible implementations, the configuration information includes a preset condition and an information type of information to be reported;

[0010] Generate data tracking tools corresponding to the initial functional components, including:

[0011] Determine the component type of the initial functional component, and determine the preset condition according to the component type;

[0012] Generate data tracking tools based on preset conditions and the type of information to be reported.

[0013] In some possible implementations, the preset condition includes a preset trigger condition and a preset reporting condition;

[0014] Generate data tracking tools based on preset conditions and the type of information to be reported, including:

[0015] Generate a first tracking point module according to the preset trigger condition and the preset reporting condition;

[0016] Generate a second tracking point module according to the information type of the information to be reported;

[0017] Generate a data burying tool based on the first burying module and the second burying module.

[0018] In some possible implementations, generating a first tracking point module according to a preset trigger condition and a preset reporting condition includes:

[0019] Modify the first configuration file of the initial tracking tool according to the preset trigger condition and the preset reporting condition to obtain a second configuration file;

[0020] Generate a first tracking point module according to the second configuration file.

[0021] In some possible implementations, if it is detected that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, the method further includes:

[0022] If the software system is detected to be running, a query request for the configuration information of the data tracking tool is sent to the server;

[0023] Receive configuration information returned by the server based on the query request.

[0024] In some possible implementations, the current operation information includes a current operation environment and a current operation state;

[0025] If it is detected that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, including:

[0026] If it is detected that the current operating environment of the software system meets the preset trigger condition, the information to be reported is obtained; wherein the information to be reported includes system information of the software system and component information of the functional components;

[0027] If the information to be reported is obtained and it is detected that the current running state of the software system meets the preset reporting conditions, the information to be reported will be reported to the server.

[0028] In some possible implementations, the system information of the software system includes the server Internet interconnection protocol currently running the software system, the product form of the current software system, and the application identifier of the software system; the component information of the functional component includes the component identifier of the functional component and the component version type of the functional component.

[0029] On the other hand, an embodiment of the present application provides an information processing device, including:

[0030] A generation module is used to generate a data embedding tool corresponding to the initial functional component, encapsulate the data embedding tool into the initial functional component, and generate a functional component;

[0031] The reporting module is used to perform the following operations through the data tracking tool if the functional component is referenced by the software system: if it is detected that the current operation information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, so that the server can determine the reuse information of the functional component through the information to be reported received from at least one software system.

[0032] In some possible implementations, the configuration information includes a preset condition and an information type of information to be reported;

[0033] When generating the data tracking tool corresponding to the initial functional component, the generation module is specifically used to:

[0034] Determine the component type of the initial functional component, and determine the preset condition according to the component type;

[0035] Generate data tracking tools based on preset conditions and the type of information to be reported.

[0036] In some possible implementations, the preset condition includes a preset trigger condition and a preset reporting condition;

[0037] When the generation module generates a data tracking tool based on preset conditions and the type of information to be reported, it is specifically used to:

[0038] Generate a first tracking point module according to the preset trigger condition and the preset reporting condition;

[0039] Generate a second tracking point module according to the information type of the information to be reported;

[0040] Generate a data burying tool based on the first burying module and the second burying module.

[0041] In some possible implementations, when the generation module generates the first tracking point module according to the preset trigger condition and the preset reporting condition, it is specifically used to:

[0042] Modify the first configuration file of the initial tracking tool according to the preset trigger condition and the preset reporting condition to obtain a second configuration file;

[0043] Generate a first tracking point module according to the second configuration file.

[0044] In some possible implementations, a sending module is further included, which is used to:

[0045] If the software system is detected to be running, a query request for the configuration information of the data tracking tool is sent to the server;

[0046] Receive configuration information returned by the server based on the query request.

[0047] In some possible implementations, the current operation information includes a current operation environment and a current operation state;

[0048] When the reporting module detects that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, it obtains the information to be reported and reports the information to be reported to the server, which is specifically used for:

[0049] If it is detected that the current operating environment of the software system meets the preset trigger condition, the information to be reported is obtained; wherein the information to be reported includes system information of the software system and component information of the functional components;

[0050] If the information to be reported is obtained and it is detected that the current running state of the software system meets the preset reporting conditions, the information to be reported will be reported to the server.

[0051] In some possible implementations, the system information of the software system includes the server Internet interconnection protocol currently running the software system, the product form of the current software system, and the application identifier of the software system; the component information of the functional component includes the component identifier of the functional component and the component version type of the functional component.

[0052] On the other hand, a computer device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the above-mentioned information processing method.

[0053] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned information processing method is implemented.

[0054] On the other hand, a computer program product is provided, comprising a computer program, and when the computer program is executed by a processor, the above-mentioned information processing method is implemented.

[0055] The beneficial effects of the technical solution provided by this application are:

[0056] By generating a data tracking tool corresponding to the initial functional component, the data tracking tool is encapsulated into the initial functional component to generate a functional component. When the functional component is referenced, the information to be reported is reported to the server through the data tracking tool, so that the server can count the reuse information of the functional component. Different configuration information can be set for different functional components, that is, different preset conditions can be set, and reporting can be performed flexibly, thereby improving the accuracy of reused information.

[0057] Furthermore, the data tracking tools are structured and separated, and a configurable first tracking module is generated according to preset trigger conditions and preset reporting conditions, and a second tracking module is generated according to the information type of the information to be reported. In this way, the preset trigger conditions and preset reporting conditions can be customized, and the content of the information to be reported can be kept unchanged, which can improve the flexibility of the data reporting mechanism.

[0058] Additional aspects and advantages of the present application will be partially given in the following description, which will become apparent from the following description, or will be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0060] Figure 1 A schematic diagram of an implementation environment of an information processing method provided in an embodiment of the present application;

[0061] Figure 2 A flowchart of an information processing method provided in an embodiment of the present application;

[0062] Figure 3 A schematic diagram of a triggering and reporting scheme of a data tracking tool provided in an example of this application;

[0063] Figure 4 A schematic diagram of an information processing method provided for an example of the present application;

[0064] Figure 5 A schematic diagram of a scheme for generating and using a data tracking tool provided for an example of this application;

[0065] Figure 6 A schematic diagram of an information processing scheme provided for an example of the present application;

[0066] Figure 7 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0067] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0069] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" indicates that it is implemented as "A", or is implemented as "A", or is implemented as "A and B".

[0070] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0071] First, several terms involved in this application are introduced and explained:

[0072] Component: A technical module or functional module output by a technology platform or abstracted by a business line product, which can be reused by two or more products;

[0073] Reuse: refers to a component being referenced more than twice;

[0074] Reference: refers to the use of a component by a developer in a product or project, which can be source code, jar package or other calling methods. Among them, jar is a computer file format.

[0075] When a component is reused, it is necessary to count the reuse information of the component, such as the reuse time of the component, the way it is reused, the reuse rate, etc. At present, the reuse information of the component can be counted through the data tracking method. The common data tracking methods can be roughly divided into three categories. One is that the developer manually embeds the tracking code into the program code, commonly known as code tracking; one is to use tools to automatically insert the tracking code in batches, commonly known as full tracking; one is to monitor the user's operation behavior and page changes, and provide visualization and self-service operation methods, commonly known as visual tracking. However, these methods are not flexible enough in controlling data tracking. On the one hand, the control of the triggering and execution timing of the tracking is not flexible enough, and only the event attributes can be matched to determine whether to trigger and execute the tracking. On the other hand, the control of the tracking data content is not flexible enough. The tracking data content can only be selected from the pre-prepared data pool, resulting in a low accuracy rate of reuse information.

[0076] The following is a detailed description of the technical solution of the present application and how the technical solution of the present application solves the above technical problems with specific embodiments. It should be noted that the following implementations can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different implementations will not be described repeatedly.

[0077] Figure 1 is a schematic diagram of an implementation environment of an information processing method provided by an embodiment of the present invention, see Figure 1 , the component management system includes a component processing terminal and a server. The initial functional component uploads the component code to the code repository, and the component management system collects component information from the code repository, generates a data tracking tool based on the component type of the initial functional component, and encapsulates the data tracking tool into the component code to generate a functional component. When the software system, i.e., the business application / system shown in the figure, references the functional component, the data tracking tool reports the information to be reported to the server, i.e., the component management system, i.e., the data tracking tool shown in the figure reports the referenced information to the component management system. The component management system counts the reuse information of the functional components based on the information to be reported, and presents the reuse information to the data statistics dashboard.

[0078] Understandably, Figure 1 It represents an application scenario in an example and does not limit the application scenario of the information processing method of the present application.

[0079] It can be understood by technicians in this technical field that the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server or server cluster that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal can be a smart phone (such as Android phones, iOS phones, etc.), a tablet computer, a laptop computer, a digital broadcast receiver, a MID (Mobile Internet Devices), a PDA (personal digital assistant), a desktop computer, a smart home appliance, a vehicle-mounted terminal (such as a vehicle-mounted navigation terminal, a vehicle-mounted computer, etc.), a smart speaker, a smart watch, etc. The terminal and the server can be directly or indirectly connected by wired or wireless communication, but are not limited to this. The specific can also be determined based on the actual application scenario requirements, and is not limited here.

[0080] Figure 2 The flowchart of an information processing method provided by the embodiment of the present application is shown in FIG. The execution subject of the method may be a component processing terminal, and the component processing terminal may be a terminal of a data embedding tool for a component. Figure 2 As shown, the method may include the following steps:

[0081] Step S201, generate a data burying tool corresponding to the initial functional component, encapsulate the data burying tool into the initial functional component, and generate a functional component.

[0082] The initial functional component may be a component to be referenced, and the data tracking tool may be encapsulated into the initial functional component, and the reuse information of the encapsulated functional component may be counted.

[0083] It is understandable that the process of encapsulating the data tracking tool into the initial functional component does not affect the usage function of the initial functional component, that is, the functional component has the same usage function as the initial functional component, but has an additional data tracking tool for statistical reuse information.

[0084] Among them, the data embedding tool can be in the form of a data probe.

[0085] Specifically, for different initial functional components, the generated data tracking tools are different, that is, the trigger conditions, reporting conditions, etc. set in the data tracking tools are different. The generation process of the data tracking tools will be explained in detail below.

[0086] Step S202: If the functional component is referenced by the software system, the following operations are performed through the data tracking tool:

[0087] If it is detected that the current operation information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, so that the server determines the reuse information of the functional components through the information to be reported received from at least one software system.

[0088] Among them, functional components can be used in a product or project through a software system.

[0089] Specifically, the preset conditions may include preset trigger conditions and preset reporting conditions of the data tracking tool. When the current running information of the software system meets the preset trigger conditions, the data tracking work is triggered to obtain the information to be reported. When the current running status of the software system meets the preset reporting conditions, the data to be reported is reported to the server. The reporting process of the data tracking tool will be further elaborated below.

[0090] The reuse information may include the reuse time of the component, the reuse method, the reuse rate, etc.

[0091] During the specific implementation process, the server receives the information to be reported when at least one software system references a functional component sent by the data tracking tool, and counts the reuse information of the functional component based on the information to be reported.

[0092] In the above embodiment, a data tracking tool corresponding to the initial functional component is generated, the data tracking tool is encapsulated into the initial functional component to generate a functional component. When the functional component is referenced, the information to be reported is reported to the server through the data tracking tool, so that the server can count the reuse information of the functional component. Different configuration information can be set for different functional components, that is, different preset conditions can be set, and reporting can be performed flexibly, thereby improving the accuracy of reuse information.

[0093] The specific process of generating a data tracking tool will be further described below in conjunction with an example embodiment.

[0094] In some possible implementations, the configuration information includes preset conditions and information types of information to be reported; step S201 generates a data tracking tool corresponding to the initial functional component, which may include:

[0095] (1) Determine the component type of the initial functional component and determine the preset conditions based on the component type.

[0096] Among them, the preset conditions may include preset trigger conditions and preset reporting conditions.

[0097] In some possible implementations, the preset trigger condition may be a condition that triggers the data embedding tool to start working. The preset trigger condition may be set to when the functional component is used in the software system and the software system starts running, the data embedding tool starts running.

[0098] If the current running information of the software system meets the preset reporting conditions, the data tracking tool will report the acquired information to be reported to the server. The preset reporting condition can be that the software system runs the functional component for the first time and acquires the information to be reported.

[0099] (2) Generate a data tracking tool based on preset conditions and the type of information to be reported.

[0100] Specifically, data tracking tools are generated based on preset conditions and the type of information to be reported, including:

[0101] a. Generate a first tracking point module according to preset trigger conditions and preset reporting conditions;

[0102] b. Generate a second tracking point module according to the information type of the information to be reported;

[0103] c. Generate a data burying tool based on the first burying module and the second burying module.

[0104] Specifically, the data tracking tool can be structured and separated, and a configurable first tracking module can be generated according to the preset trigger conditions and preset reporting conditions, and a second tracking module can be generated according to the information type of the information to be reported. In this way, the preset trigger conditions and preset reporting conditions can be customized, and the content of the information to be reported can be kept unchanged, which can improve the flexibility of the data reporting mechanism.

[0105] In some possible implementations, generating a first tracking point module according to a preset trigger condition and a preset reporting condition may include:

[0106] a1. Modify the first configuration file of the initial tracking tool according to the preset trigger condition and the preset reporting condition to obtain the second configuration file;

[0107] a2. Generate a first tracking point module according to the second configuration file.

[0108] Specifically, first determine the component type of the initial functional component, determine the preset trigger condition and the preset reporting condition according to the component type, then modify the first configuration file according to the preset trigger condition and the preset reporting condition to obtain the second configuration file, and generate a configurable first burying point module according to the second configuration file; keep the configuration file of the second burying point module corresponding to the information type of the information to be reported unchanged, and generate a data burying point tool according to the first burying point module and the second burying point module.

[0109] The above embodiment describes the specific process of generating a data burrowing tool. The following will further describe the specific process of the data burrowing tool in conjunction with the embodiment.

[0110] In some possible implementations, if it is detected that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, the following may also be included:

[0111] (1) If the software system is detected to be running, a query request for the configuration information of the data tracking tool is sent to the server;

[0112] (2) Receive configuration information returned by the server based on the query request.

[0113] Specifically, when the software system is running, the data tracking tool is triggered to start running. At this time, it is necessary to determine the preset conditions corresponding to the data tracking tool, that is, it is necessary to obtain the configuration information of the data tracking tool. A query request for the configuration information can be sent to the server, and the configuration information returned by the server can be received. The preset conditions can be obtained from the configuration information, thereby determining whether the current running information of the software system meets the preset conditions.

[0114] In some possible implementations, the current operating information includes a current operating environment and a current operating state.

[0115] Among them, the current operating environment may include a development environment, a test environment, and a production environment; the current operating status may include whether the software system is running a functional component for the first time, etc.

[0116] In some possible implementations, if it is detected that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, obtaining the information to be reported and reporting the information to be reported to the server may include:

[0117] (1) If it is detected that the current operating environment of the software system meets the preset trigger conditions, the information to be reported is obtained.

[0118] The information to be reported includes system information of the software system and component information of the functional components.

[0119] Among them, the system information of the software system includes the Internet Protocol (IP) of the server currently running the software system, the product form of the current software system and the application identifier of the software system, and the application identifier may include the application name; the component information of the functional component includes the component identifier of the functional component and the component version type of the functional component, the component identifier may include the component name, and the component version type may include the component version number.

[0120] Specifically, different functional components are set up with different environments that need to determine the reuse information. At this time, the preset trigger condition can be that the current operating environment of the software system meets the specific operating environment, for example, the current operating environment is a specified test environment and production environment; in some special scenarios, the preset trigger condition can also be that the current operating environment of the software system is a development environment. The specific settings of the preset trigger conditions can be set according to the actual needs of different functional components.

[0121] (2) If the information to be reported is obtained and it is detected that the current running status of the software system meets the preset reporting conditions, the information to be reported is reported to the server.

[0122] Specifically, the preset reporting condition may be that the software system is running for the first time on the current server IP.

[0123] In the specific implementation process, if the information to be reported is not obtained, the information to be reported is obtained repeatedly until the information to be reported is obtained, and it is detected that the software system is running for the first time at the current server IP, and the information to be reported is reported to the server.

[0124] like Figure 3 As shown, in one example, the triggering and reporting process of the data tracking tool may include: when the software system is running, determining whether the current operating environment of the software system meets the preset trigger conditions, that is, in the operation discovery and fault tolerance process of the software system shown, or in the preset trigger process, obtaining the trigger content, the trigger content may include the operating environment, operating form, etc. of the software system, wherein the operating form may include the operating form of the front-end and the back-end; if it is detected that the current operating environment of the software system meets the preset trigger conditions, then obtaining the information to be reported, that is, the reporting content shown in the figure; the information to be reported includes the system information of the software system and the component information of the functional components, that is, the reporting content shown in the figure may include the project / product name, the form of the software system, etc.; if it is detected that the current operating state of the software system meets the preset reporting conditions, then reporting the information to be reported to the server, that is, the reporting process shown in the figure.

[0125] In order to more clearly illustrate the information processing method of the present application, the information processing method of the present application will be further described in detail below with reference to examples.

[0126] like Figure 4 As shown, in one example, the information processing method of the present application may include:

[0127] The component processing terminal determines the component type of the initial functional component and determines the preset condition according to the component type;

[0128] The component processing terminal generates a data tracking tool based on preset conditions and the type of information to be reported;

[0129] Encapsulate the data tracking tool into the initial functional component to generate the functional component;

[0130] If the functional component is referenced by the software system, perform the following operations through the data tracking tool:

[0131] If it is detected that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server;

[0132] The server determines reuse information of the functional components through the received information to be reported of at least one software system.

[0133] The following will explain in detail the generation and use process of the data tracking tool in the information processing method of the present application with examples.

[0134] like Figure 5 As shown, in one example, the process of implanting the data embedding tool in the information processing method of the present application may include:

[0135] For the initial functional component, that is, the main source code of a function or module, determine the component type of the initial functional component;

[0136] Get the initial tracking tool, that is, the data tracking probe shown in the figure;

[0137] Modify the configuration file of the initial tracking tool to generate a data tracking tool corresponding to the component type, that is, modify the configuration file content in the probe as shown in the figure;

[0138] Encapsulate the data tracking tool into the initial functional component to generate the functional component, that is, the encapsulation is a component as shown in the figure;

[0139] If the functional component is referenced by the software system, that is, if the component shown in the figure is referenced in the code engineering of the product or project, the data tracking tool starts to work, that is, the use of all the data tracking tools in the figure. The specific use process of the data tracking tool may include:

[0140] If the software system starts running, that is, if the product is started running as shown in the figure, a query request for the configuration information of the data tracking tool is sent to the server, and the configuration information returned by the server based on the query request is received, that is, a request is made to the server to obtain the configuration information of the data tracking tool as shown in the figure;

[0141] Determine whether the current running information of the software system meets the preset conditions, that is, determine whether the current conditions meet a set of information in the location information of the trigger data embedding point as shown in the figure;

[0142] If it is detected that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, that is, the content that meets the upload conditions obtained according to the data tracking is reported to the server as shown in the figure;

[0143] The server determines the reuse information of the functional components through the received information to be reported of at least one software system, that is, the server shown in the figure obtains the content, matches the information content to be presented in the data dashboard, and then inputs it into the front-end page.

[0144] The information processing method of the present application will be described below from the perspectives of functional component generation and functional component citation.

[0145] like Figure 6 As shown, in one example, the information processing method of the present application may include:

[0146] If a new initial functional component is put on the shelf, that is, the new component is put on the shelf as shown in the figure, that is, whether the initial functional component contains a data tracking tool, that is, whether the judgment group shown in the figure contains a statistical probe;

[0147] If yes, then submit the functional component to the component library; if no, then implant the data tracking tool, that is, implant the data statistics probe, generate the functional component, and submit the component to the component library;

[0148] If a new product development business is accepted, the functional module to be developed will be disassembled and the disassembled components of the functional module will be evaluated, that is, the functional components required in the functional module will be determined, and whether there are reusable components in the component library will be checked;

[0149] If a functional component is found, the component is downloaded to the local system, applied to the new product code tool, and the new product is delivered and deployed, that is, the software system references the functional component;

[0150] Determine whether the product is allowed, that is, determine whether the current operation information of the software system meets the preset conditions. If so, report the component usage information to the component management system, that is, report the information to be reported to the server;

[0151] The component management system receives component usage information, that is, receives information to be reported;

[0152] The component management system updates the data used by the statistical components, that is, the statistical reuse information.

[0153] The above-mentioned information processing method generates a data tracking tool corresponding to the initial functional component, encapsulates the data tracking tool into the initial functional component, generates a functional component, and when the functional component is referenced, reports the information to be reported to the server through the data tracking tool, so that the server can count the reuse information of the functional component. Different configuration information can be set for different functional components, that is, different preset conditions can be set, and reporting can be performed flexibly, thereby improving the accuracy of the reused information.

[0154] Furthermore, the data tracking tools are structured and separated, and a configurable first tracking module is generated according to preset trigger conditions and preset reporting conditions, and a second tracking module is generated according to the information type of the information to be reported. In this way, the preset trigger conditions and preset reporting conditions can be customized, and the content of the information to be reported can be kept unchanged, which can improve the flexibility of the data reporting mechanism.

[0155] Figure 7 Schematic diagram of the structure of an image processing device provided in an embodiment of the present application. Figure 7 As shown, the device comprises:

[0156] The generation module 701 is used to generate a data embedding tool corresponding to the initial functional component, encapsulate the data embedding tool into the initial functional component, and generate a functional component;

[0157] The reporting module 702 is used to perform the following operations through the data tracking tool if the functional component is referenced by the software system: if it is detected that the current operation information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, so that the server can determine the reuse information of the functional component through the information to be reported received from at least one software system.

[0158] In some possible implementations, the configuration information includes a preset condition and an information type of information to be reported;

[0159] When generating a data tracking tool corresponding to an initial functional component, the generating module 701 is specifically used to:

[0160] Determine the component type of the initial functional component, and determine the preset condition according to the component type;

[0161] Generate data tracking tools based on preset conditions and the type of information to be reported.

[0162] In some possible implementations, the preset condition includes a preset trigger condition and a preset reporting condition;

[0163] When the generation module 701 generates a data tracking tool based on preset conditions and the information type of the information to be reported, it is specifically used to:

[0164] Generate a first tracking point module according to the preset trigger condition and the preset reporting condition;

[0165] Generate a second tracking point module according to the information type of the information to be reported;

[0166] Generate a data burying tool based on the first burying module and the second burying module.

[0167] In some possible implementations, when the generation module 701 generates the first tracking point module according to the preset trigger condition and the preset reporting condition, it is specifically used to:

[0168] Modify the first configuration file of the initial tracking tool according to the preset trigger condition and the preset reporting condition to obtain a second configuration file;

[0169] Generate a first tracking point module according to the second configuration file.

[0170] In some possible implementations, a sending module is further included, which is used to:

[0171] If the software system is detected to be running, a query request for the configuration information of the data tracking tool is sent to the server;

[0172] Receive configuration information returned by the server based on the query request.

[0173] In some possible implementations, the current operation information includes a current operation environment and a current operation state;

[0174] When the reporting module 702 detects that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, it obtains the information to be reported and reports the information to be reported to the server, specifically for:

[0175] If it is detected that the current operating environment of the software system meets the preset trigger condition, the information to be reported is obtained; wherein the information to be reported includes system information of the software system and component information of the functional components;

[0176] If the information to be reported is obtained and it is detected that the current running state of the software system meets the preset reporting conditions, the information to be reported will be reported to the server.

[0177] In some possible implementations, the system information of the software system includes the server Internet interconnection protocol currently running the software system, the product form of the current software system, and the application identifier of the software system; the component information of the functional component includes the component identifier of the functional component and the component version type of the functional component.

[0178] The above-mentioned information processing device generates a data tracking tool corresponding to the initial functional component, encapsulates the data tracking tool into the initial functional component, and generates a functional component. When the functional component is referenced, the data tracking tool reports the information to be reported to the server, so that the server can count the reuse information of the functional component. Different configuration information can be set for different functional components, that is, different preset conditions can be set, and reporting can be performed flexibly, thereby improving the accuracy of the reused information.

[0179] Furthermore, the data tracking tools are structured and separated, and a configurable first tracking module is generated according to preset trigger conditions and preset reporting conditions, and a second tracking module is generated according to the information type of the information to be reported. In this way, the preset trigger conditions and preset reporting conditions can be customized, and the content of the information to be reported can be kept unchanged, which can improve the flexibility of the data reporting mechanism.

[0180] Figure 8 1 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 8 As shown, the computer device includes: a memory and a processor; at least one program stored in the memory, which, when executed by the processor, can achieve the following compared with the prior art:

[0181] A data tracking tool corresponding to an initial functional component is generated and encapsulated into the initial functional component to generate a functional component. When the functional component is referenced, the information to be reported is reported to the server through the data tracking tool, so that the server can count the reuse information of the functional component. Different configuration information can be set for different functional components, that is, different preset conditions can be set, and reporting can be performed flexibly, thereby improving the accuracy of reuse information.

[0182] Furthermore, the data tracking tools are structured and separated, and a configurable first tracking module is generated according to preset trigger conditions and preset reporting conditions, and a second tracking module is generated according to the information type of the information to be reported. In this way, the preset trigger conditions and preset reporting conditions can be customized, and the content of the information to be reported can be kept unchanged, which can improve the flexibility of the data reporting mechanism.

[0183] In an alternative embodiment, a computer device is provided, such as Figure 8 As shown, Figure 8The computer device 800 shown includes: a processor 801 and a memory 803. The processor 801 and the memory 803 are connected, such as through a bus 802. Optionally, the computer device 800 may also include a transceiver 804, which may be used for data interaction between the computer device and other computer devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 804 is not limited to one, and the structure of the computer device 800 does not constitute a limitation on the embodiments of the present application.

[0184] The processor 801 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 801 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0185] The bus 802 may include a path to transmit information between the above components. The bus 802 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 802 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0186] The memory 803 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0187] The memory 803 is used to store the application code (computer program) for executing the solution of the present application, and the execution is controlled by the processor 801. The processor 801 is used to execute the application code stored in the memory 803 to implement the contents shown in the above method embodiment.

[0188] The computer equipment includes but is not limited to virtualized computer equipment, virtual machines, servers, service clusters, user terminals, etc.

[0189] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding contents of the image processing method in the aforementioned method embodiment.

[0190] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-mentioned image processing method.

[0191] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0192] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0193] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0194] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0195] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0196] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0197] The modules involved in the embodiments described in this disclosure may be implemented by software or hardware. The name of a module does not, in some cases, constitute a limitation on the module itself. For example, a generation module may also be described as a "module for generating a data tracking tool."

[0198] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. An information processing method, characterized in that: include: Generate a data embedding tool corresponding to the initial functional component, encapsulate the data embedding tool into the initial functional component, and generate a functional component; If the functional component is referenced by the software system, the following operations are performed through the data tracking tool: If it is detected that the current operation information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, so that the server determines the reuse information of the functional component through the information to be reported of at least one of the software systems received; The configuration information includes the preset condition and the information type of the information to be reported; The method of generating a data tracking tool corresponding to the initial functional component includes: Determining a component type of the initial functional component, and determining the preset condition according to the component type; The data tracking tool is generated based on the preset conditions and the information type of the information to be reported.

2. The information processing method according to claim 1, characterized in that: The preset conditions include preset trigger conditions and preset reporting conditions; The generating the data tracking tool based on the preset condition and the information type of the information to be reported includes: Generate a first tracking point module according to the preset trigger condition and the preset reporting condition; Generate a second tracking point module according to the information type of the information to be reported; The data burying tool is generated according to the first burying module and the second burying module.

3. The information processing method according to claim 2, characterized in that: The generating a first tracking point module according to the preset trigger condition and the preset reporting condition includes: Modify the first configuration file of the initial tracking tool according to the preset trigger condition and the preset reporting condition to obtain a second configuration file; Generate the first tracking point module according to the second configuration file.

4. The information processing method according to any one of claims 1 to 3, characterized in that: Before the current running information of the software system is detected to meet the preset conditions in the configuration information of the data tracking tool, the method further includes: If it is detected that the software system is running, a query request for the configuration information of the data tracking tool is sent to the server; The configuration information returned by the server based on the query request is received.

5. The information processing method according to claim 2, characterized in that: The current operation information includes the current operation environment and the current operation status; If it is detected that the current running information of the software system meets the preset conditions in the configuration information of the data tracking tool, the information to be reported is obtained and reported to the server, including: If it is detected that the current operating environment of the software system meets the preset trigger condition, the information to be reported is obtained; wherein the information to be reported includes the system information of the software system and the component information of the functional component; If the information to be reported is obtained and it is detected that the current running state of the software system meets the preset reporting condition, the information to be reported is reported to the server.

6. The information processing method according to claim 5, characterized in that: The system information of the software system includes the server Internet interconnection protocol currently running the software system, the product form of the current software system and the application identification of the software system; the component information of the functional component includes the component identification of the functional component and the component version type of the functional component.

7. An information processing device, characterized in that: The device comprises: A generation module, used to generate a data embedding tool corresponding to the initial functional component, encapsulate the data embedding tool into the initial functional component, and generate a functional component; A reporting module, used for performing the following operations through the data tracking tool if the functional component is referenced by the software system: if it is detected that the current operation information of the software system meets the preset conditions in the configuration information of the data tracking tool, obtaining the information to be reported and reporting the information to be reported to the server, so that the server can determine the reuse information of the functional component through the information to be reported received from at least one of the software systems; The configuration information includes the preset condition and the information type of the information to be reported; The generation module is used to determine the component type of the initial functional component, determine the preset condition according to the component type; and generate the data tracking tool based on the preset condition and the information type of the information to be reported.

8. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the information processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the information processing method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the information processing method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Data reporting method and device, data obtaining method and device, equipment and medium

    CN111741046A

  • Buried point data reporting method and device, equipment and storage medium

    CN112306487A