Terminal communication method, terminal and computer readable storage medium

By attaching application attribute information to the application package file, the problem that the terminal system cannot obtain business attributes is solved, and the terminal system can establish slice connections without the ability to recognize application business attributes.

CN114143303BActive Publication Date: 2024-11-08CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010916583.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-03
Publication Date
2024-11-08
Estimated Expiration
2040-09-03

AI Technical Summary

Technical Problem

The terminal system cannot obtain or finds business attributes, resulting in the inability to establish a slice connection.

Method used

By attaching application attributes as external data information in the application package file, the terminal system can directly read and use these attribute information, thereby establishing a slice connection.

Benefits of technology

It solves the problem that the terminal system cannot obtain business attributes, which makes it impossible to establish a slice connection, and realizes that the terminal system can directly read and use application attribute information to establish a slice connection without the ability to recognize application business attributes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114143303B_ABST
    Figure CN114143303B_ABST
Patent Text Reader

Abstract

A terminal communication method, a terminal and a computer-readable storage medium. The embodiment of the present invention attaches application attributes as external data information to an application package file or a file containing an application package, so that the terminal system can directly read the application attribute information and establish a slice connection based on it, thereby solving the problem in the prior art that the terminal system cannot obtain or has difficulty in obtaining business attributes, resulting in the inability to establish a slice connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communication technology, and in particular to a terminal communication method, a terminal and a computer-readable storage medium. Background Art

[0002] Network slicing is an important service capability of 5G mobile communications. It associates and binds the network slice identifier with a business feature of the business application, and provides exclusive services for the data transmission of the business on the network slice connection.

[0003] In existing cellular mobile communication technologies, the mobile network sends slice configuration rules to the terminal, instructing the terminal to bind to the slice connection identifier based on certain business characteristics, such as application identifier (APP ID), fully qualified domain name (Fully Qualified Domain Name, FQDN), IP triplet, data network name (Data Network Name, DNN) or connection capability (ConnectionCapability) and other identification methods.

[0004] The terminal identifies the service characteristics of the application, obtains the service characteristics description of the service, such as the APP ID, FQDN, IP triplet, DNN, or Connection Capability of the application, and then establishes an association with the corresponding slice connection according to the slice configuration rules provided by the mobile network, and receives and sends data through the slice connection. If the terminal cannot identify the service characteristics of the service, it cannot establish an association with the slice connection, nor can it establish and use the slice connection.

[0005] In 5G communications, in order to support network slicing features, the terminal should have the following capabilities, mainly including: 1) identifying the service characteristic attributes of the service application and obtaining the service characteristic attributes of the service (such as APPID, FQDN, or IP triplet and other identification methods); 2) according to the slice configuration rules provided by the cellular network, the service characteristic attributes are associated and bound with the corresponding slice connection identifier; 3) based on the established association and binding relationship, the terminal establishes an exclusive slice connection; 4) the data packets of the service application are transmitted and received on the slice connection.

[0006] However, the following problem currently exists: the terminal system does not have the ability to identify, extract and transmit the attributes of business applications, resulting in the terminal being unable to establish slice connection services based on business characteristic attributes as instructed by the configuration rules. Summary of the invention

[0007] At least one embodiment of the present invention provides a terminal communication method, a terminal and a network device, which solves the problem in the prior art that the terminal system cannot obtain or has difficulty in obtaining service attributes, resulting in an inability to establish a slice connection.

[0008] According to one aspect of the present invention, at least one embodiment provides a terminal communication method, including:

[0009] When a first application is started, first information of the first application is read, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application;

[0010] Determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier;

[0011] The business data of the first application is transmitted through the first slice connection.

[0012] In addition, according to at least one embodiment of the present invention, before the first application is started, the method further includes:

[0013] Acquire a first program package file, where the first program package file is obtained by compiling a first program code, where the first program code includes a program code of the first application and the first information;

[0014] The first application is installed on the terminal using the first program package file, and during the installation process, the first information is obtained from the first program code and saved.

[0015] In addition, according to at least one embodiment of the present invention, before installing the first application, the method further includes:

[0016] The verification information in the first program package file is used to verify the content integrity and authenticity of the first information, and after the verification is passed, the step of installing the first application is executed, and after the verification fails, the installation of the first application is refused.

[0017] In addition, according to at least one embodiment of the present invention, before the first application is started, the method further includes:

[0018] Acquire a second program package file, where the second program package file is a file obtained by appending the first information to the program package of the first application;

[0019] The second program package file is released to obtain a third program package file and the first information, the first information is saved, and the first application is installed on the terminal using the third program package file.

[0020] In addition, according to at least one embodiment of the present invention, the second program package file is obtained by secondary compiling the program package of the first application and the first information, or is obtained by compressing the program package of the first application and the first information.

[0021] In addition, according to at least one embodiment of the present invention, before installing the first application, the method further includes:

[0022] Verifying the integrity and authenticity of the first information using the verification information in the second program package file, and continuing to execute the step of releasing the second program package file if the verification passes, and refusing to execute the step of releasing the second program package file if the verification fails.

[0023] In addition, according to at least one embodiment of the present invention, the application attribute information includes at least one of the following attribute information:

[0024] Application ID:

[0025] Fully Qualified Domain Name (FQDN);

[0026] IP triplet;

[0027] Non-IP type address;

[0028] Data network name DNN;

[0029] Connection Capability type

[0030] Network Slice Selection Assistance Information NSSAI.

[0031] In addition, according to at least one embodiment of the present invention, the reading the first information of the first application includes:

[0032] At least one kind of attribute information in the first information stored in the terminal is read as an application attribute of the first application.

[0033] In addition, according to at least one embodiment of the present invention, the determining a first slice connection identifier corresponding to the first information, and establishing a first slice connection according to the first slice connection identifier, includes:

[0034] Determine, according to a correspondence between a slice connection identifier and an application attribute obtained in advance, a first slice connection identifier corresponding to the application attribute of the first application;

[0035] The first slice connection identifier is sent to the underlying communication unit of the terminal, and the underlying communication unit establishes a first slice connection based on the first slice connection identifier.

[0036] In addition, according to at least one embodiment of the present invention, the determining a first slice connection identifier corresponding to the first information, and establishing a first slice connection according to the first slice connection identifier, includes:

[0037] Sending the application attributes of the first application to the bottom layer communication unit of the terminal;

[0038] The underlying communication unit determines the first slice connection identifier corresponding to the application attribute of the first application based on the correspondence between the pre-obtained slice connection identifier and the application attribute, and establishes a first slice connection based on the first slice connection identifier.

[0039] According to another aspect of the present invention, at least one embodiment provides a terminal, including a transceiver and a processor, wherein:

[0040] The processor is configured to read first information of the first application when the first application is started, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application; determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier;

[0041] The transceiver is used to transmit business data of the first application through the first slice connection.

[0042] In addition, according to at least one embodiment of the present invention, the processor is further used to obtain a first program package file before the first application is started, where the first program package file is compiled from a first program code, where the first program code includes a program code of the first application and the first information; use the first program package file to install the first application on the terminal, and during the installation process, obtain and save the first information from the first program code.

[0043] In addition, according to at least one embodiment of the present invention, the processor is further used to obtain a second package file before the first application is started, where the second package file is a file obtained by appending the first information to the package of the first application; release the second package file to obtain a third package file and the first information, save the first information, and install the first application on the terminal using the third package file.

[0044] In addition, according to at least one embodiment of the present invention, the second program package file is obtained by secondary compiling the program package of the first application and the first information, or is obtained by compressing the program package of the first application and the first information.

[0045] In addition, according to at least one embodiment of the present invention, the processor is further configured to read at least one attribute information in the first information saved by the terminal as an application attribute of the first application.

[0046] In addition, according to at least one embodiment of the present invention, the processor is also used to determine a first slice connection identifier corresponding to the application attribute of the first application based on the correspondence between the pre-acquired slice connection identifier and the application attribute; send the first slice connection identifier to the underlying communication unit of the terminal, and the underlying communication unit establishes a first slice connection based on the first slice connection identifier.

[0047] In addition, according to at least one embodiment of the present invention, the processor is also used to send the application attributes of the first application to the underlying communication unit of the terminal; the underlying communication unit determines the first slice connection identifier corresponding to the application attributes of the first application based on the correspondence between the pre-obtained slice connection identifier and the application attributes, and establishes a first slice connection based on the first slice connection identifier.

[0048] According to another aspect of the present invention, at least one embodiment provides a terminal, including:

[0049] an information acquisition module, configured to read first information of the first application when the first application is started, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application;

[0050] a connection establishing module, configured to determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier;

[0051] A transmission module is used to transmit business data of the first application through the first slice connection.

[0052] According to another aspect of the present invention, at least one embodiment provides a terminal, characterized in that it includes: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the method described above when executed by the processor.

[0053] According to another aspect of the present invention, at least one embodiment provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, the steps of the method described above are implemented.

[0054] Compared with the prior art, the terminal communication method, terminal and computer-readable storage medium provided in the embodiments of the present invention attach application attributes as external data information to an application package file or a file containing an application package, so that the terminal system can directly read the application attribute information and establish a slice connection based on it, thereby solving the problem in the prior art that the terminal system cannot obtain or has difficulty in obtaining service attributes, resulting in an inability to establish a slice connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0056] Figure 1 A schematic diagram of an application scenario of an embodiment of the present invention;

[0057] Figure 2 A flow chart of the terminal communication method provided by an embodiment of the present invention when applied to a terminal side;

[0058] Figure 3 An example diagram of the first information provided by the embodiment of the present invention being attached to a target file;

[0059] Figure 4 Another example diagram of the first information provided by the embodiment of the present invention being attached to a target file;

[0060] Figure 5 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention;

[0061] Figure 6 Another structural schematic diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0063] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. "And / or" in the specification and claims represents at least one of the connected objects.

[0064] The technology described herein is not limited to NR systems and Long Time Evolution (LTE) / LTE-Advanced (LTE-A) systems, and can also be used for various wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" are often used interchangeably. A CDMA system can implement radio technologies such as CDMA2000, Universal Terrestrial Radio Access (UTRA). UTRA includes Wideband Code Division Multiple Access (WCDMA) and other CDMA variants. A TDMA system can implement radio technologies such as Global System for Mobile Communication (GSM). OFDMA systems can implement radio technologies such as Ultra Mobile Broadband (UMB), Evolution-UTRA (E-UTRA), IEEE 802.21 (Wi-Fi), IEEE 802.16 (WiMAX), IEEE 802.20, Flash-OFDM, etc. UTRA and E-UTRA are parts of Universal Mobile Telecommunications System (UMTS). LTE and more advanced LTE (such as LTE-A) are new UMTS versions that use E-UTRA. UTRA, E-UTRA, UMTS, LTE, LTE-A, and GSM are described in documents from an organization named "3rd Generation Partnership Project" (3GPP). CDMA2000 and UMB are described in documents from an organization named "3rd Generation Partnership Project 2" (3GPP2).The techniques described herein may be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. However, the following description describes an NR system for example purposes and uses NR terminology in much of the following description, although the techniques may also be applicable to applications other than NR system applications.

[0065] The following description provides examples and does not limit the scope, applicability, or configuration set forth in the claims. Changes may be made to the functions and arrangements of the elements discussed without departing from the spirit and scope of the present disclosure. Various examples may appropriately omit, replace, or add various procedures or components. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

[0066] See also Figure 1 , Figure 1 A block diagram of a wireless communication system applicable to an embodiment of the present invention is shown. The wireless communication system includes a terminal 11 and a network device 12. The terminal 11 may also be referred to as a user terminal or user equipment (UE, User Equipment), and the terminal 11 may be a terminal side device such as a mobile phone, a tablet personal computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present invention. The network device 12 can be a base station and / or a core network element, wherein the above-mentioned base station can be a base station of 5G and later versions (for example: gNB, 5G NR NB, etc.), or a base station in other communication systems (for example: eNB, WLAN access point, or other access point, etc.), wherein the base station can be called a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a B node, an evolved B node (eNB), a home B node, a home evolved B node, a WLAN access point, a WiFi node or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present invention, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited.

[0067] The base station can communicate with the terminal 11 under the control of a base station controller, and in various examples, the base station controller can be part of the core network or certain base stations. Some base stations can communicate control information or user data with the core network via a backhaul. In some examples, some of these base stations can communicate with each other directly or indirectly via a backhaul link, which can be a wired or wireless communication link. The wireless communication system can support operations on multiple carriers (waveform signals of different frequencies). A multi-carrier transmitter can transmit modulated signals on these multiple carriers at the same time. For example, each communication link can be a multi-carrier signal modulated according to various radio technologies. Each modulated signal can be sent on a different carrier and can carry control information (e.g., reference signals, control channels, etc.), overhead information, data, etc.

[0068] The base station can communicate wirelessly with the terminal 11 via one or more access point antennas. Each base station can provide communication coverage for its respective coverage area. The coverage area of ​​the access point can be divided into sectors that constitute only a portion of the coverage area. The wireless communication system may include different types of base stations (e.g., macro base stations, micro base stations, or micro-micro base stations). The base station may also utilize different radio technologies, such as cellular or WLAN radio access technologies. The base station may be associated with the same or different access networks or operator deployments. The coverage areas of different base stations (including coverage areas of the same or different types of base stations, coverage areas utilizing the same or different radio technologies, or coverage areas belonging to the same or different access networks) may overlap.

[0069] The communication link in the wireless communication system may include an uplink for carrying an uplink (UL) transmission (e.g., from the terminal 11 to the network device 12), or a downlink for carrying a downlink (DL) transmission (e.g., from the network device 12 to the terminal 11). UL transmission may also be referred to as reverse link transmission, and DL transmission may also be referred to as forward link transmission. Downlink transmission may be performed using a licensed frequency band, an unlicensed frequency band, or both. Similarly, uplink transmission may be performed using a licensed frequency band, an unlicensed frequency band, or both.

[0070] As described in the background technology, the terminal system of the prior art may have the problem that it is unable to obtain or difficult to obtain service attributes, resulting in an inability to establish a slice connection. In order to solve at least one of the above problems, an embodiment of the present invention provides a terminal communication method, which takes the service attributes as external data information, attaches them to the original APP, and then uses them by the terminal system to establish slices, thereby solving the problem that the service attributes cannot be obtained or are difficult to obtain.

[0071] Please refer to Figure 2, a terminal communication method provided by an embodiment of the present invention, when applied to a terminal side, includes:

[0072] Step 21, when the first application is started, read the first information of the first application, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing the program package of the first application.

[0073] Here, the first application information of the embodiment of the present invention is application attribute information that is obtained in advance from the target file and saved locally in the terminal. For example, the target file may be a program package file of the first application, in which case the first information is attached to the program code of the first application. For another example, the target file is a file that includes a program package of the first application, in which case the first information may exist in the target file in the form of other files that are independent of the program code of the first application. By including the first information in the target file in advance, the terminal system can directly read the first information of the first application that exists locally without having the ability to identify the business attributes of the application, thereby obtaining the application attribute information of the first application.

[0074] Here, the application attribute information may specifically include at least one of the following attribute information:

[0075] 1) Application ID.

[0076] 2) Fully Qualified Domain Name (FQDN).

[0077] 3) IP triplet, such as IP protocol, local address and local port number.

[0078] 4) Non-IP type address.

[0079] 5) Data Network Name (DNN).

[0080] 6) Connection capability type (Connection Capability).

[0081] 7) Network Slice Selection Assistance Information (NSSAI)

[0082] In actual applications, the application attribute information may include one or more of the above attribute information, and may also include other attribute information in addition to the above attribute information. When reading the first information saved by the terminal, the terminal in the embodiment of the present invention may use at least one attribute information in the first information as the application attribute of the first application. For example, the application identifier is used as the application attribute of the first application, and for another example, the combination of the application identifier and the IP triplet is used as the application attribute of the first application, and so on.

[0083] Step 22: determine the first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier.

[0084] Here, an embodiment of the present invention can determine the first slice connection identifier corresponding to the application attribute of the first application based on the correspondence between the pre-acquired slice connection identifier and the application attribute. For example, the terminal can receive a slice configuration rule pre-issued by the network, in which the correspondence between the slice connection identifier and the application attribute is defined, so that the first slice connection identifier can be determined according to the slice configuration rule. Then, the terminal can send the first slice connection identifier to the underlying communication unit (such as a cellular communication unit) of the terminal, and the underlying communication unit establishes the first slice connection according to the first slice connection identifier.

[0085] As another implementation method, an embodiment of the present invention can also directly send the application attributes of the first application to the underlying communication unit (such as a cellular communication unit) of the terminal, and then the underlying communication unit determines the first slice connection identifier corresponding to the application attributes of the first application based on the correspondence between the pre-obtained slice connection identifier and the application attributes, and then establishes the first slice connection based on the first slice connection identifier.

[0086] Step 23: Transmit the business data of the first application through the first slice connection.

[0087] After establishing the first slice connection, the terminal in this embodiment of the present invention can send and receive business data of the first application on the first slice connection.

[0088] Through the above steps, the embodiment of the present invention pre-attaches the application attribute information of the first application to the target file, so that when the terminal system does not have the ability to identify the application attributes, the application attribute information of the first application can be directly read, and then the slice connection identifier can be determined and the slice connection can be established based on the application attribute information.

[0089] Two implementation methods of appending the first information to the target file are provided below.

[0090] In the embodiment of the present invention, the first information can be directly added to the program code of the first application to obtain the first program code; then, the first program code is compiled to obtain the first program package file. In this way, before the above step 21, the terminal can obtain the first program package file, for example, by downloading the first program package file from the network. At this time, the first program package file is obtained by compiling the first program code, such as Figure 3 As shown, the first program code includes the program code of the first application and the first information. Then, the first application is installed on the terminal using the first program package file, and during the installation process, the first information is obtained from the first program code and saved.

[0091] In order to ensure the security and reliability of information, when compiling the first program package file, the embodiment of the present invention can also generate verification information of the first information and save it in the first program package file. In this way, before the terminal follows the first application, it can use the verification information in the first program package file to verify the content integrity and authenticity of the first information, and after the verification is passed, execute the step of installing the first application, and after the verification fails, refuse to install the first application.

[0092] As another implementation, the embodiment of the present invention can pre-compile a program package of the first application (referred to as the third program package file for ease of description), and then append the first information to the program package of the first application to obtain a second program package file. Specifically, the second program package file can be obtained by recompiling the program package of the first application and the first information, or by compressing the program package of the first application and the first information. The terminal can obtain the second program package file by downloading from the network, and at this time, Figure 4 As shown, the second package file is a file obtained by appending the first information to the package of the first application, and the second package file includes the third package file and the first information. Then, the terminal releases the second package file to obtain the third package file and the first information, saves the first information, and uses the third package file to install the first application on the terminal.

[0093] Similarly, in the embodiment of the present invention, when generating the second program package file, verification information of the first information may also be generated and saved in the second program package file. In this way, before the terminal follows the first application, the verification information in the second program package file may be used to verify the content integrity and authenticity of the first information, and after the verification is passed, the terminal may continue to execute the step of releasing the second program package file, and after the verification fails, the terminal may refuse to execute the step of releasing the second program package file.

[0094] It can be seen from the above that the terminal communication method provided in the embodiment of the present invention has the following characteristics:

[0095] 1) The attribute information of the service application (such as application identification information, FQDN information, or IP address information, etc.) is provided and used as a form of external additional information, so that the terminal system can obtain the service attributes even if it does not have the ability to identify the application service attributes.

[0096] 2) The embodiment of the present invention provides two implementation methods for attaching the first information to the application.

[0097] 3) The embodiment of the present invention also designs a set of processes for operating and using the first information, including obtaining the first information, transmitting the first information, etc.

[0098] 4) The embodiment of the present invention also proposes a mechanism for verifying the APP based on verification information.

[0099] Through the above technical features, the embodiments of the present invention solve the problems that current smart terminals are unable to identify service feature attributes and are unable to establish slice connections through service features.

[0100] The above describes various methods of the embodiments of the present invention. The following further provides devices for implementing the above methods.

[0101] Please refer to Figure 5 , an embodiment of the present invention provides a terminal 50, including:

[0102] An information acquisition module 51 is used to read first information of the first application when the first application is started, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application;

[0103] A connection establishing module 52, configured to determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier;

[0104] The transmission module 53 is used to transmit the business data of the first application through the first slice connection.

[0105] Optionally, the terminal further includes:

[0106] The first installation module is used to obtain a first program package file before the first application is started, where the first program package file is compiled from a first program code, where the first program code includes the program code of the first application and the first information; use the first program package file to install the first application on the terminal, and during the installation process, obtain and save the first information from the first program code.

[0107] Optionally, the terminal further includes:

[0108] The first verification module is used to verify the content integrity and authenticity of the first information using the verification information in the first program package file before installing the first application, and to execute the step of installing the first application after the verification is passed, and to refuse to install the first application after the verification fails.

[0109] Optionally, the terminal further includes:

[0110] The second installation module is used to obtain a second program package file, where the second program package file is a file obtained by appending the first information to the program package of the first application; release the second program package file to obtain a third program package file and the first information, save the first information, and use the third program package file to install the first application on the terminal.

[0111] Optionally, the second program package file is obtained by secondary compiling the program package of the first application and the first information, or is obtained by compressing the program package of the first application and the first information.

[0112] Optionally, the terminal further includes:

[0113] The second verification module is used to verify the content integrity and authenticity of the first information by using the verification information in the second program package file before installing the first application, and to continue to execute the step of releasing the second program package file after the verification is passed, and to refuse to execute the release operation on the second program package file after the verification fails.

[0114] Optionally, the application attribute information includes at least one of the following attribute information:

[0115] Application ID:

[0116] Fully Qualified Domain Name (FQDN);

[0117] IP triplet;

[0118] Non-IP type address;

[0119] Data network name DNN;

[0120] Connection Capability type

[0121] Network Slice Selection Assistance Information NSSAI.

[0122] Optionally, the information acquisition module is further used to read at least one kind of attribute information in the first information saved by the terminal as an application attribute of the first application.

[0123] Optionally, the connection establishment module 52 is also used to determine a first slice connection identifier corresponding to the application attribute of the first application based on the correspondence between the pre-obtained slice connection identifier and the application attribute; send the first slice connection identifier to the underlying communication unit of the terminal, and the underlying communication unit establishes a first slice connection based on the first slice connection identifier.

[0124] Optionally, the connection establishment module 52 is also used to send the application attributes of the first application to the underlying communication unit of the terminal; the underlying communication unit determines the first slice connection identifier corresponding to the application attributes of the first application based on the correspondence between the pre-obtained slice connection identifier and the application attributes, and establishes a first slice connection based on the first slice connection identifier.

[0125] It should be noted that the device in this embodiment is the same as the above Figure 2 The device corresponding to the method shown, the implementation methods in the above embodiments are all applicable to the embodiments of the device, and can also achieve the same technical effects. The above device provided by the embodiment of the present invention can implement all the method steps implemented by the above method embodiment, and can achieve the same technical effects. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.

[0126] Please refer to Figure 6 , a schematic diagram of a structure of a terminal provided in an embodiment of the present invention, the terminal 600 includes: a processor 601, a transceiver 602, a memory 603, a user interface 604 and a bus interface.

[0127] In the embodiment of the present invention, the terminal 600 further includes: a program stored in the memory 603 and executable on the processor 601 .

[0128] When the processor 601 executes the program, the following steps are implemented:

[0129] When a first application is started, first information of the first application is read, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application;

[0130] Determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier;

[0131] The business data of the first application is transmitted through the first slice connection.

[0132] Optionally, when the processor executes the program, the processor further implements the following steps:

[0133] Before starting the first application, obtaining a first program package file, where the first program package file is obtained by compiling a first program code, where the first program code includes a program code of the first application and the first information;

[0134] The first application is installed on the terminal using the first program package file, and during the installation process, the first information is obtained from the first program code and saved.

[0135] Optionally, when the processor executes the program, the processor further implements the following steps:

[0136] Before installing the first application, the verification information in the first program package file is used to verify the content integrity and authenticity of the first information, and after the verification is passed, the step of installing the first application is executed, and after the verification fails, the installation of the first application is refused.

[0137] Optionally, when the processor executes the program, the processor further implements the following steps:

[0138] Before the first application is started, a second program package file is obtained, where the second program package file is a file obtained by appending the first information to the program package of the first application;

[0139] The second program package file is released to obtain a third program package file and the first information, the first information is saved, and the first application is installed on the terminal using the third program package file.

[0140] Optionally, the second program package file is obtained by secondary compiling the program package of the first application and the first information, or is obtained by compressing the program package of the first application and the first information.

[0141] Optionally, when the processor executes the program, the processor further implements the following steps:

[0142] Before installing the first application, the verification information in the second program package file is used to verify the content integrity and authenticity of the first information, and after the verification is passed, the step of releasing the second program package file is continued, and after the verification fails, the release operation of the second program package file is refused.

[0143] Optionally, the application attribute information includes at least one of the following attribute information:

[0144] Application ID:

[0145] Fully Qualified Domain Name (FQDN);

[0146] IP triplet;

[0147] Non-IP type address;

[0148] Data network name DNN;

[0149] Connection Capability type

[0150] Network Slice Selection Assistance Information NSSAI.

[0151] Optionally, when the processor executes the program, the processor further implements the following steps:

[0152] At least one kind of attribute information in the first information stored in the terminal is read as an application attribute of the first application.

[0153] Optionally, when the processor executes the program, the processor further implements the following steps:

[0154] Determine, according to a correspondence between a slice connection identifier and an application attribute obtained in advance, a first slice connection identifier corresponding to the application attribute of the first application;

[0155] The first slice connection identifier is sent to the underlying communication unit of the terminal, and the underlying communication unit establishes a first slice connection based on the first slice connection identifier.

[0156] Optionally, when the processor executes the program, the processor further implements the following steps:

[0157] Sending the application attributes of the first application to the bottom layer communication unit of the terminal;

[0158] The underlying communication unit determines the first slice connection identifier corresponding to the application attribute of the first application based on the correspondence between the pre-obtained slice connection identifier and the application attribute, and establishes a first slice connection based on the first slice connection identifier.

[0159] It is understandable that in the embodiment of the present invention, when the computer program is executed by the processor 601, the above Figure 2 The various processes of the terminal communication method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0160] exist Figure 6 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 601 and various circuits of memory represented by memory 603 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 602 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 604 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0161] The processor 601 is responsible for managing the bus architecture and general processing, and the memory 603 can store data used by the processor 601 when performing operations.

[0162] It should be noted that the terminal in this embodiment is the same as the above Figure 2 The terminal corresponding to the method shown, the implementation methods in the above embodiments are all applicable to the embodiments of the terminal, and can also achieve the same technical effect. In the terminal, the transceiver 602 and the memory 603, as well as the transceiver 602 and the processor 601 can be connected through the bus interface communication, the function of the processor 601 can also be implemented by the transceiver 602, and the function of the transceiver 602 can also be implemented by the processor 601. It should be noted that the above terminal provided by the embodiment of the present invention can implement all the method steps implemented by the above method embodiment, and can achieve the same technical effect, and the parts and beneficial effects that are the same as the method embodiment in this embodiment will not be specifically repeated here.

[0163] In some embodiments of the present invention, a computer-readable storage medium is further provided, on which a program is stored, and when the program is executed by a processor, the following steps are implemented:

[0164] When a first application is started, first information of the first application is read, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application;

[0165] Determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier;

[0166] The business data of the first application is transmitted through the first slice connection.

[0167] When the program is executed by the processor, it can implement all the implementation methods of the terminal communication method applied to the terminal side and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0168] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0169] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0170] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0172] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0173] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0174] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A terminal communication method, characterized in that: include: When a first application is started, first information of the first application is read, wherein the first information is application attribute information obtained in advance from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application; when the target file is a program package file of the first application, the first information is attached to a program code of the first application; when the target file is a file containing a program package of the first application, the first information exists in the target file in the form of other files independent of the program code of the first application; Determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier; Transmitting service data of a first application through the first slice connection; Before the first application is started, the method further includes: Acquire a first program package file, where the first program package file is obtained by compiling a first program code, where the first program code includes a program code of the first application and the first information; Using the first program package file, installing the first application on the terminal, and during the installation process, obtaining and saving the first information from the first program code; or, Before the first application is started, the method further includes: Acquire a second program package file, where the second program package file is a file obtained by appending the first information to the program package of the first application; The second program package file is released to obtain a third program package file and the first information, the first information is saved, and the first application is installed on the terminal using the third program package file.

2. The method according to claim 1, characterized in that Before installing the first application, the method further includes: The verification information in the first program package file is used to verify the content integrity and authenticity of the first information, and after the verification is passed, the step of installing the first application is executed, and after the verification fails, the installation of the first application is refused.

3. The method according to claim 1, characterized in that The second program package file is obtained by recompiling the program package of the first application and the first information, or is obtained by compressing the program package of the first application and the first information.

4. The method according to claim 1, characterized in that Before installing the first application, the method further includes: Verifying the integrity and authenticity of the first information using the verification information in the second program package file, and continuing to execute the step of releasing the second program package file if the verification passes, and refusing to execute the step of releasing the second program package file if the verification fails.

5. The method according to any one of claims 1 to 4, characterized in that: The application attribute information includes at least one of the following attribute information: Application ID: Fully Qualified Domain Name (FQDN); IP triplet; Non-IP type address; Data network name DNN; Connection Capability type Network Slice Selection Assistance Information NSSAI.

6. The method according to claim 5, characterized in that The reading the first information of the first application includes: At least one kind of attribute information in the first information stored in the terminal is read as an application attribute of the first application.

7. The method according to claim 6, characterized in that The determining a first slice connection identifier corresponding to the first information, and establishing a first slice connection according to the first slice connection identifier, includes: Determine, according to a correspondence between a slice connection identifier and an application attribute obtained in advance, a first slice connection identifier corresponding to the application attribute of the first application; The first slice connection identifier is sent to the underlying communication unit of the terminal, and the underlying communication unit establishes a first slice connection based on the first slice connection identifier.

8. The method according to claim 6, characterized in that The determining a first slice connection identifier corresponding to the first information, and establishing a first slice connection according to the first slice connection identifier, includes: Sending the application attributes of the first application to the bottom layer communication unit of the terminal; The underlying communication unit determines the first slice connection identifier corresponding to the application attribute of the first application based on the correspondence between the pre-obtained slice connection identifier and the application attribute, and establishes a first slice connection based on the first slice connection identifier.

9. A terminal, characterized in that: comprising a transceiver and a processor, wherein: The processor is configured to read first information of the first application when the first application is started, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application; determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier; when the target file is a program package file of the first application, the first information is attached to a program code of the first application; when the target file is a file containing a program package of the first application, the first information exists in the target file in a manner of other files independent of the program code of the first application; The transceiver is used to transmit service data of the first application through the first slice connection; The processor is further configured to obtain a first program package file before starting the first application, where the first program package file is obtained by compiling a first program code, where the first program code includes a program code of the first application and the first information; install the first application on the terminal using the first program package file, and obtain and save the first information from the first program code during the installation process; or, The processor is further configured to obtain a second program package file before starting the first application, where the second program package file is a file obtained by appending the first information to the program package of the first application; release the second program package file to obtain a third program package file and the first information, save the first information, and install the first application on the terminal using the third program package file.

10. The terminal according to claim 9, characterized in that The second program package file is obtained by recompiling the program package of the first application and the first information, or is obtained by compressing the program package of the first application and the first information.

11. The terminal according to claim 9, characterized in that The processor is further configured to read at least one attribute information in the first information stored in the terminal as an application attribute of the first application.

12. The terminal according to claim 11, characterized in that The processor is also used to determine a first slice connection identifier corresponding to the application attribute of the first application based on the correspondence between the pre-acquired slice connection identifier and the application attribute; send the first slice connection identifier to the underlying communication unit of the terminal, and the underlying communication unit establishes a first slice connection based on the first slice connection identifier.

13. The terminal according to claim 11, characterized in that: The processor is also used to send the application attributes of the first application to the underlying communication unit of the terminal; the underlying communication unit determines the first slice connection identifier corresponding to the application attributes of the first application based on the correspondence between the pre-acquired slice connection identifier and the application attributes, and establishes a first slice connection based on the first slice connection identifier.

14. A terminal, characterized in that: include: an information acquisition module, configured to read first information of the first application when the first application is started, wherein the first information is application attribute information pre-acquired from a target file, and the target file is a program package file of the first application or a file containing a program package of the first application; when the target file is a program package file of the first application, the first information is attached to a program code of the first application; when the target file is a file containing a program package of the first application, the first information exists in the target file in the form of other files independent of the program code of the first application; a connection establishing module, configured to determine a first slice connection identifier corresponding to the first information, and establish a first slice connection according to the first slice connection identifier; A transmission module, used to transmit service data of a first application through the first slice connection; a first installation module, configured to obtain a first program package file before starting the first application, wherein the first program package file is obtained by compiling a first program code, wherein the first program code includes a program code of the first application and the first information; install the first application on the terminal using the first program package file, and obtain and save the first information from the first program code during the installation process; The second installation module is used to obtain a second program package file, where the second program package file is a file obtained by appending the first information to the program package of the first application; release the second program package file to obtain a third program package file and the first information, save the first information, and use the third program package file to install the first application on the terminal.

15. A terminal, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method according to any one of claims 1 to 8.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.