Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

195 results about "Interface definition" patented technology

Interface Definition. An interface is a shared boundary or connection between two dissimilar objects, devices or systems through which information is passed.

Method and system for automatically generating intelligent adaptation layer based on API (Application Program Interface) change

The invention discloses an automatic generation method and system for an intelligent adaptation layer based on API change. The method comprises the steps that API change detection is conducted according to new and old version API interface definitions, adaptation codes are generated according to an API change detection result and compiled into a compatible adaptation layer library, and the compatible adaptation layer library is packaged into an installation package; in the installation stage, the new version target library and the compatible adaptation layer library are installed in a target directory; and loading the compatible adaptation layer library prior to the new-version target library in the running stage, taking over and processing the old-version API interface through the compatible adaptation layer library, and transferring the new-version API interface in the new-version target library. The invention aims to solve the compatibility problem caused by the API change of the software library, realize the automatic generation of the intelligent adaptation layer to ensure the seamless compatibility of the application program with different version libraries under the RPM and other software package management systems, and reduce the maintenance workload for solving the incompatibility problem caused by the API change.
Owner:QILIN XINAN (GUANGDONG) TECHNOLOGY CO LTD

Automatic testing method, system and equipment applied to WSDL sending interface and medium

The invention discloses an automatic test method, system and device applied to a WSDL sending interface and a medium, and the method comprises the steps: associating a single test case into various scenes through a scene page preset parameter rule, and verifying the coupling between interface response and scene logic in real time during automatic execution; a WSDL interface definition and parameterization rule engine is dynamically analyzed, and automatic execution of multiple test cases is achieved; encrypted feedback data flow returned by an interface is captured in real time, key indexes are dynamically analyzed and extracted, automatic comparison and root cause tracing are carried out based on a multi-dimensional verification rule, and a test report is generated. According to the method, the problems that interface testing depends on manual coding, the process is split and the maintenance cost is high in aerospace engineering can be solved, zero-code rapid verification, forward and reverse closed-loop testing and interface change self-adaptive maintenance are achieved, and the aerospace software testing efficiency and reliability are remarkably improved.
Owner:ORIENTAL SPACE TECH (SHANDONG) CO LTD

Back-end interface document generation method and device, electronic equipment and storage medium

The invention relates to the field of computers, and provides a back-end interface document generation method and device, electronic equipment and a storage medium. The method comprises the following steps: separating an API interface definition item from an obtained target back-end item; analyzing the target interface item based on a target interface conversion class in the interface conversion core device to obtain target interface information corresponding to the target interface item; the target interface item is determined from the API interface definition item based on the target interface conversion class; the target interface information is subjected to format conversion, the target interface information subjected to format conversion is synchronized to a target interface management platform, and the target interface management platform is used for generating a rear-end interface document corresponding to the target interface information. According to the embodiment of the invention, the workload of manual compiling of the interface information and generation of the back-end interface document can be greatly reduced, so that the docking efficiency in the whole docking process of the front-end interface information and the back-end interface information is greatly improved.
Owner:CHINA MOBILE GROUP DESIGN INST +1

Graphical user interface generation method and device, storage medium and electronic equipment

The invention provides a graphical user interface generation method and device, a storage medium and electronic equipment, and relates to the technical field of computers.The method comprises the steps that an interface definition file input by a user is received; analyzing the interface definition file to obtain a semantic unit in the interface definition file, the semantic unit comprising an interface function, a data structure and a field meaning; matching the semantic unit with a pre-constructed template knowledge base to obtain a target interface template; and mapping data in the interface definition file to a corresponding node of the target interface template to generate a target graphical user interface. By applying the method provided by the embodiment of the invention, the generation efficiency and reliability of the graphical user interface can be improved.
Owner:TSINGHUA UNIVERSITY

Multi-dimensional test sample automatic generation method and system based on intelligent agent

PendingCN122045051ASemantic depth understandingSemantic understanding, deep understandingError detection/correctionBiological modelsData setAlgorithm
The invention relates to the technical field of software testing, and discloses an agent-based multi-dimensional test sample automatic generation method and system.The agent-based multi-dimensional test sample automatic generation method comprises the steps that code changes are captured, interface definitions are extracted, and multi-source data are fused for consistency verification; constructing a multi-dimensional dependency graph and analyzing the change influence to obtain an associated interface list; generating a multi-dimensional test scene; performing parameter traceability and consistency derivation, and initializing test data and environment to obtain a complete test data set; generating a use case code, and performing hierarchical optimization and executable verification; test arrangement optimization and automatic execution are carried out, and faults are monitored and diagnosed in real time; carrying out multi-dimensional analysis and defect identification, dynamically evaluating the value of a test case and optimizing a test strategy to obtain a comprehensive test report; according to the invention, full-process automation of test case generation is realized, the test efficiency and quality are improved, and the test maintenance cost is reduced.
Owner:SHANGHAI BANZAI INFORMATION TECH CO LTD

Model-based electronic information product interface definition and mapping method and device

The invention discloses a model-based electronic information product interface definition and mapping method and device, and the method comprises the steps: defining a logic layer interface model of a single machine according to the logic function of an interface, decomposing and refining a black box function logic interface of a subsystem and a flow item borne by the black box function logic interface, and capturing all external interfaces of the concerned single machine; defining a physical layer interface model of the single machine, describing physical node information in the interface, and replacing the type of the external interface of the single machine from the logic layer interface model to the corresponding physical layer interface model; defining an equipment layer interface of the single machine, and generating single machine external electrical connector node information based on a mapping relation between the physical layer interface and the equipment layer interface; obtaining a user-defined interface information table, and generating an interface data list containing single-machine external connectors and connector node information based on the incidence relation of the model information; and analyzing a structured text which is exported by the SysML model and contains detailed information of a single-machine interface through a schematic diagram design tool, and automatically creating a schematic diagram design model of a corresponding interface connector.
Owner:SHANGHAI AEROSPACE COMP TECH INST

Apparatuses, methods, and computer program products for monitoring performance of a server-based application associated with server interface functionality

Methods, apparatuses, or computer program products that provide for monitoring performance of a server-based application associated with server interface functionality. In some examples, an interface definition data object that comprises a set of interface rules associated with managing communications between components of a multi-component system of an application framework is received, a server-based application associated with a particular type of programming format from a plurality of programming formats is generated based at least in part on the set of interface rules associated with the interface definition data object, utilization of the server-based application is initiated via the multi-component system of the application framework, and one or more actions associated with the server-based application is initiated based at least in part on whether the utilization of the server-based application satisfies defined performance criteria for the server-based application.
Owner:ATLASSIAN PTY LTD

Inspection task configuration method and system based on mandatory behavior interface and structured scene file

The invention discloses an inspection task configuration method and system based on a mandatory behavior interface and a structured scene file, and the method comprises the steps: providing functional module items which forcibly achieve a unified behavior interface in a graphical designer, and enabling a user to form an inspection flow chart through dragging; writing the flow chart into a structured scene file through a serialization method defined by an interface; the emulator and the deployment tool load the file respectively, function module items are reconstructed through deserialization, an execution method of the function module items is directly called for logic verification, or robot instructions are generated through analysis. According to the method, a unified interface is used for binding graphs and logics, a single scene file is used for connecting the whole process of design, simulation and deployment, the problems that in a traditional scheme, operation is complex, and data splitting and semantics are inconsistent are solved, the purpose that line is achieved through programming is achieved, the configuration threshold is remarkably lowered, and development efficiency and system reliability are improved.
Owner:SUPER HIGH VOLTAGE BRANCH OF STATE GRID JIANGXI ELECTRIC POWER CO LTD

Unmanned vehicle group collaborative test system and method based on middleware and interface definition

The invention relates to the technical field of testing, in particular to an unmanned vehicle group collaborative testing system based on middleware and interface definition, which adopts a layered architecture design and comprises a testing application layer, a testing core layer, an interface definition layer, a middleware layer and a testing agent layer. By adopting the testing system which is defined based on middleware and an interface and takes an interactive command line interface as a core, the efficiency and the accuracy of command lines and the flexibility of automatic and interactive debugging are ingeniously combined, and challenges caused by isomerism are effectively solved by utilizing a standardization technology; therefore, in multiple dimensions such as test efficiency, user experience, control precision, automation degree, system compatibility, expandability, repeatability and reliability, the method is obviously superior to the prior art.
Owner:SHENYANG AEROSPACE UNIVERSITY

Bank and medical interface adaptation method, system and device based on multi-protocol adaptation and intelligent verification and medium

The invention discloses a bank and medical interface adaptation method, system and device based on multi-protocol adaptation and intelligent verification and a medium, mainly relates to the technical field of interface adaptation, and is used for solving the problem that a traditional interface adaptation scheme lacks a unified configuration management and protocol adaptation mechanism, and the configuration management and protocol adaptation are not uniform in the parameter transmission process. And calling failure is often caused by the problems of non-standard format, field missing and the like. Comprising the steps of configuring a corresponding communication protocol based on an interface definition of a target system; constructing a standardized request body according to the interface definition; obtaining a verification rule corresponding to the standardized request body, and verifying the field integrity and format requirements of the standardized request body through the verification rule; when an interface calling request is triggered, transmitting a standardized request body meeting field integrity and format requirements to a target system corresponding to interface calling through a communication protocol; obtaining return data of the target system; performing formatting analysis on the returned data to obtain analyzed data; and extracting a return result from the analyzed data.
Owner:INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD

API interface development method and device, equipment and storage medium

The invention discloses an API interface development method and device, equipment and a storage medium, and relates to the technical field of software development, and the method comprises the following steps: determining API interface definition and interface implementation, storing API interface definition information and interface implementation in an interface definition table and an interface implementation table, determining a binding relationship between the API interface definition and the interface implementation, and storing the binding relationship in a binding relationship table; determining a target HTTP request, querying an API interface definition based on a request path, determining target interface implementation, and loading the target interface implementation to a memory; calling a preprocessor to process an original request parameter of the target HTTP request to obtain a processed request parameter, and executing processing logic on the processed request parameter based on the implementation mode to obtain an execution result; and processing the execution result by using a rear processor to obtain a target processing result, and obtaining an HTTP response object according to the target processing result and sending the HTTP response object to the calling party. The flexibility and expansibility of the interface can be improved.
Owner:HENAN HUJIAJIA HEALTH TECH CO LTD

Implementation method and device for application atomization fusion arrangement based on OPENAPI

The invention provides an implementation method and device for application atomization fusion orchestration based on OPENAPI, and relates to the technical field of computer application, and the method comprises the steps of service disassembly and interface definition, service registration and discovery, orchestration and adaptive execution, data processing and mapping, security management and control, and integrated deployment and operation and maintenance. According to the invention, by splitting complex services into atomization services and defining interfaces according to OpenAPI specifications, service management is facilitated, the integration cost is reduced, and the flexibility and expansibility of the system are improved; by constructing a service registration center and combining a weighted polling algorithm, load balancing is realized, and efficient and stable calling of services is guaranteed; an API gateway, a containerization technology and an automatic operation and maintenance system are utilized to realize service rapid deployment, elastic expansion and intelligent operation and maintenance; meanwhile, data are processed through semantic analysis, format conversion and the like, and multi-level identity verification and encryption are adopted to guarantee safety.
Owner:HANGZHOU HUASI COMM TECH CO LTD

Interoperable Composite Data Units for use in Distributed Computing Execution Environments

Disclosed implementations provide executable models, such as artificial intelligence models that can be owned, traded, and used in various execution environments. By coupling a model with a strictly defined interface definition, the model can be executed in various execution environments that support the interface. Coupling the model with a non-fungible cryptographic token allows the model and other components to be owned and traded as a unit. The tradeable composite units have utility across multiple supported execution environments, such as video game environments, chat bot environments and financial trading environments. Additionally, the interface allows for the creation of pipelines and systems from multiple complementary composite units.
Owner:FV ASSET SPV LLC

Micro-service deployment method

The invention discloses a micro-service deployment method, which realizes dynamic switching between combined deployment and split deployment through single configuration, and solves the problems of high resource cost and rigid deployment mode in the traditional micro-service architecture. The system controls a deployment form through configuration parameters: in a merging mode, all service modules are packaged into a single application, interaction is realized through local calling, and the method is suitable for a resource limited scene; in the splitting mode, each module is independently deployed as a micro-service, dynamic discovery and remote calling are realized by means of a service registration center, and elastic expansion is supported. According to the scheme, interface uniqueness and component registration are guaranteed to be conflict-free through standardized interface definition and hierarchical component naming rules, and targeted verification is executed for different modes in the starting stage. According to the method, bimorphic deployment of the same set of codes is achieved, the hardware cost can be reduced by 50% or above through the merging mode, the resource utilization rate and the system availability are improved through the splitting mode, and the method is suitable for the full-scene requirement from small and medium-sized enterprises to a large distributed system.
Owner:BEIJING TIANWEI CHENGXIN ELECTRONIC COMMERCE CO LTD

Method, device, equipment, medium and product for creating digital assistant

The embodiment of the invention provides a method, device and equipment for creating a digital assistant, a medium and a product. The method comprises the following steps: acquiring registration information of a first assistant application platform, wherein the registration information at least comprises a first interface definition for issuing a digital assistant on the first assistant application platform; receiving release confirmation information of the target digital assistant, wherein the release confirmation information indicates that the target digital assistant is released to the first assistant application platform; and in response to the issuing confirmation information, issuing the target digital assistant to the first assistant application platform at least based on the first interface definition. Therefore, the assistant creation platform can have the capability of customizing the assistant application platform, so that the assistant application platform can autonomously access the assistant creation platform. Further, based on the assistant creation platform, the creator can publish its created digital assistant to the assistant application platform.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Vehicle body domain controller hardware-in-loop simulation method under AUTOSAR architecture

The invention discloses a vehicle body domain controller hardware-in-the-loop simulation method under an AUTOSAR architecture, and the main conception of the method is that based on the standardized interface definition of an AUTOSAR basic software layer, an HIL cabinet hardware channel standardized mapping relation library is established, and thus a hardware corresponding relation configuration file template is constructed; establishing a subsystem simulation model for each functional module and constructing a three-layer decoupling architecture in combination with different functional specifications to realize dynamic binding of test software and a hardware channel; then, based on an actual hardware interface and software function definition, a simulation test bench is built, and verification is completed; and finally, generating an automatic test case based on the function specification, and carrying out the function test of each subsystem of the vehicle body domain controller in the current test environment. According to the invention, the rack development period is obviously shortened, the flexibility and expandability of the test environment are improved, and the full-life-cycle test verification capability optimization is realized.
Owner:ANHUI JIANGHUAI AUTOMOBILE GRP CORP LTD

Bridging method and system for cross-language interface of KaihongOS, terminal and storage medium

The invention relates to the technical field of computer software, and discloses a bridging method and system for a cross-language interface of KaihongOS, a terminal and a storage medium. The method comprises the steps that an interface definition file is analyzed, and function declaration information of a target interface is obtained; analyzing a native interface definition file to obtain implementation information of a native interface corresponding to the target interface; and based on the function declaration information and the implementation information, according to a preset bridging rule, automatically generating a bridging function code conforming to a target operation environment, and bridging a cross-language interface through the bridging function code. According to the method, through automatic analysis and code generation, the bridging function code meeting the target operation environment is automatically generated by improving the code quality, and repeated labor and potential errors in manual writing are avoided. A preset bridging rule ensures the consistency and maintainability of codes, the technical threshold can be effectively reduced, and the project cycle is shortened.
Owner:深圳开鸿数字产业发展有限公司

Document synchronization method and apparatus for code change, and electronic device

The application relates to the technical field of distributed applications, and discloses a document synchronization method for code change, which comprises the following steps: in response to a code deployment request, monitoring code change through a change capturing engine and obtaining a unified change set; performing document paragraph positioning on an interface definition file according to the unified change set, constructing a change-paragraph mapping list and a document synchronization task; performing acceptance review on the document synchronization task based on acceptance rules to obtain a review result; and making a decision based on a blocking condition and the unified change set, the change-paragraph mapping list and the review result to determine whether to block code deployment and complete document synchronization. The method can realize accurate positioning of abstract code change to technical document paragraphs, form a unified and feasible evidence chain to jointly drive a document synchronization process and decision-making. The application further discloses a document synchronization device for code change and electronic equipment.
Owner:QINGDAO JUSHANGHUI NETWORK TECH CO LTD

Json-based interaction and verification method, system and device

The application relates to the technical field of computers, in particular to a json-based interaction and verification method, system and device, which comprises the following steps: defining general json transmission data in advance through business modeling; receiving a hypertext transfer protocol request and reading corresponding general json transmission data; analyzing the general json transmission data to obtain request parameters; analyzing the request parameters to obtain input parameter description; verifying whether the input parameter description is legal; if yes, executing business logic and returning obtained request result data; and if no, directly returning an exception; the method solves the problem that existing interface definition needs to be defined and developed by front-end developers and back-end developers, which not only leads to heavy development workload, but also increases the communication cost of developers; the method provided by the application can make developers coordinate and connect through defined general json transmission data, shortens the development cycle and improves the development efficiency.
Owner:HAOYUN TECH CO LTD

High-efficiency data transmission method and system based on Arrow Flight

The invention discloses an efficient data transmission method and system based on Arrow Flight, and the method comprises the steps: achieving the direct interaction between Spark and an Arrow Flight Server based on a self-defined data source interface of a Spark DataSource API (Application Program Interface); the method comprises the following steps: defining a data reading process through a Scan interface of Spark, and acquiring distributed data in an Arrow Flight Server by adopting a parallel fragmentation mode; the method comprises the following steps of: customizing a batch processing reading process in Spark, and converting a data format obtained from an Arrow Flight Server into a column type storage format of the Spark; and designing a connection pool management and fault-tolerant mechanism. According to the method and the system, direct connection with an Arrow Flight Server is realized by creating a self-defined data source interface based on a Spark framework, and the performance and the stability of data interaction between systems in a big data environment are improved by utilizing efficient data fragmentation, batch transmission and column storage format conversion technologies, a connection pool and an automatic retry mechanism.
Owner:CHINA UNITECHS

Interoperable composite data units for use in distributed computing execution environments

Disclosed implementations provide executable models, such as artificial intelligence models that can be owned, traded, and used in various execution environments. By coupling a model with a strictly defined interface definition, the model can be executed in various execution environments that support the interface. Coupling the model with a non-fungible cryptographic token allows the model and other components to be owned and traded as a unit. The tradeable composite units have utility across multiple supported execution environments, such as video game environments, chat bot environments and financial trading environments. Additionally, the interface allows for the creation of pipelines and systems from multiple complementary composite units.
Owner:FV ASSET SPV LLC

Data generation method, test method, related device and related system

The invention discloses a data generation method, a test method, a related device and a related system, and relates to the technical field of software testing, the data generation method comprises the following steps: obtaining product related data of a target product, the product related data comprising product demand data and / or interface definition data; using the large model to generate a test outline according to the product demand data, and using the large model to generate a test case according to the product demand data and the test outline; and / or utilizing the large model to generate an interface test script according to the interface definition data. According to the data generation method disclosed by the invention, the test cases and the test scripts can be automatically generated by utilizing a large model, and compared with a manual writing mode, the acquisition efficiency of the test cases and the test scripts is greatly improved, and the labor cost and the technical threshold are greatly reduced; and the acquisition efficiency of the test case and the interface test script is greatly improved, so that the test efficiency is greatly improved.
Owner:IFLYTEK CO LTD

Method for exchanging interface information relating to PCI-Express interface

The invention relates to a method for exchanging interface information between different communication partners for communication between communication partners (3, 4) by PCI-Express, comprising the following steps: a) ascertaining an interface definition (7), which describes a memory region (8) and a memory internal layout of a first communication partner (4), the second communication partner (3) should access the memory region in order to read and / or write data; b) creating a serialized form of the interface definition (7) ascertained in step a); c) providing the serialized form of the interface definition (7) created in step b) to the second communication partner (3); and d) automatically configuring the second communication partner (3) with the provided interface definition (7) for communication of the communication partners (3, 4). The invention also relates to a system (1) for data processing.
Owner:ROBERT BOSCH GMBH

Interface design method and system suitable for rail transit engineering geological data interaction

The invention discloses an interface design method and system suitable for rail transit engineering geological data interaction, and the method comprises the steps: defining key information defined by an interface, including an interface name, a request parameter and a return parameter; defining related specification constraints of interface development, including interface protocol and standard requirements, interface version specification agreement, state code return and error processing, and data type coding; and on the basis of the determined key information defined by the interface and related specification constraints of interface development, in combination with service requirements, completing interface design suitable for rail transit engineering geological data interaction. Through reasonable interface design, efficient transmission and sharing of geological data can be realized, multi-specialty cooperative work is promoted, and powerful support is provided for construction and operation of rail transit engineering.
Owner:CHINA RAILWAY FIRST SURVEY & DESIGN INST GRP +1

Supply chain finance-oriented management platform system and non-sensing upgrading method thereof

The application discloses a management platform system for supply chain finance and a non-sensing upgrade method thereof, has the effects of local pilot, small flow verification, automatic observation, rapid rollback, and protects the consistency of in-transit instances and the continuity of key transactions. The system comprises: an infrastructure layer, which provides process arrangement, rule and model execution, event driving, configuration management, task compensation, security authentication and full-link observability, supports the non-sensing upgrade core mechanism including multi-version parallel running, shadow verification, gray release and automatic rollback of the upper-layer business, an interaction layer, which provides unified authentication, permission and configurable menu, supports displaying differentiated functions according to organizations / roles, a domain service layer, which is used for encapsulating business logic operations in the platform, coordinating multiple parties to complete cross-entity transactional tasks, and ensuring the consistency and integrity of business rules, and a fund and channel adaptation layer, which abstracts multiple protocols by using a contract / interface definition language, automatically generates basic adapters, and unifies strategies.
Owner:SHANGHAI HUIFU LIANKE INFORMATION TECHNOLOGY CO LTD

Interface processing

A method, a device, and a storage medium for interface processing are provided. In the method, in response to a request to create an interface, an interface definition for the interface is obtained, a first definition content in the interface definition and a prompt are provided to a machine learning model, to obtain a second definition content generated by the machine learning model for the interface. The interface definition for the interface is updated based on the second definition content, and the interface is created with the updated interface definition.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Remote procedure calling method and device, electronic equipment, storage medium and program product

The invention provides a remote procedure call method. The remote procedure call method comprises the steps of obtaining an interface definition of a target remote procedure call method based on a service identifier and a method identifier input by a user; obtaining a target query index configured by a user based on the interface definition and a query condition of the target query index; in response to a received query request for the target query index, generating a remote procedure call request stream based on the service identifier, the method identifier, the target query index and a query condition of the target query index; sending the remote procedure call request stream to a remote procedure call server; and obtaining and returning a return value corresponding to the target query index from a remote procedure call response stream received by the remote procedure call server. The invention further provides a remote procedure calling device, electronic equipment, a computer readable storage medium and a computer program product.
Owner:BEIJING YOUZHUJU NETWORK TECH CO LTD

Expansion function calling method and device, computer equipment and storage medium

The invention relates to the technical field of wireless communication, in particular to an expansion function calling method and device, computer equipment and a storage medium. The method comprises the steps of receiving an expansion function calling request sent by a demand end through a target interface; wherein the target interface is an AIDL (Android Interface Definition Language) interface or a JS API (Application Programming Interface) interface based on a script language; in response to the expansion function calling request, selecting a target expansion function meeting the function scheduling demand of the demand end from the candidate expansion functions; and feeding back function calling information of the target expansion function to the demand end, so that the demand end calls the target expansion function based on the function calling information. According to the application, the terminal dynamically opens the expansion capability to the 5G enhanced call, it is ensured that the H5 application program can be quickly accessed, the expansion function is dynamically opened to the H5 application program, and the tedious degree of the H5 application program for the expansion function calling process is reduced.
Owner:CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1

Method and system for automatically generating command line automatic test interface

The invention relates to the technical field of software testing, in particular to a method and system for automatically generating a command line automatic testing interface, and the method comprises the steps: automatically obtaining description information of a command line interface; the description information is analyzed through a self-adaptive interface information analysis engine, structured interface definition information is obtained, and the self-adaptive interface information analysis engine is configured to conduct credibility evaluation on data in the analysis process based on a multi-dimensional credibility dynamic quantification model to obtain structured interface definition information; judging whether to update the own analysis template or not based on the evaluation result; selecting a corresponding automatic test interface template according to the target programming language; and based on the structured interface definition information, filling the selected automated test interface template to generate a test interface code file. By automatically generating the command line automatic test interface, the test efficiency is improved, manual errors can be reduced, and the stability and reliability of the software interface are ensured.
Owner:FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD

Code generation method and system of server based on OpenAPI (Open Application Program Interface)

The invention discloses a code generation method and system of a server based on an OpenAPI. The invention relates to the technical field of software development. Reading and analyzing an OpenAPI document specified by a user, and extracting an interface definition, parameter information and a return type in the OpenAPI document; and according to the template identifier selected by the user, loading the corresponding organization self-defined server engineering template from the template library. The file comprises a complete file structure and a preset filling variable; scanning the loaded template file, and identifying and recording positions and names of all filling variables to form a list of variables to be filled; and for each variable in the filling variable list, trying to extract corresponding information from the OpenAPI document for filling. The traditional manual coding mode is time-consuming and easy to make mistakes, while the method greatly shortens the development period by automatically generating codes. A developer only needs to pay attention to customization of the OpenAPI document and the template, the server engineering file meeting the requirement can be rapidly generated, and therefore the delivery speed of a project is increased.
Owner:BEIJING BAIJU YIXING TECH CO LTD