Message processing method and device, electronic equipment and storage medium

By using message conversion scripts in the auto insurance business, the problem of platform architecture reconstruction when connecting non-standard channels is solved, standardized information transmission between different channels is realized, and processing efficiency is improved.

CN118694820APending Publication Date: 2024-09-24SUNSHINE PROPERTY & CASUALTY INSURANCE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410719223.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

There are many existing auto insurance business docking channels and platforms. When docking non-standard channels, the platform structure needs to be re-established, resulting in a large amount of manual labor and low processing efficiency.

Method used

By obtaining the call request of the caller to the server interface, determining the message forward conversion script and reverse conversion script according to the channel identification, loading and executing the script to achieve message conversion, ensuring standardized information transmission between different channels.

Benefits of technology

It reduces the amount of manual labor, improves the efficiency of auto insurance business processing, and realizes standardized information transmission between different callers and service providers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694820A
    Figure CN118694820A
Patent Text Reader

Abstract

The invention relates to the technical field of computers, in particular to a message processing method and device, electronic equipment and a storage medium. Determining a message forward conversion script and a message reverse conversion script corresponding to a channel identifier in the mapping relation according to the channel identifier of the calling party carried in the calling request, and loading the message forward conversion script to convert a request message in the calling request into a standard message which can be identified by the service party and transmit the standard message to the service party, and returning a response message after the service party performs data processing on the request message, and then loading a message reverse conversion script to reversely convert the response message into a response message which can be identified by the calling party. In this way, standardized information transmission between different calling parties and service parties is achieved by loading the dynamic scripts, the manual labor amount is reduced, and the car insurance service processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a message processing method, device, electronic equipment, and storage medium. Background Art

[0002] There are many existing auto insurance business docking channel platforms, including traditional channels and Internet channels. Due to the different docking channels, when the docking channel is a non-standard channel, it is necessary to set up a new non-standard channel entrance according to the channel standard, including decrypting the channel message, hard-coding the channel message into the insurance policy object, initializing data, rule verification, calling the core business logic, returning data encapsulation, and encrypting and returning according to the non-standard channel requirements. In this way, the platform architecture needs to be re-established every time the docking is done, which requires a lot of manual labor. Summary of the invention

[0003] In view of this, an object of the present invention is to provide a message processing method, device, electronic device, and storage medium.

[0004] In a first aspect, an embodiment of the present invention provides a message processing method, which is applied to a message processing tool, and the method includes:

[0005] Obtain the call request from the caller to the service provider interface, which carries the channel identifier and request message;

[0006] According to the channel identifier, determine the message forward conversion script and the message reverse conversion script corresponding to the channel identifier from a preset mapping table;

[0007] Load and execute the message forward conversion script to convert the request message in the call request, obtain the request message that can be recognized by the service provider interface and transmit it to the service provider;

[0008] Obtain the response message sent by the service provider corresponding to the request message;

[0009] Execute the message reverse conversion script to convert the response message, obtain the response message that the caller can recognize, and return the response message to the caller.

[0010] In combination with the first aspect, the step of loading and executing a message forward conversion script to convert the request message in the call request to obtain a request message that can be recognized by the service side interface includes:

[0011] Determine the decryption script according to the request message;

[0012] Load and execute the decryption script to decrypt the request message and obtain the initial request message;

[0013] Based on the preset verification rules, the initial request message is checked by rules;

[0014] If the initial request message meets the preset verification rules, load and execute the message forward conversion script to convert the initial request message to obtain a request message that can be recognized by the service interface.

[0015] In combination with the first aspect, after the step of performing rule verification on the initial request message based on the preset verification rule, the method further includes:

[0016] If the initial request message does not meet the verification rules, a prompt message indicating that the data verification failed is returned to the caller.

[0017] In combination with the first aspect, if the initial request message meets the preset verification rule, the message forward conversion script is loaded and executed to convert the initial request message to obtain a request message that can be recognized by the service interface, which includes:

[0018] Perform integrity check on request messages that can be recognized by the service provider interface;

[0019] If the verification is successful, the request message is sent to the service provider;

[0020] If the verification fails, the configuration information of the service provider's interface or the caller's data packet is used to supplement the request message with data information.

[0021] In combination with the first aspect, the step of executing a message reverse conversion script to convert the response message to obtain a response message that can be recognized by the caller includes:

[0022] Encapsulate the response message and execute the message reverse conversion script to convert the encapsulated response message to obtain a response message that can be recognized by the caller;

[0023] Load the message encapsulation script to encrypt and encapsulate the response message to obtain the encrypted and encapsulated response message.

[0024] In combination with the first aspect, before the step of obtaining the call request from the caller to the service interface, the method further includes:

[0025] Obtain the configuration information of the service provider's interface and the configuration information of multiple caller's interfaces;

[0026] For each caller, a message forward conversion script and a message reverse conversion script are constructed according to the configuration information of the caller's interface and the configuration information of the service provider's interface;

[0027] The mapping relationship between the caller, the service provider, the message forward conversion script, and the message reverse conversion script is constructed and stored in the database.

[0028] In combination with the first aspect, the method further includes:

[0029] In response to the selection or editing operation, a mapping relationship is added, deleted or edited in the mapping table.

[0030] In a second aspect, the present application provides a message processing device, which is applied to a message processing tool, and the device includes:

[0031] The request message acquisition module is used to obtain the call request from the caller to the service provider interface, and the call request carries the channel identifier and the request message;

[0032] A determination module, used to determine, according to the channel identifier, a message forward conversion script and a message reverse conversion script corresponding to the channel identifier from a preset mapping table;

[0033] A forward conversion module is used to load and execute a message forward conversion script to convert the request message in the call request, obtain a request message that can be recognized by the service provider interface and transmit it to the service provider;

[0034] A response message acquisition module is used to obtain a response message corresponding to the request message sent by the service provider;

[0035] The reverse conversion module is used to execute the message reverse conversion script to perform message conversion on the response message, obtain the response message that the caller can recognize, and return the response message to the caller.

[0036] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the above method.

[0037] In a fourth aspect, the present application provides a readable storage medium, wherein the readable storage medium stores computer program instructions, and when the computer program instructions are read and executed by a processor, the above-mentioned method is executed.

[0038] The embodiments of the present invention bring the following beneficial effects: the message processing method provided by the present application, after obtaining the call request of the caller to the service party interface, determines the message forward conversion script and the message reverse conversion script corresponding to the channel identifier in the mapping relationship according to the channel identifier of the caller carried in the call request, loads the message forward conversion script to convert the request message in the call request into a standard message recognizable by the service party and transmits it to the service party, and returns a response message after the service party processes the data of the request message, and then loads the message reverse conversion script to reversely convert the response message into a response message recognizable by the caller. In this way, by loading dynamic scripts, standardized information transmission between different callers and service parties is realized, reducing manual labor and improving the efficiency of motor insurance business processing.

[0039] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0040] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 A flow chart of a message processing method provided by an embodiment of the present invention;

[0043] Figure 2 A schematic diagram of the structure of a message processing device provided in an embodiment of the present invention;

[0044] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0045] Reference numerals:

[0046] 10-acquisition module, 20-determination module, 30-forward conversion module, 40-response message acquisition module, 50-reverse conversion module;

[0047] 130 - processor, 131 - memory, 132 - bus, 133 - communication interface. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0049] In order to facilitate the understanding of this embodiment, the technical terms designed in this application are briefly introduced below.

[0050] A message is a unit of data exchanged and transmitted in a network, that is, a block of data to be sent at one time. A message contains the complete data information to be sent, and its length is very inconsistent. The length is unlimited and variable. A message is also the unit of network transmission. During the transmission process, it will be continuously encapsulated into groups, packets, and frames for transmission. The encapsulation method is to add some information segments, which are the data organized in a certain format by the message header.

[0051] Scripts refer to text commands that can be seen (such as being opened and edited with Notepad). When a script is executed, an interpreter in the system translates it into machine-readable instructions and executes it in sequence. Various scripts are widely used in web design because scripts can not only reduce the size of web pages and increase web browsing speed, but also enrich the performance of web pages such as animation and sound.

[0052] After introducing the technical terms involved in this application, the application scenarios and design concepts of the embodiments of this application are briefly introduced.

[0053] Auto insurance business channels are connected to traditional channels or non-traditional channel platforms such as Internet channel platforms. Due to the different architectures of various channel platforms, it is often necessary to establish a standard entry based on one channel during the business connection process, and convert the business information on the connected driving platform into business data that can be recognized by the standard entry. They provide interface documents, so if it is based on the old architecture, I have to redevelop it according to his standards. For example, when an insurance company faces a small business enterprise, it takes the insurance company's channel platform configuration as the standard and provides a standard port. Small business enterprises need to develop channel platforms and reconfigure various links to convert business information and transmit it to the insurance company's channel platform through the standard port. Similarly, when an insurance company faces a large business enterprise, the large business enterprise has its own channel platform configuration standard. At this time, the insurance company needs to build a channel platform based on the standard port provided by the large business enterprise to receive and convert the insurance business information sent by the large business enterprise into internally identifiable business data, and convert it into data that the insurance company can recognize again after business processing. General auto insurance includes four links: vehicle model query, premium calculation, insurance confirmation and payment. Each development must configure the above four links in sequence.

[0054] However, with the development of the Internet and electronic information technology, the number of non-traditional channel platforms has increased. Before each connection, a new service platform is established to standardize business information, which results in a large amount of manual operations and low efficiency in handling auto insurance business.

[0055] Based on this, the embodiments of the present application provide a message processing method, device, electronic device, and storage medium.

[0056] Example 1

[0057] The present application provides a message processing method, combined with Figure 1 As shown, the method includes:

[0058] S110, obtaining a call request from the caller to the service provider interface, wherein the call request carries a channel identifier and a request message.

[0059] S120, according to the channel identifier, determining a message forward conversion script and a message reverse conversion script corresponding to the channel identifier from a preset mapping table.

[0060] S130, loading and executing a message forward conversion script to perform message conversion on the request message in the call request, obtaining a request message that can be recognized by the service provider interface and transmitting it to the service provider.

[0061] S140, obtaining a response message corresponding to the request message sent by the service provider.

[0062] S150, executing the message reverse conversion script to perform message conversion on the response message, obtaining a response message that can be recognized by the caller, and returning the response message to the caller.

[0063] The message processing method provided by the present application, after obtaining the call request of the caller to the service party interface, determines the message forward conversion script and message reverse conversion script corresponding to the channel identifier in the mapping relationship according to the channel identifier of the caller carried in the call request, and loads the message forward conversion script to convert the request message in the call request into a standard message recognizable by the service party and transmits it to the service party, and after the service party processes the data of the request message, returns a response message, and then loads the message reverse conversion script to reversely convert the response message into a response message recognizable by the caller. In this way, by loading dynamic scripts, standardized information transmission between different callers and service parties is realized, reducing manual labor and improving the efficiency of motor insurance business processing.

[0064] Among them, the channel identifier can refer to a configuration parameter of the caller's interface, such as a specified character. In this embodiment, the caller is a platform for information interaction with the message processing tool. In this embodiment, the application is in the auto insurance business scenario. The caller can be connected to the auto insurance business platform of the service provider, such as Ant, JD.com, etc. The service provider is a service platform for analyzing and processing auto insurance business data, such as verifying information, calculating the insured amount, and issuing insurance policies. The message processing tool is used to convert the request message sent by the caller into a message that the service provider can identify and process data, and then reversely convert the response message obtained by the service provider after identifying and processing the request message into a response message that the caller can identify. Thus, the message interaction between the caller and the service provider is realized based on the message processing tool provided by this application. In this embodiment, the message processing tool at least stores the mapping relationship between the message forward conversion script and the message reverse conversion script corresponding to each channel identifier. The message processing tool can also store the caller name, message data encapsulation format, etc. corresponding to each channel identifier.

[0065] In combination with the first aspect, the message processing tool provided in the present application includes a database, in which a one-to-one correspondence between the caller's channel identifier and a message forward conversion script and a message reverse conversion script is stored. That is to say, regardless of whether the caller is a standard channel or a non-standard channel, the database stores a message forward conversion script and a message reverse conversion script corresponding to the channel identifier of the channel. By loading and executing the message forward conversion script, the request message sent by the caller can be converted into a standard request message recognizable by the service provider; and by loading and executing the message reverse conversion script, the standard response message sent by the service provider can be converted into a non-standard response message recognizable by the caller.

[0066] In combination with the first aspect, the message forward conversion script includes a decryption script, and step S130 loads and executes the message forward conversion script to convert the request message in the call request to obtain a request message that can be recognized by the service interface, including:

[0067] S131, obtaining a decryption script in a message forward conversion script.

[0068] S132, loading and executing a decryption script to decrypt the request message to obtain an initial request message.

[0069] S133, performing rule verification on the initial request message based on preset verification rules;

[0070] S134, if the initial request message meets the preset verification rules, load and execute the message forward conversion script to perform message conversion on the initial request message to obtain a request message that can be recognized by the service party interface.

[0071] S135: If the initial request message does not meet the verification rules, a prompt message indicating that the data verification failed is returned to the caller.

[0072] For information security or according to preset information encapsulation requirements, the request message is usually encapsulated and encrypted before transmission. In this case, the request message needs to be decrypted before conversion.

[0073] When loading and executing the message forward conversion script in step S130, the decryption script is first loaded and executed to decrypt the request message sent by the caller, and then a verification is performed. If the verification is successful, the message forward conversion script is continued to be loaded and executed to convert it into a request message that can be recognized by the service party; if the verification fails, it means that information is missing or the data information is incorrect. At this time, the process needs to be blocked and a prompt message needs to be returned to the caller.

[0074] Specifically, the request message transmitted by the caller meets the message standard of the caller's channel, but may not necessarily meet the service provider's or be recognizable by the service provider. Therefore, the request message needs to be decrypted and converted into a standard request message that the caller can recognize. Before sending the converted request message to the service provider, the message needs to be verified to determine whether there is any missing information. If information is missing, the user can supplement the information, or the missing information in the request message can be found in the database and supplemented.

[0075] In combination with the first aspect, after step S134, the method further includes:

[0076] S136, perform integrity check on the request message that can be recognized by the service provider interface.

[0077] S137, if the verification is successful, the request message is sent to the service provider;

[0078] S138, if the verification fails, call the configuration information of the service provider's interface or the caller's data packet to supplement the request message with data information.

[0079] If the content of the request message is missing after the message is forward converted, the request message can be supplemented with data information by calling the configuration information of the service provider's interface or the caller's data packet.

[0080] The request message that the service party can recognize is transmitted to the service party, and the service party processes the data according to the request message to return the corresponding response message.

[0081] In combination with step S150 of the first aspect, the step of executing a message reverse conversion script to convert the response message to obtain a response message recognizable by the caller, and returning the response message to the caller includes:

[0082] S151, encapsulate the response message and execute the message reverse conversion script to perform message conversion on the encapsulated response message to obtain a response message that can be recognized by the caller.

[0083] S152, loading a message encapsulation script to perform encryption and encapsulation processing on the response message to obtain an encrypted and encapsulated response message.

[0084] By loading and executing the message reverse conversion script, the response message is converted into a response message that can be recognized by the caller, and then the message encapsulation script is loaded to encrypt and encapsulate the response message to ensure information security.

[0085] In combination with the first aspect, before the step of obtaining the calling request of the calling party to the service party interface in S110, the method further includes:

[0086] S010, obtaining configuration information of the service provider's interface and configuration information of multiple caller interfaces.

[0087] S020, for each caller, construct a message forward conversion script and a message reverse conversion script according to the configuration information of the caller's interface and the configuration information of the service provider's interface.

[0088] S030, constructing a mapping relationship between the caller, the service provider, the message forward conversion script, and the message reverse conversion script, and storing the mapping relationship in a database.

[0089] In the process of developing the message processing tool, first obtain the configuration information of the service provider's interface and the configuration information of the caller's interface to be connected, take the service provider's interface as the standard interface, and build a message forward conversion script that converts the request message sent by the caller into a request message that can be recognized by the standard interface. Similarly, build a message reverse conversion script that allows the non-standard interface to recognize the message sent by the standard interface. Establish a one-to-one correspondence between the four and store it.

[0090] In this way, a large number of mapping relationships are stored, so that the message forward conversion script and message reverse conversion script corresponding to the non-standard channel to be connected can be quickly found during the application process, thereby realizing rapid connection with different non-standard channels.

[0091] In combination with the first aspect, the method further includes:

[0092] In response to the selection or editing operation, a mapping relationship is added, deleted or edited in the database.

[0093] In actual application, mapping relationships can be established through manual selection. For example, if the configuration information of the interfaces of multiple non-standard channels is the same and the service provider they connect to is unique, the message forward conversion script and reverse conversion script required for message conversion are the same. At this time, the mapping relationship between these non-standard channels and the service provider can be established by selection or editing.

[0094] In addition, you can delete incorrect or low-usage mapping relationships based on usage requirements.

[0095] In a second aspect, the present application provides a message processing device, which is applied to a message processing tool, combined with Figure 2 As shown, the device includes: an acquisition module 10, a determination module 20, a forward conversion module 30, a response message acquisition module 40 and a reverse conversion module 50.

[0096] The acquisition module 10 is used to acquire a call request from a caller to a service provider interface, wherein the call request carries a channel identifier and a request message.

[0097] The determination module 20 is used to determine, according to the channel identifier, a message forward conversion script and a message reverse conversion script corresponding to the channel identifier from a preset mapping table.

[0098] The forward conversion module 30 is used to load and execute the message forward conversion script to perform message conversion on the request message in the call request, obtain the request message that can be recognized by the service provider interface and transmit it to the service provider.

[0099] The response message acquisition module 40 is used to acquire a response message corresponding to the request message sent by the service provider.

[0100] The reverse conversion module 50 is used to execute the message reverse conversion script to perform message conversion on the response message, obtain a response message that can be recognized by the caller, and return the response message to the caller.

[0101] In a third aspect, the present application provides an electronic device, Figure 3 As shown, the electronic device includes a memory 131 and a processor 130, the memory 131 is used to store computer programs, and the processor 130 runs the computer programs to enable the electronic device to perform the above-mentioned layered verification method based on traffic recording and playback.

[0102] Furthermore, combined with Figure 3 The electronic device shown further includes a bus 132 and a communication interface 133 , and the processor 130 , the communication interface 133 and the memory 131 are connected via the bus 132 .

[0103] The memory 131 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 132 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0104] The processor 130 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 130. The above processor 130 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the above embodiment in combination with its hardware.

[0105] In a fourth aspect, an embodiment of the present application provides a readable storage medium, in which computer program instructions are stored. When the computer program instructions are read and executed by a processor, the above-mentioned layered verification method based on traffic recording and playback is executed.

[0106] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0107] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0108] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0109] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0110] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A message processing method, characterized in that: Applied to a message processing tool, the method comprises: Obtain the call request from the caller to the service provider interface, which carries the channel identifier and request message; According to the channel identifier, determine the message forward conversion script and the message reverse conversion script corresponding to the channel identifier from a preset mapping table; Load and execute the message forward conversion script to convert the request message in the call request, obtain the request message that can be recognized by the service provider interface and transmit it to the service provider; Obtain the response message sent by the service provider corresponding to the request message; Execute the message reverse conversion script to convert the response message, obtain the response message that the caller can recognize, and return the response message to the caller.

2. The method according to claim 1, characterized in that The step of loading and executing the message forward conversion script to convert the request message in the call request to obtain a request message that can be recognized by the service party interface includes: Determine a decryption script according to the request message; Loading and executing the decryption script to decrypt the request message to obtain an initial request message; Based on preset verification rules, the initial request message is subjected to rule verification; If the initial request message meets the preset verification rules, the message forward conversion script is loaded and executed to perform message conversion on the initial request message to obtain a request message that can be recognized by the service party interface.

3. The method according to claim 2, characterized in that After the step of performing rule verification on the initial request message based on the preset verification rule, the method further includes: If the initial request message does not satisfy the verification rule, a prompt message indicating that the data verification failed is returned to the caller.

4. The method according to claim 3, characterized in that If the initial request message meets the preset verification rule, the message forward conversion script is loaded and executed to convert the initial request message to obtain a request message that can be recognized by the service party interface, which includes: Performing integrity check on the request message that can be recognized by the service provider interface; If the verification is successful, the request message is sent to the service provider; If the verification fails, the configuration information of the interface of the service provider or the data packet of the caller is called to supplement the data information of the request message.

5. The method according to claim 1, characterized in that The step of executing the message reverse conversion script to convert the response message to obtain a response message recognizable by the caller includes: Encapsulating the response message and executing the message reverse conversion script to perform message conversion on the encapsulated response message to obtain a response message that can be recognized by the caller; Load the message encapsulation script to encrypt and encapsulate the response message to obtain an encrypted and encapsulated response message.

6. The method according to claim 1, characterized in that Before the step of obtaining the call request from the caller to the service interface, it also includes: Obtaining configuration information of the interface of the service provider and configuration information of the interfaces of the plurality of callers; For each of the callers, construct a message forward conversion script and a message reverse conversion script according to the configuration information of the caller's interface and the configuration information of the service provider's interface; A mapping relationship among the caller, the service provider, the message forward conversion script, and the message reverse conversion script is constructed and stored in a database.

7. The method according to claim 6, characterized in that The method further comprises: In response to the selection or editing operation, a mapping relationship is added, deleted or edited in the mapping table.

8. A message processing device, characterized in that: The device is applied to a message processing tool, and the device comprises: The request message acquisition module is used to obtain the call request from the caller to the service provider interface, and the call request carries the channel identifier and the request message; A determination module, used to determine, according to the channel identifier, a message forward conversion script and a message reverse conversion script corresponding to the channel identifier from a preset mapping table; A forward conversion module is used to load and execute a message forward conversion script to convert the request message in the call request, obtain a request message that can be recognized by the service provider interface and transmit it to the service provider; A response message acquisition module is used to obtain a response message corresponding to the request message sent by the service provider; The reverse conversion module is used to execute the message reverse conversion script to perform message conversion on the response message, obtain a response message that can be recognized by the caller, and return the response message to the caller.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to perform the method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores computer program instructions, and when the computer program instructions are read and executed by a processor, the method according to any one of claims 1 to 7 is executed.