CN110865799A - Control information display method and device and storage medium - Google Patents

Control information display method and device and storage medium Download PDF

Info

Publication number
CN110865799A
CN110865799A CN201911055101.8A CN201911055101A CN110865799A CN 110865799 A CN110865799 A CN 110865799A CN 201911055101 A CN201911055101 A CN 201911055101A CN 110865799 A CN110865799 A CN 110865799A
Authority
CN
China
Prior art keywords
information
control
data source
basic information
basic
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
CN201911055101.8A
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.)
Aiqianjin Beijing Information Technology Co Ltd
Original Assignee
Aiqianjin Beijing Information Technology 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 Aiqianjin Beijing Information Technology Co Ltd filed Critical Aiqianjin Beijing Information Technology Co Ltd
Priority to CN201911055101.8A priority Critical patent/CN110865799A/en
Publication of CN110865799A publication Critical patent/CN110865799A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a control information display method, a control information display device and a storage medium. Wherein, the method comprises the following steps: responding to the triggering operation of a user on a control on an operation interface, intercepting basic information and data source information related to the triggering operation by using a preset hook function, wherein the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network; determining control information related to the control according to the basic information and the data source information; and displaying the control information on the operation interface.

Description

Control information display method and device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying control information, and a storage medium.
Background
In the delivery process after the development of the APP is completed, each responsible department may troubleshoot the APP for various problems or confirm certain information. For example: will the UI person see if the color value is correct? Is the control aligned? Whether the text is correctly set. Will background personnel view from which field a certain content comes within the page? From which interface, etc. The tester will feed back which field value the confirmation copy takes, etc. However, the above operations all require the developer to know the relevant information, i.e. the developer feeds back the relevant information. This approach requires frequent feedback information from the developer, thus wasting a lot of labor and time costs.
Aiming at the operation of checking the APP in the prior art, information required to be checked by each checking personnel needs to be fed back by a developer and cannot be checked directly and clearly, so that the technical problems of a large amount of manpower and time cost are wasted, and an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the disclosure provides a control information display method, a control information display device and a storage medium, so as to at least solve the technical problems that in the prior art, the APP is checked, information required to be checked by each inspector needs to be fed back by a developer, and cannot be directly and clearly checked, so that a large amount of labor and time cost are wasted.
According to an aspect of the embodiments of the present disclosure, there is provided a control information display method, including: responding to the triggering operation of a user on a control on an operation interface, intercepting basic information and data source information related to the triggering operation by using a preset hook function, wherein the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network; determining control information related to the control according to the basic information and the data source information; and displaying the control information on the operation interface.
According to another aspect of the embodiments of the present disclosure, there is also provided a storage medium including a stored program, wherein the method of any one of the above is performed by a processor when the program is executed.
According to another aspect of the embodiments of the present disclosure, there is also provided a control information display apparatus including: the intercepting module is used for responding to the triggering operation of a user on the control on the operation interface and intercepting basic information and data source information related to the triggering operation by using a preset hook function, wherein the basic information is used for indicating the information related to the style of the control, and the data source information is used for recording the information which is generated by triggering the control and is transmitted through a network; the determining module is used for determining control information related to the control according to the basic information and the data source information; and the display module is used for displaying the control information on the operation interface.
According to another aspect of the embodiments of the present disclosure, there is also provided a control information display apparatus including: a processor; and a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: responding to the triggering operation of a user on a control on an operation interface, intercepting basic information and data source information related to the triggering operation by using a preset hook function, wherein the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network; determining control information related to the control according to the basic information and the data source information; and displaying the control information on the operation interface.
In the embodiment of the present disclosure, the operation of the inspector triggering the control may intercept the basic information of the control and the data source information (bottom layer request information) transmitted through the network through a preset hook function, then determine the control information of the control according to the basic information and the data source information, and finally display the control information. Therefore, the troubleshooting personnel do not need to acquire the related information of the control from the developer, but directly check the control at the operation interface, and the technical effect of saving the troubleshooting time and the labor cost is achieved. And then solved the operation of going on the investigation to APP that exists among the prior art, the information that each investigation personnel need inspect all needs the developer to feed back, can not directly clearly look over, consequently wasted a large amount of manpower, the technical problem of time cost.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a hardware block diagram of a computing device for implementing the method according to embodiment 1 of the present disclosure;
fig. 2 is a flowchart illustrating a control information display method according to a first aspect of embodiment 1 of the present disclosure;
FIG. 3 is a schematic diagram of a triggering operation according to embodiment 1 of the present disclosure;
FIG. 4 is a schematic diagram of parameter pairing according to embodiment 1 of the present disclosure;
fig. 5 is a schematic diagram of an overall flow of displaying control information according to embodiment 1 of the present disclosure;
fig. 6 is a schematic diagram of a control information display device according to embodiment 2 of the present disclosure; and
fig. 7 is a schematic diagram of a control information display device according to embodiment 3 of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. It is to be understood that the described embodiments are merely exemplary of some, and not all, of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation 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 apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the present embodiment, an embodiment of a control information display method is provided, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method embodiments provided by the present embodiment may be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Fig. 1 illustrates a hardware block diagram of a computing device for implementing a control information display method. As shown in fig. 1, the computing device may include one or more processors (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory for storing data, and a transmission device for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computing device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuitry may be a single, stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computing device. As referred to in the disclosed embodiments, the data processing circuit acts as a processor control (e.g., selection of a variable resistance termination path connected to the interface).
The memory may be configured to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the control information display method in the embodiments of the present disclosure, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implements the control information display method of the application program. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory located remotely from the processor, which may be connected to the computing device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by communication providers of the computing devices. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computing device.
It should be noted here that in some alternative embodiments, the computing device shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that FIG. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in a computing device as described above.
In the operating environment, according to the first aspect of the present embodiment, a control information display method is provided. Fig. 2 shows a flow diagram of the method, which, with reference to fig. 2, comprises:
s202: responding to the triggering operation of a user on a control on an operation interface, intercepting basic information and data source information related to the triggering operation by using a preset hook function, wherein the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network;
s204: determining control information related to the control according to the basic information and the data source information; and
s206: and displaying the control information on the operation interface.
As described in the background, during the delivery process after the development of the APP is completed, each responsible department may troubleshoot the APP for various problems or confirm certain information. For example: will the UI person see if the color value is correct? Is the control aligned? Whether the text is correctly set. Will background personnel view from which field a certain content comes within the page? From which interface, etc. The tester will feed back which field value the confirmation copy takes, etc. However, the above operations all require the developer to know the relevant information, i.e. the developer feeds back the relevant information. This approach requires frequent feedback information from the developer, thus wasting a lot of labor and time costs.
For technical problems existing in the background art, in the technical scheme of the embodiment, a hook function (hook event) is set for a control in advance, and in the process of triggering the control, an inspector intercepts basic information related to the control and request information generated in the triggering process and transmitted by a network through the preset hook function. And then determining control information related to the control according to the basic information and the network request information. And finally displaying the control information. Therefore, the troubleshooting personnel can directly check the control information related to the control in the troubleshooting process without communicating with the development personnel to obtain the information. Thereby saving a great deal of time and labor cost.
Specifically, in step S202, in response to a trigger operation of a control on an operation interface by a troubleshooting person (user), basic information and data source information related to the trigger operation are intercepted by using a preset hook function. For example, but not limited to, the control is a Button, text display control, etc. in an APP or other web application. In addition, the operation interface can be an operation interface of a virtual machine or an operation interface on terminal equipment, a view of the control is displayed on the operation interface, and the control can be triggered by a troubleshooting worker through clicking, gesture touch screen and the like. In the process of triggering the control, intercepting basic information and data source information through a preset hook function (hook function). Wherein the basic information is information related to the style of the control, such as: the control comprises a control font size, a control color, control category information, index information and the like, wherein the category information refers to the method inheritance relationship of the control, and the index information refers to the hierarchical index of the control; the data source information is information transmitted via a network and generated by a trigger control, and it is known that an underlying request is generated in the process of triggering the control, where the request is used for obtaining data (data source information) from a background to display in the control, for example: and the control title, the control content, the corresponding category and the index information. In addition, the data source information also includes network interface information and the like.
Further, in step S204, control information related to the control is determined according to the basic information (information related to the style of the control) and the data source information (underlying request information).
In one embodiment, the control information includes, for example, at least one of: the control comprises a control title, a control color value, a control font, a control border and network interface information.
Finally, in step S206, control information is displayed on the operation interface.
In a specific example, fig. 3 shows a schematic diagram of a trigger operation, referring to fig. 3, an abbotton button and a bbotton button are displayed in an operation interface, the abbotton button is clicked, information of the abbotton is intercepted through a hook function, and the diagram exemplarily shows intercepted information of the abbotton method. Specifically, in a hook process (hook function interception), logic of content needing to be intercepted is processed, Target information of a click control is extracted, current category, page and control information value obtaining information is VC-Target-Action through an event transfer relation, and when Abutton is clicked as shown in FIG. 3, an aButton object is obtained, and FatherView controller is obtained to obtain name information of a SonView obtaining method.
Therefore, in the operation of triggering the control by the inspectors, the basic information of the control and the data source information (bottom layer request information) transmitted by the network can be intercepted through the preset hook function, then the control information of the control is determined according to the basic information and the data source information, and finally the control information is displayed. Therefore, the troubleshooting personnel do not need to acquire the related information of the control from the developer, but directly check the control at the operation interface, and the technical effect of saving the troubleshooting time and the labor cost is achieved. And then solved the operation of going on the investigation to APP that exists among the prior art, the information that each investigation personnel need inspect all needs the developer to feed back, can not directly clearly look over, consequently wasted a large amount of manpower, the technical problem of time cost.
Optionally, the basic information includes: the operation that the first basic information needing parameter pairing and the second basic information not needing parameter pairing are carried out, and the control information related to the control is determined according to the basic information and the data source information comprises the following steps: determining target parameters having the same and/or related data structure as the first basic information from the data source information; pairing the target parameter with the first basic information; and determining control information according to the paired target parameters, the first basic information and the second basic information.
Specifically, the basic information includes first basic information that requires parameter configuration and second basic information that does not require parameter configuration, for example: the title (title) of the control or the content of the control and the like need to acquire parameters from the background, the information is first basic information, and the information such as the color, the size and the like of the control is second basic information. In the operation of determining the control information related to the control according to the basic information and the data source information, the target parameter having the same and/or related data structure as the first basic information is determined from the data source information. FIG. 4 shows a schematic diagram of parameter matching, and referring to FIG. 4, the title of the aButton and the title of the aButton are required to be parameter matched. Taking the title of the abbotton as an example, in this case, the target parameter having the same and/or related data structure as the first basic information is determined from the data source information, and referring to fig. 4, the title: the 'search' corresponds to the structure of the title of the aButton, and then further information comparison is carried out to realize final information positioning. I.e., "find" the target parameter for the title of the aButton.
Further, the first basic information is paired with the target parameter, that is: title ═ lookup. And finally, determining control information according to the paired target parameters, the first basic information and the second basic information. And taking the matched control title, control color value, control font, control border and network interface information as the control information of the aButton. Therefore, the request information (data source information) of the network can be paired with the basic information of the control, and finally the control information of the control is determined. This way the control information is made clearer.
Optionally, the operation of determining the target parameter having the same and/or related data structure as the first basic information from the data source information includes: determining the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information; and determining the target parameters according to the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information.
Specifically, in the operation of determining the target parameter having the same and/or related data structure as the first basic information from the data source information, the belonging category corresponding to the first basic information and the belonging category corresponding to the data source information are first determined. Referring to fig. 3 and 4, taking the title of the abbotton as an example, the categories of the first basic information (e.g., title of the abbotton) are: the fasterView controller _ someView _ aButton. The data source information belongs to the following categories: the fastModel _ someModel _ aTitle. And then, determining the target parameters according to the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information. Namely: the matching information is abbotton. title ═ farthermodel _ someModel _ altile. In addition, the category also includes a hierarchical index to which the control belongs, that is, the control belongs to the interface hierarchy of the APP. The information layers are more distinct, so that the first basic information and the data source information are conveniently matched, and the first basic information and the data source information can be fed back to the source of the parameters.
Optionally, the hooking function includes a first hooking function and a second hooking function, and the operation of intercepting the basic information and the data source information related to the trigger operation by using a preset hooking function includes: intercepting basic information by utilizing a first hook function; and intercepting the data source information by utilizing a second hook function.
Specifically, fig. 5 shows a schematic diagram of an overall flow of displaying control information, and referring to fig. 5, the method is divided into two branches, where basic information (control color, control size, and belonging category, etc.) is intercepted by a first hook function, and data source information (data interface, parameter category, etc.) is intercepted by a second hook function. Basic information and data source information of the control are intercepted through the two branches respectively, so that the intercepted information is clearer, and the phenomenon of data confusion is avoided.
Further, referring to fig. 1, according to a second aspect of the present embodiment, there is provided a storage medium. The storage medium comprises a stored program, wherein the method of any of the above is performed by a processor when the program is run.
Therefore, according to the embodiment, in the operation of triggering the control by the inspector, the basic information of the control and the data source information (bottom layer request information) transmitted through the network can be intercepted through the preset hook function, then the control information of the control is determined according to the basic information and the data source information, and finally the control information is displayed. Therefore, the troubleshooting personnel do not need to acquire the related information of the control from the developer, but directly check the control at the operation interface, and the technical effect of saving the troubleshooting time and the labor cost is achieved. And then solved the operation of going on the investigation to APP that exists among the prior art, the information that each investigation personnel need inspect all needs the developer to feed back, can not directly clearly look over, consequently wasted a large amount of manpower, the technical problem of time cost.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
Fig. 6 shows a control information display apparatus 600 according to the present embodiment, the apparatus 600 corresponding to the method according to the first aspect of embodiment 1. Referring to fig. 6, the apparatus 600 includes: the intercepting module 610 is configured to respond to a trigger operation of a user on a control on an operation interface, and intercept, by using a preset hook function, basic information and data source information related to the trigger operation, where the basic information is used to indicate information related to a style of the control, and the data source information is used to record information, generated by triggering the control, transmitted through a network; a determining module 620, configured to determine control information related to the control according to the basic information and the data source information; and a display module 630, configured to display control information on the operation interface.
Optionally, the basic information includes: first basic information requiring parameter pairing and second basic information not requiring parameter pairing, and the determining module 620 includes: the target parameter determining submodule is used for determining a target parameter which has the same and/or related data structure with the first basic information from the data source information; the matching submodule is used for matching the target parameter with the first basic information; and the control information determining submodule is used for determining the control information according to the paired target parameters, the first basic information and the second basic information.
Optionally, the target parameter determining sub-module includes: the first determining unit is used for determining the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information; and the second determining unit is used for determining the target parameters according to the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information.
Optionally, the hook function includes a first hook function and a second hook function, and the interception module 610 includes: the first interception submodule is used for intercepting the basic information by utilizing a first hook function; and the first interception submodule is used for intercepting the data source information by utilizing a second hook function.
Optionally, the control information comprises at least one of: the control comprises a control title, a control color value, a control font, a control border and network interface information.
Therefore, according to this embodiment, by using the control information display apparatus 600, the basic information of the control and the data source information (bottom layer request information) transmitted through the network can be intercepted by using the preset hook function, and then the control information of the control is determined according to the basic information and the data source information, and finally the control information is displayed. Therefore, the troubleshooting personnel do not need to acquire the related information of the control from the developer, but directly check the control at the operation interface, and the technical effect of saving the troubleshooting time and the labor cost is achieved. And then solved the operation of going on the investigation to APP that exists among the prior art, the information that each investigation personnel need inspect all needs the developer to feed back, can not directly clearly look over, consequently wasted a large amount of manpower, the technical problem of time cost.
Example 3
Fig. 7 shows a control information display apparatus 700 according to the present embodiment, the apparatus 700 corresponding to the method according to the first aspect of embodiment 1. Referring to fig. 7, the apparatus 700 includes: a processor 710; and a memory 720, coupled to the processor 710, for providing instructions to the processor 710 to process the following process steps: responding to the triggering operation of a user on a control on an operation interface, intercepting basic information and data source information related to the triggering operation by using a preset hook function, wherein the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network; determining control information related to the control according to the basic information and the data source information; and displaying the control information on the operation interface.
Optionally, the basic information includes: the operation that the first basic information needing parameter pairing and the second basic information not needing parameter pairing are carried out, and the control information related to the control is determined according to the basic information and the data source information comprises the following steps: determining target parameters having the same and/or related data structure as the first basic information from the data source information; pairing the target parameter with the first basic information; and determining control information according to the paired target parameters, the first basic information and the second basic information.
Optionally, the operation of determining the target parameter having the same and/or related data structure as the first basic information from the data source information includes: determining the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information; and determining the target parameters according to the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information.
Optionally, the hooking function includes a first hooking function and a second hooking function, and the operation of intercepting the basic information and the data source information related to the trigger operation by using a preset hooking function includes: intercepting basic information by utilizing a first hook function; and intercepting the data source information by utilizing a second hook function.
Optionally, the control information comprises at least one of: the control comprises a control title, a control color value, a control font, a control border and network interface information.
Therefore, according to this embodiment, the control information display device 700 may intercept the basic information of the control and the data source information (bottom layer request information) transmitted through the network by using a preset hook function, determine the control information of the control according to the basic information and the data source information, and finally display the control information. Therefore, the troubleshooting personnel do not need to acquire the related information of the control from the developer, but directly check the control at the operation interface, and the technical effect of saving the troubleshooting time and the labor cost is achieved. And then solved the operation of going on the investigation to APP that exists among the prior art, the information that each investigation personnel need inspect all needs the developer to feed back, can not directly clearly look over, consequently wasted a large amount of manpower, the technical problem of time cost.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A control information display method is characterized by comprising the following steps:
responding to a trigger operation of a user on a control in an operation interface, intercepting basic information and data source information related to the trigger operation by using a preset hook function, wherein the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network;
determining control information related to the control according to the basic information and the data source information; and
and displaying the control information on the operation interface.
2. The method of claim 1, wherein the basic information comprises: the operation that the first basic information needing parameter pairing and the second basic information not needing parameter pairing are carried out, and the control information related to the control is determined according to the basic information and the data source information comprises the following steps:
determining target parameters having the same and/or related data structure as the first basic information from the data source information;
pairing the target parameter with the first basic information; and
and determining the control information according to the paired target parameters, the first basic information and the second basic information.
3. The method of claim 2, wherein the operation of determining the target parameter having the same and/or related data structure as the first basic information from the data source information comprises:
determining the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information; and
and determining the target parameter according to the belonged category corresponding to the first basic information and the belonged category corresponding to the data source information.
4. The method according to claim 1, wherein the hooking function comprises a first hooking function and a second hooking function, and the operation of intercepting the basic information and the data source information related to the triggering operation by using a preset hooking function comprises:
intercepting the basic information by utilizing the first hook function; and
and intercepting the data source information by utilizing the second hook function.
5. The method according to any one of claims 1-4, wherein the control information comprises at least one of: the control comprises a control title, a control color value, a control font, a control border and network interface information.
6. A storage medium comprising a stored program, wherein the method of any one of claims 1 to 5 is performed by a processor when the program is run.
7. A control information display apparatus, comprising:
the system comprises an intercepting module, a processing module and a processing module, wherein the intercepting module is used for responding to the triggering operation of a user on a control on an operation interface and intercepting basic information and data source information related to the triggering operation by using a preset hook function, the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network;
the determining module is used for determining control information related to the control according to the basic information and the data source information; and
and the display module is used for displaying the control information on the operation interface.
8. The apparatus of claim 7, wherein the basic information comprises: first basic information requiring parameter pairing and second basic information not requiring parameter pairing, and the determination module includes:
a target parameter determining submodule, configured to determine a target parameter having the same and/or a related data structure as the first basic information from the data source information;
the matching submodule is used for matching the target parameter with the first basic information; and
and the control information determining submodule is used for determining the control information according to the paired target parameters, the first basic information and the second basic information.
9. The apparatus of claim 8, wherein the target parameter determination sub-module comprises:
a first determining unit, configured to determine a category to which the first basic information corresponds and a category to which the data source information corresponds; and
and a second determining unit, configured to determine the target parameter according to the category to which the first basic information corresponds and the category to which the data source information corresponds.
10. A control information display apparatus, comprising:
a processor; and
a memory coupled to the processor for providing instructions to the processor for processing the following processing steps:
responding to a trigger operation of a user on a control in an operation interface, intercepting basic information and data source information related to the trigger operation by using a preset hook function, wherein the basic information is used for indicating information related to the style of the control, and the data source information is used for recording information which is generated by triggering the control and is transmitted through a network;
determining control information related to the control according to the basic information and the data source information; and
and displaying the control information on the operation interface.
CN201911055101.8A 2019-10-31 2019-10-31 Control information display method and device and storage medium Pending CN110865799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911055101.8A CN110865799A (en) 2019-10-31 2019-10-31 Control information display method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911055101.8A CN110865799A (en) 2019-10-31 2019-10-31 Control information display method and device and storage medium

Publications (1)

Publication Number Publication Date
CN110865799A true CN110865799A (en) 2020-03-06

Family

ID=69653770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911055101.8A Pending CN110865799A (en) 2019-10-31 2019-10-31 Control information display method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110865799A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060090130A1 (en) * 2004-10-21 2006-04-27 Microsoft Corporation System and method for styling content in a graphical user interface control
CN102646038A (en) * 2012-02-28 2012-08-22 广州市动景计算机科技有限公司 Control content display method, control content display device and mobile terminal
CN105550585A (en) * 2016-03-02 2016-05-04 腾讯科技(深圳)有限公司 Application security testing method, device and system
CN107562465A (en) * 2017-09-14 2018-01-09 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of control exposure
CN108008955A (en) * 2017-12-15 2018-05-08 北京小米移动软件有限公司 Show the method, apparatus of self-defined control information
CN108595329A (en) * 2018-04-23 2018-09-28 腾讯科技(深圳)有限公司 A kind of application testing method, device and computer storage media

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060090130A1 (en) * 2004-10-21 2006-04-27 Microsoft Corporation System and method for styling content in a graphical user interface control
CN102646038A (en) * 2012-02-28 2012-08-22 广州市动景计算机科技有限公司 Control content display method, control content display device and mobile terminal
CN105550585A (en) * 2016-03-02 2016-05-04 腾讯科技(深圳)有限公司 Application security testing method, device and system
CN107562465A (en) * 2017-09-14 2018-01-09 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of control exposure
CN108008955A (en) * 2017-12-15 2018-05-08 北京小米移动软件有限公司 Show the method, apparatus of self-defined control information
CN108595329A (en) * 2018-04-23 2018-09-28 腾讯科技(深圳)有限公司 A kind of application testing method, device and computer storage media

Similar Documents

Publication Publication Date Title
US20210240721A1 (en) Application Recommending Method and System, and Server
CN114398672A (en) Authority-based flow creation method and device and storage medium
CN110704045A (en) Method and device for constructing decision flow and storage medium
WO2018161642A1 (en) Method and apparatus for index positioning, and computer storage medium
CN110941634A (en) Data processing method and device, storage medium and electronic device
CN110879701B (en) Workflow visual configuration method, server, system and medium
CN112328197A (en) Multi-screen display method and device and storage medium
CN111340911A (en) Method and device for determining connecting line in k-line graph and storage medium
CN110618912A (en) Method and device for monitoring equipment and storage medium
CN110865799A (en) Control information display method and device and storage medium
CN110309120B (en) Data processing method and data processing device
CN111026995A (en) Method and device for information association between applications and storage medium
CN112947954A (en) Interface updating method and device and storage medium
CN115857863A (en) Machine room configuration split-screen rendering method and device based on monitoring software and terminal
CN107908629B (en) Information query method, terminal and equipment
CN113094771B (en) Method, device and storage medium for matching application program to design object
CN109600738A (en) Updating method of user information, device, equipment and storage medium
CN113094773B (en) Method, apparatus and storage medium for recommending application program for design object
CN110888573A (en) Method and device for identifying control and storage medium
CN113723119A (en) Page translation method and device, storage medium and electronic equipment
CN112328138A (en) Data display method, device and storage medium
CN110609781A (en) Interface test method, device and storage medium
CN108874553B (en) Message pushing method, device and system, storage medium and processor
CN110597574A (en) Account matching method and device and storage medium
CN112306843A (en) Test method, test device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200306

RJ01 Rejection of invention patent application after publication