CN114443802A - Interface document processing method and device, electronic equipment and storage medium - Google Patents

Interface document processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114443802A
CN114443802A CN202210113867.2A CN202210113867A CN114443802A CN 114443802 A CN114443802 A CN 114443802A CN 202210113867 A CN202210113867 A CN 202210113867A CN 114443802 A CN114443802 A CN 114443802A
Authority
CN
China
Prior art keywords
interface
information
document
library
index
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
CN202210113867.2A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202210113867.2A priority Critical patent/CN114443802A/en
Publication of CN114443802A publication Critical patent/CN114443802A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an interface document processing method, which is characterized in that interface information in an interface document is obtained, wherein the interface information at least comprises transaction information, interface content information and interface form information; respectively storing the interface information and the interface document into an index library and a stock asset library; and retrieving and displaying target interface information according to the user retrieval information, the index library and the stock asset library. The technical scheme of the invention realizes the unified processing of the interface document, improves the universality of the interface information, can ensure the interface test effect and improve the interface test efficiency, thereby forming a test asset library, being convenient for managing the stock interface document and improving the convenience of the interface test.

Description

Interface document processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to an interface document processing method and apparatus, an electronic device, and a storage medium.
Background
At present, interface testing performs message splicing by calling addresses, request parameters and other modes according to interface document information, sends requests and checks returned results. The receiving focus is mainly to check the incoming and outgoing parameters. Interface documentation is an important basis for interface testing, and is typically written by developers and used by testers. The readability of the test document will directly affect the effectiveness and efficiency of the interface test. However, in the actual development and test process, the interface documents are influenced by the abilities and habits of developers, the formats of the interface documents are different and written actually, and the interface documents have the problems of information redundancy, important rule information loss, poor readability, poor reusability and the like. In addition, the number and versions of the interfaces tested in the software system are large, and the storage interface documents are absent, so that the interface testing efficiency is greatly influenced.
Disclosure of Invention
The invention provides an interface document processing method, an interface document processing device, electronic equipment and a storage medium, which are used for realizing unified processing of interface documents, improving the universality of interface information, ensuring the interface test effect, improving the interface test efficiency, forming a test asset library, facilitating management of the stored interface documents and improving the convenience of interface test.
According to an aspect of the present invention, there is provided an interface document processing method, the method including: acquiring interface information in an interface document, wherein the interface information at least comprises transaction information, interface content information and interface form information;
respectively storing the interface information and the interface document into an index library and an inventory asset library;
retrieving and displaying target interface information according to the user retrieval information, the index library and the stock asset library;
according to another aspect of the present invention, there is provided an interface document processing apparatus, comprising:
the information reading module is used for acquiring interface information in the interface document, wherein the interface information at least comprises transaction information, interface content information and interface form information;
the information stock module is used for respectively storing the interface information and the interface document into an index library and a stock asset library;
the information retrieval module is used for retrieving and displaying target interface information according to the user retrieval information, the index library and the stock asset library;
according to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the interface document processing method of any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the interface document processing method according to any one of the embodiments of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the interface information is stored in the index library in advance, the interface document is stored in the stock asset library, and the target interface information is displayed according to the retrieval information input by the user, so that the technical problems that the current interface document mainly faces developers and is poor in readability and trafficability are solved, the comprehensibility and reusability of the interface information are effectively improved, and the technical effect of improving the quality of interface testing is further achieved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of an interface document processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an interface document processing method according to a second embodiment of the present invention;
FIG. 3 is a diagram of another example of an interface document processing method according to the second embodiment of the invention;
fig. 4 is a visual interface of a modification interface according to a second embodiment of the present invention.
Fig. 5 is a visual interface of a retrieval apparatus according to a second embodiment of the present invention.
FIG. 6 is a schematic structural diagram of an interface document processing apparatus according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device implementing an interface document processing method according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "object," "original," and the like in the description and claims of the present invention and in the drawings described above 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 invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "for" and any variations thereof, are intended to cover non-exclusive inclusions, 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 one
Fig. 1 is a flowchart of an interface document processing method according to an embodiment of the present invention, where the embodiment is applicable to a tester, the method may be executed by an interface document processing apparatus, the interface document processing apparatus may be implemented in a form of hardware and/or software, and the interface document processing apparatus may be configured in an electronic device. As shown in fig. 1, the method includes:
and S110, acquiring interface information in the interface document.
The interface information may include at least transaction information, interface content information, and interface format information.
Specifically, a program for detecting interface information is preset in the electronic device, and when the presence of an interface is detected, the interface information in the interface document can be read and divided into at least one of transaction information, interface content information, and interface form information.
For example, the present invention may preset a program in the electronic device, and when detecting that there is an interface interaction between the external system and the system and/or between internal subsystems, the program may obtain the interface design document and read the interface information in the interface design document. The interface document obtained in the invention has wide sources, and can provide more kinds of interface information as samples.
Optionally, the transaction information may be a system to which the interface belongs, a module to which the interface belongs, a name of the interface, a type of the interface, an address of the interface, interface security, interface function rule description, and the like. The interface content information may include interface direction, parent field, field Chinese name, field English name, interface importance level, field type, and field length. The interface format information may include an input message format, an output message format, and the like.
And S120, storing the interface information and the interface document into an index library and a stock asset library respectively.
The index library may be a database preset in the server by the developer for storing the interface information, and the stock resource library may be a background database for storing the interface document corresponding to the interface information.
Specifically, after the interface information is obtained, the interface information may be stored in an index library in the server, and the interface document where the interface information is located is stored in a stock resource library in the server, and an association relationship may be set between the interface information stored in the index library and the interface document stored in the stock resource library, where the association relationship may be the same identification number or the same primary key.
S130, retrieving and displaying target interface information according to the user retrieval information, the index library and the stock inventory.
The user search information may be a keyword input by the user for searching the interface document.
Specifically, retrieval information input by a tester can be acquired through the interactive interface, the retrieval information is automatically retrieved in the index database, and appropriate interface information retrieved in the index database is used as target interface information.
Illustratively, a developer establishes a human-computer interaction interface for acquiring user retrieval information in advance, an interface tester can input keywords on the interaction interface, the keywords include but are not limited to a system to which the interface belongs, a module to which the interface belongs, an interface name, an interface type, an interface address, interface security and interface function rule description, and a background displays target interface information on the interaction interface in sequence from large to small according to similarity between the retrieval information input by the user and the interface information in an index library. Due to the fact that the incidence relation is preset between the interface information and the interface document, interface document reading which is higher in visualization degree and easier to understand is achieved for testers, and efficiency of interface testing is improved.
According to the technical scheme, the interface information and the interface documents are stored in the index library and the stock asset library in the background in batches in a corresponding mode, the target interface information can be displayed by inputting keywords by a user, the technical problems that testers are unfamiliar with interface codes and interface documents are poor in readability are solved, interface document reading aiming at the testers is higher in visualization degree and easier to understand is achieved, and efficiency and quality of interface testing are improved.
Example two
Fig. 2 is a flowchart of an interface document processing method according to a second embodiment of the present invention, which is further optimized based on the above embodiments, and the specific implementation manners of "storing interface information and interface documents in the index library and the stock asset library respectively" and "retrieving and displaying target interface information according to user retrieval information, the index library and the stock asset library" are added in this embodiment. As shown in fig. 2, the method includes:
s210, acquiring interface information in the interface document.
The interface information may include at least transaction information, interface content information, and interface format information.
Optionally, the interface information in the interface document may include at least one of the following: carrying out character matching on the technical attribute field in the interface document to acquire transaction information of the interface information; carrying out character matching on an interface field in the interface document to acquire interface content information of the interface information; and matching the input message format and the output message format in the interface document to acquire interface form information.
Further, the technical attribute field may include at least one of: system, module, interface name, interface type, interface link, interface function rule description; the interface field includes at least one of: parent field, field name, field type, field length, and value description.
S220, determining an index library which has matched keywords with the interface information.
The matching keywords can be representative words extracted from the original interface information;
specifically, keywords of an index base are preset, representative words are extracted from original interface information acquired from previous times, the extracted representative words are matched with the keywords of the index base, and the interface information is stored in the corresponding index base according to a matching result.
Illustratively, the invention can preset a program by a developer, and takes a representative vocabulary extracted from the interface information acquired for the first time as a keyword of the first index library. If the obtained representative interface information vocabulary is successfully matched with the existing index library keywords, storing the interface information in the index library to store the index library; and if the index library matched with the acquired interface information representative vocabulary cannot be inquired, automatically creating a new index library and keywords. Optionally, the representative vocabulary may be a real word in the interface information, or a vocabulary obtained by an existing keyword extraction algorithm.
And S230, acquiring a stock asset library in association with the index stock.
The stock asset library is a database generated corresponding to the index library.
Specifically, when the generation of the index library is detected, the stock asset libraries are correspondingly generated, i.e., the number of the index libraries and the stock asset libraries may be the same.
Illustratively, when the generation of a new index base is detected, a new corresponding stock asset base is generated at the same time, and the incidence relation between the index base and the stock asset base is stored in the index base. When the action that the interface information is stored in the existing index library is detected, the stored association relation in the existing index library is obtained, and then the corresponding stock asset library is obtained.
And S240, storing the interface document into an inventory asset library according to a preset file template.
Wherein the preset file template corresponds to the stock asset library.
In particular, each inventory asset library may determine the format type at the time of generation. The format type may be the same as the first interface document generated by default or may be set by the developer. The format type of the preset file template may be matched to the inventory repository.
On the basis of the above embodiment, optionally, the interface document may be entered based on a character recognition device or an interface recognition template.
Illustratively, when it is detected that the original interface information is stored in the index library, an interface document matched with the interface information is obtained, the format type of the interface document is further obtained, and the interface document is stored in the corresponding stock asset library according to the interface type.
Optionally, the receiving interface designs corresponding information modification parameters, and adjusts a preset file template of the stock asset library and/or adjusts keywords of the index library according to the information modification parameters.
And S250, receiving user retrieval information on a visual interface.
The visual interface can be a human-computer interaction interface pre-established by developers, the user can be a tester, and the user retrieval information can be keywords input by the user.
Specifically, the invention can receive the keywords input by the tester through the human-computer interaction interface.
Illustratively, after a tester enters the human-computer interaction interface, keywords related to interface information are input through the interface, so that the tester can conveniently read interface documents and search the interface information.
And S260, searching target interface information in the index database according to the user retrieval information.
The target interface information may be information with high similarity to the user search information.
By way of example, the search query function of the present invention may be implemented as follows: the retrieval information input by a user is sequentially stored in a character string mode, the total numerical value of the retrieval information of the user is stored in an integer mode, the stored character strings are used as variable assignment according to the acquisition sequence and are increased progressively until the total numerical value is not exceeded, the received character strings of the retrieval information of the user are sequentially matched with the retrieval information stored in the source table until the traversal is stopped after the matching is successful, and the character strings which are successfully matched in the source table are returned. If the traversal is finished and the matching is not successful, the traversal is finished and a null value is returned, a VBA is supposed to be adopted, and the main pseudo code is as follows:
s270, searching an interface document corresponding to the target interface information in the inventory asset library and displaying the interface document on a visual interface.
The invention establishes an incidence relation between the interface information in the index database and the interface document in the stock asset library in advance and stores the incidence relation correspondingly, thereby establishing a rich and ordered database in real time. The tester only needs to input the interface information as user retrieval information on the interactive interface, the background matches the interface information in the index library according to the keywords, and then outputs the successfully matched display interface document on the visual interface, so that the readability, the understandability and the reusability of the interface document are improved for the tester, and the efficiency and the quality of the interface test are improved.
In an exemplary embodiment, referring to fig. 3, the method includes:
s310, interface transaction information, content information and form information are obtained by taking the internal and external interface information of the system as a data source.
Optionally, the interface transaction information may include technical attribute elements such as systems and modules of the interface, and the specific form is as follows:
Figure BDA0003495648780000081
optionally, the content information may include interface field detailed information such as a field type, a field name, and a field value rule of the interface, and a design mode of the system interface is described in detail, where the specific form is as follows:
Figure BDA0003495648780000091
optionally, the interface format may be described as a specific format of an input or output message, specifically as follows:
Figure BDA0003495648780000092
and S320, inputting or importing the interface information after combing to realize the first accumulation of the interface information.
S330, extracting keywords according to the accumulated interface information to form an interface library and an index library.
Optionally, the interface information may be stored in an interface library, and the extracted keywords are correspondingly stored in an index library, so as to implement a function of searching the interface information through the keywords.
S340, according to the modification of the interface design, modifying the information of each element of the existing interface, and updating the information of the interface document and the index library.
Alternatively, the visualization interface of the modification interface may be as shown in fig. 4.
It should be noted that, when the tester needs to modify the existing interface information, it may modify each element information of the existing interface through the human-computer interaction interface. It can be obtained that, when the interface information is modified, the interface document corresponding to the interface information in the inventory asset library can be correspondingly modified, and the keyword corresponding to the interface in the index library can be correspondingly modified.
And S350, realizing automatic matching of the keywords, retrieving interface information and displaying interface document contents by the retrieval device and the display device.
Alternatively, the visual interface of the retrieval apparatus may be as shown in fig. 5.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an interface document processing apparatus according to a third embodiment of the present invention. The device can execute the interface document processing method provided by any embodiment of the invention, has corresponding functional modules and beneficial effects of the execution method, and comprises the following steps: an information reading module 410, an information stock module 420 and an information retrieval module 430.
The information reading module 410 is configured to obtain interface information in an interface document, where the interface information at least includes transaction information, interface content information, and interface format information;
an information stock module 420, configured to store the interface information and the interface document in an index library and a stock asset library, respectively;
and the information retrieval module 430 is used for retrieving and displaying the target interface information according to the user retrieval information, the index library and the stock inventory.
Further, the interface information in the interface document is acquired, which includes at least one of the following: carrying out character matching on the technical attribute field in the interface document to acquire transaction information of the interface information; carrying out character matching on an interface field in the interface document to acquire interface content information of the interface information; and matching the input message format and the output message format in the interface document to acquire interface form information.
Further, the technical attribute field includes at least one of: system, module, interface name, interface type, interface link, interface function rule description; the interface field includes at least one of: parent field, field name, field type, field length, and value description.
Further, the information inventory module 420 includes:
and the keyword matching unit is used for determining the index library words with the matched keywords in the interface information.
And the asset library acquisition unit is used for acquiring an inventory asset library in association with the index library.
And the document storage unit is used for storing the interface document into the stock asset library according to a preset file template, wherein the preset file template corresponds to the stock asset library.
Further, the information retrieving module 430 includes:
the retrieval information receiving unit is used for receiving user retrieval information on a visual interface;
the interface information searching unit is used for searching target interface information in the index database according to the user retrieval information;
and the interface document display unit is used for searching an interface document corresponding to the target interface information in the inventory asset library and displaying the interface document on the visual interface.
Further, the interface document processing apparatus further includes:
and the parameter modification module is used for receiving the information modification parameters corresponding to the interface design and adjusting the preset file template of the stock asset library and/or adjusting the keywords of the index library according to the information modification parameters.
Further, the interface document processing apparatus further includes:
and the interface document input module is used for inputting the interface document based on the character recognition device or the interface recognition template.
The interface document processing device provided by the embodiment of the invention can execute the interface document processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 5 illustrates a schematic diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the interface document processing method.
In some embodiments, the interface document processing method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of method XXX described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the interface document processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An interface document processing method, characterized in that the method comprises:
acquiring interface information in an interface document, wherein the interface information at least comprises transaction information, interface content information and interface form information;
respectively storing the interface information and the interface document into an index library and a stock asset library;
and retrieving and displaying target interface information according to the user retrieval information, the index library and the stock asset library.
2. The method of claim 1, wherein the obtaining of the interface information in the interface document comprises at least one of:
performing character matching on technical attribute fields in the interface document to acquire transaction information of the interface information;
performing character matching on an interface field in the interface document to acquire interface content information of the interface information;
and matching the input message format and the output message format in the interface document to acquire the interface form information.
3. The method of claim 2, wherein the technology attribute field comprises at least one of: system, module, interface name, interface type, interface link, interface function rule description; the interface field includes at least one of: parent field, field name, field type, field length and value description.
4. The method of claim 1, wherein storing the interface information and the interface document to an index repository and an inventory asset repository, respectively, comprises:
determining the index library words with matched keywords with the interface information;
acquiring the inventory asset library in association relation with the index inventory;
and storing the interface document into the stock asset library according to a preset file template, wherein the preset file template corresponds to the stock asset library.
5. The method of claim 1, wherein said retrieving and presenting target interface information based on user search information, said index repository, and said inventory repository comprises:
receiving the user retrieval information at a visual interface;
searching target interface information in the index database according to the user retrieval information;
and searching the interface document corresponding to the target interface information in the inventory asset library and displaying the interface document on the visual interface.
6. The method of claim 1, further comprising:
and receiving information modification parameters corresponding to interface design, and adjusting a preset file template of the stock asset library and/or adjusting keywords of the index library according to the information modification parameters.
7. The method of claim 1, further comprising:
and inputting the interface document based on a character recognition device or an interface recognition template.
8. An interface document processing apparatus, characterized in that the apparatus comprises:
the information reading module is used for acquiring interface information in the interface document, wherein the interface information at least comprises transaction information, interface content information and interface form information;
the information stock module is used for respectively storing the interface information and the interface document into an index library and a stock asset library;
and the information retrieval module is used for retrieving and displaying target interface information according to the user retrieval information, the index library and the stock asset library.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the interface document processing method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the interface document processing method according to any one of claims 1 to 7 when executed.
CN202210113867.2A 2022-01-30 2022-01-30 Interface document processing method and device, electronic equipment and storage medium Pending CN114443802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210113867.2A CN114443802A (en) 2022-01-30 2022-01-30 Interface document processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210113867.2A CN114443802A (en) 2022-01-30 2022-01-30 Interface document processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114443802A true CN114443802A (en) 2022-05-06

Family

ID=81372217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210113867.2A Pending CN114443802A (en) 2022-01-30 2022-01-30 Interface document processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114443802A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115146604A (en) * 2022-07-01 2022-10-04 广州高专资讯科技有限公司 Interface technology document generation method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115146604A (en) * 2022-07-01 2022-10-04 广州高专资讯科技有限公司 Interface technology document generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114595686B (en) Knowledge extraction method, and training method and device of knowledge extraction model
CN111078776A (en) Data table standardization method, device, equipment and storage medium
CN113836314B (en) Knowledge graph construction method, device, equipment and storage medium
CN114579104A (en) Data analysis scene generation method, device, equipment and storage medium
EP4141697A1 (en) Method and apparatus of processing triple data, method and apparatus of training triple data processing model, device, and medium
CN114610845A (en) Multisystem-based intelligent question answering method, device and equipment
EP4174683A1 (en) Data evaluation method and apparatus, training method and apparatus, and electronic device and storage medium
CN112148841B (en) Object classification and classification model construction method and device
CN114443802A (en) Interface document processing method and device, electronic equipment and storage medium
CN116955856A (en) Information display method, device, electronic equipment and storage medium
CN113239273B (en) Method, apparatus, device and storage medium for generating text
CN115599679A (en) Test rule base updating method and device, electronic equipment and storage medium
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN115328898A (en) Data processing method and device, electronic equipment and medium
CN114443493A (en) Test case generation method and device, electronic equipment and storage medium
CN114528378A (en) Text classification method and device, electronic equipment and storage medium
CN114048315A (en) Method and device for determining document tag, electronic equipment and storage medium
CN110852077B (en) Method, device, medium and electronic equipment for dynamically adjusting Word2Vec model dictionary
CN116089459B (en) Data retrieval method, device, electronic equipment and storage medium
CN116244740B (en) Log desensitization method and device, electronic equipment and storage medium
CN114201607B (en) Information processing method and device
CN116401410B (en) Method, device, storage medium and equipment for accessing map data to multi-scene graph database
CN115617680A (en) User experience test case generation method, device, equipment and storage medium
CN117851575A (en) Large language model question-answer optimization method and device, electronic equipment and storage medium
CN115658869A (en) Entity retrieval method, entity retrieval device, electronic 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