CN109298882A - Management method, computer readable storage medium and the terminal device of interface - Google Patents

Management method, computer readable storage medium and the terminal device of interface Download PDF

Info

Publication number
CN109298882A
CN109298882A CN201811121971.6A CN201811121971A CN109298882A CN 109298882 A CN109298882 A CN 109298882A CN 201811121971 A CN201811121971 A CN 201811121971A CN 109298882 A CN109298882 A CN 109298882A
Authority
CN
China
Prior art keywords
interface
document
user terminal
characteristics value
needing
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
CN201811121971.6A
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811121971.6A priority Critical patent/CN109298882A/en
Publication of CN109298882A publication Critical patent/CN109298882A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Library & Information Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention belongs to field of computer technology more particularly to a kind of management methods of interface, computer readable storage medium and terminal device.The described method includes: obtaining the interface message of multiple interfaces;Interface characteristics value in the interface message of the multiple interface is arranged respectively in preset interface configuration file, the interface configuration information of multiple interfaces is obtained from the preset interface configuration file postponed, according to the interface configuration information of the multiple interface, interface document is generated;The interface document is sent to user terminal, so that user terminal is safeguarded or updated to the multiple interface by the interface document.Management method, computer readable storage medium and the terminal device of a kind of interface provided by the invention, can be realized automatically collecting interface message, solve the problems, such as difficult management.

Description

Management method, computer readable storage medium and the terminal device of interface
Technical field
The present invention relates to field of computer technology more particularly to a kind of management methods of interface, computer-readable storage medium Matter and terminal device.
Background technique
Interface document is used to describe the content of interface routine, such as inputs the format of the format of parameter, output parameter.If It only writes program and does not write interface document, then the program that programmer A writes is difficult to use to programmer B.Therefore programmer in addition to It writes except program, it is also necessary to write interface document.It is based on self defined interface name that existing interface document, which automatically generates scheme, Claim, insertion code annotation, but update or maintenance for multiple interfaces, artificially collect interface message heavy workload, and interface Covering is not complete, for the project of test job complexity, cannot achieve automatically collecting interface message, and there are secondary transformations, and at This larger, waste of resource.Therefore, in existing interface management, it cannot achieve automatically collecting interface message, there are difficult managements The problem of.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of management method of interface, computer readable storage medium and ends End equipment can be realized automatically collecting interface message, solve the problems, such as difficult management.
The embodiment of the present invention in a first aspect, provide a kind of management method of interface, may include:
Obtain the interface message of multiple interfaces;
Interface characteristics value in the interface message of the multiple interface is arranged respectively in preset interface configuration file, from With the interface configuration information for obtaining multiple interfaces in the preset interface configuration file postponed, matched according to the interface of the multiple interface Confidence breath, generates interface document;
The interface document is sent to user terminal, so as to user terminal by the interface document to the multiple interface into Row maintenance updates.
The second aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit Storage media is stored with computer program, and the computer program realizes following steps when being executed by processor:
Obtain the interface message of multiple interfaces;
Interface characteristics value in the interface message of the multiple interface is arranged respectively in preset interface configuration file, from With the interface configuration information for obtaining multiple interfaces in the preset interface configuration file postponed, matched according to the interface of the multiple interface Confidence breath, generates interface document;
The interface document is sent to user terminal, so as to user terminal by the interface document to the multiple interface into Row maintenance updates.
The third aspect of the embodiment of the present invention, provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program Realize following steps:
Obtain the interface message of multiple interfaces;
Interface characteristics value in the interface message of the multiple interface is arranged respectively in preset interface configuration file, from With the interface configuration information for obtaining multiple interfaces in the preset interface configuration file postponed, matched according to the interface of the multiple interface Confidence breath, generates interface document;
The interface document is sent to user terminal, so as to user terminal by the interface document to the multiple interface into Row maintenance updates.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention is by obtaining multiple connect The interface message of mouth, extracts the interface characteristics value in the interface message of the multiple interface, and the interface of the multiple interface is special Value indicative generates interface document, can be realized automatically collecting interface message, and it is not necessary that each interface is based on self defined interface name Claim, is inserted into code annotation, only interface characteristics value need to be automatically generated interface document, by reading the interface characteristics in interface document Value obtains the interface message of corresponding interface, secondary transformation is not present, and cost is relatively low, economizes on resources, and solves the management of interface Difficult problem.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of one embodiment flow chart of the management method of interface in the embodiment of the present invention;
Fig. 2 is the schematic flow diagram that the interface message of multiple interfaces is obtained in the embodiment of the present invention;
Fig. 3 is a kind of another embodiment flow chart of the management method of interface in the embodiment of the present invention;
Fig. 4 is a kind of another embodiment flow chart of the management method of interface in the embodiment of the present invention;
Fig. 5 is a kind of another embodiment flow chart of the management method of interface in the embodiment of the present invention;
Fig. 6 is a kind of one embodiment structure chart of the managing device of interface in the embodiment of the present invention;
Fig. 7 is a kind of schematic block diagram of terminal device in the embodiment of the present invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention Range.
Referring to Fig. 1, a kind of one embodiment of the management method of interface may include: in the embodiment of the present invention
Step S101 obtains the interface message of multiple interfaces.
In the present embodiment, identifier, the interface of title, the corresponding interface of the title of interface in interface message including interface Method of calling, interface type, interface call address (interface access address), parameter (parameter include into parameter, go out ginseng parameter), Parameter type, parameter name etc., server by each interface of test user interface, can obtain the interface letter of each interface Breath.
Preferably, the schematic flow diagram of the interface message of multiple interfaces is obtained in the embodiment of the present invention shown in Figure 2, Step S101 may include:
Step S201 receives the instruction of user interface automatic test, and the user interface automatic test instruction is for referring to Show the test assignment for executing multiple interfaces.
In the present embodiment, when needing to user interface automatic test, server can receive the user of user terminal transmission Interface automation test instruction, is used to indicate the test assignment for executing multiple interfaces, for example, in user interface automatic test mistake All buttons, input frame or the link etc. in user interface can be tested in journey, testing the button, input frame or link is It is no to have mistake.
Step S202 calls multiple interfaces, and it is corresponding to execute multiple interfaces by executing the test assignment of multiple interfaces Interface routine.
In the present embodiment, during executing test assignment, server calls multiple interfaces, root by caller According to multiple interfaces of calling, the corresponding interface routine of multiple interfaces is executed, wherein caller is for indicating calling interface program Program, interface routine is used to indicate the program of interface.For example, calling the corresponding input frame of input frame searched in user interface Caller, input frame caller call the corresponding interface routine of input frame for calling the corresponding interface routine of input frame For executing the corresponding program of interface, whether detection input frame can identify the information that user is inputted, for example, known to input Information is retrieved, by search, checks that whether corresponding with known retrieval information the result of the result of search search be consistent, if searching The result of the result of rope search corresponding with known retrieval information is consistent, then illustrates that this interface of the input frame is normal shape State, if desired modifies the interface, then needs to modify the corresponding interface routine of the interface.
Step S203 obtains the interface message of the multiple interface according to the interface routine of the multiple interface.
In the present embodiment, by executing the corresponding interface routine of multiple interfaces, server can be obtained from interface routine Corresponding interface message includes the code annotation of interface message in the interface routine, according to the code annotation of interface message, Interface message is collected and is stored into default file, carries the code note of self defined interface in interface message here It releases, the code annotation of self defined interface can be used to indicate that the title of corresponding interface, wherein the title of interface in interface message The identifier of corresponding interface can find corresponding interface for indicating the mark to interface, according to mark;Believed according to interface Interface method of calling in breath, can know how corresponding interface calls, if occurring exception in calling process, can modify Interface method of calling is overhauled.
Referring to fig. 2, in the present embodiment, server can pass through institute available in user interface automatic test course Button, input frame or link interface message corresponding with backstage are stated, automatically collecting interface message is realized, reduces artificial receipts Collect interface message workload, and interface covers comprehensively, cost is relatively low, economizes on resources.
Referring to Fig. 1, step S102, the interface characteristics value in the interface message of the multiple interface is arranged respectively at default In interface configuration file, the interface configuration information of multiple interfaces is obtained from the preset interface configuration file postponed, according to institute The interface configuration information of multiple interfaces is stated, interface document is generated.
It include the interface characteristics value of interface in the present embodiment, in interface message, then multiple interfaces that basis is got connecing Message breath, can extract the characteristic value of interface in the interface message, the interface characteristics value may include interface access address (interface call address), parameter (enter parameter, go out ginseng parameter), available corresponding to connect according to the interface access address The journey logic bomb of mouth.The interface characteristics value for the multiple interfaces that will acquire is arranged respectively in preset interface configuration file, from With the interface configuration information for obtaining each interface in the preset interface configuration file postponed, the multiple interfaces that will acquire are connect Mouth configuration information, automatically generates interface document, the interface configuration information of multiple interfaces is stored in the interface document, and described It may include the identifier of interface characteristics value and interface in interface document, can be determined which connects according to the identifier of interface Mouthful, it is worth available corresponding interface access address according to the interface characteristics of interface.
The interface document is sent to user terminal by step S103, so that user terminal passes through the interface document to described Multiple interfaces are safeguarded or are updated.
In the present embodiment, the interface document is sent to user terminal, if the user of user terminal needs to safeguard or updates certain A interface can find corresponding interface by the identifier of interface, be connect by available this of the characteristic value of corresponding interface The corresponding interface access address of mouth is passed through backstage and is modified by the journey logic bomb of the available interface of interface access address Journey logic bomb completes update and maintenance to interface, no longer needs to secondary transformation project, is inserted into self defined interface reputable code, Saving project improvement cost.
In the present embodiment, first by obtaining the interface message of multiple interfaces, the interface message of the multiple interface is extracted In interface characteristics value the interface characteristics value of the multiple interface is generated interface document, can be realized automatically collecting interface Information, and it is not necessary that each interface is based on self defined interface title, it is inserted into code annotation, interface characteristics value need to only be automatically generated Interface document is obtained the interface message of corresponding interface by the interface characteristics value read in interface document, secondary transformation is not present, And cost is relatively low, economizes on resources, and solves the problems, such as the difficult management of interface.
Preferably, interface document, after the interface document is sent to user terminal, this hair shown in Figure 3 are being generated A kind of another embodiment of the management method of interface may include: in bright embodiment
Step S301, receives the maintenance instruction that user terminal is sent, and the maintenance instruction includes the mark for needing the interface safeguarded Know symbol.
In the present embodiment, when the user of user terminal needs to safeguard some or certain interfaces, server needs to receive The maintenance instruction sent to user terminal, further according to the identifier for the interface that the needs carried in the maintenance instruction received are safeguarded, The interface for needing to safeguard is searched in interface document, each interface is artificially collected or screen without passing through, further according to code annotation Search the corresponding interface for needing to safeguard.
Step S302 obtains the needs according to the identifier of the interface for needing to safeguard in the interface document The interface characteristics value of the interface of maintenance, the interface characteristics value include the interface access address of the interface for needing to safeguard.
In the present embodiment, the identifier for the interface safeguarded as needed reads from interface document and needs that safeguards to connect Mouthful the corresponding interface characteristics value of identifier, may include interface access address in the interface characteristics value, the interface access Address is used to indicate that the user of user terminal will to access the path for needing the interface safeguarded, passage path directly accesses needs maintenance Interface, access it is convenient and efficient, reduce resource and the time of waste.
Step S303, obtains the interface code of interface for needing to safeguard from the interface access address, and by institute It states and the interface code for the interface safeguarded is needed to be sent to the user terminal.
In the present embodiment, the interface access address for needing the interface safeguarded is read from the interface characteristics value got, is led to Interface access address is crossed, the interface code for needing the interface safeguarded is obtained and is sent to user terminal, so that user terminal passes through modification Interface code safeguards interface.
Optionally, after receiving to the maintenance instruction of interface, the modification instruction pair of reception user terminal transmission can be passed through Interface is modified, and specifically may refer to a kind of another reality of the management method of interface in the embodiment of the present invention shown in Fig. 4 A flow chart is applied, the management method of the interface can also include the following steps:
Step S401, receives the modification instruction that the user terminal is sent, the modification instruct in carry and described need to safeguard Interface configuration parameter, the configuration parameter include the interface in interface characteristics value enter parameter, go out ginseng parameter;
Step S402 enters parameter and out ginseng parameter according in the modification instruction, to the interface for needing to safeguard Interface characteristics value modify;
Modified interface characteristics value is updated in the interface document by step S403.
In the present embodiment, after server transmission interface code to user terminal, the modification for waiting user terminal to be received to send refers to It enables, if server receives modification instruction, according to the configuration parameter for the interface that the needs carried in modification instruction are safeguarded, passes through Enter parameter and out ginseng parameter in modification configuration parameter, modifies to the interface characteristics value for the interface that needs are safeguarded, and will Modified interface characteristics value is updated in the interface document, to be continuously updated to interface document, guarantees interface Real-time, practicability and the accuracy of document.
In the present embodiment, any one interface can be accessed in real time by interface document or modified in real time any The configuration parameter or interface code of one interface, for example, when project is newly added in user interface or re-creates a project, It needs to establish multiple interfaces, user interface is obtained from interface document, project is newly added or re-creates a project demands The interface characteristics value of interface obtains the corresponding interface code of interface of demand by the interface access address in the characteristic value, The corresponding interface code of the interface of demand is pushed into backstage (user terminal), demand of the developer (user) on backstage to push The corresponding interface code of interface modify, interface code modification after, modified interface code is sent to server, take Business device receives modified interface code, generates new interface, without rewriting interface routine, carries out two without to project Secondary transformation, insertion self defined interface reputable code, can save project improvement cost.
Optionally, a kind of another embodiment stream of the management method of interface in the embodiment of the present invention shown in Figure 5 Cheng Tu, after generating interface document, the management method of the interface can also include:
Step S501 receives the instruction of user interface automatic test, executes the test assignment of total interface, and obtains all The interface characteristics value of interface.
It in the present embodiment, after generating interface document, needs constantly to be managed interface, searches whether there is newly-increased connect Mouthful, interface document is continuously updated.Wherein, it searches whether there is newly-increased interface, needs to receive user interface automatic test Instruction during the test, obtains the interface message of total interface, and believe from the interface of total interface to ui testing The interface characteristics value of total interface is obtained in breath.
Step S502, by total interface characteristic value ratio in the interface characteristics value of the total interface and the interface document It is right, judge whether there is newly-increased interface.
In the present embodiment, it is according to total interface characteristic value, judgement in the interface characteristics value and interface document of total interface It is no exist the interface characteristics value inconsistent with total interface characteristic value in interface document, if it exists with total interface in interface document The inconsistent interface characteristics value of characteristic value then illustrates there is newly-increased interface.
Step S503 increases interface newly if it exists, then stores the interface characteristics value of the newly-increased interface to the interface text In shelves, and to the newly-increased customized name of interface, and the newly-increased interface of customized name is identified.
In the present embodiment, increases interface newly if it exists, need to the customized name of newly-increased interface, and to the new of customized name Increase the corresponding identifier of interface identifier, name customized to newly-increased interface can be to be named according to the function of interface, is used for The user of user terminal knows the function of the newly-increased interface.Wherein, it increases the corresponding identifier of title of the customized name of interface newly, uses In expression, the newly-increased interface can pass through the identifier for increasing interface newly when so that backstage being needed to the maintenance of newly-increased interface or update Find the newly-increased interface.
In the present embodiment, by constantly carrying out user interface automatic test, total interface in test process is obtained Interface message, and the interface characteristics value in the interface message of total interface is read, then by comparing the total interface got The interface characteristics value of the total interface stored in interface characteristics value and interface document, it is determined whether there are newly-increased interfaces, if it exists The interface characteristics value of newly-increased interface, then be stored in interface document, realize the update of interface document by newly-increased interface.
In conclusion extracting connecing for the multiple interface by obtaining the interface message of multiple interfaces in present invention implementation The interface characteristics value of the multiple interface is generated interface document by the interface characteristics value in message breath, be can be realized automation and is received Collection interface message, and it is not necessary that each interface is based on self defined interface title, insertion code annotation only need to be by interface characteristics value certainly It is dynamic to generate interface document.
If the user of user terminal needs to be updated interface or safeguard, the interface for only needing to read in interface document is special Value indicative can directly acquire the interface routine or code of interface, pass through modification by the interface access address in interface characteristics value Interface routine or code modify to interface, can also modify the configuration parameter of interface, realize maintenance and update to interface.
If user interface is newly added project or re-creates a project, need to establish multiple interfaces, it only need to be from connecing It obtains user interface in mouth document project is newly added or re-creates the interface characteristics value of the interface of a project demands, and right The interface carries out secondary modification and customized name is stored, and new interface is generated, without re-starting secondary change to project It makes, and cost is relatively low, economizes on resources, increase interface newly if it exists, then the interface characteristics value of newly-increased interface is stored in interface document In, realize the update of interface document, while solving the problems, such as the difficult management of interface.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to the management method of interface described in foregoing embodiments, Fig. 6 shows one kind provided in an embodiment of the present invention One embodiment structure chart of the managing device of interface.
In the present embodiment, a kind of managing device of interface may include::
Interface message obtains module 601, for obtaining the interface message of multiple interfaces;
Interface document generation module 602, for matching the interface characteristics value in the interface message of the multiple interface respectively It sets in preset interface configuration file, the interface of multiple interfaces is obtained from the preset interface configuration file postponed with confidence Breath generates interface document according to the interface configuration information of the multiple interface;
Interface document sending module 603, for the interface document to be sent to user terminal, so that user terminal is described in Interface document is safeguarded or is updated to the multiple interface.
Further, the interface message obtains module 601, is specifically used for: the instruction of user interface automatic test is received, The user interface automatic test instruction is used to indicate the test assignment for executing multiple interfaces;
By executing the test assignment of multiple interfaces, multiple interfaces are called, and execute the corresponding interface routine of multiple interfaces;
According to the interface routine of the multiple interface, the interface message of the multiple interface is obtained.
Preferably, the managing device of the interface can also include: maintenance instruction receiving module, for receiving user terminal The maintenance instruction of transmission, the maintenance instruction include the identifier for needing the interface safeguarded;
Interface characteristics value first obtains module, for the identifier according to the interface for needing to safeguard, in the interface The interface characteristics value of the interface for needing to safeguard is obtained in document, the interface characteristics value includes the interface for needing to safeguard Interface access address;
Interface code obtains module, for obtaining the interface of the interface for needing to safeguard from the interface access address Code, and the interface code for needing the interface safeguarded is sent to the user terminal.
Preferably, the managing device of the interface can also include: modification command reception module, for receiving the use The modification instruction that family end is sent, it is described to modify the configuration parameter that the interface for needing to safeguard is carried in instruction, the configuration ginseng Number includes entering parameter, going out ginseng parameter for the interface in interface characteristics value;
Modified module safeguards the needs for entering parameter and out ginseng parameter according in the modification instruction The interface characteristics value of interface is modified;
Update module, for modified interface characteristics value to be updated in the interface document.
Preferably, the managing device of the interface can also include: that interface characteristics value second obtains module, for receiving The instruction of user interface automatic test, executes the test assignment of total interface, and obtain the interface characteristics value of total interface;
Judgment module, for by total interface characteristic value in the interface characteristics value of the total interface and the interface document It compares, judges whether there is newly-increased interface;
Memory module, for the interface characteristics value of the newly-increased interface being stored to described and is connect when there is newly-increased interface In mouth document, and to the newly-increased customized name of interface, and the newly-increased interface of customized name is identified.
The schematic block diagram that Fig. 7 shows a kind of terminal device provided in an embodiment of the present invention is only shown for ease of description Part related to the embodiment of the present invention.
In the present embodiment, the terminal device 7 includes: processor 70, memory 71 and is stored in the memory In 71 and the computer program 72 that can run on the processor 70, such as execute the calculating of the management method of above-mentioned interface Machine program.The processor 70 is realized when executing the computer program 72 in the management method embodiment of above-mentioned each interface Step, such as step S101 to S103 shown in FIG. 1.Alternatively, realization when the processor 70 executes the computer program 72 The function of each module/unit in above-mentioned each Installation practice, such as the function of module 601 to 603 shown in Fig. 6.
Illustratively, the computer program 72 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 71, and are executed by the processor 70, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 72 in the terminal device 7 is described.
The terminal device 7 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7 The only example of terminal device 7 does not constitute the restriction to terminal device 7, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
The processor 70 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 71 can be the internal storage unit of the terminal device 7, such as the hard disk or interior of terminal device 7 It deposits.The memory 71 is also possible to the External memory equipment of the terminal device 7, such as be equipped on the terminal device 7 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 71 can also both include the storage inside list of the terminal device 7 Member also includes External memory equipment.The memory 71 is for storing needed for the computer program and the terminal device Other programs and data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of management method of interface characterized by comprising
Obtain the interface message of multiple interfaces;
Interface characteristics value in the interface message of the multiple interface is arranged respectively in preset interface configuration file, from configuration The interface configuration information that multiple interfaces are obtained in preset interface configuration file afterwards matches confidence according to the interface of the multiple interface Breath generates interface document;
The interface document is sent to user terminal, so that user terminal ties up the multiple interface by the interface document Shield updates.
2. the management method of interface according to claim 1, which is characterized in that the interface letter for obtaining multiple interfaces Breath, comprising:
The instruction of user interface automatic test is received, the user interface automatic test instruction, which is used to indicate, executes multiple interfaces Test assignment;
By executing the test assignment of multiple interfaces, multiple interfaces are called, and execute the corresponding interface routine of multiple interfaces;
According to the interface routine of the multiple interface, the interface message of the multiple interface is obtained.
3. the management method of interface according to claim 1, which is characterized in that be sent to the interface document described After user terminal, this method further include:
The maintenance instruction that user terminal is sent is received, the maintenance instruction includes the identifier for needing the interface safeguarded;
According to the identifier of the interface for needing to safeguard, connecing for the interface that the needs are safeguarded is obtained in the interface document Mouth characteristic value, the interface characteristics value include the interface access address of the interface for needing to safeguard;
The interface code of the interface for needing to safeguard is obtained from the interface access address, and needs that safeguards to connect for described The interface code of mouth is sent to the user terminal.
4. the management method of interface according to claim 3, which is characterized in that this method further include:
The modification instruction that the user terminal is sent is received, the configuration ginseng of the interface for needing to safeguard is carried in the modification instruction Number, the configuration parameter include entering parameter, going out ginseng parameter for the interface in interface characteristics value;
According to entering parameter and go out ginseng parameter in the modification instruction, to the interface characteristics value of interface for needing to safeguard into Row modification;
Modified interface characteristics value is updated in the interface document.
5. according to the management method of the described in any item interfaces of claim 2-4, which is characterized in that after generating interface document, This method further include:
The instruction of user interface automatic test is received, the test assignment of total interface is executed, and the interface for obtaining total interface is special Value indicative;
The interface characteristics value of the total interface and total interface characteristic value in the interface document are compared, judged whether there is Newly-increased interface;
It increases interface newly if it exists, then stores the interface characteristics value of the newly-increased interface into the interface document, and to described The newly-increased customized name of interface, and the newly-increased interface of customized name is identified.
6. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realizing the management method of interface as described in any one of claims 1 to 5 when the computer program is executed by processor Step.
7. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes following steps when executing the computer program:
Obtain the interface message of multiple interfaces;
Interface characteristics value in the interface message of the multiple interface is arranged respectively in preset interface configuration file, from configuration The interface configuration information that multiple interfaces are obtained in preset interface configuration file afterwards matches confidence according to the interface of the multiple interface Breath generates interface document;
The interface document is sent to user terminal, so that user terminal ties up the multiple interface by the interface document Shield updates.
8. terminal device according to claim 7, which is characterized in that the interface message for obtaining multiple interfaces, comprising:
The instruction of user interface automatic test is received, the user interface automatic test instruction, which is used to indicate, executes multiple interfaces Test assignment;
By executing the test assignment of multiple interfaces, multiple interfaces are called, and execute the corresponding interface routine of multiple interfaces;
According to the interface routine of the multiple interface, the interface message of the multiple interface is obtained.
9. terminal device according to claim 7, which is characterized in that the interface document is sent to user terminal described Later, following steps are also realized when the processor executes the computer program:
The maintenance instruction that user terminal is sent is received, the maintenance instruction includes the identifier for needing the interface safeguarded;
According to the identifier of the interface for needing to safeguard, connecing for the interface that the needs are safeguarded is obtained in the interface document Mouth characteristic value, the interface characteristics value include the interface access address of the interface for needing to safeguard;
The interface code of the interface for needing to safeguard is obtained from the interface access address, and needs that safeguards to connect for described The interface code of mouth is sent to the user terminal.
10. terminal device according to claim 9, which is characterized in that when the processor executes the computer program Also realize following steps:
The modification instruction that the user terminal is sent is received, the configuration ginseng of the interface for needing to safeguard is carried in the modification instruction Number, the configuration parameter include entering parameter, going out ginseng parameter for the interface in interface characteristics value;
According to entering parameter and go out ginseng parameter in the modification instruction, to the interface characteristics value of interface for needing to safeguard into Row modification;
Modified interface characteristics value is updated in the interface document.
CN201811121971.6A 2018-09-26 2018-09-26 Management method, computer readable storage medium and the terminal device of interface Pending CN109298882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811121971.6A CN109298882A (en) 2018-09-26 2018-09-26 Management method, computer readable storage medium and the terminal device of interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811121971.6A CN109298882A (en) 2018-09-26 2018-09-26 Management method, computer readable storage medium and the terminal device of interface

Publications (1)

Publication Number Publication Date
CN109298882A true CN109298882A (en) 2019-02-01

Family

ID=65164031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811121971.6A Pending CN109298882A (en) 2018-09-26 2018-09-26 Management method, computer readable storage medium and the terminal device of interface

Country Status (1)

Country Link
CN (1) CN109298882A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889587A (en) * 2019-02-12 2019-06-14 青岛海尔科技有限公司 Internet of things system automated construction method, device, equipment and storage medium
CN110244945A (en) * 2019-05-22 2019-09-17 深圳壹账通智能科技有限公司 Interface document generation method and terminal device
CN110413667A (en) * 2019-06-18 2019-11-05 深圳壹账通智能科技有限公司 Interface selection method and device, electronic equipment and computer readable storage medium
CN111240967A (en) * 2020-01-03 2020-06-05 北京字节跳动网络技术有限公司 Code generation method and device
CN111984228A (en) * 2020-07-09 2020-11-24 招联消费金融有限公司 Interface document processing method and device, computer equipment and storage medium
CN112711557A (en) * 2021-01-15 2021-04-27 天津飞腾信息技术有限公司 Interface module of processor, operation method thereof and processor
CN113849404A (en) * 2021-09-23 2021-12-28 北京房江湖科技有限公司 Management method, device and storage medium for interface test related information
CN115766438A (en) * 2023-01-05 2023-03-07 北京锐服信科技有限公司 DPDK-based interface management method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375814A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Generation method and device of an interface document
US20170357927A1 (en) * 2016-06-10 2017-12-14 Accenture Global Solutions Limited Process management for documentation-driven solution development and automated testing
CN107885499A (en) * 2017-10-19 2018-04-06 平安壹钱包电子商务有限公司 A kind of interface document generation method and terminal device
CN108446190A (en) * 2017-02-16 2018-08-24 杭州海康威视数字技术股份有限公司 interface test method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375814A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Generation method and device of an interface document
US20170357927A1 (en) * 2016-06-10 2017-12-14 Accenture Global Solutions Limited Process management for documentation-driven solution development and automated testing
CN108446190A (en) * 2017-02-16 2018-08-24 杭州海康威视数字技术股份有限公司 interface test method and device
CN107885499A (en) * 2017-10-19 2018-04-06 平安壹钱包电子商务有限公司 A kind of interface document generation method and terminal device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
T.N. NGUYEN ETC.: "Managing the evolution of Web-based applications with WebSCM", 21ST IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM\'05) *
曹原;: "利用版本管理工具实现定制软件文档的自动化生成", 信息通信, no. 12 *
李凯凯: "基于REST的云存储服务接口的研究与实现", 中国优秀硕士论文电子期刊网 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889587A (en) * 2019-02-12 2019-06-14 青岛海尔科技有限公司 Internet of things system automated construction method, device, equipment and storage medium
CN110244945A (en) * 2019-05-22 2019-09-17 深圳壹账通智能科技有限公司 Interface document generation method and terminal device
CN110413667A (en) * 2019-06-18 2019-11-05 深圳壹账通智能科技有限公司 Interface selection method and device, electronic equipment and computer readable storage medium
CN111240967A (en) * 2020-01-03 2020-06-05 北京字节跳动网络技术有限公司 Code generation method and device
CN111240967B (en) * 2020-01-03 2023-09-15 北京字节跳动网络技术有限公司 Code generation method and device
CN111984228A (en) * 2020-07-09 2020-11-24 招联消费金融有限公司 Interface document processing method and device, computer equipment and storage medium
CN111984228B (en) * 2020-07-09 2023-12-12 招联消费金融有限公司 Interface document processing method and device, computer equipment and storage medium
CN112711557A (en) * 2021-01-15 2021-04-27 天津飞腾信息技术有限公司 Interface module of processor, operation method thereof and processor
CN112711557B (en) * 2021-01-15 2022-11-18 飞腾信息技术有限公司 Interface module of processor, operation method thereof and processor
CN113849404A (en) * 2021-09-23 2021-12-28 北京房江湖科技有限公司 Management method, device and storage medium for interface test related information
CN115766438A (en) * 2023-01-05 2023-03-07 北京锐服信科技有限公司 DPDK-based interface management method and system
CN115766438B (en) * 2023-01-05 2023-04-18 北京锐服信科技有限公司 DPDK-based interface management method and system

Similar Documents

Publication Publication Date Title
CN109298882A (en) Management method, computer readable storage medium and the terminal device of interface
TWI729472B (en) Method, device and server for determining feature words
CN107885499A (en) A kind of interface document generation method and terminal device
CN109034993A (en) Account checking method, equipment, system and computer readable storage medium
US11256712B2 (en) Rapid design, development, and reuse of blockchain environment and smart contracts
WO2019161645A1 (en) Shell-based data table extraction method, terminal, device, and storage medium
CN110515896A (en) Model resource management method, model file production method, device and system
CN108319711A (en) Transaction consistency test method, device, storage medium and the equipment of database
CN110389812A (en) For managing the method, equipment and computer readable storage medium of virtual machine
CN110414926A (en) Account management method, device and computer readable storage medium
CN111221698A (en) Task data acquisition method and device
CN109815112A (en) Data debugging method, apparatus and terminal device based on functional test
CN113282850B (en) Resource tag management method, device, electronic equipment, system and storage medium
CN112579454B (en) Task data processing method, device and equipment
CN109634569A (en) Process implementation method, device, equipment and readable storage medium storing program for executing based on note
CN109992476A (en) A kind of analysis method of log, server and storage medium
CN117093619A (en) Rule engine processing method and device, electronic equipment and storage medium
CN107943912A (en) A kind of response type Resource TOC data visualization management method, terminal and device
CN103559574A (en) Method and system for operating workflow
CN111401934A (en) Distributed advertisement statistical method and device
CN116243910A (en) Micro-service domain division method and device, electronic equipment and storage medium
JP2013077124A (en) Software test case generation device
CN115543428A (en) Simulated data generation method and device based on strategy template
CN114860879A (en) Data association method, device, equipment and computer storage medium
CN114896418A (en) Knowledge graph construction method and 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