CN107463409A - A kind of interface conversion method, interface convertor, storage medium and electric terminal - Google Patents

A kind of interface conversion method, interface convertor, storage medium and electric terminal Download PDF

Info

Publication number
CN107463409A
CN107463409A CN201710685613.7A CN201710685613A CN107463409A CN 107463409 A CN107463409 A CN 107463409A CN 201710685613 A CN201710685613 A CN 201710685613A CN 107463409 A CN107463409 A CN 107463409A
Authority
CN
China
Prior art keywords
field
interface
request
partner
user
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
CN201710685613.7A
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.)
Shenzhen Lexin Software Technology Co Ltd
Original Assignee
Shenzhen Lexin Software 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 Shenzhen Lexin Software Technology Co Ltd filed Critical Shenzhen Lexin Software Technology Co Ltd
Priority to CN201710685613.7A priority Critical patent/CN107463409A/en
Publication of CN107463409A publication Critical patent/CN107463409A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of interface conversion method, interface convertor, storage medium and electric terminal.This method includes obtaining the system source field that user is set based on visual configuration interface;Field and the matching relationship of system source field in the interface document that user is set based on visual configuration interface are obtained, interface document is generated based on the matching relationship;When receiving the request field of partner, the request field is converted to by system source field according to the interface document, so that system performs request or response operation according to service logic.Using above-mentioned technical proposal, without changing operation system code, rapid abutting joint partner, the slitless connection with partner's business is realized;Meanwhile also interface attended operation flow is simplified, reduces the interface maintenance cost of more partners based on the visual configuration interface side of cooperating interface management.

Description

A kind of interface conversion method, interface convertor, storage medium and electric terminal
Technical field
The present embodiments relate to computer technology, more particularly to a kind of interface conversion method, interface convertor, storage Jie Matter and electric terminal.
Background technology
With the development of computer technology, the cooperation of enterprise and external collaboration side is more and more closer.Due between partner The communication and issue of data are realized by interface.More and more with the quantity of partner, corresponding interface is also more and more, is Interface maintenance work brings great difficulty.
Meanwhile in face of new projects reach the standard grade demand when, except to safeguard existing project, it is also necessary to put into more people Power develops new projects, and the exploitation of new business interface is carried out according to new interface document, adds project cost, and reduce out Send out efficiency.
The content of the invention
The embodiment of the present invention provides a kind of interface conversion method, interface convertor, storage medium and electric terminal, can be fast The docking partner of speed.
In a first aspect, the embodiments of the invention provide a kind of interface conversion method, including:
Obtain the system source field that user is set based on visual configuration interface;
Field and the matching relationship of system source field in the interface document that user is set based on visual configuration interface are obtained, Interface document is generated based on the matching relationship;
When receiving the request field of partner, the request field is converted to by system source according to the interface document Field, so that system performs request or response operation according to service logic.
Second aspect, the embodiment of the present invention additionally provide a kind of interface convertor, and the device includes:
Source field configuration module, the system source field set for obtaining user based on visual configuration interface;
File generating module, field and system in the interface document set for obtaining user based on visual configuration interface The matching relationship of source field, interface document is generated based on the matching relationship;
Field modular converter, for when receiving the request field of partner, described will be asked according to the interface document Field is asked to be converted to system source field, so that system performs request or response operation according to service logic.
The third aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, interface conversion method as described in the present embodiment of the invention is realized when the program is executed by processor.
Fourth aspect, the embodiment of the present invention additionally provide a kind of electric terminal, including memory, processor and are stored in On reservoir and the computer program that can run on a processor, such as this hair is realized described in the computing device during computer program Interface conversion method described in bright embodiment.
The embodiment of the present invention provides a kind of interface conversion scheme, is set based on visual configuration interface by obtaining user System source field;Field and the matching of system source field in the interface document that user is set based on visual configuration interface is obtained to close System, interface document is generated based on the matching relationship;, will according to the interface document when receiving the request field of partner The request field is converted to system source field, so that system performs request or response operation according to service logic.Using above-mentioned Technical scheme, without changing operation system code, rapid abutting joint partner, realize the slitless connection with partner's business;Meanwhile The visual configuration interface side of cooperating interface management is also based on, for the configuration information of user's input, due to that need not change generation Code can come into force in real time, simplify interface attended operation flow, reduce the interface maintenance cost of more partners.
Brief description of the drawings
Fig. 1 is a kind of flow chart of interface conversion method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another interface conversion method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another interface conversion method provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of interface convertor provided in an embodiment of the present invention;
Fig. 5 is a kind of structured flowchart of electric terminal provided in an embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Interface is the channel that system realizes partner's access.In correlation technique, the mode for realizing partner's access is mainly Both sides exchange interface document, are developed together and joint debugging according to both sides or multi-party interface document, and test completions, finally issue Two-wire.Wherein, development process is the interface document that system research and development personnel provide according to partner, is carried out according to the interface document new Business interface is developed.With the fast development of business event, partner is more and more, because the access of partner is real by interface It is existing, then the interface of docking also can be more and more, and the maintenance work of interface will become extremely difficult.Meanwhile for new conjunction The interface document of work side, it is necessary to spend manpower and physics develop corresponding to new business interface, further increase interface maintenance The difficulty of work, interface exploitation is less efficient, so as to so that the time increase that project is reached the standard grade required.
Fig. 1 is a kind of flow chart of interface conversion method provided in an embodiment of the present invention, and the present embodiment is applicable to be directed to Situation of the distinct interface document without writing interface routine again again, be particularly suitable for use in financial field, and this method can be by interface Conversion equipment performs, wherein, the device can be realized by software and/or hardware, typically can be integrated in electric terminal.Such as Fig. 1 It is shown:
Step 110, obtain the system source field that user is set based on visual configuration interface.
Wherein, visual configuration interface is human-computer interaction interface, including source field configuration feature, system database rule are matched somebody with somebody Put function, test environment, issue environment and production environment configuration feature etc..User input system source in visual configuration interface Field, system database rule configuration information, test environment, issue environment and production environment.Wherein, test environment includes test Parameter and test environment URL (Uniform Resource Locator, unified finger URL) address etc..Issuing environment includes issue Parameter issue test environment URL addresses etc..Production environment includes manufacturing parameter and production environment URL addresses etc..Optionally, can be Configuration information is inputted in the window control of the setting position at visual configuration interface.System is detecting that user matched somebody with somebody based on visualization After the system source field for putting interface setting, the system source field is stored in database is set or quilt is marked in system database The system source field of user's setting.It is understood that the mode of mark can have many kinds, the embodiment of the present invention is not made to have Body limiting mode.For example, it may be using setting marker character mark system source field.
Step 120, obtain field and system source field in the interface document that user is set based on visual configuration interface Matching relationship, interface document is generated based on the matching relationship.
Wherein, the field in interface document includes:Field in the data structure that solicited message includes, test environment parameter Field in (including test URL addresses), issue the field in parameter (including issue URL addresses), and manufacturing parameter (production URL addresses) in field.User can be based on interface document, and in the setting window control at visual configuration interface, input connects Field and the matching relationship of system source field in mouth document.
System after the matching relationship of field and source field, is closed in the interface document for detecting user's input based on the matching System's generation interface document.Can be with the corresponding relation of field and source field in memory interface document in the interface document.For example, can Stored in a manner of using the key-value pair shown in table 1.
The mapping table of field and source field in the interface document that table 1 is partner A
Key orderId userId reqTime money
Value OID UID DATE AMT
Step 130, when receiving the request field of partner, the request field is changed according to the interface document For system source field.
Wherein, request field can be order note identification, user's mark, time or amount of money etc..Direction of cooperation system is sent please Information is sought, request field is carried in the solicited message.Because different partners are different for the naming rule of request field, asking When asking the information to reach system, system may not correctly identify the intention of the solicited message.System is detecting partner After solicited message, the solicited message of field adaption converter parsing partner transmission is called, obtains what the solicited message included Request field.Matching relationship based on field in interface document Yu system source field, the request field is converted to corresponding Source field.Request field in the solicited message is replaced according to the source field, obtains new solicited message.Fig. 2 is this hair The flow chart for another interface conversion method that bright embodiment provides.If partner A is the partner to be accessed, now, it is System developer needs to obtain partner A interface document.Interface is configured in visual configuration interface based on the interface document The matching relationship of field and source field in document.System obtains word in interface document of the user based on visual configuration interface configurations Section and the matching relationship of source field, interface document is generated based on the matching relationship.As shown in Fig. 2 partner A is sent comprising request Field A solicited message calls character adaption converter to parse the solicited message and obtains request field A to system, system.Then, The character match converter calls the interface document generated to determine the source field A1 matched with request field A.By the source field A1 replaces request field A and obtains new solicited message.For system according to the switched solicited message of service logical calling, performing please Ask or respond operation.
Wherein, the data format of partner A solicited message is as follows:
It is as follows after the conversion of fields match device:
And for example, partner B is the partner to be accessed, and now, system developer needs to obtain partner B interface text Shelves.Adopt and configure the matching relationship of field and source field in interface document in a like fashion.System obtains user and is based on visualization The matching relationship of field and source field in the interface document of configuration interface configuration, interface document is generated based on the matching relationship.Such as Shown in Fig. 2, partner B sends the solicited message comprising request field B and calls the parsing of character adaption converter should to system, system Solicited message obtains request field B.Then, the character match converter calls the interface document determination generated and request field The source field B1 of B matchings.Source field B1 is replaced into request field B and obtains new solicited message.System is according to service logic Switched solicited message is called, performs request or response operation.
Wherein, the data format of partner B solicited message is as follows:
It is as follows after the conversion of fields match device:
Adopt in a like fashion, for the partner C to be accessed, partner C is sent into the request comprising request field C and believed System is ceased, system calls character adaption converter to parse the solicited message and obtains request field C.Then, the character match turns Parallel operation calls the interface document generated to determine the source field C1 matched with request field C.Source field C1 is replaced into the request Field C obtains new solicited message.System performs request or response behaviour according to the switched solicited message of service logical calling Make.
Wherein, the data format of partner B solicited message is as follows:
It is as follows after the conversion of fields match device:
The embodiment of the present invention provides a kind of interface conversion scheme, is set based on visual configuration interface by obtaining user System source field;Field and the matching of system source field in the interface document that user is set based on visual configuration interface is obtained to close System, interface document is generated based on the matching relationship;, will according to the interface document when receiving the request field of partner The request field is converted to system source field, so that system performs request or response operation according to service logic.Using above-mentioned Technical scheme, without changing operation system code, rapid abutting joint partner, realize the slitless connection with partner's business;Meanwhile The visual configuration interface side of cooperating interface management is also based on, for the configuration information of user's input, due to that need not change generation Code can come into force in real time, simplify interface attended operation flow, reduce the interface maintenance cost of more partners.
Fig. 3 is the flow chart of another interface conversion method provided in an embodiment of the present invention.As shown in figure 3, this method bag Include:
Step 310, obtain user is set based on visual configuration interface system database rule, system source field, survey Test ring border and production environment.
Wherein, system database rule includes the service logic that system includes, and performs the ginseng needed for the service logic Number etc..
User can set system database rule by visual configuration interface, and system configures the system number of oneself accordingly According to storehouse.
User can also be by visual configuration interface configurations test environment parameter (including test environment URL addresses), pre- Issue ambient parameter (including pre- issue environment URL addresses), production environment parameter (including production environment URL addresses).Visual Change and user (research staff) button for selecting system current environment is provided in configuration interface, when research staff selects test environment When, system obtains the test environment parameter (including test environment URL addresses) that user is set based on visual configuration interface.According to User is directed to the test function of visual configuration showing interface, calls the test environment parameter configuration system current environment.I.e. For system according to test parameters such as test environment URL addresses, configuration current system environment is test environment.Likewise, as research and development people During the pre- issue environment of member's selection, system obtains (including the survey of pre- issue ambient parameter that user set based on visual configuration interface Test ring border URL addresses).The pre- issuing function of visual configuration showing interface is directed to according to user, calls the pre- issue environment Parameter configuring system current environment.According to pre- issue parameters such as pre- issue environment URL addresses, configure current system environment is system Pre- issue environment.Likewise, when research staff selects production environment, system is obtained user and set based on visual configuration interface Production environment parameter (including test environment URL addresses).The production function of visual configuration showing interface is directed to according to user, Call the production environment parameter configuring system current environment.System is worked as according to the manufacturing parameters such as production environment URL addresses, configuration Preceding system environments is production environment, supports test environment, supports test environment, pre- issue environment and the bonded tune of production environment one to test Card.
User can also set system source field by visual configuration interface.System is in the system for detecting user's input After source field, system database can be stored to.
Due to carrying out database association rule configuration and source field configuration etc. using visualization interface, configuration can come into force in real time.Show Example property, it can be configured by WEB page.
Partner's mouthpiece science and engineering such as test environment configuration and production environment configuration can also be carried out by visualization interface Make, can be safeguarded with Convenient interface.Each environment is separate simultaneously, and O&M accident will not be caused because of allocation problem.
Step 320, obtain field and system source in partner's interface document that user is set based on visual configuration interface The matching relationship of field, interface document is generated based on the matching relationship.
Interface document of the system developer based on partner to be accessed is obtained, configures field and source word in interface document The matching relationship of section, generate interface document.Because the generation of interface document need not change the code of operation system, partner is realized Seamless access, and interface is safeguarded and peeled off with operation system, and the method for the present embodiment can be extended to other needs and be based on newly connecing The system of the partner's business interface newly developed entered.
Step 330, when receiving the solicited message of partner, call what field adaption converter parsing partner sent Solicited message, obtain the request field that the solicited message includes.
When receiving the solicited message of partner, call field adaption converter parse the solicited message obtain it is to be converted Request field.Due to the form of solicited message be it is fixed, can be by the position of each field in analysis request information, really Fixed request field to be converted.For example, the data format of the solicited message for partner A:
Wherein, field orderId, userId, reqTime and money is field to be converted, and it is located at the head of every request Tail both ends.Fields match converter meets Rule Extraction according to this and is located at stem and the request field of afterbody, obtains to be converted Request field.
Step 340, the matching relationship based on field in interface document Yu system source field, the request field is converted to Corresponding source field, pass through the result of log recording field conversion operation.
Other abnormal conditions can also be recorded in daily record, for example, it may be incoming value is sky, is passed to the form of value not Correctly, repeat calling interface, send duplicate data, notification message due to network reason delay receive.
Matching relationship of the fields match converter based on field in interface document Yu system source field, the request that will be parsed Field is automatically converted to corresponding system source field, realizes rapid abutting joint partner, without code of redeveloping, saves code research and development Workload.
If field is changed successfully, the first setting value is returned to system, to notify the system field successful conversion to be corresponding System source field.If field convert failed, the second setting value is returned to system, to notify the system field convert failed. The result of record field conversion operation in a manner of daily record.
Step 350, the request field in the source field replacement solicited message, obtain new solicited message.
When current system environment is test environment, system calls field adaption converter to be based on interface document, will cooperate Request field in the solicited message of side replaces with system source field, reaches new solicited message.If system current environment is survey Test ring border, then request or response operation under test environment are performed according to the solicited message.If system current environment is pre- issue Environment, then request or response operation under pre- issue environment are performed according to the solicited message.If system current environment is production ring Border, then request or response operation under production environment are performed according to the solicited message.
The embodiment of the present invention provides a kind of interface conversion scheme, is set based on visual configuration interface by obtaining user System database rule, system source field, test environment, pre- issue environment and production environment;Receiving the request of partner During information, the matching relationship based on field in interface document Yu system source field, the request field is converted into corresponding source Field, pass through the result of log recording field conversion operation;Request word in the solicited message is replaced according to the source field Section, obtains new solicited message, so that system is according to service logic and the new solicited message, performs request or response behaviour Make.It can realize that test environment, pre- issue environment and bonded adjust of production environment one are verified using such scheme, and pass through daily record Abnormal conditions are collected, are easy to search problem, it is possible to achieve each partner of rapid abutting joint, reduces manpower R&D costs and reduces close more The side's of work interface maintenance cost.
Fig. 4 is a kind of structured flowchart of interface convertor provided in an embodiment of the present invention, and the device can have software and/or hard Part is realized, is typically integrated in electric terminal.As shown in figure 4, the device can include:
Source field configuration module 410, the system source field set for obtaining user based on visual configuration interface;
File generating module 420, in the interface document set for obtaining user based on visual configuration interface field with The matching relationship of system source field, interface document is generated based on the matching relationship;
Field modular converter 430, for when receiving the request field of partner, according to the interface document will described in Request field is converted to system source field, so that system performs request or response operation according to service logic.
The embodiment of the present invention provides a kind of interface switching device, without changing operation system code, rapid abutting joint partner, Realize the slitless connection with partner's business;Meanwhile also based on the visual configuration interface side of cooperating interface management, for The configuration information of family input, can in real time be come into force due to that need not change code, simplifies interface attended operation flow, reduce The interface maintenance cost of more partners.
Optionally, the field modular converter 430 includes:
Field acquisition submodule, for the solicited message for calling field adaption converter parsing partner to send, obtain institute State the request field that solicited message includes;
Field transform subblock, for the matching relationship based on field in interface document Yu system source field, described it will ask Field is asked to be converted to corresponding source field;
Field replaces submodule, for replacing the request field in the solicited message according to the source field, obtains new Solicited message.
Optionally, in addition to:
As a result record sub module, for after source field corresponding to the request field is converted to, being remembered by daily record Record the result of field conversion operation.
Optionally, in addition to:
Environment configurations module, for obtaining test environment parameter, the pre- issue that user is set based on visual configuration interface Ambient parameter and production environment parameter;
Selection according to user for the test function of visual configuration showing interface, pre- issuing function or production function, Call the test environment parameter, pre- issue ambient parameter or production environment parameter configuring system current environment.
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruction is used to perform a kind of interface conversion method when being performed by computer processor, and this method includes:
Obtain the system source field that user is set based on visual configuration interface;
Field and the matching relationship of system source field in the interface document that user is set based on visual configuration interface are obtained, Interface document is generated based on the matching relationship;
When receiving the request field of partner, the request field is converted to by system source according to the interface document Field, so that system performs request or response operation according to service logic.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The operation for the interface conversion method that executable instruction is not limited to the described above, it can also carry out any embodiment of the present invention and provided Interface conversion method in associative operation.
The embodiments of the invention provide a kind of electric terminal, provided in an embodiment of the present invention connect can be integrated in the electric terminal Mouth conversion equipment.Fig. 5 is a kind of structured flowchart of electric terminal provided in an embodiment of the present invention.As shown in figure 5, the electronics is whole End, including memory 510, processor 520 and it is stored in the computer journey that can be run on memory 510 and on processor 520 Sequence, the processor 520 realize following steps when performing the computer program:
Obtain the system source field that user is set based on visual configuration interface;
Field and the matching relationship of system source field in the interface document that user is set based on visual configuration interface are obtained, Interface document is generated based on the matching relationship;
When receiving the request field of partner, the request field is converted to by system source according to the interface document Field, so that system performs request or response operation according to service logic.
Electric terminal provided in an embodiment of the present invention, it can in real time come into force, can effectively simplify without changing code Interface attended operation flow, reduce the interface maintenance cost of more partners.
Any implementation of the executable present invention of interface switching device, storage medium and electric terminal provided in above-described embodiment The interface conversion method that example is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not in above-described embodiment In detailed description ins and outs, reference can be made to the interface conversion method that any embodiment of the present invention is provided.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. interface conversion method, it is characterised in that including:
    Obtain the system source field that user is set based on visual configuration interface;
    Field and the matching relationship of system source field in the interface document that user is set based on visual configuration interface are obtained, is based on The matching relationship generates interface document;
    When receiving the request field of partner, the request field is converted to by system source word according to the interface document Section, so that system performs request or response operation according to service logic.
  2. 2. according to the method for claim 1, it is characterised in that be converted to the request field according to the interface document System source field, including:
    The solicited message for calling field adaption converter parsing partner to send, obtains the request word that the solicited message includes Section;
    Matching relationship based on field in interface document Yu system source field, the request field is converted into corresponding source word Section;
    Request field in the solicited message is replaced according to the source field, obtains new solicited message.
  3. 3. according to the method for claim 2, it is characterised in that by the request field be converted to corresponding to source field it Afterwards, in addition to:
    Pass through the result of log recording field conversion operation.
  4. 4. according to the method for claim 1, it is characterised in that also include:
    Obtain test environment parameter, pre- issue ambient parameter and production environment ginseng that user is set based on visual configuration interface Number;
    According to user for the test function of visual configuration showing interface, pre- issuing function or the selection for producing function, call The test environment parameter, pre- issue ambient parameter or production environment parameter configuring system current environment.
  5. A kind of 5. interface convertor, it is characterised in that including:
    Source field configuration module, the system source field set for obtaining user based on visual configuration interface;
    File generating module, field and system source word in the interface document set for obtaining user based on visual configuration interface The matching relationship of section, interface document is generated based on the matching relationship;
    Field modular converter, for when receiving the request field of partner, according to the interface document by the request word Section is converted to system source field, so that system performs request or response operation according to service logic.
  6. 6. interface convertor according to claim 5, it is characterised in that the field modular converter includes:
    Field acquisition submodule, for the solicited message for calling field adaption converter parsing partner to send, obtain described ask Seek the request field that information includes;
    Field transform subblock, for the matching relationship based on field in interface document Yu system source field, by the request word Section is converted to corresponding source field;
    Field replaces submodule, for replacing the request field in the solicited message according to the source field, obtains new ask Seek information.
  7. 7. interface convertor according to claim 6, it is characterised in that also include:
    As a result record sub module, for after source field corresponding to the request field is converted to, passing through log recording word The result of section conversion operation.
  8. 8. interface convertor according to claim 1, it is characterised in that also include:
    Environment configurations module, for obtaining test environment parameter that user set based on visual configuration interface, issuing environment in advance Parameter and production environment parameter;
    According to user for the test function of visual configuration showing interface, pre- issuing function or the selection for producing function, call The test environment parameter, pre- issue ambient parameter or production environment parameter configuring system current environment.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The interface conversion method as described in any in Claims 1-4 is realized during row.
  10. 10. a kind of electric terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realized described in the computing device during computer program as described in any in Claims 1-4 Interface conversion method.
CN201710685613.7A 2017-08-11 2017-08-11 A kind of interface conversion method, interface convertor, storage medium and electric terminal Pending CN107463409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710685613.7A CN107463409A (en) 2017-08-11 2017-08-11 A kind of interface conversion method, interface convertor, storage medium and electric terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710685613.7A CN107463409A (en) 2017-08-11 2017-08-11 A kind of interface conversion method, interface convertor, storage medium and electric terminal

Publications (1)

Publication Number Publication Date
CN107463409A true CN107463409A (en) 2017-12-12

Family

ID=60548796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710685613.7A Pending CN107463409A (en) 2017-08-11 2017-08-11 A kind of interface conversion method, interface convertor, storage medium and electric terminal

Country Status (1)

Country Link
CN (1) CN107463409A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255708A (en) * 2017-12-14 2018-07-06 海尔优家智能科技(北京)有限公司 Method, apparatus, storage medium and the equipment of production file are accessed in test environment
CN109710613A (en) * 2018-12-26 2019-05-03 深圳乐信软件技术有限公司 Management method, device, server and the storage medium of field
CN110162560A (en) * 2019-04-16 2019-08-23 深圳壹账通智能科技有限公司 Finance data interface butt joint method, device, computer equipment and storage medium
CN110377435A (en) * 2019-07-05 2019-10-25 东莞市盟大塑化科技有限公司 A kind of multiserver interface message processing system
CN110427416A (en) * 2019-08-12 2019-11-08 东莞市大易产业链服务有限公司 Bank interface information processing method, device, computer equipment and storage medium
CN110490747A (en) * 2019-08-26 2019-11-22 深圳市盟天科技有限公司 A kind of trust interconnection method, device, server and storage medium
CN110716738A (en) * 2019-09-03 2020-01-21 无锡华云数据技术服务有限公司 Data processing method and device, cloud platform, electronic equipment and storage medium
CN111427568A (en) * 2020-03-30 2020-07-17 山东浪潮通软信息科技有限公司 Interface configuration method and device
CN111459475A (en) * 2020-03-30 2020-07-28 北京三快在线科技有限公司 Interface calling method, interface docking configuration method, device, equipment and medium
CN111694561A (en) * 2020-06-10 2020-09-22 中国建设银行股份有限公司 Interface management method, device, equipment and storage medium
CN111726374A (en) * 2019-03-18 2020-09-29 北京京东尚科信息技术有限公司 Web request processing method, system, device and computer readable storage medium
CN111917755A (en) * 2020-07-24 2020-11-10 群硕软件开发(上海)有限公司 Dynamic data integration method based on configuration
CN112015496A (en) * 2020-09-01 2020-12-01 中国平安财产保险股份有限公司 Interface calling method and device, computer equipment and storage medium
CN112115190A (en) * 2020-08-20 2020-12-22 苏宁云计算有限公司 Method, device and system for converting interface message
CN112948472A (en) * 2019-11-26 2021-06-11 北京沃东天骏信息技术有限公司 Data processing method, device, equipment and computer readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070106816A1 (en) * 1998-09-11 2007-05-10 Lv Partners, Lp Method and apparatus for utilizing an existing product code to issue a match to a predetermined location on a global network
CN104461516A (en) * 2014-11-21 2015-03-25 北京锐安科技有限公司 Data processing method and device
CN104866326A (en) * 2015-06-19 2015-08-26 长沙廖氏软件科技有限公司 Integrated exchange middleware and implementation method thereof
CN105205117A (en) * 2015-09-09 2015-12-30 郑州悉知信息科技股份有限公司 Data table migrating method and device
CN105786912A (en) * 2014-12-25 2016-07-20 远光软件股份有限公司 Data acquisition and transformation method and device
CN105912329A (en) * 2016-04-07 2016-08-31 盛趣信息技术(上海)有限公司 Version automatic unifying method and system
CN106776833A (en) * 2016-11-28 2017-05-31 中通服公众信息产业股份有限公司 Data of information system exchange method and system of the client to client

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070106816A1 (en) * 1998-09-11 2007-05-10 Lv Partners, Lp Method and apparatus for utilizing an existing product code to issue a match to a predetermined location on a global network
CN104461516A (en) * 2014-11-21 2015-03-25 北京锐安科技有限公司 Data processing method and device
CN105786912A (en) * 2014-12-25 2016-07-20 远光软件股份有限公司 Data acquisition and transformation method and device
CN104866326A (en) * 2015-06-19 2015-08-26 长沙廖氏软件科技有限公司 Integrated exchange middleware and implementation method thereof
CN105205117A (en) * 2015-09-09 2015-12-30 郑州悉知信息科技股份有限公司 Data table migrating method and device
CN105912329A (en) * 2016-04-07 2016-08-31 盛趣信息技术(上海)有限公司 Version automatic unifying method and system
CN106776833A (en) * 2016-11-28 2017-05-31 中通服公众信息产业股份有限公司 Data of information system exchange method and system of the client to client

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255708A (en) * 2017-12-14 2018-07-06 海尔优家智能科技(北京)有限公司 Method, apparatus, storage medium and the equipment of production file are accessed in test environment
CN109710613A (en) * 2018-12-26 2019-05-03 深圳乐信软件技术有限公司 Management method, device, server and the storage medium of field
CN111726374A (en) * 2019-03-18 2020-09-29 北京京东尚科信息技术有限公司 Web request processing method, system, device and computer readable storage medium
CN111726374B (en) * 2019-03-18 2024-01-16 北京京东尚科信息技术有限公司 Web request processing method, system, device and computer readable storage medium
CN110162560A (en) * 2019-04-16 2019-08-23 深圳壹账通智能科技有限公司 Finance data interface butt joint method, device, computer equipment and storage medium
CN110377435A (en) * 2019-07-05 2019-10-25 东莞市盟大塑化科技有限公司 A kind of multiserver interface message processing system
CN110427416A (en) * 2019-08-12 2019-11-08 东莞市大易产业链服务有限公司 Bank interface information processing method, device, computer equipment and storage medium
CN110490747A (en) * 2019-08-26 2019-11-22 深圳市盟天科技有限公司 A kind of trust interconnection method, device, server and storage medium
CN110716738A (en) * 2019-09-03 2020-01-21 无锡华云数据技术服务有限公司 Data processing method and device, cloud platform, electronic equipment and storage medium
CN112948472A (en) * 2019-11-26 2021-06-11 北京沃东天骏信息技术有限公司 Data processing method, device, equipment and computer readable medium
CN111459475A (en) * 2020-03-30 2020-07-28 北京三快在线科技有限公司 Interface calling method, interface docking configuration method, device, equipment and medium
CN111459475B (en) * 2020-03-30 2023-05-16 北京三快在线科技有限公司 Interface calling method, interface docking configuration method, device, equipment and medium
CN111427568A (en) * 2020-03-30 2020-07-17 山东浪潮通软信息科技有限公司 Interface configuration method and device
CN111694561A (en) * 2020-06-10 2020-09-22 中国建设银行股份有限公司 Interface management method, device, equipment and storage medium
CN111917755A (en) * 2020-07-24 2020-11-10 群硕软件开发(上海)有限公司 Dynamic data integration method based on configuration
CN112115190A (en) * 2020-08-20 2020-12-22 苏宁云计算有限公司 Method, device and system for converting interface message
CN112015496A (en) * 2020-09-01 2020-12-01 中国平安财产保险股份有限公司 Interface calling method and device, computer equipment and storage medium
CN112015496B (en) * 2020-09-01 2022-11-15 中国平安财产保险股份有限公司 Interface calling method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107463409A (en) A kind of interface conversion method, interface convertor, storage medium and electric terminal
CN109634598A (en) A kind of page display method, device, equipment and storage medium
US20170011306A1 (en) Transfer Learning Techniques for Disparate Label Sets
CN109614102A (en) Code automatic generation method, device, electronic equipment and storage medium
KR102485129B1 (en) Method and apparatus for pushing information, device and storage medium
CN111026931B (en) Data query method, device, equipment and medium
Fill SeMFIS: a flexible engineering platform for semantic annotations of conceptual models
JP5031819B2 (en) Declarations for transformations in service sequences
US11019019B2 (en) Dynamic hashtag ordering based on projected interest
CN102810057A (en) Log recording method
CN109617647A (en) Message forwarding method, device, computer equipment and computer readable storage medium
CN109344374B (en) Report generation method and device based on big data, electronic equipment and storage medium
Noran UML vs IDEF: An ontology-based comparative study in view of business modelling
CN110134737A (en) Data variation monitor method and device, electronic equipment and computer readable storage medium
CN113282850B (en) Resource tag management method, device, electronic equipment, system and storage medium
CN108959294A (en) A kind of method and apparatus accessing search engine
Kharwat Computer simulation: an important tool in the fast-food industry
CN110032360A (en) Flow of transactions creation method, device and server
US11976931B2 (en) Method and apparatus for guiding voice-packet recording function, device and computer storage medium
US8607201B2 (en) Augmenting visualization of a call stack
US20230376537A1 (en) Multi-chunk relationship extraction and maximization of query answer coherence
CN109739504A (en) A method of the H5 business handling page is automatically generated according to backstage configuration
CN113342998B (en) Multimedia resource recommendation method and device, electronic equipment and storage medium
US12001795B2 (en) Extractive method for speaker identification in texts with self-training
CN115756598A (en) Component detection method, system and device applied to low-code platform

Legal Events

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

Application publication date: 20171212

RJ01 Rejection of invention patent application after publication