Service routing method, system, computer storage medium and electronic device

文档序号:97769 发布日期:2021-10-12 浏览:29次 中文

阅读说明:本技术 业务路由方法、系统、计算机存储介质和电子设备 (Service routing method, system, computer storage medium and electronic device ) 是由 马金兰 朱晓洁 彭莉 王庆扬 刘展 于 2021-08-02 设计创作,主要内容包括:本公开涉及通信技术领域,涉及一种业务路由方法及系统、存储介质和电子设备。该方法包括:第一业务路由模块接收第一终端发送的携带有第二终端号码的业务连接请求;向动态数据处理模块发送对第二终端号码的动态查询请求,并接收动态数据处理模块基于存储的动态数据更新结果返回的查询结果,查询结果包括第二业务路由模块的标识信息;向动态数据处理模块发送携带有标识信息的地址查询请求,接收动态数据处理模块返回的标识信息对应的网关协议地址;通过网关协议地址,向第二业务路由模块发送业务连接请求,以建立所述第一终端和第二终端的业务连接。本公开通过实时业务动态数据路由,能完成通信双方就近端到端连接,具有低时延的特点。(The present disclosure relates to the field of communications technologies, and in particular, to a service routing method and system, a storage medium, and an electronic device. The method comprises the following steps: a first service routing module receives a service connection request which is sent by a first terminal and carries a second terminal number; sending a dynamic query request for a second terminal number to the dynamic data processing module, and receiving a query result returned by the dynamic data processing module based on a stored dynamic data updating result, wherein the query result comprises identification information of the second service routing module; sending an address query request carrying identification information to the dynamic data processing module, and receiving a gateway protocol address corresponding to the identification information returned by the dynamic data processing module; and sending a service connection request to a second service routing module through the gateway protocol address so as to establish service connection between the first terminal and the second terminal. The method can complete the near end-to-end connection of the two communication parties through the real-time service dynamic data routing, and has the characteristic of low time delay.)

1. A method for service routing, comprising:

a first service routing module receives a service connection request which is sent by a first terminal and carries a second terminal number, wherein the second terminal finishes the registration to the second service routing module and a dynamic data processing module updates and stores dynamic data of the second terminal number;

sending a dynamic query request for the second terminal number to the dynamic data processing module, and receiving a query result returned by the dynamic data processing module based on a stored dynamic data updating result, wherein the query result comprises identification information of the second service routing module;

sending an address query request carrying the identification information to the dynamic data processing module, and receiving a gateway protocol address corresponding to the identification information returned by the dynamic data processing module;

sending a service connection request to the second service routing module through the gateway protocol address so as to establish service connection between the first terminal and the second terminal through the second service routing module;

the first terminal has already finished registering to the first service routing module, and the dynamic data processing module has already carried out dynamic data updating and storing on the first terminal number.

2. The method of claim 1, wherein the registration process of the first terminal with the first traffic routing module comprises:

a first service routing module receives a registration request carrying authentication information sent by a first terminal;

sending an authentication request carrying the authentication information to a user attribution database, and receiving authentication success information returned by the user attribution database, wherein the authentication success information carries a first terminal number;

sending a dynamic update request for the first terminal number to a dynamic data processing module, and receiving response information of the dynamic data processing module for completing dynamic data update and storage of the first terminal number;

and correspondingly storing the first terminal number and the terminal protocol address of the first terminal.

3. The method of claim 1, wherein sending a traffic connection request to the second traffic routing module via the gateway protocol address to establish a traffic connection between the first terminal and the second terminal via the second traffic routing module comprises:

sending the service connection request to the second service routing module through the gateway protocol address so that the second service routing module requests service connection to the second terminal;

receiving response success information of the second terminal to the service connection, returned by the second service routing module;

and sending the response success information to the first terminal so that the first terminal establishes service connection with the second terminal through the first service routing module and the second service routing module.

4. The method according to any one of claims 1 to 3, wherein the query result includes a session initiation protocol sip format number corresponding to the second terminal number, and the sip format number includes the second terminal number and the identification information of the second service routing module.

5. The method according to claim 4, wherein the identification information of the second service routing module is a domain name corresponding to the second service routing module.

6. A method for service routing, comprising:

a second service routing module receives a service connection request initiated by a first terminal and sent by a first service routing module, wherein the service connection request carries a second terminal number;

determining a terminal protocol address corresponding to a second terminal number according to a corresponding relation between the terminal number and the terminal protocol address stored when the second terminal finishes registration;

sending a service connection request to the second terminal through the terminal protocol address, and receiving response success information of the second terminal to the service connection request;

forwarding the response success information to the first service routing module so that the second terminal establishes service connection with the first terminal through the second service routing module and the first service routing module;

wherein the first terminal has completed registration with the first traffic routing module.

7. The method of claim 6, wherein the second terminal completes the registration process with the second traffic routing module, comprising:

a second service routing module receives a registration request carrying authentication information sent by the second terminal;

sending an authentication request carrying the authentication information to a user attribution database, and receiving authentication success information returned by the user attribution database, wherein the authentication success information carries a second terminal number;

sending a dynamic update request for the second terminal number to a dynamic data processing module, and receiving response information of the dynamic data processing module for completing dynamic data update and storage of the second terminal number;

correspondingly storing the second terminal number and the terminal protocol address of the second terminal;

and sending registration success information to the second terminal.

8. A service routing system is characterized in that the system comprises a first service routing module, a second service routing module, a dynamic data processing module, a first terminal and a second terminal;

the first service routing module is used for executing the service routing method of any one of claims 1 to 5, and the second service routing module is used for executing the service routing method of claim 6 or 7;

the dynamic data processing module is used for updating and storing dynamic data of a second terminal number when the second terminal completes the registration to the second service routing module; alternatively, the first and second electrodes may be,

the dynamic data processing module is used for updating and storing dynamic data of a first terminal number when the first terminal completes registration to the first service network module; alternatively, the first and second electrodes may be,

and the dynamic data processing module is used for returning a corresponding query result based on a dynamic data updating result of the stored terminal number according to a dynamic query request sent by the first terminal or the second terminal.

9. The system of claim 8, further comprising:

and the user attribution database is used for authenticating the authentication request carrying the authentication information sent by the first service routing module or the second service routing module when the first terminal or the second terminal is registered, and feeding back the successful authentication information to the first service routing module or the second service routing module.

10. An electronic device, comprising:

a processor; and

a memory for storing executable instructions of the processor;

wherein the processor is configured to perform the traffic routing method of any of claims 1-7 via execution of the executable instructions.

Technical Field

The present disclosure relates to the field of communications technologies, and in particular, to a service routing method, a service routing system, a computer storage medium, and an electronic device.

Background

The current informatization has become a trend of social development, and a communication network is used as a carrier of the current informatization trend and is also a hotspot of research in the technical field of communication. With the rapid development of the communication technology field, the mobile communication standard is gradually developed from 2G (second generation mobile communication standard) to 5G (fifth generation mobile communication standard), even 6G (6 th generation mobile communication standard) is in the development stage, the transmission capability of 6G may be improved by more than 100 times than that of 5G, however, in order to meet high real-time services such as virtual reality, holographic communication, high-definition audio/video communication, and the like, a higher requirement is put forward on service connection with ultra-low time delay.

In the related art, the real-time service routing adopts a static data routing mechanism, translates the user number into a fixed home name, and is realized by detouring service processing to a home domain network, however, the mechanism has a complex signaling flow and a long network transmission delay, and cannot meet the high real-time service requirement.

Therefore, it is necessary to provide a new service routing method.

It is to be noted that the information invented in the background section above is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.

Disclosure of Invention

The present disclosure aims to provide a service routing method and system, a computer storage medium, and an electronic device, so as to avoid problems that high real-time service requirements are difficult to meet due to complex signaling flow, long network transmission delay, and the like, at least to a certain extent.

Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.

According to an aspect of the present disclosure, there is provided a traffic routing method, including:

a first service routing module receives a service connection request which is sent by a first terminal and carries a second terminal number, wherein the second terminal finishes the registration to the second service routing module and a dynamic data processing module updates and stores dynamic data of the second terminal number; sending a dynamic query request for the second terminal number to the dynamic data processing module, and receiving a query result returned by the dynamic data processing module based on a stored dynamic data updating result, wherein the query result comprises identification information of the second service routing module; sending an address query request carrying the identification information to the dynamic data processing module, and receiving a gateway protocol address corresponding to the identification information returned by the dynamic data processing module; sending a service connection request to the second service routing module through the gateway protocol address so as to establish service connection between the first terminal and the second terminal through the second service routing module; the first terminal has already finished registering to the first service routing module, and the dynamic data processing module has already carried out dynamic data updating and storing on the first terminal number.

In an exemplary embodiment of the disclosure, the registration process of the first terminal to the first traffic routing module includes:

a first service routing module receives a registration request carrying authentication information sent by a first terminal; sending an authentication request carrying the authentication information to a user attribution database, and receiving authentication success information returned by the user attribution database, wherein the authentication success information carries a first terminal number; sending a dynamic update request for the first terminal number to a dynamic data processing module, and receiving response information of the dynamic data processing module for completing dynamic data update and storage of the first terminal number; and correspondingly storing the first terminal number and the terminal protocol address of the first terminal.

In an exemplary embodiment of the present disclosure, the sending, by the gateway protocol address, a service connection request to the second service routing module to establish a service connection between the first terminal and the second terminal via the second service routing module includes:

sending the service connection request to the second service routing module through the gateway protocol address so that the second service routing module requests service connection to the second terminal; receiving response success information of the second terminal to the service connection, returned by the second service routing module; and sending the response success information to the first terminal so that the first terminal establishes service connection with the second terminal through the first service routing module and the second service routing module.

In an exemplary embodiment of the present disclosure, the query result includes a sip format number of the session initiation protocol corresponding to the second terminal number, where the sip format number includes the second terminal number and the identification information of the second service routing module.

In an exemplary embodiment of the present disclosure, the identification information of the second service routing module is a domain name corresponding to the second service routing module.

According to an aspect of the present disclosure, there is provided a traffic routing method, including:

a second service routing module receives a service connection request initiated by a first terminal and sent by a first service routing module, wherein the service connection request carries a second terminal number; determining a terminal protocol address corresponding to a second terminal number according to a corresponding relation between the terminal number and the terminal protocol address stored when the second terminal finishes registration; sending a service connection request to the second terminal through the terminal protocol address, and receiving response success information of the second terminal to the service connection request; forwarding the response success information to the first service routing module so that the second terminal establishes service connection with the first terminal through the second service routing module and the first service routing module; wherein the first terminal has completed registration with the first traffic routing module.

In an exemplary embodiment of the present disclosure, the second terminal completing the registration process to the second traffic routing module includes: a second service routing module receives a registration request carrying authentication information sent by the second terminal; sending an authentication request carrying the authentication information to a user attribution database, and receiving authentication success information returned by the user attribution database, wherein the authentication success information carries a second terminal number; sending a dynamic update request for the second terminal number to a dynamic data processing module, and receiving response information of the dynamic data processing module for completing dynamic data update and storage of the second terminal number; correspondingly storing the second terminal number and the terminal protocol address of the second terminal; and sending registration success information to the second terminal.

According to an aspect of the present disclosure, a service routing system is provided, the system including a first service routing module, a second service routing module, a dynamic data processing module, a first terminal, and a second terminal; the first service routing module is configured to execute any one of the service routing methods, and the second service routing module is configured to execute any one of the service routing methods; the dynamic data processing module is used for updating and storing dynamic data of a second terminal number when the second terminal completes the registration to the second service routing module; or, the dynamic data processing module is configured to update and store dynamic data for a first terminal number when the first terminal completes registration to the first service network module; or, the dynamic data processing module is configured to return a corresponding query result based on a dynamic data update result of the stored terminal number according to a dynamic query request sent by the first terminal or the second terminal.

In an exemplary embodiment of the present disclosure, the system further includes:

and the user attribution database is used for authenticating the authentication request carrying the authentication information sent by the first service routing module or the second service routing module when the first terminal or the second terminal is registered, and feeding back the successful authentication information to the first service routing module or the second service routing module.

In an exemplary embodiment of the disclosure, the first service routing module is deployed in a first edge gateway, the second service routing module is deployed in a second edge gateway, and the dynamic data processing module is deployed in ENUM/DNS.

According to an aspect of the present disclosure, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements a traffic routing method as described in any one of the above.

According to an aspect of the present disclosure, there is provided an electronic device including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the traffic routing methods described above via execution of the executable instructions.

In the service routing method in the exemplary embodiment of the present disclosure, a gateway protocol address corresponding to a second service routing module is obtained through interaction between a first service routing module and a dynamic data processing module, and a service connection request is sent to the second service routing module through the gateway protocol address, so that the second service routing module requests a service connection to a second terminal, thereby implementing the service connection between terminals (such as a first terminal and a second terminal) through the first service routing module and the second service routing module. On one hand, compared with static writing in the traditional method, when the terminal is newly added or cancelled, the dynamic data processing module carries out dynamic data updating on the number and stores updating result data, so that the dynamic query is carried out on the number through the dynamic data processing module when service connection is established, the gateway protocol address of a requested party can be rapidly queried, the service connection with the terminal of a connecting party is rapidly established based on the gateway protocol address, and the service processing real-time performance is high; on the other hand, the process directly establishes direct end-to-end service connection through interaction between the service routing module and the dynamic data processing module without detouring to a home domain network, has simple signaling flow and small service processing delay and network transmission delay, and can particularly better meet high real-time service requirements of virtual reality, holographic communication, audio and video and the like; on the other hand, the scheme also provides a new service routing method for the user terminal to access the communication network through the gateway.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:

fig. 1 shows a flow chart of a traffic routing method according to an exemplary embodiment of the present disclosure;

fig. 2 illustrates a flowchart of a second terminal completing registration to a second traffic routing module according to an exemplary embodiment of the present disclosure;

fig. 3 shows a flowchart of establishing a service connection between a first terminal and a second terminal via a first service routing module and a second service routing module according to an exemplary embodiment of the present disclosure;

FIG. 4 shows a flow chart of a traffic routing method according to an example embodiment of the present disclosure;

FIG. 5 shows a flow diagram of a traffic routing method in a specific scenario, according to an example embodiment of the present disclosure;

FIG. 6 shows a schematic structural diagram of a traffic routing system according to an exemplary embodiment of the present disclosure;

FIG. 7 shows a schematic diagram of a storage medium according to an exemplary embodiment of the present disclosure; and

fig. 8 shows a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.

In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.

Detailed Description

Exemplary embodiments will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed description will be omitted.

Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.

The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.

In the related art in the field, a real-time service routing adopts an ENUM/DNS (telephone number mapping workgroup/domain name system) static data routing mechanism, under which a user number is translated into a fixed home domain name, and must detour to a home domain network in a service processing process, a signaling flow is complex, a time delay is large, and requirements of high real-time services such as network virtual reality, holographic communication, high-definition audio/video communication and the like on ultra-low time delay cannot be satisfied.

With the development of the technical field of communication, 2-5G focuses on research on communication between people and machines to solve the problem of interconnection of everything, and the 6G network focuses more on interconnection of subnets with users as centers. In view of the interconnection requirement of subnets, the present application is responsible for storing administrative user service data and other gateway routing data through an edge gateway, and completes service control and routing to other gateways and administrative user services, and based on this, in the exemplary embodiment of the present disclosure, first, a service routing method is provided, which is shown in fig. 1, and includes the following steps:

step S110: a first service routing module receives a service connection request which is sent by a first terminal and carries a second terminal number, wherein the second terminal finishes the registration to the second service routing module and a dynamic data processing module updates and stores dynamic data of the second terminal number;

step S120: sending a dynamic query request for the number to a dynamic data processing module, and receiving a query result returned by the dynamic data processing module based on a stored dynamic data updating result, wherein the query result comprises identification information of a second service routing module;

step S130: sending an address query request carrying identification information to the dynamic data processing module, and receiving a gateway protocol address corresponding to the identification information returned by the dynamic data processing module;

step S140: and sending a service connection request to the second service routing module through the gateway protocol address so as to establish service connection between the first terminal and the second terminal through the second service routing module.

According to the service routing method in the embodiment of the present invention, on one hand, compared with static writing in a conventional method, in the present application, when a terminal is newly added or cancelled, a dynamic data processing module performs dynamic data update on a number and stores update result information, so that when a service connection is established, the number is dynamically queried through the dynamic data processing module, a gateway protocol address of a requested party can be quickly queried, thereby quickly establishing a service connection with a connecting party terminal based on the gateway protocol address, and the service processing real-time is high; on the other hand, the process directly establishes direct end-to-end service connection through interaction between the service routing module and the dynamic data processing module without detouring to a home domain network, has simple signaling flow and small service processing delay and network transmission delay, and can particularly better meet high real-time service requirements of virtual reality, holographic communication, audio and video and the like; on the other hand, the scheme also provides a new service routing method for the user terminal to access the communication network through the gateway.

The following describes a traffic routing method in an exemplary embodiment of the present disclosure with reference to fig. 1, taking the first traffic routing module as an execution subject.

In step S110, the first service routing module receives a service connection request carrying a second terminal number sent by the first terminal.

In an exemplary embodiment of the present disclosure, the first terminal and the second terminal include, but are not limited to, a terminal device that can implement network communication, such as a smartphone, a tablet computer, and a desktop computer; the first service routing module is a real-time service routing module and can be deployed in an edge gateway, the edge gateway is a side gateway deployed at the edge of a network, and the edge gateway is connected with a physical world and a digital world through functions such as network connection, protocol conversion and the like, so that light connection management, real-time data analysis and application management are provided, for example, the 6G edge gateway. The first service routing module receives a service connection request sent by the first terminal, wherein the service connection request carries a second terminal number (such as a called party number). And the second terminal finishes the registration to the second service routing module and the dynamic data processing module finishes the dynamic data updating and storing of the second terminal number.

It should be noted that the registration process from the first terminal to the first service network module is the same as the registration process from the second terminal to the second service routing module, and the following description will be specifically made by taking the example that the second terminal completes the registration process to the second service routing module:

fig. 2 is a flowchart illustrating a process of a second terminal completing registration to a second service routing module according to an exemplary embodiment of the disclosure, and the following describes a registration process with reference to fig. 2:

step S210, a second service routing module receives a registration request carrying authentication information sent by a second terminal; authentication means verifying whether a user has a right to access a network, and authentication information includes, but is not limited to, a user identifier, an authentication parameter, and the like; step S220, the second service routing module sends an authentication request carrying authentication information to the subscriber home database, and receives authentication success information returned by the subscriber home database (step S230), where the authentication success information carries a second terminal number, and the procedure of the subscriber home database for authentication is as follows: comparing the user identification or authentication parameter provided by the terminal with the parameter pre-stored in the user attribution database, if the comparison is successful, the authentication is completed, the specific authentication process is similar to the prior art, and the comparison is not repeated; step S240, the second service routing module sends a dynamic update request of the second terminal number to the dynamic data processing module; step S250, the dynamic data processing module completes dynamic data updating and storage of the second terminal number, wherein the dynamic updating data is in a sip format corresponding to the terminal number; step S260, the dynamic data processing module sends response information for finishing dynamic data updating and storing of the second terminal number to the second service routing module; step S270, acquiring a terminal protocol address (IP address) of the second terminal, and correspondingly storing the second terminal number and the terminal protocol address of the second terminal; step S280, sending registration success information to the second terminal.

Based on this, in the process of service routing between different terminals, the service connection with the connected terminal can be quickly established through the service routing module which has completed registration of the terminal.

In step S120, a dynamic query request for the number is sent to the dynamic data processing module, and a query result returned by the dynamic data processing module based on the stored dynamic data update result is received, where the query result includes the identification information of the second service routing module.

In an exemplary embodiment of the present disclosure, the dynamic data processing module may be configured to correspondingly store a dynamic data update result of the terminal number. Optionally, when the terminal performs registration or logout, the dynamic data processing module may add the terminal number and the corresponding dynamic data update result, or the dynamic data processing module may delete the terminal number and the corresponding dynamic data update result; optionally, during service connection, the dynamic data module may also query a dynamic data update result corresponding to the terminal number carried in the service connection request, that is, a number translation process, according to the terminal number stored when the terminal completes registration to the service routing module and the corresponding dynamic data update result; the method is different from the traditional static writing mode, when the terminal is newly added or cancelled, the terminal number and the corresponding dynamic data updating result stored in the dynamic data processing module can be updated (including addition or deletion and the like) in real time, and the service routing information is updated in real time according to the gateway registered by the user, so that the condition that the number is translated into a fixed home domain name and is directly routed to the gateway registered by the user in the subsequent service connection process is avoided, and the terminal does not need to detour to the home domain network.

The dynamic data update result includes an sip (session initiation protocol) format number corresponding to the terminal number, where the sip format number in this application may be the subscriber number @ the identification information of the second service routing module, that is, the dynamic data update result includes the identification information of the second service routing module, and the identification information may be a domain name of an edge gateway corresponding to the second service routing module. The dynamic data processing module may be a dynamic data module deployed in ENUM/DNS, or may be a single module, and this application includes, but is not limited to, the above dynamic data processing module.

Based on this, in step S120, the first service routing module obtains the dynamic data update result, i.e. the query result, corresponding to the second terminal number in real time through the dynamic data processing module, so that it is required to ensure that the dynamic data update result stored in the dynamic data processing module is updated information, and when the second terminal completes registration with the second service routing module, the dynamic data processing module performs dynamic data update and storage on the second terminal number, so that the dynamic data update result of the second terminal number can be queried through the dynamic data processing module only when a subsequent service is connected.

The dynamic data processing module can translate the number of the connecting party into the corresponding sip format number and store the number when the terminal is registered, so that the dynamic data updating result can be inquired in real time when the subsequent service is connected, the number is prevented from being translated into the fixed home domain name, the number does not need to be roundabout to the home domain network in the subsequent service connection process, and the complexity of the signaling flow is reduced.

In step S130, an address query request carrying identification information is sent to the dynamic data processing module, and a gateway protocol address corresponding to the identification information returned by the dynamic data processing module is received.

In an exemplary embodiment of the present disclosure, the gateway Protocol address is an IP (internet Protocol address) address of the gateway, the IP address refers to an internet Protocol address, a uniform address format is provided for the IP Protocol, and a logical address is allocated to each network and each host on the internet, so as to shield the difference of physical addresses. After receiving the query result returned by the dynamic data processing module, the first service routing module sends an address query request (DNS query request) to the dynamic data processing module again, where the request carries identification information of the second service routing module, and in this scheme, the identification information is a domain name corresponding to the second service routing module, and DNS query is performed by the dynamic data processing module, so that an IP address corresponding to the domain name can be obtained and returned to the first service routing module, and connection between the first service routing module and the second service routing module is established through interaction between the first service routing module and the dynamic data processing module.

In step S140, a service connection request is sent to the second service routing module through the gateway protocol address to establish a service connection between the first terminal and the second terminal via the second service routing module.

In an exemplary embodiment of the present disclosure, the second terminal has completed registration with the second service routing module, and therefore, through the gateway protocol address, a connection is established between the first service routing module and the second service routing module, and then through the gateway protocol address, the service connection request is directly sent to the second service routing module, so as to establish an end-to-end connection between the first terminal and the second terminal through interaction between the second service routing module and the second terminal, interaction between the second service routing module and the first service routing module, and interaction between the first service routing module and the first terminal, through two service routing modules (the first service routing module and the second service routing module).

Fig. 3 is a flowchart illustrating a process of establishing a service connection between a first terminal and a second terminal via a first service routing module and a second service routing module according to an exemplary embodiment of the disclosure, where the process includes:

in step S310, a service connection request is sent to the second service routing module through the gateway protocol address, so that the second service routing module requests a service connection to the second terminal;

in the exemplary embodiment of the present disclosure, after the gateway protocol address of the second service routing module is obtained, the service connection request is sent to the second routing module through the gateway protocol address, and correspondingly, the service connection request also carries the number of the second terminal.

In step S320, receiving a response success message of the second terminal to the service connection, which is returned by the second service routing module;

in the exemplary embodiment of the present disclosure, after the second service routing module receives the service connection request, a response success message of the second terminal to the service connection is obtained through interaction with the second terminal, and the response success message is sent to the first service routing module.

In step S330, the response success message is sent to the first terminal, so that the first terminal establishes a service connection with the second terminal via the first service routing module and the second service routing module;

in the exemplary embodiment of the present disclosure, the first service routing module feeds back the received message that the response of the second terminal is successful to the first terminal, and then the end-to-end connection between the first terminal and the second terminal is completed.

In summary, the first service routing module and the second service routing module are used as a bridge, and an end-to-end connection is established between the first terminal and the second terminal, so that the signaling flow is simple in the process.

The dynamic data updating result of the terminal number is stored through the dynamic data processing module, and the gateway protocol address of the requested party can be quickly obtained, so that the service connection with the second terminal is quickly established based on the gateway protocol address, and the service processing real-time performance is high; the process establishes direct end-to-end service connection directly through interaction between the service routing module and the dynamic data processing module, has simple signaling flow and small service processing delay and network transmission delay, and can particularly better meet high real-time service requirements of virtual reality, holographic communication, audio and video and the like.

The present disclosure also provides a service routing method, as shown in fig. 4, the service routing method includes the following steps, which are described with the second service routing module as an execution subject:

step S410, a second service routing module receives a service connection request initiated by a first terminal and sent by a first service routing module, wherein the service connection request carries a second terminal number; step S420, determining a terminal protocol address corresponding to the second terminal number according to the corresponding relation between the terminal number and the terminal protocol address stored when the second terminal completes registration; step S430, sending a service connection request to the second terminal through the terminal protocol address, and receiving a response success message of the second terminal to the service connection request; step S440, the response success information is forwarded to the first service routing module, so that the second terminal establishes service connection with the first terminal via the second service routing module and the first service routing module.

In the above process, it is described that, after receiving a service connection request initiated by a first terminal and sent by a first service routing module, a second service routing module determines a terminal protocol address (terminal IP address) of the second terminal according to a correspondence between a number stored when the second terminal completes registration to the second service routing module and the terminal protocol address, so that a response success message of the second terminal to the service connection request is obtained and sent to the first service routing module through interaction between the terminal IP address and the second terminal, and service connection between the first terminal and the second terminal is suggested through the second service routing module and the first service routing module.

The second service routing module stores a corresponding relationship between the terminal number and the terminal protocol address, where the corresponding relationship is stored when the second terminal completes registration to the second service routing module, and the process of the second terminal completing registration to the second service routing module is described in the above section, and is not described herein again.

The following describes a process of implementing service connection in the service routing method according to the present disclosure with reference to a specific scenario:

referring to fig. 5, the first service routing module is a 6G edge gateway a, the second service routing module is a 6G edge gateway B, and the dynamic data processing module is an ENUM/DNS, where the first terminal has completed registration to the 6G edge gateway a and the dynamic data processing module ENUM/DNS has completed dynamic data update and storage for the first terminal number, the second terminal has completed registration to the 6G edge gateway B and the dynamic data processing module ENUM/DNS has completed dynamic data update and storage for the second terminal number, and a corresponding relationship between the second terminal number and the terminal protocol address has been stored in the 6G edge gateway B, specifically:

step S510, the 6G terminal 1 sends a real-time service connection request (carrying the number of the 6G terminal 2) to the 6G edge gateway A;

step S520-S530, the 6G edge gateway a sends a translation request (dynamic query request) for the number of the 6G terminal 2 to ENUM/DNS, which returns a translation result (query result) for the number of the 6G terminal 2: the number of the 6G terminal 2 @ the identifier of the 6G edge gateway B;

step S540-S550, the 6G edge gateway A sends a DNS query request carrying the identifier of the 6G edge gateway B to the ENUM/DNS, and the ENUM/DNS returns the IP address of the 6G edge gateway B;

step S560, the 6G edge gateway A sends the real-time service connection request to the 6G edge gateway B through the IP address of the 6G edge gateway B;

step S570-S580, the 6G edge gateway B determines the terminal protocol address (IP address) corresponding to the number of the 6G terminal 2 according to the corresponding relation between the terminal number and the terminal protocol address stored in the registration process, and sends the real-time service connection request to the 6G terminal 2 through the IP address;

in steps S590 to S5120, the 6G terminal 2 successfully responds to the real-time service connection request sent by the 6G edge gateway B, and finally the 6G terminal 2 establishes a connection with the 6G terminal 1 via the 6G edge gateway B and the 6G edge gateway a.

As can be seen from the foregoing steps S510 to S5120, based on the interaction between the 6G terminal 1 and the 6G edge gateway a, the interaction between the 6G edge gateway a and the ENUM/DNS, the interaction between the 6G edge gateway a and the 6G edge gateway B, and the interaction between the 6G edge gateway B and the 6G terminal 2, the communication network is accessed through the 6G edge gateway, the service connection processing process does not need to detour to the home domain network, and this end-to-end connection manner reduces the service processing delay and the network transmission delay.

In addition, in the exemplary embodiment of the disclosure, a traffic routing system is also provided. Referring to fig. 6, the traffic routing system 600 may include a first terminal 610, a first traffic routing module 620, a second traffic routing module 630, a dynamic data processing module 640, and a second terminal 650. In particular, the amount of the solvent to be used,

the first service routing module 620 is configured to execute the service routing methods of the steps S110 to S140, and the second service routing module 630 is configured to execute the service routing methods of the steps S410 to S440;

the dynamic data processing module 640 is configured to update and store dynamic data of a second terminal number when the second terminal 650 completes registration with the second service routing module 630; or, the dynamic data processing module 640 is configured to update and store dynamic data for the first terminal number when the first terminal 610 completes registration to the first service network module 620; or, the dynamic data processing module 640 is configured to return a corresponding query result based on a dynamic data update result of the stored terminal number according to a dynamic query request sent by the first terminal 610 or the second terminal 650.

In an exemplary embodiment of the present disclosure, the system further comprises:

the subscriber home database is configured to authenticate an authentication request carrying authentication information sent by the first service routing module 620 or the second service routing module 630 when the first terminal 610 or the second terminal 650 registers, and feed back information of successful authentication to the first service routing module 620 or the second service routing module 630.

In an exemplary embodiment of the present disclosure, the first traffic routing module 620 may be deployed in a first edge gateway, the second traffic routing module 630 may be deployed in a second edge gateway, and the dynamic data processing module 640 may be deployed in ENUM/DNS; of course, the second service routing module 630 may also be deployed in the first edge gateway, and the first service routing module 620 may also be deployed in the second edge gateway, and it belongs to the protection scope of the present disclosure that the service connection between the terminals registered in the service routing module is established through the service routing modules deployed in different edge gateways.

Since each functional module of the service routing system in the exemplary embodiment of the present disclosure is the same as that in the embodiment of the service routing method described above, it is not described herein again.

It should be noted that although several modules or units of the traffic routing system are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.

In addition, in the exemplary embodiments of the present disclosure, a computer storage medium capable of implementing the above method is also provided. On which a program product capable of implementing the above-described method of the present specification is stored. In some possible embodiments, aspects of the present disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.

Referring to fig. 7, a program product 700 for implementing the above method according to an exemplary embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).

In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided. As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.

An electronic device 800 according to such an embodiment of the disclosure is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.

As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one memory unit 820, a bus 830 connecting different system components (including the memory unit 820 and the processing unit 810), and a display unit 840.

Wherein the storage unit stores program code that is executable by the processing unit 810 to cause the processing unit 810 to perform steps according to various exemplary embodiments of the present disclosure as described in the "exemplary methods" section above in this specification.

The storage unit 820 may include readable media in the form of volatile memory units such as a random access memory unit (RAM)8201 and/or a cache memory unit 8202, and may further include a read only memory unit (ROM) 8203.

The storage unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.

Bus 830 may be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

The electronic device 800 may also communicate with one or more external devices 900 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. As shown, the network adapter 860 communicates with the other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.

Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种路由管理的方法、装置、电子设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!