CN108460002A - Affiliate's automatic butt method, apparatus, equipment and storage medium - Google Patents

Affiliate's automatic butt method, apparatus, equipment and storage medium Download PDF

Info

Publication number
CN108460002A
CN108460002A CN201711486887.XA CN201711486887A CN108460002A CN 108460002 A CN108460002 A CN 108460002A CN 201711486887 A CN201711486887 A CN 201711486887A CN 108460002 A CN108460002 A CN 108460002A
Authority
CN
China
Prior art keywords
affiliate
data protocol
protocol file
identifier
message
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
CN201711486887.XA
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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN201711486887.XA priority Critical patent/CN108460002A/en
Publication of CN108460002A publication Critical patent/CN108460002A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services

Abstract

The present invention is suitable for field of communication technology, provides a kind of affiliate's automatic butt method, apparatus, equipment and storage medium, affiliate's automatic butt method and includes:The interface model that affiliate sends is obtained, the standard message in the interface model corresponds to the message information that the affiliate uploads;The message information and the standard message are bound by template engine, generate data protocol file, and the affiliate is returned to according to the data protocol file generated identifier;When the affiliate initiates to merchandise, receive the transaction data and the identifier that the affiliate sends, the data protocol file is called according to the identifier, and it carries out parsing the transaction data according to the data protocol file and be exported with generating text, technical solution of the present invention can be realized docks on affiliate's line, improves the convenience of docking system exploitation.

Description

Affiliate's automatic butt method, apparatus, equipment and storage medium
Technical field
The present invention be suitable for field of communication technology, more particularly to a kind of affiliate's automatic butt method, apparatus, equipment and Storage medium.
Background technology
Currently, docking system and affiliate are into when docking on line, since affiliate is numerous, each affiliate is equal The data interaction rule for having oneself needs the trading instruction sent according to each partner to write a set of corresponding code identification, I.e. each partner is required for developing different trading templates, and docking system is caused to dock process CIMS on the line of affiliate Trouble, increases the complexity of system development, larger workload is brought to developer.
Invention content
The purpose of the present invention is to provide a kind of affiliate's automatic butt method, apparatus, equipment and storage mediums, can It realizes automatic butt on affiliate's line, improves the convenience of docking system exploitation.
The embodiment of the present invention is achieved in that first aspect present invention provides a kind of affiliate's automatic butt method, Affiliate's automatic butt method includes:
The interface model that affiliate sends is obtained, the standard message in the interface model corresponds on the affiliate The message information of biography;
The message information and the standard message are bound by template engine, generate data protocol file, and The affiliate is returned to according to the data protocol file generated identifier;
When the affiliate initiates to merchandise, the transaction data and the identifier that the affiliate sends are received, The data protocol file is called according to the identifier, and carries out parsing the transaction data according to the data protocol file It is exported with generating text.
Second aspect of the present invention provides a kind of affiliate's automatic butt jointing device, affiliate's automatic butt jointing device packet It includes:
Message information acquisition module, the interface model for obtaining affiliate's transmission, the standard in the interface model Message corresponds to the message information that the affiliate uploads;
Identifier generating module binds the message information and the standard message for passing through template engine, Data protocol file is generated, and the affiliate is returned to according to the data protocol file generated identifier;
Transaction data parsing module, for when the affiliate initiates to merchandise, receiving what the affiliate sent Transaction data and the identifier call the data protocol file according to the identifier, and according to data protocol text Part carries out parsing the transaction data to be exported with generating text.
Third aspect present invention provides a kind of terminal device, including memory, processor and is stored in the memory In and the computer program that can run on the processor, the processor realized according to this when executing the computer program The step of invention first aspect the method.
Fourth aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has Computer program, when the computer program is executed by processor realize according to a first aspect of the present invention the method the step of.
A kind of affiliate's automatic butt method, apparatus of present invention offer, equipment and storage medium obtain affiliate's hair The interface model sent, the standard message in the interface model correspond to the message information that the affiliate uploads;Pass through template Engine binds the message information and the standard message, generates data protocol file, and according to the data protocol File generated identifier returns to the affiliate;When the affiliate initiates to merchandise, affiliate's hair is received The transaction data and the identifier sent calls the data protocol file according to the identifier, and is assisted according to the data View file parse the transaction data to generate text output.Technical solution of the present invention believes the message of each affiliate Breath is bound with system Plays message, generates data protocol file, the transaction according to data protocol file to affiliate Data are parsed, and can realize automatic butt on affiliate's line, are avoided the transaction sent for each partner and are referred to It enables and writes the problem of a set of corresponding code identification causes to increase the complexity of system development, improve docking system exploitation just Victory.
Description of the drawings
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 be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow chart for affiliate's automatic butt method that the first embodiment of the invention provides;
Fig. 2 is a kind of specific stream for affiliate's automatic butt method and step S20 that the first embodiment of the invention provides Cheng Tu;
Fig. 3 is a kind of the specific of one embodiment of affiliate's automatic butt method that the first embodiment of the invention provides Flow chart;
Fig. 4 is a kind of structural schematic diagram for affiliate's automatic butt jointing device that second embodiment of the invention provides;
Fig. 5 is a kind of affiliate's automatic butt jointing device identifier generating module 42 that second embodiment of the invention provides Concrete structure schematic diagram;
Fig. 6 is the structural schematic diagram for the terminal device that third embodiment of the invention provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical scheme of the present invention, illustrated below by specific embodiment.
The first embodiment of the invention provides a kind of affiliate's automatic butt method, as shown in Figure 1, affiliate is automatic Interconnection method includes:
Step S10, obtains the interface model that affiliate sends, and the standard message in interface model corresponds on affiliate The message information of biography.
In this step, interface model is provided to affiliate, affiliate is uploaded in interface model and standard message Corresponding message information, standard message include message node and message nodal community, and message node refers to specific parameter, example Such as, at name, gender, the age etc. in insurer's information, message nodal community refers to the specifying information of parameter, for example, insurer The corresponding data informations such as name, gender, age in information, the message information that affiliate sends are the reports with standard message Literary node indicates that the message information of identical meanings, the message information are the code command of affiliate oneself exploitation, can pass through Message information is uploaded in region corresponding with standard message, keeps message information corresponding with standard message.
Step S20 is bound message information and standard message by template engine, generates data protocol file, and According to data protocol file generated identifier and return to affiliate.
In this step, the message information that affiliate imports, the message information that affiliate is imported and standard are obtained Message, which is bound together, generates template document of agreement, is sent to the affiliate imported in template document of agreement by template engine Message information and standard message bound into row information, i.e., each node and nodal community in message bound, raw At the data protocol that affiliate requires, for example, by the surname in insurer's information in the message information of the upload of affiliate The one-to-one correspondence such as name, gender, age etc. and name, gender, age in insurer's information in standard message are bound, insurer The name in insurer's information in the corresponding data informations and standard message such as name, gender, age in information, property Not, the data informations such as age correspond binding, and generate affiliate's identifier, as an implementation, when template is assisted After view file is created, a kind of unique identifier will be that this document generates, and this unique identifier can be identified symbol and generate Module generates, and identifier generating module can be the software or hardware of any generation and agreement identifier associated of the present invention, mark Symbol is known based on the cryptographic Hash (hash) in file, is provided with this and is only capable of, by the unique identifier of above-mentioned file generated, creating It has built after each file, identifier generating module is by the automatic unique identifier of file generated started to specify, if literary Part exists, and can start identifier generating module, identifier and document of agreement unique association by storage file, be worth noting , the identifier itself can be based on file itself, that is to say, that the identifier be the hash (hash) of file so as to text The identifier of part unique association is generated, by will by the reference or instruction of identifier and file association, this any identifier Retrieval file immediately, as another embodiment, identifier can also distribute preset identifier, also, identifier also may be used Using the title as data protocol file to realize eaily searching data document of agreement.
Step S30 receives transaction data and identifier that affiliate sends when affiliate initiates to merchandise, according to Identifier calls data protocol file, and carries out parsing transaction data according to data protocol file and exported with generating text.
In this step, the relevant informations such as the transaction data that affiliate sends are obtained, the relevant information is simultaneously including only One identification information, therefore the data protocol file in affiliate's mapping table can be searched out by the unique identification information, Data protocol file can refer to a file of the correspondence comprising affiliate and template document of agreement used, at this Include the correspondence of affiliate and template document of agreement in a file, which can characterize needed for affiliate Data protocol, for example, there is the data protocol file corresponding to affiliate in affiliate's mapping table, identifier is number According to the title of document of agreement, you can determine the corresponding data protocol text of affiliate with the identifier sent by affiliate Part predefines title alternatively, identifier is system, and identifier can be folder name, and this document folder includes data protocol File preserves identifier into mapping table, and corresponding data protocol text can be found in mapping table according to mark Part, specifically, working as data protocol file name 101, the identifier sent to affiliate is 101, when affiliate initiates to hand over Yi Shi can obtain the data protocol file in mapping table, by data protocol file content to handing over by identifier 101 Easy data are parsed, and are not specifically limited to the setting of identifier in the present invention.
The present invention provides a kind of affiliate's automatic butt method, obtains the interface model that affiliate sends, interface mould Standard message in plate corresponds to the message information of affiliate's upload;Message information and standard message are carried out by template engine Binding generates data protocol file, and according to data protocol file generated identifier and returns to affiliate;Work as affiliate When initiating transaction, transaction data and identifier that affiliate sends are received, data protocol file, and root are called according to identifier Parsing transaction data is carried out to generate text output according to data protocol file.The embodiment of the present invention is by the message of each affiliate Information is bound with system Plays message, generates data protocol file, the friendship according to data protocol file to affiliate Easy data are parsed, and can be realized automatic butt on affiliate's line, be avoided the transaction sent for each partner The problem of a set of corresponding code identification causes to increase the complexity of system development, is write in instruction, improves docking system exploitation Convenience.
As a kind of embodiment of first embodiment of the invention, as shown in Fig. 2, for the step in above-described embodiment Message information and standard message are bound by template engine in S20, generate data protocol file, and according to data protocol File generated identifier simultaneously returns to affiliate, and specific steps include:
Step S201, according to the correspondence between message information and standard message, by velocity or Freemarker binds message information and standard message, generates data protocol file.
Step S202 is accorded with to data protocol file allocation identification, and mark is made to form correspondence with data protocol file, will Correspondence between identifier and data protocol file is stored in mapping table.
The data protocol file and the mapping table are stored in predeterminated position by step S203.
In above-mentioned steps, message information and standard message are formed by document of agreement by template engine, template engine can Think any one of jsp, velocity and freemarker or arbitrarily combination, the form of data protocol file can be Any one in html, xml, json or arbitrary combination, can preset a group identifier, when one data document of agreement of generation When, i.e., accorded with to data protocol file allocation identification, when the identifier of data protocol file returns to affiliate, by identifier with The correspondence of data protocol file is saved in mapping table, the data protocol text of the different affiliates in mapping table The identifier of part is different, includes the identifier of different affiliates data protocol corresponding with system in mapping table, returns Identifier back to affiliate is unique identifying information, for example, affiliate's identifier is issued to be by Taobao's initiation when merchandising System, if the unidentified identifier of system or cannot be turned to transaction data by the corresponding data protocol convert file of identifier It changes, then identifier mistake, for example, Taobao sends transaction data and identifier, system do not find corresponding data by identifier Document of agreement, the then transaction data that system cannot send Taobao parse.
As a kind of embodiment of first embodiment of the invention, for passing through mould in the step S20 in above-described embodiment Plate engine binds message information and standard message, generates data protocol file, and according to data protocol file generated mark Know and accord with and return to affiliate, specific steps include:
According to the correspondence between the message information and the standard message, by velocity or Freemarker binds the message information and the standard message, generates data protocol file;
Identifier is generated according to the cryptographic Hash of the data protocol file, makes the identifier and the data protocol file Correspondence is formed, and the correspondence between the identifier and the data protocol file is stored in mapping table In;
The data protocol file and the mapping table are stored in predeterminated position.
As a kind of embodiment of first embodiment of the invention, in the step S30 in above-described embodiment according to mark Know symbol and call data protocol file, and parsing transaction data is carried out to generate text output according to data protocol file, specifically walks Suddenly include:
The corresponding data protocol file of identifier is searched in mapping table;
Transaction data is parsed according to the binding relationship in data protocol file between message information and standard message, will be merchandised Data are substituted for standard message and generate text output.
In above-mentioned steps, transaction data can be parsed by finding data protocol file according to relation table, for example, Taobao initiates transaction, and the transaction data and identifier 101, system for obtaining Taobao's transmission are existed by the identifier 101 that Taobao sends It is searched in mapping table, after matching, parsing transaction data is carried out by searching for the data protocol file gone out, wherein Parsing transaction data refers to that the transaction data for sending Taobao is parsed into the identifiable transaction data of system, and Taobao initiates transaction When, transaction data is had sent, the small A of name of insurer is included, by data protocol file, the small A of insurer's name is resolved to The transaction data being parsed is generated text output by standard message format, needed by the identifiable transaction data of system " small A " Illustrate, the transaction data of transmission is parsed into the identifiable transaction data of system to be configured in data protocol file.
As a kind of embodiment of first embodiment of the invention, as shown in figure 3, affiliate's automatic butt method is also wrapped It includes:
Step S100 sends newer standard message to affiliate, and it is sending with newer standard to receive affiliate The corresponding message information of message identifier corresponding with former message information.
Step S200, according to the corresponding data protocol file of the corresponding identifier query original message information of former message information, According to data protocol file, by template engine by the corresponding message information of newer standard message and newer standard message into Row binding, generates newer data protocol file, and replace the corresponding data protocol file of former message information.
It should be noted that being newest data by the data protocol file that identifier inquires in mapping table Document of agreement, the data protocol file after original data protocol file is updated are replaced.
Second embodiment of the invention provides a kind of affiliate's automatic butt jointing device 4, as shown in figure 4, affiliate is automatic Docking facilities 4 include:
Message information acquisition module 41, the interface model for obtaining affiliate's transmission, the standard report in interface model The message information that the corresponding affiliate of text uploads.
Identifier generating module 42 binds message information and standard message for passing through template engine, generates number Affiliate is returned to according to document of agreement, and according to data protocol file generated identifier.
Transaction data parsing module 43, for when affiliate initiates to merchandise, receiving the number of deals that affiliate sends According to and identifier, according to identifier call data protocol file, and according to data protocol file carry out parsing transaction data with life It is exported at text.
The present invention is provided for docking facilities on a kind of partner product line, is obtained and is closed by message information acquisition module 41 Make the message information of partner's upload, message information and standard message bind and to affiliate by identifier generating module 42 Identifier is returned to, affiliate initiates transaction, according to identifier lookup data protocol file, and according to data protocol file to transaction Data carry out parsing generation text and are exported, and can realize automatic butt on affiliate's line, make each affiliate's message Information is bound with system Plays message, is avoided the trading instruction sent for each partner and is write a set of correspondence Code identification cause increase system development complexity the problem of, improve docking system exploitation convenience.
As a kind of embodiment of second embodiment of the invention, as shown in figure 5, being given birth to for identifier in above-described embodiment Include at 42 specific steps of module:
Data protocol generation module 421, for according to the correspondence between message information and standard message, passing through Velocity or freemarker bind message information and standard message, generate data protocol file;
Correspondence generation module 422 makes identifier and data protocol text for being accorded with to data protocol file allocation identification Part forms correspondence, and the correspondence between identifier and data protocol file is stored in mapping table;
Preserving module 423, for data protocol file and mapping table to be stored in predeterminated position.
As a kind of embodiment of second embodiment of the invention, for transaction data parsing module 43 in above-described embodiment It specifically includes:
The corresponding data protocol file of identifier is searched in mapping table;
Transaction data is parsed according to the binding relationship in data protocol file between message information and standard message, will be merchandised Data are substituted for standard message and generate text output.
The specific work process of module, can refer to corresponding processes in the foregoing method embodiment in above-mentioned terminal device 6, Details are not described herein.
Third embodiment of the invention provides a computer readable storage medium, and Fig. 6 is that terminal device 6 shows in the present embodiment It is intended to.Computer program 62 is stored on the computer readable storage medium, when which is executed by processor 63 Realize interconnection method on the partner product line in above-described embodiment, to avoid repeating, which is not described herein again.Alternatively, the meter Calculation machine program 62 realized when being executed by processor 63 in above-described embodiment on partner product line each module in docking facilities 2/ The function of unit, to avoid repeating, which is not described herein again.
As shown in fig. 6, terminal device 6 includes processor 63, memory 61 and is stored in memory 61 and can locate The computer program 62 run on reason device 63.Processor 63 realizes affiliate in above-described embodiment when executing computer program 62 Each step of interconnection method on product line, such as step S10, S20 and S30 shown in FIG. 1.Alternatively, processor 63 executes meter The function that each module/unit of docking facilities on partner product line in above-described embodiment is realized when calculation machine program 62, such as Fig. 4 institutes Message information acquisition module 41, identifier generating module 42 and the transaction data parsing module 43 shown.
Computer program 62 can be divided into one or more module/units, one or more module/unit is deposited Storage executes in memory 61, and by processor 63, to complete the present invention.One or more module/units can be can be complete At 62 instruction segment of series of computation machine program of specific function, the instruction segment is for describing computer program 62 in terminal device 6 In implementation procedure.For example, computer program 62 can be divided into synchronization module, summarizing module, acquisition module, return to module (module in virtual bench).
The terminal device 6 can be the computing devices such as desktop PC, notebook, palm PC and cloud server. Terminal device 6 may include, but be not limited only to, processor 63, memory 61.It will be understood by those skilled in the art that Fig. 6 is only The example of terminal device 6 does not constitute the restriction to terminal device 6, may include components more more or fewer than diagram, or Combine certain components or different components, for example, terminal device 6 can also include input-output equipment, network access equipment, Bus etc..
Alleged processor 63 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors 63, digital signal processor 63 (Digital Signal Processor, DSP), application-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 63 can be microprocessor 63 or the processor 63 can also be any conventional place Manage device 63 etc..
Memory 61 can be the internal storage unit of terminal device 6, such as the hard disk or memory of terminal device 6.Storage Device 61 can also be the plug-in type hard disk being equipped on the External memory equipment of terminal device 6, such as terminal device 6, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc.. Further, memory 61 can also both include terminal device 6 internal storage unit and also including External memory equipment.Memory 61 for storing other programs and data needed for computer program 62 and terminal device 6.Memory 61 can be also used for temporarily When store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of device are divided into different functional units or module, to complete above description All or part of function.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If integrated module/unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of flow in method can also instruct relevant hardware to complete, computer program by computer program 62 62 can be stored in a computer readable storage medium, and the computer program 62 by processor 63 when being executed, it can be achieved that above-mentioned The step of each embodiment of the method.Wherein, computer program 62 includes 62 code of computer program, and 62 code of computer program can Think source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable medium can wrap It includes:Can carry 62 code of computer program any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, Computer storage 61, read-only memory 61 (ROM, Read-Only Memory), random access memory 61 (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that computer-readable The content that medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice, such as at certain A little jurisdictions, according to legislation and patent practice, computer-readable medium is including being not electric carrier signal and telecommunication signal.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each implementation Technical solution recorded in example is modified or equivalent replacement of some of the technical features;And these modification or It replaces, it does not separate the essence of the corresponding technical solution, and the present invention is each
The spirit and scope of embodiment technical solution, should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of affiliate's automatic butt method, which is characterized in that affiliate's automatic butt method includes:
The interface model that affiliate sends is obtained, the standard message in the interface model corresponds to what the affiliate uploaded Message information;
The message information and the standard message are bound by template engine, generation data protocol file, and according to The data protocol file generated identifier returns to the affiliate;
When the affiliate initiates to merchandise, the transaction data and the identifier that the affiliate sends are received, according to The identifier calls the data protocol file, and according to transaction data described in the data protocol document analysis to generate text This is exported.
2. affiliate's automatic butt method according to claim 1, which is characterized in that by template engine by the report Literary information is bound with the standard message, data protocol file is generated, according to the data protocol file generated identifier And the affiliate is returned to, including:
It, will by velocity or freemarker according to the correspondence between the message information and the standard message The message information is bound with the standard message, generates data protocol file;
It is accorded with to the data protocol file allocation identification, the identifier is made to form correspondence with the data protocol file, And the correspondence between the identifier and the data protocol file is stored in mapping table;
The data protocol file and the mapping table are stored in predeterminated position.
3. affiliate's automatic butt method according to claim 1, which is characterized in that by template engine by the report Literary information is bound with the standard message, data protocol file is generated, according to the data protocol file generated identifier And the affiliate is returned to, including:
It, will by velocity or freemarker according to the correspondence between the message information and the standard message The message information is bound with the standard message, generates data protocol file;
Identifier is generated according to the cryptographic Hash of the data protocol file, the identifier is made to be formed with the data protocol file Correspondence, and the correspondence between the identifier and the data protocol file is stored in mapping table;
The data protocol file and the mapping table are stored in predeterminated position.
4. affiliate's automatic butt method according to claim 1, which is characterized in that call institute according to the identifier Data protocol file is stated, and is exported according to transaction data described in the data protocol document analysis with generating text, including:
The corresponding data protocol file of the identifier is searched in the mapping table;
The friendship is parsed according to the binding relationship described in the data protocol file between message information and the standard message The transaction data is substituted for standard message and generates text output by easy data.
5. affiliate's automatic butt method according to claim 1, which is characterized in that affiliate's automation pair The method of connecing further includes:
Newer standard message is sent to the affiliate, it is sending with the newer standard report to receive the affiliate The corresponding message information of text identifier corresponding with former message information;
According to the corresponding data protocol file of former message information described in the corresponding identifier query of the original message information, pass through institute It states template engine to bind the corresponding message information of the newer standard message with the newer standard message, generate Newer data protocol file, and replace the corresponding data protocol file of the former message information.
6. a kind of affiliate's automatic butt jointing device, which is characterized in that affiliate's automatic butt jointing device includes:
Message information acquisition module, the interface model for obtaining affiliate's transmission, the standard message in the interface model The message information that the corresponding affiliate uploads;
Identifier generating module binds the message information and the standard message for passing through template engine, generates Data protocol file, and the affiliate is returned to according to the data protocol file generated identifier;
Transaction data parsing module, for when the affiliate initiates to merchandise, receiving the transaction that the affiliate sends Data and the identifier call the data protocol file according to the identifier, and according to the data protocol file into Row parses the transaction data and is exported with generating text.
7. affiliate's automatic butt jointing device according to claim 6, which is characterized in that the identifier generating module tool Body includes:
Data protocol generation module, for according to the correspondence between the message information and the standard message, passing through Velocity or freemarker binds the message information and the standard message, generates data protocol file;
Correspondence generation module makes the identifier and the data for being accorded with to the data protocol file allocation identification Document of agreement forms correspondence, and the correspondence between the identifier and the data protocol file is stored in corresponding In relation table;
Preserving module, for the data protocol file and the mapping table to be stored in predeterminated position.
8. affiliate's automatic butt jointing device according to claim 6, which is characterized in that the transaction data parsing output Module is specifically used for:
The corresponding data protocol file of the identifier is searched in the mapping table;
The friendship is parsed according to the binding relationship described in the data protocol file between message information and the standard message The transaction data is substituted for standard message and generates text output by easy data.
9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realized when executing the computer program according to claim 1 to The step of any one of 5 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In the step of realization when the computer program is executed by processor according to any one of claim 1 to 5 the method.
CN201711486887.XA 2017-12-29 2017-12-29 Affiliate's automatic butt method, apparatus, equipment and storage medium Pending CN108460002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711486887.XA CN108460002A (en) 2017-12-29 2017-12-29 Affiliate's automatic butt method, apparatus, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711486887.XA CN108460002A (en) 2017-12-29 2017-12-29 Affiliate's automatic butt method, apparatus, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108460002A true CN108460002A (en) 2018-08-28

Family

ID=63221344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711486887.XA Pending CN108460002A (en) 2017-12-29 2017-12-29 Affiliate's automatic butt method, apparatus, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108460002A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294320A (en) * 2018-12-07 2020-06-16 杭州海康威视系统技术有限公司 Data conversion method and device
CN111488227A (en) * 2020-04-28 2020-08-04 浙江网商银行股份有限公司 Data access method and system
CN112487163A (en) * 2020-11-30 2021-03-12 广州品唯软件有限公司 Execution method of automation process and acquisition method and device of interface data of automation process

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201075279Y (en) * 2006-05-24 2008-06-18 Nec显示器解决方案株式会社 Image display device with image buffer memory storing device
CN101281766A (en) * 2007-04-03 2008-10-08 索尼株式会社 Information processing apparatus, information processing method and computer program
CN101470874A (en) * 2007-12-29 2009-07-01 阿里巴巴集团控股有限公司 Method and system for completing trade through intermediate platform
CN102004673A (en) * 2010-11-29 2011-04-06 中兴通讯股份有限公司 Processing method and system of multi-core processor load balancing
CN102082797A (en) * 2011-01-21 2011-06-01 中兴通讯股份有限公司 Method and device for carrying out protocol analysis processing on data streams
CN101222414B (en) * 2007-01-11 2012-08-08 华为技术有限公司 Device, system and method for implementing multicast communication
CN102802139A (en) * 2012-07-10 2012-11-28 无锡航天飞邻测控技术有限公司 Gateway data adapting system and method of Internet of Things
CN103116690A (en) * 2012-12-14 2013-05-22 东软熙康健康科技有限公司 Method and intelligent terminal for obtaining medical data from medical device
CN103268242A (en) * 2013-06-05 2013-08-28 中国电子科技集团公司第十五研究所 Method and device for installing information system
CN103377038A (en) * 2012-04-11 2013-10-30 怡丰联合(北京)科技有限责任公司 User-defined form description and form analysis method
CN103729189A (en) * 2013-12-31 2014-04-16 福建星网视易信息系统有限公司 Broadcast protocol conversion method, system and terminal based on LUA
CN104714982A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Method and system for loading webpage
CN105022615A (en) * 2014-04-21 2015-11-04 大唐软件技术股份有限公司 Interface generating method and system
CN105635051A (en) * 2014-10-29 2016-06-01 腾讯科技(深圳)有限公司 Data interaction method, device, and system
CN106302747A (en) * 2016-08-17 2017-01-04 北京乐美无限科技有限公司 A kind of business cloud platform of Internet WEB front-end exploitation
CN106371829A (en) * 2016-08-24 2017-02-01 北京邮电大学 Modularization thinking-based template framework design method and system
CN107222505A (en) * 2017-07-12 2017-09-29 杭州时趣信息技术有限公司 A kind of method and device for being adapted to external protocol

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201075279Y (en) * 2006-05-24 2008-06-18 Nec显示器解决方案株式会社 Image display device with image buffer memory storing device
CN101222414B (en) * 2007-01-11 2012-08-08 华为技术有限公司 Device, system and method for implementing multicast communication
CN101281766A (en) * 2007-04-03 2008-10-08 索尼株式会社 Information processing apparatus, information processing method and computer program
CN101470874A (en) * 2007-12-29 2009-07-01 阿里巴巴集团控股有限公司 Method and system for completing trade through intermediate platform
CN102004673A (en) * 2010-11-29 2011-04-06 中兴通讯股份有限公司 Processing method and system of multi-core processor load balancing
CN102082797A (en) * 2011-01-21 2011-06-01 中兴通讯股份有限公司 Method and device for carrying out protocol analysis processing on data streams
CN103377038A (en) * 2012-04-11 2013-10-30 怡丰联合(北京)科技有限责任公司 User-defined form description and form analysis method
CN102802139A (en) * 2012-07-10 2012-11-28 无锡航天飞邻测控技术有限公司 Gateway data adapting system and method of Internet of Things
CN103116690A (en) * 2012-12-14 2013-05-22 东软熙康健康科技有限公司 Method and intelligent terminal for obtaining medical data from medical device
CN103268242A (en) * 2013-06-05 2013-08-28 中国电子科技集团公司第十五研究所 Method and device for installing information system
CN104714982A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Method and system for loading webpage
CN103729189A (en) * 2013-12-31 2014-04-16 福建星网视易信息系统有限公司 Broadcast protocol conversion method, system and terminal based on LUA
CN105022615A (en) * 2014-04-21 2015-11-04 大唐软件技术股份有限公司 Interface generating method and system
CN105635051A (en) * 2014-10-29 2016-06-01 腾讯科技(深圳)有限公司 Data interaction method, device, and system
CN106302747A (en) * 2016-08-17 2017-01-04 北京乐美无限科技有限公司 A kind of business cloud platform of Internet WEB front-end exploitation
CN106371829A (en) * 2016-08-24 2017-02-01 北京邮电大学 Modularization thinking-based template framework design method and system
CN107222505A (en) * 2017-07-12 2017-09-29 杭州时趣信息技术有限公司 A kind of method and device for being adapted to external protocol

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294320A (en) * 2018-12-07 2020-06-16 杭州海康威视系统技术有限公司 Data conversion method and device
CN111488227A (en) * 2020-04-28 2020-08-04 浙江网商银行股份有限公司 Data access method and system
CN111488227B (en) * 2020-04-28 2023-06-23 浙江网商银行股份有限公司 Data access method and system
CN112487163A (en) * 2020-11-30 2021-03-12 广州品唯软件有限公司 Execution method of automation process and acquisition method and device of interface data of automation process
CN112487163B (en) * 2020-11-30 2024-04-12 广州品唯软件有限公司 Execution method of automatic flow and method and device for acquiring interface data of execution method

Similar Documents

Publication Publication Date Title
CN109325855B (en) Block chain network, deployment method and storage medium
CN111339041B (en) File analysis and storage method and device and file generation method and device
TW201737126A (en) Method and device for executing data recovery operation
CN107798108A (en) A kind of asynchronous task querying method and equipment
CN108572986B (en) Data updating method and node equipment
CN108460002A (en) Affiliate's automatic butt method, apparatus, equipment and storage medium
CN111274252A (en) Block chain data chaining method, device, storage medium and server
CN109254854A (en) Asynchronous invoking method, computer installation and storage medium
CN112052013A (en) Software package generation method and device, storage medium and electronic device
US20200210829A1 (en) Network off-line model processing method, artificial intelligence processing device and related products
CN109151025A (en) Load-balancing method, device, computer storage medium and equipment based on URL
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN110599175A (en) Block processing method and related equipment
CN111177243A (en) Data export method and device, storage medium and electronic device
CN109783367A (en) Interface test method, device, computer installation and storage medium
US20210149709A1 (en) Method and apparatus for processing transaction
CN111488151B (en) Page interaction method and device among Android modules
CN109783201A (en) Method for interchanging data and its system
CN110941658A (en) Data export method, device, server and storage medium
CN111522840A (en) Label configuration method, device, equipment and computer readable storage medium
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
CN113495723B (en) Method, device and storage medium for calling functional component
CN112597119A (en) Method and device for generating processing log and storage medium
CN107632896A (en) A kind of data processing method, data processing equipment and communication apparatus
CN108460001A (en) Interconnection method, device, equipment and storage medium on a kind of partner product line

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828