A method and device for establishing connection between a gateway and a communication node

By setting up management and control equipment at the edge of the network and using its scheduling pool to achieve decentralized connection between gateways and communication nodes, the cost and complexity of gateway migration and protocol conversion are solved, and the scalability and availability of the gateway are improved.

CN114500678BActive Publication Date: 2024-08-30ALIBABA (CHINA) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210096156.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-26
Publication Date
2024-08-30
Estimated Expiration
2042-01-26

AI Technical Summary

Technical Problem

In the existing technology, the centralized connection between gateways and communication nodes requires frequent modifications and restarts when the user volume and geographical expansion expand, and gateway migration, expansion, and communication protocol changes increase the operator's deployment costs and maintenance complexity. degree, reducing the scalability and availability of the gateway.

Method used

Set up a management and control device at the edge of the network to maintain a scheduling pool of channel resources and multiple communication protocols provided by multiple communication nodes. The gateway sends the transmission request to the management and control device, which selects the adapted target channel resources and communication protocols from the scheduling pool. , realize decentralized connection establishment between gateways and communication nodes, and reduce the burden of gateway establishment connection work.

Benefits of technology

It reduces the cost of establishing a connection between the gateway and the communication node, improves the scalability and availability of the gateway, avoids the need for modification and restart during gateway migration and protocol change, and reduces the pressure on the laying and maintenance of channel resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114500678B
    Figure CN114500678B
Patent Text Reader

Abstract

The embodiment of the present application provides a method and device for establishing a connection between a gateway and a communication node. A control device is set at the edge of the network, and the control device maintains a scheduling pool containing channel resources provided by multiple communication nodes and multiple communication protocols. Based on this, the gateway can send a transmission request to the control device located at the edge of the network, and the control device selects an adapted target channel resource and target communication protocol for the transmission request from the scheduling pool, and establishes a connection between the gateway and the target communication node bound to the target channel resource and transmits the data to be transmitted to the target communication node. Based on this, the connection work can be separated from the gateway, and the control device located at the edge of the network replaces the gateway and the communication node to perform the connection work. In this way, when the gateway migrates / expands or needs to change the communication protocol, it is no longer necessary to modify or restart the gateway, and it is no longer necessary for the communication node to continuously lay new channel resources, which can greatly reduce the connection cost between the gateway and the communication node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method and device for establishing a connection between a gateway and a communication node. Background Art

[0002] Currently, in communication scenarios, most gateways use a centralized approach to establish connections with channels provided by operators in accordance with established protocols to send information.

[0003] As the number of users and geographical locations continue to increase, it is often necessary to migrate / expand gateways or change gateway communication protocols, which requires a large number of modifications and restart operations on the gateways, which not only puts huge operating pressure on the gateways, but also requires operators to continuously deploy new channels to support migrated / expanded gateways, resulting in a surge in the cost of establishing connections between gateways and operators. Summary of the invention

[0004] Multiple aspects of the present application provide a method and device for establishing a connection between a gateway and a communication node, so as to reduce the cost of establishing a connection between the gateway and the communication node.

[0005] The present application provides a method for establishing a connection between a gateway and a communication node, including:

[0006] Receiving a transmission request sent by a gateway, wherein the transmission request includes data to be transmitted;

[0007] Selecting an adapted target channel resource and a target communication protocol for the transmission request from a scheduling pool, wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes;

[0008] According to the target communication protocol, connecting the gateway and the target communication node bound to the target channel resource through the target channel resource;

[0009] The to-be-transmitted data is transmitted to the target communication node based on the target channel resources.

[0010] The embodiment of the present application also provides a method for establishing a connection between a gateway and a communication node, including:

[0011] receiving data to be transmitted;

[0012] Determine a destination domain corresponding to the data to be transmitted;

[0013] A transmission request is initiated to the control device corresponding to the destination domain, so that the control device selects adapted target channel resources and target communication protocols for the transmission request from the scheduling pool maintained by the control device; according to the target communication protocol, the gateway and the target communication node bound to the target channel resources are connected through the target channel resources; and based on the target channel resources, the data to be transmitted is transmitted to the target communication node; wherein the scheduling pool contains channel resources and multiple communication protocols provided by multiple communication nodes in the destination domain.

[0014] The embodiment of the present application also provides a management and control device, including a memory, a processor, a communication component and a scheduling component;

[0015] The memory is used to store one or more computer instructions;

[0016] The processor is coupled to the memory, the communication component, and the scheduling component, and is configured to execute the one or more computer instructions for:

[0017] Receiving, by the communication component, a transmission request sent by a gateway, wherein the transmission request includes data to be transmitted;

[0018] Selecting an adapted target channel resource and a target communication protocol for the transmission request from a scheduling pool, wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes;

[0019] Establishing a connection between the gateway and the target communication node bound to the target channel resource through the target channel resource by the scheduling component in accordance with the target communication protocol;

[0020] The communication component transmits the data to be transmitted to the target communication node based on the target channel resources.

[0021] The embodiment of the present application also provides a gateway, including a memory, a processor, and a communication component;

[0022] The memory is used to store one or more computer instructions;

[0023] The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for:

[0024] receiving data to be transmitted through the communication component;

[0025] Determine a destination domain corresponding to the data to be transmitted;

[0026] A transmission request is initiated to the control device corresponding to the destination domain through the communication component, so that the control device selects adapted target channel resources and target communication protocols for the transmission request from the scheduling pool maintained by it; according to the target communication protocol, the gateway and the target communication node bound to the target channel resources are connected through the target channel resources; and the data to be transmitted is transmitted to the target communication node based on the target channel resources; wherein the scheduling pool contains channel resources and multiple communication protocols provided by multiple communication nodes in the destination domain.

[0027] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the aforementioned method for establishing a connection between a gateway and a communication node.

[0028] In an embodiment of the present application, a control device is set at the edge of the network, and the control device maintains a scheduling pool containing channel resources provided by multiple communication nodes and multiple communication protocols. Based on this, the gateway can send a transmission request to the control device located at the edge of the network, and the control device selects the adapted target channel resources and target communication protocols for the transmission request from the scheduling pool, and connects the gateway and the target communication node bound to the target channel resources through the target channel resources according to the target communication protocol, and transmits the data to be transmitted to the target communication node based on the target channel resources. Accordingly, in an embodiment of the present application, the gateway no longer needs to directly connect with the communication node in a centralized manner, but the connection work is separated from the gateway, and the control device located at the edge of the network replaces the gateway and the communication node to perform the connection work. In this way, when the gateway migrates / expands or needs to change the communication protocol, it is no longer necessary to modify or restart the gateway, and it is no longer necessary for the communication node to continuously lay new channel resources, which can greatly reduce the connection cost between the gateway and the communication node and improve the scalability and availability of the gateway. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0030] Figure 1 A schematic diagram of a flow chart of a method for establishing a connection between a gateway and a communication node provided by an exemplary embodiment of the present application;

[0031] Figure 2 A schematic diagram of a data transmission path under a service grid provided by an exemplary embodiment of the present application;

[0032] Figure 3A logical schematic diagram of a connection establishment solution provided for an exemplary embodiment of the present application;

[0033] Figure 4 A logical schematic diagram of a preference-based scheduling method provided for an exemplary embodiment of the present application;

[0034] Figure 5 A logical schematic diagram of a multi-factor scheduling method provided for an exemplary embodiment of the present application;

[0035] Figure 6 A schematic diagram of a flow chart of another method for establishing a connection between a gateway and a communication node provided by an exemplary embodiment of the present application;

[0036] Figure 7 A schematic diagram of the structure of a control device provided for another exemplary embodiment of the present application;

[0037] Figure 8 A schematic diagram of the structure of a gateway provided for another exemplary embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0039] At present, most gateways are connected to communication nodes in a centralized manner. Under this connection mode, gateway expansion will lead to a surge in connection costs. For this reason, in some embodiments of the present application: a control device is set at the edge of the network, and the control device maintains a scheduling pool containing channel resources provided by multiple communication nodes and multiple communication protocols. Based on this, the gateway can send a transmission request to the control device located at the edge of the network, and the control device selects the adapted target channel resources and target communication protocols from the scheduling pool for the transmission request, and connects the target communication node bound to the gateway and the target channel resources through the target channel resources according to the target communication protocol, and transmits the data to be transmitted to the target communication node based on the target channel resources. Accordingly, in the embodiment of the present application, the gateway no longer needs to directly connect to the communication node in a centralized manner, but the connection work is separated from the gateway, and the control device located at the edge of the network replaces the gateway and the communication node to perform the connection work. In this way, when the gateway migrates / expands or needs to change the communication protocol, it is no longer necessary to modify or restart the gateway, and it is no longer necessary for the communication node to continuously lay new channel resources, which can greatly reduce the connection cost between the gateway and the communication node and improve the scalability and availability of the gateway.

[0040] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0041] Figure 1 A schematic diagram of a flow chart of a method for establishing a connection between a gateway and a communication node provided by an exemplary embodiment of the present application. Figure 1 , the method may include:

[0042] Step 100: receiving a transmission request sent by a gateway, wherein the transmission request includes data to be transmitted;

[0043] Step 101: Selecting an adapted target channel resource and a target communication protocol for a transmission request from a scheduling pool, where the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes;

[0044] Step 102: Establish a connection between the gateway and the target communication node bound to the target channel resource through the target channel resource according to the target communication protocol;

[0045] Step 103: Transmit the data to be transmitted to the target communication node based on the target channel resources.

[0046] In this embodiment, connection establishment refers to establishing a connection, and the connection establishment scheme provided in this embodiment can be applied to the connection establishment scenario between the gateway and the communication node. The gateway and the communication node can be deployed on the cloud, and this embodiment does not limit the cloud architecture. In a typical application, the cloud architecture can adopt a service mesh (Service Mesh, which refers to a configurable infrastructure layer for microservice applications), and the gateway in this embodiment can be the export gateway in the service mesh. Of course, this embodiment is not limited to this, and the gateway involved in other cloud architectures that need to be connected to the communication node can also be used as the gateway in this embodiment. Among them, the communication node can be an operator device, a supplier device, etc., and this embodiment does not limit this.

[0047] Figure 2 A schematic diagram of a data transmission path under a service grid provided by an exemplary embodiment of the present application. Figure 2, the customer sends the data to be sent (for example, SMS, MMS, video, etc.) to the entry gateway in the service grid; the entry gateway passes the data to the relevant microservices; the microservices process the data; the microservices then provide the processed data to the egress gateway; the egress gateway will establish a connection with the communication node and send the data to the end user through the infrastructure capabilities of the communication node. At present, the main tasks of the egress gateway include data processing, connection establishment and transmission, among which data processing work can refer to further processing of data provided by the upper-level service (the aforementioned microservice) (for example, merging long and short messages, billing, creating a status waiting for receipt, etc.); connection establishment and transmission work can refer to establishing a connection with the communication node and sending data to the established communication node. It can be seen that at present, the connection establishment and sending work are all undertaken by the egress gateway. The connection work involves channel resources. Once the egress gateway needs to be migrated / expanded, due to the limitations of the centralized method, the communication node can no longer use the original channel resources to establish a connection with the new egress gateway. Instead, it needs to lay new channel resources to support the new egress gateway. The new egress gateway needs to adaptively modify its own routing configuration, etc. to adapt to the new channel resources, which has a high maintenance cost for the egress gateway. Moreover, the reusability of channel resources is very low, and the laying cost is very high, resulting in a high complexity of migration / expansion of the egress gateway, and a sharp increase in the connection cost of the egress gateway and communication nodes. The connection work also involves communication protocols. Due to the diversity of channel resources provided by communication nodes, the communication protocols are also diverse. In order to adapt to different channel resources, the egress gateway often needs to change the communication protocol it uses, which requires frequent code-level modifications to the egress gateway, and the egress gateway needs to be restarted continuously, which increases the maintenance cost of the egress gateway, and the restart will reduce the high availability of the egress gateway. This situation will also cause a sharp increase in the connection cost of the egress gateway and communication nodes.

[0048] Through the above exemplary description of the connection scheme between the current egress gateway and the communication node, it can be clearly perceived that, at present, the structure of the gateway is very complex and bloated, and the centralized connection method is not conducive to the expansion of the gateway, and the cost of connection is very high. To this end, this implementation provides a decentralized connection scheme, which reconstructs the traditional gateway in the cloud, decouples the data processing work and routing transmission work in the traditional gateway, deploys control equipment at the edge of the network, and the control equipment takes over the connection work and data transmission work. In this way, the reconstructed gateway no longer needs to care about the connection status and data transmission status, and the structure is simple and very easy to expand; and the control equipment is very easy to deploy in various regions, so that the communication node can achieve nearby access and improve the satisfaction of the terminal user. The execution subject of the connection scheme provided in this embodiment can be a control device. Among them, the control device can be implemented as a microservice in the service grid, and of course, it can also be implemented as a node, cloud server, etc. in other network architectures. This embodiment does not limit the product form of the control device.

[0049] Figure 3 A logical diagram of a connection solution provided by an exemplary embodiment of the present application. Figure 3 Multiple gateways can be deployed in multiple regions. For ease of description, this embodiment will take one of the multiple gateways as an example to illustrate the connection solution. Figure 3 , control equipment can be deployed at the edge of the network, that is, it can be deployed in various regions. For example, control equipment can be deployed in Chengdu and Xi'an respectively, and the control equipment is associated with multiple communication nodes deployed by multiple operators / suppliers in the region where it is located. Among them, operators refer to communication service companies that provide fixed-line telephones, mobile phones and / or Internet access, including but not limited to China Telecom, China Mobile, China Unicom, China Broadcasting and Television, CITIC Network, etc., and communication nodes can be equipment used to support operators in providing communication services. Communication nodes are also deployed in different regions. For example, China Mobile can deploy communication nodes for Chengdu Mobile and Xi'an Mobile.

[0050] In order to support the establishment of a connection, the communication node can also provide channel resources for establishing a connection and configure standardized communication protocols for the channel resources. For example, Chengdu Mobile can configure the CMPP protocol or the SMPP protocol for the channel resources it provides, and Chengdu Unicom can configure the SGIP protocol or the SMPP protocol for the channel resources it provides. In this way, the channel resources are bound to the communication node, and the same communication node can provide multiple channel resources. The communication protocols configured for different channel resources may not be exactly the same. In this embodiment, the channel resources provided by the communication nodes in the area where the control equipment is located can be pooled and centrally and uniformly managed.

[0051] In addition, the control device can also pool the communication protocols that may be used and centrally manage multiple communication protocols. In this way, the control device can maintain a scheduling pool that includes channel resources provided by multiple communication nodes and multiple communication protocols.

[0052] Based on this, reference Figure 1 In step 100, the control device may receive a transmission request sent by the gateway, and the transmission request may include data to be transmitted. The data to be transmitted may be a text message, a multimedia message, a video, etc., which is not limited in this embodiment. In addition, this embodiment does not limit the region where the gateway that sends the transmission request to the control device is located, whether it is a migrated gateway, or whether it is a newly added gateway. That is, any gateway can initiate a transmission request to the control device, thereby directing the gateway's transmission request to the edge of the network.

[0053] In step 101, the target channel resources and target communication protocol that are suitable for the transmission request can be selected from the scheduling pool. As mentioned above, the connection between the gateway and the communication node involves channel resources and communication protocols. Here, the gateway no longer needs to undertake any connection establishment work, but the control device can determine the appropriate target channel resources and target communication protocol for the transmission request initiated by the gateway. Figure 3 , the control device will perform channel resource scheduling and communication protocol scheduling for the transmission request respectively. Since the channel resources and communication protocols in the scheduling pool are very rich, the control device can easily and quickly select appropriate channel resources and communication protocols for the transmission request. This embodiment does not limit the rules used by the control device to select the target channel resources and target communication protocols. It only needs to ensure that the target channel resources and target communication protocols that can achieve connection establishment can be selected. Regarding the scheduling rules, an exemplary implementation method will be provided in subsequent embodiments.

[0054] Based on this, in step 102, the control device can establish a connection between the target communication node bound to the gateway and the target channel resource through the target channel resource in accordance with the target communication protocol. Here, the control device can determine the connection establishment rules according to the target communication protocol; according to the connection establishment rules, the target communication node bound to the gateway and the target channel resource is replaced by the connection establishment interaction to establish a connection between the gateway and the target communication node bound to the target channel resource. For example, if the target communication protocol requires both parties to perform N handshakes to verify the identity, the control device can replace the gateway and the target communication node bound to the target channel resource to perform handshakes to verify the identities of both parties, and after the connection establishment interaction is successful, it is determined that the gateway and the target communication node bound to the target channel resource have been connected. The control device can record the connection relationship between the gateway and the communication node that occurs thereon, so that the control device can ensure the correctness of the transmission path in the subsequent data transmission process.

[0055] In this way, the gateway no longer needs to perform any connection interaction operations, and is completely freed from the connection work, leaving the connection work to the management and control equipment at the edge of the network. From a structural point of view, the gateway structure no longer needs to include the connection part, so the gateway will be more lightweight and very easy to expand / migrate.

[0056] In addition to the connection establishment work, the management and control equipment can also undertake the data transmission work. This also explains why the gateway device in step 100 can directly send a transmission request without initiating a connection establishment request first. In step 103, the management and control equipment can transmit the data to be transmitted to the target communication node based on the target channel resources. That is, the management and control equipment can transmit the data to be transmitted to the target communication node bound to the target channel resources via the target channel resources, so that the target communication node can provide the data to be transmitted to the end user through the infrastructure capability. Since the management and control equipment is located at the edge of the network, for example, the communication node and the end user are very close, which can effectively improve the overall efficiency of data transmission and improve the user experience. Structurally, the structure of the gateway no longer needs to include the transmission part, so the gateway will be more lightweight and very easy to expand / migrate.

[0057] In addition, in this embodiment, the control device can manage channel resources and communication protocols in a pooled manner. Based on this, the channel resources and communication protocols in the scheduling pool can be added / deleted by plugging and unplugging. Accordingly, the control device can receive a communication protocol modification request; and perform add / delete operations on the communication protocol in the scheduling pool according to the communication protocol modification request. Similarly, the control device can also receive a channel resource modification request; and perform add / delete operations on the channel resources in the scheduling pool according to the channel resource modification request. These modifications to the scheduling pool are transparent and imperceptible to the gateway. In this way, there is no need to modify or restart the gateway due to changes in the communication protocol and / or channel resources, which can greatly reduce the maintenance cost of the gateway. And precisely because changes in the communication protocol and / or channel resources will not have any impact on the gateway, the gateway can be freely migrated / expanded, which greatly improves the expansion capability and high availability of the gateway.

[0058] Accordingly, in this embodiment, a control device can be set at the edge of the network, and the control device maintains a scheduling pool containing channel resources provided by multiple communication nodes and multiple communication protocols. Based on this, the gateway can send a transmission request to the control device located at the edge of the network, and the control device selects the adapted target channel resources and target communication protocol for the transmission request from the scheduling pool, and connects the gateway and the target communication node bound to the target channel resource through the target channel resource according to the target communication protocol, and transmits the data to be transmitted to the target communication node based on the target channel resource. Accordingly, in the embodiment of the present application, the gateway no longer needs to directly connect with the communication node in a centralized manner, but the connection work is separated from the gateway, and the control device located at the edge of the network replaces the gateway and the communication node to perform the connection work. In this way, when the gateway migrates / expands or needs to change the communication protocol, it is no longer necessary to modify or restart the gateway, and it is no longer necessary for the communication node to continuously lay new channel resources, which can greatly reduce the connection cost between the gateway and the communication node, and improve the scalability and high availability of the gateway.

[0059] In the above or below embodiments, multiple implementations may be used to select target channel resources and target communication protocols for a transmission request.

[0060] In an optional implementation, it can be determined whether a transmission request corresponds to a preference factor. In the case where a transmission request corresponds to a preference factor, the target channel resource and the target communication protocol can be selected for the transmission request according to the preference factor. This scheduling method is described as a preference-based scheduling method; in the case where the transmission request does not correspond to a preference factor, the target channel resource and the target communication protocol can be selected for the transmission request according to the channel attribute value expected by the transmission request. This scheduling method is described as a multi-factor scheduling method. Among them, the preference factor can refer to the channel attribute dimension for which the customer has a preference requirement, and the preference factor can include but is not limited to one or more of speed, price, success rate and communication protocol. For example, the data sender can specify the expected transmission speed priority, low price priority, success rate priority, use of a specified communication protocol, etc. In practical applications, the data sender can directly or indirectly specify the preference factor in the transmission request, for example, the preference factor can be placed in a field in the transmission request. Of course, the data sender can also notify the control device in advance that all its transmission requests use the same preference factor, so that the preference factor does not need to be carried in the transmission request.

[0061] Figure 4 A logical diagram of a preference-based scheduling method provided for an exemplary embodiment of the present application. In this scheduling method, a target channel resource can be selected from a scheduling pool based on the channel attribute information and preference factors of each channel resource contained in the scheduling pool, and the channel attribute information of the target channel resource contains a channel attribute value that is adapted to the preference factor. That is, the channel attribute information of the target channel resource contains channel attribute values ​​that can meet the customer's preference requirements for the preference factor. For example, the concurrency value (channel attribute value) of the target channel resource is high enough to meet the speed priority requirements put forward by the customer; the price is low enough to meet the low price requirements put forward by the customer. Among them, the channel attribute information may include channel attribute values ​​under at least one channel attribute dimension. Reference Figure 4, channel attribute dimensions may include but are not limited to region, price, country, operator, communication protocol or concurrency, etc. For a channel resource, its channel attribute information may include channel attribute values ​​under each channel dimension. For example, the channel attribute value of channel resource A under the country dimension is China, the channel attribute value under the operator dimension is Chengdu Mobile, and the channel attribute value under the communication protocol dimension is CMPP; for another example, the channel attribute value of channel resource B under the country dimension is the United States, the channel attribute value under the operator dimension is Chengdu Mobile, and the channel attribute value under the communication protocol dimension is SMPP. In this way, different channel resources have different channel attribute information. Obviously, different channel resources will adapt to different transmission requirements. Conversely, different transmission requests may be scheduled to different channel resources.

[0062] Based on this, in an exemplary scheme, when a transmission request corresponds to multiple preference factors, the multiple preference factors can be prioritized; in order of priority from high to low, the channel resources in the scheduling pool are filtered layer by layer according to the multiple preference factors, and the result of the previous layer of filtering is used as the basis for filtering in the current layer; from the final filtering result, the best channel resource is selected as the target channel resource. Among them, the priority of the preference factor can be specified by the data sender. The best channel resource can be the channel resource that best matches the preference factor with the highest priority. Of course, this is only exemplary, refer to Figure 4 Other schemes may also be used to select the target channel resources. For example, the channel resources in the scheduling pool may be screened according to multiple preference factors, and candidate channel resources corresponding to each of the multiple preference factors may be selected. The intersection of the candidate channel resources corresponding to each of the multiple preference factors may be obtained, and the best channel resource (which may be the channel resource that best matches the preference factor with the highest priority) may be selected from the channel resources in the intersection as the target channel resource, and so on.

[0063] In this way, target channel resources can be selected for transmission requests through preference-based scheduling. Figure 3 Based on this scheduling method for channel resources, a target communication protocol can also be selected for the transmission request. In this implementation, the communication protocol can be parsed for the transmission request to determine whether the communication protocol is directly or indirectly specified in the transmission request. In practical applications, the operation of parsing the communication protocol for the transmission request can be placed before the aforementioned operation of selecting the target channel resource for the transmission request. This is mainly because the protocol parsing operation is relatively simple while the channel resource selection operation is relatively complex. In addition, the protocol parsing operation can also promptly discover the data sender's preference for the communication protocol, thereby selecting the channel resource more accurately. There may be two situations here:

[0064] In one case, if a communication protocol is directly or indirectly specified in the transmission request, the specified communication protocol can be selected from multiple communication protocols contained in the scheduling pool as the target communication protocol; and the target communication protocol can be used as one of the preference factors corresponding to the transmission request. That is, in this case, the communication protocol directly or indirectly specified in the transmission request can be directly used as the target communication protocol, and it can be considered that the transmission request at least corresponds to the preference factor of "communication protocol". Continuing from the above, this preference factor will be used as the basis for selecting the target channel resources.

[0065] In another case, if the transmission request does not directly or indirectly specify a communication protocol, the communication protocol configured in the target channel resource selected for the transmission request may be used as the target communication protocol.

[0066] That is, no matter which of the above situations is used, the communication protocol configured in the target channel resource needs to be consistent with the target communication protocol selected for the transmission request to ensure that the gateway and the communication node can be connected normally.

[0067] Figure 5 A logical diagram of a multi-factor scheduling method provided for an exemplary embodiment of the present application. In this scheduling method, the transmission request and the data to be transmitted can be analyzed to predict the channel attribute value expected by the transmission request; based on the channel attribute value expected by the transmission request, the matching degree between the multiple channel resources included in the scheduling pool and the transmission request is calculated respectively; based on the matching degree, the target channel resource is selected from the multiple channel resources.

[0068] Usually, the transmission request and the data to be transmitted contain some information that can indirectly reflect the channel attribute value expected by the transmission request. For example, if the location of the mobile phone number of the data to be transmitted carried in the transmission request is China-Chengdu, then it can be predicted that the channel attribute value expected by the transmission request under the country dimension is China, and the channel attribute value under the region dimension is Chengdu; for another example, if the data sender uses the number of China Mobile, then it can be predicted that the communication protocol expected by the transmission request is CMPP, etc. Through this information, the channel attribute value implied in the transmission request and the data to be transmitted can be mined, that is, the channel attribute value that the transmission request may expect to use.

[0069] As mentioned above, the channel attribute values ​​of different channel resources are different. For example, some channel resources have low concurrency (channel attribute value) and belong to a foreign country; some channel resources have high concurrency and belong to Chengdu. Therefore, the expectations that different channel resources can meet are not exactly the same. Here, we comprehensively consider the adaptation between each channel resource in the scheduling pool and the channel attribute value expected by the transmission request under multiple channel attribute dimensions to find the matching degree between each channel resource and the transmission request, so as to select the appropriate target channel resource for the transmission request.

[0070] In an exemplary scheme for determining the degree of matching, taking the first channel resource among multiple channel resources in the scheduling pool as an example, the first impact index configured for the first channel resource under at least one channel attribute dimension can be obtained; the first impact index is used to indicate the degree of influence on the degree of matching when the current channel attribute dimension is hit and is valid when the channel attribute value under the current channel attribute dimension is consistent with the channel attribute value required by the transmission request; the degree of matching between the first channel resource and the transmission request is calculated according to the valid first impact index corresponding to the first channel resource. Among them, the current channel attribute dimension is hit means that the channel attribute value under the current channel attribute dimension is consistent with the channel attribute value required by the transmission request. Among them, the first impact index is valid means that it can participate in the calculation of the degree of matching, otherwise, if the first impact index is invalid, it will be ignored and will not participate in the calculation of the degree of matching. In this exemplary scheme, the management and control device can maintain the first impact index under at least one channel attribute dimension for each channel resource according to the attribute advantages of each channel resource. For example, the attribute advantage of channel resource A is that the communication protocol SMPP is relatively international. Therefore, the first impact index of channel resource A under the communication protocol dimension can be configured to 0.5, and the first impact index under the country dimension that is not very advantageous in channel resource A can be configured to 0.2. The first impact index under other channel attribute dimensions may be lower, and the first impact index under all channel attribute dimensions can use normalized values. For another example, the attribute advantage of channel resource B is that the country is China and the operator is China Mobile. Therefore, the first impact index of channel resource B under the country dimension can be configured to 0.4, the first impact index of channel resource B under the operator dimension can be configured to 0.3, and the first impact index under other channel attribute dimensions that are not very advantageous can be configured to be lower. In actual applications, a higher first impact index can be configured for a channel attribute dimension with a higher advantage. Moreover, the management and control device can dynamically adjust the first impact index under each channel attribute dimension according to the actual use of the first channel resource.

[0071] Based on this, in this exemplary scheme, it is possible to allocate and determine whether the channel attribute value of the first channel resource is consistent with the attribute value expected by the transmission request under at least one channel attribute dimension. If they are consistent, it can be determined that the first impact index under the corresponding channel attribute dimension is valid, and the valid first impact index is used as the basis for evaluating the matching degree.

[0072] In this exemplary solution, the second impact index configured for the first channel resource under at least one channel attribute dimension can also be obtained; the second impact index is used to indicate the degree of influence on the matching degree when the current channel attribute dimension is not hit and is valid when the channel attribute value under the current channel attribute dimension is inconsistent with the channel attribute value required by the transmission request; the valid first impact index and the valid second impact index corresponding to the first channel resource are summed to generate the matching degree between the first channel resource and the transmission request. That is, in this exemplary solution, it can be determined whether the channel attribute value of the first channel resource is consistent with the attribute value expected by the transmission request under at least one channel attribute dimension. If they are consistent, the first impact index under the corresponding channel attribute dimension can be determined to be valid. If they are inconsistent, the second impact index under the response channel attribute dimension can be determined to be valid. Continuing with the above example, the second impact index of channel resource A under the communication protocol dimension can be configured to 0.2, and the second impact index of channel resource A under the country dimension can be configured to 0.1. The second impact index can also be configured under other channel attribute dimensions.

[0073] Continuing with the above example, if the transmission request expects China in the country dimension and mobile in the operator dimension, then the first impact index of the above channel resource A in the country dimension is invalid, while the second impact index of 0.1 is valid; the first impact index in the communication protocol dimension is also invalid, while the second impact index of 0.2 is valid; the first impact index of 0.1 in the operator dimension is valid, and the first impact indexes in other channel attribute dimensions are invalid, while the second impact index is valid. Then the matching degree between channel resource A and the transmission request can be calculated as: 0.1 (country miss) + 0.2 (communication protocol miss) + 0.1 (operator hit) + 0.1 (concurrency miss) + 0.2 (region miss) = 0.7.

[0074] In this way, the matching degree between each channel resource in the scheduling pool and the transmission request can be calculated. Of course, the above-mentioned scheme for calculating the matching degree is only exemplary. In this embodiment, other schemes can also be used to calculate the matching degree. For example, the second impact index can be omitted, and the valid hit parameters corresponding to the first channel resource can be summed to obtain the matching degree, etc.

[0075] On this basis, the target channel resource can be selected from multiple channel resources based on the matching degree. Figure 5In an exemplary solution, channel resources with a matching degree higher than a preset standard can be used as candidate channel resources, and the best channel resource can be selected from the candidate channel resources as the target channel resource. Here, the target channel resource can be selected based on the relative balance between price and quality. To this end, the candidate channel resources can be sorted according to price, and the channel resource with a relatively balanced price and matching degree among the candidate channel resources can be selected as the best channel resource and selected as the target channel resource. Of course, this is only exemplary, and price can also be directly used as a consideration factor to participate in the aforementioned multi-factor scheduling process together with other channel attribute dimensions, and this is not limited to this.

[0076] Based on this, the target channel resources can be determined for the transmission request through a multi-factor scheduling method. Similarly, we also need to determine the target communication protocol for the transmission request. It should be understood that in this scheduling method, the data sender does not explicitly specify the communication protocol. Although we may predict the communication protocol expected to be used by the transmission request, the predicted communication protocol may not be appropriate. In order to improve the rationality of the target communication protocol, in the multi-factor scheduling method, the communication protocol used by the target channel resources can be determined as the target communication protocol to ensure that the gateway and the communication node can establish a connection normally.

[0077] It is worth noting that in this embodiment, the target channel resource and the target communication protocol are not limited to the above implementation method for selecting the target channel resource and the target communication protocol for the transmission request, and other implementation methods may be used to select the target channel resource and the target communication protocol for the transmission request, including but not limited to selecting the target channel resource and the target communication protocol for the transmission request according to load balancing, according to the highest benefit, etc., which will not be described in detail here.

[0078] In this embodiment, appropriate channel resources and communication protocols can be conveniently and quickly selected for transmission requests from the scheduling pool. The whole process does not require the participation of the gateway. The data processing layer of the gateway does not need to pay attention to which channel resources and communication protocols will be used after the transmission request it issues. Instead, it only needs to simply hand over the transmission request to the control device. The working pressure of the gateway is greatly reduced, and the connection and transmission parts can be omitted in the structure, making it more lightweight. The control device can consider the needs of various levels at a macro level to select appropriate channel resources and communication protocols for the transmission request, which can also indirectly improve the connection effect and data transmission effect.

[0079] Figure 6 A flowchart of another method for establishing a connection between a gateway and a communication node provided for an exemplary embodiment of the present application.

[0080] refer to Figure 6 , the method can be applied to the gateway in the above-mentioned embodiment. The method may include:

[0081] 600. Receive data to be transmitted;

[0082] 601. Determine a destination domain corresponding to the data to be transmitted;

[0083] 602. Initiate a transmission request to the control device corresponding to the destination domain, so that the control device selects adapted target channel resources and target communication protocols for the transmission request from the scheduling pool it maintains; establish a connection between the gateway and the target communication node bound to the target channel resources through the target channel resources in accordance with the target communication protocol; and transmit the data to be transmitted to the target communication node based on the target channel resources; wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes in the destination domain.

[0084] In step 600, data to be transmitted provided by an upper-layer service may be received. The upper-layer service may be, for example, a microservice located before the egress gateway in the service grid mentioned in the aforementioned embodiment.

[0085] In step 601, the destination domain corresponding to the data to be transmitted can also be determined. As mentioned in the above embodiments, the control equipment is deployed at the edge of the network, that is, deployed in various regions. In this way, after determining the destination domain corresponding to the data to be transmitted, it can be ensured that the data to be transmitted is sent to the control equipment corresponding to the destination domain, thereby achieving the best decentralization effect. Among them, in this embodiment, the destination domain of the data to be transmitted can be determined by analyzing the data to be transmitted or by the indication of the upper-layer service.

[0086] In step 602, a transmission request may be initiated to the control device corresponding to the destination domain, and the data to be transmitted may be carried in the transmission request. In this way, the control device may be responsible for establishing the connection and transmitting the data, and this part of the work may be unloaded from the gateway, making the gateway more lightweight.

[0087] For the connection establishment scheme and data transmission scheme executed by the management and control device, reference may be made to the relevant description in the aforementioned embodiments, which will not be repeated here.

[0088] In this embodiment, the gateway may also perform some processing on the received data to be transmitted, and initiate a transmission request based on the processed data, which is also involved in the above-mentioned embodiments and will not be repeated here.

[0089] It is worth noting that the technical details of the above-mentioned connection solution on the gateway side can be referred to the relevant description in the aforementioned control device side connection solution implementation example. In order to save space, they will not be repeated here, but this should not cause a loss in the scope of protection of this application.

[0090] Accordingly, in this embodiment, the connection establishment and data transmission work is separated from the gateway, and the management and control equipment located at the edge of the gateway is responsible for this part of the work, which makes the structure of the gateway more lightweight, and the migration / expansion of the gateway is no longer constrained by channel resources and channel protocols, which greatly improves the scalability and high availability of the gateway; moreover, during the migration / expansion of the gateway, there is no need to perform any maintenance on the gateway, nor is there any need to lay new channel resources for the new gateway, which can greatly reduce the connection establishment cost between the gateway and the communication node.

[0091] It should be noted that in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.

[0092] Figure 7 This is a schematic diagram of a control device provided by another exemplary embodiment of the present application. Figure 7 As shown, the control device includes: a memory 70, a processor 71, a communication component 72 and a scheduling component 73. In the cloud scenario, the memory 70, the processor 71, the communication component 72 and the scheduling component 73 can be implemented by cloud resources respectively.

[0093] The processor 71 is coupled to the memory 70, the communication component 72 and the scheduling component 73, and is used to execute the computer program in the memory 70 to:

[0094] Receiving a transmission request sent by the gateway through the communication component 72, the transmission request including data to be transmitted;

[0095] Selecting an adapted target channel resource and a target communication protocol for the transmission request from a scheduling pool through a scheduling component 73, wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes;

[0096] According to the target communication protocol, the gateway is connected to the target communication node bound to the target channel resource through the target channel resource;

[0097] The communication component 72 transmits the data to be transmitted to the target communication node based on the target channel resources.

[0098] In an optional embodiment, when the scheduling component 73 selects an adapted target channel resource for a transmission request from the scheduling pool, it is used to:

[0099] If the transmission request corresponds to a preference factor, a target channel resource is selected from the scheduling pool based on the channel attribute information and the preference factor of each channel resource contained in the scheduling pool, and the channel attribute information of the target channel resource contains a channel attribute value that matches the preference factor.

[0100] In an optional embodiment, when the scheduling component 73 selects the target channel resource from the scheduling pool, it is used to:

[0101] In the case where a transmission request corresponds to multiple preference factors, the multiple preference factors are prioritized;

[0102] In descending order of priority, the channel resources in the scheduling pool are filtered layer by layer according to multiple preference factors. The result of the previous layer of filtering is used as the basis for the current layer of filtering.

[0103] From the final filtering results, the best channel resource is selected as the target channel resource.

[0104] In an optional embodiment, the scheduling component 73, when selecting an adapted target communication protocol for a transmission request from the scheduling pool, is used to:

[0105] Perform communication protocol analysis on transmission requests;

[0106] If a communication protocol is directly or indirectly specified in the transmission request, the specified communication protocol is selected from multiple communication protocols included in the scheduling pool as the target communication protocol;

[0107] The target communication protocol is used as one of the preference factors corresponding to the transmission request.

[0108] In an optional embodiment, the preference factors include one or more of speed, price, success rate and communication protocol.

[0109] In an optional embodiment, when the scheduling component 73 selects an adapted target channel resource for a transmission request from the scheduling pool, it is used to:

[0110] If the transmission request does not correspond to a preference factor, the transmission request and the data to be transmitted are analyzed to predict the channel attribute value expected by the transmission request;

[0111] Based on the channel attribute value expected by the transmission request, respectively calculating the matching degree between the multiple channel resources included in the scheduling pool and the transmission request;

[0112] Based on the matching degree, a target channel resource is selected from multiple channel resources.

[0113] In an optional embodiment, when the scheduling component 73 calculates the matching degree between the plurality of channel resources included in the scheduling pool and the transmission request respectively based on the channel attribute required by the transmission request, it is used to:

[0114] Acquire a first impact index configured for the first channel resource in at least one channel attribute dimension; the first impact index is used to indicate the degree of influence on the matching degree when the current channel attribute dimension is hit and is valid when the channel attribute value in the current channel attribute dimension is consistent with the channel attribute value expected by the transmission request;

[0115] Calculating a matching degree between the first channel resource and the transmission request according to a valid first impact index corresponding to the first channel resource;

[0116] The first channel resource is any one of the multiple channel resources.

[0117] In an optional embodiment, when calculating the matching degree between the first channel resource and the transmission request according to the effective first impact index corresponding to the first channel resource, the scheduling component 73 is configured to:

[0118] Acquire a second impact index configured for the first channel resource in at least one channel attribute dimension; the second impact index is used to indicate the degree of influence on the matching degree when the current channel attribute dimension is hit and is valid when the channel attribute value in the current channel attribute dimension is inconsistent with the channel attribute value expected by the transmission request;

[0119] The effective first impact index and the effective second impact index corresponding to the first channel resource are summed to generate a matching degree between the first channel resource and the transmission request.

[0120] In an optional embodiment, the channel attribute dimensions include region, country, operator, communication protocol or concurrency.

[0121] In an optional embodiment, when the processor 71 establishes a connection between the gateway and the target communication node bound to the target channel resource through the target channel resource according to the target communication protocol, it is configured to:

[0122] Determine the connection establishment rules according to the target communication protocol;

[0123] The gateway and the target communication node bound to the target channel resource are replaced for connection interaction according to the connection establishment rule, so as to connect the gateway and the target communication node bound to the target channel resource.

[0124] In an optional embodiment, the processor 71 is further configured to:

[0125] receiving a communication protocol modification request;

[0126] Perform add / delete operations on communication protocols in the scheduling pool according to the communication protocol modification request.

[0127] Further, if Figure 7As shown, the control device also includes: a power supply component 74 and other components. Figure 7 Only some components are shown schematically, which does not mean that the control equipment only includes Figure 7 Components shown.

[0128] It is worth noting that the technical details in the above-mentioned embodiments of the control device can be referred to the relevant description in the aforementioned method embodiment. In order to save space, they will not be repeated here, but this should not cause a loss in the scope of protection of this application.

[0129] Figure 8 A schematic diagram of the structure of a gateway provided by another exemplary embodiment of the present application. Figure 8 , the gateway may include: a memory 80, a processor 81 and a communication component 82;

[0130] The memory 80 is used to store one or more computer instructions;

[0131] The processor 81 is coupled to the memory 80 and the communication component 82 for executing one or more computer instructions for:

[0132] Receiving data to be transmitted via the communication component 82;

[0133] Determine the destination area corresponding to the data to be transmitted;

[0134] A transmission request is initiated to the control device corresponding to the destination area through the communication component 82, so that the control device can select adapted target channel resources and target communication protocols for the transmission request from the scheduling pool it maintains; according to the target communication protocol, the gateway and the target communication node bound to the target channel resource are connected through the target channel resource; and the data to be transmitted is transmitted to the target communication node based on the target channel resource; wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes in the destination area.

[0135] Further, if Figure 8 As shown, the gateway also includes: a power supply component 83 and other components. Figure 8 Only some components are shown schematically, which does not mean that the gateway only includes Figure 8 Components shown.

[0136] It is worth noting that the technical details in the above-mentioned gateway embodiments can be referred to the relevant description in the aforementioned method embodiments. In order to save space, they will not be repeated here, but this should not cause loss of the protection scope of this application.

[0137] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, which, when executed, can implement the steps that can be executed by the control device or gateway in the above method embodiment.

[0138] Above Figure 7 and 8 The memory in the computer is used to store computer programs and can be configured to store various other data to support operations on the computing platform. Examples of such data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0139] Above Figure 7 and 8 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0140] Above Figure 7 and 8 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0141] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0142] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0143] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0144] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0145] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0146] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0147] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0148] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0149] The above is only the embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for establishing a connection between a gateway and a communication node, applicable to a control device, comprising: Receiving a transmission request sent by a gateway, wherein the transmission request includes data to be transmitted; Selecting an adapted target channel resource and a target communication protocol for the transmission request from a scheduling pool maintained by itself, wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes, and the communication protocols configured by different channel resources are not completely the same; According to the target communication protocol, connecting the gateway and the target communication node bound to the target channel resource through the target channel resource; The to-be-transmitted data is transmitted to the target communication node based on the target channel resources.

2. According to the method of claim 1, the step of selecting an adapted target channel resource for the transmission request from a scheduling pool maintained by the self-maintained system comprises: If the transmission request corresponds to a preference factor, the target channel resource is selected from the scheduling pool based on the channel attribute information of each channel resource contained in the scheduling pool and the preference factor, and the channel attribute information of the target channel resource contains a channel attribute value adapted to the preference factor.

3. The method according to claim 2, wherein the selecting the target channel resource from the scheduling pool comprises: In the case where the transmission request corresponds to multiple preference factors, prioritizing the multiple preference factors; In descending order of priority, the channel resources in the scheduling pool are filtered layer by layer according to the plurality of preference factors, and the result of the previous layer filtering is used as the basis for the current layer filtering; From the final filtering results, the best channel resource is selected as the target channel resource.

4. The method according to claim 2, selecting an adapted target communication protocol for the transmission request from a scheduling pool, comprising: Performing communication protocol analysis on the transmission request; If a communication protocol is directly or indirectly specified in the transmission request, selecting the specified communication protocol from a plurality of communication protocols included in the scheduling pool as the target communication protocol; The target communication protocol is used as one of the preference factors corresponding to the transmission request.

5. The method according to claim 2, wherein the preference factors include one or more of speed, price, success rate and communication protocol.

6. The method according to claim 1, wherein selecting an adapted target channel resource for the transmission request from a scheduling pool maintained by the self comprises: If the transmission request does not correspond to a preference factor, analyzing the transmission request and the data to be transmitted to predict a channel attribute value expected by the transmission request; Based on the channel attribute value expected by the transmission request, respectively calculating the matching degree between the plurality of channel resources included in the scheduling pool and the transmission request; Based on the matching degree, the target channel resource is selected from the multiple channel resources.

7. The method according to claim 6, wherein the step of calculating the matching degree between the plurality of channel resources included in the scheduling pool and the transmission request based on the channel attribute required by the transmission request comprises: Acquire first impact indexes respectively configured for the first channel resource under at least one channel attribute dimension; The first impact index is used to indicate the impact degree on the matching degree when the current channel attribute dimension is hit and is valid when the channel attribute value under the current channel attribute dimension is consistent with the channel attribute value expected by the transmission request; calculating a matching degree between the first channel resource and the transmission request according to at least one valid first impact index corresponding to the first channel resource; The first channel resource is any one of the multiple channel resources.

8. The method according to claim 7, wherein the step of calculating the matching degree between the first channel resource and the transmission request according to at least one valid first impact index corresponding to the first channel resource comprises: Acquire a second impact index configured for the first channel resource in at least one channel attribute dimension; The second impact index is used to indicate the impact degree on the matching degree when the current channel attribute dimension is not hit and is valid when the channel attribute value under the current channel attribute dimension is inconsistent with the channel attribute value expected by the transmission request; A valid first impact index and a valid second impact index corresponding to the first channel resource are summed to generate a matching degree between the first channel resource and the transmission request.

9. According to the method of claim 7, the channel attribute dimensions include region, country, operator, communication protocol or concurrency.

10. The method according to claim 1, wherein the step of establishing a connection between the gateway and a target communication node bound to the target channel resource through the target channel resource in accordance with the target communication protocol comprises: Determining a connection establishment rule according to the target communication protocol; The gateway and the target communication node bound to the target channel resource are replaced to perform connection interaction according to the connection establishment rule, so as to establish a connection between the gateway and the target communication node bound to the target channel resource.

11. The method according to claim 1, further comprising: receiving a communication protocol modification request; An add / delete operation of a communication protocol is performed in the scheduling pool according to the communication protocol modification request.

12. A method for establishing a connection between a gateway and a communication node, comprising: receiving data to be transmitted; Determine a destination domain corresponding to the data to be transmitted; Initiate a transmission request to the control device corresponding to the destination domain, so that the control device selects an adapted target channel resource and a target communication protocol for the transmission request from a scheduling pool maintained by the control device; According to the target communication protocol, connecting the gateway and the target communication node bound to the target channel resource through the target channel resource; And based on the target channel resources, the data to be transmitted is transmitted to the target communication node; wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes in the destination domain, and the communication protocols configured with different channel resources are not exactly the same.

13. A management and control device, comprising a memory, a processor, a communication component and a scheduling component; The memory is used to store one or more computer instructions; The processor is coupled to the memory, the communication component, and the scheduling component, and is configured to execute the one or more computer instructions for: Receiving, by the communication component, a transmission request sent by a gateway, wherein the transmission request includes data to be transmitted; The scheduling component selects an adapted target channel resource and a target communication protocol for the transmission request from a scheduling pool maintained by the scheduling component, wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes, and the communication protocols configured by different channel resources are not completely the same; According to the target communication protocol, connecting the gateway and the target communication node bound to the target channel resource through the target channel resource; The communication component transmits the data to be transmitted to the target communication node based on the target channel resources.

14. A gateway comprising a memory, a processor and a communication component; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is configured to execute the one or more computer instructions for: receiving data to be transmitted through the communication component; Determine a destination domain corresponding to the data to be transmitted; Initiating a transmission request to the control device corresponding to the destination domain through the communication component, so that the control device selects an adapted target channel resource and a target communication protocol for the transmission request from the scheduling pool maintained by the control device; According to the target communication protocol, connecting the gateway and the target communication node bound to the target channel resource through the target channel resource; And based on the target channel resources, the data to be transmitted is transmitted to the target communication node; wherein the scheduling pool includes channel resources and multiple communication protocols provided by multiple communication nodes in the destination domain, and the communication protocols configured with different channel resources are not exactly the same.

Citation Information

Patent Citations

  • Data transmission method and device, equipment and medium

    CN113938531A