Call event processing method and apparatus
By identifying the service type of the call-related event and forwarding it to a third-party service platform for processing, the problem of the closed nature of the call process is solved, the openness and flexibility of the call process are realized, and the call control capability is enhanced.
Patent Information
- Application Number
- CN202411184284.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-08-27
AI Technical Summary
In existing technologies, the openness and flexibility of the call process are poor, the call scenarios are relatively closed, and it is difficult to achieve a diverse call experience.
By identifying the service type of the call participation event and querying the service address in the case of external types, the call participation event is forwarded to a third-party service platform. After obtaining the event response request, it is processed, ensuring the flexibility and security of cross-network forwarding.
It enhances the openness and flexibility of the call process, allows third-party service platforms to participate in call control, and strengthens the richness and security of the call process.
Smart Images

Figure CN119071360B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present document relates to the technical field of data processing, and particularly relates to a call event processing method and device. BACKGROUND
[0002] With the continuous development of Internet technology and the continuous progress of social information, various kinds of call functions emerge in endlessly, and the user is provided with diversified call experience in the process of calling or calling.
[0003] At present, the service platform providing diversified call experience for users is mainly deployed in the internal network of the operator, the service platform deployed in the internal network of the operator maintains the basic call, and opens part of the function to the external service platform on the basis of the basic call, and realizes these functions through the external service platform, such as the sound function, however, the opening of these part functions makes the development of the call process more closed, and the call scene is also more limited. SUMMARY
[0004] An embodiment of the present specification aims to provide a call event processing method and device to improve the openness and flexibility of the call process.
[0005] To solve the above technical problems, an embodiment of the present specification is implemented as follows:
[0006] In a first aspect, an embodiment of the present specification provides a call event processing method, the method comprising:
[0007] Obtaining a call participation event generated based on a call participation instruction, and identifying a service type corresponding to the call participation event;
[0008] If the service type is an external type, querying a service address according to a service identifier in the call participation event, and forwarding the call participation event to a third-party service platform according to the service address;
[0009] Obtaining an event response request of the call participation event returned by the third-party service platform;
[0010] According to the event response address in the event response request, the event response request is forwarded to the corresponding event response module for event response processing.
[0011] The call event processing method provided in the embodiment starts from a call participation event generated based on a call participation instruction, identifies a service type corresponding to the call participation event, in the case where the service type is an external type, queries a service address according to a service identifier in the call participation event, and forwards the call participation event to a third-party service platform corresponding to the service address, after obtaining an event response request of the call participation event returned by the third-party service platform, forwards the event response request to an event response module corresponding to an event response address in the event response request for event response processing. In this way, in the case where the service type is an external type, the call participation event is forwarded to the third-party service platform, so that the third-party service platform performs event response on the call participation event, thereby enabling the third-party service platform to have call control capability in the call process, improving the richness of the call process and the openness of the call process, and at the same time, through determination of the service type and the service address, it is ensured that the call participation event can be normally forwarded across networks, and the flexibility of the call process is improved.
[0012] In a second aspect, another embodiment of the present specification provides another call event processing method, which comprises:
[0013] generating a call participation instruction according to call behavior data and submitting the call participation instruction;
[0014] obtaining an event response request of a call participation event; the call participation event is forwarded according to a service address obtained by querying the service address according to a service identifier in the call participation event in the case where a service type corresponding to the call participation event is an external type;
[0015] in response to the event response request, performing event response processing on the call participation event, and displaying an obtained event response result.
[0016] The call event processing method provided in the embodiment generates a call participation instruction according to call behavior data and submits the call participation instruction, in response to an event response request of a call participation event obtained, performs event response processing on the call participation event, and displays an event response result obtained by the event response processing. In the case where a service type corresponding to the call participation event is an external type, the call participation event is forwarded according to a service address obtained by querying the service address according to a service identifier in the call participation event. In this way, through determination of the service type and the service address, it is ensured that the call participation event can be normally forwarded across networks, and the flexibility of the call process is improved.
[0017] In a third aspect, another embodiment of the present specification provides a call event processing device, which comprises:
[0018] an event obtaining module, configured to obtain a call participation event generated based on a call participation instruction, and identify a service type corresponding to the call participation event;
[0019] The address query module is configured to, if the service type is an external type, query a service address according to a service identifier in the call participation event, and forward the call participation event to a third-party service platform according to the service address.
[0020] The request acquisition module is configured to acquire an event response request of the call participation event returned by the third-party service platform.
[0021] The request forwarding module is configured to forward the event response request to a corresponding event response module according to an event response address in the event response request for event response processing.
[0022] In a fourth aspect, another embodiment of the present specification provides another call event processing apparatus, which comprises:
[0023] The instruction submission module is configured to generate a call participation instruction according to call behavior data and submit the call participation instruction.
[0024] The response request acquisition module is configured to acquire an event response request of a call participation event; and the call participation event is forwarded according to a service address obtained according to a service identifier in the call participation event, if a service type corresponding to the call participation event is an external type.
[0025] The event response module is configured to, in response to the event response request, perform event response processing on the call participation event, and display an obtained event response result.
[0026] In a fifth aspect, another embodiment of the present specification provides a call event processing device, which comprises a memory, a processor, and computer executable instructions stored in the memory and executable on the processor, and the computer executable instructions are executed by the processor to implement the steps of the call event processing method according to the first aspect.
[0027] In a sixth aspect, another embodiment of the present specification provides another call event processing device, which comprises a memory, a processor, and computer executable instructions stored in the memory and executable on the processor, and the computer executable instructions are executed by the processor to implement the steps of the call event processing method according to the second aspect.
[0028] In a seventh aspect, another embodiment of the present specification provides a computer readable storage medium for storing computer executable instructions, and the computer executable instructions are executed by a processor to implement the steps of the call event processing method according to the first aspect.
[0029] In an eighth aspect, another computer readable storage medium is provided for storing computer executable instructions, which when executed by a processor, implement the steps of the call event processing method according to the second aspect.
[0030] In a ninth aspect, a computer program product is provided, which includes a call event processing program, which when executed by a processor, implements the steps of the call event processing method according to the first aspect.
[0031] In a tenth aspect, another computer program product is provided, which includes a call event processing program, which when executed by a processor, implements the steps of the call event processing method according to the second aspect. BRIEF DESCRIPTION OF DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of one or more embodiments of the present specification or the prior art, the drawings needed in the embodiment or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments described in the present specification, and those skilled in the art can also obtain other drawings according to these drawings without creative labor;
[0033] Figure 1 A call event processing method processing flowchart is provided for an embodiment of the present specification;
[0034] Figure 2 A structural schematic diagram of a call processing platform is provided for an embodiment of the present specification;
[0035] Figure 3 A schematic diagram of a call processing process is provided for an embodiment of the present specification;
[0036] Figure 4 A call event processing method processing flowchart applied to a call answering scenario is provided for an embodiment of the present specification;
[0037] Figure 5 Another call event processing method processing flowchart is provided for an embodiment of the present specification;
[0038] Figure 6 Another call event processing method processing flowchart applied to a call answering scenario is provided for an embodiment of the present specification;
[0039] Figure 7 A call event processing device schematic diagram is provided for an embodiment of the present specification;
[0040] Figure 8 A schematic diagram of another call event processing device provided in one embodiment of this specification.
[0041] Figure 9 A schematic diagram of a call event processing device provided in one embodiment of this specification;
[0042] Figure 10 This is a schematic diagram of another call event processing device provided in one embodiment of this specification. Detailed Implementation
[0043] To enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this document.
[0044] The following is an example of a call event handling method provided in this specification:
[0045] Reference Figure 1 The call event processing method provided in this embodiment specifically includes the following steps S102 to S108.
[0046] Step S102: Obtain the call participation event generated based on the call participation instruction, and identify the service type in the call participation event.
[0047] In this embodiment, the call participation instruction refers to an instruction to participate in a call. The call participation instruction may include a call call instruction or a call instruction. The call instruction may be a call answer instruction or a call termination instruction. In addition, the call participation instruction may also include other types of call participation instructions. Furthermore, the call participation instruction may also include a call control result instruction or a service control result instruction. That is, a call control result instruction that includes the event response result obtained after event response processing of the call participation event, or a service control result instruction that includes the event response result obtained after event response processing of the call control result event. For example, if the event response result is the storage location information of the video stream after video negotiation, then the call participation instruction may be a call control result instruction carrying the storage location information of the video stream.
[0048] The call participation event can include a call call event or a call event, the call event can be a call answer event or a call termination event, in addition, the call participation event can also include other types of call participation events; in addition, the call participation event can also include a call control result event or a service control result event, that is, a call control result event containing an event response result obtained after the event response processing of the call participation event, or a service control result event containing an event response result obtained after the event response processing of the call control result event; it should be noted that the call participation event can be a call participation event in the form of an HTTP (Hyper Text Transfer Protocol, Hyper Text Transfer Protocol) request, that is, a call HTTP request. The present embodiment can be applied to a call processing platform, which can be an operator's call processing platform, for example, Figure 2 The call processing platform shown can include a call processing module and a routing module.
[0049] The service type in the call participation event refers to the call service type in the call participation event, and the call service type includes an internal type and / or an external type; for example, in the case of an internal type service type, the call participation event contains a vonras identifier, and in the case of an external type service type, the call participation event contains a thirdas identifier.
[0050] In actual application, different service platforms can subscribe to different call types, and different service platforms can subscribe to different communication numbers. In this regard, in order to accurately determine whether to forward the call participation event based on the call participation event, accurately forward the call participation event to the corresponding service platform, and generate comprehensive call participation events, that is, ensure the comprehensiveness and effectiveness of the generated call participation events, in an optional embodiment provided by the present embodiment, the call participation event is generated by the following method:
[0051] Obtain a call participation instruction submitted based on a terminal device communication number, determine a call type corresponding to the call participation instruction, and query a reference call type mapped by the communication number;
[0052] If the call type matches the reference call type, generate the call participation event based on an event response address, the call type, a service identifier bound by the communication number, and a service type.
[0053] It should be noted that in the case where the call type does not match the reference call type, no processing is performed.
[0054] For example, a call response instruction submitted by a terminal device based on a communication number is acquired, it is determined that the call type corresponding to the call response instruction is a call response type, and it is queried that the reference call type mapped by the communication number is a call type, a call response type and a call termination type, the call response type corresponding to the call response instruction is contained in the reference call type mapped by the communication number, and a call response event is generated based on the event response address, the call response type, the service identification "APPID" bound by the communication number and the service type "thirdas".
[0055] On the basis that, if the call type matches the reference call type, the call participation event is generated based on the event response address, the call type, the service identification bound by the communication number and the service type, the reference call type is obtained by querying in a number and call type mapping table, the number and call type mapping table is obtained by constructing based on the call type subscribed by the third party service platform and the communication number signed by the third party service platform, and the number and call type mapping table is obtained by constructing by the call network element.
[0056] The third party service platform includes a third party call platform, that is, a third party call platform deployed in an external network outside an internal network of an operator, that is, a third party call platform deployed in a public network, and the third party call platform is used for call processing. The call network element can be a VoNR+ network element in a VoNR+ platform. Figure 2 The VoNR+ platform includes a VoNR+ network element.
[0057] In a specific implementation, the third party service platform can subscribe to the call type in advance, so that in the actual call processing process, the call participation event corresponding to the call type can be reported to the third party service platform when the call type corresponding to the call participation instruction is contained in the subscribed call type. Since the third party service platform is flexibly deployed, the third party service platform can be deployed in a public network, so that the third party service platform cannot directly perceive which call network element the subscribed call type is sent to. In order to improve the convenience and accuracy of call type subscription, the call type subscribed by the third party service platform can be accurately sent to the corresponding call network element. In an optional implementation of the embodiment, the call type subscribed by the third party service platform is obtained by the following method:
[0058] The service identification and the subscription location information sent by the third party service platform are acquired.
[0059] The call type subscribed by the third party service platform is queried according to the service identification, and the queried call type is sent to the call network element in the subscription location corresponding to the subscription location information.
[0060] The service identifier can be a service identifier of a third-party service platform, such as an APPID; and the subscription location information refers to location information for which a call type is subscribed, and the subscription location information can be province information or city information, or other types of location information.
[0061] Specifically, the third-party service platform can send the service identifier and the subscription location information to a call processing module in the call processing platform, the call processing module can query a call type subscribed by the third-party service platform according to the service identifier, and can determine a network element address according to the subscription location information, construct an event forwarding address according to the service identifier, generate a routing request according to the call type obtained by the query, the network element address, and the event forwarding address, and send the routing request to a routing module in the call processing platform, so that the routing request can be sent to a call network element corresponding to the network element address through the routing module; in this way, the call type subscribed by the third-party service platform is sent to the call network element, so that the call network element learns a call participation event corresponding to the call type that needs to be forwarded for the third-party service platform.
[0062] The event forwarding address can be an address required in the process of forwarding a call event to the third-party service platform; for example, the event forwarding address is http: / / {bus}:port / v1 / thirdas / call / notifyCallEvent / {appid}, where thirdas refers to a service type of external type, and appid represents a service identifier of the third-party service platform.
[0063] Based on the call type subscribed by the third-party service platform and the communication number signed by the third-party service platform, in an optional embodiment of the present embodiment, the communication number signed by the third-party service platform is obtained by the following method:
[0064] Obtain the communication number sent by the third-party service platform;
[0065] Determine a geographical area to which the obtained communication number belongs, and forward the obtained communication number to a call network element in the geographical area.
[0066] The geographical area can be a province, a city, or the like.
[0067] Specifically, the third-party service platform can send the communication number to a call processing module in the call processing platform, the call processing module can obtain the communication number sent by the third-party service platform, determine the geographical area to which the obtained communication number belongs, determine the network element address of the call network element of the geographical area, construct a routing request according to the network element address and the obtained communication number, and the call processing module can send the routing request to a routing module in the call processing platform. The routing request can be sent to the call network element corresponding to the network element address through the routing module; after receiving the call type subscribed by the third-party service platform and receiving the communication number subscribed by the third-party service platform, the call network element can construct a number and call type mapping table based on the communication number and the call type, so that the call participation event corresponding to the communication number is forwarded to the third-party service platform when the call participation event meets the subscribed call type.
[0068] For example, the third-party service platform sends the communication number and the service identifier to the call processing module in the call processing platform, the call processing module determines the province to which the communication number belongs and the network element address of the call network element of the province, generates a routing request according to the network element address, the communication number and the service identifier, and sends the routing request to the call network element corresponding to the network element address through the routing module. Thereafter, the call network element determines the call type subscribed by the third-party service platform according to the service identifier in the routing request, and constructs a number and call type mapping table according to the call type and the communication number in the routing request.
[0069] In specific implementation, the terminal device can generate a call participation instruction according to the call behavior data and submit the call participation instruction, specifically, the terminal device can generate a call participation instruction according to the call behavior data and submit the call participation instruction to an event response module; the call behavior data here refers to the call behavior operation of the user, for example, a call answer instruction is generated according to a call answer operation; thereafter, the event response module can generate a call participation event based on the call participation instruction, upload the call participation event to a call processing platform, and the call processing platform can identify the service type corresponding to the call participation event after obtaining the call participation event generated based on the call participation instruction, specifically, a call processing module in the call processing platform can identify the service type corresponding to the call participation event after obtaining the call participation event generated based on the call participation instruction. The event response module in the embodiment can include a core network and a VoNR+ (Voice over New Radio Plus, enhanced voice service based on new radio interface) platform; the VoNR+ platform can include a call network element, i.e., a VoNR+ network element; for example, Figure 2 As shown, the core network and the VoNR+ platform interact.
[0070] In the process of identifying the service type corresponding to the call participation event, if the call participation event contains an external type identifier, it is determined that the service type corresponding to the call participation event is an external type, and if the call participation event contains an internal type identifier, it is determined that the service type corresponding to the call participation event is an internal type; for example, the service type of the call HTTP request is determined according to the request address of the call HTTP request, specifically, the service type of the call HTTP request can be determined according to the request URL (Uniform Resource Locator, Uniform Resource Locator) of the call HTTP request, if the request URL of the call HTTP request contains vonras, it is determined that the service type of the call HTTP request is an internal type, and if the request URL of the call HTTP request contains thirdas, it is determined that the service type of the call HTTP request is an external type; for example, Figure 2 As shown, in the case of an external type, the call processing module interacts with the third-party service platform, and in the case of an internal type, the routing module directly interacts with the internal service platform.
[0071] Step S104, if the service type is an external type, the service address is queried according to the service identifier in the call participation event, and the call participation event is forwarded to the third-party service platform according to the service address.
[0072] The call participation event generated based on the call participation instruction is obtained, and the service type in the call participation event is identified, and in the case of an external type, the service address is queried according to the service identifier in the call participation event, and the call participation event is forwarded to the third-party service platform corresponding to the service address.
[0073] The service identifier in the call participation event described in the embodiment can be the service identifier of the third-party service platform, that is, the unique identifier representing the third-party service platform, such as using APPID to represent the service identifier of a certain third-party service platform. The service address can be the address of the third-party service platform.
[0074] In specific implementation, if the service type is an external type, the call participation event can be forwarded to the call processing module in the call processing platform through the routing module in the call processing platform, the call processing module can query the service address of the third-party service platform according to the service identifier in the call participation event, and forward the call participation event to the third-party service platform according to the service address; here, the routing module can be a business bus.
[0075] It should be noted that the call participation event can further include a call identifier, and the call identifier can be a call identifier. The call participation event herein can be a call participation event other than the call event. After the third-party service platform receives the call participation event, the call participation event can be associated with the call according to the call identifier in the call participation event, so that the call participation events generated in the same call can be bound together, and the convenience of subsequent call control is improved. If the service type is an internal type, the routing module in the call processing platform can query the service address of the internal service platform according to the service identifier in the call participation event, and forward the call participation event to the internal service platform corresponding to the service address.
[0076] In the case where the service type is an external type, the call participation event can be first forwarded to the call processing module by the routing module, and the call participation event is forwarded to the third-party service platform by the call processing module. In the case where the service type is an internal type, the call participation event can be directly forwarded to the internal service platform by the routing module. In this way, the access management of the internal service platform of the external type is realized by the call processing module, the security of the internal service platform for call processing is improved, and the flexibility of event forwarding is improved by providing different event forwarding modes for the internal type and the external type service platform.
[0077] In step S106, the event response request of the call participation event returned by the third-party service platform is obtained.
[0078] The event response request of the call participation event in the embodiment refers to a request for event response of the call participation event. The event response request of the call participation event can be an event response request of the call event, the call response event or the call termination event, or can be a control request for controlling the event response result contained in the call control result event. The event response request of the call participation event herein can also be an event response HTTP request.
[0079] Specifically, after the third-party service platform receives the call participation event, the call participation event can be analyzed and processed to obtain an event response address, and an event response request of the call participation event is generated according to the event response address and the service identifier. The event response request of the call participation event is sent to the call processing module in the call processing platform.
[0080] For example, the third-party service platform parses the request body of the call HTTP request to obtain an event response address, adds an X-Forward-URL parameter in the request header of the initial event response HTTP request, writes the event response address to the X-Forward-URL parameter, and writes a service identifier to obtain an event response HTTP request. The third-party service platform returns the event response HTTP request to the call processing module in the call processing platform.
[0081] The event response address can be an address of the event response module.
[0082] It should be noted that, in the process of generating the event response request of the call participation event, a result reporting address can also be generated, the result reporting address being an address for reporting an event response result obtained by subsequent event response processing to the third-party service platform. The result reporting address can be the same as or different from the event reporting address. For example, the result reporting address is http: / / {bus}:port / v1 / thirdas / call / control-callback / {callid} / {appid}.
[0083] It should be further noted that, in the case where the call participation event is a call event, the event response request can be a 200 OK response message carrying the result reporting address.
[0084] Step S108: forwarding the event response request to a corresponding event response module according to the event response address in the event response request for event response processing.
[0085] In a specific implementation, in order to improve the convenience and flexibility of routing and forwarding the event response request, in an optional implementation provided by the present embodiment, in the process of forwarding the event response request to a corresponding event response module according to the event response address in the event response request, the following operations are performed:
[0086] reading an event response address corresponding to an address parameter from the request header of the event response request;
[0087] constructing a routing request according to the event response address, and routing the routing request to the event response module corresponding to the event response address through a routing module.
[0088] For example, the event response request is an event response HTTP request, the call processing module reads an event response address callUrl corresponding to an address parameter X-Forward-URL from a request header of the event response HTTP request, constructs a routing request in a preset format according to the event response address, such as https: / / {bus}:?url=X-Forward-URL, and sends the routing request to the routing module, so that the routing request is routed to the event response module corresponding to the event response address callUrl by the routing module; in this way, the address parameter is defined in the request body of the event response request, so that the event response address corresponding to the address parameter can be directly read from the request header, the request body of the event response request is avoided to be parsed, and the convenience and flexibility of request routing are improved.
[0089] In actual application, since the third-party service platform can be deployed in a public network, there is a need for authentication for the third-party service platform, and in order to improve the security of data interaction between the third-party service platform and the call processing platform; in this regard, in an optional implementation provided by the embodiment, before the operation of reading the event response address corresponding to the address parameter from the request header of the event response request is performed, the following operation is further performed:
[0090] According to the service identifier in the event response request, the service permission information of the third-party service platform is queried, and the third-party service platform is authenticated based on the service permission information;
[0091] If the authentication is passed, the operation of reading the event response address corresponding to the address parameter from the request header of the event response request is performed.
[0092] In the case where the authentication is not passed, the authentication process is repeated or no processing is performed.
[0093] In specific implementation, after the event response request is forwarded to the corresponding event response module according to the event response address in the event response request, the event response module can send the event response request to the terminal device for event response processing; the terminal device can obtain the event response request of the call participation event, respond to the event response request, perform the event response processing of the call participation event, and display the obtained event response result; the terminal device can be a calling terminal or a called terminal.
[0094] On the basis of generating the call response instruction according to the call response operation of the user, in the process of performing the event response processing of the call participation event and displaying the obtained event response result, the terminal device can perform the following operation: video negotiation processing is performed on the call response event to obtain a video stream, and the video stream is displayed.
[0095] The video negotiation process herein can be unilateral video negotiation or bilateral video negotiation.
[0096] On this basis, after responding to the event response request, performing the event response processing of the call participation event, and performing display and execution on the obtained event response result, the terminal device can further perform the following operations:
[0097] Generate a call control result instruction according to the storage location information of the video stream and submit it;
[0098] Based on the subtitle generation request of the video stream, read the video stream from the storage location corresponding to the storage location information, and generate the subtitle data of the video stream. The subtitle data is scrolled in the video stream.
[0099] The storage location information can be a video stream URL.
[0100] For example, Figure 3As shown, the UE represents a terminal device, which can first generate a call instruction according to a call behavior and submit the call instruction to an event response module, the core network in the event response module forwards the call instruction to a call network element, the call network element generates a call event based on the call instruction, and forwards the call event to a routing module, the routing module forwards the call event to a call processing module, the call processing module identifies the service type corresponding to the call event, if the service type is an external type, the service address can be queried according to the service identifier in the call event, the call event is forwarded to a third-party service platform according to the service address, 200OK signaling returned by the third-party service platform is obtained, the terminal device can generate a call instruction according to the call behavior data and submit the call instruction, the call processing platform can obtain a call event generated based on the call instruction, and identify the service type corresponding to the call event, if the service type is an external type, the service address can be queried according to the service identifier in the call event, the call event is forwarded to a third-party service platform according to the service address, an event response request of the call event returned by the third-party service platform is obtained, the event response request is forwarded to the corresponding event response module according to the event response address in the event response request, the event response module can issue the event response request to the terminal device, the terminal device can perform event response processing of the call event, obtain an event response result and display, the terminal device can generate a call control result instruction based on the event response result and submit the call control result instruction, the call processing platform can obtain a call control result event generated based on the call control result instruction, and identify the service type corresponding to the call control result event, if the service type is an external type, the service address can be queried according to the service identifier in the call control result event, and the call control result event is forwarded to a third-party service platform according to the service address, an event response request of the call control result event returned by the third-party service platform can be obtained, the event response request is forwarded to the corresponding event response module according to the second event response address in the event response request, and the event response module issues the event response request to the terminal device for event response processing;
[0101] The terminal device can generate a service control result instruction based on the second event response result and submit the service control result instruction, the call processing platform can obtain a service control result event generated based on the service control result instruction, and identify the service type corresponding to the service control result event, if the service type is an external type, the service address can be queried according to the service identifier in the service control result event, and the service control result event is forwarded to a third-party service platform according to the service address, an event response request of the service control result event returned by the third-party service platform can be obtained, the event response request is forwarded to the media processing module according to the third event response address in the event response request, the media processing module performs media data processing, and returns a media control result instruction generated based on the media control result to the call processing platform, and the call processing platform can return the third-party service platform.
[0102] For example, the service control result event can be a playback event, a video playing event, a text superposition event, a background replacement event, and can also be other types of service events; the media data processing can be gesture recognition, audio recognition, video recognition, audio transcription, etc.
[0103] To sum up, the call event processing method provided in the embodiment first identifies the service type corresponding to the call participation event generated based on the call participation instruction;
[0104] Secondly, in the case where the service type is external, the service address is queried according to the service identifier in the call participation event, and the call participation event is forwarded to the third-party service platform corresponding to the service address; after obtaining the event response request of the call participation event returned by the third-party service platform, the service permission information of the third-party service platform is queried according to the service identifier in the event response request, and the third-party service platform is authenticated based on the service permission information; if the authentication is passed, the event response address corresponding to the address parameter in the request header of the event response request is read, a routing request is obtained according to the event response address, and the routing request is routed to the event response module corresponding to the event response address through the routing module for event response processing;
[0105] In the case where the service type is internal, the call participation event is forwarded to the internal service platform through the routing module, and after obtaining the event response request of the call participation event returned by the internal service platform, the event response address corresponding to the address parameter in the request header of the event response request is read, and the event response request is routed to the event response module corresponding to the event response address for event response processing;
[0106] In this way, by providing different event or request forwarding paths to service platforms of different service types, the processing flexibility of the call participation event is improved, and at the same time, the routing module directly interacts with the internal service platform, and the processing module is added between the routing module and the third-party service platform to enable the call processing module to interact with the third-party service platform, improve the security of interaction with the third-party service platform deployed in the external network, enable the third-party service platform to participate in the call control of the call participation event, improve the richness of the call process and the openness of the call process, and by authenticating the third-party service platform, ensure that the call participation event can be normally forwarded across the network, further improve the security of the call process.
[0107] The following is combined Figure 4 Taking the application of the call event processing method provided in the embodiment in the call answering scene as an example, the call event processing method provided in the embodiment is further described. Refer to Figure 4The call event processing method applied to a call answering scenario specifically comprises the following steps.
[0108] In step S402, a call answering event generated based on a call answering instruction is acquired, and a service type corresponding to the call answering event is identified.
[0109] In step S404, if the service type is an external type, a service address is queried according to a service identifier in the call answering event, and the call answering event is forwarded to a third-party service platform according to the service address.
[0110] In step S406, an event response request of the call answering event returned by the third-party service platform is acquired.
[0111] Optionally, the event response request is generated based on an event response address obtained by reading from the call answering event.
[0112] In step S408, an event response address corresponding to an address parameter in a request header of the event response request is read.
[0113] In step S410, a routing request is constructed according to the event response address, and the routing request is routed to an event response module corresponding to the event response address through a routing module for event response processing.
[0114] It should be noted that any one or combination of steps S402 to S410 can be replaced by the corresponding technical means provided in steps S102 to S108 according to the needs of implementation and deployment, which will not be repeated here.
[0115] It should be further noted that the call event processing method provided in the above embodiment and the call event processing method provided in the following embodiment can be executed in cooperation with each other, so that after reading the above embodiment, the related content in the following embodiment can be referred to, and after reading the following embodiment, the related content in the above embodiment can be referred to.
[0116] Another call event processing method provided in the present specification is as follows:
[0117] Referring to Figure 5 The call event processing method provided in the present embodiment specifically comprises steps S502 to S506.
[0118] In step S502, a call participation instruction is generated according to call behavior data and submitted.
[0119] The call participation instruction in the embodiment refers to an instruction for participating in a call. The call participation instruction can include a call instruction, a call response instruction, or a call termination instruction. In addition, the call participation instruction can also include other types of call participation instructions. In addition, the call participation instruction can also include an upload instruction for uploading an event response result. For example, if the event response result is storage location information of a video stream after video negotiation, the call participation instruction can be an upload instruction for uploading the storage location information of the video stream. The embodiment can be applied to a terminal device.
[0120] In a specific implementation, the terminal device can generate a call participation instruction based on call behavior data and submit the call participation instruction. The call processing platform can obtain a call participation event generated based on the call participation instruction, identify a service type corresponding to the call participation event, query a service address based on a service identifier in the call participation event if the service type is an external type, and forward the call participation event to a third-party service platform according to the service address. The call processing platform can obtain an event response request returned by the third-party service platform for the call participation event, and forward the event response request to a corresponding event response module according to an event response address in the event response request for event response processing.
[0121] The call participation event can include a call event, a call response event, or a call termination event. In addition, the call participation event can also include other types of call participation events. In addition, the call participation event can also include a result upload event for uploading an event response result. It should be noted that the call participation event can be a call HTTP request in the form of an HTTP (Hyper Text Transfer Protocol) request.
[0122] The service type in the call participation event refers to a call service type in the call participation event. The call service type includes an internal type and / or an external type. For example, in the case of an internal type, a vonras identifier exists in the call participation event. In the case of an external type, a thirdas identifier exists in the call participation event.
[0123] In actual applications, different service platforms can subscribe to different call types, and different service platforms can subscribe to different communication numbers. To improve the comprehensiveness and flexibility of call participation event generation, the call participation event can be generated in the following manner.
[0124] A call participation instruction submitted based on a communication number of a terminal device is obtained, a call type corresponding to the call participation instruction is determined, and a reference call type mapped by the communication number is queried.
[0125] If the call type matches the reference call type, a call participation event is generated based on the event response address, the call type, the service identifier bound by the communication number and the service type.
[0126] For example, in the process of generating a call participation event, a call response instruction submitted based on the communication number of the terminal device is obtained, it is determined that the call type corresponding to the call response instruction is a call response type, and it is queried that the reference call type mapped by the communication number is a call call type, a call response type and a call termination type, the call response type corresponding to the call response instruction is contained in the reference call type mapped by the communication number, and then a call response event is generated based on the event response address, the call response type, the service identifier "APPID" bound by the communication number and the service type "thirdas".
[0127] It should be noted that in the case where the call type does not match the reference call type, no processing is performed.
[0128] Based on the above, if the call type matches the reference call type, the call participation event is generated based on the event response address, the call type, the service identifier bound by the communication number and the service type; optionally, the reference call type is obtained by querying a number and call type mapping table; the number and call type mapping table is obtained based on the call type subscribed by the third-party service platform and the communication number signed by the third-party service platform; the number and call type mapping table is obtained by the call network element.
[0129] The third-party service platform includes a third-party call platform, that is, a third-party call platform deployed in an external network outside the internal network of an operator, that is, a third-party call platform deployed in a public network, which is used for call processing. The call network element can be a VoNR+ network element in a VoNR+ platform.
[0130] In specific implementation, the third-party service platform can subscribe to the call type in advance, so that in the actual call processing process, the call participation event corresponding to the call type can be reported to the third-party service platform in the case where the call type corresponding to the call participation instruction is contained in the subscribed call type; and since the third-party service platform is flexibly deployed, the third-party service platform can be deployed in a public network, so that the third-party service platform cannot directly perceive which call network element the subscribed call type is issued to. In view of this, in order to improve the convenience and accuracy of call type subscription, the call type subscribed by the third-party service platform can be obtained in the following way:
[0131] Obtain the service identifier and subscription location information sent by the third-party service platform;
[0132] query the call type subscribed by the third-party service platform according to the service identity, and send the call type obtained by the query to the call network element of the subscription location corresponding to the subscription location information.
[0133] The service identity can be a service identity of the third-party service platform, such as APPID; the subscription location information refers to the location information of the call type subscription, and the subscription location information can be province information or city information, and the subscription location information can also be other types of location information.
[0134] Specifically, the third-party service platform can send the service identity and the subscription location information to the call processing module in the call processing platform, the call processing module can query the call type subscribed by the third-party service platform according to the service identity, and can determine the network element address according to the subscription location information, construct the event forwarding address according to the service identity, generate the routing message according to the call type obtained by the query, the network element address and the event forwarding address, and send the routing message to the routing module in the call processing platform. The routing module can send the routing message to the call network element corresponding to the network element address; in this way, the call type subscribed by the third-party service platform is sent to the call network element, so that the call network element knows the call participation event corresponding to the call type that needs to be forwarded to the third-party service platform.
[0135] The event forwarding address can be an address required in the process of forwarding the call event to the third-party service platform; for example, the event forwarding address is http: / / {bus}:port / v1 / thirdas / call / notifyCallEvent / {appid}. Here, thirdas refers to a service type of external type; and appid represents the service identity of the third-party service platform.
[0136] In the above number and call type mapping table, based on the call type subscribed by the third-party service platform and the communication number signed by the third-party service platform, the communication number signed by the third-party service platform can be obtained by the following method:
[0137] Obtain the communication number sent by the third-party service platform;
[0138] Determine the geographical area to which the obtained communication number belongs, and forward the obtained communication number to the call network element of the geographical area.
[0139] The geographical area can be a province, a city, etc.
[0140] Specifically, the communication number sent by the third-party service platform can be acquired, and the province to which the acquired communication number belongs can be determined. The network element address of the province is determined, and the acquired communication number is forwarded to the call network element corresponding to the network element address. After receiving the call type and the communication number subscribed by the third-party service platform, the call network element can construct a number and call type mapping table based on the communication number and the call type, so that the call participation event corresponding to the communication number is forwarded to the third-party service platform when the call participation event meets the subscribed call type.
[0141] For example, the third-party service platform sends the communication number and the service identifier to the call processing module in the call processing platform. The call processing module determines the province to which the communication number belongs and the network element address of the province. The call processing module generates a routing message according to the network element address, the communication number, and the service identifier. The routing message can be sent to the call network element corresponding to the network element address through the routing module. Thereafter, the call network element queries the call type subscribed by the third-party service platform according to the service identifier in the routing message, and constructs a number and call type mapping table according to the call type and the communication number in the routing message.
[0142] In specific implementation, the terminal device can generate a call participation instruction according to the call behavior data and submit the call participation instruction. Specifically, the terminal device can generate a call participation instruction according to the call behavior data and submit the call participation instruction to the event response module. Here, the call behavior data refers to the call behavior operation of the user, such as generating a call response instruction according to the call response operation of the user. Thereafter, the event response module can generate a call participation event based on the call participation instruction, and upload the call participation event to the call processing platform. The call processing platform can identify the service type corresponding to the call participation event after acquiring the call participation event generated based on the call participation instruction. Specifically, the call processing module in the call processing platform can identify the service type in the call participation event after acquiring the call participation event generated based on the call participation instruction. The event response module in this embodiment can include a core network and a VoNR+ (Voice over New Radio Plus, enhanced voice service based on new radio interface) platform. The VoNR+ platform can include a call network element, i.e., a VoNR+ network element.
[0143] In the process of identifying the service type corresponding to the call participation event by the call processing platform, if the call participation event contains an external type identifier, the service type corresponding to the call participation event is determined as an external type, and if the call participation event contains an internal type identifier, the service type corresponding to the call participation event is determined as an internal type. For example, the service type of the call HTTP request is determined according to the request address of the call HTTP request, and specifically, the service type of the call HTTP request is determined according to the request URL (Uniform Resource Locator) of the call HTTP request. If the request URL of the call HTTP request contains vonras, the service type of the call HTTP request is determined as an internal type, and if the request URL of the call HTTP request contains thirdas, the service type of the call HTTP request is determined as an external type.
[0144] The service identifier in the call participation event described in the embodiment can be a service identifier of a third-party service platform, that is, an identifier unique to the third-party service platform, such as an APPID used to represent the service identifier of a certain third-party service platform. The service address can be an address of the third-party service platform.
[0145] In specific implementation, if the service type is an external type, the call processing platform can forward the call participation event to the call processing module in the call processing platform through the routing module in the call processing platform. The call processing module can query the service address of the third-party service platform according to the service identifier in the call participation event, and forward the call participation event to the third-party service platform according to the service address. The routing module here can be a business bus.
[0146] It should be noted that the call participation event can also include a call identifier, which can be a callid. If the service type is an internal type, the call processing module in the call processing platform can query the service address of the third-party service platform according to the service identifier in the call participation event, and forward the call participation event to the third-party service platform corresponding to the service address.
[0147] The event response request of the call participation event described in the embodiment refers to a request for event response to the call participation event. The event response request of the call participation event can be an event response request of a call call event, a call answer event or a call termination event, or a control request for controlling the event response result. The event response request of the call participation event here can also be an event response HTTP request.
[0148] Specifically, after receiving the call participation event, the third-party service platform can analyze and process the call participation event to obtain an event response address, generate an event response request of the call participation event according to the event response address and the service identifier, and send the event response request of the call participation event to the call processing module in the call processing platform.
[0149] For example, the third-party service platform adds an X-Forward-URL parameter in the request header of the HTTP request, writes the event response address to the X-Forward-URL parameter, and writes the service identifier in the HTTP request to obtain an event response HTTP request. The third-party service platform returns the event response HTTP request to the call processing module in the call processing platform.
[0150] The event response address can be an address of the event response module.
[0151] It should be noted that, in the process of generating the event response request of the call participation event, a result reporting address can also be generated, which is an address used for reporting an event response result obtained by subsequent event response processing to the third-party service platform. The result reporting address can be the same as or different from the event reporting address. For example, the result reporting address is http: / / {bus}:port / v1 / thirdas / call / control-callback / {callid} / {appid}.
[0152] In a specific implementation, in order to improve the convenience and flexibility of routing and forwarding the event response request, the call processing platform can perform the following operations in the process of forwarding the event response request to the corresponding event response module according to the event response address in the event response request:
[0153] read the event response address corresponding to the address parameter from the request header of the event response request;
[0154] construct a routing request according to the event response address to obtain a routing request, and route the routing request to the event response module corresponding to the event response address through a routing module.
[0155] In actual application, since the third-party service platform can be deployed in a public network, there is a need for authentication of the third-party service platform. In this regard, before the above operation of reading the event response address corresponding to the address parameter from the request header of the event response request, the call processing platform can also perform the following operation:
[0156] query service permission information of the third-party service platform according to the service identifier in the event response request, and perform authentication processing on the third-party service platform based on the service permission information.
[0157] If the authentication passes, the operation of reading the event response address corresponding to the address parameter in the request header of the event response request is performed.
[0158] In specific implementation, the call processing platform can forward the event response request to the corresponding event response module according to the event response address in the event response request, and the event response module can then issue the event response request to the terminal device for event response processing; the terminal device can obtain the event response request of the call participation event, respond to the event response request, perform event response processing on the call participation event, and display the obtained event response result; the terminal device can be a calling terminal or a called terminal.
[0159] In an optional implementation provided by the embodiment, in the process of generating the call participation instruction according to the call behavior data, the following operation is performed: generating a call answer instruction according to the call answer operation.
[0160] In step S504, the event response request of the call participation event is obtained.
[0161] Optionally, in the case where the service type in the call participation event is an external type, the obtained service address is queried according to the service identifier in the call participation event and is forwarded.
[0162] In specific implementation, the terminal device can obtain the event response request of the call participation event issued by the event response module.
[0163] In step S506, the event response request is responded to, event response processing on the call participation event is performed, and the obtained event response result is displayed.
[0164] In an optional implementation provided by the embodiment, in the process of performing event response processing on the call participation event and displaying the obtained event response result, the following operation is performed:
[0165] The video stream is obtained by performing video negotiation processing on the call answer event, and the video stream is displayed.
[0166] On this basis, in an optional implementation provided by the embodiment, after the operation of responding to the event response request, performing event response processing on the call participation event, and displaying the obtained event response result is performed, the following operation is further performed:
[0167] A call control result instruction is generated according to the storage location information of the video stream and is submitted;
[0168] The subtitle generation request based on the video stream reads the video stream from the storage location corresponding to the storage location information, and generates subtitle data of the video stream, wherein the subtitle data is displayed in the video stream.
[0169] The following combination Figure 6 With the application of the call abnormality processing method provided in the embodiment in the call answering scene as an example, the call abnormality processing method provided in the embodiment is further described. Referring to Figure 6 The call abnormality processing method applied in the call answering scene specifically includes the following steps.
[0170] Step S602, generating a call answering instruction according to a call answering operation of a user and submitting the call answering instruction.
[0171] Step S604, obtaining an event response request of a call answering event.
[0172] Optionally, in a case where the service type corresponding to the call answering event is an external type, the call answering event is forwarded according to a service address obtained by querying the service identifier in the call answering event.
[0173] Step S606, in response to the event response request, performing video negotiation processing on the call answering event to obtain a video stream, and displaying the video stream.
[0174] Step S608, generating a call control result instruction according to storage location information of the video stream and submitting the call control result instruction.
[0175] Step S610, based on a subtitle generation request of the video stream, reading the video stream from a storage location corresponding to the storage location information, and generating subtitle data of the video stream, wherein the subtitle data is displayed in the video stream.
[0176] It should be noted that any one step or combination of any multiple steps of steps S602 to S610 can be replaced by the corresponding technical means provided in steps S502 to S506 according to the needs of implementation and deployment, which will not be described here.
[0177] Figure 7 A call event processing device provided in an embodiment of the present application is shown in a schematic diagram as Figure 7 The device includes:
[0178] An event acquisition module 702 is configured to acquire a call participation event generated based on a call participation instruction, and identify a service type corresponding to the call participation event.
[0179] The address query module 704 is configured to, if the service type is an external type, query a service address according to a service identifier in the call participation event, and forward the call participation event to a third-party service platform according to the service address.
[0180] The request acquisition module 706 is configured to acquire an event response request of the call participation event returned by the third-party service platform.
[0181] The request forwarding module 708 is configured to forward the event response request to a corresponding event response module for event response processing according to an event response address in the event response request.
[0182] The call event processing apparatus provided in this embodiment first acquires a call participation event generated based on a call participation instruction by running the event acquisition module 702, identifies a service type corresponding to the call participation event, runs the address query module 704, and if the service type is an external type, queries a service address according to a service identifier in the call participation event, and forwards the call participation event to a third-party service platform according to the service address. Then, the request acquisition module 706 is run to acquire an event response request of the call participation event returned by the third-party service platform. Finally, the request forwarding module 708 is run to forward the event response request to a corresponding event response module for event response processing according to an event response address in the event response request, so as to improve the openness and flexibility of the call process.
[0183] The call event processing apparatus provided in this embodiment can implement each process in the foregoing method embodiment and achieve the same functions and effects, which are not repeated here.
[0184] Figure 8 Another call event processing apparatus provided in this embodiment is shown in FIG. 8, which includes: Figure 8
[0185] The instruction submission module 802 is configured to generate a call participation instruction according to call behavior data and submit the call participation instruction.
[0186] The response request acquisition module 804 is configured to acquire an event response request of a call participation event. The call participation event is forwarded according to a service address obtained by querying a service identifier in the call participation event, in a case where a service type corresponding to the call participation event is an external type.
[0187] The event response module 806 is configured to, in response to the event response request, perform event response processing of the call participation event, and display an obtained event response result.
[0188] The call event processing apparatus provided by the embodiment first generates a call participation instruction according to call behavior data and submits the call participation instruction through a running instruction submission module 802, acquires an event response request of a call participation event through a running response request acquisition module 804, and then forwards the call participation event to a service address obtained according to a service identifier in the call participation event in a case where a service type corresponding to the call participation event is an external type, and finally responds to the event response request through an event response module 806, performs event response processing of the call participation event, and displays an obtained event response result, so as to improve openness and flexibility of a call process.
[0189] The call event processing apparatus provided by another embodiment of the present specification can implement each process in the foregoing another method embodiment and achieve the same functions and effects, which are not repeated here.
[0190] Further, one embodiment of the present specification further provides a call event processing device, Figure 9 A structural schematic diagram of a call event processing device provided by one embodiment of the present specification is shown in the figure, which includes a memory 901, a processor 902, a bus 903 and a communication interface 904. The memory 901, the processor 902 and the communication interface 904 communicate through the bus 903, and the communication interface 904 can include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker and the like. Figure 9
[0191] Figure 9 In the memory 901, computer executable instructions executable on the processor 902 are stored, and the computer executable instructions are implemented by the processor 902 when executed to implement the following flow:
[0192] Acquire a call participation event generated based on a call participation instruction, and identify a service type corresponding to the call participation event;
[0193] If the service type is an external type, query a service address according to a service identifier in the call participation event, and forward the call participation event to a third-party service platform according to the service address;
[0194] Acquire an event response request of the call participation event returned by the third-party service platform;
[0195] Forward the event response request to a corresponding event response module for event response processing according to an event response address in the event response request.
[0196] The call event processing device provided by the embodiment starts from a call participation event generated based on a call participation instruction, identifies a service type corresponding to the call participation event, in the case where the service type is an external type, queries a service address according to a service identifier in the call participation event, and forwards the call participation event to a third-party service platform corresponding to the service address, so as to improve the openness and flexibility of the call process.
[0197] The call event processing device provided by the embodiment can implement each process in the method embodiment and achieve the same functions and effects, which are not repeated here.
[0198] Another embodiment of the present specification also provides another call event processing device, Figure 10 The structure diagram of the call event processing device provided by the embodiment of the present specification is shown in the figure, which includes a memory 1001, a processor 1002, a bus 1003 and a communication interface 1004. The memory 1001, the processor 1002 and the communication interface 1004 communicate through the bus 1003, and the communication interface 1004 can include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker and the like. Figure 10
[0199] Figure 10 In the embodiment, the memory 1001 stores computer executable instructions that can run on the processor 1002, and the computer executable instructions are executed by the processor 1002 to implement the following flow:
[0200] According to the call behavior data, a call participation instruction is generated and submitted;
[0201] An event response request of the call participation event is obtained; the call participation event is forwarded according to the service address obtained by querying the service identifier in the call participation event in the case where the service type corresponding to the call participation event is an external type;
[0202] In response to the event response request, the event response processing of the call participation event is performed, and the obtained event response result is displayed.
[0203] The call event processing device provided in the embodiment can improve openness and flexibility of a call process.
[0204] The call event processing device provided in the embodiment can improve openness and flexibility of a call process.
[0205] Further, another embodiment of the present specification further provides a computer readable storage medium for storing computer executable instructions, wherein the computer executable instructions are executed by a processor to implement the following processes:
[0206] The call event processing device provided in the embodiment can improve openness and flexibility of a call process.
[0207] If the service type is an external type, a service address is queried according to a service identifier in the call participation event, and the call participation event is forwarded to a third-party service platform according to the service address.
[0208] The call event processing device provided in the embodiment can improve openness and flexibility of a call process.
[0209] The call event processing device provided in the embodiment can improve openness and flexibility of a call process.
[0210] The call event processing device provided in the embodiment can improve openness and flexibility of a call process.
[0211] The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0212] An embodiment of the present specification provides a computer readable storage medium which can realize the processes in the foregoing method embodiment and achieve the same functions and effects, which are not repeated here.
[0213] Another embodiment of the present specification also provides another computer readable storage medium for storing computer executable instructions, which are executed by a processor to realize the following processes:
[0214] Generate and submit a call participation instruction according to the call behavior data;
[0215] Obtain an event response request of a call participation event; in a case where a service type corresponding to the call participation event is an external type, the call participation event is forwarded according to a service address obtained by querying a service identifier in the call participation event;
[0216] In response to the event response request, perform event response processing on the call participation event, and display the obtained event response result.
[0217] The computer readable storage medium provided in the embodiment generates and submits a call participation instruction according to call behavior data, obtains an event response request of a call participation event; in a case where a service type corresponding to the call participation event is an external type, the call participation event is forwarded according to a service address obtained by querying a service identifier in the call participation event, in response to the event response request, the event response processing of the call participation event is performed, and the obtained event response result is displayed, so as to improve the openness and flexibility of the call process.
[0218] The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0219] Another computer readable storage medium provided in an embodiment of the present specification can realize the processes in the foregoing another method embodiment and achieve the same functions and effects, which are not repeated here.
[0220] Further, another embodiment of the present specification also provides a computer program product, which is executed by a processor to realize the following processes:
[0221] obtain a call participation event generated based on the call participation instruction, and identify a service type corresponding to the call participation event;
[0222] if the service type is an external type, query a service address according to a service identifier in the call participation event, and forward the call participation event to a third-party service platform according to the service address;
[0223] obtain an event response request of the call participation event returned by the third-party service platform;
[0224] forward the event response request to a corresponding event response module according to an event response address in the event response request for event response processing.
[0225] The computer program product provided in the embodiment starts from a call participation event generated based on a call participation instruction, identifies a service type corresponding to the call participation event, in the case where the service type is an external type, queries a service address according to a service identifier in the call participation event, and forwards the call participation event to a third-party service platform corresponding to the service address, after obtaining an event response request of the call participation event returned by the third-party service platform, forwards the event response request to an event response module corresponding to an event response address in the event response request for event response processing, so as to improve openness and flexibility of a call process.
[0226] The computer program product provided in the embodiment of the present specification can implement each process in the foregoing method embodiment and achieve the same functions and effects, which will not be repeated here.
[0227] Another embodiment of the present specification further provides another computer program product, which, when executed by a processor, implements the following flow:
[0228] generate a call participation instruction according to call behavior data and submit the call participation instruction;
[0229] obtain an event response request of the call participation event; obtain an event response request of the call participation event; the call participation event, in the case where a service type corresponding to the call participation event is an external type, is forwarded according to a service address obtained by querying according to a service identifier in the call participation event;
[0230] in response to the event response request, perform event response processing on the call participation event, and display an obtained event response result.
[0231] The computer program product provided in the embodiment generates a call participation instruction according to call behavior data and submits the call participation instruction, obtains an event response request of a call participation event, forwards, in a case where a service type corresponding to the call participation event is an external type, a service address obtained according to a service identifier in the call participation event, performs event response processing of the call participation event in response to the event response request, and displays an obtained event response result, so as to improve openness and flexibility of a call process.
[0232] The other computer program product provided in the embodiment of the present specification can implement the processes in the foregoing another method embodiment and achieve the same functions and effects, which are not repeated here.
[0233] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage, etc.) containing computer usable program code.
[0234] The present application is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams 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 apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device implemented in the flowcharts and / or block diagrams. Figure 1 The function specified in one or more flows or blocks Figure 1 The device that implements the function specified in one or more flows or blocks.
[0235] These computer program instructions can also be stored in a computer-readable memory capable of guiding a computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including instruction devices, which implement the flowcharts and / or block diagrams. Figure 1 The function specified in one or more flows or blocks Figure 1 The device that implements the function specified in one or more flows or blocks.
[0236] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0237] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0238] Memory may include non-persistent storage in computer-readable storage media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable storage media.
[0239] Computer-readable storage media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer-readable 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable storage media does not include transient media, such as modulated data signals and carrier waves.
[0240] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0241] Those skilled in the art will appreciate that embodiments of the present application can be devised for a method, a system, or a computer program product. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) embodying computer-readable program code thereon for use by or in connection with an instruction execution system. For the purposes of this description, a computer-usable or computer readable storage medium can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
[0242] The foregoing is merely illustrative of the principles of the application and various modifications can be made by persons skilled in the art. The present application is not intended to be limited to the embodiments shown, but is to be accorded the full scope that resides in the art thereof. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A call event processing method, characterized by, The method comprises: Obtaining a call participation event generated based on a call participation instruction, and identifying a service type corresponding to the call participation event; If the service type is an external type, querying a service address according to a service identifier in the call participation event, and forwarding the call participation event to a third-party service platform according to the service address; Obtaining an event response request of the call participation event returned by the third-party service platform; According to the event response address in the event response request, the event response request is forwarded to the corresponding event response module for event response processing.
2. The call event processing method of claim 1, wherein, The call participation event is generated in the following way: Obtaining a call participation instruction submitted based on a communication number of a terminal device, determining a call type corresponding to the call participation instruction, and querying a reference call type mapped by the communication number; If the call type matches the reference call type, generating the call participation event based on an event response address, the call type, a service identifier bound to the communication number, and a service type.
3. The call event processing method of claim 2, wherein, The reference call type is obtained by querying a number and call type mapping table; The number and call type mapping table is obtained by constructing based on a call type subscribed by a third-party service platform and a communication number signed by the third-party service platform; The number and call type mapping table is obtained by constructing by a call network element.
4. The call event processing method of claim 3, wherein, The call type subscribed by the third-party service platform is obtained in the following way: Obtaining service identifier and subscription location information sent by the third-party service platform; According to the service identifier, querying the call type subscribed by the third-party service platform, and sending the call type obtained by querying to a call network element at a subscription location corresponding to the subscription location information.
5. The call event processing method of claim 3, wherein, The communication number signed by the third-party service platform is obtained in the following way: Obtaining a communication number sent by the third-party service platform; Determining a geographical area to which the obtained communication number belongs, and forwarding the obtained communication number to a call network element in the geographical area.
6. The call event processing method of claim 1, wherein, According to the event response address in the event response request, the event response request is forwarded to the corresponding event response module, comprising: Reading an event response address corresponding to an address parameter from a request header of the event response request; According to the event response address, a routing request is constructed to obtain a routing request, and the routing request is routed to the event response module corresponding to the event response address through a routing module.
7. The call event handling method of claim 6, wherein, Before the sub-step of reading the event response address corresponding to the address parameter from the request header of the event response request is executed, the method further comprises: According to the service identifier in the event response request, querying service permission information of the third-party service platform, and performing authentication processing on the third-party service platform based on the service permission information; If the authentication is passed, the sub-step of reading the event response address corresponding to the address parameter from the request header of the event response request is executed.
8. A call event processing method, characterized by, The method comprises: Generating a call participation instruction according to call behavior data and submitting; An event response request of a call participation event is acquired; the call participation event is forwarded to a third-party service platform according to a service address obtained by querying a service identifier in the call participation event in a case where a service type corresponding to the call participation event is an external type, and is generated based on the call participation instruction; the event response request includes an event response address, and is generated through the third-party service platform; In response to the event response request, event response processing of the call participation event is performed, and an obtained event response result is displayed.
9. The call event handling method of claim 8, wherein, The call participation instruction is generated according to call behavior data, including: A call response instruction is generated according to a call response operation. Correspondingly, the event response processing of the call participation event is performed, and the obtained event response result is displayed, including: A video stream is obtained by performing video negotiation processing on the call response event, and the video stream is displayed.
10. The call event handling method of claim 9, wherein, After the step of responding to the event response request, performing event response processing of the call participation event, and displaying the obtained event response result, the steps further include: A call control result instruction is generated according to storage location information of the video stream and submitted; The video stream is read from a storage location corresponding to the storage location information based on a subtitle generation request of the video stream, and subtitle data of the video stream is generated, and the subtitle data is scrolled and displayed in the video stream.
11. A call event processing apparatus, characterized by comprising: The device includes: An event acquisition module is configured to acquire a call participation event generated based on a call participation instruction, and identify a service type corresponding to the call participation event; An address query module is configured to query a service address according to a service identifier in the call participation event if the service type is an external type, and forward the call participation event to a third-party service platform according to the service address; A request acquisition module is configured to acquire an event response request of the call participation event returned by the third-party service platform; A request forwarding module is configured to forward the event response request to a corresponding event response module for event response processing according to an event response address in the event response request.
12. A call event processing apparatus characterized by comprising: The device includes: An instruction submission module is configured to generate and submit a call participation instruction according to call behavior data; An event response request of a call participation event is acquired; the call participation event is forwarded to a third-party service platform according to a service address obtained by querying a service identifier in the call participation event in a case where a service type corresponding to the call participation event is an external type, and is generated based on the call participation instruction; the event response request includes an event response address, and is generated through the third-party service platform; An event response module is configured to perform event response processing of the call participation event in response to the event response request, and display an obtained event response result.
13. A call event handling device, characterized by The device includes a memory and a processor, and the memory stores computer executable instructions, which, when executed on the processor, can implement the steps of the method of any one of claims 1-7.
14. A call event handling device, characterized by The device comprises a memory and a processor, the memory having computer executable instructions stored thereon, the computer executable instructions, when executed by the processor, being capable of implementing the steps of the method of any one of claims 8-10.
15. A computer-readable storage medium having stored computer-executable instructions, the computer-executable instructions including the following steps: The computer executable instructions, when executed by the processor, are capable of implementing the steps of the method of any one of claims 1-7.
16. A computer-readable storage medium having stored computer-executable instructions, the computer-executable instructions including the following steps: The computer executable instructions, when executed by the processor, are capable of implementing the steps of the method of any one of claims 8-10.
17. A computer program product, characterised in that, The computer program product comprises a call event processing program, the call event processing program, when executed by the processor, being capable of implementing the steps of the method of any one of claims 1-7.
18. A computer program product, characterised in that, The computer program product comprises a call event processing program, the call event processing program, when executed by the processor, being capable of implementing the steps of the method of any one of claims 8-10.
Citation Information
Patent Citations
Video call control method, communication equipment and storage medium
CN117412254A
Media stream distribution method and device, electronic equipment, medium and product
CN118400771A