Information display method and device, electronic equipment and storage medium
By obtaining and parsing component code files in the business system and displaying component association information, the problem of component logic query in the business system is solved, and a platform for querying components is provided to help users understand business logic.
Patent Information
- Application Number
- CN202411391743.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-31
AI Technical Summary
During the development and use of business systems, it is difficult for personnel to quickly understand the business logic related to specific components, and there is a lack of effective query and display methods.
Provide an information display method, which can obtain code files related to the target component by responding to the query instructions of the target business system, parse these files to obtain related information, and display this information on the query result display page, including component definition, implementation and Use relevant information.
It implements a platform for querying components, helping users understand the business logic related to the target components in the business system, meets users' query needs, and improves the visualization and understanding of business logic.
Smart Images

Figure CN119226366A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of information display, and in particular to an information display method, device, electronic device and storage medium. Background Art
[0002] During the development and use of business systems, people in different roles (such as product managers, test engineers, operation and maintenance personnel, and developers, etc.) often need to query the business logic related to a specific component in the business system. How to assist various types of personnel to quickly understand the business logic related to the component they want to query is a problem that needs to be solved urgently. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides an information display method, device, electronic device and storage medium.
[0004] In a first aspect, the present disclosure provides an information display method, comprising:
[0005] In response to a query instruction for a target component of a target business system, obtaining a code file related to the target component;
[0006] Parsing the code files related to the target component to obtain the associated information of the target component;
[0007] A query result display page is displayed, wherein the query result display page includes associated information of the target component.
[0008] In a second aspect, the present disclosure further provides an information display device, comprising:
[0009] An acquisition module, configured to acquire a code file related to a target component in response to a query instruction for a target component of a target business system;
[0010] A parsing module, used to parse the code files related to the target component to obtain the associated information of the target component;
[0011] The display module is used to display a query result display page, wherein the query result display page includes the associated information of the target component.
[0012] In a third aspect, the present disclosure further provides an electronic device, the electronic device comprising:
[0013] one or more processors;
[0014] A storage device for storing one or more programs;
[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the information display method as described above.
[0016] In a fourth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which implements the information display method as described above when executed by a processor.
[0017] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0018] The technical solution provided by the embodiment of the present disclosure obtains the code files related to the target component by setting a query instruction for the target component of the target business system; parses the code files related to the target component to obtain the associated information of the target component; and displays the query result display page, which includes the associated information of the target component. Its essence is to provide a platform for users to query components, so as to meet the query needs of users to understand the business logic related to the target component in the business system. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] Figure 1 A flowchart of an information display method provided in an embodiment of the present disclosure;
[0022] Figure 2-Figure 6 A schematic diagram of several pages provided in an embodiment of the present disclosure;
[0023] Figure 7 is a structural schematic diagram of an information display device in an embodiment of the present disclosure;
[0024] Figure 8 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0026] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0027] Figure 1 This is a flowchart of an information display method provided in an embodiment of the present disclosure. This embodiment is applicable to the case where information display is performed in a client. The method can be executed by an information display device, which can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a terminal, specifically including but not limited to a smart phone, a PDA, a tablet computer, a wearable device with a display screen, a desktop computer, a laptop computer, an all-in-one machine, a smart home device, etc. Alternatively, this embodiment is applicable to the case where information display is performed in a server. The method can be executed by an information display device, which can be implemented in software and / or hardware. The device can be configured in an electronic device, such as a server.
[0028] like Figure 1 As shown, the method may specifically include:
[0029] S110 . In response to a query instruction for a target component of a target business system, obtain a code file related to the target component.
[0030] The business system may be, for example, an integrated information system for supporting the daily operations of an enterprise, covering the entire process from data collection, processing, storage to final application. Optionally, the business system may include multiple subsystems.
[0031] A subsystem is a component of a business system, and each subsystem focuses on handling a specific function or part of a business process. A subsystem can be seen as an independent module, but it works in conjunction with other subsystems to achieve the overall goal of the business system. Exemplarily, a business system can be, for example, a business system for advertising. The business system may include the following subsystems: front-end, CDP model, OE model, and DB database. Among them, the front-end refers to the interface with which the user directly interacts, usually including user interfaces such as web pages and mobile applications, which are responsible for displaying data, receiving user input, and passing user operations to the back-end for processing. The CDP (Customer Data Platform Model) model refers to a data model used to integrate and manage customer data, which is usually used in marketing, customer relationship management and other fields. It can be specifically responsible for collecting, integrating and analyzing customer data from multiple channels and providing a unified customer view. The OE (Operational Excellence Model) model refers to a data model or framework used to optimize business processes and improve operational efficiency. The DB (Database) database refers to a system used to store, manage and retrieve data.
[0032] A component is a module or part within a business system. It can be a logical division or a physically separated unit. Components are usually responsible for completing specific functions or processing specific types of data. Components are the basic building blocks of subsystems. A subsystem may contain multiple components that work together to achieve the goals of the subsystem.
[0033] In a business system, there is a hierarchical relationship between components, and components of multiple levels together constitute a component tree. A component tree is a structure used to represent the hierarchical relationship between components, in which components are organized into a hierarchical tree structure according to their functions and responsibilities. A component tree can be composed of components of two or more levels. The upper-level component is the root node of the lower-level component, representing the main functional modules in the business system. The lower-level component is the leaf node of the upper-level component, which is a further subdivision of the function represented by the upper-level component. Exemplarily, the component tree corresponding to the advertising delivery system may include multiple upper-level nodes such as "product catalog", "delivery position", and "scheduling and budget". Among them, the upper-level component of "delivery position" can be further subdivided into lower-level components such as "delivery position", "delivery form" and "advertising position". The upper-level component of "delivery and budget" can be further subdivided into lower-level components such as "delivery cycle", "delivery period" and "bidding strategy". In the following text, the lowest-level component in the component tree is called the last-level node, and the components other than the last-level node in the component tree are called upper-level nodes.
[0034] The target business system may refer to the business system targeted by the query. The target component may refer to the component that the user wishes to query. In the present application, the target component may be an upper node or a lower node. The present application does not limit this.
[0035] “Code files related to the target component” may refer to, for example, code files that contain or process data and logic related to the target component. These code files may specifically contain various code snippets that define, implement, and use the target component, including but not limited to class definitions, function implementations, interface declarations, configuration files, and related test codes. The code files may be distributed in different subsystems, and together constitute the functional implementation and data processing logic of the target component. The essence of “obtaining code files related to the target component” is to query the code files that constitute the business system and extract the code files related to the target component.
[0036] S120: Parse the code file related to the target component to obtain the associated information of the target component.
[0037] The essence of this step is to understand and sort out the code files related to the target component, and then obtain the associated information of the target component.
[0038] The target component's associated information may be, for example, information that can reflect the definition, implementation, and use of the target component in each subsystem. Further, the target component's associated information may be, for example, properties of the target component, directly related additional data, and constraints.
[0039] Exemplarily, if the target component is an upper node of the component tree, the associated information of the target component includes the visibility condition of the target component. The visibility condition of the target component can be, for example, a rule for determining whether the target component is visible or accessible in the business system. Among them, whether the target component is visible in the business system can also be understood as whether the target component will be displayed in the front-end interactive page.
[0040] If the target component is the last node of the component tree; the associated information of the target component includes at least one of the following: data fields used by the target component in different subsystems of the business system; attribute information of the data fields and the display style of the target component.
[0041] The data fields used by the target component in different subsystems of the business system may refer to the specific data fields involved in each subsystem in order to realize its functions. These data fields may have different representations in different subsystems, but they are all data elements required for the component to realize its predetermined functions.
[0042] For example, a target component is a "delivery period". The target component is represented by the data field "ABC" in the front end; the target component is represented by the data field "EFG" in the CDP model; the target component is represented by the data field "HIG" in the OE model; and the target component is represented by the data field "KMN" in the DB database.
[0043] The attribute information of the data field may be, for example, descriptive data and constraints related to the data field. Exemplarily, the attribute information of the data field includes at least one of the following: description information of the data field, field type of the data field, development condition of the data field, enumeration information of the data field, verification information of the data field, and processing information of the data field.
[0044] The descriptive information of a data field may be, for example, information that explains the purpose and use of the data field. The type of a data field may be, for example, the data type of the data field, such as a string, integer, date, etc. The display and hiding conditions of a data field may be, for example, the rules that determine when a data field is displayed or hidden. The enumeration information of a data field may be, for example, a limited list of possible values for a data field, that is, the value range allowed for the field. The verification information of a data field may be, for example, rules for validating input to a data field to ensure the validity of the data. The processing information of a data field may be, for example, methods for processing or converting a data field, such as formatting, calculation, etc. It should be noted that the attribute information of a data field used by the same component in different subsystems may not be exactly the same.
[0045] The display style of the target component may refer to, for example, the visual representation of the component presented to the user on the user interface. The display style may involve at least one of the following aspects: layout, color, font style, size, interaction style (such as the appearance change of the component in different interaction states, such as the style change in the state of mouse hovering, clicking, etc.), etc.
[0046] S130: Display a query result display page, where the query result display page includes associated information of the target component.
[0047] The essence of this step is to display the associated information of the target component obtained in S120. For example, it is assumed that the target business system is an advertisement delivery business system. Figure 2 and Figure 3 Schematic diagram of two query result display pages provided for the implementation of the present disclosure. Figure 2 In the case where the target component is the upper node of the component tree, the target component is specifically "delivery position". The display and hiding conditions of "delivery position" are displayed on the query result display page. Figure 3In the case where the target component is the last node of the component tree, the target component is specifically "delivery period". The query result display page displays the data fields used by "delivery period" in different subsystems of the business system, the attribute information of the data fields corresponding to "delivery period" and the display style of "delivery period".
[0048] For example, see Figure 3 The query result display page is divided into three areas from top to bottom. Figure 3 The area between "Field Link" and "Field Information" in the business system contains the data fields used by the target component in different subsystems of the business system. Based on the content displayed in this area, the "delivery period" can be obtained, which is represented by the data field "ABC" in the front end, the data field "EFG" in the CDP model, the data field "HIG" in the OE model, and the data field "KMN" in the DB database. From top to bottom, in the second area (i.e. Figure 3 In the area between "field information" and "component style", the attribute information of the data field corresponding to the "delivery period" is displayed. Since the "delivery period" is represented by four data fields in the four subsystems, the label information of the four subsystems is displayed in the second area, namely "front-end field", "CDP model field", "OE model field" and "DB database field". Assuming that the user selects "front-end field", the attribute information of the data field "ABC" used in the front-end will be displayed in the table below it. The attribute information of "ABC" includes field name, field description, field type, field development conditions, and field verification information. Assuming that the user selects "OE model field", the attribute information of the data field "HIG" used in the OE model will be displayed in the table below it. The attribute information of "HIG" can also include field name, field description, field type, field development conditions, and field verification information.
[0049] The above technical solution obtains the code files related to the target component by setting a response to the query instruction for the target component of the target business system; parses the code files related to the target component to obtain the associated information of the target component; and displays the query result display page, which includes the associated information of the target component. Its essence is to provide a platform for users to query components to meet the query needs of users to understand the business logic related to the target component in the business system.
[0050] On the basis of the above technical solution, optionally, if the query result display page includes the display conditions of the target component or the display conditions of the data field; the display conditions are displayed in the form of a logical judgment diagram and / or a conditional statement.
[0051] A logic judgment diagram, for example, can be a diagram that uses a graphical method to represent the relationship between various conditions. It is intended to illustrate whether a component or field should be displayed or hidden when a specific condition is met. A logic judgment diagram can be composed of a series of nodes and the logical relationships between these nodes. Each node represents a condition or a group of conditions. The logical relationships between nodes can include, for example, "any satisfaction", "simultaneous satisfaction" and "not satisfaction". The logic judgment diagram helps users intuitively understand the relationship between complex conditions, so that they can quickly understand under what circumstances the target component or data field is displayed and under what circumstances it is hidden. For example, Figure 2 A schematic diagram of a logical judgment diagram is given in .
[0052] Conditional statements, for example, can refer to logical rules expressed in natural language rather than programming code, which are used to describe whether a component or field should be displayed or hidden when certain conditions are met. These conditional statements usually contain a series of logical conditions, which are used in natural language to clarify the display and hiding logic of components or fields under specific conditions. Since conditional statements are not expressed in code but in natural language, they also help users understand the relationship between complex conditions, so as to quickly understand under what circumstances the target component or data field is displayed and under what circumstances it is hidden. For example, Figure 2 A schematic diagram of a conditional statement is given in .
[0053] Based on the above technical solutions, optionally, S110 may include: if the target component is the last node in the component tree, determining the data fields used by the target component in different subsystems of the business system; determining the code files related to the data fields; S120 may include: parsing the code files related to the data fields to obtain the associated information of the target component. In practice, the business logic related to the data fields used by the target component in different subsystems of the business system may be different, so this setting can ensure that the attribute information of each data field is correctly determined.
[0054] Furthermore, when compiling or updating the code files constituting the business system, a correspondence table between components and data fields used by the components in different subsystems is constructed. “Determining the data fields used by the target component in different subsystems of the business system” may include: querying the correspondence table to determine the data fields used by the target component in different subsystems of the business system.
[0055] Based on the above technical solutions, in one embodiment, optionally, before S110, the method may also include: displaying a first target page, the first target page including a component filtering condition configuration item; determining a target filtering condition in response to a configuration operation on the component filtering condition configuration item; determining a candidate component set based on the target filtering condition, the candidate component set including at least one candidate component; generating a query instruction for the target component in response to a selection operation on the target component in the candidate component set.
[0056] The first target page may be, for example, a page for configuring component filtering conditions. In addition to the component filtering condition configuration items for configuring component filtering conditions, the first target page may also include other content. This application does not limit what content the first target page includes in addition to the component filtering condition configuration items.
[0057] For example, Figure 4 The page given in is the first target page. The first target page is divided into three areas, namely Area 1, Area 2 and Area 3. Area 1 is located at the top, and is used to display component filtering condition configuration items. Users can configure component filtering conditions by triggering component filtering condition configuration items (such as clicking, selecting the options provided, filling in information in the information filling area, etc.). Area 2 is located below Area 1 and on the left side of Area 3, and is used to display components that are filtered out from all components included in the target business system and meet the configured component filtering conditions. The filtered components are candidate components. The set of filtered components is the candidate component set. In other words, Area 2 is used to display candidate components in the candidate component set. The user can further select one of the candidate components in Area 2. The candidate component selected by the user is the target component, and a target component query instruction is generated. For example, if the target component is the "delivery period" component, see Figure 3 , the associated information of the target component will be displayed in area 3. Area 3 is located below area 1 and to the right of area 2. In this case, the target page is reused as the query result display page.
[0058] The essence of this setting is to allow users to use components as a starting point to query component-related business logic.
[0059] On the basis of the above-mentioned technical solutions, in another embodiment, optionally, before S110, the method may further include: displaying a second target page, the second target page including a data field filtering condition configuration item; determining the data field filtering condition in response to a configuration operation on the data field filtering condition configuration item; displaying a candidate data field set based on the data field filtering condition; in response to a selection operation on a target data field in the candidate data field set, taking a component including the target data field as a target component, and generating a query instruction for the target component.
[0060] The second target page may be, for example, a page for configuring data field screening conditions. In addition to the data field screening condition configuration items for configuring data field screening conditions, the second target page may also include other content. The present application does not limit what content the second target page includes in addition to the data field screening condition configuration items.
[0061] For example, Figure 5 The page given in is the second target page. The second target page is divided into two areas, namely area 4 and area 5. Area 4 is located at the top, and is used to display the data field filter condition configuration item. The user can configure the data field filter condition by triggering the data field filter condition configuration item (such as clicking, selecting the alternative options provided, filling in information in the information filling area, etc.). Area 5 is located below area 4, and is used to display the data fields that are filtered out from all the data fields included in the target business system and meet the configured data field filter conditions. The filtered data fields are candidate data fields. The set of filtered data fields is a candidate data field set. In other words, area 4 is used to display the candidate data fields in the candidate data field set. The user can further select one of the candidate data fields in area 4. The candidate data field selected by the user is the target data field, and the component including the target data field is used as the target component to generate a target component query instruction. For example, see Figure 5 , if the user clicks the "View Details" option corresponding to "ABC", "ABC" is used as the target data field, because the data field used by "Delivery Period" in the front end is "ABC". Figure 6 , the query result display page is displayed, and the query result display page includes the related information of the "delivery period".
[0062] The essence of this setting is to allow users to use data fields as a starting point to query component-related business logic.
[0063] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0064] Figure 7 Schematic diagram of the structure of an information display device in the embodiment of the present disclosure. The information display device provided in the embodiment of the present disclosure can be configured in the client, or can be configured in the server. Figure 7 , the information display device specifically includes:
[0065] The acquisition module 310 is used to respond to a query instruction for a target component of a target business system and acquire a code file related to the target component;
[0066] The parsing module 320 is used to parse the code file related to the target component to obtain the associated information of the target component;
[0067] The display module 330 is used to display a query result display page, wherein the query result display page includes the associated information of the target component.
[0068] Furthermore, if the target component is an upper node of the component tree; the associated information of the target component includes the display and hiding conditions of the target component;
[0069] If the target component is the last node of the component tree; the associated information of the target component includes at least one of the following: the data field used by the target component in different subsystems of the business system; the attribute information of the data field and the display style of the target component.
[0070] Further, if the target component is a last-level node of the component tree, and the information associated with the target component includes attribute information of the data field;
[0071] The attribute information of the data field includes at least one of the following: description information of the data field, field type of the data field, development condition of the data field, enumeration information of the data field, verification information of the data field, and processing information of the data field.
[0072] Furthermore, if the query result display page includes the display condition of the target component or the display condition of the data field; the display condition is displayed in the form of a logic judgment diagram and / or a conditional statement.
[0073] Furthermore, the acquisition module 310 is used to:
[0074] If the target component is a last-level node in the component tree, determining data fields used by the target component in different subsystems in the business system;
[0075] determining a code file associated with the data field;
[0076] The parsing module 320 is used to:
[0077] The code file related to the data field is parsed to obtain the associated information of the target component.
[0078] Furthermore, the device also includes a search instruction generating module, which is used to:
[0079] In response to a query instruction of a target component, before acquiring a code file related to the target component, displaying a first target page, wherein the first target page includes a component screening condition configuration item;
[0080] In response to a configuration operation on the component screening condition configuration item, determining a target screening condition;
[0081] Determine a candidate component set based on the target screening condition, wherein the candidate component set includes at least one candidate component;
[0082] In response to a selection operation on a target component in the candidate component set, a query instruction for the target component is generated.
[0083] Furthermore, the device also includes a search instruction generating module, which is used to:
[0084] In response to a query instruction of a target component, before acquiring a code file related to the target component, displaying a second target page, wherein the second target page includes a data field screening condition configuration item;
[0085] In response to a configuration operation on the data field screening condition configuration item, determining a data field screening condition;
[0086] Based on the data field screening condition, display a candidate data field set; the candidate data field set includes at least one candidate component;
[0087] In response to a selection operation on a target data field in the candidate data field set, a component including the target data field is taken as a target component, and a query instruction for the target component is generated.
[0088] The information display device provided in the embodiment of the present disclosure can execute the steps executed by the client or server in the information display method provided in the embodiment of the method of the present disclosure, and has execution steps and beneficial effects, which will not be repeated here.
[0089] Figure 8 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 8, which shows a schematic diagram of the structure of an electronic device 1000 suitable for implementing the embodiment of the present disclosure. The electronic device 1000 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0090] like Figure 8 As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 to a random access memory (RAM) 1003 to implement the information display method of the embodiment described in the present disclosure. In the RAM 1003, various programs and information required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0091] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange information. Although Figure 8 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0092] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart, thereby implementing the information display method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 1009, or installed from the storage device 1008, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0093] 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 an information signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated information signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, 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.
[0094] In some embodiments, the client and the server may communicate using any known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital information communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any known or future developed network.
[0095] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0096] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0097] In response to a query instruction for a target component of a target business system, obtaining a code file related to the target component;
[0098] Parsing the code files related to the target component to obtain the associated information of the target component;
[0099] A query result display page is displayed, wherein the query result display page includes associated information of the target component.
[0100] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.
[0101] 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, but not limited to, 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).
[0102] 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.
[0103] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0104] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0105] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0106] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:
[0107] one or more processors;
[0108] A memory for storing one or more programs;
[0109] When the one or more programs are executed by the one or more processors, the one or more processors implement any information display method provided in the present disclosure.
[0110] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any information display method provided by the present disclosure.
[0111] The embodiments of the present disclosure further provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the information display method described above is implemented.
[0112] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0113] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An information display method, characterized in that: include: In response to a query instruction for a target component of a target business system, obtaining a code file related to the target component; Parsing the code files related to the target component to obtain the associated information of the target component; A query result display page is displayed, wherein the query result display page includes associated information of the target component.
2. The method according to claim 1, characterized in that If the target component is an upper node of the component tree; the associated information of the target component includes the display and hiding conditions of the target component; If the target component is the last node of the component tree; the associated information of the target component includes at least one of the following: the data field used by the target component in different subsystems of the business system; the attribute information of the data field and the display style of the target component.
3. The method according to claim 2, characterized in that If the target component is a last-level node of the component tree, and the information associated with the target component includes attribute information of the data field; The attribute information of the data field includes at least one of the following: description information of the data field, field type of the data field, development condition of the data field, enumeration information of the data field, verification information of the data field, and processing information of the data field.
4. The method according to claim 2, characterized in that: If the query result display page includes the display condition of the target component or the display condition of the data field; the display condition is displayed in the form of a logic judgment diagram and / or a conditional statement.
5. The method according to claim 1, characterized in that The obtaining of the code file related to the target component includes: If the target component is a last-level node in the component tree, determining data fields used by the target component in different subsystems in the business system; determining a code file associated with the data field; The parsing of the code file related to the target component to obtain the associated information of the target component includes: The code file related to the data field is parsed to obtain the associated information of the target component.
6. The method according to claim 1, characterized in that Before the step of obtaining the code file related to the target component in response to the query instruction of the target component, the step includes: Displaying a first target page, wherein the first target page includes a component filtering condition configuration item; In response to a configuration operation on the component screening condition configuration item, determining a target screening condition; Determine a candidate component set based on the target screening condition, wherein the candidate component set includes at least one candidate component; In response to a selection operation on a target component in the candidate component set, a query instruction for the target component is generated.
7. The method according to claim 1, characterized in that Before the step of obtaining the code file related to the target component in response to the query instruction of the target component, the step includes: Displaying a second target page, wherein the second target page includes a data field screening condition configuration item; In response to a configuration operation on the data field screening condition configuration item, determining a data field screening condition; Based on the data field screening condition, display a candidate data field set; the candidate data field set includes at least one candidate component; In response to a selection operation on a target data field in the candidate data field set, a component including the target data field is taken as a target component, and a query instruction for the target component is generated.
8. An information display device, characterized in that: include: An acquisition module, configured to acquire a code file related to a target component in response to a query instruction for a target component of a target business system; A parsing module, used to parse the code files related to the target component to obtain the associated information of the target component; The display module is used to display a query result display page, wherein the query result display page includes the associated information of the target component.
9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.