CN108989422A - A kind of message and document handling method and system - Google Patents

A kind of message and document handling method and system Download PDF

Info

Publication number
CN108989422A
CN108989422A CN201810763552.6A CN201810763552A CN108989422A CN 108989422 A CN108989422 A CN 108989422A CN 201810763552 A CN201810763552 A CN 201810763552A CN 108989422 A CN108989422 A CN 108989422A
Authority
CN
China
Prior art keywords
file
message
industry
information
configuration
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
CN201810763552.6A
Other languages
Chinese (zh)
Inventor
刘书文
陈清江
徐冬冬
傅彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201810763552.6A priority Critical patent/CN108989422A/en
Publication of CN108989422A publication Critical patent/CN108989422A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • H04L63/205Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of message and document handling method and systems, are related to information technology field.The described method includes: obtaining message and file from sender;According to the configuration information in the key information match configuration file in acquired message, the message and file that will acquire according to matched configuration information are converted into meeting the message and file of recipient's standard;By after conversion message and file be sent to recipient.The message and document handling method and system provided through the invention, it is capable of the multiplex interface of higher degree, so that industrial application system does not need the interface for developing various criterion identical function for different industries side, the processing of uniform service logic facilitates the exploitation of industrial application system.

Description

A kind of message and document handling method and system
Technical field
The present invention relates to information technology field, in particular to a kind of message and document handling method and system.
Background technique
Bank ETC (Electronic Toll Collection, electronic charging) System Development is rapid, with such as bank ETC The industrial application system of system is basic carrier, and bank itself can develop client, improve product competitiveness and user's degree of adhesion. In the prior art, the industry side of the ununified standard of the industry method, system of industrial application system external connection, different regions or department System, standard difference are very big.There is the agreement different using TCP/IP, HTTP etc. in communication protocol;Have in communication type synchronous, different The different type such as step and full duplex;The format for having streaming message, XML message etc. different in communication message interaction;File interface On to file format and obtain rule have different definition;The specification for having GBK, UTF-8 etc. different on coding criterion has in safety Different safety measures, abnormality processing, error code, which is named, also very big difference.
In the prior art, industry method, system of the industrial application system of a unit different regions generally according to this area Standard carries out corresponding industrial application system development, needs connecing for different industries side's standard development identical function various criterion Mouthful, it is not easy to industrial application system and carries out unified service logic rule process.It is answered to uniformly be laid out and carry out national industry With business, it is very necessary to construct the unified industrial application system in the whole nation.Simultaneously because the system of industry side of industrial application system external connection The ununified standard of system, in face of the demand of product rapid development, the processing method and system of multi-standard adaptation are very necessary.
Summary of the invention
To solve the above problems, the present invention provides the processing method and system of a kind of message and file, by the method and System carries out the standard handovers between industrial application system and industry side, realizes in industry side's standard message and industrial application system Portion is using between mutual conversion, industry side's normative document and the industrial application internal system application normative document between standard message Mutual conversion, the message and file format of standard can be provided for industrial application system, unify industry convenient for industrial application system The processing for logic rules of being engaged in, is multiplexed relevant interface in a higher degree, without being concerned about the standard of different industries side and then going out The interface for sending out various criterion identical function, to construct unified industrial application system.
The embodiment of the present invention in a first aspect, providing a kind of message and document handling method, which comprises obtain and From the message and file of sender;According to the configuration information in the key information match configuration file in acquired message, root The message and file that will acquire according to matched configuration information are converted into meeting the message and file of recipient's standard;After conversion Message and file are sent to recipient.
Optionally, described sender is industrial application system, and the recipient is industry method, system;Or described sender is Industry method, system, the recipient are industrial application system.
Specifically, the key message of the message includes: industry side's information, the file information, security information;The configuration text Part is corresponding with industry method, system, and the configuration information in the configuration file includes industry side's standard message configuration information, industry Square normative document configuration information, industry side's security strategy.
Further, the configuration information in the key information match configuration file in the message according to acquired in, will Message and file to be sent is converted into the message for meeting recipient's standard and file includes:
Industry side's information, the file information, security information are obtained from message;It is configured according to the industry side of acquisition information matches File obtains configuration file corresponding with industry side's information;Matched according to industry side's standard message in the configuration file Acquired message is converted to the message for meeting message recipient's standard by confidence breath;According to the matching of the file information of acquisition Industry side's normative document configuration information in configuration file, will be to be converted according to matched industry side's normative document configuration information File is converted to the file for meeting file reception side's standard, and the file after conversion is put into file server;According to the peace of acquisition Full information matches industry side's security strategy in the configuration file, is reported according to matched industry side's security strategy to treated Text is encrypted.
Further, during carrying out message conversion and file is converted, by key to be converted in message and file Field configuration is called enumeration function to carry out field to the critical field of message and file and is turned in configuration file by configuration file It changes.
Specifically, the critical field includes code word field, mistake code field.
Further, the configuration information in the key information match configuration file in the message according to acquired in, will Message and file to be sent is converted into meeting the message and file of recipient's standard further include:
After industrial application system file to be sent is converted to the file for meeting industry side's standard, file is put files into The file of upload is directly stored in file server by server or industry method, system;File service API is provided for sender and is connect Debit calls, so that file is uploaded to file server by sender, makes recipient from the text after file server downloading conversion Part.
The second aspect of the embodiment of the present invention provides a kind of message and document handling system, the system comprises: first is logical Believe adapter, obtains message and file from sender;Inter-process adapter, according to the key message in acquired message The configuration information in configuration file is matched, the message and file that will acquire are converted into meeting the message and file of recipient's standard. Second communication adapter, by after conversion message and file be sent to recipient.
Optionally, described sender is industrial application system, and the recipient is industry method, system;Or described sender is Industry method, system, the recipient are industrial application system.
Specifically, the key message of the message includes: industry side's information, the file information, security information;The configuration text Part is corresponding with industry method, system, and configuration information includes industry side's standard message configuration information, the configuration of industry side's normative document Information, industry side's security strategy.
Further, the inter-process adapter includes: data obtaining module, and industry side's letter is obtained from message Breath, the file information, security information;Matching module obtains and the row according to the industry side of acquisition information matches configuration file The corresponding configuration file of industry side's information;Message processing module (MPM) is configured according to industry side's standard message in the configuration file Acquired message is converted to the message for meeting message recipient's standard by information;Document processing module, according to the text of acquisition Industry side's normative document configuration information in configuration file described in part information matches is configured according to matched industry side's normative document File to be converted is converted to the file for meeting file reception side's standard by information;Security module is believed according to the safety of acquisition Breath matches industry side's security strategy in the configuration file, and according to matched security strategy, to treated, message adds It is close.
Further, the inter-process adapter further include:
Field conversion module will be to be converted in message and file during carrying out message conversion and field is converted Critical field configure in configuration file, pass through configuration file call enumeration function carry out field conversion.
Specifically, the critical field includes code word field, mistake code field.
Further, in the internal processor adapter further include:
File server, what the file for meeting industry side's standard or industry method, system after storage conversion directly uploaded File.Document transmission module provides file service API and calls for sender and recipient, and file is uploaded to file clothes Business device downloads file from file server.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence, the program are executed by processor message and document handling method to realize the embodiment of the present invention.
Detailed description of the invention
Fig. 1 is message and document handling method according to an embodiment of the present invention;
Fig. 2 is the flow chart of message processing method according to an embodiment of the present invention;
Fig. 3 is message encryption method flow diagram according to an embodiment of the present invention;
Fig. 4 A is the downloading file process flow chart for including document handling method according to embodiments of the present invention;
Fig. 4 B is the upload file process flow chart for including document handling method according to embodiments of the present invention;
Fig. 5 shows the structural schematic diagram of message according to an embodiment of the present invention and document handling system;
Fig. 6 shows another structural schematic diagram of message according to an embodiment of the present invention and document handling system.
Specific embodiment
It is described in detail to various aspects of the present invention below in conjunction with the drawings and specific embodiments.Wherein, many institute's weeks Module, unit and its mutual connection, link, communication or the operation known are not shown or do not elaborate.Also, institute Feature, framework or the function of description can combine in any way in one or more embodiments.Those skilled in the art Member is it should be appreciated that following various embodiments are served only for the protection scope for example, and is not intended to limit the present invention.May be used also To be readily appreciated that, module or unit or step in each embodiment described herein and shown in the drawings can be matched by various differences It sets and is combined and designs.
The message processing method of the embodiment of the present invention is illustrated below in conjunction with embodiment.
According to an embodiment of the present, message and document handling method are provided, Fig. 1 is according to an embodiment of the present invention A kind of message and document handling method, referring to Fig.1, which comprises
100: obtaining message and file from sender;
101: according to the configuration information in the key information match configuration file in acquired message, being matched according to matched The message and file that confidence breath will acquire are converted into meeting the message and file of recipient's standard;
102: by after conversion message and file be sent to recipient.
Specifically, message and file of interaction between industrial application system and industry method, system of the embodiment of the present invention carries out Processing.Sender described in processing 100 is industrial application system, and recipient described in corresponding processing 102 is system of industry side System;Sender described in processing 100 is industry method, system, and the recipient is industrial application system.When there are multiple industry sides When system, one of industrial application system and multiple industry method, systems carry out message and file interaction, are configured by modification File makes processing of the industrial application system to different industry method, system uniform service logic rules.
Specifically, different industry method, systems is matched by communication adapter, the key message of the message includes: industry Square information, the file information, security information;The configuration file is corresponding with industry method, system, the configuration in the configuration file Information includes industry side's standard message configuration information, industry side's normative document configuration information, industry side's security strategy.
By method described in Fig. 1, the message of industrial application internal system standard and file can be converted into industry side The message of industry method, system standard and file are converted into industrial application internal system standard by the message and file of system standard Message and file, enable industrial application system uniform service logic rules, do not need as different industry side's standard developments The interface of various criterion identical function, it is only necessary to it is developed according to exploitation industry application system internal standard, it being capable of more elevation Degree ground multiplex interface, consequently facilitating the industrial application system that building is unified, carries out the iteratively faster of product.
Fig. 2A is the flow chart according to the request message processing method of the embodiment of the present invention;Fig. 2 B is to be implemented according to the present invention The response message processing method flow chart of example;Referring to Fig. 2A, by taking industrial application system sends request message as an example, Message processing Process are as follows:
201, the request message that industrial application system is sent is obtained from industrial application system by sources traffic adapter;It is described Sources traffic adapter is corresponding with the industrial application system, and the request message meets industrial application system standard, at this time institute Sources traffic adapter is stated as the first communication adapter.
202, industry side's information is obtained from the request message;
203, according to the industry side of acquisition information matches configuration file, configuration corresponding with industry side's information is obtained File;
204, the request message is converted into according to industry side's standard message configuration information in the configuration file Meet the message of industry side's standard;
205, by purpose communication adapter, by treated, message is sent to corresponding industry method, system;
Specifically, the purpose communication adapter is corresponding with industry method, system, different industry method, systems is corresponding different Purpose communication adapter.Purpose communication adapter is logical by purpose after message conversion as the second communication adapter at this time Believe that adapter presses its corresponding industry method, system normal structure message, so that the message for meeting industry side's standard is sent to accordingly Industry method, system, so that solving between industrial application system and different industries method, system can not because message is different with agreement The problem of communication.
After industry method, system receives the request message, returning response message.Referring to Fig. 2 B, industry side is returned in detailed description The process that the response message returned is handled
211, it is received by purpose communication adapter corresponding with industry method, system and is reported from response described in industry method, system Text;At this point, purpose communication adapter is as the first communication adapter;
212, industry side's information is obtained from the response message,
213, according to industry side's information configuration file, configuration file corresponding with industry side's information is obtained;
214, the response message is converted to according to industry side's standard message configuration information in configuration file and meets row The message of industry application system internal standard.
215, industrial application internal system is met for described by sources traffic adapter corresponding with industrial application system The message of standard is sent to industrial application system;At this point, sources traffic adapter is as the second communication adapter.
What the interaction of industrial application system and industry side was mainly realized by message, but the standard that industry side is different Very big inconvenience is brought for message interaction.The method through this embodiment, not according to industry side's data separation in message With industry side, standard handovers are carried out to message to match different configuration files, after Message processing, pass through different industries By treated, message is sent to corresponding industry side to square adapter, for the interaction side of providing of industrial application system and industry side Just, so that industrial application system in exploitation without developing the interface of identical function various criterion, raising for different industry side Interface duplex rate, and improve development efficiency.
Further, during carrying out message conversion, by critical field configuration to be converted in message in configuration text In part, enumeration function is called to carry out field conversion to the critical field of message by the configuration file.Specifically, the message In critical field include code word field and wrong code field, enumeration methodology is encapsulated as to the enumeration function that can be called, it is described It include industrial application system standard field parameter and industry method, system standard word corresponding with the configuration file in configuration file Section parameter, critical field to be converted is configured in configuration file, by calling enumeration function that can carry out enumerating conversion.
Consistent code word field and error code coding are established as a result,.In newly-increased every time and modification error code, only need It to modify to field parameter of the configuration in configuration file, it is not necessary to modify codes to carry out program deployment.This field conversion Method unified internal standard, be adapted to the technical standard of different industries side, to facilitate development, improved exploitation The efficiency of test.
Further, industry side's security strategy in the configuration file according to the security information matches of acquisition, according to To treated, message encrypts the industry side's security strategy matched.
Fig. 3 is message encryption method flow diagram according to an embodiment of the present invention.Referring to Fig. 3, using industry method, system as asking For asking sender, message encryption method is illustrated, the specific steps are as follows:
301: obtaining security strategy;Specifically, call safe interface from configuration file according to the security information in message Obtain the security strategy between industrial application system and industry method, system corresponding with configuration file.The security strategy is including being It is no to carry out full message encryption, whether generate/verify context, whether generate/and verify MAC.
302: being decided whether that full message encryption interface is called to carry out full message encryption according to security strategy;
303: deciding whether that calling safe context to generate interface carries out generation safe context according to security strategy;
304: deciding whether that calling full message MAC to generate interface generates full message MAC according to security strategy;
305: according to message recipient (industrial application system) specification organization security heading.
The above-mentioned method encrypted according to security strategy to message makes data transmission have more safety.Exploitation safety API is called for industry method, system, enables industry method, system to be adapted to the security system of industrial application internal system, to guarantee The safety of data interaction, confidentiality and defensive.
Fig. 3 is said as requesting sender to according to security strategy progress message encryption using industry method, system It is bright, it should be understood that, the present embodiment method is equally applicable to the report that industrial application system is carried out as request sender Text encryption.After message is converted and encrypted, by communication adapter according to the normal structure message of message recipient, to pass through phase By treated, message is sent to recipient to the communication adapter answered.
Fig. 4 A is the downloading file process flow chart for including document handling method according to embodiments of the present invention, and Fig. 4 B is to include The upload file process flow chart of document handling method according to an embodiment of the present invention.File is downloaded with industrial application system request For, referring to Fig. 4 A, downloading file process process is as follows:
401: the request that industrial application system is sent being obtained by communication adapter and downloads file message;
402: message is converted to and meets reception institute by the acquired message of method processing according to embodiments of the present invention State the message of the industry method, system standard of message;
403: by communication adapter, by treated, request downloading file message is sent to corresponding industry method, system;
Further, the method according to embodiments of the present invention, will treated that message is sent to corresponding industry Before method, system, according to security strategy, to treated, message is encrypted.
404: after industry method, system receives request downloading file message, file service API being called to upload the file of request To file server;
405: industry method, system returning response message;
406: after obtaining response message, the file information is obtained from response message, file service is called according to the file information The file of API acquisition request from file server;
407: industry side's normative document configuration information in configuration file being matched according to the file information of acquisition, according to described Industry side's normative document configuration information carries out file conversion;
Specifically, industry side's normative document configuration information in the configuration file is matched according to the file information, according to institute It states industry side's normative document configuration information and is converted to the file of the acquisition and meet industrial application system (file request side) mark Quasi- file.
Specifically, after having matched industry side's normative document configuration information, industry side's normative document configuration information packet It is configured containing industry side's file format, calls corresponding document analysis module to acquisition according to industry side's file format configuration File is parsed, and special field processing function is called to handle the special field in file.Then, file organization is called File organization is to meet the file of industrial application system (file request side) standard by module, to complete turning for file format It changes.
408, it after having carried out file conversion, sends notice message and gives industrial application system, notify under industry application system Published article part.
Fig. 4 B is the upload file process for including document handling method according to embodiments of the present invention, in industrial application system For transmitting file, referring to Fig. 4 B, it is as follows to upload file process process:
411: industrial application system sends upper transmitting file message, and calls transmitting file on file service API;
412: industry side's information and the file information are obtained from the upper transmitting file message, according to industry side's information With configuration file corresponding with the industry method, system, according to the industry side matched in the file information in the configuration file Normative document configuration information, being translated the file into according to industry side's normative document configuration information becomes the row for meeting reception file The file of the standard of industry method, system;
Specifically, corresponding document analysis module resolution file is called according to industry side's normative document configuration information, And it calls corresponding special field processing function to handle special field, then calls file organization module according to reception Industry method, system (recipient) Standards Organization document of file, and then translate the file into as the file for meeting recipient's standard.
413: calling file service API by treated, file is sent to file server;
414: sending notice message after upper transmitting file and give industry method, system;
415: after industry method, system receives notice message, returning response message;
416: the response message that industry method, system returns is obtained, the method handles message according to embodiments of the present invention, Message is converted to the message for meeting industrial application system standard;
417: by treated, response message is sent to industrial application system, and notice industry application system uploads result.
The file obtained from industry side, can be converted into meeting industrial application system by the method through this embodiment The file that be sent to industry method, system obtained from industrial application system is converted into meeting reception file by the file of standard The file of industry method, system standard.Mode described in the present embodiment passes through the configuration management of input-output file format, realizes The conversion of file type, the variation to industry side, it is only necessary to modify configuration file, save the development time.
Optionally, file uploads and file download can also be using other files, for example, in system of industry side On system when transmitting file, message described in the present embodiment and document handling system are actively obtained from the ftp server of industry method, system File is taken to carry out file process, after translating the file into meet the file of industrial application system standard, is sent the file to Industrial application system.Wherein, before message and document handling system obtain file, file is uploaded to oneself by industry method, system Ftp server.Then the file that the document handling method according to embodiments of the present invention will acquire is converted into meeting industry The file format of application system internal standard.Meanwhile when industry method, system downloads file, message described in the embodiment of the present invention And document handling system obtains the file to be uploaded to industry method, system file server from industrial application system, it will be to be uploaded After file is converted to the file for meeting industry method, system, file is placed on to the specified position of industry side's file server.
Method described in the embodiment of the present invention provides a kind of flexible File Upload and Download method for industry method, system, Industry method, system can determine which kind of specifically used mode carries out file and uploads and downloads according to the demand of industry side and status, The method and system of the embodiment of the present invention are enabled to be adapted to more industry method, systems.
In other embodiments of the present invention, a kind of computer readable storage medium is provided, computer program is stored thereon with, The program is executed by processor to realize above-mentioned message and document handling method.The storage medium can be hard disk, floppy disk, light Disk, flash memory, tape etc..Optionally, the storage medium can also be storage and execute the computing facillities of program, intelligence Energy terminal etc..
According to another embodiment of the present invention, a kind of message and document handling system are provided.Fig. 5 is shown according to the present invention The message of embodiment and the structural schematic diagram of document handling system.As shown in figure 5, the system 50 includes: the first communication adaptation Device 51 obtains message and file from sender;Inter-process adapter 52, according to the key message in acquired message With the configuration information in configuration file, the message and file that will acquire are converted into meeting the message and file of recipient's standard.The Two communication adapters 53, by after conversion message and file be sent to recipient.
Optionally, described sender is industrial application system, and the recipient is industry method, system;Or described sender is Industry method, system, the recipient are industrial application system.
Specifically, the key message of the message includes: industry side's information, the file information, security information;The configuration text Part is corresponding with industry method, system, and configuration information includes industry side's standard message configuration information, the configuration of industry side's normative document Information, industry side's security strategy.
Further, referring to Fig. 6, the inter-process adapter 52 includes: data obtaining module 521, from message Obtain industry side's information, the file information, security information;Matching module 522 configures text according to the industry side of acquisition information matches Part obtains configuration file corresponding with industry side's information;Message processing module (MPM) 523, according in the configuration file Acquired message is converted to the message for meeting message recipient's standard by industry side's standard message configuration information;File process mould Block 524 matches industry side's normative document configuration information in the configuration file according to the file information of acquisition, according to matching Industry side's normative document configuration information file to be converted is converted to the file for meeting file reception side's standard;Security module 525, industry side's security strategy in the configuration file according to the security information matches of acquisition, according to matched security strategy To treated, message is encrypted.
Further, the inter-process adapter further include:
Field conversion module 526 configures critical field to be converted in message during carrying out message conversion In configuration file, enumeration function is called to carry out field conversion by configuration file.
Specifically, the critical field includes code word field, mistake code field.
Further, in the internal processor adapter further include:
After file server device 527 stores the file obtained from sender, and storage is sent to the conversion of recipient File.Document transmission module 528 provides file service API and calls for sender and recipient, file is uploaded to text Part server downloads file from file server.
The technical staff in the field can be understood that, for convenience and simplicity of description, the device of foregoing description, Module, the specific work process of unit, can be with reference to corresponding process in preceding method embodiment, and details are not described herein.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by The mode of software combination hardware platform is realized.Based on this understanding, technical solution of the present invention makes tribute to background technique That offers can be embodied in the form of software products in whole or in part, which can store is situated between in storage In matter, such as ROM/RAM, magnetic disk, CD, including some instructions use is so that a computer equipment (can be individual calculus Machine, server, smart phone or network equipment etc.) it executes described in certain parts of each embodiment of the present invention or embodiment Method.
Term and wording used in description of the invention are just to for example, be not intended to constitute restriction.Ability Field technique personnel should be appreciated that under the premise of not departing from the basic principle of disclosed embodiment, to above embodiment In each details can carry out various change.Therefore, the scope of the present invention is only determined by claim, in the claims, unless It is otherwise noted, all terms should be understood by the broadest reasonable meaning.

Claims (15)

1. a kind of message and document handling method, which is characterized in that the described method includes:
Obtain message and file from sender;
It, will according to matched configuration information according to the configuration information in the key information match configuration file in acquired message The message and file of acquisition are converted into meeting the message and file of recipient's standard;
By after conversion message and file be sent to recipient.
2. the method as described in claim 1, which is characterized in that
Described sender is industrial application system, and the recipient is industry method, system;Or
Described sender is industry method, system, and the recipient is industrial application system.
3. method according to claim 2, which is characterized in that
The key message of the message includes: industry side's information, the file information, security information;
The configuration file is corresponding with industry method, system, and the configuration information in the configuration file includes industry side's standard message Configuration information, industry side's normative document configuration information, industry side's security strategy.
4. method as claimed in claim 3, which is characterized in that the key information match in the message according to acquired in is matched The configuration information in file is set, message and file to be sent are converted into the message for meeting recipient's standard and file includes:
Industry side's information, the file information, security information are obtained from message;
According to the industry side of acquisition information matches configuration file, configuration file corresponding with industry side's information is obtained;
Acquired message is converted to according to industry side's standard message configuration information in the configuration file and meets message and connects The message of debit's standard;
Industry side's normative document configuration information in the configuration file is matched according to the file information of acquisition, according to matched row File to be converted is converted to the file for meeting file reception side's standard by industry side's normative document configuration information;
Industry side's security strategy in the configuration file according to the security information matches of acquisition, according to matched industry side's safety Strategy calls safe interface, and to treated, message is encrypted.
5. according to the method described in claim 4, it is characterized in that, during carrying out message conversion, by message wait turn The critical field changed configures in configuration file, calls enumeration function to carry out field to the critical field of message by configuration file Conversion.
6. according to the method described in claim 5, it is characterized in that, the critical field includes code word field, mistake code word Section.
7. method as claimed in claim 4, which is characterized in that the key information match in the message according to acquired in is matched The configuration information in file is set, is converted into message and file to be sent to meet the message of recipient's standard and file also wraps It includes:
After industrial application system file to be sent is converted to the file for meeting industry side's standard, file service is put files into The file of upload is directly stored in file server by device or industry method, system;
It provides file service API to call for sender and recipient, so that file is uploaded to file server by sender, makes to connect Debit downloads the file after conversion from file server.
8. a kind of message and document handling system, which is characterized in that the system comprises:
First communication adapter obtains message and file from sender;
Inter-process adapter will be obtained according to the configuration information in the key information match configuration file in acquired message The message and file taken is converted into meeting the message and file of recipient's standard;
Second communication adapter, by after conversion message and file be sent to recipient.
9. system as claimed in claim 8, which is characterized in that
Described sender is industrial application system, and the recipient is industry method, system;Or
Described sender is industry method, system, and the recipient is industrial application system.
10. system as claimed in claim 9, which is characterized in that
The key message of the message includes: industry side's information, the file information, security information;
The configuration file is corresponding with industry method, system, and configuration information includes industry side's standard message configuration information, industry Square normative document configuration information, industry side's security strategy.
11. system as claimed in claim 10, which is characterized in that the inter-process adapter includes:
Data obtaining module obtains industry side's information, the file information, security information from message;
Matching module obtains match corresponding with industry side's information according to the industry side of acquisition information matches configuration file Set file;
Message processing module (MPM) turns acquired message according to industry side's standard message configuration information in the configuration file It is changed to the message for meeting message recipient's standard;
Document processing module matches industry side's normative document in the configuration file with confidence according to the file information of acquisition File to be converted, the text for meeting file reception side's standard is converted to according to matched industry side's normative document configuration information by breath Part;
Security module, industry side's security strategy in the configuration file according to the security information matches of acquisition, according to matching Security strategy to treated, message is encrypted.
12. system as claimed in claim 11, which is characterized in that the inter-process adapter further include:
Field conversion module is configuring critical field configuration to be converted in message during carrying out message conversion In file, enumeration function is called to carry out field conversion by configuration file.
13. system as claimed in claim 12, which is characterized in that the critical field includes code word field, mistake code word Section.
14. system as claimed in claim 4, which is characterized in that in the internal processor adapter further include:
File server, the file that the file for meeting industry side's standard or industry method, system after storage conversion directly upload;
Document transmission module provides file service API and calls for sender and recipient, file is uploaded to file service Device downloads file from file server.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of executing to realize any one of claim 1 to 8 the method.
CN201810763552.6A 2018-07-12 2018-07-12 A kind of message and document handling method and system Pending CN108989422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810763552.6A CN108989422A (en) 2018-07-12 2018-07-12 A kind of message and document handling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810763552.6A CN108989422A (en) 2018-07-12 2018-07-12 A kind of message and document handling method and system

Publications (1)

Publication Number Publication Date
CN108989422A true CN108989422A (en) 2018-12-11

Family

ID=64537846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810763552.6A Pending CN108989422A (en) 2018-07-12 2018-07-12 A kind of message and document handling method and system

Country Status (1)

Country Link
CN (1) CN108989422A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055078A (en) * 2020-09-02 2020-12-08 数字广东网络建设有限公司 Data transmission method and device, computer equipment and storage medium
CN112527536A (en) * 2020-12-31 2021-03-19 广东鑫兴科技有限公司 MES data interaction control method and device, electronic equipment and storage medium
CN112751908A (en) * 2020-11-30 2021-05-04 航天信息股份有限公司 Data transmission method and system
CN115665284A (en) * 2022-10-28 2023-01-31 上海浦东发展银行股份有限公司 Message processing method and device based on distributed configuration center and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005293157A (en) * 2004-03-31 2005-10-20 Ufj Bank Ltd Payment data processing system, payment data processing program and payment data processing method
CN101013436A (en) * 2007-01-25 2007-08-08 无敌科技(西安)有限公司 Method and system for converting text data of different formats to uniform format
CN101022431A (en) * 2007-03-09 2007-08-22 ***通信集团福建有限公司 Interface gateway and interface gateway data processing method
CN101833738A (en) * 2010-05-19 2010-09-15 中国农业银行股份有限公司 Data processing method and system between domestic custodian bank and overseas custodian agent bank
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology
CN103164389A (en) * 2011-12-14 2013-06-19 ***(深圳)有限公司 Method and system for processing user-defined format plane ticket files

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005293157A (en) * 2004-03-31 2005-10-20 Ufj Bank Ltd Payment data processing system, payment data processing program and payment data processing method
CN101013436A (en) * 2007-01-25 2007-08-08 无敌科技(西安)有限公司 Method and system for converting text data of different formats to uniform format
CN101022431A (en) * 2007-03-09 2007-08-22 ***通信集团福建有限公司 Interface gateway and interface gateway data processing method
CN101833738A (en) * 2010-05-19 2010-09-15 中国农业银行股份有限公司 Data processing method and system between domestic custodian bank and overseas custodian agent bank
CN103164389A (en) * 2011-12-14 2013-06-19 ***(深圳)有限公司 Method and system for processing user-defined format plane ticket files
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055078A (en) * 2020-09-02 2020-12-08 数字广东网络建设有限公司 Data transmission method and device, computer equipment and storage medium
CN112055078B (en) * 2020-09-02 2023-10-03 数字广东网络建设有限公司 Data transmission method, device, computer equipment and storage medium
CN112751908A (en) * 2020-11-30 2021-05-04 航天信息股份有限公司 Data transmission method and system
CN112527536A (en) * 2020-12-31 2021-03-19 广东鑫兴科技有限公司 MES data interaction control method and device, electronic equipment and storage medium
CN115665284A (en) * 2022-10-28 2023-01-31 上海浦东发展银行股份有限公司 Message processing method and device based on distributed configuration center and computer equipment

Similar Documents

Publication Publication Date Title
CN108989422A (en) A kind of message and document handling method and system
Gazis A Survey of Standards for Machine-to-Machine and the Internet of Things
CN106506502B (en) A kind of multi-modal mobile electron medical records system and its method of work
EP1495610B1 (en) Method and device for handling synchronization related information
US11641400B2 (en) Method and apparatus for secure passive wireless communication with Bluetooth vitals devices
US8447969B2 (en) Transfer device for sensitive material such as a cryptographic key
CN110381093B (en) Method and device for converting data protocol, system for transmitting data and electronic equipment
CN104270826B (en) A kind of information processing method and electronic equipment
CN112073923A (en) Communication method, device, gateway and readable storage medium compatible with multiple operators
CN110648241A (en) Claim settlement processing method and device based on micro-service architecture
CN109089299A (en) It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode
CN107888622B (en) Information processing method and mobile management entity
CN109819026A (en) Method for transmitting information and device
CN101006706B (en) Communication device, communication system, communication method
WO2020009797A1 (en) Efficient resource representation exchange between service layers
CN1331036C (en) Method for data storage by a mobile terminal and mobile terminal storage device
CN114866970A (en) Policy control method, system and related equipment
CN102325187A (en) System and method for integrating multiple function services
CN112766486A (en) Searching method of neural network structure, terminal, server and readable storage medium
CN109600837B (en) System information generation method and device
CN111783643A (en) Face recognition method and device, electronic equipment and storage medium
CN112835731B (en) Data processing method and device
CN110493735A (en) A kind of SMS processing method and device
CN102651881A (en) Parameter modifying method and system in test of external field of wireless network
CN102810136A (en) Printing equipment and security printing method

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181211

WD01 Invention patent application deemed withdrawn after publication