Information processing method, system and device, communication equipment, readable storage medium and program product
By analyzing the establishment information of the data channel and establishing the second data channel, the problem that the first data channel associated with the applet does not correspond to the preset channel type is solved, and the effective transmission of negotiation feedback information between terminals is realized, ensuring that The terminal on the opposite side of the call can receive the negotiation feedback information.
Patent Information
- Application Number
- CN202411138500.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2044-08-19
AI Technical Summary
During the call, it is difficult for the terminal's mini-program to transmit data through the established data channel, resulting in the other terminal being unable to sense the data to be transmitted and unable to effectively transmit negotiation feedback information.
By analyzing the establishment information of the data channel, it is determined whether it corresponds to the preset channel type. If it does not correspond, a second data channel with the terminal or the service application server on the opposite side of the call is established, and a negotiation feedback information is sent through the channel.
Ensure that when the first data channel associated with the applet does not correspond to the preset channel type, the negotiation feedback information can be transmitted to the terminal opposite the call or the service application server through the second data channel, avoiding the terminal being unable to sense the transmission. In the case where data is difficult to transmit through the first data channel.
Smart Images

Figure CN119182832A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information processing method, system, apparatus, communication equipment, computer-readable storage medium and computer program product. Background Art
[0002] The 3rd Generation Partnership Project (3GPP) standard introduced the establishment of an Internet Protocol Multimedia Subsystem (IMS) data channel (DC) during a call, thereby transmitting additional business data during the call.
[0003] During a call, application functions are usually provided in the form of mini-programs, and mini-programs can establish their corresponding data channels to send and receive business data. However, in some scenarios, when the mini-program on one terminal of the call has difficulty transmitting data through the established data channel, the other terminal cannot perceive it. Summary of the invention
[0004] Based on this, it is necessary to provide an information processing method, system, apparatus, communication equipment, computer-readable storage medium and computer program product to address the above technical problems.
[0005] In a first aspect, the present application provides an information processing method, comprising:
[0006] Receiving establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by a terminal on the other side of the call or a service application server;
[0007] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0008] If the first data channel does not correspond to the preset channel type, a second data channel is established with the call opposite terminal or the service application server; the second data channel is associated with the mini program and corresponds to the preset channel type;
[0009] When the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel, obtaining negotiation feedback information according to the data to be transmitted;
[0010] The negotiation feedback information is sent to the call opposite terminal or the service application server through the second data channel.
[0011] In one embodiment, parsing the establishment information, determining the mini-program associated with the first data channel, and judging whether the first data channel corresponds to a preset channel type include: parsing the establishment information to obtain the mini-program identifier and channel identifier corresponding to the first data channel; determining the mini-program associated with the first data channel based on the mini-program identifier; judging whether the channel identifier satisfies a preset identification rule; if so, determining that the first data channel corresponds to the preset channel type; if not, determining that the first data channel does not correspond to the preset channel type.
[0012] In one of the embodiments, the method further includes: if the data to be transmitted includes rejection information or key exchange information of the applet, determining that the data to be transmitted does not meet the data transmission condition.
[0013] In one of the embodiments, the method further includes: if a rejection operation on the mini-program is detected, or if it is determined that the operating environment version of the mini-program is lower than a preset version, then obtaining the rejection information of the mini-program.
[0014] In one of the embodiments, after parsing the establishment information, determining the mini-program associated with the first data channel, and determining whether the first data channel corresponds to the preset channel type, it also includes: if the first data channel corresponds to the preset channel type, then when receiving the negotiation feedback information sent by the call counterpart terminal or the business application server through the first data channel, parsing the negotiation feedback information to obtain a parsing result.
[0015] In one of the embodiments, the method further includes: when the parsing result includes rejection information of the mini-program, executing a rejection feedback action of the mini-program.
[0016] In a second aspect, the present application provides an information processing method, comprising:
[0017] Receiving establishment information of a first data channel; the establishment information is used to indicate establishment of the first data channel initiated by the first terminal;
[0018] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0019] In the case where the first data channel corresponds to the preset channel type, establishing a second data channel with the second terminal; the second data channel is associated with the applet and corresponds to the preset channel type;
[0020] In a case of receiving the negotiation feedback information sent by the first terminal through the first data channel, the negotiation feedback information is sent to the second terminal through the second data channel.
[0021] In a third aspect, the present application further provides an information processing system, including: a first terminal, a second terminal;
[0022] The first terminal is used to receive first establishment information of a first data channel; the first establishment information is used to indicate the establishment of the first data channel initiated by the second terminal or the business application server; the first establishment information is parsed to determine the applet associated with the first data channel, and to determine whether the first data channel corresponds to a preset channel type; if the first data channel does not correspond to the preset channel type, a second data channel with the second terminal is established; the second data channel is associated with the applet and corresponds to the preset channel type; when the data to be transmitted of the applet does not meet the data transmission conditions of the first data channel, negotiation feedback information is obtained according to the data to be transmitted; and the negotiation feedback information is sent to the second terminal through the second data channel;
[0023] The second terminal is used to receive second establishment information of the second data channel; the second establishment information is used to indicate the establishment of the second data channel initiated by the first terminal; the second establishment information is parsed to determine the applet associated with the second data channel, and to determine whether the second data channel corresponds to the preset channel type; when the second data channel corresponds to the preset channel type and the negotiation feedback information sent by the first terminal through the second data channel is received, the negotiation feedback information is parsed to obtain a parsing result.
[0024] In a fourth aspect, the present application further provides an information processing system, comprising: a first terminal, a second terminal, and a business application server;
[0025] The first terminal is used to receive first establishment information of a first data channel; the first establishment information is used to indicate the establishment of the first data channel initiated by the second terminal or the business application server; the first establishment information is parsed to determine the applet associated with the first data channel, and to determine whether the first data channel corresponds to a preset channel type; if the first data channel does not correspond to the preset channel type, a second data channel with the business application server is established; the second data channel is associated with the applet and corresponds to the preset channel type; when the data to be transmitted of the applet does not meet the data transmission conditions of the first data channel, negotiation feedback information is obtained according to the data to be transmitted; and the negotiation feedback information is sent to the business application server through the second data channel;
[0026] The business application server is used to receive second establishment information of the second data channel; the second establishment information is used to indicate the establishment of the second data channel initiated by the first terminal; parse the second establishment information, determine the applet associated with the second data channel, and judge whether the second data channel corresponds to the preset channel type; if the second data channel corresponds to the preset channel type, establish a third data channel with the second terminal; the third data channel is associated with the applet and corresponds to the preset channel type; and if the negotiation feedback information sent by the first terminal through the second data channel is received, send the negotiation feedback information to the second terminal through the third data channel;
[0027] The second terminal is used to receive third establishment information of the third data channel; the third establishment information is used to indicate the establishment of the third data channel initiated by the business application server; parse the third establishment information, determine the applet associated with the third data channel, and judge whether the third data channel corresponds to the preset channel type; when the third data channel corresponds to the preset channel type and the negotiation feedback information sent by the business application server through the third data channel is received, parse the negotiation feedback information to obtain a parsing result.
[0028] In a fifth aspect, the present application further provides an information processing device, including:
[0029] A receiving module, used to receive establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by a terminal on the other side of the call or a service application server;
[0030] A parsing module, configured to parse the establishment information, determine the applet associated with the first data channel, and determine whether the first data channel corresponds to a preset channel type;
[0031] an establishing module, configured to establish a second data channel with the call opposite terminal or the service application server if the first data channel does not correspond to the preset channel type; the second data channel is associated with the mini program and corresponds to the preset channel type;
[0032] an acquisition module, configured to obtain negotiation feedback information according to the data to be transmitted when the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel;
[0033] The sending module is used to send the negotiation feedback information to the call opposite-side terminal or the service application server through the second data channel.
[0034] In a sixth aspect, the present application further provides an information processing device, including:
[0035] A receiving module, configured to receive establishment information of a first data channel; the establishment information is used to indicate establishment of the first data channel initiated by the first terminal;
[0036] A parsing module, configured to parse the establishment information, determine the applet associated with the first data channel, and determine whether the first data channel corresponds to a preset channel type;
[0037] An establishing module, configured to establish a second data channel with a second terminal when the first data channel corresponds to the preset channel type; the second data channel is associated with the applet and corresponds to the preset channel type;
[0038] The sending module is used to send the negotiation feedback information to the second terminal through the second data channel when receiving the negotiation feedback information sent by the first terminal through the first data channel.
[0039] In a seventh aspect, the present application further provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0040] Receiving establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by a terminal on the other side of the call or a service application server;
[0041] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0042] If the first data channel does not correspond to the preset channel type, a second data channel is established with the call opposite terminal or the service application server; the second data channel is associated with the mini program and corresponds to the preset channel type;
[0043] When the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel, obtaining negotiation feedback information according to the data to be transmitted;
[0044] The negotiation feedback information is sent to the call opposite terminal or the service application server through the second data channel.
[0045] In an eighth aspect, the present application further provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0046] Receiving establishment information of a first data channel; the establishment information is used to indicate establishment of the first data channel initiated by the first terminal;
[0047] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0048] In the case where the first data channel corresponds to the preset channel type, establishing a second data channel with the second terminal; the second data channel is associated with the applet and corresponds to the preset channel type;
[0049] In a case of receiving the negotiation feedback information sent by the first terminal through the first data channel, the negotiation feedback information is sent to the second terminal through the second data channel.
[0050] In a ninth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0051] Receiving establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by a first call opposite-side terminal or a service application server;
[0052] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0053] If the first data channel does not correspond to the preset channel type, a second data channel is established with the first call counterpart terminal or the service application server; the second data channel is associated with the mini program and corresponds to the preset channel type;
[0054] When the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel, obtaining negotiation feedback information according to the data to be transmitted;
[0055] The negotiation feedback information is sent to the first terminal on the other side of the call or the service application server through the second data channel.
[0056] In a tenth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0057] Receiving establishment information of a first data channel; the establishment information is used to indicate establishment of the first data channel initiated by the first terminal;
[0058] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0059] In the case where the first data channel corresponds to the preset channel type, establishing a second data channel with the second terminal; the second data channel is associated with the applet and corresponds to the preset channel type;
[0060] In a case of receiving the negotiation feedback information sent by the first terminal through the first data channel, the negotiation feedback information is sent to the second terminal through the second data channel.
[0061] In an eleventh aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0062] Receiving establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by a first call opposite-side terminal or a service application server;
[0063] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0064] If the first data channel does not correspond to the preset channel type, a second data channel is established with the first call counterpart terminal or the service application server; the second data channel is associated with the mini program and corresponds to the preset channel type;
[0065] When the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel, obtaining negotiation feedback information according to the data to be transmitted;
[0066] The negotiation feedback information is sent to the first terminal on the other side of the call or the service application server through the second data channel.
[0067] In a twelfth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0068] Receiving establishment information of a first data channel; the establishment information is used to indicate establishment of the first data channel initiated by the first terminal;
[0069] parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type;
[0070] In the case where the first data channel corresponds to the preset channel type, establishing a second data channel with the second terminal; the second data channel is associated with the applet and corresponds to the preset channel type;
[0071] In a case of receiving the negotiation feedback information sent by the first terminal through the first data channel, the negotiation feedback information is sent to the second terminal through the second data channel.
[0072] The above-mentioned information processing method, system, device, communication equipment, computer-readable storage medium and computer program product first receive the establishment information of the first data channel, which is used to indicate the establishment of the first data channel initiated by the terminal on the other side of the call or the business application server, and then parse the establishment information, determine the small program associated with the first data channel, and judge whether the first data channel corresponds to the preset channel type. If the first data channel does not correspond to the preset channel type, establish a second data channel with the terminal on the other side of the call or the business application server, and the second data channel is associated with the small program and corresponds to the preset channel type. Then, if the data to be transmitted of the small program does not meet the data transmission conditions of the first data channel, obtain negotiation feedback information based on the data to be transmitted, and send the negotiation feedback information to the terminal on the other side of the call or the business application server through the second data channel. This solution can add a second data channel associated with the mini-program when the first data channel associated with the mini-program does not correspond to the preset channel type. Therefore, when the data to be transmitted of the mini-program cannot be transmitted through the first data channel, the negotiation feedback information obtained from the data to be transmitted can be transmitted to the terminal on the other side of the call through the established second data channel, or transmitted to the business application server through the second data channel and then transmitted to the terminal on the other side of the call by the business application server. Based on this, it can effectively ensure that the terminal on the other side of the call can receive the negotiation feedback information, avoiding the situation where the terminal on the other side of the call cannot perceive that the data to be transmitted is difficult to transmit through the first data channel. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0074] Figure 1 is a schematic diagram of the structure of an information processing system in one embodiment;
[0075] Figure 2 A schematic diagram of the structure of an information processing system in another embodiment;
[0076] Figure 3 is a flowchart of an information processing method in an embodiment;
[0077] Figure 4 A schematic diagram of a process for parsing and establishing information in one embodiment;
[0078] Figure 5 A result schematic diagram of a data channel negotiation system in one embodiment;
[0079] Figure 6 is a flowchart of an information processing method in another embodiment;
[0080] Figure 7 is a structural block diagram of an information processing device in one embodiment;
[0081] Figure 8 is a structural block diagram of an information processing device in another embodiment;
[0082] Fig. 9 is an internal structure diagram of a communication device in one embodiment;
[0083] Fig.10 FIG. 4 is a diagram showing the internal structure of a communication device in another embodiment. DETAILED DESCRIPTION
[0084] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0085] In an exemplary embodiment, Figure 1 As shown, an information processing system is provided, which may include: a first terminal and a second terminal.
[0086] Exemplarily, the first terminal and the second terminal may be communication devices capable of conducting enhanced calls using the fifth generation mobile communication technology (5G). In this embodiment, the first terminal and the second terminal may be terminals on both sides of an enhanced call, that is, the first terminal and the second terminal are terminals on opposite sides of the call. Among them, the first terminal and the second terminal may be, but are not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, projection devices, and the like. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, and the like. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, and the like.
[0087] like Figure 1 As shown, the first terminal and the second terminal can carry additional services through the mini-program during the call to provide richer application functions. Among them, the running environment of the mini-program on the terminal can be bound to the call status, and the download, start, run, and stop of the mini-program can be controlled.
[0088] For example, when the second terminal runs mini program M during a call, the mini program M on the second terminal can initiate the establishment of its associated application data channel (Application Data Channel, ADC) to transmit business data, and the mini program running environment of the first terminal will receive the establishment information of the application data channel associated with the mini program M. Figure 1 As shown, the second terminal may directly establish an application data channel with the first terminal, or may first establish an application data channel with the service application server, and then the service application server establishes an application data channel with the first terminal.
[0089] The business application server may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0090] The first terminal can be used to receive first establishment information of a first data channel; the first establishment information is used to indicate the establishment of the first data channel initiated by the second terminal or the business application server; the first establishment information is parsed to determine the applet associated with the first data channel, and to determine whether the first data channel corresponds to a preset channel type; if the first data channel does not correspond to the preset channel type, a second data channel with the second terminal is established; the second data channel is associated with the applet and corresponds to the preset channel type; when the data to be transmitted of the applet does not meet the data transmission conditions of the first data channel, negotiation feedback information is obtained based on the data to be transmitted; and the negotiation feedback information is sent to the second terminal through the second data channel.
[0091] Exemplarily, the first data channel may be a data channel between the second terminal and the first terminal established through the applet, or may be a data channel between the second terminal and the business application server established in the name of the applet after the second terminal establishes a data channel with the business application server through the applet. When the second terminal or the business application server initiates the establishment of the first data channel, the first terminal may receive first establishment information of the first data channel.
[0092] Exemplarily, after receiving the first establishment information, the first terminal may parse the first establishment information at the operating environment level, determine the applet associated with the first data channel, and determine whether it corresponds to the preset channel type. Optionally, the applet associated with the first data channel may be the applet that initiates the establishment of the data channel, or the applet that is initiated by the second terminal or the business application server to establish the data channel. Figure 1 For example, the application data channel in the example, the associated applet is applet M. Optionally, the channel type corresponding to the data channel may include at least an application data channel and an operating environment negotiation data channel. Among them, the application data channel can be used to transmit the business data of the applet, and the operating environment negotiation data channel can be used to transmit data related to the applet that does not meet the data transmission conditions of the application data channel. Exemplarily, the preset channel type in this embodiment may include an operating environment negotiation data channel.
[0093] Among them, in some exemplary embodiments, the first terminal parses the first establishment information, determines the mini program associated with the first data channel, and determines whether the first data channel corresponds to a preset channel type, which may include: parsing the first establishment information to obtain the mini program identifier and channel identifier corresponding to the first data channel; determining the mini program associated with the first data channel based on the mini program identifier; determining whether the channel identifier satisfies the preset identification rule; if so, determining that the first data channel corresponds to the preset channel type; if not, determining that the first data channel does not correspond to the preset channel type.
[0094] Specifically, the establishment information of the data channel may include the channel identifier of the data channel and the mini-program identifier of its associated mini-program. Among them, the mini-program identifier can be used to identify the mini-program associated with the data channel, and the channel identifier can be used to distinguish different data channels, and to identify the channel type corresponding to the data channel. Exemplarily, according to the different channel types corresponding to the data channel, different identification rules can be set for the corresponding channel identifiers, so that when creating a data channel corresponding to a certain type, the channel identifier of the channel can be set according to the corresponding identification rules.
[0095] Based on this, the first terminal can obtain the mini-program identifier and channel identifier corresponding to the first data channel by parsing the first establishment information of the first data channel, and then determine the mini-program associated with the first data channel based on the mini-program identifier, and determine whether the first data channel corresponds to the preset channel type by judging whether the channel identifier satisfies the preset identification rule corresponding to the preset channel type.
[0096] In other implementations, the establishment information of the data channel may also include information such as a type identifier, and different type identifiers may correspond to different channel types. Thus, the first terminal may obtain the type identifier corresponding to the first data channel by parsing the first establishment information, and then determine whether the first data channel corresponds to the preset channel type according to the channel type corresponding to the type identifier.
[0097] Among them, Figure 1 As shown, taking the first data channel being associated with mini-program M, and the preset channel type being the operating environment negotiation data channel as an example, the first terminal can determine that the data channel is an application data channel initiated by the mini-program of the terminal on the other side of the call (i.e., the second terminal) for transmitting business data, that is, it is determined that the first data channel does not correspond to the preset channel type.
[0098] Exemplarily, when it is determined that the first data channel does not correspond to the preset channel type, the operating environment of the first terminal may initiate the establishment of a second data channel with the second terminal. The second data channel may be associated with the applet M and correspond to the channel type of the operating environment negotiated data channel. Optionally, the second establishment information of the second data channel may include the applet identifier of the applet M and the channel identifier corresponding to the channel type of the operating environment negotiated data channel.
[0099] Exemplarily, when the data to be transmitted of the applet of the first terminal does not meet the data transmission conditions of the first data channel, the data to be transmitted cannot be transmitted through the first data channel. Optionally, the data to be transmitted that does not meet the data transmission conditions of the first data channel may include rejection information or key exchange information of the applet.
[0100] Specifically, after determining the applet associated with the first data channel, the operating environment of the first terminal can also try to start the applet. Among them, when the first terminal successfully starts the applet, the applet of the first terminal can send and receive business data with the applet of the second terminal through the first data channel. However, when the data to be transmitted of the applet includes key exchange information, the data to be transmitted does not meet the data transmission conditions of the first data channel. Exemplarily, the key exchange information may include information such as the public key that needs to be transmitted to the second terminal.
[0101] Among them, in the case where the first terminal cannot start the applet, the rejection information of the applet can be obtained. Specifically, before starting the applet, the operating environment of the first terminal can first prompt the user to determine whether to start the applet. When the user's refusal to start operation is detected, it can be determined that the first terminal cannot start the applet, so that the rejection information of the applet can be obtained. In some cases, before starting the applet, the user can also be prompted to authorize, wherein when the user's refusal to authorize operation is detected, it can also be determined that the first terminal cannot start the applet, so that the rejection information of the applet can be obtained. In other cases, if it is determined that the operating environment version of the first terminal is lower than the preset version (for example, the lowest operating environment version that enables the normal operation of the applet), it can also be determined that the first terminal cannot start the applet, so that the rejection information of the applet can be obtained.
[0102] Exemplarily, when the data to be transmitted of the applet of the first terminal does not meet the data transmission conditions of the first data channel, the operating environment of the first terminal can package the data to be transmitted according to the message format of the preset channel type (i.e., the operating environment negotiation data channel) corresponding to the second data channel to obtain negotiation feedback information. Then, the negotiation feedback information can be sent to the second terminal through the second data channel.
[0103] The second terminal can be used to receive second establishment information of a second data channel; the second establishment information is used to indicate the establishment of a second data channel initiated by the first terminal; the second establishment information is parsed to determine the applet associated with the second data channel, and to determine whether the second data channel corresponds to a preset channel type; when the second data channel corresponds to the preset channel type and negotiation feedback information sent by the first terminal through the second data channel is received, the negotiation feedback information is parsed to obtain a parsing result.
[0104] Exemplarily, after the first terminal establishes the second data channel, the second terminal may receive second establishment information of the second data channel. Then, the second terminal may parse the second establishment information at the operating environment level, determine the applet associated with the second data channel, and determine whether it corresponds to a preset channel type. Exemplarily, the preset channel type may be an operating environment negotiation data channel.
[0105] Specifically, Figure 1 For example, in this embodiment, after the second terminal parses the second establishment information, it can be determined that the mini program associated with the second data channel is mini program M, and it can be determined that it corresponds to the preset channel type (ie, the operating environment negotiation data channel).
[0106] In which, when it is determined that the second data channel corresponds to the preset channel type and negotiation feedback information sent by the first terminal through the second data channel is received, the second terminal can parse the negotiation feedback information at the operating environment level to obtain a parsing result.
[0107] Exemplarily, if the negotiation feedback information is obtained by the first terminal according to the rejection information of the applet, the analysis result obtained by the second terminal after parsing the negotiation feedback information may include the rejection information. Wherein, in the case where the analysis result includes the rejection information of the applet, the second terminal may execute the rejection feedback action of the applet to prompt the first terminal on the other side of the call that the applet cannot be started. Exemplarily, the rejection feedback action may include but is not limited to one or more actions such as displaying text or image information, playing a prompt tone, and vibrating.
[0108] Exemplarily, if the negotiation feedback information is obtained by the first terminal according to the key exchange information of the applet, the parsing result obtained by the second terminal after parsing the negotiation feedback information may include the key exchange information. Wherein, in the case where the parsing result includes the key exchange information of the applet, the second terminal may perform corresponding encryption, decryption, or subsequent key transmission with the first terminal according to the key exchange information.
[0109] In this embodiment, when the first terminal determines that the first data channel does not correspond to the preset channel type, the second data channel is established with the second terminal, and when the data to be transmitted of the applet cannot be transmitted through the first data channel, the negotiation feedback information is obtained based on the data to be transmitted, and the negotiation feedback information is then transmitted through the second data channel, which can effectively ensure that the second terminal can receive the negotiation feedback information. When the second terminal determines that the second data channel corresponds to the preset channel type, it parses the received negotiation feedback information to obtain the parsing result, which can realize the perception of the first terminal, such as the inability to start the applet, or the applet needs to transmit key exchange information, and can perform corresponding subsequent processing according to the parsing result.
[0110] Based on the same inventive concept, the present application embodiment also provides another information processing system. Figure 2 As shown, the system may include: a first terminal, a second terminal, and a business application server.
[0111] Specifically, similar to the above-mentioned embodiment, the first terminal and the second terminal in this embodiment may be terminals on both sides of an enhanced call, that is, the first terminal and the second terminal are terminals on the opposite sides of the call. Figure 2 As shown, the second terminal can run a small program during a call, and the small program M can initiate the establishment of its associated application data channel (Application Data Channel, ADC) to transmit business data, and the small program running environment of the first terminal will receive the establishment information of the application data channel associated with the small program M. Figure 2 As shown, the second terminal may directly establish an application data channel with the first terminal, or may first establish an application data channel with the service application server, and then the service application server establishes an application data channel with the first terminal.
[0112] The first terminal can be used to receive first establishment information of a first data channel; the first establishment information is used to indicate the establishment of a first data channel initiated by a second terminal or a business application server; the first establishment information is parsed to determine the applet associated with the first data channel, and to determine whether the first data channel corresponds to a preset channel type; if the first data channel does not correspond to the preset channel type, a second data channel with the business application server is established; the second data channel is associated with the applet and corresponds to the preset channel type; when the data to be transmitted of the applet does not meet the data transmission conditions of the first data channel, negotiation feedback information is obtained based on the data to be transmitted; and the negotiation feedback information is sent to the business application server through the second data channel.
[0113] Exemplarily, after receiving the first establishment information, the first terminal may parse the first establishment information at the operating environment level, determine the applet associated with the first data channel, and determine whether it corresponds to a preset channel type. Optionally, the preset channel type in this embodiment may include an operating environment negotiation data channel. Figure 2 For example, after parsing the first establishment information, the first terminal in this embodiment can determine that the applet associated with the first data channel is applet M, and its corresponding channel type is an application data channel, that is, it does not correspond to the preset channel type.
[0114] Exemplarily, when it is determined that the first data channel does not correspond to the preset channel type, the operating environment of the first terminal may initiate the establishment of a second data channel with the business application server. The second data channel may be associated with the applet M and correspond to the channel type of the operating environment negotiated data channel. Optionally, the second establishment information of the second data channel may include the applet identifier of the applet M and the channel identifier corresponding to the channel type of the operating environment negotiated data channel.
[0115] Exemplarily, when the data to be transmitted of the applet of the first terminal does not meet the data transmission conditions of the first data channel, the operating environment of the first terminal can package the data to be transmitted according to the message format of the preset channel type (i.e., the operating environment negotiation data channel) corresponding to the second data channel to obtain negotiation feedback information. Then, the negotiation feedback information can be sent to the business application server through the second data channel. Optionally, the data to be transmitted that does not meet the data transmission conditions of the first data channel may include the rejection information or key exchange information of the applet.
[0116] The business application server can be used to receive second establishment information of a second data channel; the second establishment information is used to indicate the establishment of a second data channel initiated by a first terminal; parse the second establishment information, determine the applet associated with the second data channel, and judge whether the second data channel corresponds to a preset channel type; when the second data channel corresponds to the preset channel type, establish a third data channel with the second terminal; the third data channel is associated with the applet and corresponds to the preset channel type; when receiving negotiation feedback information sent by the first terminal through the second data channel, send the negotiation feedback information to the second terminal through the third data channel.
[0117] Exemplarily, after the first terminal establishes the second data channel, the business application server may receive second establishment information of the second data channel. Then, the business application server may parse the second establishment information, determine the applet associated with the second data channel, and determine whether it corresponds to a preset channel type. Exemplarily, the preset channel type may be an operating environment negotiation data channel.
[0118] Among them, Figure 2 For example, after parsing the second establishment information, the business application server in this embodiment can determine that the mini program associated with the second data channel is mini program M, and its corresponding channel type is the operating environment negotiation data channel, which corresponds to the preset channel type.
[0119] Exemplarily, when it is determined that the second data channel corresponds to a preset channel type, the business application server may initiate the establishment of a third data channel with the second terminal. The third data channel may be associated with the applet M and correspond to the channel type of the operating environment negotiation data channel. Optionally, the third establishment information of the third data channel may include the applet identifier of the applet M and the channel identifier corresponding to the channel type of the operating environment negotiation data channel.
[0120] Exemplarily, when the service application server receives the negotiation feedback information sent by the first terminal through the second data channel, the negotiation feedback information may be sent to the second terminal through the third data channel.
[0121] The second terminal can be used to receive third establishment information of a third data channel; the third establishment information is used to indicate the establishment of a third data channel initiated by a business application server; the third establishment information is parsed to determine the applet associated with the third data channel, and to determine whether the third data channel corresponds to a preset channel type; when the third data channel corresponds to the preset channel type and negotiation feedback information sent by the business application server through the third data channel is received, the negotiation feedback information is parsed to obtain a parsing result.
[0122] Exemplarily, after the business application server establishes the third data channel, the second terminal may receive the third establishment information of the third data channel. Then, the second terminal may parse the third establishment information at the operating environment level, determine the applet associated with the third data channel, and determine whether it corresponds to a preset channel type. Exemplarily, the preset channel type may be an operating environment negotiation data channel.
[0123] Among them, Figure 2 For example, after parsing the third establishment information, the second terminal in this embodiment can determine that the mini program associated with the third data channel is mini program M, and its corresponding channel type is the operating environment negotiation data channel, which corresponds to the preset channel type.
[0124] Wherein, when it is determined that the third data channel corresponds to the preset channel type and the negotiation feedback information sent by the service application server through the third data channel is received, the second terminal can parse the negotiation feedback information at the operating environment level to obtain a parsing result. It can be understood that, similar to the description of the aforementioned embodiment, after obtaining the parsing result, the second terminal can also perform corresponding subsequent actions according to the parsing result.
[0125] In this embodiment, when the first terminal determines that the first data channel does not correspond to the preset channel type, it establishes a second data channel with the business application server, and when the data to be transmitted of the applet cannot be transmitted through the first data channel, it obtains negotiation feedback information based on the data to be transmitted, and then transmits the negotiation feedback information through the second data channel, so that the business application server can receive the negotiation feedback information. When the business application server determines that the second data channel corresponds to the preset channel type, it establishes a third data channel with the second terminal, and sends the negotiation feedback information received through the second data channel through the third data channel, which can effectively ensure that the second terminal can receive the negotiation feedback information. When the second terminal determines that the third data channel corresponds to the preset channel type, it parses the received negotiation feedback information and obtains the parsing result, which can realize the perception of the first terminal, such as the inability to start the applet, or the applet needs to transmit key exchange information, and can perform corresponding subsequent processing according to the parsing result.
[0126] Based on the same inventive concept, the present application also provides an information processing method, which can be applied to Figure 1 or Figure 2 In the application environment shown. Among them, the implementation scheme of the information processing method provided in the embodiment of the present application is similar to the implementation scheme recorded in one or more embodiments of the above-mentioned information processing system, so the specific limitations in the one or more information processing method embodiments provided below can refer to the limitations on the information processing system above, and will not be repeated here.
[0127] In an exemplary embodiment, Figure 3 As shown, an information processing method is provided, which is applied to Figure 1 or Figure 2 Taking the first terminal or the second terminal shown as an example (hereinafter referred to as “terminal”) for illustration, the following steps may be included:
[0128] Step S301: receiving establishment information of a first data channel.
[0129] Exemplarily, the first data channel may be a data channel between the terminal on the other side of the call and the terminal through a small program, or may be a data channel between the terminal and the terminal established by the business application server in the name of the small program after the terminal on the other side of the call establishes a data channel with the business application server through the small program. The terminal may receive the corresponding establishment information after the first data channel is established, and the establishment information may be used to indicate the establishment of the first data channel.
[0130] It is understandable that when the method of this embodiment is applied to the first terminal, the aforementioned terminal may correspond to the first terminal, and the terminal on the other side of the call may correspond to the second terminal. When the method of this embodiment is applied to the second terminal, the aforementioned terminal may correspond to the second terminal, and the terminal on the other side of the call may correspond to the first terminal.
[0131] Step S302, parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type.
[0132] Exemplarily, the terminal may parse the establishment information at the operating environment level to determine the applet associated with the first data channel and determine whether it corresponds to a preset channel type. Optionally, the terminal may parse the establishment information to obtain information such as the applet identifier, channel identifier, or type identifier corresponding to the first data channel, so that the applet associated with the first data channel can be determined based on the information, and whether the channel type corresponding to the first data channel is a preset channel type.
[0133] Optionally, the mini-program associated with the first data channel may be the mini-program that initiates the establishment of the data channel, or may be the mini-program on whose behalf the establishment of the data channel is initiated by the call opposite-side terminal or the service application server.
[0134] Optionally, the channel type corresponding to the data channel may include at least an application data channel and an operating environment negotiation data channel. The application data channel may be used to transmit the business data of the applet, and the operating environment negotiation data channel may be used to transmit data related to the applet that does not meet the data transmission conditions of the application data channel. Exemplarily, the preset channel type in this embodiment may include an operating environment negotiation data channel.
[0135] Step S303: If the first data channel does not correspond to the preset channel type, a second data channel is established with the call opposite terminal or the service application server.
[0136] For example, when it is determined that the first data channel does not correspond to the preset channel type, the terminal can establish a second data channel with the terminal on the other side of the call or the service application server at the operating environment level. The second data channel can be established in the name of the previously determined applet and corresponds to the preset channel type.
[0137] Step S304: when the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel, negotiation feedback information is obtained according to the data to be transmitted.
[0138] Exemplarily, when the data to be transmitted of the applet is generated when the terminal cannot start the applet, or corresponds to special information such as key exchange information that needs to be transmitted after the applet is started, it can be determined that the data to be transmitted does not meet the data transmission conditions of the first data channel. In this case, the terminal can obtain negotiation feedback information based on the data to be transmitted.
[0139] Optionally, the terminal may package the data to be transmitted according to the message format of the preset channel type at the operating environment level to obtain negotiation feedback information.
[0140] Step S305: Send negotiation feedback information to the other-side terminal or service application server via the second data channel.
[0141] Exemplarily, after obtaining the negotiation feedback information, the terminal may send the negotiation feedback information to the terminal on the other side of the call or the service application server through the second data channel established previously.
[0142] Among them, it can be understood that when the second data channel is established between the terminal and the terminal on the other side of the call, the negotiation feedback information can be directly sent to the terminal on the other side of the call through the second data channel; and when the second data channel is established between the terminal and the business application server, the business application server can separately establish a third data channel with the terminal on the other side of the call, so that the negotiation feedback information can be first sent to the business application server through the second data channel, and then sent to the terminal on the other side of the call by the business application server through the third data channel. Optionally, the third data channel established by the business application server can be a data channel associated with the applet and corresponding to the preset channel type.
[0143] In this embodiment, when the first data channel associated with the mini-program does not correspond to the preset channel type, a second data channel associated with the mini-program can be added. Thus, when the data to be transmitted of the mini-program cannot be transmitted through the first data channel, the negotiation feedback information obtained from the data to be transmitted can be transmitted to the terminal on the other side of the call through the established second data channel, or transmitted to the business application server through the second data channel and then transmitted to the terminal on the other side of the call by the business application server. Based on this, it can be effectively guaranteed that the terminal on the other side of the call can receive the negotiation feedback information, avoiding the situation where the terminal on the other side of the call cannot perceive that the data to be transmitted is difficult to transmit through the first data channel.
[0144] In an exemplary embodiment, Figure 4 As shown, parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type may include:
[0145] Step S401, parse the establishment information to obtain the mini program identifier and channel identifier corresponding to the first data channel.
[0146] Exemplarily, the establishment information of the data channel may include a channel identifier of the data channel and a mini-program identifier of its associated mini-program. In this step, the terminal may obtain the mini-program identifier and the channel identifier corresponding to the first data channel by parsing the establishment information of the first data channel.
[0147] Step S402: Determine the mini program associated with the first data channel according to the mini program identifier.
[0148] Step S403, determining whether the channel identification satisfies a preset identification rule.
[0149] Exemplarily, according to different channel types corresponding to the data channel, different identification rules can be set for the corresponding channel identification, so that when creating a data channel corresponding to a certain type, the channel identification of the channel can be set according to the corresponding identification rule. Based on this, in this step, it can be determined whether the first data channel corresponds to the preset channel type by judging whether the channel identification satisfies the preset identification rule corresponding to the preset channel type.
[0150] Step S404: if yes, determine that the first data channel corresponds to the preset channel type; if no, determine that the first data channel does not correspond to the preset channel type.
[0151] If the channel identifier satisfies the preset identifier rule, it can be determined that the first data channel corresponds to the preset channel type. If the channel identifier does not satisfy the preset identifier rule, it can be determined that the first data channel does not correspond to the preset channel type.
[0152] In this embodiment, the mini-program identifier and channel identifier are obtained by parsing the establishment information of the first data channel, and the mini-program associated with the first data channel is determined according to the mini-program identifier, and whether the first data channel corresponds to a preset channel type is determined according to the channel identifier, thereby accurately identifying the first data channel.
[0153] In an exemplary embodiment, the method may further include: if the data to be transmitted includes rejection information or key exchange information of the applet, determining that the data to be transmitted does not meet the data transmission condition.
[0154] Exemplarily, when the data to be transmitted of the applet includes rejection information or key exchange information of the applet, it can be determined that the data to be transmitted does not meet the data transmission conditions of the first data channel. Optionally, the rejection information of the applet can be information obtained by the terminal when the applet cannot be started, and the key exchange information of the applet can be information that needs to be transmitted to the terminal on the other side of the call during the operation of the applet for encryption, decryption, etc. of data, for example, it can include a public key, etc.
[0155] In this embodiment, in the case where it is difficult to use the first data channel for data transmission because the applet cannot be started, the data to be transmitted including the rejection information of the applet is judged as not meeting the data transmission conditions, and the rejection information can be fed back through the second data channel later, so that even if the applet cannot be started, the terminal on the other side of the call can perceive the situation. By judging that the data to be transmitted including the key exchange information of the applet does not meet the data transmission conditions, information with higher security requirements can be transmitted through the second data channel instead of the first data channel used for business data transmission, which is conducive to ensuring the security of data transmission.
[0156] In an exemplary embodiment, the method may further include: if a rejection operation on the mini-program is detected, or if it is determined that the operating environment version of the mini-program is lower than a preset version, then obtaining rejection information of the mini-program.
[0157] Exemplarily, after the terminal determines the applet associated with the first data channel, its operating environment can attempt to start the applet. Wherein, if a rejection operation on the applet is detected, or if it is determined that the applet's operating environment version is lower than a preset version and the applet cannot be started, it can be determined that the applet cannot be started and the rejection information of the applet is obtained.
[0158] Optionally, the rejection operation on the mini program may include a rejection operation for startup or a rejection operation for authorization. Before the terminal starts the mini program, it may first prompt the user to determine whether to start the mini program, and the user may reject the startup of the mini program on the terminal by performing a rejection operation for startup. In some cases, before starting the mini program, the user may also be prompted to authorize, and the user may reject authorization for the mini program by performing a rejection operation for authorization. When the user's rejection operation for startup or rejection operation for authorization is detected, it may be considered that the rejection operation on the mini program is detected, and thus the rejection information of the mini program may be obtained.
[0159] Optionally, when it is determined that the operating environment version of the terminal is lower than a preset version (eg, the lowest operating environment version that enables the applet to run normally), it can also be determined that the terminal cannot start the applet, thereby obtaining rejection information of the applet.
[0160] In this embodiment, when a rejection operation on the mini program is detected, or when it is determined that the operating environment version of the mini program is lower than the preset version, the rejection information of the mini program is obtained, and the situations in which the mini program cannot be started due to subjective and objective factors can be accurately identified. Therefore, regardless of whether the mini program is unavailable due to objective reasons or subjective reasons, the rejection information can be obtained and subsequently fed back to the terminal on the other side of the call, so that the terminal on the other side of the call can effectively perceive the situation in which the mini program is unavailable.
[0161] In an exemplary embodiment, after parsing the establishment information, determining the mini-program associated with the first data channel, and determining whether the first data channel corresponds to the preset channel type, it may also include: if the first data channel corresponds to the preset channel type, then when receiving negotiation feedback information sent by the call partner terminal or the business application server through the first data channel, parsing the negotiation feedback information to obtain a parsing result.
[0162] Exemplarily, when it is determined that the first data channel corresponds to the preset channel type, it can be determined that the first data channel is a data channel for transmitting negotiation feedback information. In this case, after receiving the negotiation feedback information sent by the call opposite terminal or the service application server through the first data channel, the terminal can parse the negotiation feedback information to obtain a parsing result.
[0163] Exemplarily, if the negotiation feedback information is obtained by the call opposite terminal according to the rejection information of the applet associated with the data channel, the parsing result obtained after parsing the negotiation feedback information may include the rejection information. If the negotiation feedback information is obtained by the call opposite terminal according to the key exchange information of the applet, the parsing result may include the key exchange information.
[0164] Among them, it can be understood that when the first data channel is established between the terminal and the terminal on the other side of the call, the negotiation feedback information can be sent directly to the terminal by the terminal on the other side of the call through the first data channel; and when the first data channel is established between the terminal and the business application server, the business application server can receive the negotiation feedback information through another data channel between the terminal on the other side of the call, and then send the negotiation feedback information to the terminal through the first data channel. Optionally, the data channel between the business application server and the terminal on the other side of the call for transmitting the negotiation feedback information can be a data channel associated with the applet and corresponding to the preset channel type.
[0165] In this embodiment, when it is determined that the first data channel corresponds to the preset channel type, negotiation feedback information sent directly or indirectly by the terminal on the other side of the call through the first data channel is received, and the information is parsed to obtain a parsing result, thereby effectively sensing situations on the terminal on the other side of the call, such as the inability to start a small program or the need to transmit key exchange information.
[0166] In an exemplary embodiment, the method may further include: when the parsing result includes rejection information of the mini-program, executing a rejection feedback action of the mini-program.
[0167] Exemplarily, if the negotiation feedback information is obtained based on the rejection information of the mini-program, the parsing result obtained after parsing the negotiation feedback information may include the rejection information. Wherein, in the case where the parsing result includes the rejection information of the mini-program, the terminal may execute the rejection feedback action of the mini-program to prompt the terminal on the other side of the call that the mini-program cannot be started. Exemplarily, the rejection feedback action may include, but is not limited to, one or more of the actions of displaying text or image information, playing a prompt tone, and vibrating.
[0168] In this embodiment, when the analysis result includes rejection information of the program, the rejection feedback action of the mini-program can be executed to make the user aware that the mini-program on the terminal on the other side of the call is difficult to start, which is conducive to improving the user experience.
[0169] In order to further explain the information processing method of the present application, the following is a detailed description of the method through an embodiment:
[0170] Exemplarily, the information processing method in this embodiment can be applied to Figure 1 or Figure 2 The first terminal or the second terminal (hereinafter referred to as “terminal”) shown.
[0171] The method in this embodiment can be carried out as follows Figure 5 The data channel negotiation system shown in the figure is performed, and the system can be run in the running environment of the small program of the terminal for carrying additional services in the enhanced call. Figure 5 As shown, the system may include a data channel identification module, a data channel creation module, and a negotiation message control module.
[0172] Exemplarily, the data channel identification module can be used to intercept the establishment information of the first data channel initiated by the terminal on the other side of the call or the business application server, and parse the establishment information to determine the applet associated with the first data channel, and determine whether the first data channel corresponds to a preset channel type. Exemplarily, the channel type of the data channel can include an application data channel and an operating environment negotiation data channel, and the preset channel type can include an operating environment negotiation data channel.
[0173] In which, when it is determined that the first data channel does not correspond to the preset channel type, the data channel identification module can provide the data channel creation module with the applet identifier of the applet associated with the data channel.
[0174] Exemplarily, the data channel creation module can create a second data channel with the terminal on the other side of the call or the business application server according to the applet identifier provided by the data channel identification module. The second data channel can be a data channel associated with the applet and corresponding to a preset channel type (i.e., an operating environment negotiation data channel).
[0175] Exemplarily, the negotiation message control module can detect whether the information to be transmitted of the mini-program associated with it meets the data transmission conditions of the first data channel when the first data channel does not correspond to the preset channel type. Wherein, when it is determined that the information to be transmitted of the mini-program does not meet the data transmission conditions, the negotiation message control module can package the information to be transmitted as negotiation feedback information in a fixed format corresponding to the operating environment negotiation data channel, and then send it through the second data channel associated with the mini-program established by the data channel creation module. Optionally, the information to be transmitted that does not meet the data transmission conditions of the first data channel may include rejection information or key exchange information of the mini-program.
[0176] Among them, when it is determined that the first data channel corresponds to the preset channel type, the data channel identification module can provide the negotiation feedback information to the negotiation message control module after receiving the negotiation feedback information sent by the call partner terminal or the service application server through the first data channel.
[0177] Exemplarily, the negotiation message control module can parse the negotiation feedback information in a fixed format corresponding to the operating environment negotiation data channel when the first data channel corresponds to a preset channel type to obtain a corresponding parsing result. Optionally, the parsing result may include the rejection information or key exchange information of the applet. Optionally, when the parsing result includes the rejection information of the applet, the terminal can execute the rejection feedback action of the applet to prompt the user that the terminal on the other side of the call cannot start the applet.
[0178] Based on the same inventive concept, the present application also provides another information processing method, which can be applied to Figure 2 In the application environment shown. Among them, the implementation scheme of the information processing method provided in the embodiment of the present application is similar to the implementation scheme recorded in one or more embodiments of the above-mentioned information processing system, so the specific limitations in the one or more information processing method embodiments provided below can refer to the limitations on the information processing system above, and will not be repeated here.
[0179] In an exemplary embodiment, Figure 6 As shown, an information processing method is provided, which is applied to Figure 2 Taking the business application server shown in the figure as an example, the following steps may be included:
[0180] Step S601: receiving establishment information of a first data channel.
[0181] Exemplarily, the first data channel may be a data channel between the first terminal and the business application server established through the applet or in the name of the applet. The business application server may receive corresponding establishment information after the first data channel is established, and the establishment information may be used to indicate the establishment of the first data channel.
[0182] Step S602, parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type.
[0183] Exemplarily, in this step, the establishment information can be parsed to determine the applet associated with the first data channel and to determine whether it corresponds to a preset channel type. Optionally, in this step, the establishment information can be parsed to obtain information such as the applet identifier, channel identifier, or type identifier corresponding to the first data channel, so that the applet associated with the first data channel can be determined based on this information, and whether the channel type corresponding to the first data channel is a preset channel type.
[0184] Optionally, the applet associated with the first data channel may be the applet that initiates establishment of the data channel in the first terminal, or may be the applet in the name of which the first terminal initiates establishment of the data channel.
[0185] Optionally, the channel type corresponding to the data channel may include at least an application data channel and an operating environment negotiation data channel. The application data channel may be used to transmit the business data of the applet, and the operating environment negotiation data channel may be used to transmit data related to the applet that does not meet the data transmission conditions of the application data channel. Exemplarily, the preset channel type in this embodiment may include an operating environment negotiation data channel.
[0186] Step S603: When the first data channel corresponds to a preset channel type, a second data channel is established with the second terminal.
[0187] Exemplarily, when it is determined that the first data channel corresponds to a preset channel type, the service application server may initiate the establishment of a second data channel with the second terminal, wherein the second data channel may be associated with the applet and corresponds to the channel type of the operating environment negotiation data channel.
[0188] Step S604: When receiving the negotiation feedback information sent by the first terminal through the first data channel, the negotiation feedback information is sent to the second terminal through the second data channel.
[0189] Exemplarily, when receiving negotiation feedback information sent by the first terminal through the first data channel, the service application server may send the negotiation feedback information to the second terminal through the established second data channel.
[0190] In this embodiment, when the business application server determines that the first data channel with the first terminal corresponds to the preset channel type, it establishes a second data channel with the second terminal, and sends the negotiation feedback information received through the first data channel to the second terminal through the second data channel, so that the second terminal can smoothly receive the negotiation feedback information from the first terminal, and further enables the second terminal to effectively perceive situations such as the inability to start the mini program of the first terminal, or the need to transmit key exchange information.
[0191] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0192] Based on the same inventive concept, the embodiment of the present application also provides an information processing device for implementing the above-mentioned information processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the one or more information processing device embodiments provided below can refer to the limitations on the information processing method above, and will not be repeated here.
[0193] In an exemplary embodiment, Figure 7 As shown, an information processing device 700 is provided, including:
[0194] The receiving module 701 is used to receive the establishment information of the first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by the call opposite terminal or the service application server;
[0195] A parsing module 702, configured to parse the establishment information, determine the applet associated with the first data channel, and determine whether the first data channel corresponds to a preset channel type;
[0196] An establishing module 703 is used to establish a second data channel with the call opposite terminal or the service application server if the first data channel does not correspond to the preset channel type; the second data channel is associated with the mini program and corresponds to the preset channel type;
[0197] An acquisition module 704 is configured to obtain negotiation feedback information according to the data to be transmitted when the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel;
[0198] The sending module 705 is configured to send the negotiation feedback information to the call opposite-side terminal or the service application server through the second data channel.
[0199] In an exemplary embodiment, the parsing module 702 is also used to: parse the establishment information to obtain the mini-program identifier and channel identifier corresponding to the first data channel; determine the mini-program associated with the first data channel based on the mini-program identifier; determine whether the channel identifier satisfies a preset identification rule; if so, determine that the first data channel corresponds to the preset channel type; if not, determine that the first data channel does not correspond to the preset channel type.
[0200] In an exemplary embodiment, the device further includes: a judgment module, configured to determine that the data to be transmitted does not satisfy the data transmission condition if the data to be transmitted includes rejection information or key exchange information of the applet.
[0201] In an exemplary embodiment, the device further includes: a rejection information acquisition module, which is used to obtain the rejection information of the mini-program if a rejection operation on the mini-program is detected, or if it is determined that the operating environment version of the mini-program is lower than a preset version.
[0202] In an exemplary embodiment, the device also includes: a result acquisition module, which is used to parse the negotiation feedback information to obtain a parsing result when receiving the negotiation feedback information sent by the call partner terminal or the business application server through the first data channel if the first data channel corresponds to the preset channel type.
[0203] In an exemplary embodiment, the device further includes: a feedback module, configured to execute a rejection feedback action of the mini-program when the parsing result includes rejection information of the mini-program.
[0204] In an exemplary embodiment, Figure 8As shown, an information processing device 800 is also provided, including:
[0205] The receiving module 801 is used to receive establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by the first terminal.
[0206] The parsing module 802 is used to parse the establishment information, determine the applet associated with the first data channel, and determine whether the first data channel corresponds to a preset channel type.
[0207] The establishing module 803 is used to establish a second data channel with the second terminal when the first data channel corresponds to a preset channel type; the second data channel is associated with the applet and corresponds to the preset channel type.
[0208] The sending module 804 is configured to send the negotiation feedback information to the second terminal through the second data channel when receiving the negotiation feedback information sent by the first terminal through the first data channel.
[0209] Each module in the above information processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a communication device in the form of hardware, or can be stored in a memory in a communication device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0210] In an exemplary embodiment, a communication device is provided. The communication device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The communication device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store data such as establishment information of a data channel. The input / output interface of the communication device is used to exchange information between the processor and an external device. The communication interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an information processing method is implemented.
[0211] In an exemplary embodiment, a communication device is provided. The communication device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The communication device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the communication device is used to exchange information between the processor and the external device. The communication interface of the communication device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, an information processing method is implemented. The display unit of the communication device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the communication device housing, or an external keyboard, touchpad or mouse.
[0212] Those skilled in the art will understand that Fig. 9 or Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0213] In one embodiment, a communication device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0214] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0215] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0216] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0217] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0218] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0219] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An information processing method, characterized in that: The method comprises: Receiving establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by a terminal on the other side of the call or a service application server; parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type; If the first data channel does not correspond to the preset channel type, a second data channel is established with the call opposite terminal or the service application server; the second data channel is associated with the mini program and corresponds to the preset channel type; When the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel, obtaining negotiation feedback information according to the data to be transmitted; The negotiation feedback information is sent to the call opposite terminal or the service application server through the second data channel.
2. The method according to claim 1, characterized in that The parsing the establishment information, determining the applet associated with the first data channel, and judging whether the first data channel corresponds to a preset channel type includes: Parsing the establishment information to obtain a mini-program identifier and a channel identifier corresponding to the first data channel; Determining, according to the mini-program identifier, the mini-program associated with the first data channel; Determining whether the channel identification satisfies a preset identification rule; If so, it is determined that the first data channel corresponds to the preset channel type; if not, it is determined that the first data channel does not correspond to the preset channel type.
3. The method according to claim 1, characterized in that The method further comprises: If the data to be transmitted includes rejection information or key exchange information of the applet, it is determined that the data to be transmitted does not meet the data transmission condition.
4. The method according to claim 3, characterized in that The method further comprises: If a rejection operation on the mini-program is detected, or if it is determined that the operating environment version of the mini-program is lower than a preset version, the rejection information of the mini-program is obtained.
5. The method according to claim 1, characterized in that After parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type, the method further includes: If the first data channel corresponds to the preset channel type, then when receiving the negotiation feedback information sent by the call partner terminal or the service application server through the first data channel, the negotiation feedback information is parsed to obtain a parsing result.
6. The method according to claim 5, characterized in that The method further comprises: In the case where the parsing result includes rejection information of the mini-program, a rejection feedback action of the mini-program is executed.
7. An information processing method, characterized in that: The method comprises: Receiving establishment information of a first data channel; the establishment information is used to indicate establishment of the first data channel initiated by the first terminal; parsing the establishment information, determining the applet associated with the first data channel, and determining whether the first data channel corresponds to a preset channel type; In the case where the first data channel corresponds to the preset channel type, establishing a second data channel with the second terminal; the second data channel is associated with the applet and corresponds to the preset channel type; In a case of receiving negotiation feedback information sent by the first terminal through the first data channel, the negotiation feedback information is sent to the second terminal through the second data channel.
8. An information processing system, characterized in that: The system comprises: a first terminal and a second terminal; The first terminal is used to receive first establishment information of a first data channel; the first establishment information is used to indicate the establishment of the first data channel initiated by the second terminal or the business application server; the first establishment information is parsed to determine the applet associated with the first data channel, and to determine whether the first data channel corresponds to a preset channel type; if the first data channel does not correspond to the preset channel type, a second data channel with the second terminal is established; the second data channel is associated with the applet and corresponds to the preset channel type; when the data to be transmitted of the applet does not meet the data transmission conditions of the first data channel, negotiation feedback information is obtained according to the data to be transmitted; and the negotiation feedback information is sent to the second terminal through the second data channel; The second terminal is used to receive second establishment information of the second data channel; the second establishment information is used to indicate the establishment of the second data channel initiated by the first terminal; the second establishment information is parsed to determine the applet associated with the second data channel, and to determine whether the second data channel corresponds to the preset channel type; when the second data channel corresponds to the preset channel type and the negotiation feedback information sent by the first terminal through the second data channel is received, the negotiation feedback information is parsed to obtain a parsing result.
9. An information processing system, characterized in that: The system comprises: a first terminal, a second terminal, and a business application server; The first terminal is used to receive first establishment information of a first data channel; the first establishment information is used to indicate the establishment of the first data channel initiated by the second terminal or the business application server; the first establishment information is parsed to determine the applet associated with the first data channel, and to determine whether the first data channel corresponds to a preset channel type; if the first data channel does not correspond to the preset channel type, a second data channel with the business application server is established; the second data channel is associated with the applet and corresponds to the preset channel type; when the data to be transmitted of the applet does not meet the data transmission conditions of the first data channel, negotiation feedback information is obtained according to the data to be transmitted; and the negotiation feedback information is sent to the business application server through the second data channel; The business application server is used to receive second establishment information of the second data channel; the second establishment information is used to indicate the establishment of the second data channel initiated by the first terminal; parse the second establishment information, determine the applet associated with the second data channel, and judge whether the second data channel corresponds to the preset channel type; if the second data channel corresponds to the preset channel type, establish a third data channel with the second terminal; the third data channel is associated with the applet and corresponds to the preset channel type; and if the negotiation feedback information sent by the first terminal through the second data channel is received, send the negotiation feedback information to the second terminal through the third data channel; The second terminal is used to receive third establishment information of the third data channel; the third establishment information is used to indicate the establishment of the third data channel initiated by the business application server; parse the third establishment information, determine the applet associated with the third data channel, and judge whether the third data channel corresponds to the preset channel type; when the third data channel corresponds to the preset channel type and the negotiation feedback information sent by the business application server through the third data channel is received, parse the negotiation feedback information to obtain a parsing result.
10. An information processing device, characterized in that: The device comprises: A receiving module, used to receive establishment information of a first data channel; the establishment information is used to indicate the establishment of the first data channel initiated by a terminal on the other side of the call or a service application server; A parsing module, configured to parse the establishment information, determine the applet associated with the first data channel, and determine whether the first data channel corresponds to a preset channel type; an establishing module, configured to establish a second data channel with the call opposite terminal or the service application server if the first data channel does not correspond to the preset channel type; the second data channel is associated with the mini program and corresponds to the preset channel type; an acquisition module, configured to obtain negotiation feedback information according to the data to be transmitted when the data to be transmitted of the mini program does not meet the data transmission condition of the first data channel; The sending module is used to send the negotiation feedback information to the call opposite-side terminal or the service application server through the second data channel.
11. An information processing device, characterized in that: The device comprises: A receiving module, configured to receive establishment information of a first data channel; the establishment information is used to indicate establishment of the first data channel initiated by the first terminal; A parsing module, configured to parse the establishment information, determine the applet associated with the first data channel, and determine whether the first data channel corresponds to a preset channel type; An establishing module, configured to establish a second data channel with a second terminal when the first data channel corresponds to the preset channel type; the second data channel is associated with the applet and corresponds to the preset channel type; The sending module is used to send the negotiation feedback information to the second terminal through the second data channel when receiving the negotiation feedback information sent by the first terminal through the first data channel.
12. A communication device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 or claim 7 are implemented.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 or claim 7 are implemented.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 or claim 7 are implemented.
Citation Information
Patent Citations
Application data channel management method and device
CN118301138A
Data channel establishment method and device, core network equipment and storage medium
CN118450539A
Multimedia call method, device and electronic equipment and storage medium
WO2023098366A1
Extension of a data channel application id with a data channel tag
WO2024067381A1
