Communication method, device, and storage medium
Patent Information
- Application Number
- CN202210959562.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-10
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-08-10
AI Technical Summary
然而,目前第五代(the 5rd Generation,5G)移动通信网络不支持终端侧的信息开放功能
[0008]第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如第一方面或其各实现方式中的方法。
Smart Images

Figure CN117640714B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method, device and storage medium. Background Technology
[0002] If the application server can obtain information about the terminal device, such as the wireless cell information where the terminal device is located, air interface information such as wireless signal strength, the terminal device's battery level, network congestion information detected by the terminal device, and information at each session level executed by the terminal device, such as session slice information, Data Network Name (DNN) information, and Session and Service Continuity (SSC) mode information, it can better implement service scheduling. However, the current 5G mobile communication network does not support information sharing on the terminal side. Summary of the Invention
[0003] This application provides a communication method, device, and storage medium. The technical solution provided by this application supports the information opening function on the terminal side, thereby enabling the application server to better implement business scheduling based on this function.
[0004] In a first aspect, embodiments of this application provide a communication method applied to a terminal device, the terminal device including an application client and an information opening module, the method including: the application client sending an information opening request to the information opening module, the information opening request being used to request the information opening module to open target information to the application server corresponding to the application client; the information opening module sending the target information to the application server.
[0005] Secondly, embodiments of this application provide a terminal device, including: an application client and an information opening module: the application client is used to send an information opening request to the information opening module, the information opening request being used to request the information opening module to open target information to the application server corresponding to the application client; the information opening module is used to send the target information to the application server.
[0006] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to perform the methods as described in the first aspect or its various implementations.
[0007] Fourthly, embodiments of this application provide a computer-readable storage medium for storing a computer program that causes a computer to perform the methods described in the first aspect or its various implementations.
[0008] Fifthly, embodiments of this application provide a computer program product including computer program instructions that cause a computer to perform the methods as described in the first aspect or its various implementations.
[0009] Sixthly, embodiments of this application provide a computer program that causes a computer to perform the methods as described in the first aspect or its various implementations.
[0010] The technical solution provided in this application allows the application client to send an information opening request to the information opening module, which in turn sends the target information to the application server. In other words, the technical solution provided in this application supports information opening functionality on the terminal side, enabling the application server to better perform business scheduling based on this function. Attached Figure Description
[0011] Figure 1 A network architecture diagram provided for an embodiment of this application;
[0012] Figure 2 An interactive flowchart of a communication method provided in an embodiment of this application;
[0013] Figure 3 An interactive flowchart of another communication method provided in an embodiment of this application;
[0014] Figure 4 An interactive flowchart illustrating another communication method provided in an embodiment of this application;
[0015] Figure 5 An interactive flowchart of another communication method provided in an embodiment of this application;
[0016] Figure 6 A schematic diagram of a terminal device 600 provided in an embodiment of this application;
[0017] Figure 7 This is a schematic block diagram of the electronic device 700 provided in the embodiments of this application. Detailed Implementation
[0018] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0020] Before introducing the technical solution of this application, the relevant knowledge of this application will be explained below:
[0021] Quality of Service (QoS) flow is the finest QoS distinction within a Protocol Data Unit (PDU) session; the same PDU session can include different QoS flows. In 5G communication systems, QoS flows are controlled by the Session Management Function (SMF), and can be pre-configured or established through PDU session establishment or modification procedures.
[0022] SMF will determine the following information for each QoS flow:
[0023] 1. A QoS flow configuration (QoS profile), which includes the QoS parameters for this QoS flow: 5G QoS Identifier (5QI), Allocation and Retention Priority (ARP), bit rate requirements, etc. The QoS profile is mainly sent to the base station and is at the QoS flow level.
[0024] 2. One or more QoS rules. The QoS rules mainly contain flow description information used for service data flow detection and QoS flow identifier (QFI) used to transmit this service data flow. The QoS rules are sent to the terminal device for use and are mainly used for uplink data detection.
[0025] 3. One or more packet detection rules and corresponding QoS enforcement rules, mainly including flow description information for service data flow detection and QoS flow identifier (QFI) for transmitting this service data flow, which are sent to User Plane Function (UPF) network elements. They are mainly used for downlink data detection, but can also be used for uplink data detection and control on the network side.
[0026] The inventive concept that the technical solution of this application aims to solve will be explained below:
[0027] Currently, the capability opening function supported by 5G mobile communication networks mainly involves opening network information to application servers through 5G core network capability opening function network elements or policy control network elements. However, there is still no clear solution on how to support terminal-side information opening capabilities, that is, how to effectively open terminal-side information to application servers to improve user service experience.
[0028] To address the aforementioned technical issues, this application proposes that the terminal device support an information opening module, i.e., the terminal device includes an information opening module, and each application client (Application, APP) of the terminal device can call the information opening module as needed, triggering the information opening module to report the information of the terminal device to the application server.
[0029] It should be understood that, in this application, the application server may also be referred to as the business server, and this application does not impose any restrictions on this.
[0030] The technical solution of this application is applicable to Figure 1 The network architecture shown is not limited to this:
[0031] For example, Figure 1 A network architecture diagram is provided for an embodiment of this application, such as Figure 1 As shown, the network architecture involves the following execution entities: terminal device 10 and application server 20. Terminal device 10 includes an information opening module 101 and at least one application client 102, with each application client 102 corresponding to one application server 20. The information opening module 101 can receive information opening requests sent by application client 102 and, in response to the request, send the information to be opened to the application server 20 corresponding to that application client 102.
[0032] Optionally, the information opening module 101 can send the information to be opened to the application server 20 corresponding to the application client 102 through the base station and user plane functions of the mobile communication network, such as 5G base station and 5G user plane functions, but is not limited to this.
[0033] Optionally, the information opening module 101 can be a software function module on the terminal device. It can be implemented at the software layer or at the hardware layer. For example, the information opening module 101 can be implemented as an application client, or as a plugin or component of an application, or on the terminal device's operating system, or on the terminal device's chip. The application client containing the information opening module 101 can be pre-installed with the terminal device at the factory, or it can be an application client downloaded by the user after the terminal device leaves the factory.
[0034] Optionally, the information opening module 101 can interact with the chip in the terminal device or a specific interface in the operating system to collect information from the terminal device.
[0035] Optionally, the terminal device 10 may be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, in-vehicle terminal, smart TV, augmented reality (AR) glasses, virtual reality (VR) headset, gaming terminal, multimedia device, etc., but is not limited to these.
[0036] Optionally, the application server 20 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device 10 and the application server 20 can be directly or indirectly connected via wired or wireless communication, which is not limited herein.
[0037] Figure 1 An exemplary embodiment shows a terminal device, an application server, and a terminal device including three application clients. Optionally, the network architecture may include multiple terminal devices and multiple application servers, and each terminal device may include at least one application client. This application embodiment does not limit this.
[0038] The technical solution of this application will be described in detail below:
[0039] Figure 2 This is an interactive flowchart of a communication method provided in an embodiment of this application. This method can be executed by an information opening module in a terminal device, any application client, and the application server corresponding to that application client. For example... Figure 2 As shown, the method may include:
[0040] S210: The application client sends an information opening request to the information opening module. The information opening request is used to request the information opening module to open the target information to the application server corresponding to the application client.
[0041] S220: The information opening module sends the target information to the application server.
[0042] Optionally, the application client here can be any application client on the terminal device that needs to initiate a service. The service can be video service, telephone service, SMS service, social service, game service, payment service, web browsing service, multimedia service, transportation service, etc. This application does not impose any restrictions on this.
[0043] Optionally, when the application client determines that it needs to initiate a business or that a business is in progress, the application client can send an information opening request to the information opening module.
[0044] Optionally, when the application client determines that it needs to initiate a service, if the terminal device has not yet established a QoS flow for the service, the terminal device can initiate a PDU session establishment process or a PDU session modification process according to existing specifications to establish a QoS flow for the service. Furthermore, the application client can send service data to the application server corresponding to the application client through the QoS flow. When the terminal device has already established a QoS flow for the service, the application client can send service data to the application server corresponding to the application client through the QoS flow.
[0045] In one possible implementation, the target information may be at least one piece of information of the terminal device, such as: the target information includes at least one of the following: the wireless cell information where the terminal device is located, wireless signal strength, power information, network congestion information, session slice information, session DNN information, SSC mode information, etc., but is not limited to these.
[0046] In another possible implementation, the target information can be at least one type of information of the terminal device, such as: the target information includes at least one of the following: the air interface information of the terminal device, the power information of the terminal device, the network congestion information, the session level information, etc., but is not limited to these.
[0047] Optionally, the air interface information of the terminal device includes at least one of the following, but is not limited to: the wireless cell information where the terminal device is located, the wireless signal strength, and the wireless transmission technology used by the terminal device. The wireless transmission technology may be, for example, fourth-generation (4G) mobile communication technology, fifth-generation (5G) mobile communication technology, or Wireless Fidelity (WiFi) technology.
[0048] Optionally, the session-level information of the terminal device includes at least one of the following, but is not limited to: session slice information, DNN information, SSC mode information, etc.
[0049] The target information is used to ensure the service quality of the application client.
[0050] Optionally, the application server can determine the amount of service transmission resources allocated to the terminal device based on the target information, thereby ensuring the quality of service for the application client. For example, when the priority of the wireless cell where the terminal device is located is higher, the application server allocates more service transmission resources to the terminal device so that the service quality for the application client is better. As another example, when the signal strength of the wireless cell where the terminal device is located is stronger, the application server allocates more service transmission resources to the terminal device so that the service quality for the application client is better.
[0051] Optionally, the information disclosure request may include: the identifier of the aforementioned target information.
[0052] Optionally, the information disclosure request may also include: the source Internet Protocol (IP) address and the destination IP address of the service, which is the service that the aforementioned application client needs to initiate.
[0053] Optionally, a PDU session of a terminal device can correspond to a source IP address. Here, the source IP address of the service refers to the source IP address when the service sends data packets on the corresponding PDU session on the terminal device. The destination IP address of the service is the IP address of the application server mentioned above.
[0054] Optionally, the information access request may also include: the source port number and the destination port number of the service.
[0055] Optionally, the information disclosure request may also include: the information reporting conditions of the terminal device, which refer to the reporting conditions of the aforementioned target information.
[0056] Optionally, the reporting conditions for target information include at least one of the following, but are not limited to: the reporting frequency of target information, the maximum number of times target information can be reported, and the reporting threshold value of target information. The reporting threshold value may refer to the requirement that reporting is only necessary when the measured value of the target information is higher or lower than the threshold value.
[0057] Optionally, if there is a target information, the reporting conditions for the target information can be the reporting conditions for that target information.
[0058] For example, assuming the target information is the battery level of a terminal device, and the terminal device reports its battery level information every two seconds, the information access module can report the terminal device's battery level information every two seconds.
[0059] For example, assuming the target information is the battery level of a terminal device, and the maximum number of times the terminal device's battery level information can be reported is 5, the information opening module can report the terminal device's battery level information to the application server up to 5 times.
[0060] For example, suppose the target information is the battery level of the terminal device, and the reporting threshold for the battery level is 30%. In this case, the information opening module only needs to report the target information when it measures that the battery level of the terminal is below 30%.
[0061] For example, assuming the target information is the battery information of a terminal device, and the terminal device reports its battery information every two seconds, and the maximum number of times the terminal device reports its battery information is five, then the information opening module can report the aforementioned terminal device's battery information every two seconds, and report the terminal device's battery information to the application server a maximum of five times.
[0062] For example, suppose the target information is the battery level of a terminal device, and the terminal device reports its battery level information every two seconds, with a reporting threshold of 30%. In this case, the information access module can report the battery level of the terminal device every two seconds after the terminal's battery level drops below 30%.
[0063] For example, suppose the target information is the battery level of a terminal device, and the maximum number of times the battery level information of the terminal device can be reported is 5, and the reporting threshold for the battery level information is 30%. In this case, the battery level information of the terminal device will only be reported when the measured battery level of the terminal is lower than 30% and the number of times the battery level information of the terminal device is reported is less than 5.
[0064] For example, suppose the target information is the battery level of a terminal device, and the terminal device reports its battery level information every two seconds. The maximum number of reports is five, and the reporting threshold for the battery level information is 30%. In this case, the information access module can report the battery level of the terminal device every two seconds. Each time the terminal device reports its battery level, it must be below 30% and the current reporting count must be less than five before the terminal device's battery level information is reported.
[0065] Optionally, if there are multiple target information, the reporting conditions for the above target information can be reporting conditions for each target information.
[0066] For example, suppose the target information includes: the location of the wireless cell and the wireless signal strength, and the wireless cell information is reported every 2 seconds, while the wireless signal strength is reported every 3 seconds. Based on this, the information opening module reports these two pieces of information independently, reporting the wireless cell information every 2 seconds and the wireless signal strength every 3 seconds.
[0067] For example, suppose the target information includes: the wireless cell information and the wireless signal strength where the terminal device is located, and the maximum number of times the wireless cell information can be reported is 5, and the maximum number of times the wireless signal strength can be reported is 4. Based on this, the information opening module reports these two pieces of information independently, and reports the wireless cell information a maximum of 5 times and the wireless signal strength a maximum of 4 times to the application server.
[0068] For example, suppose the target information includes: the wireless signal strength of the terminal device and the terminal device's battery level, and the reporting threshold for wireless signal strength is 80dBm, and the reporting threshold for battery level is 30%. When the wireless signal strength currently measured by the information opening module is greater than 80dBm, the information opening module reports the wireless signal strength. When the battery level of the terminal device currently measured by the information opening module is less than 30%, the information opening module reports the terminal device's battery level.
[0069] Optionally, if there are multiple target information, the information opening module can treat the multiple target information as a whole, and the reporting conditions of the above target information can be reporting conditions for this whole.
[0070] For example, suppose the target information includes: the wireless cell information and wireless signal strength where the terminal device is located, and the wireless cell information and wireless signal strength are reported every 2 seconds. Based on this, the information opening module simultaneously reports the wireless cell information and wireless signal strength at a frequency of once every 2 seconds.
[0071] For example, suppose the target information includes: the wireless cell information and wireless signal strength where the terminal device is located, and the maximum number of times the wireless cell information and wireless signal strength can be reported is 5. Based on this, the information opening module will report the wireless cell information and wireless signal strength to the application server a maximum of 5 times.
[0072] Optionally, the above-mentioned S220 can be implemented in any of the following ways, but is not limited thereto:
[0073] One possible approach is that after the information opening module receives the information opening request, it can directly send the target information to the application server.
[0074] Method two can be implemented, such as Figure 3 As shown, the above-mentioned S220 may include:
[0075] S310: The information sharing module determines whether to agree to share the target information with the application server;
[0076] Accordingly, S220 may include:
[0077] S320: When the information opening module determines that it agrees to open the target information to the application server, the information opening module sends the target information to the application server.
[0078] In one possible implementation, the information disclosure module can obtain the network policy of the terminal device and determine whether to agree to disclose the target information to the application server based on the network policy of the terminal device.
[0079] Optionally, the network policy of the terminal device may include indication information for indicating whether to open the target information, and the information opening module may determine whether to agree to open the target information to the application server based on the indication information. Specifically, if the network policy of the terminal device includes first indication information for indicating whether to open the target information to the application server, the information opening module determines that it agrees to open the target information to the application server; if the network policy of the terminal device includes second indication information for indicating whether to open the target information to the application server, the information opening module determines that it does not agree to open the target information to the application server.
[0080] For example, suppose the network policy of a terminal device may include: information about the wireless cell where the terminal device is located, wireless signal strength, battery level, network congestion information, session slice information, session DNN information, SSC mode information, and a corresponding indication information for each piece of information indicating whether to share that information with the application server. When the indication information is 0, it means that the information will not be shared with the application server; when the indication information is 1, it means that the information will be shared with the application server. Suppose the target information is wireless signal strength, and its corresponding indication information is 1, indicating that the information sharing module agrees to share the target information with the application server.
[0081] For example, suppose the network policy of a terminal device may include the following types of information: air interface information, battery level, network congestion, session level, etc., as well as corresponding indication information for each type of information. When the indication information for a certain type of information is 0, it means that this type of information will not be exposed to the application server; when the indication information for a certain type of information is 1, it means that this type of information will be exposed to the application server. Suppose the target information is the terminal device's air interface information, and the indication information for this type of information is 0, it means that the information exposure module determines that it does not agree to expose the target information to the application server.
[0082] Optionally, the network policy of the terminal device may include: allowing information to be opened; if the allowed information to be opened in the network policy of the terminal device includes target information, then the information opening module determines that it agrees to open the target information to the application server; if the allowed information to be opened in the network policy of the terminal device does not include target information, then the information opening module determines that it does not agree to open the target information to the application server.
[0083] For example, suppose the network policy of the terminal device may include at least one piece of information that is allowed to be opened, including: the wireless cell information where the terminal device is located and the wireless signal strength. Suppose the target information is the wireless signal strength. Since this information is among the at least one piece of information that is allowed to be opened, it means that the information opening module determines that it agrees to open the target information to the application server.
[0084] For example, suppose the network policy of the terminal device may include: at least one type of information that is allowed to be opened, including: the air interface information of the terminal device. Suppose the target information is wireless signal strength. Since this information belongs to air interface information, it is among the at least one type of information that is allowed to be opened, which means that the information opening module determines that it agrees to open the target information to the application server.
[0085] Optionally, the network policy of the terminal device includes: the identifier of the target information that is allowed to be disclosed to a certain application client or a certain type of application client.
[0086] For example, suppose the network policy of the terminal device may include: wireless cell information is allowed to be opened to application client A, then it means that the information opening module determines that it agrees to open the wireless cell information to the application server corresponding to application client A.
[0087] Optionally, the network policy of the terminal device includes: the identifier of at least one application client and information on the terminal devices that each application client is allowed to access.
[0088] For example, assuming the target information is the battery level information of a terminal device, the network policy of the terminal device includes: allowing the information to be made available to application client B. The application client B, which needs to initiate the service, indicates that the information sharing module agrees to make the terminal device's battery level information available to the application server corresponding to application client B.
[0089] Optionally, the network policy of the terminal device can be a network policy defined at the factory or it can come from the core network side. For example, the session management function network element can obtain the network policy from the policy control function network element and send the network policy to the terminal device. As another example, the session management function network element can obtain the terminal device's subscription information from the subscription information storage network element and generate the aforementioned network policy based on the subscription information.
[0090] Optionally, the session management function network element can be an SMF network element in a 5G network, or a network element with similar functions to the SMF network element. This application does not impose any restrictions on this.
[0091] Optionally, the policy control function network element can be a policy control function (PCF) network element in a 5G network, or a network element with similar functions to the PCF network element. This application does not impose any restrictions on this.
[0092] Optionally, the network element storing the subscription information can be a Unified Data Management (UDM) or a Home Subscriber Server (HSS), or a network element with similar functions to these two network elements. This application does not impose any restrictions on this.
[0093] In one possible implementation, the information sharing module can obtain the subscription information of the terminal device and determine whether to agree to share the target information with the application server based on the subscription information of the terminal device.
[0094] Optionally, the subscription information of the terminal device may include indication information for indicating whether to open the target information, which may be used to indicate whether to open the target information to the application server. Specifically, if the subscription information of the terminal device includes first indication information for indicating whether to open the target information to the application server, the information opening module determines that it agrees to open the target information to the application server; if the subscription information of the terminal device includes second indication information for indicating whether to open the target information to the application server, the information opening module determines that it does not agree to open the target information to the application server.
[0095] It should be understood that this optional method is similar to the situation where the network policy of the aforementioned terminal device may include indication information for indicating whether to open target information. Therefore, examples of this optional method can be found in the above examples, and this application will not repeat them here.
[0096] Optionally, the contract information of the terminal device may include: permission to open information. If the permission to open information in the contract information of the terminal device includes target information, the information opening module determines that it agrees to open the target information to the application server; if the permission to open information in the contract information of the terminal device does not include target information, the information opening module determines that it does not agree to open the target information to the application server.
[0097] It should be understood that this optional approach is similar to the network policy of the aforementioned terminal device, which may include allowing open information. Therefore, examples of this optional approach can be found in the above examples, and this application will not repeat them here.
[0098] Optionally, the contract information of the terminal device includes: the identifier of the target information that is allowed to be disclosed to a certain application client or a certain type of application client.
[0099] Optionally, the subscription information of the terminal device includes: the identifier of at least one application client and information on the terminal devices that each of these application clients is allowed to access.
[0100] It should be understood that this optional approach is similar to the network policy of the aforementioned terminal device, which may include the identifier of a certain type of application client that the target information is allowed to be opened, or the identifier of at least one application client and the information of the terminal devices that these application clients are each allowed to open. Therefore, examples of this optional approach can be found in the above examples, and this application will not repeat them here.
[0101] Optionally, such as Figure 4 As shown, after S310 above, the method may further include:
[0102] S330: The information opening module sends an information opening response to the application client. The information opening response is used to indicate whether the information opening module agrees to open the target information to the application server.
[0103] It should be understood that the execution order of S320 and S330 is not limited in the embodiments of this application.
[0104] Optionally, when the information opening module determines that it agrees to open the target information to the application server, it may send a first information opening response to the application client, which indicates that the information opening module agrees to open the target information to the application server. When the information opening module determines that it does not agree to open the target information to the application server, it may send a second information opening response to the application client, which indicates that the information opening module does not agree to open the target information to the application server.
[0105] Optionally, when the information sharing module determines that it does not agree to share the target information with the application server, it can also send a reason value to the application server for disagreeing to share the target information. For example, a reason value of 0 indicates that the reason for disagreeing to share the target information with the application server is that the network policy of the terminal device indicates that the target information cannot be shared; a reason value of 1 indicates that the terminal does not support obtaining the target information.
[0106] Optionally, the target information can be carried in the target data packet, the source address of which is the IP address used by the information opening module or the IP address used by the application client, and the destination address of the target data packet is the destination IP address of the service.
[0107] It should be understood that the IP address used by the information opening module refers to the IP address assigned by the network side to the PDU session involved in the information reporting by the information opening module, the IP address used by the application client refers to the IP address assigned by the network side to the PDU session involved in the above-mentioned services, and the destination IP address of the service refers to the IP address of the application server corresponding to the client that initiated the service.
[0108] The technical solution provided in this application allows the application client to send an information opening request to the information opening module, which in turn sends the target information to the application server. In other words, the technical solution provided in this application supports information opening functionality on the terminal side, enabling the application server to better perform business scheduling based on this function.
[0109] Figure 5 This is an interactive flowchart of another communication method provided in an embodiment of this application. This method can be executed by an information opening module in a terminal device, any application client, the application server corresponding to the application client, a base station, an authentication management function network element, a session management function network element, and a user plane function network element. For example... Figure 5 As shown, the method may include:
[0110] S510: The terminal device sends an indication message to the session management function network element. The indication message is used to indicate that the terminal device has the information opening function.
[0111] S520: The session management function network element responds to the indication information and determines whether to establish a QoS flow for the target information;
[0112] S530: If the session management function network element determines that the target information is to establish a QoS flow, then the session management function network element controls the terminal equipment, base station and user plane function network element to establish a QoS flow;
[0113] S540: The application client sends an information opening request to the information opening module. The information opening request is used to request the information opening module to open the target information to the application server corresponding to the application client.
[0114] S550: The information opening module sends target information on the aforementioned QoS stream;
[0115] S560: The base station sends the target information to the user plane function network element on the above QoS flow;
[0116] S570: The user plane function network element sends the target information to the application server.
[0117] Optionally, embodiments of this application are... Figure 2 Based on the corresponding embodiments, this application's embodiments can actually be combined with any of the above embodiments. For example, optionally, the information opening module can determine whether to agree to open the target information to the application server. When it determines that it agrees to open the target information to the application server, the terminal device can send the target information sent by the information opening module to the base station on the QoS stream. Optionally, the information opening module can send an information opening response to the application client, which is used to indicate whether the information opening module agrees to open the target information to the application server. Optionally, when the information reporting conditions of the terminal device are met, the information opening module sends the target information to the application server.
[0118] Optionally, the access and mobility management function network element can be an access and mobility management function (AMF) network element in a 5G network, or it can be a network element with similar functions to the AMF network element. This application does not impose any restrictions on this.
[0119] Optionally, the user plane function network element can be a UPF network element, or a network element with similar functions to the UPF network element. This application does not impose any restrictions on this.
[0120] Optionally, when the information opening module initiates a registration process, a registration update process, a PDU session establishment process, or a PDU session modification process on the terminal device, it sends an instruction message to the session management function network element.
[0121] It should be understood that when the session management function network element determines that the terminal device has information opening function based on the above indication information, the session management function network element can determine whether to establish a QoS flow for the target information based on the operator's policy or the terminal device's subscription information.
[0122] Optionally, the operator's policy or the terminal device's subscription information may include: the priority of the terminal device's open functions. If the priority of the open function is higher than the priority of the QoS flow of the PDU session corresponding to the aforementioned service, it indicates that a new QoS flow can be established for the target information. If the priority of the open function is lower than or equal to the priority of the QoS flow of the PDU session corresponding to the aforementioned service, it indicates that the default or other QoS flows can be used.
[0123] Optionally, the operator's policy or the terminal device's subscription information may include: the priority of the terminal device's open functions. If the priority of the open function is higher than the preset priority, it means that a new QoS flow can be established for the target information. If the priority of the open function is lower than or equal to the preset priority, it means that the default or other QoS flows can be used.
[0124] Optionally, the preset priority may be configured to the terminal device at the factory, configured to the terminal device by the base station, negotiated between the terminal device and the network, or determined by the operator's network itself. This application does not impose any restrictions on this.
[0125] Optionally, the session management function network element controls the terminal equipment, base station, and user plane function network element to establish a QoS flow, including: the session management function network element sending QoS flow configuration to the base station, including: QoS parameters of the QoS flow such as 5QI, ARP, and code rate requirements; sending one or more QoS rules to the terminal equipment, the QoS rules mainly including flow description information for service data flow detection and QFI for the QoS flow used to transmit the service data flow; and sending one or more packet detection rules and corresponding QoS execution rules to the user plane function network element, mainly including flow description information for service data flow detection and QFI for the QoS flow used to transmit the service data flow.
[0126] Optionally, when the session management function network element sends QoS flow configuration to the base station, it can first send it to the access and mobility management function network element, and then the access and mobility management function network element sends the QoS flow configuration to the base station.
[0127] Optionally, when the session management function network element sends one or more QoS rules to the terminal device, it can first send them to the access and mobility management function network element, then the access and mobility management function network element sends them to the base station, and finally the base station sends them to the open information module.
[0128] Optionally, if the session management function network element determines that the target information is not to establish a QoS flow, the terminal device will send the target information issued by the information opening module on the default or other QoS flows.
[0129] The technical solution provided in this application allows the application client to send an information opening request to the information opening module, which in turn sends the target information to the application server. In other words, the technical solution supports information opening functionality on the terminal side, enabling the application server to better perform service scheduling based on this function. Furthermore, the reporting of target information can ensure specific 5G QoS requirements.
[0130] Figure 6 This is a schematic diagram of a terminal device 600 provided in an embodiment of this application. The terminal device 600 includes an application client 610 and an information opening module 620. The application client 610 is used to send an information opening request to the information opening module 620. The information opening request is used to request the information opening module 620 to open target information to the application server corresponding to the application client 610. The information opening module 620 is used to send the target information to the application server.
[0131] Optionally, the information opening module 620 is further configured to determine whether to agree to open the target information to the application server before sending the target information to the application server; correspondingly, the information opening module 620 is specifically configured to send the target information to the application server when the information opening module 620 determines that it agrees to open the target information to the application server.
[0132] Optionally, the information sharing module 620 is further configured to obtain the network policy of the terminal device before the information sharing module 620 determines whether to agree to share the target information with the application server; accordingly, the information sharing module 620 is specifically configured to: determine whether to agree to share the target information with the application server based on the network policy of the terminal device.
[0133] Optionally, the information opening module 620 is specifically used to: if the network policy of the terminal device includes first indication information for instructing the opening of target information to the application server, then determine that it agrees to open the target information to the application server; if the network policy of the terminal device includes second indication information for instructing the not to open the target information to the application server, then determine that it does not agree to open the target information to the application server.
[0134] Optionally, the information opening module 620 is specifically used to: if the network policy of the terminal device includes target information in the allowed open information, then determine that it agrees to open the target information to the application server; if the network policy of the terminal device does not include target information in the allowed open information, then determine that it does not agree to open the target information to the application server.
[0135] Optionally, the information opening module 620 is further configured to send an information opening response to the application client 610 after determining whether to agree to open the target information to the application server. The information opening response is used to indicate whether the information opening module 620 agrees to open the target information to the application server.
[0136] Optionally, the application client 610 is specifically used to send an information opening request to the information opening module 620 when the application client 610 determines that it needs to initiate a business.
[0137] Optionally, the information disclosure request includes: the source IP address and the destination IP address of the service.
[0138] Optionally, the target information is carried in the target data packet. The source address of the target data packet is the IP address used by the information opening module 620 or the IP address used by the application client 610, and the destination address of the target data packet is the destination IP address of the service.
[0139] Optionally, the information opening request also includes: information reporting conditions of the terminal device; correspondingly, the information opening module 620 is specifically used to: when the information reporting conditions of the terminal device are met, the information opening module 620 sends the target information to the application server.
[0140] Optionally, the terminal device 600 further includes: a sending module 630, configured to send indication information to the session management function network element before the information opening module 620 sends the target information to the application server. The indication information is used to indicate that the terminal device has information opening function, so that the session management function network element responds to the indication information to determine whether to establish a QoS flow for the target information. Accordingly, the information opening module 620 is specifically configured to: if the session management function network element has established a QoS flow for the target information, then send the target information to the application server based on the QoS flow.
[0141] Optionally, the session management function network element determines whether to establish a QoS flow for the target information based on the operator's policy or the terminal device's subscription information.
[0142] It should be understood that the device embodiments and method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, further details will not be provided here. Specifically, Figure 6 The device 600 shown can perform Figures 2 to 5 The corresponding method embodiments, and the foregoing and other operations and / or functions of each module in device 600 are respectively for implementing Figures 2 to 5 For the sake of brevity, the corresponding processes in each method are not described in detail here.
[0143] The apparatus 600 of this application embodiment has been described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that this functional module can be implemented in hardware, in software instructions, or in a combination of hardware and software modules. Specifically, the steps of the method embodiments in this application can be completed by integrated logic circuits in the processor's hardware and / or by software instructions. The steps of the method disclosed in this application embodiment can be directly embodied as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. Optionally, the software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps in the above method embodiments.
[0144] Figure 7 This is a schematic block diagram of an electronic device 700 provided in an embodiment of this application. This electronic device can be the aforementioned terminal device.
[0145] like Figure 7 As shown, the electronic device 700 may include:
[0146] The system includes a memory 710 and a processor 720. The memory 710 stores computer programs and transfers the program code to the processor 720. In other words, the processor 720 can retrieve and run the computer program from the memory 710 to implement the methods described in the embodiments of this application.
[0147] For example, the processor 720 can be used to execute the above-described method embodiments according to instructions in the computer program.
[0148] In some embodiments of this application, the processor 720 may include, but is not limited to:
[0149] General-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0150] In some embodiments of this application, the memory 710 includes, but is not limited to:
[0151] Volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
[0152] In some embodiments of this application, the computer program may be divided into one or more modules, which are stored in the memory 710 and executed by the processor 720 to perform the method provided in this application. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the electronic device.
[0153] like Figure 7 As shown, the electronic device may also include:
[0154] Transceiver 730, which can be connected to processor 720 or memory 710.
[0155] The processor 720 can control the transceiver 730 to communicate with other devices; specifically, it can send information or data to other devices or receive information or data sent by other devices. The transceiver 730 may include a transmitter and a receiver. The transceiver 730 may further include antennas, and the number of antennas may be one or more.
[0156] It should be understood that the various components in the electronic device are connected through a bus system, which includes a data bus, a power bus, a control bus, and a status signal bus.
[0157] This application also provides a computer storage medium storing a computer program thereon, which, when executed by a computer, enables the computer to perform the methods of the above-described method embodiments. Alternatively, embodiments of this application also provide a computer program product containing instructions that, when executed by a computer, cause the computer to perform the methods of the above-described method embodiments.
[0158] When implemented using software, it can be implemented entirely or partially as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0159] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0160] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0161] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. For example, the functional modules in the various embodiments of this application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0162] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication method, characterized in that, The method is applied to a terminal device, the terminal device including: an application client and an information opening module, the method including: The application client sends an information opening request to the information opening module. The information opening request is used to request the information opening module to open target information to the application server corresponding to the application client. The information opening request includes: the information reporting conditions of the terminal device. The information reporting conditions include: the reporting frequency of the target information, the maximum number of times the target information is reported, and the reporting threshold value of the target information. When the information reporting conditions of the terminal device are met, the information opening module sends the target information to the application server; Wherein, if the target information is the battery information of the terminal device, and the reporting frequency is once every two seconds, the maximum number of reports is 5, and the reporting threshold is 30%, then when the battery information of the terminal device is reported once every two seconds, and each time the reporting is made, the battery level of the terminal device must be below 30%, and the current number of reports is less than 5, it means that the information reporting conditions of the terminal device are met.
2. The method according to claim 1, characterized in that, Before the information opening module sends the target information to the application server, it also includes: The information disclosure module determines whether to agree to disclose the target information to the application server; The information opening module sends the target information to the application server, including: When the information sharing module determines that it agrees to share the target information with the application server, the information sharing module sends the target information to the application server.
3. The method according to claim 2, characterized in that, Before the information sharing module determines whether to agree to share the target information with the application server, it also includes: The information disclosure module obtains the network policy of the terminal device; The information disclosure module determines whether to agree to disclose the target information to the application server, including: The information sharing module determines whether to agree to share the target information with the application server based on the network policy of the terminal device.
4. The method according to claim 3, characterized in that, The information sharing module determines whether to agree to share the target information with the application server based on the network policy of the terminal device, including: If the network policy of the terminal device includes first indication information for instructing the application server to open the target information, then the information opening module determines that it agrees to open the target information to the application server; If the network policy of the terminal device includes a second instruction to indicate that the target information should not be made available to the application server, then the information opening module determines that it does not agree to make the target information available to the application server.
5. The method according to claim 3, characterized in that, The information sharing module determines whether to agree to share the target information with the application server based on the network policy of the terminal device, including: If the target information is included in the network policy of the terminal device, the information opening module determines that it agrees to open the target information to the application server; If the target information is not included in the allowed open information in the network policy of the terminal device, the information opening module determines that it does not agree to open the target information to the application server.
6. The method according to any one of claims 2-5, characterized in that, After the information disclosure module determines whether to agree to disclose the target information to the application server, it further includes: The information opening module sends an information opening response to the application client, which indicates whether the information opening module agrees to open the target information to the application server.
7. The method according to any one of claims 1-5, characterized in that, The application client sends an information opening request to the information opening module, including: When the application client determines that it needs to initiate a service, the application client sends the information opening request to the information opening module.
8. The method according to claim 7, characterized in that, The information access request includes: the source Internet Protocol (IP) address and the destination IP address of the service.
9. The method according to claim 8, characterized in that, The target information is carried in the target data packet. The source address of the target data packet is the IP address used by the information opening module or the IP address used by the application client. The destination address of the target data packet is the destination IP address of the service.
10. The method according to any one of claims 1-5, characterized in that, Before the information opening module sends the target information to the application server, it also includes: The terminal device sends an indication message to the session management function network element. The indication message is used to indicate that the terminal device has an information opening function, so that the session management function network element responds to the indication message and determines whether to establish a Quality of Service (QoS) flow for the target information. The information opening module sends the target information to the application server, including: If the session management function network element has established a QoS flow for the target information, then the information opening module sends the target information to the application server based on the QoS flow.
11. The method according to claim 10, characterized in that, The session management function network element determines whether to establish a QoS flow for the target information based on the operator's policy or the subscription information of the terminal device.
12. A terminal device, characterized in that, include: Application client and information open module: The application client is used to send an information opening request to the information opening module, and the information opening request is used to request the information opening module to open the target information to the application server corresponding to the application client. The information access request includes: the information reporting conditions of the terminal device; wherein, the information reporting conditions include: the reporting frequency of the target information, the maximum number of times the target information is reported, and the reporting threshold value of the target information; The information opening module is used to send the target information to the application server when the information reporting conditions of the terminal device are met; Wherein, if the target information is the battery information of the terminal device, and the reporting frequency is once every two seconds, the maximum number of reports is 5, and the reporting threshold is 30%, then when the battery information of the terminal device is reported once every two seconds, and each time the reporting is made, the battery level of the terminal device must be below 30%, and the current number of reports is less than 5, it means that the information reporting conditions of the terminal device are met.
13. An electronic device, characterized in that, include: A processor and a memory, the memory being used to store a computer program, the processor being used to invoke and run the computer program stored in the memory to perform the method of any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, Used to store a computer program that causes a computer to perform the method as described in any one of claims 1 to 11.