CN116662625A - Information display method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN116662625A
CN116662625A CN202210165165.9A CN202210165165A CN116662625A CN 116662625 A CN116662625 A CN 116662625A CN 202210165165 A CN202210165165 A CN 202210165165A CN 116662625 A CN116662625 A CN 116662625A
Authority
CN
China
Prior art keywords
cluster
information
target
node
association
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210165165.9A
Other languages
Chinese (zh)
Inventor
朱超颖
吴彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210165165.9A priority Critical patent/CN116662625A/en
Publication of CN116662625A publication Critical patent/CN116662625A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses an information display method, an information display device, electronic equipment and a storage medium, wherein the information display method comprises the following steps: a first cluster information acquisition instruction is sent to a target terminal running a target application program; the target application program is an application program developed based on the illusion engine; acquiring first cluster information returned by the target terminal; the first cluster information comprises root object information of each object cluster corresponding to the target application program in the target terminal memory, and the root object information indicates the name and the type of the corresponding root object; and displaying the root object information of each object cluster. The invention realizes active acquisition and display of more effective cluster information, is beneficial to improving the efficiency of optimizing garbage recovery based on clusters and reducing the optimization cost.

Description

Information display method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information display method, an information display device, an electronic device, and a storage medium.
Background
The illusion Engine (UE) is an interactive application (such as a game application) development Engine, and based on a garbage collection algorithm (Garbage Collection, GC) provided by the illusion Engine, objects that are not referenced in the interactive application can be automatically cleaned up, so as to release occupied memory space.
Currently, for the garbage collection, a Cluster-based garbage collection algorithm is generally adopted, and a Cluster (i.e., cluster) is a group of objects (i.e., UObjects), wherein UObjects created by the Cluster are initiated as Root objects (i.e., cluster Root) of the Cluster, and the associated UObjects can be added into corresponding Cluster by analyzing the reference relation of the Cluster Root.
In order to improve garbage collection efficiency, service personnel need to acquire relevant information of the Cluster and optimize the relevant information in time, however, in the related technology, only the relevant information (namely, the creation time of the Cluster, destroyed Cluster and the number of the Cluster) can be passively acquired (namely, the Cluster is automatically output by an illusion engine) to a very small amount of information, and the availability of the output part of the Cluster information is very small, so that effective analysis reference information is lack for garbage collection optimization, and the optimization efficiency is low and the optimization cost is high.
Disclosure of Invention
In order to solve the problems in the prior art, the embodiment of the invention provides an information display method, an information display device, electronic equipment and a storage medium. The technical scheme is as follows:
in one aspect, an information display method is provided, including:
a first cluster information acquisition instruction is sent to a target terminal running a target application program; the target application program is an application program developed based on the illusion engine;
Acquiring first cluster information returned by the target terminal; the first cluster information comprises root object information of each object cluster corresponding to the target application program in the target terminal memory, and the root object information indicates the name and the type of the corresponding root object;
and displaying the root object information of each object cluster.
In another aspect, there is provided an information display apparatus including:
the first instruction sending module is used for sending a first cluster information acquisition instruction to a target terminal running a target application program; the target application program is an application program developed based on the illusion engine;
the first cluster information acquisition module is used for acquiring first cluster information returned by the target terminal; the first cluster information comprises root object information of each object cluster corresponding to the target application program in the target terminal memory, and the root object information indicates the name and the type of the corresponding root object;
and the first display module is used for displaying the root object information of each object cluster.
In an exemplary embodiment, the first cluster information further includes associated object identification information of each of the object clusters; the apparatus further comprises:
the second instruction sending module is used for responding to the triggering operation of the displayed target object cluster and sending a second cluster information acquisition instruction to the target terminal according to the associated object identification information of the target object cluster; the target object cluster is any one of the object clusters;
The second cluster information acquisition module is used for acquiring second cluster information returned by the target terminal; the second cluster information comprises the name and the type of the associated object corresponding to the associated object identification information;
and the second display module is used for displaying the name and the type of the associated object according to the first association relation between the target object cluster and the associated object.
In an exemplary embodiment, the apparatus further comprises:
the third instruction sending module is used for responding to the triggering operation of the displayed target associated object and sending a reference information acquisition instruction aiming at the target associated object to the target terminal; the target associated object is any associated object;
the reference information acquisition module is used for acquiring target reference information returned by the target terminal; the target reference information comprises cluster attribution information of a reference object corresponding to the target associated object and names and types of the reference object;
and the third display module is used for displaying the name and the type of the reference object according to the matching condition between the cluster attribution information of the reference object and the object cluster to which the target associated object belongs.
In an exemplary embodiment, the first cluster information further includes associated cluster identification information of each of the object clusters;
the second instruction sending module is specifically configured to respond to a triggering operation on the displayed target object cluster, and send a second cluster information acquisition instruction to the target terminal according to the associated cluster identification information and the associated object identification information of the target object cluster;
correspondingly, the second cluster information further comprises root object information of associated object clusters, wherein the associated object clusters comprise first associated object clusters corresponding to the associated cluster identification information and second associated object clusters determined by recursion reference analysis on the first associated object clusters based on a preset analysis level;
the device also comprises a fourth display module, which is used for displaying the root object information of the associated object cluster according to the second association relation between the target object cluster and the associated object cluster.
In an exemplary embodiment, the apparatus further comprises:
the node creation module is used for creating nodes corresponding to the target object cluster and the associated object cluster respectively;
the node connection relation determining module is used for determining the node connection relation between the nodes according to the association relation between the target object cluster and the association object cluster and the recursion reference relation corresponding to the association object cluster;
The node position information determining module is used for determining the position information of each node according to the node connection relation among the nodes;
and the fifth display module is used for generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes and the position information of the nodes.
In an exemplary embodiment, the position information includes position information in a vertical direction and position information in a horizontal direction; the node position information determining module includes:
the node height determining module is used for carrying out recursive analysis on each node according to the node connection relation among the nodes to determine the node height of each node;
the vertical direction position determining module is used for taking half of the node height corresponding to the root node in the nodes as a vertical direction offset, and determining the position information of each node in the vertical direction based on the difference value of the node height of each node and the vertical direction offset;
the horizontal direction position determining module is used for determining the position information of each node in the horizontal direction according to the recursion depth corresponding to each node and the type of the second association relation corresponding to each node.
In an exemplary embodiment, the fifth display module includes:
the thumbnail acquisition module is used for acquiring the thumbnail corresponding to each node; the thumbnail is a thumbnail of a root object resource package of an object cluster corresponding to the corresponding node;
the node display content generation module is used for generating node display content of each node according to the thumbnail corresponding to each node and root object information of the object cluster corresponding to each node;
and the association relation diagram display module is used for generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes, the position information of the nodes and the node display content.
In an exemplary embodiment, the apparatus further comprises:
the display updating module is used for responding to the triggering operation of the target node in the association relation graph and carrying out display updating on the association relation graph, the association object and the association object cluster according to the association cluster identification information and the association object identification information of the object cluster corresponding to the target node; and the target node is a node except a root node in the association relation graph.
In another aspect, an electronic device is provided, including a processor and a memory, where at least one instruction or at least one program is stored in the memory, where the at least one instruction or the at least one program is loaded and executed by the processor to implement the information presentation method described above.
In another aspect, a computer readable storage medium having at least one instruction or at least one program stored therein is provided, the at least one instruction or the at least one program loaded and executed by a processor to implement an information presentation method as described above.
In another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic 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 information presentation method described above.
According to the embodiment of the invention, the first Cluster information acquisition instruction is sent to the target terminal running the application program based on the illusion engine, and the first Cluster information returned by the target terminal is acquired, wherein the first Cluster information comprises the root object information of each object Cluster corresponding to the application program in the target terminal memory, the root object information indicates the name and the type of the corresponding root object, and further, the root object information of each object Cluster is used as the display information of the corresponding object Cluster to display each object Cluster corresponding to the application program, so that the active grabbing of Cluster information is realized, the type and the name of a representative root UObject are used as the visible information of the corresponding Cluster, the more effective Cluster information is displayed, more visual and effective analysis reference information is provided for garbage recycling optimization based on clusters, the improvement of the optimization efficiency is facilitated, and the optimization cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a schematic diagram of information output based on a stat GC command line in the related art;
FIG. 1b is a schematic diagram of information output based on GC logs in the related art;
FIG. 2 is a schematic illustration of an implementation environment provided by an embodiment of the present invention;
fig. 3 is a flow chart of an information display method according to an embodiment of the present invention;
fig. 4 is a visual presentation example of an object cluster corresponding to a target application provided in an embodiment of the present invention;
fig. 5 is a flowchart of another information display method according to an embodiment of the present invention;
FIG. 6 is a visual presentation example of associated objects of a target object cluster provided by an embodiment of the present invention;
FIG. 7 is a visual presentation example of a reference object to a target associated object provided by an embodiment of the present invention;
FIG. 8 is a visual presentation example of an associated object of a target object cluster and the associated object cluster provided by an embodiment of the present invention;
FIG. 9 is a schematic flow chart of generating an association diagram of a target object cluster according to an embodiment of the present invention;
fig. 10 is an example of an association diagram corresponding to a target object cluster provided in an embodiment of the present invention;
fig. 11 is a display example of a node corresponding to a certain object cluster in the association relationship diagram provided by the embodiment of the present invention;
FIG. 12 is an example of a presentation interface implemented in accordance with an information presentation method of an embodiment of the present invention;
fig. 13 is a block diagram of an information display device according to an embodiment of the present invention;
fig. 14 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be appreciated that in the specific embodiments of the present application, related data such as user information is involved, and when the above embodiments of the present application are applied to specific products or technologies, user permissions or consents need to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
In the related art, a garbage collection algorithm (Garbage Collection, GC) provided based on the illusion engine can automatically clean up the objects which are not referenced in the interactive application and further release the occupied memory space, in the garbage collection based on the clusters, the stat GC command line and GC log provided by the illusion engine can automatically output a small amount of cluder information, such as the information schematic diagram based on the stat GC command line output shown in fig. 1a, only the time of creating clusters can be output, such as the information schematic diagram based on the GC log output shown in fig. 1b, only the destroyed clusters and the number can be output, and the availability of the output Cluster information is very small, so that the effective analysis reference information is lacking in optimizing the garbage collection based on the clusters, which results in low optimizing efficiency and high optimizing cost.
Based on the above, the information display method provided by the embodiment of the invention realizes active grabbing of Cluster information, and displays more effective Cluster information by taking the type and name of the representative root Uobject as the visible information of the corresponding Cluster, thereby providing more visual and effective analysis reference information for optimizing garbage collection based on clusters, and being beneficial to improving the optimizing efficiency and reducing the optimizing cost.
It should be noted that the embodiments of the present invention may be applied to various scenarios, including, but not limited to, cloud technology, artificial intelligence, traffic, intelligent traffic, vehicle-mounted, driving assistance, and the like.
Referring to fig. 2, an implementation environment of an information display method according to an embodiment of the invention is shown, where the implementation environment may include a first terminal 210 and a second terminal 220, and the first terminal 210 and the second terminal 220 may communicate based on a wired network or a wireless network connection.
The first terminal 210 has a fantasy engine-based interactive application running therein, for example, a fantasy engine-based game application, and the first terminal 210 may include a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and the like. The operating system running on the first terminal 210 in the embodiment of the present invention may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
The second terminal 220 is configured to collect and display information of the object Cluster corresponding to the interactive application in the first terminal 210 according to the information display method in the embodiment of the present invention, where the second terminal 220 may include a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, and the like. The operating system running on the second terminal 210 in the embodiment of the present invention may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
In a specific application scenario, considering that two IP address (Internet Protocol Address ) ports are connectable on the premise of Socket (Socket) communication, the network used by the first terminal 210 and the network used by the second terminal 220 may not be in the same lan, so for a terminal of an android system, a port mapping function of an android debug bridge (Android Debug Bridge) may be used to map a local port of the first terminal 210 to a port on the second terminal 220 through a USB (Universal Serial Bus ) interface, so as to implement communication continuity between the first terminal 210 and the second terminal 220.
The information display method according to the embodiment of the invention is described below by taking the first terminal as a mobile terminal and the second terminal as a personal computer as an example.
Fig. 3 is a flowchart illustrating an information display method according to an embodiment of the invention, and the method can be applied to fig. 2. It is noted that the present specification provides method operational steps as described in the examples or flowcharts, but may include more or fewer operational steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. In actual system or product execution, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment). As shown in fig. 3, the method may include:
s301, the second terminal sends a first cluster information acquisition instruction to a first terminal running a target application program.
The target application is an application developed based on the illusion engine, and the first terminal is a terminal (also referred to as a target terminal) running the target application. The target application may be, for example, a gaming application.
In a specific implementation, after the first terminal establishes a communication connection with the second terminal, a target application program can be run on the first terminal, and then a data collection service for the object cluster is started through a command line of the target application program. By way of example, the data collection service for the object cluster may be implemented by a runtime module (i.e., cluster Runtime Tool) running at the first terminal.
The second terminal may be configured with a cluster editor tool (i.e. Cluster Editor Tool) configured to send a first cluster information acquisition instruction to the first terminal, where the first cluster information acquisition instruction is configured to instruct to acquire first cluster information of each object cluster corresponding to the target application program in the memory of the first terminal.
Illustratively, the cluster editor tool (Cluster Editor Tool) may send a first cluster information retrieval instruction to a runtime module (Cluster Runtime Tool) of the first terminal. Specifically, the first cluster information acquisition instruction may be sent when a specified trigger operation is detected, for example, when a timing duration is detected to reach a preset duration, the first cluster information acquisition instruction is sent to the first terminal, or when a refresh operation is performed, the first cluster information acquisition instruction is sent to the first terminal.
S303, the first terminal responds to the first cluster information acquisition instruction, acquires the first cluster information of each object cluster corresponding to the target application program in the memory, and returns the first cluster information of each object cluster corresponding to the target application program in the memory to the second terminal.
Wherein the first cluster information of each object cluster includes root object information of each object cluster, the root object information indicating a name and a type of a corresponding root object.
For example, when receiving the first cluster information acquisition instruction sent by the cluster editor tool (Cluster Editor Tool) in the second terminal, the runtime module (Cluster Runtime Tool) in the first terminal analyzes the data conditions of all the object clusters corresponding to the target application in the memory at the current moment, so as to obtain the first cluster information of each object cluster corresponding to the target application.
In a specific embodiment, the first terminal may obtain, through an interface function guobjectclusters, getclusters, usafe () provided by the illusion engine, detailed information of all object clusters corresponding to the target application in the memory, where the detailed information of each object cluster includes: root object identification, all object identifications contained, a list of referenced object cluster identifications, and a list of referenced object cluster identifications. Since the detailed information of each object cluster obtained based on the above interface function guobjectclusters, getclusters, does not contain any visual information which is convenient to identify, in order to facilitate the service personnel to identify each object cluster, in the embodiment of the present invention, the name and type of the root object are further obtained as root object information of the corresponding object cluster according to the object identifier, and the first cluster information is generated based on the root object information of each object cluster. Illustratively, the name and type of the root object may be back-looked up based on the root identity through an interface guobjectarray.
Correspondingly, the second terminal acquires the first cluster information returned by the first terminal based on the first cluster information acquisition instruction.
And S305, the second terminal displays the root object information of each object cluster.
In the embodiment of the invention, the second terminal displays each object cluster corresponding to the target application program by taking the root object information of each object cluster as the display information of the corresponding object cluster.
In a specific implementation, all object clusters corresponding to the target application program can be displayed in a list form, and each object cluster takes representative root object information (the name and the type of the root object) as display information and visible information. Fig. 4 shows a visual display example of an object cluster corresponding to a target application program, where each row represents an object cluster, for example "[ material ] mt_alp_Dissove_m" represents an object cluster, "[ material ] is a type of a root object of the object cluster, and" mt_alp_Dissove_m "is a name of a root object of the object cluster.
The name and the type of the root object have higher resolvable property, so that the name and the type of each object cluster are used as visible information when the object cluster corresponding to the target application program is displayed, thereby facilitating the resolution of business personnel on each object cluster and further being beneficial to improving the analysis processing efficiency of data.
In a specific embodiment, when the first terminal returns the first cluster information, the first cluster information may be serialized into a network data packet, and then the network data packet is sent to the second terminal. Correspondingly, after receiving the network data packet, the second terminal may deserialize the network data packet to obtain the first cluster information. Illustratively, the serialization processing of the first cluster information may package the first cluster information into a string sequence through the Json data structure, and then forward the string sequence through Socket, which is an example of the first cluster information of the Json data structure as follows:
in the above example, the "ri" field indicates the identification of the root object (i.e., root UObject) of the object cluster, the "rn" field indicates the name of the root object of the object cluster, and the "cn" field indicates the type of the root object of the object cluster.
In an exemplary embodiment, the first cluster information may further include associated object identification information of each object cluster, where the associated object identification information is used to uniquely identify an associated object, and the associated object may include an object included in the object cluster, and an object that is referred to by the object cluster and is free from each object cluster, i.e., a valid ubject.
Based on this, as shown in the flow chart of another information display method provided in fig. 5, after displaying each object cluster corresponding to the target application program, the method may further include:
s501, the second terminal responds to the triggering operation of the displayed target object cluster, and sends a second cluster information acquisition instruction to the first terminal according to the associated object identification information of the target object cluster.
Wherein the target object cluster is any one of the object clusters. The second cluster information acquisition instruction is used for instructing the first terminal to acquire second cluster information based on the associated object identification information.
Specifically, taking the object cluster display list of fig. 4 as an example, a service person can select an object cluster corresponding to any piece of object information in the display list as a target object cluster according to actual needs so as to further acquire richer information of the target object cluster. Correspondingly, the second terminal can respond to the selection instruction and send a second cluster information acquisition instruction to the first terminal according to the associated object identification information of the selected target object cluster. The selection instruction may be generated based on a trigger operation such as a click operation or a press operation.
S503, the first terminal responds to a second cluster information acquisition instruction, acquires second cluster information based on the associated object identification information, and returns the second cluster information to the second terminal.
In a specific implementation, the first terminal may use the association object identification information to reversely check the UObject information through the interface guobjectarray.
Correspondingly, the second terminal acquires second cluster information returned by the first terminal.
S505, the second terminal displays the name and the type of the associated object according to the first association relation between the target object cluster and the associated object.
In the embodiment of the invention, the second terminal uses the name and the type of the associated object as the display information of the associated object, and displays the associated object of the target object cluster according to the first association relationship between the target object cluster and the associated object.
The first association relationship includes that the association object belongs to an object in the target object cluster and the association object is a multi-table Uobject, so when the association object of the target object cluster is displayed based on the first association relationship between the target object cluster and the association object, classification display can be performed based on the type of the first association relationship, the association object belonging to the target object cluster is used as one list, and the association object belonging to the multi-table Uobject is used as another list. Fig. 6 shows a visual display example of related objects of the target object cluster, where each related object is displayed in two types of lists, namely a "included ubject" list and a "usable ubject" list, by taking the name and the type of each related object as visual display information.
In the embodiment, the name and the type of the associated object of the selected target object cluster are visually classified and displayed, so that richer and effective cluster related information of the target object cluster can be provided, the optimization efficiency of garbage collection optimization based on clusters can be improved, and the optimization cost can be reduced.
In an exemplary embodiment, with continued reference to fig. 5, after presenting the associated objects of the target object cluster, the method may further include:
s507, the second terminal responds to the triggering operation of the displayed target associated object and sends a reference information acquisition instruction aiming at the target associated object to the first terminal.
Wherein the target associated object is any associated object. The reference information acquisition instruction is used for indicating that object related information referencing the target associated object is acquired.
Specifically, taking the associated object display list of the target object cluster shown in fig. 6 as an example, a service personnel can select any associated object in the display list as a target associated object according to actual needs so as to further obtain richer information of the target associated object. Accordingly, the second terminal may send a reference information acquisition instruction to the first terminal according to the selected target associated object in response to the selection instruction. The selection instruction may be generated based on a trigger operation such as a click operation or a press operation.
S509, the first terminal responds to the reference information acquisition instruction aiming at the target associated object, acquires target reference information and returns the target reference information to the second terminal.
In a specific implementation, the first terminal can acquire target reference information of the target associated object through a FReferencerFinder interface provided by a illusion engine, wherein the target reference information can comprise cluster attribution information of the reference object corresponding to the target associated object and names and types of the reference objects.
Correspondingly, the second terminal can acquire the target reference information of the target associated object.
S511, the second terminal displays the name and the type of the reference object according to the matching condition between the cluster attribution information of the reference object and the object cluster to which the target associated object belongs.
In the embodiment of the invention, the second terminal uses the name and the type of the reference object as the display information of the reference object, and displays the reference object corresponding to the target associated object according to the matching condition between the cluster attribution information of the reference object and the object cluster to which the target associated object belongs.
Specifically, if the cluster attribution information of the reference object indicates that the reference object belongs to a certain object cluster and the object cluster is matched with the object cluster to which the target associated object belongs, the reference object and the target associated object are indicated to belong to the same object cluster; if the cluster attribution information of the reference object indicates that the reference object belongs to a certain object cluster and the object cluster to which the target associated object belongs is not matched, the reference object and the target associated object are not in the same object cluster; if the cluster attribution information of the reference object indicates that the reference object does not belong to any object cluster, the reference object is indicated not to be an object in the object cluster.
Then, when the reference object corresponding to the target associated object is displayed, classification display can be performed in combination with the above three cases, as shown in fig. 7, which is a visual display example of the reference object of the target associated object, where each reference object is displayed in three types of lists by using its name and type as visual display information, and is "the object in the Cluster", "the object in the other clusters", "the object not in the Cluster", where the Cluster "is an object Cluster to which the target associated object belongs", and "the other clusters" are object clusters other than the object Cluster to which the target associated object belongs.
In the embodiment, the name and the type of the reference object of the selected target associated object are visually classified and displayed, so that richer and effective object cluster related information can be provided, the optimization efficiency of garbage collection optimization based on clusters can be improved, and the optimization cost can be reduced.
In an exemplary embodiment, the first cluster information may further include association cluster identification information of each object cluster, the association cluster identification information indicating an associated object cluster of the corresponding object cluster, the associated object cluster may include a referenced object cluster and a referenced object cluster, that is, the association cluster identification information may include referenced object cluster identification information and referenced object cluster identification information. For example, the "r" field in the first cluster information of the aforementioned Json data structure indicates a list of referenced object cluster identifications, and the "rb" field indicates a list of referenced object cluster identifications.
Based on this, in the step S501, when the second terminal responds to the triggering operation of the displayed target object cluster and sends the second cluster information acquisition instruction to the first terminal according to the associated object identification information of the target object cluster, the method may specifically be:
and the second terminal responds to the triggering operation of the displayed target object cluster, and sends a second cluster information acquisition instruction to the target terminal according to the associated cluster identification information of the target object cluster and the associated object identification information.
Then, in step S503, when the first terminal responds to the second cluster information obtaining instruction and obtains the second cluster information based on the association object identification information, the method may specifically be:
and the first terminal responds to a second cluster information acquisition instruction and acquires second cluster information based on the associated cluster identification information and the associated object identification information of the target object cluster. The second cluster information comprises the name and the type of the associated object corresponding to the associated object identification information, and also comprises root object information of the associated object cluster, wherein the associated object cluster comprises a first associated object cluster corresponding to the associated cluster identification information and a second associated object cluster determined by recursively referring to the first associated object cluster based on a preset analysis level.
In a specific implementation, the first terminal may reversely check information of the first associated object cluster by using the associated object cluster identification information as a subscript of a GUObjectClusters interface provided by the illusion engine, where the information of the first associated object cluster includes root object information of the first associated object cluster, and further recursively analyze the reversely checked first associated object cluster based on a preset analysis level to determine a second associated object cluster, so as to obtain root object information of the second associated object cluster.
It can be understood that the first associated object cluster is an associated object cluster corresponding to the associated object cluster identifier, that is, an object cluster having a direct association relationship with the target object cluster, and may include a referenced object cluster and a referenced object cluster corresponding to the target object cluster; the second association object cluster is an object cluster which is determined by recursion analysis and has indirect association relation with the target object cluster.
Furthermore, in step S505, the second terminal may further include:
and the second terminal displays the root object information of the associated object cluster according to a second association relation between the target object cluster and the associated object cluster. That is, the second terminal uses the root object information of the associated object cluster as the display information of the associated object cluster, and displays the associated object cluster of the target object cluster according to the second association relationship between the target object cluster and the associated object cluster.
The second association relationship includes a referenced object cluster corresponding to the target object cluster and a referenced object cluster corresponding to the target object cluster. It is to be appreciated that the referenced object clusters can include directly referenced object clusters and indirectly referenced object clusters, and that the referenced object clusters can include directly referenced object clusters and indirectly referenced object clusters. When the associated object cluster of the target object cluster is displayed based on the second association relation between the target object cluster and the associated object cluster, classification display can be performed based on the type of the second association relation, and the referenced object cluster corresponding to the target object cluster is used as one list, and the referenced object cluster corresponding to the target object cluster is used as the other list. Fig. 8 shows a visual display example of the associated objects of the target object Cluster and the associated object Clusters, wherein each associated object Cluster uses the name and the type of the root object of each associated object Cluster as visual display information, and the associated object Clusters are divided into two types of lists for display, namely a referenced clusteris list and a referenced clusteris list.
In the embodiment, through carrying out visual classification display on the associated object cluster of the selected target object cluster, richer and effective cluster related information of the target object cluster can be provided, which is beneficial to improving the optimization efficiency of garbage recycling optimization based on clusters and reducing the optimization cost.
In order to achieve a more visual visualization effect, so as to further improve the optimization efficiency of the cluster-based garbage collection optimization and reduce the optimization cost, the second terminal can also use a graph (EdGraph) of the illusion engine to realize a second association relationship between the target object cluster and the association object cluster, and the EdGraph provides a UI (user interface) rendering related function. Based on this, in an exemplary embodiment, the method may further include generating, by the second terminal, an association diagram of the target object cluster, and specifically, generating, by the second terminal, the association diagram of the target object cluster may include the following steps shown in fig. 9:
s901, creating nodes corresponding to the target object cluster and the associated object cluster respectively.
S903, determining a node connection relation between the nodes according to the association relation between the target object cluster and the association object cluster and the recursion reference relation corresponding to the association object cluster.
S905, determining the position information of each node according to the node connection relation among the nodes.
Wherein the positional information of each node includes positional information in a vertical direction and positional information in a horizontal direction. The position information of each node determined based on the node connection relationship between each node can enable the display content of each node in the finally generated association relationship graph not to be blocked or overlapped.
In a specific embodiment, the step S905 may include:
performing recursion analysis on each node according to the node connection relation among the nodes to determine the node height of each node;
taking half of the node height corresponding to the root node in the nodes as a vertical direction offset, and determining the position information of each node in the vertical direction based on the difference value of the node height of each node and the vertical direction offset;
and determining the position information of each node in the horizontal direction according to the recursion depth corresponding to each node and the type of the second association relation corresponding to each node.
In a specific implementation, whether the current node is a leaf node is judged in a recursion analysis, if the current node is the leaf node, the node high order of the current node can be determined to be 1, if the current node is not the leaf node, the child nodes of the current node are recursion determined, the node heights of the child nodes are determined, and the node height sum of all the child nodes of the current node is determined to be the node height of the current node. It will be appreciated that in determining the node height of a child node, a recursive analysis may be performed with the child node as the current node.
When the position information of each node in the vertical direction is determined based on the difference value of the node height and the vertical direction offset of each node, the position information of each node in the vertical direction can be obtained by subtracting the vertical direction offset from the node height of each node.
The types of the second association may include cited and cited, and in determining the position information of each node in the horizontal direction, the recursion depth may be regarded as the horizontal offset of the corresponding node, and then the horizontal offset direction is determined in combination with the type of the second association corresponding to the node, where the cited and cited distributions correspond to different horizontal offset directions, for example, the cited may correspond to a horizontal negative direction, and the cited may correspond to a horizontal positive direction. Specifically, assuming that the recursion depth is N (is an integer not less than 0), the horizontal position of the referenced associated object cluster is-N, and the horizontal position of the referenced associated object cluster is N.
S907, generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes and the position information of the nodes.
Specifically, each node is laid out according to the position information of each node, and then connecting lines are drawn based on the node connection relations among the nodes, so that an association relation diagram corresponding to the target object cluster can be generated to display the association relation diagram.
As shown in fig. 10, which is an example of an association relationship diagram corresponding to a target object cluster, the maximum recursion depth is 2, the diagram intuitively and clearly shows the associated object cluster associated with the target object cluster, provides an effective analysis information reference for optimizing garbage collection based on the cluster, facilitates service personnel to find the reason why the garbage collection time of the target application program is long more clearly and quickly, provides an accurate judgment basis for verifying the effect after formulating an optimization strategy, reduces labor cost and time cost in the garbage collection optimizing process based on the cluster, and improves optimizing efficiency.
In order to make the presentation of each object cluster more intuitive, a thumbnail of a root object resource package of the object cluster corresponding to the node may be used when the node is drawn, based on this, in an exemplary embodiment, the step S907 may include, when generating and presenting an association relationship graph corresponding to the target object cluster according to the node connection relationship between the nodes and the location information of the nodes:
acquiring thumbnail corresponding to each node; the thumbnail is a thumbnail of a root object resource package of an object cluster corresponding to the corresponding node; specifically, the second terminal may collect the thumbnail in the resource package using a resource icon function (fassetthumb) of the illusion engine;
Generating node display content of each node according to the thumbnail corresponding to each node and root object information of the object cluster corresponding to each node;
and generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes, the position information of the nodes and the node display content.
As shown in fig. 11, an example of displaying a node corresponding to an object cluster in the association relationship diagram, where the node display content of the object cluster includes corresponding root object information (m_standard) and a thumbnail, the display is more intuitive.
When the graph EdGraph provided by the illusion engine is used to realize the visual presentation of the above-mentioned association graph, the ueddgraph_clusteriser (cluster visual graph window) can be used for refreshing, node construction, declaring node relationships and node layout of the association graph, and is a UEGraph (illusion graph base class) inherited from the illusion engine; uedtognode_cluster (Cluster visualization graph node) which is uedtognode (phantom graph node base class) inherited from the phantom engine can be used to describe the data information of the node; the SClumternode (cluster node data class) is responsible for carrying out the depiction of the node display content by using the basic slave function (the illusive UI framework), and the SClumternode inherits the SGgraphnode (the illusive chart node data base class) of the illusive engine; SClumterViewer inherits SComboundWidget (a fictive UI component base class) from a fictive engine as a container for the entire tool interface.
Referring to fig. 12, an example of a display interface implemented by an information display method according to an embodiment of the present invention is shown, where all object cluster lists of a target application in a first terminal memory are displayed in the display interface, each object cluster uses names and types of root objects of the object cluster as visible display information, an association relationship graph (including a reference relationship and a referenced relationship) of a user selected object cluster is also shown, an object list associated with the user selected object cluster and a reference relationship of the reference and the referenced object cluster are also shown, and a reference relationship of the user selected object is also shown. And a refreshing Cluster list button is arranged at the upper left corner of the display interface, and when a user operates the button, a first Cluster information acquisition instruction can be sent to the first terminal, so that the current display content is updated.
In order to improve flexibility of information presentation, in an exemplary embodiment, after presenting the association relationship diagram corresponding to the target object cluster, the method may further include:
responding to triggering operation of a target node in the association relation graph, and displaying and updating the association relation graph, the association object and the association object cluster according to association cluster identification information and association object identification information of an object cluster corresponding to the target node; and the target node is a node except a root node in the association relation graph.
The updated associated object is the associated object of the object cluster corresponding to the target node, the updated associated object cluster is the associated object cluster of the object cluster corresponding to the target node, the root node in the updated associated relation graph is the target node, and the displayed association relation between the object cluster corresponding to the target node and the associated object cluster is the association relation between the object cluster corresponding to the target node and the associated object cluster. The specific manner of displaying the update may be referred to the foregoing implementation manners shown in fig. 5 to 10 of the embodiment of the present invention, which is not described herein again.
In another exemplary embodiment, in order to improve the efficiency of the optimization analysis, the optimization suggestion can be intelligently generated while the object cluster information is displayed, and the optimization suggestion is fed back to relevant business personnel.
The embodiment of the present invention also provides an information display device corresponding to the information display method provided by the above embodiments, and since the information display device provided by the embodiment of the present invention corresponds to the information display method provided by the above embodiments, implementation of the information display method described above is also applicable to the information display device provided by the present embodiment, and will not be described in detail in the present embodiment.
Referring to fig. 13, a schematic structural diagram of an information display device provided in an embodiment of the present invention is shown, where the information display device 1300 has a function of implementing the information display method in the above method embodiment, and the function may be implemented by hardware or implemented by executing corresponding software by hardware. As shown in fig. 13, the information presentation apparatus 1300 may include:
A first instruction sending module 1310, configured to send a first cluster information obtaining instruction to a target terminal running a target application program; the target application program is an application program developed based on the illusion engine;
a first cluster information acquiring module 1320, configured to acquire first cluster information returned by the target terminal; the first cluster information comprises root object information of each object cluster corresponding to the target application program in the target terminal memory, and the root object information indicates the name and the type of the corresponding root object;
a first display module 1330, configured to display root object information of each of the object clusters.
In an exemplary embodiment, the first cluster information further includes associated object identification information of each of the object clusters; the apparatus further comprises:
the second instruction sending module is used for responding to the triggering operation of the displayed target object cluster and sending a second cluster information acquisition instruction to the target terminal according to the associated object identification information of the target object cluster; the target object cluster is any one of the object clusters;
the second cluster information acquisition module is used for acquiring second cluster information returned by the target terminal; the second cluster information comprises the name and the type of the associated object corresponding to the associated object identification information;
And the second display module displays the name and the type of the associated object according to the first association relation between the target object cluster and the associated object.
In an exemplary embodiment, the apparatus further comprises:
the third instruction sending module is used for responding to the triggering operation of the displayed target associated object and sending a reference information acquisition instruction aiming at the target associated object to the target terminal; the target associated object is any associated object;
the reference information acquisition module is used for acquiring target reference information returned by the target terminal; the target reference information comprises cluster attribution information of a reference object corresponding to the target associated object and names and types of the reference object;
and the third display module is used for displaying the name and the type of the reference object according to the matching condition between the cluster attribution information of the reference object and the object cluster to which the target associated object belongs.
In an exemplary embodiment, the first cluster information further includes associated cluster identification information of each of the object clusters;
the second instruction sending module is specifically configured to respond to a triggering operation on the displayed target object cluster, and send a second cluster information acquisition instruction to the target terminal according to the associated cluster identification information and the associated object identification information of the target object cluster;
Correspondingly, the second cluster information further comprises root object information of associated object clusters, wherein the associated object clusters comprise first associated object clusters corresponding to the associated cluster identification information and second associated object clusters determined by recursion reference analysis on the first associated object clusters based on a preset analysis level;
the device also comprises a fourth display module, which is used for displaying the root object information of the associated object cluster according to the second association relation between the target object cluster and the associated object cluster.
In an exemplary embodiment, the apparatus further comprises:
the node creation module is used for creating nodes corresponding to the target object cluster and the associated object cluster respectively;
the node connection relation determining module is used for determining the node connection relation between the nodes according to the association relation between the target object cluster and the association object cluster and the recursion reference relation corresponding to the association object cluster;
the node position information determining module is used for determining the position information of each node according to the node connection relation among the nodes;
and the fifth display module is used for generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes and the position information of the nodes.
In an exemplary embodiment, the position information includes position information in a vertical direction and position information in a horizontal direction; the node position information determining module includes:
the node height determining module is used for carrying out recursive analysis on each node according to the node connection relation among the nodes to determine the node height of each node;
the vertical direction position determining module is used for taking half of the node height corresponding to the root node in the nodes as a vertical direction offset, and determining the position information of each node in the vertical direction based on the difference value of the node height of each node and the vertical direction offset;
the horizontal direction position determining module is used for determining the position information of each node in the horizontal direction according to the recursion depth corresponding to each node and the type of the second association relation corresponding to each node.
In an exemplary embodiment, the fifth display module includes:
the thumbnail acquisition module is used for acquiring the thumbnail corresponding to each node; the thumbnail is a thumbnail of a root object resource package of an object cluster corresponding to the corresponding node;
The node display content generation module is used for generating node display content of each node according to the thumbnail corresponding to each node and root object information of the object cluster corresponding to each node;
and the association relation diagram display module is used for generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes, the position information of the nodes and the node display content.
In an exemplary embodiment, the apparatus further comprises:
the display updating module is used for responding to the triggering operation of the target node in the association relation graph and carrying out display updating on the association relation graph, the association object and the association object cluster according to the association cluster identification information and the association object identification information of the object cluster corresponding to the target node; and the target node is a node except a root node in the association relation graph.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
The embodiment of the invention provides electronic equipment, which comprises a processor and a memory, wherein at least one instruction or at least one section of program is stored in the memory, and the at least one instruction or the at least one section of program is loaded and executed by the processor to realize the information display method provided by the embodiment of the invention.
The memory may be used to store software programs and modules that the processor executes to perform various functional applications and presentation of information by executing the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide access to the memory by the processor.
The method embodiments provided by the embodiments of the present invention may be executed in a computer terminal, a server, or similar computing device. Taking the operation on a terminal as an example, fig. 14 is a block diagram of a hardware structure of a terminal running an information display method according to an embodiment of the present invention, specifically:
The terminal can include RF (Radio Frequency) circuitry 1410, memory 1420 including one or more computer-readable storage media, input unit 1430, display unit 1440, sensor 1450, audio circuitry 1460, wiFi (wireless fidelity ) module 1470, processor 1480 including one or more processing cores, and power supply 1490. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 14 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the RF circuit 1410 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 1480; in addition, data relating to uplink is transmitted to the base station. Typically, the RF circuitry 1410 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier ), a duplexer, and the like. In addition, the RF circuit 1410 may also communicate with networks and other terminals through wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service ), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access ), LTE (Long Term Evolution, long term evolution), email, SMS (Short Messaging Service, short message service), and the like.
The memory 1420 may be used to store software programs and modules, and the processor 1480 performs various functional applications and data processing by executing the software programs and modules stored in the memory 1420. The memory 1420 may mainly include a storage program area that may store an operating system, application programs required for functions, and the like, and a storage data area; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 1420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 1420 may also include a memory controller to provide access to the memory 1420 by the processor 1480 and the input unit 1430.
The input unit 1430 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 1430 may include a touch-sensitive surface 1431 as well as other input devices 1432. Touch-sensitive surface 1431, also referred to as a touch display screen or touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch-sensitive surface 1431 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection device according to a pre-set program. Alternatively, touch-sensitive surface 1431 may include both a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device and converts it into touch point coordinates, which are then sent to the processor 1480, and can receive commands from the processor 1480 and execute them. In addition, touch-sensitive surface 1431 may be implemented using a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 1431, the input unit 1430 may include other input devices 1432. In particular, the other input devices 1432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 1440 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, video and any combination thereof. The display unit 1440 may include a display panel 1441, and alternatively, the display panel 1441 may be configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 1431 may overlay the display panel 1441, and upon detection of a touch operation thereon or thereabout by the touch-sensitive surface 1431, the processor 1480 is passed to determine the type of touch event, and the processor 1480 then provides a corresponding visual output on the display panel 1441 based on the type of touch event. Wherein the touch-sensitive surface 1431 and the display panel 1441 may implement input and output functions in two separate components, but in some embodiments the touch-sensitive surface 1431 may also be integrated with the display panel 1441 to implement input and output functions.
The terminal can also include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 1441 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1441 and/or the backlight when the terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the device is stationary, and the device can be used for applications of recognizing the gesture of a terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may be configured for the terminal are not described in detail herein.
Audio circuitry 1460, speakers 1461, and microphone 1462 may provide an audio interface between the user and the terminal. The audio circuit 1460 may transmit the received electrical signal after the audio data conversion to the speaker 1461, and the electrical signal is converted into a sound signal by the speaker 1461 and output; on the other hand, the microphone 1462 converts the collected sound signals into electrical signals, which are received by the audio circuit 1460 and converted into audio data, which are processed by the audio data output processor 1480 and transmitted to, for example, another terminal via the RF circuit 1410, or which are output to the memory 1420 for further processing. Audio circuitry 1460 may also include an ear bud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to a short-distance wireless transmission technology, and the terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through a WiFi module 1470, so that wireless broadband Internet access is provided for the user. Although fig. 14 shows a WiFi module 1470, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the invention.
The processor 1480 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 1420, and invoking data stored in the memory 1420. Optionally, the processor 1480 may include one or more processing cores; preferably, the processor 1480 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1480.
The terminal also includes a power supply 1490 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1480 via a power management system so as to provide for managing charge, discharge, and power consumption by the power management system. The power supply 1490 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs described above include instructions for performing the information presentation methods provided by the method embodiments described above.
Embodiments of the present invention also provide a computer readable storage medium that may be disposed in an electronic device to store at least one instruction or at least one program for implementing an information presentation method, where the at least one instruction or the at least one program is loaded and executed by the processor to implement the information presentation method provided by the embodiments of the present invention.
Embodiments of the present invention also provide a computer program product comprising a computer program that is executed by a processor of an electronic device to implement the information presentation method provided by the embodiments of the present invention.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (12)

1. An information display method, comprising:
a first cluster information acquisition instruction is sent to a target terminal running a target application program; the target application program is an application program developed based on the illusion engine;
Acquiring first cluster information returned by the target terminal; the first cluster information comprises root object information of each object cluster corresponding to the target application program in the target terminal memory, and the root object information indicates the name and the type of the corresponding root object;
and displaying the root object information of each object cluster.
2. The information presentation method of claim 1, wherein the first cluster information further includes associated object identification information for each of the object clusters; the method further comprises the steps of:
responding to the triggering operation of the displayed target object cluster, and sending a second cluster information acquisition instruction to the target terminal according to the associated object identification information of the target object cluster; the target object cluster is any one of the object clusters;
acquiring second cluster information returned by the target terminal; the second cluster information comprises the name and the type of the associated object corresponding to the associated object identification information;
and displaying the name and the type of the associated object according to the first association relation between the target object cluster and the associated object.
3. The information presentation method according to claim 2, characterized in that the method further comprises:
Responding to the triggering operation of the displayed target associated object, and sending a reference information acquisition instruction aiming at the target associated object to the target terminal; the target associated object is any associated object;
acquiring target reference information returned by the target terminal; the target reference information comprises cluster attribution information of a reference object corresponding to the target associated object and names and types of the reference object;
and displaying the name and the type of the reference object according to the matching condition between the cluster attribution information of the reference object and the object cluster to which the target associated object belongs.
4. The information presentation method as claimed in claim 2 or 3, wherein the first cluster information further includes associated cluster identification information of each of the object clusters;
the response to the triggering operation on the displayed target object cluster, according to the associated object identification information of the target object cluster, sends a second cluster information acquisition instruction to the target terminal, including:
responding to the triggering operation of the displayed target object cluster, and sending a second cluster information acquisition instruction to the target terminal according to the associated cluster identification information of the target object cluster and the associated object identification information;
Correspondingly, the second cluster information further comprises root object information of associated object clusters, wherein the associated object clusters comprise first associated object clusters corresponding to the associated cluster identification information and second associated object clusters determined by recursion reference analysis on the first associated object clusters based on a preset analysis level;
the method further comprises the steps of: and displaying the root object information of the associated object cluster according to a second association relation between the target object cluster and the associated object cluster.
5. The information presentation method of claim 4, wherein the method further comprises:
creating nodes corresponding to the target object cluster and the associated object cluster respectively;
determining a node connection relation between the nodes according to the association relation between the target object cluster and the association object cluster and the recursion reference relation corresponding to the association object cluster;
determining the position information of each node according to the node connection relation among the nodes;
and generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes and the position information of the nodes.
6. The information presentation method according to claim 5, wherein the position information includes position information in a vertical direction and position information in a horizontal direction; the determining the position information of each node according to the node connection relation between the nodes comprises:
performing recursion analysis on each node according to the node connection relation among the nodes to determine the node height of each node;
taking half of the node height corresponding to the root node in the nodes as a vertical direction offset, and determining the position information of each node in the vertical direction based on the difference value of the node height of each node and the vertical direction offset;
and determining the position information of each node in the horizontal direction according to the recursion depth corresponding to each node and the type of the second association relation corresponding to each node.
7. The information presentation method according to claim 5, wherein the generating and presenting the association graph corresponding to the target object cluster according to the node connection relationship between the nodes and the position information of the nodes includes:
acquiring thumbnail corresponding to each node; the thumbnail is a thumbnail of a root object resource package of an object cluster corresponding to the corresponding node;
Generating node display content of each node according to the thumbnail corresponding to each node and root object information of the object cluster corresponding to each node;
and generating and displaying an association relation diagram corresponding to the target object cluster according to the node connection relation among the nodes, the position information of the nodes and the node display content.
8. The information presentation method of claim 5, further comprising:
responding to triggering operation of a target node in the association relation graph, and displaying and updating the association relation graph, the association object and the association object cluster according to association cluster identification information and association object identification information of an object cluster corresponding to the target node; and the target node is a node except a root node in the association relation graph.
9. An information display device, comprising:
the first instruction sending module is used for sending a first cluster information acquisition instruction to a target terminal running a target application program; the target application program is an application program developed based on the illusion engine;
the first cluster information acquisition module is used for acquiring first cluster information returned by the target terminal; the first cluster information comprises root object information of each object cluster corresponding to the target application program in the target terminal memory, and the root object information indicates the name and the type of the corresponding root object;
And the first display module is used for displaying the root object information of each object cluster.
10. An electronic device comprising a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, the at least one instruction or the at least one program being loaded and executed by the processor to implement the information presentation method of any one of claims 1 to 8.
11. A computer readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement the information presentation method of any of claims 1 to 8.
12. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the information presentation method of any one of claims 1 to 8.
CN202210165165.9A 2022-02-17 2022-02-17 Information display method and device, electronic equipment and storage medium Pending CN116662625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210165165.9A CN116662625A (en) 2022-02-17 2022-02-17 Information display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210165165.9A CN116662625A (en) 2022-02-17 2022-02-17 Information display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116662625A true CN116662625A (en) 2023-08-29

Family

ID=87715883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210165165.9A Pending CN116662625A (en) 2022-02-17 2022-02-17 Information display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116662625A (en)

Similar Documents

Publication Publication Date Title
CN107094294B (en) Network connection method and device
CN105867751B (en) Operation information processing method and device
CN106502703B (en) Function calling method and device
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN108039963B (en) Container configuration method and device and storage medium
CN105302452B (en) Operation method and device based on gesture interaction
CN106375179B (en) Method and device for displaying instant communication message
CN107368298B (en) Text control simulation touch method, terminal and computer readable storage medium
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN111078556B (en) Application testing method and device
CN108984066B (en) Application icon display method and mobile terminal
CN112749074B (en) Test case recommending method and device
CN108984374B (en) Method and system for testing database performance
CN106789488B (en) Intelligent household equipment management method and device
CN106302101B (en) Message reminding method, terminal and server
CN106682189B (en) File name display method and device
CN106209601B (en) State update message pushing method and device
CN111274463B (en) Information display method, device and storage medium based on IM contact person grouping setting
CN111027406B (en) Picture identification method and device, storage medium and electronic equipment
CN116662625A (en) Information display method and device, electronic equipment and storage medium
CN104834514B (en) Shortcut update method and device
CN109451295A (en) A kind of method and system obtaining virtual information
CN109325003B (en) Application program classification method and system based on terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination