CN114143303A - Terminal communication method, terminal and computer readable storage medium - Google Patents

Terminal communication method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN114143303A
CN114143303A CN202010916583.8A CN202010916583A CN114143303A CN 114143303 A CN114143303 A CN 114143303A CN 202010916583 A CN202010916583 A CN 202010916583A CN 114143303 A CN114143303 A CN 114143303A
Authority
CN
China
Prior art keywords
application
information
terminal
slice connection
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010916583.8A
Other languages
Chinese (zh)
Inventor
金晨光
李男
宋丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010916583.8A priority Critical patent/CN114143303A/en
Publication of CN114143303A publication Critical patent/CN114143303A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to a terminal communication method, a terminal and a computer readable storage medium, wherein the application attribute is used as external data information and is added to an application program package file or a file containing an application program package, so that a terminal system can directly read the application attribute information and establish slice connection according to the application attribute information, and the problem that the slice connection cannot be established because the terminal system cannot acquire or is difficult to acquire service attributes in the prior art is solved.

Description

Terminal communication method, terminal and computer readable storage medium
Technical Field
The invention relates to the technical field of mobile communication, in particular to a terminal communication method, a terminal and a computer readable storage medium.
Background
The network slice is an important service capability of 5G mobile communication, is associated and bound with a certain service characteristic of a service application based on a network slice identifier, and provides a customized service for the service data transmission on the network slice connection.
In the existing cellular mobile communication technology, a mobile Network issues a slice configuration rule to a terminal to instruct the terminal to bind with a slice Connection identifier based on some service features, such as an application identifier (APP ID), a Fully Qualified Domain Name (FQDN), an IP triplet, a Data Network Name (DNN), or a Connection Capability (Connection Capability).
The terminal identifies the service characteristics of the application, obtains the service characteristic description of the service, such as the identification modes of APP ID, FQDN, IP triple, DNN, Connection Capability and the like of the application, establishes association with the corresponding slice Connection according to the slice configuration rule provided by the mobile network, and receives and sends data through the slice Connection. If the terminal cannot identify the service features of the service, the terminal cannot establish an association relationship with the slice connection, and cannot establish and use the slice connection.
In 5G communication, in order to support the network slicing feature, a terminal should have the following capabilities, which mainly include: 1) identifying the service characteristic attribute of the service application, and acquiring the service characteristic attribute (such as identification modes of an APPID, an FQDN, an IP triple and the like) of the service; 2) according to the slice configuration rule provided by the cellular network, the service characteristic attribute and the corresponding slice connection identifier are associated and bound; 3) based on the established association binding relationship, the terminal establishes exclusive slice connection; 4) and transmitting and receiving the data packet of the service application on the slice connection.
However, the following problems currently exist: the terminal system does not have the capability of identifying, extracting and transmitting the attributes of the service application, so that the terminal cannot establish the slice connection service based on the service characteristic attributes according to the indication of the configuration rule.
Disclosure of Invention
At least one embodiment of the present invention provides a terminal communication method, a terminal and a network device, which solve the problem that in the prior art, a terminal system cannot acquire or is difficult to acquire a service attribute, so that slice connection cannot be established.
According to an aspect of the present invention, at least one embodiment provides a terminal communication method, including:
reading first information of a first application when the first application is started, wherein the first information is application attribute information acquired from an object file in advance, and the object file is a package file of the first application or a file containing the package of the first application;
determining a first slice connection identifier corresponding to the first information, and establishing first slice connection according to the first slice connection identifier;
and transmitting the service data of the first application through the first slice connection.
Further, in accordance with at least one embodiment of the present invention, before the first application is launched, the method further comprises:
acquiring a first program package file, wherein the first program package file is obtained by compiling a first program code, and the first program code comprises a program code of the first application and the first information;
and installing the first application on the terminal by using the first program package file, and acquiring and storing the first information from the first program code in the installation process.
Further, in accordance with at least one embodiment of the present invention, prior to installing the first application, the method further comprises:
verifying the content integrity and authenticity of the first information by using the verification information in the first program package file, executing the step of installing the first application after the verification is passed, and refusing to install the first application after the verification fails.
Further, in accordance with at least one embodiment of the present invention, before the first application is launched, the method further comprises:
acquiring a second program package file, wherein the second program package file is obtained by attaching the first information to the program package of the first application;
and releasing the second program package file to obtain a third program package file and the first information, saving the first information, and installing the first application on the terminal by using the third program package file.
Furthermore, according to at least one embodiment of the present invention, the second package file is obtained by performing secondary compilation on the package of the first application and the first information, or is obtained by compressing the package of the first application and the first information.
Further, in accordance with at least one embodiment of the present invention, prior to installing the first application, the method further comprises:
verifying the content integrity and the authenticity of the first information by using the verification information in the second program package file, continuing to execute the step of releasing the second program package file after the verification is passed, and refusing to execute the releasing operation of the second program package file after the verification fails.
Further, according to at least one embodiment of the present invention, the application attribute information includes at least one of the following at least attribute information:
an application identifier (APP ID);
a fully qualified domain name FQDN;
an IP triple;
a Non-IP type address;
a data network name DNN;
a Connection Capability type Connection Capability;
network slice selection assistance information NSSAI.
Further, according to at least one embodiment of the present invention, the reading the first information of the first application includes:
and reading at least one attribute information in the first information stored by the terminal as an application attribute of the first application.
Furthermore, 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:
determining a first slice connection identifier corresponding to the application attribute of the first application according to a corresponding relation between the slice connection identifier and the application attribute obtained in advance;
and sending the first slice connection identifier to a bottom layer communication unit of the terminal, and establishing first slice connection by the bottom layer communication unit according to the first slice connection identifier.
Furthermore, 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:
sending the application attribute of the first application to a bottom layer communication unit of the terminal;
and the bottom layer communication unit determines a first slice connection identifier corresponding to the application attribute of the first application according to the corresponding relation between the slice connection identifier and the application attribute obtained in advance, and establishes first slice connection according to the first slice connection identifier.
In accordance with another aspect of the present invention, at least one embodiment provides a terminal comprising a transceiver and a processor, wherein,
the processor is configured to read first information of a first application when the first application is started, where the first information is application attribute information acquired from an object file in advance, and the object file is a package file of the first application or a file containing the package of the first application; determining a first slice connection identifier corresponding to the first information, and establishing first slice connection according to the first slice connection identifier;
the transceiver is configured to transmit service data of a first application through the first slice connection.
Furthermore, according to at least one embodiment of the present invention, the processor is further configured to, before the first application is started, obtain a first package file, where the first package file is obtained by compiling a first program code, and the first program code includes the program code of the first application and the first information; and installing the first application on the terminal by using the first program package file, and acquiring and storing the first information from the first program code in the installation process.
In addition, according to at least one embodiment of the present invention, the processor is further configured to, before the first application is started, obtain a second package file, where the second package file is a file obtained after the first information is attached to the package of the first application; and releasing the second program package file to obtain a third program package file and the first information, saving the first information, and installing the first application on the terminal by using the third program package file.
Furthermore, according to at least one embodiment of the present invention, the second package file is obtained by performing secondary compilation on the package of the first application and the first information, or is obtained by compressing the package of the first application and the first information.
Furthermore, 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.
In addition, according to at least one embodiment of the present invention, the processor is further configured to 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; and sending the first slice connection identifier to a bottom layer communication unit of the terminal, and establishing first slice connection by the bottom layer communication unit according to the first slice connection identifier.
Furthermore, according to at least one embodiment of the present invention, the processor is further configured to send the application attribute of the first application to an underlying communication unit of the terminal; and the bottom layer communication unit determines a first slice connection identifier corresponding to the application attribute of the first application according to the corresponding relation between the slice connection identifier and the application attribute obtained in advance, and establishes first slice connection according to the first slice connection identifier.
According to another aspect of the present invention, at least one embodiment provides a terminal including:
the information acquisition module is used for reading first information of a first application when the first application is started, wherein the first information is application attribute information acquired from an object file in advance, and the object file is a program package file of the first application or a file containing the program package of the first application;
the connection establishing module is used for determining a first slice connection identifier corresponding to the first information and establishing first slice connection according to the first slice connection identifier;
and the transmission module is used for transmitting the service data of the first application through the first slice connection.
According to another aspect of the present invention, at least one embodiment provides a terminal, comprising: a processor, a memory and a program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the method as described above.
According to another aspect of the invention, at least one embodiment provides a computer readable storage medium having a program stored thereon, which when executed by a processor, performs the steps of the method as described above.
Compared with the prior art, the terminal communication method, the terminal and the computer readable storage medium provided by the embodiment of the invention have the advantages that the application attribute is used as the external data information and is attached to the application program package file or the file containing the application program package, so that the terminal system can directly read the application attribute information and establish slice connection according to the application attribute information, and the problem that the slice connection cannot be established due to the fact that the terminal system cannot acquire or is difficult to acquire the service attribute in the prior art is solved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic view of an application scenario according to an embodiment of the present invention;
fig. 2 is a flowchart of a terminal communication method applied to a terminal side according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example of attaching first information to a target file according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating another example of attaching first information to a target file according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. In the description and in the claims "and/or" means at least one of the connected objects.
The techniques described herein are not limited to NR systems and Long Time Evolution (LTE)/LTE Evolution (LTE-a) systems, and may 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. CDMA systems may implement Radio technologies such as CDMA2000, Universal Terrestrial Radio Access (UTRA), and so on. UTRA includes Wideband CDMA (Wideband Code Division Multiple Access, WCDMA) and other CDMA variants. TDMA systems may implement radio technologies such as Global System for Mobile communications (GSM). The OFDMA system may implement radio technologies such as Ultra Mobile Broadband (UMB), evolved-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 the Universal Mobile Telecommunications System (UMTS). LTE and higher LTE (e.g., LTE-A) are new UMTS releases that use E-UTRA. UTRA, E-UTRA, UMTS, LTE-A, and GSM are described in documents from an organization named "third Generation Partnership Project" (3 GPP). CDMA2000 and UMB are described in documents from an organization named "third generation partnership project 2" (3GPP 2). The techniques described herein may be used for both the above-mentioned systems and radio technologies, as well as for other systems and radio technologies. However, the following description describes the NR system for purposes of example, and NR terminology is used in much of the description below, although the techniques may also be applied to applications other than NR system applications.
The following description provides examples and does not limit the scope, applicability, or configuration set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the spirit and scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the described methods may be performed in an order different than 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.
Referring to fig. 1, fig. 1 is a block diagram of a wireless communication system to which an embodiment of the present invention is applicable. 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 a User Equipment (UE), where the terminal 11 may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or a vehicle-mounted Device, and the specific type of the terminal 11 is not limited in the embodiment of the present invention. The network device 12 may be a Base Station and/or a core network element, wherein the Base Station may be a 5G or later-version Base Station (e.g., a gNB, a 5G NR NB, etc.), or a Base Station in other communication systems (e.g., an eNB, a WLAN access point, or other access points, etc.), wherein the Base Station may be referred to as a node B, an evolved node B, an access point, a Base Transceiver Station (BTS), a radio Base Station, a radio Transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a node B, an evolved node B (eNB), a home node B, a home evolved node B, a WLAN access point, a WiFi node, or some other suitable terminology in the field, as long as the same technical effect is achieved, the Base Station is not limited to a specific technical vocabulary, it should be noted that, in the embodiment of the present invention only takes the Base Station in the NR system as an example, but does not limit the specific type of base station.
The base stations may communicate with the terminals 11 under the control of a base station controller, which may be part of the core network or some of the base stations in various examples. Some base stations may communicate control information or user data with the core network through a backhaul. In some examples, some of the base stations may communicate with each other, directly or indirectly, over backhaul links, which may be wired or wireless communication links. A wireless communication system may support operation on multiple carriers (waveform signals of different frequencies). A multi-carrier transmitter can transmit modulated signals on the multiple carriers simultaneously. For example, each communication link may be a multi-carrier signal modulated according to various radio technologies. Each modulated signal may be transmitted on a different carrier and may carry control information (e.g., reference signals, control channels, etc.), overhead information, data, and so on.
The base station may communicate wirelessly with the terminal 11 via one or more access point antennas. Each base station may provide communication coverage for a respective coverage area. The coverage area of an access point may be divided into sectors that form only a portion of the coverage area. A wireless communication system may include different types of base stations (e.g., macro, micro, or pico base stations). The base stations may also utilize different radio technologies, such as cellular or WLAN radio access technologies. The base stations may be associated with the same or different access networks or operator deployments. The coverage areas of different base stations (including coverage areas of base stations of the same or different types, coverage areas utilizing the same or different radio technologies, or coverage areas belonging to the same or different access networks) may overlap.
The communication links in a wireless communication system may comprise an Uplink for carrying Uplink (UL) transmissions (e.g., from terminal 11 to network device 12) or a Downlink for carrying Downlink (DL) transmissions (e.g., from network device 12 to terminal 11). The UL transmission may also be referred to as reverse link transmission, while the DL transmission may also be referred to as forward link transmission. Downlink transmissions may be made using licensed frequency bands, unlicensed frequency bands, or both. Similarly, uplink transmissions may be made using licensed frequency bands, unlicensed frequency bands, or both.
As described in the background art, a terminal system in the prior art may have a problem that a slice connection cannot be established due to a fact that a service attribute cannot be obtained or is difficult to obtain, and to solve at least one of the above problems, an embodiment of the present invention provides a terminal communication method, in which a service attribute is used as external data information, and is attached to an original APP, and then the terminal system operates and uses and establishes a slice, thereby solving a problem that a service attribute cannot be obtained or is difficult to obtain.
Referring to fig. 2, a terminal communication method according to an embodiment of the present invention, when applied to a terminal side, includes:
step 21, when a first application is started, reading first information of the first application, wherein the first information is application attribute information acquired from an object file in advance, and the object file is a package file of the first application or a file containing the package of the first application.
Here, the first application information in the embodiment of the present invention is application attribute information that is acquired from the target file in advance and is stored locally in the terminal. For example, the object file may be a package file of a first application, and in this case, the first information is attached to the program code of the first application. For another example, the target file may be a file containing a package of the first application, and in this case, the first information may be present in the target file as another file independent of a 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 which exists locally under the condition that the terminal system does not have the identification capability of acquiring the service attribute of the application, so that the application attribute information of the first application is acquired.
Here, the application attribute information may specifically include at least one of the following attribute information:
1) application identification (APP ID).
2) A Fully Qualified Domain Name (FQDN).
3) IP triplets such as IP protocol, local address and local port number.
4) Non-IP (Non-IP) type addresses.
5) Data Network Name (DNN).
6) Connection Capability type (Connection Capability).
7) Network Slice Selection Assistance Information (NSSAI).
In practical applications, the application attribute information may include one or more of the above attribute information, and may include other attribute information besides the above attribute information. In the embodiment of the present invention, when reading the first information stored in the terminal, the terminal may use at least one attribute information in the first information as an application attribute of a first application. For example, the application identifier is used as an application attribute of the first application, and for example, a combination of the application identifier and an IP triplet is used as an application attribute of the first application, and so on.
And step 22, determining a first slice connection identifier corresponding to the first information, and establishing first slice connection according to the first slice connection identifier.
Here, in the embodiment of the present invention, the first slice connection identifier corresponding to the application attribute of the first application may be determined according to a correspondence relationship between the slice connection identifier and the application attribute obtained in advance. For example, the terminal may receive a slice configuration rule issued in advance by the network, where the slice configuration rule defines a correspondence between a slice connection identifier and an application attribute, so that the first slice connection identifier may be determined according to the slice configuration rule. The terminal may then send the first slice connection identifier to an underlying communication unit (e.g., a cellular communication unit) of the terminal, and the underlying communication unit establishes the first slice connection according to the first slice connection identifier.
As another implementation manner, in the embodiment of the present invention, the application attribute of the first application may also be directly sent to a bottom layer communication unit (e.g., a cellular communication unit) of the terminal, and then the bottom layer communication unit determines, 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, and further establishes a first slice connection according to the first slice connection identifier.
And step 23, transmitting the service data of the first application through the first slice connection.
After the first slice connection is established, the terminal according to the embodiment of the present invention may perform the transceiving of the service data of the first application on the first slice connection.
Through the above steps, the embodiment of the present invention attaches the application attribute information of the first application to the target file in advance, so that the application attribute information of the first application can be directly read under the condition that the terminal system does not have the capability of identifying the application attribute, and then the slice connection identifier is determined and the slice connection is established based on the application attribute information.
Two implementations of attaching the first information to the target file are provided below.
The embodiment of the invention can directly attach the first information to the program code of the first application to obtain the first program code; and then compiling the first program code to obtain a first program package file. In this way, before the above step 21, the terminal may acquire the first package file, for example, download the first package file from the network. At this time, the first package file is obtained by compiling a first program code, and as shown in fig. 3, the first program code includes a program code of the first application and the first information. And then, installing the first application on the terminal by using the first program package file, and acquiring and storing the first information from the first program code in the installation process.
In order to ensure the security and reliability of information, in the embodiment of the present invention, when the first package file is compiled, verification information of the first information may be generated and stored in the first package file. In this way, before the terminal is according to the first application, the terminal may verify the content integrity and authenticity of the first information by using the check information in the first package file, and after the verification passes, execute the step of installing the first application, and after the verification fails, refuse to install the first application.
As another implementation manner, in the embodiment of the present invention, a package of a first application (for convenience of description, referred to as a third package file) may be compiled in advance, and then, after the first information is attached to the package of the first application, a second package file is obtained. Specifically, the second package file may be obtained by performing secondary compilation on the package of the first application and the first information, or obtained by compressing the package of the first application and the first information. The terminal may obtain a second package file through network downloading, and the like, where the second package file is obtained by attaching the first information to the package of the first application, and the second package file includes the third package file and the first information, as shown in fig. 4. And then, the terminal releases the second program package file to obtain a third program package file and the first information, stores the first information, and installs the first application on the terminal by using the third program package file.
Similarly, in the embodiment of the present invention, when the second package file is generated, verification information of the first information may also be generated and stored in the second package file. In this way, before the terminal is applied according to the first application, the terminal may verify the content integrity and authenticity of the first information by using the check information in the second package file, and after the verification is passed, continue to perform the step of releasing the second package file, and after the verification fails, refuse to perform the release operation on the second package file.
As can be seen from the above description, the terminal communication method provided in the embodiment of the present invention has the following characteristics:
1) the attribute information of the service application (such as application identification information, FQDN information, or IP address information) is provided and used as an external additional information, so that the service attribute can be obtained even if the terminal system does not have application service attribute identification.
2) The embodiment of the invention provides two implementation modes for adding the first information in the application program.
3) The embodiment of the invention also designs a set of processes for operating and using the first information, which comprises the steps of acquiring the first information, transmitting the first information and the like.
4) The embodiment of the invention also provides a mechanism for checking the APP based on the checking information.
Through the technical characteristics, the embodiment of the invention solves the problems that the current intelligent terminal cannot identify the service characteristic attribute and cannot establish slice connection through the service characteristic and the like.
Various methods of embodiments of the present invention have been described above. An apparatus for carrying out the above method is further provided below.
Referring to fig. 5, an embodiment of the present invention provides a terminal 50, including:
an information obtaining module 51, configured to read first information of a first application when the first application is started, where the first information is application attribute information obtained in advance from an object file, and the object file is a package file of the first application or a file containing the package of the first application;
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;
and a transmission module 53, configured to transmit the service data of the first application through the first slice connection.
Optionally, the terminal further includes:
the first installation module is used for acquiring a first program package file before a first application is started, wherein the first program package file is obtained by compiling a first program code, and the first program code comprises a program code of the first application and the first information; and installing the first application on the terminal by using the first program package file, and acquiring and storing the first information from the first program code in the installation process.
Optionally, the terminal further includes:
the first verification module is used for verifying the content integrity and the authenticity of the first information by utilizing the verification information in the first program package file before the first application is installed, executing the step of installing the first application after the verification is passed, and refusing to install the first application after the verification fails.
Optionally, the terminal further includes:
a second installation module, configured to obtain a second package file, where the second package file is obtained by attaching the first information to the package of the first application; and releasing the second program package file to obtain a third program package file and the first information, saving the first information, and installing the first application on the terminal by using the third program package file.
Optionally, the second package file is obtained by performing secondary compilation on the package of the first application and the first information, or is obtained by compressing the package of the first application and the first information.
Optionally, the terminal further includes:
and the second check module is used for verifying the content integrity and the authenticity of the first information by using the check information in the second program package file before the first application is installed, continuing to execute the step of releasing the second program package file after the verification is passed, and refusing to execute the release operation on the second program package file after the verification is failed.
Optionally, the application attribute information includes at least one of the following at least attribute information:
an application identifier (APP ID);
a fully qualified domain name FQDN;
an IP triple;
a Non-IP type address;
a data network name DNN;
a Connection Capability type Connection Capability;
network slice selection assistance information NSSAI.
Optionally, the information obtaining module is further configured to read at least one attribute information in the first information stored in the terminal, where the attribute information is used as an application attribute of the first application.
Optionally, the connection establishing module 52 is further configured to 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; and sending the first slice connection identifier to a bottom layer communication unit of the terminal, and establishing first slice connection by the bottom layer communication unit according to the first slice connection identifier.
Optionally, the connection establishing module 52 is further configured to send the application attribute of the first application to a bottom-layer communication unit of the terminal; and the bottom layer communication unit determines a first slice connection identifier corresponding to the application attribute of the first application according to the corresponding relation between the slice connection identifier and the application attribute obtained in advance, and establishes first slice connection according to the first slice connection identifier.
It should be noted that the apparatus in this embodiment is an apparatus corresponding to the method shown in fig. 2, and the implementation manners in the above embodiments are all applicable to the embodiment of the apparatus, and the same technical effects can be achieved. The apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment, and can achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are not repeated here.
Referring to fig. 6, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown, where the terminal 600 includes: a processor 601, a transceiver 602, a memory 603, a user interface 604 and a bus interface.
In this embodiment of the present invention, the terminal 600 further includes: a program stored in the memory 603 and executable on the processor 601.
The processor 601, when executing the program, implements the following steps: '
Reading first information of a first application when the first application is started, wherein the first information is application attribute information acquired from an object file in advance, and the object file is a package file of the first application or a file containing the package of the first application;
determining a first slice connection identifier corresponding to the first information, and establishing first slice connection according to the first slice connection identifier;
and transmitting the service data of the first application through the first slice connection.
Optionally, the processor further implements the following steps when executing the program:
before a first application is started, acquiring a first program package file, wherein the first program package file is obtained by compiling a first program code, and the first program code comprises a program code of the first application and first information;
and installing the first application on the terminal by using the first program package file, and acquiring and storing the first information from the first program code in the installation process.
Optionally, the processor further implements the following steps when executing the program:
before the first application is installed, verifying the content integrity and authenticity of the first information by using the verification information in the first program package file, executing the step of installing the first application after the verification is passed, and refusing to install the first application after the verification fails.
Optionally, the processor further implements the following steps when executing the program:
before a first application is started, acquiring a second program package file, wherein the second program package file is a file obtained after the first information is attached to a program package of the first application;
and releasing the second program package file to obtain a third program package file and the first information, saving the first information, and installing the first application on the terminal by using the third program package file.
Optionally, the second package file is obtained by performing secondary compilation on the package of the first application and the first information, or is obtained by compressing the package of the first application and the first information.
Optionally, the processor further implements the following steps when executing the program:
before the first application is installed, verifying the content integrity and the authenticity of the first information by using the check information in the second program package file, continuing to execute the step of releasing the second program package file after the verification is passed, and refusing to execute the releasing operation of the second program package file after the verification fails.
Optionally, the application attribute information includes at least one of the following at least attribute information:
an application identifier (APP ID);
a fully qualified domain name FQDN;
an IP triple;
a Non-IP type address;
a data network name DNN;
a Connection Capability type Connection Capability;
network slice selection assistance information NSSAI.
Optionally, the processor further implements the following steps when executing the program:
and reading at least one attribute information in the first information stored by the terminal as an application attribute of the first application.
Optionally, the processor further implements the following steps when executing the program:
determining a first slice connection identifier corresponding to the application attribute of the first application according to a corresponding relation between the slice connection identifier and the application attribute obtained in advance;
and sending the first slice connection identifier to a bottom layer communication unit of the terminal, and establishing first slice connection by the bottom layer communication unit according to the first slice connection identifier.
Optionally, the processor further implements the following steps when executing the program:
sending the application attribute of the first application to a bottom layer communication unit of the terminal;
and the bottom layer communication unit determines a first slice connection identifier corresponding to the application attribute of the first application according to the corresponding relation between the slice connection identifier and the application attribute obtained in advance, and establishes first slice connection according to the first slice connection identifier.
It can be understood that, in the embodiment of the present invention, when being executed by the processor 601, the computer program can implement each process of the terminal communication method embodiment shown in fig. 2, and can achieve the same technical effect, and is not described herein again to avoid repetition.
In fig. 6, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 601 and various circuits of memory represented by memory 603 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 602 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 604 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 601 is responsible for managing the bus architecture and general processing, and the memory 603 may store data used by the processor 601 in performing operations.
It should be noted that the terminal in this embodiment is a terminal corresponding to the method shown in fig. 2, and the implementation manners in the above embodiments are all applicable to the embodiment of the terminal, and the same technical effects can be achieved. In the terminal, the transceiver 602 and the memory 603, and the transceiver 602 and the processor 601 may be communicatively connected through a bus interface, and the functions of the processor 601 may also be implemented by the transceiver 602, and the functions of the transceiver 602 may also be implemented by the processor 601. It should be noted that, the terminal provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
In some embodiments of the invention, there is also provided a computer readable storage medium having a program stored thereon, which when executed by a processor, performs the steps of:
reading first information of a first application when the first application is started, wherein the first information is application attribute information acquired from an object file in advance, and the object file is a package file of the first application or a file containing the package of the first application;
determining a first slice connection identifier corresponding to the first information, and establishing first slice connection according to the first slice connection identifier;
and transmitting the service data of the first application through the first slice connection.
When executed by the processor, the program can implement all implementation manners in the terminal communication method applied to the terminal side, and can achieve the same technical effect, and is not described herein again to avoid repetition.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (20)

1. A terminal communication method, comprising:
reading first information of a first application when the first application is started, wherein the first information is application attribute information acquired from an object file in advance, and the object file is a package file of the first application or a file containing the package of the first application;
determining a first slice connection identifier corresponding to the first information, and establishing first slice connection according to the first slice connection identifier;
and transmitting the service data of the first application through the first slice connection.
2. The method of claim 1, wherein prior to the first application launching, the method further comprises:
acquiring a first program package file, wherein the first program package file is obtained by compiling a first program code, and the first program code comprises a program code of the first application and the first information;
and installing the first application on the terminal by using the first program package file, and acquiring and storing the first information from the first program code in the installation process.
3. The method of claim 2, wherein prior to installing the first application, the method further comprises:
verifying the content integrity and authenticity of the first information by using the verification information in the first program package file, executing the step of installing the first application after the verification is passed, and refusing to install the first application after the verification fails.
4. The method of claim 1, wherein prior to the first application launching, the method further comprises:
acquiring a second program package file, wherein the second program package file is obtained by attaching the first information to the program package of the first application;
and releasing the second program package file to obtain a third program package file and the first information, saving the first information, and installing the first application on the terminal by using the third program package file.
5. The method of claim 4,
the second package file is obtained by performing secondary compilation on the package of the first application and the first information, or is obtained by compressing the package of the first application and the first information.
6. The method of claim 4, wherein prior to installing the first application, the method further comprises:
verifying the content integrity and the authenticity of the first information by using the verification information in the second program package file, continuing to execute the step of releasing the second program package file after the verification is passed, and refusing to execute the releasing operation of the second program package file after the verification fails.
7. The method according to any of claims 1 to 6, wherein the application property information comprises at least one of the following at least property information:
an application identifier (APP ID);
a fully qualified domain name FQDN;
an IP triple;
a Non-IP type address;
a data network name DNN;
a Connection Capability type Connection Capability;
network slice selection assistance information NSSAI.
8. The method of claim 7, wherein the reading the first information of the first application comprises:
and reading at least one attribute information in the first information stored by the terminal as an application attribute of the first application.
9. The method of claim 8, wherein 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 comprises:
determining a first slice connection identifier corresponding to the application attribute of the first application according to a corresponding relation between the slice connection identifier and the application attribute obtained in advance;
and sending the first slice connection identifier to a bottom layer communication unit of the terminal, and establishing first slice connection by the bottom layer communication unit according to the first slice connection identifier.
10. The method of claim 8, wherein 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 comprises:
sending the application attribute of the first application to a bottom layer communication unit of the terminal;
and the bottom layer communication unit determines a first slice connection identifier corresponding to the application attribute of the first application according to the corresponding relation between the slice connection identifier and the application attribute obtained in advance, and establishes first slice connection according to the first slice connection identifier.
11. A terminal comprising a transceiver and a processor, wherein,
the processor is configured to read first information of a first application when the first application is started, where the first information is application attribute information acquired from an object file in advance, and the object file is a package file of the first application or a file containing the package of the first application; determining a first slice connection identifier corresponding to the first information, and establishing first slice connection according to the first slice connection identifier;
the transceiver is configured to transmit service data of a first application through the first slice connection.
12. The terminal of claim 11,
the processor is further configured to acquire a first package file before a first application is started, where the first package file is obtained by compiling a first program code, and the first program code includes a program code of the first application and the first information; and installing the first application on the terminal by using the first program package file, and acquiring and storing the first information from the first program code in the installation process.
13. The terminal of claim 11,
the processor is further configured to acquire a second package file before the first application is started, where the second package file is a file obtained by attaching the first information to the package of the first application; and releasing the second program package file to obtain a third program package file and the first information, saving the first information, and installing the first application on the terminal by using the third program package file.
14. The terminal of claim 13,
the second package file is obtained by performing secondary compilation on the package of the first application and the first information, or is obtained by compressing the package of the first application and the first information.
15. The terminal of claim 11,
the processor is further configured to read at least one attribute information in the first information stored in the terminal, where the attribute information is used as an application attribute of the first application.
16. The terminal of claim 15,
the processor is further configured to 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; and sending the first slice connection identifier to a bottom layer communication unit of the terminal, and establishing first slice connection by the bottom layer communication unit according to the first slice connection identifier.
17. The terminal of claim 15,
the processor is further configured to send the application attribute of the first application to a bottom-layer communication unit of the terminal; and the bottom layer communication unit determines a first slice connection identifier corresponding to the application attribute of the first application according to the corresponding relation between the slice connection identifier and the application attribute obtained in advance, and establishes first slice connection according to the first slice connection identifier.
18. A terminal, comprising:
the information acquisition module is used for reading first information of a first application when the first application is started, wherein the first information is application attribute information acquired from an object file in advance, and the object file is a program package file of the first application or a file containing the program package of the first application;
the connection establishing module is used for determining a first slice connection identifier corresponding to the first information and establishing first slice connection according to the first slice connection identifier;
and the transmission module is used for transmitting the service data of the first application through the first slice connection.
19. A terminal, comprising: processor, memory and program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the method according to any one of claims 1 to 10.
20. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
CN202010916583.8A 2020-09-03 2020-09-03 Terminal communication method, terminal and computer readable storage medium Pending CN114143303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010916583.8A CN114143303A (en) 2020-09-03 2020-09-03 Terminal communication method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010916583.8A CN114143303A (en) 2020-09-03 2020-09-03 Terminal communication method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114143303A true CN114143303A (en) 2022-03-04

Family

ID=80438234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010916583.8A Pending CN114143303A (en) 2020-09-03 2020-09-03 Terminal communication method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114143303A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109219111A (en) * 2017-06-29 2019-01-15 华为技术有限公司 It is sliced selection method and device
CN109391648A (en) * 2017-08-04 2019-02-26 华为技术有限公司 It is a kind of to apply correlating method, device and the communication system being sliced with network
US20190124561A1 (en) * 2017-10-19 2019-04-25 Qualcomm Incorporated Mechanism to enable interworking between network slicing and evolved packet core connectivity
CN111165025A (en) * 2017-10-16 2020-05-15 华为技术有限公司 Collaborative terminal slicing and network slicing functions
CN111416745A (en) * 2020-03-26 2020-07-14 腾讯科技(深圳)有限公司 Network slice determining method and related device
CN111492608A (en) * 2018-11-28 2020-08-04 Oppo广东移动通信有限公司 Data transmission method and device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109219111A (en) * 2017-06-29 2019-01-15 华为技术有限公司 It is sliced selection method and device
CN109391648A (en) * 2017-08-04 2019-02-26 华为技术有限公司 It is a kind of to apply correlating method, device and the communication system being sliced with network
CN111165025A (en) * 2017-10-16 2020-05-15 华为技术有限公司 Collaborative terminal slicing and network slicing functions
US20190124561A1 (en) * 2017-10-19 2019-04-25 Qualcomm Incorporated Mechanism to enable interworking between network slicing and evolved packet core connectivity
CN111492608A (en) * 2018-11-28 2020-08-04 Oppo广东移动通信有限公司 Data transmission method and device and terminal
CN111416745A (en) * 2020-03-26 2020-07-14 腾讯科技(深圳)有限公司 Network slice determining method and related device

Similar Documents

Publication Publication Date Title
CN110876194B (en) Indication method and device of space related information
CN108989004B (en) Information transmission method under unlicensed frequency band, network device and terminal
CN111901091B (en) Method and apparatus for wireless communication
CN110798844B (en) Information reporting method, information receiving method and equipment
CN104782149A (en) Proximity service in communications
KR20190137800A (en) Method and apparatus for providing service provider specialized
CN112335293A (en) Method and apparatus for processing carrier information in wireless communication system
CN111464273B (en) Method and equipment for indicating sounding reference signal resources based on codebook transmission
CN113286367B (en) Information receiving method, information sending method and equipment
EP2625885A1 (en) Relay nodes
CN110933745B (en) Method and equipment for large-scale antenna transmission
CN112533230A (en) Measurement configuration method, terminal and base station
CN112291850A (en) Terminal configuration method, terminal and base station
CN114143303A (en) Terminal communication method, terminal and computer readable storage medium
CN111464218B (en) Method and device for managing downlink wave beams
CN112448802B (en) Configuration method of demodulation reference signal, terminal and base station
CN111669804B (en) Resource allocation method and equipment
CN112770359B (en) Data distribution method and device
CN111865528B (en) Method and equipment for triggering reporting of channel state information
CN114500671A (en) Data processing method and device
CN113543226A (en) Information receiving method, information sending method and equipment
CN114339997A (en) Resource allocation method, terminal and base station
CN113853012A (en) Beam determination device, terminal and network side equipment
CN111031603B (en) Method and equipment for configuring, receiving and sending physical downlink control channel
CN114257353B (en) Channel transmission method, receiving method, terminal and base station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination