Channel information processing method and device, computer device, and storage medium

By parsing business requests to obtain channel identifiers and configuration information, and adjusting conversion templates, efficient data communication between the business system and the channel is achieved, solving the problem of low communication efficiency in existing technologies.

CN116306512BActive Publication Date: 2026-05-19PING AN PAY ELECTRONIC PAYMENT CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
PING AN PAY ELECTRONIC PAYMENT CO LTD
Filing Date
2023-03-15
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, data communication between business systems and channels is inefficient, requiring data conversion through code writing, which leads to redundancy issues.

Method used

By parsing the business request to obtain the channel identifier, determining the preset configuration information, adjusting the initial conversion template to the target conversion template, calling the target conversion template to adjust the business request, obtaining the channel request, and traversing the channel identifier to obtain the target channel information.

Benefits of technology

It improved the efficiency of data communication between business systems and channels, reduced code redundancy, and increased the data communication rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116306512B_ABST
    Figure CN116306512B_ABST
Patent Text Reader

Abstract

The application relates to a data processing technology, and provides a channel information processing method and device, computer equipment and a storage medium, which comprises the following steps: when a service request output by a service system is received, the service request is analyzed to obtain a corresponding channel identifier; preset configuration information corresponding to the channel identifier is determined; an initial conversion template corresponding to the service system is determined, and the initial conversion template is adjusted according to the preset configuration information to obtain a target conversion template; the target conversion template is called to adjust the service request to obtain a channel request corresponding to the channel identifier; and target channel information is obtained by traversing a target channel corresponding to the channel identifier according to the channel request. The application can improve the data communication efficiency between the service system and the channel, and promote the rapid development of a smart city.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, and more particularly to a method, apparatus, computer equipment, and storage medium for processing channel information. Background Technology

[0002] When a business system communicates with different channels, the data exchanged between the two parties needs to be processed due to differences in data structure and data naming, in order to ensure normal data communication between the business system and the channels.

[0003] In the process of implementing this application, the applicant discovered the following problems with the existing technology: during the integration process, data conversion is usually achieved through code writing, resulting in code redundancy and low efficiency in data communication between the business system and the channel.

[0004] Therefore, it is necessary to provide a channel information processing method that can improve the data communication efficiency between business systems and channels. Summary of the Invention

[0005] In view of the above, it is necessary to propose a channel information processing method, a channel information processing device, a computer device and a storage medium, which can improve the data communication efficiency between the business system and the channel.

[0006] The first aspect of this application provides a channel information processing method, the channel information processing method comprising:

[0007] When a business request is received from the business system, the business request is parsed to obtain the corresponding channel identifier;

[0008] Determine the preset configuration information corresponding to the channel identifier;

[0009] Determine the initial conversion template corresponding to the business system;

[0010] The initial conversion template is adjusted according to the preset configuration information to obtain the target conversion template;

[0011] The target conversion template is invoked to adjust the business request, resulting in the channel request corresponding to the channel identifier;

[0012] Based on the channel request, traverse the target channels corresponding to the channel identifier to obtain the target channel information.

[0013] Furthermore, in the channel information processing method provided in the embodiments of this application, parsing the business request to obtain the corresponding channel identifier includes:

[0014] Parse the business request to obtain the preset channel keywords corresponding to the business request;

[0015] Determine the preset data format for the preset channel keywords and channel identifiers;

[0016] The channel identifier corresponding to the preset channel keyword is determined according to the preset data format.

[0017] Furthermore, in the channel information processing method provided in the embodiments of this application, determining the preset configuration information corresponding to the channel identifier includes:

[0018] Determine the mapping relationship between the pre-set channel identifier and the preset configuration information;

[0019] By traversing the mapping relationship, the preset configuration information corresponding to the channel identifier is obtained.

[0020] Furthermore, in the channel information processing method provided in the embodiments of this application, the step of adjusting the initial conversion template according to the preset configuration information to obtain the target conversion template includes:

[0021] Determine multiple initial parameter items corresponding to the initial conversion template;

[0022] Based on the preset configuration information, select several target parameter items from the plurality of initial parameter items;

[0023] Determine the initial parameter configuration information for the target parameter item;

[0024] The initial parameter configuration information is adjusted according to the preset configuration information to obtain the target parameter configuration information;

[0025] The target parameter configuration information is combined to obtain the target conversion template.

[0026] Furthermore, in the channel information processing method provided in the embodiments of this application, the step of selecting several target parameter items from the plurality of initial parameter items according to the preset configuration information includes:

[0027] Determine the configuration items in the preset configuration information;

[0028] Detect whether there is an initial parameter item among the plurality of initial parameter items that matches the configuration item;

[0029] When the detection result indicates that there is an initial parameter item among the multiple initial parameter items that matches the configuration item, the determined initial parameter item is selected as the target parameter item.

[0030] Furthermore, in the channel information processing method provided in the embodiments of this application, the step of calling the target conversion template to adjust the business request and obtain the channel request corresponding to the channel identifier includes:

[0031] Determine the business request item corresponding to the business request and the business parameter information corresponding to the business item;

[0032] Determine the target parameter configuration information corresponding to the business request item in the target conversion template;

[0033] Adjust the business parameter information according to the target parameter configuration information to obtain the channel request item;

[0034] The channel request items are combined to obtain the channel request corresponding to the channel identifier.

[0035] Furthermore, in the channel information processing method provided in the embodiments of this application, the step of traversing the target channels corresponding to the channel identifier according to the channel request to obtain the target channel information includes:

[0036] Determine the channel request item corresponding to the channel request;

[0037] Based on the channel request item, traverse the target channels corresponding to the channel identifier to obtain the channel request item information;

[0038] The target channel information is obtained by combining the channel request information.

[0039] A second aspect of this application also provides a channel information processing device, the channel information processing device comprising:

[0040] The request parsing module is used to parse the business request output by the business system to obtain the corresponding channel identifier when it receives the business request.

[0041] The configuration determination module is used to determine the preset configuration information corresponding to the channel identifier;

[0042] The template determination module is used to determine the initial conversion template corresponding to the business system;

[0043] The template adjustment module is used to adjust the initial conversion template according to the preset configuration information to obtain the target conversion template.

[0044] The request adjustment module is used to call the target conversion template to adjust the business request and obtain the channel request corresponding to the channel identifier.

[0045] The information traversal module is used to traverse the target channels corresponding to the channel identifier according to the channel request to obtain the target channel information.

[0046] A third aspect of this application also provides a computer device, the computer device including a processor, the processor being configured to execute a computer program stored in a memory to implement the channel information processing method as described in any of the preceding claims.

[0047] A fourth aspect of this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the channel information processing method described in any one of the above embodiments.

[0048] The channel information processing method, device, computer equipment, and computer-readable storage medium provided in this application improve the data communication efficiency between the business system and the channel by determining the preset configuration information of the channel identifier corresponding to the business request, adjusting the initial conversion template according to the preset configuration information to obtain the target conversion template, then calling the target conversion template to adjust the business request to obtain the channel request corresponding to the channel identifier, and finally obtaining the channel information based on the channel request. This application can be applied to various functional modules of smart cities, such as smart government affairs and smart transportation, including the channel information processing module of a smart city, thus promoting the rapid development of smart cities. Attached Figure Description

[0049] Figure 1 This is a flowchart of a channel information processing method provided in an embodiment of this application.

[0050] Figure 2 This is an application environment diagram of channel information processing provided in an embodiment of this application.

[0051] Figure 3 This is a flowchart illustrating the determination of a channel identifier according to an embodiment of this application.

[0052] Figure 4 This is a flowchart illustrating the determination of a target conversion template provided in one embodiment of this application.

[0053] Figure 5 This is a flowchart illustrating the process of determining a channel request according to an embodiment of this application.

[0054] Figure 6 This is a flowchart illustrating the determination of target channel information provided in one embodiment of this application.

[0055] Figure 7 This is a structural diagram of a channel information processing device provided in an embodiment of this application.

[0056] Figure 8 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application.

[0057] The following detailed description, in conjunction with the accompanying drawings, will further illustrate this application. Detailed Implementation

[0058] To better understand the above-mentioned objectives, features, and advantages of this application, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0059] Numerous specific details are set forth in the following description in order to provide a full understanding of this application. The described embodiments are only some, not all, of the embodiments of this application.

[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0061] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0062] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0063] The channel information processing method provided in this embodiment of the invention is executed by a computer device, and correspondingly, the channel information processing device runs in the computer device. Figure 1 This is a flowchart of a channel information processing method provided in an embodiment of this application. For example... Figure 1 As shown, the channel information processing method may include the following steps. The order of these steps in the flowchart may be changed, and some may be omitted, depending on different requirements:

[0064] S11. When a business request is received from the business system, the business request is parsed to obtain the corresponding channel identifier.

[0065] In at least one embodiment of this application, combined with Figure 2 This application describes the application environment for the channel information processing provided in the embodiments of this application. The business system communicates with several channels, such as... Figure 2As shown, the business system communicates with Channel 1, Channel 2, and Channel 3 respectively. The business request is a request output by the business system to obtain channel information. After processing by the channel information processing device 20, the channel request corresponding to each channel is obtained. Then, the channel information corresponding to each channel is obtained based on the channel request. The business request includes a business request item and corresponding business parameter information. The business request item can refer to a request item related to a business scenario in the business system. For example, the business scenarios corresponding to the business system include billing scenarios, financial management scenarios, recharge and payment scenarios, and application service scenarios. The business request item can correspond to a billing request item, a financial management request item, a recharge and payment request item, and an application service request item. The business parameter information refers to the parameter information requested by the business request item. For example, when the business request item is a billing request item, the business parameter information can be requesting bill data for a specific date. It can be understood that the business parameter information conforms to the data format and data naming rules of the business system. The channel identifier is used to uniquely identify the channel communicating with the business system. In one embodiment, the channel identifier can be a color identifier, a letter identifier, or a number identifier, without limitation.

[0066] Combination Figure 3 This application describes the process for determining the channel identifier provided in its embodiments. Optionally, parsing the service request to obtain the corresponding channel identifier includes:

[0067] S111, parse the business request to obtain the preset channel keywords corresponding to the business request.

[0068] In one embodiment, the service request includes preset channel keywords, which are keywords used to uniquely identify a channel. The service request may contain only one preset channel keyword or multiple preset channel keywords. When the service request contains only one preset channel keyword, it indicates that the service system is connected to one channel; when the service request contains multiple preset channel keywords, it indicates that the service system is connected to multiple channels.

[0069] S112, determine the preset data format of the preset channel keywords and channel identifiers.

[0070] In one embodiment, the preset data format refers to the data format between the preset channel keyword and the channel identifier that is set in advance. For example, the preset data format can be {preset channel keyword: channel identifier}.

[0071] S113, determine the channel identifier corresponding to the preset channel keyword according to the preset data format.

[0072] S12, determine the preset configuration information corresponding to the channel identifier.

[0073] In at least one embodiment of this application, the preset configuration information refers to the relevant configuration information of data in the channel (also referred to as channel data in this application). For example, the preset configuration information includes the format configuration information and naming configuration information of the channel data. The preset configuration information is stored in a preset database. Considering the reliability and privacy of data storage, the preset database can be a target node in a blockchain.

[0074] In one embodiment, the preset configuration information can be categorized according to the strategy class corresponding to the target channel. The strategy class refers to a pre-set configuration strategy, which can be set according to actual needs. For example, the strategy class may include, but is not limited to, segmentation strategy, concatenation strategy, conversion strategy, and point-based strategy. The segmentation strategy refers to the way the expression corresponding to the channel data is cut and the function mapping pointer of each segment node. For example, the expression corresponding to the channel data in channel A is segmented using the # symbol. After segmentation, the first segment node serves as a data pool node, the second segment node serves as a data node pointer, and the third segment node serves as a result conversion pointer. The concatenation strategy specifies the strategy pool for extracting channel data. For example, it specifies the conversion function corresponding to user information for keyword A and the conversion function corresponding to goods attributes for keyword B. The conversion strategy refers to the conversion of data types. For example, the field type required by the business system is string type, and the field type required by the channel data is numeric type. The point-based strategy refers to the strategy for hitting the target channel data.

[0075] In one embodiment, each strategy class includes a business scenario corresponding to the channel data. These business scenarios may include billing scenarios, wealth management scenarios, payment / recharge scenarios, and application service scenarios. For each business scenario, there is a specific strategy under the strategy class. For example, when the strategy class is a segmentation strategy, the business scenarios related to the segmentation strategy include billing scenarios and wealth management scenarios. The billing scenario corresponds to segmentation strategy A, and the wealth management scenario corresponds to segmentation strategy B. Segmentation strategy A and segmentation strategy B are different.

[0076] This application embodiment classifies the preset configuration information according to strategy categories. When adjusting the initial conversion template according to the preset configuration information to obtain the target conversion template, the conversion template can be adjusted according to the strategy category, ensuring the conversion template adjustment rate and thereby improving the channel information processing rate.

[0077] Optionally, determining the preset configuration information corresponding to the channel identifier includes:

[0078] Determine the mapping relationship between the pre-set channel identifier and the preset configuration information.

[0079] By traversing the mapping relationship, the preset configuration information corresponding to the channel identifier is obtained.

[0080] S13, determine the initial conversion template corresponding to the business system.

[0081] In at least one embodiment of this application, the initial conversion template refers to an initialization template used to convert business requests output by the business system into channel requests. The initial conversion template is stored in the preset database, and there is a correspondence between the initial conversion template and the business system. By querying this correspondence, the initial conversion template corresponding to the business system can be obtained. In one embodiment, the initial conversion template can be categorized according to the strategy class corresponding to the business system. The strategy class refers to a pre-set configuration strategy, which can be set according to actual needs. For example, the strategy class may include, but is not limited to, segmentation strategy, splicing strategy, conversion strategy, and point-based strategy. It is understood that the strategy class corresponding to the business system should include the strategy class corresponding to the target channel. When the strategy class corresponding to the business system includes the strategy class corresponding to the target channel, it can be ensured that the business request can be converted into a channel request corresponding to the target channel. For the same strategy class A, the specific strategy of strategy A corresponding to the business system and the specific strategy of strategy A corresponding to the target channel can be the same or different, and no restriction is placed here.

[0082] In one embodiment, each strategy class includes a business scenario corresponding to a business system. The business scenario corresponding to the business system may or may not be the same as the business scenario corresponding to the channel; this is not limited here. Taking the example that the business scenario corresponding to the business system can be the same as the business scenario corresponding to the channel, the business scenario corresponding to the business system includes billing scenarios, wealth management scenarios, recharge and payment scenarios, and application service scenarios, etc. For each business scenario, there is a specific strategy under the strategy class. For example, when the strategy class is a segmentation strategy, the business scenarios related to the segmentation strategy include billing scenarios and wealth management scenarios, wherein the billing scenario corresponds to segmentation strategy A, and the wealth management scenario corresponds to segmentation strategy B, and segmentation strategy A and segmentation strategy B are different.

[0083] In one embodiment, the initial conversion template includes multiple initial parameter items and initial parameter configuration information corresponding to each initial parameter item. The initial parameter items can refer to parameter items corresponding to a business scenario. When the business scenario is a billing scenario, the initial parameter item can be a billing parameter item; when the business scenario is a financial management scenario, the initial parameter item can be a financial management parameter item; when the business scenario is a recharge / payment scenario, the initial parameter item can be a recharge / payment parameter item. Further details are omitted here. For each initial parameter item, there is corresponding initial parameter configuration information, which is associated with the strategy class to which the initial parameter item belongs. When the initial parameter item is a segmentation strategy class, the initial parameter configuration information can refer to the segmentation method of the expression corresponding to the business data in the business system and the function mapping pointer of each segmentation node.

[0084] S14, adjust the initial conversion template according to the preset configuration information to obtain the target conversion template.

[0085] In at least one embodiment of this application, when the business system establishes a communication connection with a channel, the initial conversion template is adjusted according to the configuration information corresponding to the channel to obtain a target conversion template, and then the target conversion template is called to convert the business request output by the business system to obtain the channel request corresponding to the channel.

[0086] Combination Figure 4 This application describes the process for determining the target conversion template provided in its embodiments. Optionally, adjusting the initial conversion template according to the preset configuration information to obtain the target conversion template includes:

[0087] S141, determine multiple initial parameter items corresponding to the initial conversion template.

[0088] In one embodiment, each initial parameter item within the initial conversion template has a corresponding initial parameter item keyword, which is used to uniquely identify the initial parameter item. By determining the initial parameter item keywords in the initial conversion template and based on the correspondence between the initial parameter item keywords and the initial parameter items, multiple initial parameter items corresponding to the initial conversion template can be obtained.

[0089] S142, select several target parameter items from the plurality of initial parameter items according to the preset configuration information.

[0090] In one embodiment, the preset configuration information includes multiple business scenarios categorized according to strategy types. For each business scenario, there is a corresponding channel parameter item and its configuration information. The target parameter item refers to a parameter item selected from the plurality of initial parameter items that is identical to the channel parameter item in the preset configuration information. The number of target parameter items can be one or more.

[0091] S143, determine the initial parameter configuration information of the target parameter item.

[0092] In one embodiment, the target parameter item and the initial parameter configuration information are written in a certain data format, for example, the data format is {target parameter item: initial parameter configuration information}. The initial parameter configuration information corresponding to the target parameter item can be obtained according to the data format.

[0093] S144, adjust the initial parameter configuration information according to the preset configuration information to obtain the target parameter configuration information.

[0094] In one embodiment, the initial parameter configuration information is adjusted to the corresponding parameter configuration information in the preset configuration information to obtain target parameter configuration information. The step of adjusting the initial parameter configuration information according to the preset configuration information to obtain target parameter configuration information includes: determining a channel parameter item that is identical to the target parameter item; determining the channel parameter configuration information corresponding to the channel parameter item in the preset configuration information; and updating the initial parameter configuration information to the channel parameter configuration information to obtain the target parameter configuration information.

[0095] S145, combine the target parameter configuration information to obtain the target conversion template.

[0096] In one embodiment, the target parameter configuration information corresponding to each target parameter item is combined to obtain a target conversion template.

[0097] In at least one embodiment of this application, the step of selecting several target parameter items from the plurality of initial parameter items according to the preset configuration information includes:

[0098] Determine the channel parameter item in the preset configuration information.

[0099] Detect whether there is an initial parameter item among the plurality of initial parameter items that is the same as the channel parameter item.

[0100] When the detection result shows that there is an initial parameter item that is the same as the channel parameter item among the multiple initial parameter items, the determined initial parameter item is selected as the target parameter item.

[0101] S15, the target conversion template is invoked to adjust the business request and obtain the channel request corresponding to the channel identifier.

[0102] In at least one embodiment of this application, the target conversion template is invoked to adjust the business request, converting the business data in the business system within the business request into channel data corresponding to the channel, thereby obtaining a channel request. Then, the channels are traversed according to the channel request to obtain the target channel information.

[0103] Combination Figure 5 This application describes the channel request determination process provided in its embodiments. Optionally, the step of invoking the target conversion template to adjust the service request and obtain the channel request corresponding to the channel identifier includes:

[0104] S151, determine the business request item corresponding to the business request and the business parameter information corresponding to the business request item.

[0105] In one embodiment, each service request item has a unique corresponding service request item keyword. By determining the service request item keyword contained in the service request and the correspondence between the service request item keyword and the service request item, the service request item corresponding to the service request can be obtained. The service request item and the service parameter information can be combined according to a certain data format, and the service parameter information corresponding to the service request item can be obtained through this data format.

[0106] S152, determine the target parameter configuration information corresponding to the business request item in the target conversion template.

[0107] In one embodiment, the business request item refers to a request item related to a business scenario in the business system. For example, the business request item may correspond to a bill request item, a wealth management request item, a recharge and payment request item, and an application service request item. The target conversion template contains configuration information for target parameter items that are the same as the channel parameter items corresponding to the channel. Both the channel parameter items and the target parameter items refer to request items related to the business scenario. Therefore, determining the target parameter configuration information corresponding to the business request item in the target conversion template includes: obtaining several target parameter items corresponding to the target conversion template; and determining the target parameter configuration information corresponding to the target parameter items that are the same as the business request item.

[0108] S153, adjust the business parameter information according to the target parameter configuration information to obtain the channel request item.

[0109] In one embodiment, the business parameter information conforms to the data format and naming rules of the business system, and the target parameter configuration information conforms to the data format and naming rules of the channel. The business parameter information is adjusted to the target parameter configuration information to obtain a channel request item. The channel request item refers to the business scenario and corresponding parameter information that the business system requests to be obtained from the channel.

[0110] S154, combine the channel request items to obtain the channel request corresponding to the channel identifier.

[0111] In one embodiment, when there are multiple service request items, there are also multiple channel request items, and each channel request item corresponds to a service request item. By combining the channel request items according to a certain data format, the channel request corresponding to the channel identifier can be obtained.

[0112] S16, based on the channel request, traverse the target channels corresponding to the channel identifier to obtain the target channel information.

[0113] In at least one embodiment of this application, combined with Figure 6 This application describes the process for determining target channel information provided in its embodiments. The step of traversing the target channels corresponding to the channel identifier based on the channel request to obtain target channel information includes:

[0114] S161, determine the channel request item corresponding to the channel request.

[0115] S162, based on the channel request item, traverse the target channels corresponding to the channel identifier to obtain the channel request item information.

[0116] S163, combine the channel request information to obtain the target channel information.

[0117] The channel information processing method provided in this application improves the data communication efficiency between the business system and the channel by determining the preset configuration information of the channel identifier corresponding to the business request, adjusting the initial conversion template according to the preset configuration information to obtain the target conversion template, then calling the target conversion template to adjust the business request to obtain the channel request corresponding to the channel identifier, and finally obtaining the channel information according to the channel request. This application can be applied to various functional modules of smart cities such as smart government affairs and smart transportation, such as the channel information processing module of smart cities, and can promote the rapid development of smart cities.

[0118] Please see Figure 7 , Figure 7 This is a structural diagram of a channel information processing device provided in an embodiment of this application.

[0119] In some embodiments, the channel information processing device 20 may include multiple functional modules composed of computer program segments. The computer programs for each program segment in the channel information processing device 20 may be stored in the memory of a computer device and executed by at least one processor to perform (see details). Figure 1 (Description) Functions of channel information processing.

[0120] In this embodiment, the channel information processing device 20 can be divided into multiple functional modules according to the functions it performs. These functional modules may include: a request parsing module 201, a configuration determination module 202, a template determination module 203, a template adjustment module 204, a request adjustment module 205, and an information traversal module 206. The term "module" in this application refers to a series of computer program segments that can be executed by at least one processor and perform a fixed function, and which are stored in memory. In this embodiment, the functions of each module will be detailed in subsequent embodiments.

[0121] The request parsing module 201 can be used to parse the business request when it receives a business request output by the business system and obtain the corresponding channel identifier.

[0122] The configuration determination module 202 can be used to determine the preset configuration information corresponding to the channel identifier.

[0123] The template determination module 203 can be used to determine the initial conversion template corresponding to the business system.

[0124] The template adjustment module 204 can be used to adjust the initial conversion template according to the preset configuration information to obtain the target conversion template.

[0125] The request adjustment module 205 can be used to call the target conversion template to adjust the business request and obtain the channel request corresponding to the channel identifier.

[0126] The information traversal module 206 can be used to traverse the target channel corresponding to the channel identifier according to the channel request to obtain the target channel information.

[0127] In at least one embodiment of this application, the request parsing module 201 can also be used to parse the business request to obtain the preset channel keyword corresponding to the business request; determine the preset data format of the preset channel keyword and the channel identifier; and determine the channel identifier corresponding to the preset channel keyword according to the preset data format.

[0128] In at least one embodiment of this application, the configuration determination module 202 can also be used to determine the mapping relationship between a pre-set channel identifier and preset configuration information; and traverse the mapping relationship to obtain the preset configuration information corresponding to the channel identifier.

[0129] In at least one embodiment of this application, the template determination module 203 can also be used to determine multiple initial parameter items corresponding to the initial conversion template; select several target parameter items from the multiple initial parameter items according to the preset configuration information; determine the initial parameter configuration information of the target parameter items; adjust the initial parameter configuration information according to the preset configuration information to obtain target parameter configuration information; and combine the target parameter configuration information to obtain the target conversion template.

[0130] In at least one embodiment of this application, the template determination module 203 can also be used to determine the configuration items in the preset configuration information; detect whether there is an initial parameter item that matches the configuration item among the plurality of initial parameter items; when the detection result is that there is an initial parameter item that matches the configuration item among the plurality of initial parameter items, select the determined initial parameter item as the target parameter item.

[0131] In at least one embodiment of this application, the request adjustment module 205 can also be used to determine the business request item corresponding to the business request and the business parameter information corresponding to the business request item; determine the target parameter configuration information corresponding to the business request item in the target conversion template; adjust the business parameter information according to the target parameter configuration information to obtain the channel request item; and combine the channel request item to obtain the channel request corresponding to the channel identifier.

[0132] In at least one embodiment of this application, the request adjustment module 205 can also be used to determine the channel request item corresponding to the channel request; traverse the target channel corresponding to the channel identifier according to the channel request item to obtain channel request item information; and combine the channel request item information to obtain target channel information.

[0133] See Figure 8 The diagram shown is a structural schematic of a computer device provided in an embodiment of this application. In a preferred embodiment of this application, the computer device 3 includes a memory 31, at least one processor 32, at least one communication bus 33, and a transceiver 34.

[0134] Those skilled in the art should understand that Figure 8 The structure of the computer device shown does not constitute a limitation of the embodiments of this application. It can be a bus structure or a star structure. The computer device 3 may also include more or fewer other hardware or software than shown, or different component arrangements.

[0135] In some embodiments, the computer device 3 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices. The computer device 3 may also include client devices, which include, but are not limited to, any electronic product that can interact with a client via a keyboard, mouse, remote control, touchpad, or voice control device, such as personal computers, tablet computers, smartphones, and digital cameras.

[0136] It should be noted that the computer device 3 described is merely an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.

[0137] In some embodiments, the memory 31 stores a computer program that, when executed by the at least one processor 32, implements all or part of the steps in the channel information processing method described above. The memory 31 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0138] Furthermore, the computer-readable storage medium may primarily include a program storage area and a data storage area, wherein the program storage area may store the operating system, at least one application required for a function, etc.; and the data storage area may store data created based on the use of blockchain nodes, etc.

[0139] The blockchain referred to in this application is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.

[0140] In some embodiments, the at least one processor 32 is the control unit of the computer device 3, connecting various components of the computer device 3 via various interfaces and lines. It executes programs or modules stored in the memory 31 and calls data stored in the memory 31 to perform various functions and process data of the computer device 3. For example, when the at least one processor 32 executes the computer program stored in the memory, it implements all or part of the steps of the channel information processing method described in this application embodiment; or it implements all or part of the functions of the channel information processing device. The at least one processor 32 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.

[0141] In some embodiments, the at least one communication bus 33 is configured to enable communication between the memory 31 and the at least one processor 32, etc.

[0142] Although not shown, the computer device 3 may also include a power supply (such as a battery) to power various components. Preferably, the power supply can be logically connected to the at least one processor 32 via a power management device, thereby enabling functions such as charging, discharging, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The computer device 3 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0143] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor to execute portions of the methods described in the various embodiments of this application.

[0144] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

[0145] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0146] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0147] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of this application is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within this application. No reference numerals in the claims should be construed as limiting the scope of the claims. Furthermore, it is clear that the word "comprising" does not exclude other elements or, and the singular does not exclude the plural. Multiple elements or devices recited in the specification may also be implemented by a single element or device through software or hardware. The terms "first," "second," etc., are used to indicate names and do not indicate any particular order.

[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.

Claims

1. A method for processing channel information, characterized in that, The channel information processing method includes: When a business request is received from the business system, the business request is parsed to obtain the corresponding channel identifier; Determine the preset configuration information corresponding to the channel identifier; Determine the initial conversion template corresponding to the business system; Adjusting the initial conversion template according to the preset configuration information to obtain a target conversion template includes: determining multiple initial parameter items corresponding to the initial conversion template; selecting several target parameter items from the multiple initial parameter items according to the preset configuration information; determining the initial parameter configuration information of the target parameter items; adjusting the initial parameter configuration information according to the preset configuration information to obtain target parameter configuration information; combining the target parameter configuration information to obtain the target conversion template; the initial conversion template represents the initialization template for converting the business request output by the business system to obtain a channel request; The target conversion template is invoked to adjust the business request, resulting in the channel request corresponding to the channel identifier; Based on the channel request, traverse the target channels corresponding to the channel identifier to obtain the target channel information.

2. The channel information processing method according to claim 1, characterized in that, The process of parsing the business request to obtain the corresponding channel identifier includes: Parse the business request to obtain the preset channel keywords corresponding to the business request; Determine the preset data format for the preset channel keywords and channel identifiers; The channel identifier corresponding to the preset channel keyword is determined according to the preset data format.

3. The channel information processing method according to claim 1, characterized in that, The step of determining the preset configuration information corresponding to the channel identifier includes: Determine the mapping relationship between the pre-set channel identifier and the preset configuration information; By traversing the mapping relationship, the preset configuration information corresponding to the channel identifier is obtained.

4. The channel information processing method according to claim 1, characterized in that, The step of selecting several target parameter items from the plurality of initial parameter items according to the preset configuration information includes: Determine the configuration items in the preset configuration information; Detect whether there is an initial parameter item among the plurality of initial parameter items that matches the configuration item; When the detection result indicates that there is an initial parameter item among the multiple initial parameter items that matches the configuration item, the determined initial parameter item is selected as the target parameter item.

5. The channel information processing method according to claim 1, characterized in that, The step of invoking the target conversion template to adjust the business request and obtaining the channel request corresponding to the channel identifier includes: Determine the business request item corresponding to the business request and the business parameter information corresponding to the business item; Determine the target parameter configuration information corresponding to the business request item in the target conversion template; Adjust the business parameter information according to the target parameter configuration information to obtain the channel request item; The channel request items are combined to obtain the channel request corresponding to the channel identifier.

6. The channel information processing method according to claim 5, characterized in that, The step of traversing the target channels corresponding to the channel identifier according to the channel request to obtain the target channel information includes: Determine the channel request item corresponding to the channel request; Based on the channel request item, traverse the target channels corresponding to the channel identifier to obtain the channel request item information; The target channel information is obtained by combining the channel request information.

7. A channel information processing apparatus, used to execute the channel information processing method as described in any one of claims 1 to 6, characterized in that, The channel information processing device includes: The request parsing module is used to parse the business request output by the business system to obtain the corresponding channel identifier when it receives the business request. The configuration determination module is used to determine the preset configuration information corresponding to the channel identifier; The template determination module is used to determine the initial conversion template corresponding to the business system; The template adjustment module is used to adjust the initial conversion template according to the preset configuration information to obtain the target conversion template. The request adjustment module is used to call the target conversion template to adjust the business request and obtain the channel request corresponding to the channel identifier. The information traversal module is used to traverse the target channels corresponding to the channel identifier according to the channel request to obtain the target channel information.

8. A computer device, characterized in that, The computer device includes a processor that executes a computer program stored in a memory to implement the channel information processing method as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program thereon, characterized in that, When the computer program is executed by a processor, it implements the channel information processing method as described in any one of claims 1 to 6.