CN112632158B - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN112632158B
CN112632158B CN201910906184.0A CN201910906184A CN112632158B CN 112632158 B CN112632158 B CN 112632158B CN 201910906184 A CN201910906184 A CN 201910906184A CN 112632158 B CN112632158 B CN 112632158B
Authority
CN
China
Prior art keywords
interface
information
category
structured data
category dimension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910906184.0A
Other languages
Chinese (zh)
Other versions
CN112632158A (en
Inventor
郑重
卢晓勇
刘滨涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910906184.0A priority Critical patent/CN112632158B/en
Publication of CN112632158A publication Critical patent/CN112632158A/en
Application granted granted Critical
Publication of CN112632158B publication Critical patent/CN112632158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a data processing method, data processing equipment and a storage medium. In some exemplary embodiments of the present application, the class dimension information to which the interface belongs is annotated in the interface code file, so that the class dimension information to which the interface belongs can be obtained based on the annotation information in the interface code file, the metadata of the interface is classified and managed according to the class dimension information to which the interface belongs to obtain the structured data of the interface, and the interface can be visually managed according to the class based on the structured data, thereby being beneficial to improving the management efficiency of the interface and enabling the interface management to be more visual and convenient.

Description

Data processing method, device and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method, apparatus, and storage medium.
Background
An interface refers to a reference type that defines an agreement. Other types implement interfaces to ensure that they support certain operations. The interface specifies the members that must be provided by the class or other interfaces that implement it. Similar to classes, interfaces may contain methods, attributes, indexers, and events as members.
At present, the efficiency of interface management is poor, and the labor cost is high.
Disclosure of Invention
Aspects of the application provide a data processing method, device and storage medium, which can carry out multi-dimensional visual display on interfaces, improve the management efficiency of the interfaces and reduce the labor cost.
The embodiment of the application provides a data processing method, which comprises the following steps:
extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface;
extracting category dimension information of at least one interface from the annotation information of the at least one interface;
according to the category dimension information of the at least one interface, classifying and managing the metadata of the at least one interface to obtain the structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
The embodiment of the application also provides a data processing method, which is suitable for the display terminal and comprises the following steps:
responding to interface display operation, and displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension;
And responding to the selection operation for the at least one category dimension, and displaying attribute information of a target interface belonging to the selected category dimension in the at least one interface.
The embodiment of the application also provides a data processing device, which comprises: a memory and a processor;
the memory is used for storing one or more computer instructions;
the processor is configured to execute the one or more computer instructions to:
extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface;
extracting category dimension information of at least one interface from the annotation information of the at least one interface;
according to the category dimension information of the at least one interface, classifying and managing the metadata of the at least one interface to obtain the structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program that, when executed by one or more processors, causes the one or more processors to perform acts comprising:
extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface;
extracting category dimension information of at least one interface from the annotation information of the at least one interface;
according to the category dimension information of the at least one interface, classifying and managing the metadata of the at least one interface to obtain the structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
The embodiment of the application also provides a display terminal, which comprises: a memory and a processor;
the memory is used for storing one or more computer instructions;
the processor is configured to execute the one or more computer instructions to:
responding to interface display operation, and displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension;
And responding to the selection operation for the at least one category dimension, and displaying attribute information of a target interface belonging to the selected category dimension in the at least one interface.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program that, when executed by one or more processors, causes the one or more processors to perform acts comprising:
responding to interface display operation, and displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension;
And responding to the selection operation for the at least one category dimension, and displaying attribute information of a target interface belonging to the selected category dimension in the at least one interface.
In some exemplary embodiments of the present application, the class dimension information to which the interface belongs is annotated in the interface code file, so that the class dimension information to which the interface belongs can be obtained based on the annotation information in the interface code file, the metadata of the interface is classified and managed according to the class dimension information to which the interface belongs to obtain the structured data of the interface, and the interface can be visually managed according to the class based on the structured data, thereby being beneficial to improving the management efficiency of the interface and enabling the interface management to be more visual and convenient.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1a is a schematic diagram of an interface visualization system 10 according to an embodiment of the present application;
FIG. 1b is a schematic diagram of an interface management interface according to an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of an interface management interface in an electronic marketplace according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of an access list page according to an exemplary embodiment of the present application;
FIG. 4a is a flow chart of a data processing method depicted from the perspective of a data processing device according to an exemplary embodiment of the present application;
FIG. 4b is a flowchart illustrating a data processing method from the perspective of the display terminal 102 according to an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a data processing apparatus according to an exemplary embodiment of the present application;
Fig. 6 is a schematic structural diagram of a display terminal according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
At present, the visualization scheme of the interface only displays the technical attributes of the interface such as the interface name, input and output parameters and the like. This approach can be costly in terms of interface management and manual searching.
Aiming at the technical problems of poor management efficiency and high labor cost of the interface, in some exemplary embodiments of the application, the class dimension information of the interface is annotated in the interface code file, so that the class dimension information of the interface is obtained based on the annotation information in the interface code file, the metadata of the interface is classified and managed according to the class dimension information of the interface to obtain the structured data of the interface, and the interface can be visually managed according to the class based on the structured data, thereby being beneficial to improving the management efficiency of the interface and leading the interface management to be more visual and convenient.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
Fig. 1a is a schematic structural diagram of an interface visualization system 10 according to an embodiment of the present application. As shown in fig. 1, the interface visualization system 10 includes: a data processing device 101 and a display terminal 102. The data processing device 101 and the display terminal 102 establish communication connection, the data processing device 101 extracts annotation information of an interface from an interface code file annotated by the interface in advance, generates structured data of the interface based on the annotation information of the interface, and the display terminal 102 acquires the structured data of the interface from the data processing device 101 to generate an interface management interface and displays the interface management interface for visual management of the interface.
In the above and following embodiments, first, a software developer annotates an interface based on the specifications of the SDK, writing a completed interface code file.
In the present embodiment, the data processing apparatus 101 establishes a communication connection with the display terminal 102 by wireless or wired. Alternatively, the data processing device 101 may establish a communication connection with the display terminal 102 by using a WIFI, bluetooth, infrared, or other communication method, or the data processing device 101 may also establish a communication connection with the display terminal 102 through a mobile network. The network system of the mobile network may be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4g+ (lte+), wiMax, etc.
In this embodiment, the data processing apparatus 101 may provide data support, computing services, and some management services for the display terminal 102. The data processing device 101 stores and manages structured data of at least one interface, and in addition, the data processing device 101 stores and manages communication data with the display terminal 102, and in this embodiment, the data processing device 101 is a server providing a data processing service, and the implementation form of the server is not limited, and for example, the server may be a conventional server, a cloud host, a virtual center, or the like. The server device mainly comprises a processor, a hard disk, a memory, a system bus and the like, and a general computer architecture type. The server may include one website server or may include a plurality of website servers. The display terminal 102 can access communication data of the data processing apparatus 101.
In this embodiment, the display terminal 102 is a terminal device used by a person managing the interface, and the display terminal 102 may interact with a user, and may have various implementation forms, such as a smart phone, a personal computer, a wearable device, a tablet computer, etc., with functions of computing, surfing the internet, communication, etc., which are required by the user.
In this embodiment, the display terminal 102 includes an electronic display screen, and the user may interact with the display terminal 102 through the electronic display screen; the display terminal 102 may present an interface management interface on its electronic display screen for visual management of the interface on the interface management interface by a user.
In this embodiment, the data processing device obtains an interface source file of a website or APP, annotates a class dimension to which at least one interface in the interface source file belongs, to obtain an interface code file; based on the annotation information in the interface code file, category dimension information of the interface is obtained, metadata of the interface is classified and managed according to the category dimension information of the interface to obtain structural data of the website or APP interface, and the website or APP interface can be visually managed according to categories based on the structural data, so that the management efficiency of the interface is improved, and the interface management is more visual and convenient. The types of websites and APPs are not limited, and the types of websites include, but are not limited to, the following: large portal sites, industry sites, transaction class sites, classification information sites, forums, and government sites; APP types include, but are not limited to, the following: hybrid application, web version APP and hand-tour APP.
In some application scenarios, the data processing device 101 provides a server for an e-commerce web site with structured data of at least one interface implementing interface visualization management. In this application scenario, the interfaces of the e-commerce website may be divided into, but are not limited to, the following several category dimensions: business capability, role, merchant activity, and custom point groupings. The business capability category dimension comprises interfaces of brand management, shops, stores, shopping guides, transactions and the like; the role category dimension comprises interfaces of the types of buyers, sellers and the like; the merchant activity category dimension may include interfaces of the type where the buyer modifies the order, the seller views the order, and the buyer pays; the custom point groupings may include checkpoints, shutdown, etc. types of interfaces. Further, annotating category dimension information of each interface in an interface code of a source file of the e-commerce website in an annotation mode, so that an interface code file of the e-commerce website is obtained. For the data processing device 101, annotation information of at least one interface supported by the e-commerce website can be extracted from an interface code file of the e-commerce website, the category dimension information is extracted from the annotation information of the at least one interface, metadata of the at least one interface is classified and managed according to the category dimension information, and structured data of the at least one interface is obtained, so that the interface related to the e-commerce website can be visually displayed based on the structured data.
In some application scenarios, the data processing device 101 provides a server for the hand-tour APP with structured data of at least one interface implementing interface visualization management. The annotation information of the interface extracted from the interface code file by the data processing apparatus 101 includes, but is not limited to, the following category dimension information: players, game characters, game scenes, and marketer activities. The player category dimension includes interfaces of primary players, senior players, and the like, the game character category dimension may include interfaces of types such as characters and magic beasts, the game scene category dimension includes interfaces of types such as forest scenes, desert scenes, and indoor scenes, and the like, and the merchant activity category dimension may include interfaces of types such as buyer modification orders, seller view orders, and buyer payments. Further, annotating category dimension information of each interface in an interface code of a source file of the hand-tour APP in an annotation mode, so that an interface code file of the hand-tour APP is obtained. For the data processing device 101, annotation information of at least one interface supported by the hand-tour APP may be extracted from an interface code file of the hand-tour APP, the category dimension information is extracted from the annotation information of the at least one interface, and metadata of the at least one interface is classified and managed according to the category dimension information, so as to obtain structured data of the at least one interface, so that visual display can be performed on the interface related to the hand-tour APP based on the structured data.
Regardless of the application scenario, in the interface visualization system 10 of the present embodiment, the data processing device 101 is mutually matched with the display terminal 102, and annotates category dimension information that the interface belongs to in the interface code file, so that category dimension information that the interface belongs to can be obtained based on the annotation information in the interface code file, and metadata of the interface is classified and managed according to the category dimension information that the interface belongs to obtain structured data of the interface, so as to provide a data base for the display terminal 102; the display terminal 102 responds to interface display operation according to interface visual management requirements, and displays an interface management interface according to structured data of at least one interface provided by the data processing equipment 101, wherein the interface management interface comprises at least one category dimension; the display terminal 102 responds to the selection operation aiming at least one category dimension, and displays the attribute information of the target interface belonging to the selected category dimension in at least one interface, so that interface management personnel can perform visual management on the interface by interacting with the interface management interface, thereby being beneficial to improving the management efficiency of the interface and enabling the interface management to be more visual and convenient.
In this embodiment, the data processing apparatus 101 annotates the class dimension of the interface with the target source file in advance to obtain the interface code file, including but not limited to the following two ways:
in one mode, the data processing apparatus 101 annotates a class dimension to which at least one interface in the target source file belongs, and directly uses the target source file as an interface code file.
In the second mode, the data processing device 101 annotates a category dimension to which at least one interface in the target source file belongs, so as to obtain an annotated source file; compiling the annotated source file to generate a binary file, and taking the binary file as an interface code file.
In the two modes, one of the target source file or the binary file which is subjected to interface annotation is taken as an interface code file. The class dimension annotation is carried out on the codes corresponding to the interfaces in the target source file, so that the class dimension of the interfaces can be modified along with the change of the codes, and the purpose that the codes are documents is achieved. Note that, the annotation of the interface has an expansion capability, and can be annotated in category dimension in addition to default properties such as name and code.
In this embodiment, the data processing apparatus 101 can extract annotation information of at least one interface from the interface code file after annotating the target source file and acquiring the interface code file. One way this can be achieved is that the data processing device 101 scans the interface code files, during the scanning process, the compressed files in the interface code files need to be decompressed to obtain all files in the subdirectory of the compressed files, and then the compressed files, for example, files in zip or jar formats, extract category dimension information to which at least one interface belongs from all files.
In this embodiment, after extracting the annotation information of at least one interface, the data processing apparatus 101 needs to perform classification management on the raw data of at least one interface to obtain the structured data of at least one interface. For example, category dimension information to which an interface named "request paymate when closed" belongs includes: "base trade", "buyer" and "buyer close order" under trade category.
In the above embodiment, after the data processing device 101 obtains the structured data of at least one interface, the structured data of at least one interface is stored, so that the display terminal performs visual management on at least one interface based on the structured data of at least one interface. Wherein the structured data of the at least one interface may be stored in a relational database; and may also store the structured data of the at least one interface to a search engine for the search engine to search for the at least one interface in response to the interface search request. In the embodiment, the structured data of the interface is stored in the relational data and the search engine, so that the interface management interface is convenient to inquire and search, visual management of the interface is convenient, and management efficiency is improved.
In this embodiment, after the data processing apparatus 101 generates the structured data of at least one interface, the display terminal 102 obtains the structured data of at least one interface from the data processing apparatus 101 to generate an interface management interface, and displays the interface management interface on the electronic display screen of the display terminal 102. The user interacts with the interface management interface on the electronic display screen to perform visual management of the interface.
In this embodiment, the data processing apparatus 101 responds to the interface presenting operation, and presents an interface management interface according to the structured data of at least one interface, where the interface management interface includes at least one category dimension. One implementation is to send a data request to a server to request structured data of at least one interface in response to an interface presentation operation; receiving structured data of at least one interface returned by a server according to the data request; and displaying the interface management interface according to the structured data of at least one interface. Among them, interface presentation operations include, but are not limited to, the following: single click, double click and mouse hover.
Optionally, in the above embodiment, the interface management interface is presented according to structured data of at least one interface. One implementation way is to parse at least one category dimension to which at least one interface belongs from the structured data of at least one interface; and generating and displaying an interface management interface according to at least one category dimension. The specific display form of the interface management interface is not limited, and the user can adjust according to the requirement.
Fig. 1b is a schematic diagram of an interface management interface according to an exemplary embodiment of the present application. As shown in fig. 1b, the interface management interface includes four category dimension areas and an interface presentation area. The four category dimension areas include a first category dimension display area, a second category dimension display area, a third category dimension display area, and a fourth category dimension display area. The interface display area and the fourth category dimension area are positioned in the lower right half area of the interface management interface side by side. Fig. 1b is merely an exemplary illustration of a layout presentation of an interface management interface, and the present application is not limited to the presentation form of the interface management interface.
In this embodiment, the user may filter the interface through the category dimension. One way of implementing this is to respond to the selection operation for at least one category dimension, and present the attribute information of the target interface belonging to the selected category dimension in at least one interface. The user filters the interface through the selection operation of the category dimension, and the interface searching is convenient and quick.
In this embodiment, the user manages the interface based on the interface management interface, including but not limited to the following:
In the first mode, a user can check and add and delete the use description and the use examples of the interface, check the use condition of the interface, adjust the sort dimension of the interface and the like;
in a second mode, the user can search the interface globally;
In a third way, the user can filter the interface by dimension category.
An optional embodiment of the first mode is that after the attribute information of the target interface belonging to the selected category dimension in at least one interface is displayed, responding to a triggering operation on the attribute information of the target interface, displaying a detail page of the target interface, wherein the detail page comprises the detail information and editing control of the target interface; and responding to the triggering operation of the editing control on the interface detail page, and displaying the editing page to modify the interface detail information. The details page of the target interface may show the use instruction and the use example of the interface, and the use case of the interface. The modification of the interface detail information comprises adding and deleting the use description and the use examples of the interfaces and adjusting the sort of the class dimension of the interfaces.
An optional embodiment of the second mode further includes a first search input item on the interface management interface, and in response to an operation of inputting an interface keyword in the first search input item, the interface corresponding to the interface keyword is obtained from at least one interface, and attribute information of the interface corresponding to the interface keyword is displayed. By setting the first search input item, a user can globally search the interface, and the efficiency and the accuracy of interface searching are improved.
An optional embodiment of the third aspect further includes a second search input item on the interface management interface, and in response to an operation of inputting a category keyword in the second search input item, the category dimension corresponding to the category keyword is obtained from the category dimensions of at least one interface, and the interface attribute information under the category dimension corresponding to the category keyword is displayed. The second search input item is arranged to filter according to the dimension type, so that the efficiency of searching the interface and the management efficiency of the interface are improved. In order to improve the search effect and the user experience, responding to the operation of inputting the category keywords in the second search input item, displaying the category dimensions associated with the interface keywords in a first mode, wherein the first mode is a display mode for improving the attention of the user to the category dimensions associated with the interface keywords. In a preferred embodiment, in response to an operation of inputting a category keyword in the second search input item, the category dimension associated with the interface keyword is presented in a first manner, and the remaining category dimensions are presented in a second manner, wherein the remaining category dimensions are category dimensions of at least one category dimension other than the category dimension associated with the interface keyword, and the first manner and the second manner are two opposite presentation manners. For example, the first way is a highlighting display (floating, highlighting) and a front-located display, and the second way is a weakening display (sinking, hiding, grey) and a rear-located display, respectively.
Fig. 2 is a schematic diagram of an interface management interface in an electronic market according to an exemplary embodiment of the present application. As shown in FIG. 2, the interface is visually managed from four category dimensions, business capability, role, merchant activity, and custom points grouping. The business capability category dimension is in the left area of the interface management interface, the role and merchant activity category dimension is in the upper right area of the interface, and the interface information is in the lower right area of the interface. Wherein, under the dimension of business capability category, the general categories of category management, shops and stores, shopping guides, contents, transactions and the like are divided into a plurality of subdirectories, for example, under the transaction, the subdirectories of basic transaction, staged transaction, pre-sale transaction, electronic certificate and the like are included; role category dimensions include buyers and sellers; merchant activity category dimensions include buyer modification orders, buyer viewing orders, buyer payments, seller modification orders, seller shipping and seller viewing orders, and the like.
In the embodiment shown in the figure, the user presents interface information in three category dimensions of business capability, role and merchant activity through selection operations on "base transaction", "business customization points" and "buyer closing order". The interface information comprises an interface name, an interface method and an access parameter.
In the above embodiment, in response to a triggering operation on an interface name of the target interface, a detail page of the target interface is displayed, the detail page includes detail information and an editing control of the target interface, and in response to a triggering operation on the editing control on the interface detail page, the editing page is displayed to modify the interface detail information. The user can check and add and delete the use description and the use instance of the interface, check the use condition of the interface, adjust the sort dimension of the interface and the like.
In the above embodiment, the two-dimensional code corresponding to each interface may be added in the vicinity of each interface name, so that the user may scan the two-dimensional code of the target interface with the terminal device, and display the detail page of the target interface on the terminal device. The corresponding voice control of each interface can be added in the vicinity of the name of the interface, and the content in the detail page of the interface is played in a voice mode in response to the triggering operation of the voice control of the target interface by the user.
In the above embodiment, the interface management interface is provided with the second search input item at the top of the left area, and in response to the operation of inputting the category keyword in the second search input item, the category dimension corresponding to the category keyword is obtained from the category dimension of at least one interface, and the interface attribute information belonging to the category dimension corresponding to the category keyword is displayed. For example, a base transaction may be entered in the second search input, and the lower right region of the figure may show interface attribute information in the base transaction dimension. The second search input item is arranged to filter according to the dimension type, so that the efficiency of searching the interface and the management efficiency of the interface are improved. Referring to fig. 2, when the user inputs "transaction" in the second search input item, contents of categories such as category management, store and store, shopping guide, contents, and the like are hidden, only contents under the category of transaction are displayed, and only interface names associated with the category of "transaction" are displayed in the right interface display area.
In the above embodiment, the top of the interface information area on the right side of the interface management interface is provided with the first search input item, and in response to the operation of inputting the interface keyword in the first search input item, the interface corresponding to the interface keyword is obtained from at least one interface, and the attribute information of the interface corresponding to the interface keyword is displayed. For example, the interface keyword "form" is input in the first search input item, and then interfaces such as "request paymate when form" is displayed in the interface display area "," form is request paymate service parameter "and" skip paymate check when form "are displayed.
FIG. 3 is a schematic diagram of an access list page according to an exemplary embodiment of the present application; as shown in fig. 3, in response to a triggering operation of a user to a view control of the target interface, the access parameter list page shown in fig. 3 is displayed for the user to view the access parameters of the target interface.
In the above-mentioned interface visualization system of the present application, in some exemplary embodiments of the present application, the class dimension information to which the interface belongs is annotated in the interface code file, so that the class dimension information to which the interface belongs can be obtained based on the annotation information in the interface code file, and the metadata of the interface is classified and managed according to the class dimension information to which the interface belongs to obtain the structured data of the interface, and the visualized management can be performed on the interface according to the class based on the structured data, which is favorable for improving the management efficiency of the interface, and makes the interface management more intuitive and convenient.
In addition to the interface visualization system 10 provided above, some embodiments of the present application further provide a data processing method, where the data processing method provided by the present application may be applied to the interface visualization system 10, but is not limited to the interface visualization system 10 provided by the foregoing embodiments.
Fig. 4a is a flow chart of a data processing method according to an exemplary embodiment of the present application, which is described from the point of view of the data processing device 101. As shown in fig. 4a, the method comprises:
S411: extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface;
S412: extracting category dimension information to which at least one interface belongs from annotation information of the at least one interface;
S413: classifying and managing metadata of at least one interface according to category dimension information of the at least one interface to obtain structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
In the present embodiment, the execution body is a server that provides a data processing service, and the implementation form of the server is not limited, and for example, the server may be a conventional server, a cloud host, a virtual center, or the like. The server device mainly comprises a processor, a hard disk, a memory, a system bus and the like, and a general computer architecture type. The server may include one website server or may include a plurality of website servers.
In this embodiment, the class dimension of the interface is annotated to the target source file in advance to obtain the interface code file, which includes but is not limited to the following two ways:
in one mode, annotating a class dimension to which at least one interface in the target source file belongs, and taking the target source file directly as an interface code file.
Secondly, annotating the class dimension to which at least one interface in the target source file belongs to, and obtaining an annotated source file; compiling the annotated source file to generate a binary file, and taking the binary file as an interface code file.
In the two modes, one of the target source file or the binary file which is subjected to interface annotation is taken as an interface code file. The class dimension annotation is carried out on the codes corresponding to the interfaces in the target source file, so that the class dimension of the interfaces can be modified along with the change of the codes, and the purpose that the codes are documents is achieved. Note that, the annotation of the interface has an expansion capability, and can be annotated in category dimension in addition to default properties such as name and code.
In this embodiment, after annotating the target source file to obtain the interface code file, annotation information of at least one interface may be extracted from the interface code file. One implementation manner is to scan the interface code file, in the scanning process, the compressed file in the interface code file needs to be decompressed to obtain all files in the subdirectory of the compressed file, and then the compressed file, such as a zip or jar file, is used to extract category dimension information of at least one interface from all files.
In this embodiment, after extracting annotation information of at least one interface, classification management needs to be performed on raw data of at least one interface to obtain structured data of at least one interface. For example, category dimension information to which an interface named "request paymate when closed" belongs includes: "base trade", "buyer" and "buyer close order" under trade category.
In the above embodiment, after the structured data of the at least one interface is obtained, the structured data of the at least one interface is stored, so that the display terminal can perform visual management on the at least one interface based on the structured data of the at least one interface. Wherein the structured data of the at least one interface may be stored in a relational database; and may also store the structured data of the at least one interface to a search engine for the search engine to search for the at least one interface in response to the interface search request. In the embodiment, the structured data of the interface is stored in the relational data and the search engine, so that the interface management interface is convenient to inquire and search, visual management of the interface is convenient, and management efficiency is improved.
Fig. 4b is a flowchart illustrating a data processing method from the perspective of the display terminal 102 according to an exemplary embodiment of the present application. As shown in fig. 4b, the method comprises:
s421: responding to interface display operation, displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension;
s422: in response to a selection operation for at least one category dimension, attribute information of a target interface belonging to the selected category dimension in the at least one interface is presented.
In this embodiment, the execution body is a computer device located at the user side and capable of interacting with the user and having functions of computing, surfing the internet, communication and the like required by the user, and various implementation forms thereof may be implemented, for example, a smart phone, a personal computer, a wearable device, a tablet computer and the like.
In this embodiment, after the structured data of at least one interface is generated, the interface management interface is generated from the obtained structured data of at least one interface, and the interface management interface is displayed on the electronic display screen. The user interacts with the interface management interface on the electronic display screen to perform visual management of the interface.
In this embodiment, in response to an interface display operation, an interface management interface is displayed according to structured data of at least one interface, where the interface management interface includes at least one category dimension. One implementation is to send a data request to a server to request structured data of at least one interface in response to an interface presentation operation; receiving structured data of at least one interface returned by a server according to the data request; and displaying the interface management interface according to the structured data of at least one interface. Among them, interface presentation operations include, but are not limited to, the following: single click, double click and mouse hover.
Optionally, in the above embodiment, the interface management interface is presented according to structured data of at least one interface. One implementation way is to parse at least one category dimension to which at least one interface belongs from the structured data of at least one interface; and generating and displaying an interface management interface according to at least one category dimension. The specific display form of the interface management interface is not limited, and the user can adjust according to the requirement.
Fig. 1b is a schematic diagram of an interface management interface according to an exemplary embodiment of the present application. As shown in fig. 1b, the interface management interface includes four category dimension areas and an interface presentation area. The four category dimension areas include a first category dimension display area, a second category dimension display area, a third category dimension display area, and a fourth category dimension display area. The interface display area and the fourth category dimension area are positioned in the lower right half area of the interface management interface side by side. Fig. 1b is merely an exemplary illustration of a layout presentation of an interface management interface, and the present application is not limited to the presentation form of the interface management interface.
In this embodiment, the user may filter the interface through the category dimension. One way of implementing this is to respond to the selection operation for at least one category dimension, and present the attribute information of the target interface belonging to the selected category dimension in at least one interface. The user filters the interface through the selection operation of the category dimension, and the interface searching is convenient and quick.
In this embodiment, the user manages the interface based on the interface management interface, including but not limited to the following:
In the first mode, a user can check and add and delete the use description and the use examples of the interface, check the use condition of the interface, adjust the sort dimension of the interface and the like;
in a second mode, the user can search the interface globally;
In a third way, the user can filter the interface by dimension category.
An optional embodiment of the first mode is that after the attribute information of the target interface belonging to the selected category dimension in at least one interface is displayed, responding to a triggering operation on the attribute information of the target interface, displaying a detail page of the target interface, wherein the detail page comprises the detail information and editing control of the target interface; and responding to the triggering operation of the editing control on the interface detail page, and displaying the editing page to modify the interface detail information. The details page of the target interface may show the use instruction and the use example of the interface, and the use case of the interface. The modification of the interface detail information comprises adding and deleting the use description and the use examples of the interfaces and adjusting the sort of the class dimension of the interfaces.
An optional embodiment of the second mode further includes a first search input item on the interface management interface, and in response to an operation of inputting an interface keyword in the first search input item, the interface corresponding to the interface keyword is obtained from at least one interface, and attribute information of the interface corresponding to the interface keyword is displayed. By setting the first search input item, a user can globally search the interface, and the efficiency and the accuracy of interface searching are improved.
An optional embodiment of the third aspect further includes a second search input item on the interface management interface, and in response to an operation of inputting a category keyword in the second search input item, the category dimension corresponding to the category keyword is obtained from the category dimensions of at least one interface, and the interface attribute information under the category dimension corresponding to the category keyword is displayed. The second search input item is arranged to filter according to the dimension type, so that the efficiency of searching the interface and the management efficiency of the interface are improved.
Fig. 2 is a schematic diagram of an interface management interface in an electronic market according to an exemplary embodiment of the present application. As shown in FIG. 2, the interface is visually managed from four category dimensions, business capability, role, merchant activity, and custom points grouping. The business capability category dimension is in the left area of the interface management interface, the role and merchant activity category dimension is in the upper right area of the interface, and the interface information is in the lower right area of the interface. Wherein, under the dimension of business capability category, the general categories of category management, shops and stores, shopping guides, contents, transactions and the like are divided into a plurality of subdirectories, for example, under the transaction, the subdirectories of basic transaction, staged transaction, pre-sale transaction, electronic certificate and the like are included; role category dimensions include buyers and sellers; merchant activity category dimensions include buyer modification orders, buyer viewing orders, buyer payments, seller modification orders, seller shipping and seller viewing orders, and the like.
In the embodiment shown in the figure, the user presents interface information in three category dimensions of business capability, role and merchant activity through selection operations on "base transaction", "business customization points" and "buyer closing order". The interface information comprises an interface name, an interface method and an access parameter.
In the above embodiment, in response to a triggering operation on an interface name of the target interface, a detail page of the target interface is displayed, the detail page includes detail information and an editing control of the target interface, and in response to a triggering operation on the editing control on the interface detail page, the editing page is displayed to modify the interface detail information. The user can check and add and delete the use description and the use instance of the interface, check the use condition of the interface, adjust the sort dimension of the interface and the like.
In the above embodiment, the interface management interface is provided with the second search input item at the top of the left area, and in response to the operation of inputting the category keyword in the second search input item, the category dimension corresponding to the category keyword is obtained from the category dimension of at least one interface, and the interface attribute information belonging to the category dimension corresponding to the category keyword is displayed. For example, a base transaction may be entered in the second search input, and the lower right region of the figure may show interface attribute information in the base transaction dimension. The second search input item is arranged to filter according to the dimension type, so that the efficiency of searching the interface and the management efficiency of the interface are improved.
In the above embodiment, the top of the interface information area on the right side of the interface management interface is provided with the first search input item, and in response to the operation of inputting the interface keyword in the first search input item, the interface corresponding to the interface keyword is obtained from at least one interface, and the attribute information of the interface corresponding to the interface keyword is displayed. For example, the interface keyword "form" is input in the first search input item, and then interfaces such as "request paymate when form" is displayed in the interface display area "," form is request paymate service parameter "and" skip paymate check when form "are displayed.
FIG. 3 is a schematic diagram of an access list page according to an exemplary embodiment of the present application; as shown in fig. 3, in response to a triggering operation of a user to a view control of the target interface, the access parameter list page shown in fig. 3 is displayed for the user to view the access parameters of the target interface.
In some exemplary embodiments of the data processing method of the present application, the class dimension information to which the interface belongs is annotated in the interface code file, so that the class dimension information to which the interface belongs can be obtained based on the annotation information in the interface code file, the metadata of the interface is classified and managed according to the class dimension information to which the interface belongs to obtain the structured data of the interface, and the interface can be visually managed according to the class based on the structured data, thereby being beneficial to improving the management efficiency of the interface and enabling the interface management to be more visual and convenient.
Fig. 5 is a schematic structural diagram of a data processing apparatus according to an exemplary embodiment of the present application. As shown in fig. 5, the server includes: the memory 501 and the processor 502, and also include necessary components such as a communication component 503 and a power supply component 504.
Memory 501 is used to store computer programs and may be configured to store various other data to support operations on the data processing device. Examples of such data include instructions for any application or method operating on a server.
The memory 501 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
And a communication component 503 for establishing a communication connection with the display terminal.
A processor 502, executable computer instructions stored in memory 501, for: extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface; extracting category dimension information to which at least one interface belongs from annotation information of the at least one interface; classifying and managing metadata of at least one interface according to category dimension information of the at least one interface to obtain structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
Optionally, the processor 502, before extracting annotation information of at least one interface from the interface code file, is further operable to: annotating a category dimension to which at least one interface in the target source file belongs to obtain an interface code file.
Optionally, the processor 502 is specifically configured to, when annotating a class dimension to which at least one interface in the target source file belongs to obtain an interface code file: annotating a class dimension to which at least one interface in the target source file belongs to, so as to obtain an annotated source file; compiling the annotated source file to generate a binary file, and taking the binary file as an interface code file.
Optionally, the processor 502, after performing classification management on metadata of at least one interface according to category dimension information to which the at least one interface belongs, may further be configured to: and storing the structured data of the at least one interface for the display terminal to visually manage the at least one interface based on the structured data of the at least one interface.
Optionally, the processor 502, after performing classification management on metadata of at least one interface according to category dimension information to which the at least one interface belongs, may further be configured to: the structured data of the at least one interface is stored in the search engine for the search engine to search for the at least one interface in response to the interface search request.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program. The computer-readable storage medium stores a computer program, which when executed by one or more processors, causes the one or more processors to perform the steps in the method embodiment of fig. 4 a.
In the embodiments of the data processing device and the storage medium according to the present application, in some exemplary embodiments of the present application, the class dimension information to which the interface belongs is annotated in the interface code file, so that the class dimension information to which the interface belongs can be obtained based on the annotation information in the interface code file, the metadata of the interface is classified and managed according to the class dimension information to which the interface belongs to obtain the structured data of the interface, and the interface can be visually managed according to the class based on the structured data, which is favorable for improving the management efficiency of the interface, and makes the interface management more intuitive and convenient.
Fig. 6 is a schematic structural diagram of a display terminal according to an exemplary embodiment of the present application. As shown in fig. 6, the display terminal includes: an electronic display 601, a memory 603, a processor 602, and a communication component 604; in addition, the display terminal may further include necessary components such as a power supply component 605.
An electronic display 601 for displaying an interface management interface.
Among them, the electronic display 601 includes a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the electronic display comprises a touch panel, the electronic display may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation.
A memory 603 for storing a computer program;
A communication component 604, configured to establish a communication connection between the display terminal and the data processing device for data transmission;
a processor 602 for executing a computer program for: responding to interface display operation, displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension; in response to a selection operation for at least one category dimension, attribute information of a target interface belonging to the selected category dimension in the at least one interface is presented.
Optionally, the processor 602 is specifically configured to, in response to the interface presentation operation, present the interface management interface according to the structured data of at least one interface: responsive to an interface presentation operation, sending a data request to a server to request structured data of at least one interface; receiving structured data of at least one interface returned by a server according to the data request; and displaying the interface management interface according to the structured data of at least one interface.
Optionally, the processor 602 is specifically configured to, when presenting the interface management interface according to the structured data of the at least one interface: analyzing at least one category dimension of at least one interface from the structured data of the at least one interface; and generating and displaying an interface management interface according to at least one category dimension.
Optionally, the interface management interface further includes a first search input item thereon, and the processor 602 is further configured to: and responding to the operation of inputting the interface keywords in the first search input item, acquiring the interfaces corresponding to the interface keywords from at least one interface, and displaying the attribute information of the interfaces corresponding to the interface keywords.
Optionally, the interface management interface further includes a second search input item thereon, and the processor 602 is further configured to: and responding to the operation of inputting the category keywords in the second search input item, acquiring the category dimension corresponding to the category keywords from the category dimension of at least one interface, and displaying the interface attribute information belonging to the category dimension corresponding to the category keywords.
Optionally, after presenting the attribute information of the target interface belonging to the selected category dimension in the at least one interface, the processor 602 is further configured to: responding to the triggering operation of the attribute information of the target interface, displaying a detail page of the target interface, wherein the detail page comprises the detail information of the target interface and an editing control; and responding to the triggering operation of the editing control on the interface detail page, and displaying the editing page to modify the interface detail information.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program. The computer-readable storage medium stores a computer program, which when executed by one or more processors, causes the one or more processors to perform the steps in the method embodiment of fig. 4 b.
In the embodiments of the display terminal and the storage medium according to the present application, in some exemplary embodiments of the present application, the class dimension information to which the interface belongs is annotated in the interface code file, so that the class dimension information to which the interface belongs can be obtained based on the annotation information in the interface code file, the metadata of the interface is classified and managed according to the class dimension information to which the interface belongs to obtain the structured data of the interface, and the interface can be visually managed according to the class based on the structured data, which is favorable for improving the management efficiency of the interface, and makes the interface management more intuitive and convenient.
The communication assembly of fig. 5 and 6 described above is configured to facilitate wired or wireless communication between the device in which the communication assembly is located and other devices. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component further includes Near Field Communication (NFC) technology, radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and the like, to facilitate short range communications.
The power supply assembly shown in fig. 5 and 6 provides power to the various components of the device in which the power supply assembly is located. The power components may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the devices in which the power components are located.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (16)

1. A method of data processing, comprising:
extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface;
extracting category dimension information of at least one interface from the annotation information of the at least one interface;
according to the category dimension information of the at least one interface, classifying and managing the metadata of the at least one interface to obtain the structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
2. The method of claim 1, further comprising, prior to extracting annotation information for at least one interface from the interface code file:
annotating a category dimension to which at least one interface in the target source file belongs to obtain the interface code file.
3. The method of claim 2, wherein annotating a class dimension to which at least one interface in a target source file belongs to obtain the interface code file, comprising:
Annotating a class dimension to which at least one interface in the target source file belongs to, so as to obtain an annotated source file;
compiling the annotated source file to generate a binary file, and taking the binary file as the interface code file.
4. A method according to any one of claims 1-3, wherein, after classifying and managing metadata of at least one interface according to class dimension information to which the at least one interface belongs, obtaining structured data of at least one interface, the method further comprises:
And storing the structured data of the at least one interface for the display terminal to visually manage the at least one interface based on the structured data of the at least one interface.
5. A method according to any one of claims 1-3, wherein, after classifying and managing metadata of at least one interface according to class dimension information to which the at least one interface belongs, obtaining structured data of at least one interface, the method further comprises:
the structured data of the at least one interface is stored in a search engine for the search engine to search for the at least one interface in response to an interface search request.
6. A data processing method suitable for a display terminal, the method comprising:
Responding to interface display operation, and displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension; the structured data of the at least one interface is obtained in the following way: extracting annotation information of at least one interface from an interface code file, wherein the annotation information comprises category dimension information of the interface, extracting category dimension information of the at least one interface from the annotation information of the at least one interface, and classifying and managing metadata of the at least one interface according to the category dimension information of the at least one interface to obtain structured data of the at least one interface, wherein the structured data of the at least one interface is used for visual management of the at least one interface;
And responding to the selection operation for the at least one category dimension, and displaying attribute information of a target interface belonging to the selected category dimension in the at least one interface.
7. The method of claim 6, wherein presenting an interface management interface based on structured data of at least one interface in response to an interface presentation operation comprises:
Responsive to an interface presentation operation, sending a data request to a server to request structured data of at least one interface;
receiving structured data of at least one interface returned by a server according to the data request;
and displaying an interface management interface according to the structured data of the at least one interface.
8. The method according to claim 6 or 7, wherein presenting an interface management interface based on structured data of at least one interface, comprises:
Analyzing at least one category dimension of the at least one interface from the structured data of the at least one interface;
and generating and displaying the interface management interface according to the at least one category dimension.
9. The method of claim 6, further comprising a first search input on the interface management interface, the method further comprising:
And responding to the operation of inputting interface keywords in the first search input item, acquiring interfaces corresponding to the interface keywords from the at least one interface, and displaying attribute information of the interfaces corresponding to the interface keywords.
10. The method of claim 6, further comprising a second search input on the interface management interface, the method further comprising:
And responding to the operation of inputting the category keywords in the second search input item, acquiring the category dimension corresponding to the category keywords from the category dimension of at least one interface, and displaying the interface attribute information belonging to the category dimension corresponding to the category keywords.
11. The method as recited in claim 10, further comprising:
In response to an operation of inputting the category keyword in the second search input item, displaying the category dimension associated with the interface keyword in a first mode, and displaying the remaining category dimension in a second mode, wherein the remaining category dimension is a category dimension except for the category dimension associated with the interface keyword in at least one category dimension, and the first mode and the second mode are two opposite display modes.
12. The method of claim 6, wherein after exposing attribute information of a target interface belonging to the selected category dimension in the at least one interface, the method further comprises:
responding to the triggering operation of the attribute information of the target interface, and displaying a detail page of the target interface, wherein the detail page comprises the detail information of the target interface and an editing control;
and responding to the triggering operation of the editing control on the interface detail page, and displaying the editing page to modify the interface detail information.
13. A data processing apparatus, comprising: a memory and a processor;
the memory is used for storing one or more computer instructions;
the processor is configured to execute the one or more computer instructions to:
extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface;
extracting category dimension information of at least one interface from the annotation information of the at least one interface;
according to the category dimension information of the at least one interface, classifying and managing the metadata of the at least one interface to obtain the structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
14. A computer-readable storage medium storing a computer program, which when executed by one or more processors causes the one or more processors to perform acts comprising:
extracting annotation information of at least one interface from the interface code file, wherein the annotation information comprises category dimension information of the interface;
extracting category dimension information of at least one interface from the annotation information of the at least one interface;
according to the category dimension information of the at least one interface, classifying and managing the metadata of the at least one interface to obtain the structured data of the at least one interface; wherein the structured data of the at least one interface is used for visual management of the at least one interface.
15. A display terminal, characterized by comprising: a memory and a processor;
the memory is used for storing one or more computer instructions;
the processor is configured to execute the one or more computer instructions to:
Responding to interface display operation, and displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension; the structured data of the at least one interface is obtained in the following way: extracting annotation information of at least one interface from an interface code file, wherein the annotation information comprises category dimension information of the interface, extracting category dimension information of the at least one interface from the annotation information of the at least one interface, and classifying and managing metadata of the at least one interface according to the category dimension information of the at least one interface to obtain structured data of the at least one interface, wherein the structured data of the at least one interface is used for visual management of the at least one interface;
And responding to the selection operation for the at least one category dimension, and displaying attribute information of a target interface belonging to the selected category dimension in the at least one interface.
16. A computer-readable storage medium storing a computer program, which when executed by one or more processors causes the one or more processors to perform acts comprising:
Responding to interface display operation, and displaying an interface management interface according to the structured data of at least one interface, wherein the interface management interface comprises at least one category dimension; the structured data of the at least one interface is obtained in the following way: extracting annotation information of at least one interface from an interface code file, wherein the annotation information comprises category dimension information of the interface, extracting category dimension information of the at least one interface from the annotation information of the at least one interface, and classifying and managing metadata of the at least one interface according to the category dimension information of the at least one interface to obtain structured data of the at least one interface, wherein the structured data of the at least one interface is used for visual management of the at least one interface;
And responding to the selection operation for the at least one category dimension, and displaying attribute information of a target interface belonging to the selected category dimension in the at least one interface.
CN201910906184.0A 2019-09-24 2019-09-24 Data processing method, device and storage medium Active CN112632158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910906184.0A CN112632158B (en) 2019-09-24 2019-09-24 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910906184.0A CN112632158B (en) 2019-09-24 2019-09-24 Data processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112632158A CN112632158A (en) 2021-04-09
CN112632158B true CN112632158B (en) 2024-05-10

Family

ID=75283280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910906184.0A Active CN112632158B (en) 2019-09-24 2019-09-24 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112632158B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1735094A (en) * 2004-08-11 2006-02-15 华为技术有限公司 Device and method for network interface management
US7249074B1 (en) * 2000-05-02 2007-07-24 General Electric Canada Equipment Finance G.P. Method, apparatus and computer program for managing accounting system interfaces
WO2017041657A1 (en) * 2015-09-09 2017-03-16 阿里巴巴集团控股有限公司 Application interface management method and device
CN107704608A (en) * 2017-10-17 2018-02-16 北京览群智数据科技有限责任公司 A kind of OLAP multidimensional analyses and data digging system
CN107885502A (en) * 2017-11-10 2018-04-06 广州市千钧网络科技有限公司 Interface processing method, processing unit, interface managerial method and managing device
CN110162296A (en) * 2019-04-15 2019-08-23 平安科技(深圳)有限公司 Generation method, device and the terminal device of application programming interface document

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249074B1 (en) * 2000-05-02 2007-07-24 General Electric Canada Equipment Finance G.P. Method, apparatus and computer program for managing accounting system interfaces
CN1735094A (en) * 2004-08-11 2006-02-15 华为技术有限公司 Device and method for network interface management
WO2017041657A1 (en) * 2015-09-09 2017-03-16 阿里巴巴集团控股有限公司 Application interface management method and device
CN107704608A (en) * 2017-10-17 2018-02-16 北京览群智数据科技有限责任公司 A kind of OLAP multidimensional analyses and data digging system
CN107885502A (en) * 2017-11-10 2018-04-06 广州市千钧网络科技有限公司 Interface processing method, processing unit, interface managerial method and managing device
CN110162296A (en) * 2019-04-15 2019-08-23 平安科技(深圳)有限公司 Generation method, device and the terminal device of application programming interface document

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于CORBA技术的GDMO接口构建的研究;葛君伟, 方义秋;计算机工程;20020620(06);全文 *

Also Published As

Publication number Publication date
CN112632158A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US11328004B2 (en) Method and system for intelligently suggesting tags for documents
US10140314B2 (en) Previews for contextual searches
US10416851B2 (en) Electronic publishing mechanisms
CN107818143B (en) Page configuration and generation method and device
US8495489B1 (en) System and method for creating and displaying image annotations
US10169374B2 (en) Image searches using image frame context
US9268562B1 (en) Methods and apparatuses for dynamically generating mobile application layouts using client-independent configuration
RU2662632C2 (en) Presenting fixed format documents in reflowed format
CN103677804A (en) Method and apparatus for processing applications of mobile terminal
BR112014029045B1 (en) METHOD, NON TRANSIENT COMPUTER READIBLE MEDIUM AND COMPUTING DEVICE
CN104541265A (en) E-reader systems
CN105335423B (en) Method and device for collecting and processing user feedback of webpage
WO2017157104A1 (en) Information copying system, method and electronic device, and machine-readable storage medium
US10506078B2 (en) Centralized overview display generated from annotated data sources
CN104951497A (en) Method and apparatus for constructing documents
KR20160023412A (en) Method for display screen in electronic device and the device thereof
CN111338690A (en) Method and device for configuring pages of small program shop, computer equipment and storage medium
US20220284497A1 (en) Method for providing information of product brands and electronic apparatus therefor
WO2023046009A1 (en) Document processing method and apparatus, and electronic device and computer-readable storage medium
KR101690528B1 (en) Method, apparatus and computer program for displaying serch information
CN110232155B (en) Information recommendation method for browser interface and electronic equipment
CN112632158B (en) Data processing method, device and storage medium
NL2024634B1 (en) Presenting Intelligently Suggested Content Enhancements
US10162877B1 (en) Automated compilation of content
CN111831610A (en) File and database record acquisition method, computer equipment and storage medium

Legal Events

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