Method, apparatus and terminal for transmitting application in IMS network and storage medium
By creating an IMS data channel within the IMS network, the problem of not being able to implement business logic within the IMS network was solved, data transmission and reception and application security were achieved, and download speed and compatibility were improved.
Patent Information
- Application Number
- CN202210209171.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-04
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-03-04
AI Technical Summary
Business logic related to IMS data channel capabilities cannot be implemented in the IMS network, and existing technologies cannot effectively utilize IMS data channel capabilities.
By creating an IMS data channel within the IMS network and using the first interface to send and receive data, the IMS data channel is dynamically created. The download and execution of the basic framework bootloader and business logic code are separated. An architecture that separates programs and data is adopted to realize the business logic related to the IMS data channel capabilities.
It enables data transmission and reception within the IMS network, improves the download speed and security of IMS applications, and ensures application compatibility and security.
Smart Images

Figure CN116743711B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless technology, and in particular to a transmission method, apparatus, terminal and storage medium for applications within an IP Multimedia Subsystem (IMS) network. Background Technology
[0002] Web Real-Time Communication (WebRTC) is used for peer-to-peer audio and video transmission and also provides a data channel capability to support the transmission of data other than audio and video. Among related technologies, the IMS network borrows from the WebRTC standard and introduces IMS data channel technology, but it cannot implement the business logic related to IMS data channel capabilities. Summary of the Invention
[0003] To address the related technical issues, embodiments of this application provide a transmission method, apparatus, terminal, and storage medium for applications within an IMS network.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] This application provides a transmission method for applications within an IMS network, characterized in that it is applied to a first terminal, and the method includes:
[0006] Data from the first application is sent and / or received through the first data channel; wherein...
[0007] The first data channel is created by calling the first interface; the first data channel represents the IMS data channel.
[0008] In the above scheme, before sending and / or receiving data from the first application through the first data channel, the method further includes:
[0009] The first application is downloaded via the second data channel; wherein...
[0010] The second data channel represents the guiding data channel.
[0011] In the above scheme, the second data channel is established when the first terminal establishes a call.
[0012] In the above scheme, downloading the first application through the second data channel includes:
[0013] Download the business logic code of the first application through the second data channel.
[0014] In the above scheme, before downloading the first application through the second data channel, the method further includes:
[0015] Download the application's basic framework bootloader through the second data channel.
[0016] In the above scheme, the first interface represents a repackaged or reused JavaScript standard data channel application programming interface (API).
[0017] This application also provides a transmission device for an application, including:
[0018] The transmission unit is used to send and / or receive data from the first application through the first data channel; wherein,
[0019] The first data channel is created by calling the first interface; the first data channel represents the IMS data channel.
[0020] This application embodiment also provides a first terminal, including: a first processor and a first communication interface; wherein,
[0021] The first communication interface is used to send and / or receive data from the first application via the first data channel; wherein,
[0022] The first data channel is created by calling the first interface; the first data channel represents the IMS data channel.
[0023] This application also provides a first terminal, including: a first processor and a first memory for storing a computer program capable of running on the processor.
[0024] Wherein, when the first processor is used to run the computer program, it executes any of the steps of the method described above.
[0025] This application also provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0026] In the transmission method, apparatus, terminal, and storage medium for applications within an IMS network provided in this application embodiment, a first terminal sends and / or receives data from a first application through a first data channel; wherein, the first data channel is created by calling a first interface; the first data channel represents an IMS data channel. Based on the above scheme, data transmission and reception can be realized within the IMS network based on the IMS data channel capability, thereby realizing business logic related to the IMS data channel capability. Attached Figure Description
[0027] Figure 1 This is a schematic diagram illustrating the development and transmission method of an application within an IMS network, related to certain technologies.
[0028] Figure 2 This is a schematic flowchart of a transmission method for an application within an IMS network, according to an embodiment of this application.
[0029] Figure 3 This is a schematic diagram illustrating the business process of developing an IMS application and downloading and running the IMS application on a terminal, as described in this application embodiment.
[0030] Figure 4 This is a schematic diagram of a transmission device structure for an application within an IMS network, according to an embodiment of this application.
[0031] Figure 5 This is a schematic diagram of the first terminal structure according to an embodiment of this application. Detailed Implementation
[0032] H5 applications, such as web applications or apps, are primarily developed using JavaScript, Cascading Style Sheets (CSS), or Hyper Text Markup Language (HTML), offering advantages such as no installation required, rapid download and execution, and plug-and-play functionality. Building upon this foundation, audio and video communication capabilities can be added to applications, enabling point-to-point audio and video transmission through Web Real-Time Communication (WebRTC). Furthermore, WebRTC provides a Data Channel capability to support the transmission of data beyond audio and video.
[0033] In an IMS network, the application architecture of an IMS application consists of two parts: a basic framework bootstrapping program and business logic code. The basic framework bootstrapping program provides standard APIs, extended APIs, and a page architecture logic framework, which is developed by the operator and provided to application developers. Application developers develop within the environment provided by the basic framework bootstrapping program, allowing them to focus solely on the business logic portion and designing the business logic code. In practical applications, refer to... Figure 1Developers first develop applications using JavaScript, CSS, or HTML. After development, the IMS Integrated Development Environment (IDE) packages the business logic code into a corresponding executable compressed file and uploads it to the IMS application management platform. The terminal requests the application's Uniform Resource Locator (URL) from the IMS application management platform via Hypertext Transfer Protocol (HTTP), then downloads the IMS application via HTTP and runs it in its local browser. Once the IMS application is running, the relevant business logic is implemented through JavaScript interaction.
[0034] Drawing inspiration from the WebRTC standard, related technologies have introduced IMS data channel capabilities into the IMS network. The primary content transmitted in the data channel created based on IMS data channel capabilities is web pages and scripts, thus compensating for the lack of business capabilities during voice interaction within the IMS network through internet technology. In the application architecture of the aforementioned IMS application, the basic framework bootstrapper supports IMS data channel capabilities, and the API for calling these capabilities is an extended API. By calling this extended API, business data can be transmitted using IMS data channel capabilities within the IMS network. However, because in related technologies, IMS applications call standard JavaScript APIs at runtime, while IMS data channel capabilities are provided by the IMS application's basic framework bootstrapper through extended APIs, business logic related to IMS data channel capabilities cannot currently be implemented within the IMS network.
[0035] Based on this, in various embodiments of this application, the first terminal sends and / or receives data from the first application through a first data channel; wherein, the first data channel is created by calling a first interface; the first data channel represents an IMS data channel. Based on the above scheme, data transmission and reception can be realized within the IMS network based on the IMS data channel capability, thereby realizing the business logic related to the IMS data channel capability.
[0036] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.
[0037] This application provides a transmission method for an application within an IMS network, applied to a first terminal within the IMS network, with reference to... Figure 2 The method includes:
[0038] Step 201: Send and / or receive data from the first application through the first data channel.
[0039] The first data channel is created by calling the first interface; the first data channel represents the IMS data channel.
[0040] Here, the first interface is used to support IMS data channel capabilities. These capabilities include at least one of creating an IMS data channel, sending data through an IMS data channel, and receiving data through an IMS data channel. In practical applications, the IMS data channel can be an Application Data Channel (ADC). This is implemented by the terminal application runtime environment. When the terminal runtime environment parses the first interface, it automatically converts it to a call to the native IMS DataChannel interface, and then calls the IMS Data Channel protocol stack capabilities to interact with the network side, enabling data transmission and reception for the first application.
[0041] In practical applications, during the operation of the first application, the first interface represents the `createDataChannel` interface, which is called by the IMS application to create a data channel using JavaScript. After the first data channel is created, data from the first application is sent and / or received on the first data channel by calling the second interface. Here, the second interface represents the `postMessage` interface for sending data through the data channel and / or the `onMessage` interface for receiving data through the data channel.
[0042] In practical applications, considering the different application containers used on terminals from different manufacturers, developers need to define the first interface as a standard JavaScript interface when developing the first application. This way, the developer only needs to develop the first application once, and the application can run on terminals from different manufacturers, improving application compatibility. Based on this, in one embodiment, the first interface represents a repackaged or reused standard JavaScript data channel API.
[0043] The embodiments of this application require developers to call the first interface when developing the first application. The development process of the first application is described below. (Refer to...) Figure 3 The development process includes:
[0044] Steps 1-2: Developers first need to complete identity verification and apply for an application identifier for the first application, which is used to uniquely identify the first application. Here, only developers whose identities have been verified by the operator have the right to develop IMS applications. After the operator verifies the identity, the developer downloads the IMS application IDE.
[0045] When developing applications, in addition to the standard JavaScript API, extended APIs can also be called to enable the application to use the IMS data channel.
[0046] Step 3: After the developers have completed the development, they use the IMS IDE to compress and package the business logic code of the first application and submit it to the IMS application management platform.
[0047] As mentioned earlier, in an IMS network, the application architecture consists of a basic framework bootstrap program and business logic code. Therefore, after development, it needs to be compressed and packaged according to a specific format. This ensures that the application container on the first terminal that downloads the first application can find the executable file of the first application according to the path corresponding to the format. Here is an example of the compressed and packaged file format:
[0048] First, the basic framework bootstrapping program is downloaded to the terminal via the Bootstrap Data Channel (BDC), providing the basic public capabilities, basic interface style sheets, and basic homepage files for the IMS application. AppFWK is the root directory; the subdirectory js stores the basic public JS library and public API implementations for the IMS application; the subdirectory css stores the basic public interface styles for the IMS application; and the file index.html is the basic bootstrapping page for the IMS application. For business logic code, the following format is used: miniapp is the root directory of the IMS application; the subdirectory js stores the JavaScript files for the IMS application; the subdirectory css stores the style files for the IMS application; the subdirectory img stores the static images for the IMS application; the subdirectory cert stores the developer certificate hash and application signature information; the file app.js is the entry point file for the IMS application; the terminal's application container executes this file, running this entry point program on the bootstrapping program's homepage; and the file app.json is the application's configuration file. In actual application, the business logic code of each IMS application is packaged into a zip file using the IMS IDE and then uploaded to the IMS application management platform.
[0049] After the developer packages and uploads the business logic code of the first application to the IMS application management platform, the terminal can download the first application from the IMS application management platform. Based on this, in one embodiment, before sending and / or receiving data from the first application through the first data channel, the method further includes:
[0050] Download the first application via the second data channel.
[0051] The second data channel represents the guiding data channel.
[0052] In one embodiment, the second data channel is established when the first terminal establishes a call.
[0053] Establishing a call includes the first terminal initiating a call and / or receiving an incoming call.
[0054] In one embodiment, downloading the first application via the second data channel includes:
[0055] Download the business logic code of the first application through the second data channel.
[0056] In one embodiment, before downloading the first application via the second data channel, the method further includes:
[0057] Download the application's basic framework bootloader through the second data channel.
[0058] See Figure 3 The business process of a terminal downloading and running an IMS application includes:
[0059] Steps 4-5: When a call is initiated or received on the terminal, a bootstrapping data channel is established with the IMS application management platform. The terminal needs to first download the basic framework bootstrapping program for the IMS application via HTTP on the bootstrapping data channel.
[0060] In practical applications, the basic framework bootloader does not need to be downloaded every time. When the terminal requests to download the basic framework bootloader, it includes the address of the version of the locally stored basic framework bootloader and uses the HTTP header field ETag to mark the version number. If the IMS application management platform finds that the version number carried in the request is already the latest version, the terminal does not need to download the basic framework bootloader again, thus speeding up the download of IMS applications. If the terminal does not have the basic framework bootloader stored, or if the IMS application management platform has updated the version of the basic framework bootloader, the terminal will download the latest version of the basic framework bootloader again, overwriting the locally stored basic framework bootloader.
[0061] Steps 6-7: The terminal continues to request the application list via HTTP.
[0062] Here, the application list is issued by the IMS application management platform, indicating the applications that the terminal can use, and records the developer's signature for the corresponding IMS application. After the terminal's application container parses this application list, it generates an application menu, which includes the applications that the terminal can use. In actual application, the application menu can be displayed in a "nine-grid" format, using icons to show the applications available to the terminal.
[0063] Steps 8-10: When the user clicks the application icon, the corresponding IMS application runs. The terminal downloads the IMS application package through the bootstrap data channel. The application package includes at least the application logic code of the IMS application and may also include the developer's signature related to the IMS application. In actual application, the IMS application package can be automatically downloaded and run according to business needs without user triggering. For specific download methods, please refer to the download of the basic framework bootstrap program in steps 4-5. The version number is used to maintain the version of the business logic code, and the terminal's application container also needs to check the version number of the application package through the HTTP header field ETag. If the IMS application management platform finds that the version number carried in the request is already the latest version, the terminal does not need to download the application package again, thus speeding up the download of the IMS application. If the terminal does not store the corresponding application package, or the IMS application management platform has updated the version of the IMS application package, the terminal will download the latest version of the application package again, overwriting the locally stored application package.
[0064] Steps 11-12: When the terminal's application container parses the business logic code of the IMS application and detects a request to create an IMS data channel, it dynamically calls the IMS Native Data Channel interface to create the IMS data channel. Afterward, the IMS application's data is transmitted based on this created IMS data channel. During the application's operation on the terminal, multiple IMS data channels can be dynamically created according to business needs. These IMS data channels can be established between the terminal and the network side, or between terminals.
[0065] In the above solution, the IMS application architecture is divided into two parts: a basic framework bootstrapping program and business logic code. These two parts are downloaded and executed separately. The basic framework bootstrapping program and the business logic code are transmitted through bootstrapping data channels according to business needs. After the business logic code is downloaded, multiple IMS data channels can be dynamically created for data transmission. Here, the download and operation of the IMS application adopts a program-data separation architecture. The program, such as JavaScript, CSS, and HTML code, is transmitted through the bootstrapping data channel; the data, such as text, images, audio, video, and input coordinates generated during program execution, is transmitted through dynamically created IMS data channels. This helps improve the download speed of the IMS application.
[0066] Furthermore, after completing the business logic code for the first application, developers can generate a first certificate and a first key pair using the tools included in the IMS IDE. The first certificate is then signed using the private key from the first key pair to obtain a first signature. Additionally, developers can sign the digest data of the business logic code using the private key from the first key pair to obtain a second signature. During upload, the first terminal packages the first signature, the second signature, and the application identifier of the first application along with the business logic code, and uploads them to the IMS application management platform.
[0067] After the first terminal completes the download of the first application, it can verify the identity of the developer of the first application and whether the first application has been tampered with based on the first signature and the second signature, thereby ensuring the security of the first application.
[0068] The authentication of the first application's developer is illustrated by the following example: Both A and B are trusted developers certified by the IMS application management platform. A is responsible for developing and maintaining IMS application X, but the code has been leaked to B. B then modifies the code and submits the application package for application X. The IMS application management platform verifies B's legitimacy, allowing successful upload. However, in this situation, the modified application package for application X is not allowed to be downloaded and executed on the terminal. Therefore, the terminal needs to verify the developer's identity. If B uses illegal means to download the application package for application X to the terminal, the application container will parse the first signature in the application package and compare it with the first signature corresponding to application X in the application list provided by the IMS application management platform. Only if the comparison result matches will application X run; otherwise, the downloaded application X will be immediately deleted.
[0069] For tamper-proof authentication, the terminal's application container parses the business logic code in the application package of application X. It calculates a first digest of the business logic code using Message Digest Algorithm 5 (MD5) and / or SHA256 algorithm tffu, and processes the second signature in the business logic code using the public key to reconstruct the second digest data. The two digests are then compared; application X is only run if they match, otherwise, the downloaded application X is immediately deleted. The public key used for signature verification can be obtained from the IMS application management platform, or it can be obtained by interacting with the IMS application management platform and uploading the second signature from the downloaded content to the platform for online signature verification.
[0070] Therefore, terminal authentication of developers and verification of application immutability can both standardize application development within the IMS network and ensure terminal security within the IMS network. For operators, it allows for developer management, unifying application behavior through the definition of the IMS standard API, and ensuring security. Simultaneously, it enables application auditing, offering advantages in areas such as entry point content distribution and content control.
[0071] In summary, in the solution provided by this application embodiment, the first terminal sends and / or receives data from the first application through a first data channel; wherein, the first data channel is created by calling a first interface; and the first data channel represents an IMS data channel. Based on the above solution, data transmission and reception can be realized within the IMS network based on the IMS data channel capability, thereby realizing the business logic related to the IMS data channel capability.
[0072] Specifically:
[0073] A new development process for IMS applications is provided. By supporting the definition of the first interface for IMS data channels, developers can directly use IMS data channel capabilities by calling the extended APIs provided by the basic framework bootstrapping program of the IMS application. At runtime, different types of IMS data channels can be dynamically created according to business needs to realize business data interaction.
[0074] A new transmission scheme for IMS applications is provided, in which the application architecture of the IMS application is divided into two parts: a basic framework bootstrap program and business logic code. These two parts are downloaded and executed separately. The basic framework bootstrap program and the business logic code are transmitted through bootstrap data channels according to business needs. After the business logic code is downloaded, multiple IMS data channels can be dynamically created for data transmission, thereby improving the download speed of the IMS application.
[0075] This paper presents an architecture that separates program and data. The program consists of code such as JavaScript, CSS, and HTML, which is transmitted through a bootstrap data channel. The data consists of information such as text, images, audio, video, and input coordinates generated during program execution, which is transmitted through a dynamically created IMS data channel. This can help improve the download speed of IMS applications.
[0076] A new format definition for IMS applications is provided and innovatively used for internal services within the IMS network. The AppFWK code provides basic functions from the operator, while the business logic code is developed by the developers and packaged into a compressed file and uploaded to the IMS application management platform. After the terminal downloads it, it needs to be decompressed and can reference the AppFWK code for dynamic execution.
[0077] This paper presents a new security method for running IMS applications on terminals within an IMS network. It verifies the immutability of IMS applications by signing and verifying the signatures, and verifies the identity of developers by using developer signatures. The security guarantee adopts relatively mature security strategies and is highly implementable.
[0078] To implement the method of the embodiments of this application, the embodiments of this application also provide a transmission device for applications within an IMS network, which is disposed on a first terminal, such as... Figure 4 As shown, the device includes:
[0079] Transmission unit 401 is configured to send and / or receive data from a first application via a first data channel; wherein,
[0080] The first data channel is created by calling the first interface; the first data channel represents the IMS data channel.
[0081] In one embodiment, the device further includes:
[0082] The download unit is configured to download the first application via a second data channel before sending and / or receiving data from the first application via the first data channel; wherein,
[0083] The second data channel represents the guiding data channel.
[0084] In one embodiment, the second data channel is established when the first terminal establishes a call.
[0085] In one embodiment, the download unit is configured to:
[0086] Download the business logic code of the first application through the second data channel.
[0087] In one embodiment, the download unit is further configured to:
[0088] Before downloading the first application via the second data channel, the application's basic framework bootloader is downloaded via the second data channel.
[0089] In one embodiment, the first interface represents a repackaged or reused JavaScript standard data channel API.
[0090] In practical applications, the transmission unit 401 and the download unit can be implemented by the communication interface in the transmission device used in the IMS network.
[0091] It should be noted that the above embodiments of the IMS network application transmission device are only illustrated by the division of the above program modules when transmitting IMS network applications. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the IMS network application transmission device and the IMS network application transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0092] Based on the hardware implementation of the above program modules, and in order to implement the method on the first terminal side of the embodiments of this application, the embodiments of this application also provide a first terminal, such as... Figure 5 As shown, the first terminal 500 includes:
[0093] The first communication interface 501 is capable of exchanging information with other network nodes;
[0094] The first processor 502 is connected to the first communication interface 501 to enable information interaction with other network nodes. When running a computer program, it executes the methods provided by one or more technical solutions on the first terminal side. The computer program is stored in the first memory 503.
[0095] Specifically, the first communication interface 501 is used to send and / or receive data from the first application through the first data channel; wherein,
[0096] The first data channel is created by calling the first interface; the first data channel represents the IMS data channel.
[0097] In one embodiment, the first communication interface 501 is further configured to download the first application via a second data channel before sending and / or receiving data from the first application via the first data channel; wherein,
[0098] The second data channel represents the guiding data channel.
[0099] In one embodiment, the second data channel is established when the first terminal establishes a call.
[0100] In one embodiment, the first communication interface 501 is used for:
[0101] Download the business logic code of the first application through the second data channel.
[0102] In one embodiment, the first communication interface 501 is further configured to download the application's basic framework bootloader via the second data channel before downloading the first application via the second data channel.
[0103] In one embodiment, the first interface represents a repackaged or reused JavaScript standard data channel API.
[0104] It should be noted that the specific processing procedures of the first processor 502 and the first communication interface 501 can be understood by referring to the above method.
[0105] Of course, in practical applications, the various components in the first terminal 500 are coupled together through the bus system 504. It can be understood that the bus system 504 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 504 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in... Figure 5 The general designated all buses as Bus System 504.
[0106] The first memory 503 in this embodiment is used to store various types of data to support the operation of the first terminal 500. Examples of such data include any computer program used to operate on the first terminal 500.
[0107] The methods disclosed in the embodiments of this application can be applied to the first processor 502, or implemented by the first processor 502. The first processor 502 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the first processor 502. The first processor 502 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 502 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the first memory 503. The first processor 502 reads the information in the first memory 503 and completes the steps of the aforementioned method in combination with its hardware.
[0108] In an exemplary embodiment, the first terminal 500 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.
[0109] It is understood that the first memory 503 in this application embodiment can be volatile memory or non-volatile memory, or both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); the magnetic surface memory can be disk storage or magnetic tape storage. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.
[0110] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a first memory 503 storing a computer program. This computer program can be executed by the first processor 502 of the first terminal 500 to complete the steps described in the aforementioned first terminal-side method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0111] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0112] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.
[0113] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A transmission method for applications within an IP Multimedia Subsystem (IMS) network, characterized in that, Applied to a first terminal, the method includes: Data from the first application is sent and / or received through the first data channel; wherein... The first data channel is created by calling the first interface; the first data channel represents the IMS data channel; the first interface is used by the terminal runtime environment to automatically convert to calling the native IMS data channel interface when the first interface is parsed, and then call the IMS data channel protocol stack capabilities.
2. The method according to claim 1, characterized in that, Prior to sending and / or receiving data from the first application via the first data channel, the method further includes: The first application is downloaded via the second data channel; wherein... The second data channel represents the guiding data channel.
3. The method according to claim 2, characterized in that, The second data channel is established when the first terminal establishes a call.
4. The method according to claim 2, characterized in that, The downloading of the first application via the second data channel includes: Download the business logic code of the first application through the second data channel.
5. The method according to claim 1, characterized in that, Before downloading the first application via the second data channel, the method further includes: Download the application's basic framework bootloader through the second data channel.
6. The method according to claim 1, characterized in that, The first interface represents a repackaged or reused JavaScript standard data channel application interface API.
7. A transmission device for an application, characterized in that, include: The transmission unit is used to send and / or receive data from the first application through the first data channel; wherein, The first data channel is created by calling the first interface; The first data channel represents the IMS data channel; the first interface is used by the terminal operating environment to automatically convert to calling the native IMS data channel interface when the first interface is parsed, and then call the IMS data channel protocol stack capabilities.
8. A first terminal, characterized in that, include: A first processor and a first communication interface; wherein... The first communication interface is used to send and / or receive data from the first application via the first data channel; wherein, The first data channel is created by calling the first interface; the first data channel represents the IMS data channel; the first interface is used by the terminal runtime environment to automatically convert to calling the native IMS data channel interface when the first interface is parsed, and then call the IMS data channel protocol stack capabilities.
9. A first terminal, characterized in that, include: A first processor and a first memory for storing computer programs capable of running on the processor. Wherein, when the first processor is used to run the computer program, it performs the steps of the method according to any one of claims 1 to 6.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
