Distribution method and device of packet data service and nonvolatile storage medium
By sending request messages to core network elements in the satellite communication system and extracting application list cells, the problem of not being able to restrict non-target applications from establishing packet data service connections is solved, and strict control of applications and effective resource management is achieved.
Patent Information
- Application Number
- CN202411640628.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-15
AI Technical Summary
The prior art cannot effectively limit non-target applications to establish packet data service connections with core network elements in satellite communication systems, resulting in resource waste and security risks.
By sending a request message to the core network element of the satellite communication system, receiving a response message containing preset optional cells, extracting application list cells from it, determining the allowed application list, and only these applications are allowed to establish packet data service connections with the core network element.
Strict control of the types of application APPs using Tiantong data channels on the terminal side is achieved, preventing non-target applications from occupying resources, and improving system security and resource management efficiency.
Smart Images

Figure CN119521451A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of satellite communications, and in particular to a method and device for allocating packet data services and a non-volatile storage medium. Background Art
[0002] The Tiantong satellite system supports packet data services with a maximum rate of 384kbps, but due to the limitation of a single beam, especially the limitation of terminal capabilities, the actual packet data service rate of a single terminal is often very limited, and can only support the most necessary ultra-low-speed packet data services; in the development of Tiantong data services, in the early stage, only a small number of specific application APPs were supported to establish packet data service connections with the core network elements in the satellite communication system, and use packet data services to send data through the Tiantong data channel. At the same time, other application APPs need to be strictly restricted from using the Tiantong data channel; based on the limited resources of Tiantong data services, it is therefore very urgent to strictly control the types of application APPs that can use the Tiantong data channel on the terminal side, but this control method is currently missing. The relevant technology cannot restrict non-target applications from establishing packet data service connections with the core network elements in the satellite communication system, and then using packet data services.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a method, device and non-volatile storage medium for allocating packet data services, so as to at least solve the technical problem in the related art that it is impossible to restrict non-target applications from establishing packet data service connections with core network elements in a satellite communication system and then using packet data services.
[0005] According to one aspect of an embodiment of the present application, a method for allocating packet data services is provided, comprising: sending a first request message to a core network element in a satellite communication system, wherein the first request message is used to request establishment of a packet data service connection; receiving a first response message corresponding to the first request message, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; obtaining an application list carried in the application list information element from the first response message, and determining to allow applications in the application list to establish a packet data service connection with the core network element in the satellite communication system.
[0006] In some embodiments of the present application, the preset optional cell includes the following fields: a cell identification field, a cell content field, a cell type field, an existence field, a format field, and a length field, wherein the cell content field is used to carry an application list cell, the cell type field is used to define the data type and encoding rules of the preset optional cell, the format field is used to indicate the internal structure and data organization method of the preset optional cell, and the length field is used to define the byte size of the application list cell carried by the preset optional cell.
[0007] In some embodiments of the present application, the application list cell includes the following fields: an application list cell identification field, an application list cell length field, and an application identification field, wherein the application list cell length field is used to indicate the length of the application list cell, and the application identification field is used to carry the application list.
[0008] In some embodiments of the present application, before obtaining the application list carried in the application list element from the first response message, the method also includes: determining the value of the existence field in the preset optional element; when the existence field is not 0, triggering the acquisition of the application list carried in the application list element from the first response message.
[0009] In some embodiments of the present application, the method also includes: generating a first control instruction in response to a detected user trigger operation, wherein the first control instruction is used to indicate data interaction information between the terminal and the core network element; when the value of the existence field is 0, intercepting the first control instruction, generating a first intercept message, and sending the first intercept message to the user interface, wherein the first intercept message includes at least the reason for the interception.
[0010] In some embodiments of the present application, the method also includes: when the value of the existence field is not 0, determining that the first response message carries a preset optional information element, activating the bearer of the packet data service, establishing a packet data service channel with a core network element in the satellite communication system, and executing a first control instruction based on the packet data service channel.
[0011] In some embodiments of the present application, the method also includes: receiving first data sent by a first application, wherein the first data carries a first application identifier of the first application; when the first application identifier exists in an application list, determining that the first application is a target application; establishing a packet data service connection with a core network element in a satellite communication system, and sending the first data using the packet data service.
[0012] In some embodiments of the present application, the method also includes: receiving first data sent by a first application, wherein the data carries a first application identifier of the first application; when the first application identifier does not exist in the application list, intercepting a data sending instruction corresponding to the first data, generating a second interception message, and sending the second interception message to the first application, wherein the second interception message includes at least the reason for the interception.
[0013] According to another aspect of an embodiment of the present application, a method for allocating a packet data service is also provided, including: receiving a second request message sent by a terminal, wherein the second request message is used to request to establish a packet data service connection; sending a second response message corresponding to the second request message to the terminal, wherein the second response message includes a preset optional element, the preset optional element is used to carry an application list element, and the application list element carries an application list.
[0014] In some embodiments of the present application, the application list is stored in a database inside the core network element or in a target server outside the core network. Before sending a second response message corresponding to the second request message to the terminal, the method also includes: when it is detected that the application list in the database or the target server is updated, encapsulating the updated application list into the second response message.
[0015] In some embodiments of the present application, sending a second response message corresponding to the second request message to the terminal includes: obtaining an application list from a database inside the core network element; encapsulating the application list into the second response message, and forwarding the second response message to the terminal through the access network.
[0016] In some embodiments of the present application, sending a second response message corresponding to the second request message to the terminal includes: sending a query message to the target server, wherein the query message is used to query the application list; receiving a get message corresponding to the query message, wherein the get message carries the application list stored in the target server; encapsulating the application list into a second response message, and sending the second response message to the terminal.
[0017] According to another aspect of an embodiment of the present application, a method for allocating packet data services is also provided, including: an access network receives a third request message sent by a terminal and forwards the third request message to a core network element, wherein the third request message is used to request establishment of a packet data service connection; receives a third response message corresponding to the third request message and forwards the third response message to the terminal, wherein the third response message includes a preset optional element, the preset optional element is used to carry an application list element, and the application list element carries an application list.
[0018] According to another aspect of an embodiment of the present application, a packet data service distribution device is also provided, including: a sending module, used to send a first request message to a core network element in a satellite communication system, wherein the first request message is used to request to establish a packet data service connection; a receiving module, used to receive a first response message corresponding to the first request message, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; an acquisition module, used to obtain an application list carried in the application list information element from the first response message, and determine to allow the application in the application list to establish a packet data service connection with the core network element in the satellite communication system.
[0019] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, in which a program is stored, wherein when the program is running, a device where the non-volatile storage medium is located is controlled to execute any one of the above-mentioned methods for allocating packet data services.
[0020] According to another aspect of an embodiment of the present application, an electronic device is provided, including: a memory and a processor, the processor being configured to run a program stored in the memory, wherein when the program is run, any one of the above-mentioned methods for allocating packet data services is executed.
[0021] According to another aspect of an embodiment of the present application, a computer program product is also provided, including computer instructions, which implement any of the above-mentioned methods for allocating packet data services when the computer instructions are executed by a processor.
[0022] In an embodiment of the present application, a first request message is sent to a core network element in a satellite communication system, wherein the first request message is used to request to establish a packet data service connection; a first response message corresponding to the first request message is received, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; an application list carried in the application list information element is obtained from the first response message, and a method for allowing applications in the application list to establish a packet data service connection with the core network element in the satellite communication system is determined. By obtaining the application list carried in the application list information element from the first response message, and determining to allow applications in the application list to establish a packet data service connection with the core network element in the satellite communication system, the purpose of only allowing applications in the application list to establish a packet data service connection with the core network element in the satellite communication system is achieved, thereby achieving the technical effect of restricting non-target applications from establishing a packet data service connection with the core network element in the satellite communication system, thereby solving the problem in the related art that non-target applications cannot be restricted from establishing a packet data service connection with the core network element in the satellite communication system, and then using the packet data service technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0024] Figure 1 It is a hardware structure block diagram of a computer terminal for implementing a method for allocating packet data services provided in an embodiment of the present application;
[0025] Figure 2 It is a flowchart of a method for allocating a packet data service provided according to an embodiment of the present application;
[0026] Figure 3 is a schematic diagram of a terminal structure provided according to an embodiment of the present application;
[0027] Figure 4 is another schematic diagram of a terminal structure provided according to an embodiment of the present application;
[0028] Figure 5 is a signaling flow chart provided according to an embodiment of the present application;
[0029] Figure 6 is another signaling flow chart provided according to an embodiment of the present application;
[0030] Figure 7 It is a flowchart of another method for allocating packet data services provided according to an embodiment of the present application;
[0031] Figure 8 is a signaling flow chart of a packet service provided according to an embodiment of the present application;
[0032] Fig. 9 is a signaling flow chart of another packet service provided according to an embodiment of the present application;
[0033] Fig.10 is a signaling flow chart of another packet service provided according to an embodiment of the present application;
[0034] Fig.11 It is a flowchart of another method for allocating packet data services provided according to an embodiment of the present application;
[0035] Fig.12 It is a structural diagram of a distribution device for packet data services provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0037] The information collected in the embodiments of the present application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or reject automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily 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 devices.
[0039] In the related art, it is very urgent to strictly control the types of application apps that can use the Tiantong data channel on the terminal side, but this control means is currently missing. Therefore, there is a problem in the related art that it is impossible to restrict non-target applications from establishing packet data service connections with core network elements in the satellite communication system and then using packet data services. In order to solve this problem, a relevant solution is provided in the embodiment of the present application, which is described in detail below.
[0040] According to an embodiment of the present application, a method embodiment of a method for allocating packet data services is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0041] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a method for distributing packet data services. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0042] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0043] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the method for allocating packet data services in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the method for allocating packet data services described above is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0044] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0045] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0046] In the above operating environment, the present application embodiment provides a flow chart of an allocation method, such as Figure 2 As shown, the following steps are included:
[0047] Step S202: Send a first request message to a core network element in a satellite communication system, wherein the first request message is used to request to establish a packet data service (eg, a Tiantong satellite system packet data service) connection.
[0048] In the technical solution provided in step S202, the terminal sends a first request message (for example, a network attachment request of the Tiantong core network) to a core network element in the satellite communication system.
[0049] Step S204: receiving a first response message corresponding to the first request message, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element.
[0050] In the technical solution provided in step S204, the first response is an AttachAccept attachment acceptance message with a preset optional element added. The Attach Accept attachment acceptance message includes the original mandatory element definition, the original optional element definition, and the preset optional element. The original mandatory element definition includes at least the following contents: Mobile ID (mobile identity): a temporary identity assigned to the terminal by the network, such as TMSI (Temporary Mobile Subscriber Identity) or P-TMSI (Packet-TMSI), which is used to confirm the identity of the terminal in subsequent communications. Network Parameters (network parameters): including network clock information, network address, network time, etc., used for the terminal to synchronize network information. Ciphering Key (encryption key): used to establish an encrypted channel for data transmission between the terminal and the network to ensure communication security. LocationArea ID (location area identifier): indicates the network coverage area where the terminal is located, used for subsequent paging and location updates. Security Parameters (security parameters): including authentication vectors, encryption algorithms, etc., used to establish a secure connection between the terminal and the network. EPS Bearer Context: In LTE (Long Term Evolution) 4G networks, it is used to manage the bearer information of terminal data transmission.
[0051] The original optional information element definition includes at least the following: Periodic TAU Timer (Periodic Tracking Area Update Timer): Indicates how often the terminal needs to perform a tracking area update to keep the network tracking the terminal's location. APN Configuration (APN configuration information): Access Point Name (Access Point Name) configuration, containing network service information and parameters that the terminal can access. UE Time Zone (User Equipment Time Zone): Time zone information of the terminal, used by the network to provide time zone-related services. Additional Update Type (Additional Update Type): Indicates the additional type of the current attachment request, such as joint attachment (concurrently with attachment to another network). Temporary Mobile Group ID (Temporary Mobile Group ID): In some network architectures, it is used to identify a group of terminals to facilitate the network to implement group management. Other Network Information (Other network information): Includes roaming network information, or other network-specific service information.
[0052] Before obtaining the application list carried in the application list element from the first response message, it is necessary to determine the value of the existence field in the preset optional element; wherein, when the existence field is not 0, it triggers the acquisition of the application list carried in the application list element from the first response message.
[0053] The preset optional information element includes the following fields: information element identification field (IEI), information element content field (InformationElement), information element type field (Type / Reference), presence field (Presence), format field (Format), length field (Length), wherein the information element content field is used to carry the application list information element (APP ID list), the information element type field is used to define the data type and encoding rule of the preset optional information element, the format field is used to indicate the internal structure and data organization method of the preset optional information element, and the length field is used to define the byte size of the application list information element carried by the preset optional information element. The specific format of the first response message is shown in Table 1 below. As shown in Table 1, the optional meaning indicates that the first response message may carry the preset optional information element or may not carry the preset optional information element. When the presence field (Presence) is 0, it indicates that the first response message does not carry the preset optional information element, and when the presence field (Presence) is not 0, it indicates that the first response message carries the preset optional information element. The format field (Format) of the preset optional information element adopts the type-length-value (Type-Length-Value, referred to as TLV) encoding format. The length of the preset optional information element is 3-257, that is, it carries at least 1 APP ID 1 and at most 255 APP IDs, and each APP ID occupies 1 byte in length. Table 2 shows the specific format of the application list information element (APP IDlist information element):
[0054] Table 1
[0055]
[0056] Table 2
[0057]
[0058] The first response message (for example, an Attach Accept message with a newly added preset optional information element), the preset optional information element carries an application list information element (APP ID list), and the application list information element includes the following fields: an application list information element identification field (APP ID list IEI), an application list information element length field (Length of APP ID list IEI), and an application identification field (APP ID 1-APP ID n), wherein the application list information element length field is used to indicate the length of the application list information element.
[0059] Step S206: Acquire the application list carried in the application list information element from the first response message, and determine to allow the applications in the application list to establish a packet data service connection with the core network element in the satellite communication system.
[0060] In the technical solution provided in step S206, the application list carried in the application list information element is obtained from the first response message, and only the application (APP) corresponding to the APP ID carried in the application list can establish a packet data service connection with the core network element in the satellite communication system, and use the packet data service (for example, a Tiantong satellite system packet data service) for data transmission. For example, for the Tiantong satellite system packet data service, the application identifier (APP ID) occupies 1 byte in length, is allocated by the operator of the Tiantong satellite system service, is preset in each application APP supporting the Tiantong satellite system packet data service, and is preset in the database of the Tiantong data service core network element, which contains all APP ID identification lists supporting the Tiantong data service. Or it is preset in a dedicated server (or target server) outside the core network.
[0061] The present application also provides a terminal structure diagram, such as Figure 3 As shown, a Tiantong satellite terminal includes a Tiantong satellite modem and cellular modem at the BP layer, a radio interface layer (Radio Interface Layer, referred to as RIL adaptation layer) at the AP layer, various APP applications, etc. The AP and BP mainly communicate through the AT message interface. In the Tiantong satellite system, AT messages are used as a bridge for communication between the terminal (AP layer) and the baseband processor (BP layer), especially for sending and receiving network commands, such as activating the packet data protocol context (Packet Data Protocol Context, referred to as PDP context), data transmission control, etc. This method simplifies the communication between different software layers and provides a standardized method for handling the interaction between the terminal and the network. Their mutual relationships are as follows. Figure 3As shown, the baseband processor layer (BasebandProcessor layer, referred to as BP layer) is mainly responsible for processing signal processing tasks related to communication, including but not limited to: signal modulation and demodulation, encoding and decoding, protocol stack processing, and radio frequency interface. The satellite modem is the Tiantong satellite modem, which is responsible for processing satellite communication signals and protocols. It includes modulation and demodulation, channel coding, decoding, signal processing, and satellite communication-specific protocol stack implementations, such as satellite communication signaling processes, data transmission processes, etc. The responsibility of the Tiantong satellite modem is to ensure that the device can successfully communicate data and voice through the Tiantong satellite network. The cellular modem is responsible for processing the signals and protocols of cellular networks (such as 2G, 3G, 4G, and 5G). It also needs to implement modulation and demodulation, encoding and decoding, signal processing, etc., but it is aimed at the communication standards of terrestrial cellular networks, such as 4G standards, 5G standards, etc. Cellular modem is the key to the terminal device's ability to access the mobile network for communication. The application processor layer (AP for short) is mainly responsible for the operation of advanced applications and operating systems of the terminal, including: operating system management, multimedia processing, user interface management, security and privacy. The AP layer is usually composed of more general processors with powerful computing and graphics processing capabilities to support rich applications and user interactions. The BP layer and the AP layer communicate through defined interfaces. For example, in the Tiantong satellite communication terminal, data is exchanged through the AT message interface. In actual operation, the AP layer sends control instructions and data to the BP layer through these interfaces, and the BP layer handles the communication tasks and feeds back the results to the AP layer. For example, when a user tries to send data through a satellite communication APP, the AP layer will pass the data and corresponding control information to the BP layer through the interface, and the BP layer will check whether the data meets the communication requirements.
[0062] The present application embodiment also provides another terminal structure schematic diagram, such as Figure 4 As shown, it is the embodiment of the present application Figure 3 The terminal structure is optimized by adding a management and control module to the AP layer of the Tiantong terminal, receiving the APP ID list from the satellite Modem, and verifying the signaling and data related to the Tiantong satellite packet data sent by all AP layers. The structure is as follows: Figure 4 As shown, the control module's control over the Tiantong data service can be divided into two types: 1) Control the activation, modification and deactivation of the PDP (Packet Data Protocol) bearer, that is, control the establishment and deletion of the Tiantong data channel; 2) Control the APP to send data through the PDP bearer channel.
[0063] Control of PDP bearers, for example, activation of PDP bearers, such as Figure 5As shown, it is a signaling flow chart provided according to an embodiment of the present application, which divides the terminal into four parts: terminal interface, APP, control module, RIL layer, and satellite Modem. The overall signaling flow chart of the access network (Tiantong access network) and the core network (for example, the core network in the satellite communication system) is as shown in FIG. Figure 5 As shown: Steps 1-7 are that the terminal initiates an attachment request (i.e., the first request message mentioned above) to the core network side, and after authentication and security processes, receives an attachment acceptance (attachment acceptance message) carrying an APP ID list, and the management and control module and the RIL layer store the APP ID list (i.e., the above APP ID list) that complies with the Tiantong data support. When the user turns on the Tiantong data switch of the terminal, in response to the detected user trigger operation, a first control instruction is generated (for example, the control command in step 9 is to turn on the Tiantong data), wherein the first control instruction is used to indicate the data interaction information between the terminal and the core network element; Step 10 The management and control module determines whether the APP ID list is empty. When the APP ID list is empty (i.e., when the value of the existence field is 0), step 17 is executed to intercept the control command to turn on the Tiantong data (i.e., the above first control instruction) and not send it to the satellite Modem, and the PDP bearer is not activated, indicating that there is no application on the current terminal that can use the Tiantong satellite system packet data service, so the management and control module intercepts the control command to turn on the Tiantong data, does not send it to the satellite Modem, and does not activate the PDP bearer. A first interception message is generated and sent to the user interface, wherein the first interception message includes at least the interception reason. If the APP ID list is empty (i.e., the value of the existence field is not 0), steps 11-16 are executed. It is determined that the first response message carries a preset optional information element, activates the PDP bearer (i.e., the bearer of the above-mentioned packet data service), establishes a packet data service channel with the core network element in the satellite communication system, and executes the first control instruction based on the packet data service channel.
[0064] like Figure 6 As shown in FIG. 1 , another signaling flow chart provided according to an embodiment of the present application is used to implement control over data sent by an APP through a bearer channel, such as Figure 6As shown, through step 1, the satellite modem completes the attachment; the core network in the satellite communication system issues a list of compliant APP ID identifications; step 2, the satellite modem reports and the control module stores the list of compliant APP IDs; step 3, the user turns on the Tiantong data switch, the satellite modem establishes a Tiantong data channel with the Tiantong network; step 4, the APP (i.e., the above-mentioned first application) sends data (i.e., the above-mentioned first data), and receives the first data sent by the first application, wherein the data carries the first application identification of the first application; step 6, judging whether the APP ID is compliant, if the APP ID is not compliant (i.e., when the first application identification does not exist in the application list), executing step 8, intercepting the command to send data (i.e., the data sending instruction corresponding to the above-mentioned interception of the first data), generating a second interception message, and sending the second interception message to the first application, wherein the second interception message at least includes the interception reason. If the APP ID is compliant (i.e., when the first application identification exists in the application list), the first application is determined to be the target application, and step 7, the terminal sends the user APP data through the Tiantong data channel (i.e., establishing a packet data service connection with the core network element in the satellite communication system, and using the packet data service to send the first data).
[0065] The embodiment of the present application also provides a method for allocating packet data services. Figure 7 As shown, including:
[0066] Step S702: Receive a second request message sent by the terminal, wherein the second request message is used to request to establish a packet data service connection. The second request message and the first request message may represent the same message, namely, an attach request message.
[0067] Step S704, sending a second response message corresponding to the second request message to the terminal, wherein the second response message includes a preset optional information element, the preset optional information element is used to carry an application list information element, and the application list information element carries the application list. The second response message and the above-mentioned first response message can represent the same message, that is, an attachment acceptance message including a preset optional information element.
[0068] In the technical solution provided in step S702, the application list is stored in a database inside the core network element or in a target server outside the core network. Before sending a second response message corresponding to the second request message to the terminal, if it is detected that the application list in the database or the target server is updated, the updated application list is encapsulated into the second response message.
[0069] The present application embodiment provides a signaling flow chart of a packet service, such as Figure 8As shown, step 1. Attach request: the terminal sends an attach request to the core network, indicating that it wants to access the network; step 2. INTIAL UE MESSAGE (initial UE message, including UE identity information, request type and other necessary parameters): the attach request (Attach request) is forwarded to the core network in the form of INITIAL UE MESSAGE; authentication and security processes are performed, step 3-4 Attach acceptance: the core network sends an attach acceptance message corresponding to the attach request to the terminal; step 5-8 Activate PDP context request and establish a radio bearer. For example, the PDP context request can be activated in the following way: after completing the attach process, if the terminal needs to use data services, it will send an activate PDP context request. The core network receives the request and performs resource allocation and configuration, including setting quality of service (QoS) parameters and IP address allocation. The core network sends the activate PDP context request to the access network to further process the establishment of the network connection. The access network and the terminal establish a radio bearer to provide a physical channel for data transmission. After the terminal receives the activation confirmation, the data channel is officially established, and the terminal can start to transmit data through the allocated PDP bearer.
[0070] There are many ways to send the second response message corresponding to the second request message to the terminal, for example: Fig. 9 As shown, another signaling flow chart of packet service is provided. Figure 8 Optimization, the application list can be obtained from the database inside the core network element; the application list is encapsulated into the second response message, and the second response message is forwarded to the terminal through the access network. Specifically: in step 3, the application list is obtained from the database inside the core network element of the core network, the application list is encapsulated into the preset optional element in the form of an application list element, and the second response message (i.e., the attachment acceptance in the figure) containing the preset optional element is sent to the access network, and forwarded to the terminal side by the access network. The database in the core network element of the core network (for example, the Tiantong core network) has a built-in APP ID identification list. In the Tiantong terminal attachment process, the core network sends the APP ID identification list to the terminal in the attachment acceptance message. The core network elements of the packet data service on the core network side can be the serving GPRS support node (Serving GPRS Support Node, abbreviated as SGSN), the gateway GPRS support node (Gateway GPRSSupport Node, abbreviated as GGSN), etc., that is, a database is set up in core network elements such as SGSN, and an APP ID identification list is built in. Through this optimization, the Tiantong core network does not need to interact with external servers, and can directly send the APP ID identification list to the terminal through the access network during the terminal registration process.
[0071] The second response message corresponding to the second request message may also be sent to the terminal in the following manner: Fig.10 As shown, another signaling flow chart of packet service is provided. Figure 8 Another optimization is to send a query message to the target server (or a proprietary server), wherein the query message is used to query the application list; receive a get message corresponding to the query message, wherein the get message carries the application list stored in the target server; encapsulate the application list into a second response message, and send the second response message to the terminal. Specifically: in step 3, a query message is sent to the target server (or a proprietary server), wherein the query message is used to query the application list (for example, query the latest Tiantong data APP ID list), the target server (or a proprietary server) replies with the get message (for example, the latest Tiantong data APP ID list) to the core network element of the core network, the database of the target server (or a proprietary server) has a built-in Tiantong data APPID identification list (i.e., the above-mentioned APP ID list), in the Tiantong terminal attachment process, the core network and the proprietary server interact through the interface of the Tiantong core network element (for example, SSGN) to obtain the APP ID list, and the core network sends the Tiantong data APP ID identification list to the terminal in the attachment acceptance message.
[0072] The embodiment of the present application also provides a method for allocating packet data services. Fig.11 As shown, including:
[0073] Step 1102: The access network receives a third request message sent by the terminal and forwards the third request message to the core network element, wherein the third request message is used to request to establish a packet data service connection.
[0074] Step 1104: receive a third response message corresponding to the third request message and forward the third response message to the terminal, wherein the third response message includes a preset optional information element, the preset optional information element is used to carry an application list information element, and the application list information element carries an application list.
[0075] The third request message in the above steps can be the same message as the first request message and the second request message in the above embodiment, i.e., an attach request message. The third response message and the first response message and the second response message in the above embodiment can represent the same message, i.e., an attach accept message including a preset optional information element.
[0076] Through the above steps, it can be ensured that only authorized applications can use satellite communication resources, which improves the security of the system and the efficiency of resource management. It is suitable for scenarios where application access rights need to be strictly controlled, such as commercial satellite networks. The application APP control mechanism implemented by end-to-end collaboration in packet data service scenarios is realized. Before activating the PDP context, the core network uses the attachment process to send the application APP ID identification list to control the APP to send data using the Tiantong data channel.
[0077] The present application embodiment provides a schematic diagram of the structure of a distribution device for a packet data service, such as Fig.12 As shown, including:
[0078] The sending module 1202 is used to send a first request message to a core network element in the satellite communication system, wherein the first request message is used to request to establish a packet data service connection.
[0079] The receiving module 1204 is configured to receive a first response message corresponding to the first request message, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element.
[0080] The receiving module 1204 is further used to determine the value of the existence field in the preset optional information element; wherein, when the existence field is not 0, it triggers the acquisition of the application list carried in the application list information element from the first response message.
[0081] The acquisition module 1206 is used to acquire the application list carried in the application list information element from the first response message, and determine to allow the applications in the application list to establish a packet data service connection with the core network element in the satellite communication system.
[0082] The acquisition module 1206 is also used to generate a first control instruction in response to a detected user trigger operation, wherein the first control instruction is used to indicate data interaction information between the terminal and the core network element; when the value of the existence field is 0, the first control instruction is intercepted, and a first interception message is generated, and the first interception message is sent to the user interface, wherein the first interception message at least includes the reason for the interception.
[0083] The acquisition module 1206 is also used to determine that the first response message carries a preset optional information element when the value of the existence field is not 0, activate the bearer of the packet data service, establish a packet data service channel with the core network element in the satellite communication system, and execute the first control instruction based on the packet data service channel.
[0084] The acquisition module 1206 is also used to receive first data sent by a first application, wherein the first data carries a first application identifier of the first application; when the first application identifier exists in the application list, determine that the first application is a target application; establish a packet data service connection with a core network element in the satellite communication system, and use the packet data service to send the first data.
[0085] The acquisition module 1206 is also used to receive first data sent by the first application, wherein the data carries the first application identifier of the first application; when the first application identifier does not exist in the application list, intercepting the data sending instruction corresponding to the first data, generating a second interception message, and sending the second interception message to the first application, wherein the second interception message at least includes the reason for the interception.
[0086] It should be noted that Fig.12 The distribution device of the packet data service is used to perform Figure 2 The packet data service allocation method shown in FIG. Figure 2 The relevant explanations in the method for allocating the packet data service in are also applicable to the device for allocating the packet data service, and will not be repeated here.
[0087] It should be noted that the various modules in the above-mentioned packet data service distribution device can be program modules (for example, a set of program instructions that implement a certain specific function) or hardware modules. For the latter, it can be expressed in the following forms, but is not limited to this: the expression form of each of the above-mentioned modules is a processor, or the functions of each of the above-mentioned modules are implemented by a processor.
[0088] The embodiment of the present application also provides a non-volatile storage medium, the non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the above packet data service allocation method. For example, a first request message is sent to a core network element in a satellite communication system, wherein the first request message is used to request to establish a packet data service connection; a first response message corresponding to the first request message is received, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; an application list carried in the application list information element is obtained from the first response message, and it is determined that the application in the application list is allowed to establish a packet data service connection with the core network element in the satellite communication system.
[0089] The embodiment of the present application also provides an electronic device, the electronic device includes a processor, the processor is used to run a program, wherein the above method for allocating packet data services is executed when the program is running. For example, a first request message is sent to a core network element in a satellite communication system, wherein the first request message is used to request to establish a packet data service connection; a first response message corresponding to the first request message is received, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; an application list carried in the application list information element is obtained from the first response message, and it is determined that the application in the application list is allowed to establish a packet data service connection with the core network element in the satellite communication system.
[0090] According to another aspect of the embodiment of the present application, a computer program product is also provided, including a computer program, which implements the above method for allocating packet data services when executed by a processor. For example, a first request message is sent to a core network element in a satellite communication system, wherein the first request message is used to request the establishment of a packet data service connection; a first response message corresponding to the first request message is received, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; an application list carried in the application list information element is obtained from the first response message, and it is determined that the application in the application list is allowed to establish a packet data service connection with the core network element in the satellite communication system.
[0091] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0092] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, 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 units or modules, which can be electrical or other forms.
[0093] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0094] In addition, each functional unit in each embodiment of the present application 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0095] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0096] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for allocating packet data services, characterized in that: include: Sending a first request message to a core network element in a satellite communication system, wherein the first request message is used to request establishment of a packet data service connection; Receiving a first response message corresponding to the first request message, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; An application list carried in the application list information element is obtained from the first response message, and it is determined that the application in the application list is allowed to establish a packet data service connection with a core network element in the satellite communication system.
2. The method according to claim 1, characterized in that The preset optional information element includes the following fields: An information element identification field, an information element content field, an information element type field, an existence field, a format field, and a length field, wherein the information element content field is used to carry the application list information element, the information element type field is used to define the data type and encoding rule of the preset optional information element, the format field is used to indicate the internal structure and data organization method of the preset optional information element, and the length field is used to define the byte size of the application list information element carried by the preset optional information element.
3. The method according to claim 1, characterized in that The application list information element contains the following fields: An application list cell identification field, an application list cell length field, and an application identification field, wherein the application list cell length field is used to indicate the length of the application list cell, and the application identification field is used to carry the application list.
4. The method according to claim 2, characterized in that: Before obtaining the application list carried in the application list information element from the first response message, the method further includes: Determining a value of a presence field in the preset optional information element; When the existence field is not 0, it triggers obtaining the application list carried in the application list information element from the first response message.
5. The method according to claim 2, characterized in that: The method further comprises: In response to a detected trigger operation of a user, generating a first control instruction, wherein the first control instruction is used to indicate data interaction information between the terminal and the core network element; When the value of the existence field is 0, the first control instruction is intercepted, and a first intercept message is generated, and the first intercept message is sent to the user interface, wherein the first intercept message at least includes an interception reason.
6. The method according to claim 5, characterized in that The method further comprises: When the value of the existence field is not 0, determine that the preset optional information element is carried in the first response message, activate the bearer of the packet data service, establish a packet data service channel with the core network element in the satellite communication system, and execute the first control instruction based on the packet data service channel.
7. The method according to claim 1, characterized in that The method further comprises: Receiving first data sent by a first application, wherein the first data carries a first application identifier of the first application; If the first application identifier exists in the application list, determining the first application as a target application; A packet data service connection is established with the core network element in the satellite communication system, and the first data is sent using the packet data service.
8. The method according to claim 1, characterized in that The method further comprises: Receiving first data sent by a first application, wherein the data carries a first application identifier of the first application; When the first application identifier does not exist in the application list, the data sending instruction corresponding to the first data is intercepted, a second intercept message is generated, and the second intercept message is sent to the first application, wherein the second intercept message at least includes an interception reason.
9. A method for allocating packet data services, characterized in that: include: receiving a second request message sent by the terminal, wherein the second request message is used to request establishment of a packet data service connection; A second response message corresponding to the second request message is sent to the terminal, wherein the second response message includes a preset optional information element, the preset optional information element is used to carry an application list information element, and the application list information element carries an application list.
10. The method according to claim 9, characterized in that The application list is stored in a database inside the core network element or in a target server outside the core network, and before sending a second response message corresponding to the second request message to the terminal, the method further includes: When it is detected that the application list in the database or the target server is updated, the updated application list is encapsulated into the second response message.
11. The method according to claim 10, characterized in that Sending the second response message corresponding to the second request message to the terminal includes: Acquire the application list from a database inside the core network element; The application list is encapsulated into the second response message, and the second response message is forwarded to the terminal through the access network.
12. The method according to claim 10, characterized in that Sending the second response message corresponding to the second request message to the terminal includes: Sending a query message to the target server, wherein the query message is used to query the application list; Receiving a get message corresponding to the query message, wherein the get message carries the application list stored in the target server; The application list is encapsulated into the second response message, and the second response message is sent to the terminal.
13. A method for allocating packet data services, characterized in that: include: The access network receives a third request message sent by the terminal and forwards the third request message to the core network element, wherein the third request message is used to request to establish a packet data service connection; Receive a third response message corresponding to the third request message and forward the third response message to the terminal, wherein the third response message includes a preset optional information element, the preset optional information element is used to carry an application list information element, and the application list information element carries an application list.
14. A device for distributing packet data services, characterized in that: include: A sending module, configured to send a first request message to a core network element in a satellite communication system, wherein the first request message is used to request to establish a packet data service connection; A receiving module, configured to receive a first response message corresponding to the first request message, wherein the first response message includes a preset optional information element, and the preset optional information element is used to carry an application list information element; The acquisition module is used to acquire the application list carried in the application list information element from the first response message, and determine whether the application in the application list is allowed to establish a packet data service connection with the core network element in the satellite communication system.
15. A non-volatile storage medium, characterized in that: A program is stored in the non-volatile storage medium, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the method for allocating packet data services described in any one of claims 1 to 8, the method for allocating packet data services described in any one of claims 9 to 12, or the method for allocating packet data services described in claim 13.
16. An electronic device, characterized in that: include: A memory and a processor, the processor being used to run a program stored in the memory, wherein when the program is run, the method for allocating packet data services described in any one of claims 1 to 8, the method for allocating packet data services described in any one of claims 9 to 12, or the method for allocating packet data services described in claim 13 is executed.
17. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by the processor, the method for allocating packet data services described in any one of claims 1 to 8 or the method for allocating packet data services described in any one of claims 9 to 12 or the method for allocating packet data services described in claim 13 is implemented.
Citation Information
Patent Citations
Method and device for obtaining temporary data transmission exemption, and readable storage medium
CN110913392A
Approaches for high speed global packet data services for leo / MEO satellite systems
US20190082481A1
Method and terminal for accessing network and acquiring client identification module information and core network
WO2017035699A1
Session management with relaying and charging for indirect connection for internet of things appplications in 3GPP network
WO2018067956A1
Method and apparatus for network slicing in mobile communication system
WO2023080542A1