Service access methods and equipment
By judging the data packet reception status in the 5G system and switching or reducing the load, the problem of service access for terminal devices in 3GPP or non-3GPP networks is solved, achieving effective service path management and improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
- Filing Date
- 2017-08-07
- Publication Date
- 2026-05-26
AI Technical Summary
In 5G systems, there are challenges in how terminal devices can effectively access the service paths of 3GPP or non-3GPP networks, and existing technologies are insufficient to achieve effective service access management.
The first device determines the data packet reception status, judges whether the service path is available, and selects or switches to other paths or reduces the load when it is unavailable, ensuring the availability of the service path. This includes the periodic sending and receiving of data packets between terminal devices and network devices, and the use of the service function management node to switch or release paths.
It enables effective access to services on terminal devices, improves user experience, and ensures the reliability and efficiency of service paths.
Smart Images

Figure CN110771195B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more specifically, to a method and apparatus for service access. Background Technology
[0002] In 5G systems, terminal devices can access services through 3GPP (3rd Generation Partnership Project) networks or non-3GPP networks. Specifically, there is a service access management node on the network side, which is responsible for managing services accessed through 3GPP or non-3GPP networks.
[0003] Therefore, for terminal devices or service access management nodes, how to achieve effective service access is an urgent problem to be solved. Summary of the Invention
[0004] This application provides a method and device for service access, which facilitates effective service access.
[0005] Firstly, a method for service access is provided, including:
[0006] The first device determines the reception status of the first data packet transmitted through the first service path;
[0007] The first device determines whether the first service path is available based on the reception status of the first data packet.
[0008] Therefore, in the service access method of this application embodiment, the first device can determine whether the first service path for service access is available before performing service access, which is beneficial to selecting an available service path for access, thereby realizing effective access to the terminal's services.
[0009] In one embodiment, when the first service path is available, service access can be performed using the first service path. When the first service path is unavailable, other service paths can be selected for access, or access can be performed through the first service path after load reduction. Therefore, effective access to the terminal's services can be achieved, thereby improving the user experience.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the first device is the sender of the first data packet and the second device is the receiver of the first data packet; or the first device is the receiver of the first data packet and the second device is the sender of the first data packet.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, the first device is a terminal device and the second device is a network device; or the first device is a network device and the second device is a terminal device.
[0012] In conjunction with the first aspect, in some implementations of the first aspect, the network device is a service function management node or a user plane function (UPF) entity.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:
[0014] The first device sends the first data packet to the second device at a specific period, or receives the first data packet sent by the second device.
[0015] In conjunction with the first aspect, in certain implementations of the first aspect, the first device sends the first data packet to the second device at a specific period, including:
[0016] The first device sends the first data packet to the second device according to the specific period when the first preset condition is met.
[0017] In conjunction with the first aspect, in some implementations of the first aspect, the specific period is agreed upon by the first device and the second device; or, if the first device is a terminal device and the second device is a network device, the specific period is configured by the second device.
[0018] In other words, the first device and the second device can determine the transmission period of the first device, i.e. the specific period mentioned above, through message interaction. Alternatively, if the first device is a terminal device and the second device is a network device, the specific period is configured by the second device. That is, the second device can configure the transmission period of the first data packet for the first device. For example, the second device can send a first message to the first device to configure the transmission period of the first data packet for the first device. The first message can be semi-static signaling (e.g., Radio Resource Control (RRC) message) or dynamic signaling (e.g., Downlink Control Information (DCI)).
[0019] Alternatively, the specific period can be agreed upon by the protocol, so that there is no need for information exchange between the first device and the second device. The sending end can send the first data packet according to the sending period agreed upon by the protocol, and the receiving end can also receive the first data packet according to the sending period predetermined by the protocol.
[0020] In conjunction with the first aspect, in some implementations of the first aspect, the data stream or bearer used to transmit the first data packet has a corresponding relationship with the transmission period of the first data packet.
[0021] For example, the data stream used to transmit the first data packet and the transmission period of the first data packet can be in a one-to-one correspondence or a many-to-one correspondence, etc. Similarly, the bearer used to transmit the first data packet and the transmission period of the first data packet can also be in a one-to-one correspondence or a many-to-one correspondence, etc.
[0022] In conjunction with the first aspect, in some implementations of the first aspect, the first device is the sender of the first data packet, and the first device determines the reception status of the first data packet transmitted through the first service path, including:
[0023] The first device receives the reception status of the first data packet reported by the second device;
[0024] The first device determines whether the first service path is available based on the reception status of the first data packet, including:
[0025] The first device determines whether the first service path is available based on the reception status of the first data packet reported by the second device.
[0026] In conjunction with the first aspect, in certain implementations of the first aspect, the first device determines whether the first service path is available based on the reception status of the first data packet, including:
[0027] The first device determines that the first service path is unavailable when at least one of the following conditions is met:
[0028] The following conditions are met: the first data packet is not received correctly within a specific time period of the receiving cycle; the number of data packets correctly received within the receiving window is lower than a first preset value; the ratio of correctly received data packets to all received data packets within the receiving window is lower than a second preset value; the ratio of incorrectly received data packets to all received data packets within the receiving window is higher than a third preset value; the ratio of incorrectly received data packets to correctly received data packets within the receiving window is higher than a fourth preset value; and the ratio of correctly received data packets to incorrectly received data packets within the receiving window is lower than a fifth preset value.
[0029] In one embodiment, the first, second, third, fourth, and fifth preset values can be system-set or determined based on the service requirements of the service to be accessed. For example, if the service to be accessed has high requirements for link quality, then the first preset value can be set to a larger value, the second preset value can be set to a smaller value, the third preset value can be set to a smaller value, the fourth preset value can be set to a smaller value, and the fifth preset value can be set to a larger value. Conversely, if the service to be accessed has low requirements for link quality, then the first preset value can be set to a smaller value, the second preset value can be set to a larger value, the third preset value can be set to a larger value, the fourth preset value can be set to a larger value, and the fifth preset value can be set to a smaller value.
[0030] In conjunction with the first aspect, in some implementations of the first aspect, the first device is a terminal device or a UPF entity. After the first device determines that the first service path is unavailable, the method further includes:
[0031] The first device sends status information to the service function management node. The status information is used to indicate that the first service path is unavailable, so that the service function management node can switch the service to be accessed to another service path other than the first service path, or initiate a request message to release the first service path.
[0032] Therefore, in the service access method of this application embodiment, the first device can notify the service function management node that the first service path is unavailable when the first service path is unavailable. The service function management node can then switch the service to be accessed by the terminal device to another service path, or release the first service path, and then access the service to be accessed initiated by the terminal device through the first service path, thereby achieving effective service access and improving user experience.
[0033] In conjunction with the first aspect, in some implementations of the first aspect, the first device is a service function management node. After the first device determines that the first service path is unavailable, the method further includes:
[0034] The first device switches the service to be accessed to a service path other than the first service path, or initiates a request message to release the first service path.
[0035] Therefore, in the service access method of this application embodiment, the first device can switch the service to be accessed by the terminal device to another service path or release the first service path when the first service path is unavailable, and then access the service to be accessed initiated by the terminal device through the first service path, thereby achieving effective service access and improving user experience.
[0036] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:
[0037] If the first device determines that the first service path is available, the first device accesses the service to be accessed through the first service path.
[0038] In conjunction with the first aspect, in certain implementations of the first aspect, the first data packet includes a sequence number, and the first device determines the reception status of the first data packet transmitted through the first service path, including:
[0039] The first device determines the reception status of the first data packet based on the sequence number of the received first data packet.
[0040] In conjunction with the first aspect, in some implementations of the first aspect, the first business path is a 3GPP path or a non-3GPP path.
[0041] For example, if the first service path is a 3GPP path, the service to be accessed can be accessed through a 3GPP network (e.g., a long term evolution (LTE) network or a 5G network, etc.), or if the first service path is a non-3GPP path, the service to be accessed can be accessed through a non-3GPP network, such as a wireless local area network (WLAN).
[0042] In summary, the service access method of this application embodiment can, when the first service path is available, use the first service path to access the service to be accessed initiated by the terminal device; when the first service path is unavailable, other service paths can be used to access the service to be accessed initiated by the terminal device, or some or all services on the first service path can be stopped, and then the first service path can be used to access the service to be accessed initiated by the terminal device.
[0043] Secondly, a service access device is provided for executing the methods described in the first aspect or any possible implementation thereof. Specifically, the device includes units for executing the methods described in the first aspect or any possible implementation thereof.
[0044] Thirdly, a service access device is provided, comprising: a memory, a processor, an input interface, and an output interface. The memory, processor, input interface, and output interface are connected via a bus system. The memory stores instructions, and the processor executes the instructions stored in the memory to perform the methods described in the first aspect or any possible implementation thereof.
[0045] Fourthly, a computer storage medium is provided for storing computer software instructions for performing the methods of the first aspect or any possible implementation thereof, comprising a program designed for performing the aspects.
[0046] Fifthly, a computer program product including instructions is provided, which, when run on a computer, causes the computer to perform the method of the first aspect or any optional implementation thereof. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of a communication system according to an embodiment of this application.
[0048] Figure 2 This is a schematic flowchart of a service access method according to an embodiment of this application.
[0049] Figure 3 This is a schematic block diagram of a device for service access according to an embodiment of this application.
[0050] Figure 4 This is a schematic block diagram of a service access device according to another embodiment of this application. Detailed Implementation
[0051] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0052] It should be understood that the terms "system" and "network" are often used interchangeably in this document. The term "and / or" in this document merely describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Furthermore, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0053] The technical solutions of this application embodiment can be applied to various communication systems, such as: Global System of Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), General Packet Radio Service (GPRS), Long Term Evolution (LTE), LTE Frequency Division Duplex (FDD), LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX), or future 5G systems, etc.
[0054] Figure 1 This application illustrates a wireless communication system 100 used in an embodiment of this application. The wireless communication system 100 may include a network device 110. The network device 100 may be a device that communicates with terminal devices. The network device 100 may provide communication coverage for a specific geographical area and may communicate with terminal devices (e.g., UEs) located within that coverage area. In one embodiment, the network device 100 may be a base station (BTS) in a GSM or CDMA system, a base station (NodeB, NB) in a WCDMA system, an evolved Node B (eNB or eNodeB) in an LTE system, or a radio controller in a Cloud Radio Access Network (CRAN). Alternatively, the network device may be a relay station, access point, vehicle-mounted equipment, wearable device, network-side equipment in a future 5G network, or network equipment in a future evolved Public Land Mobile Network (PLMN), etc.
[0055] The wireless communication system 100 also includes at least one terminal device 120 located within the coverage area of the network device 110. The terminal device 120 can be mobile or fixed. In one embodiment, the terminal device 120 can refer to an access terminal, user equipment (UE), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device. The access terminal can be a cellular phone, cordless phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem, in-vehicle device, wearable device, terminal device in a future 5G network, or terminal device in a future evolved PLMN, etc.
[0056] In one embodiment, the terminal devices 120 can perform device-to-device (D2D) communication.
[0057] In one implementation, the 5G system or network may also be referred to as a New Radio (NR) system or network.
[0058] Figure 1 An exemplary diagram shows a network device and two terminal devices. In one embodiment, the wireless communication system 100 may include multiple network devices and each network device may include other numbers of terminal devices within its coverage area. This application does not limit the scope of the embodiments.
[0059] In one embodiment, the wireless communication system 100 may also include other network entities such as a network controller and a mobility management entity, which is not limited in this application embodiment.
[0060] In the communication system of this application embodiment, the terminal device can access services through a 3GPP network (e.g., an LTE network or a future 5G network) or a non-3GPP network (e.g., a Wireless Local Area Network, WLAN). The service access management node on the network device side can manage the services accessed through the 3GPP network or the non-3GPP network. For the service access management node, how to achieve effective service access is an urgent problem to be solved.
[0061] Figure 2The present application schematically illustrates a service access method 200 provided in an embodiment of the present application. This method 200 can be applied to the aforementioned wireless communication system 100, but the embodiments of the present application are not limited thereto.
[0062] like Figure 2 As shown, the method 200 includes the following:
[0063] S210, the first device determines the reception status of the first data packet transmitted through the first service path;
[0064] S220, the first device determines whether the first service path is available based on the reception status of the first data packet.
[0065] In this embodiment of the application, the first device is the sender of the first data packet and the second device is the receiver of the first data packet; or the first device is the receiver of the first data packet and the second device is the sender of the first data packet.
[0066] In the embodiments of this application, the first device is a terminal device and the second device is a network device; or the first device is a network device and the second device is a terminal device.
[0067] The network device is a service function management node or a user plane function (UPF) entity.
[0068] Specifically, if the first device is the receiving end of the first data packet, then the first device can determine whether the first service path is available based on its reception status of the first data packet transmitted through the first service path. Alternatively, if the first device is the sending end of the first data packet, then the receiving end of the first data packet is designated as the second device, which can report the reception status of the first data packet to the first device. The first device can then determine whether the first service path is available based on the reception status of the first data packet reported by the second device. Further, if the first service path is available, the first device uses the first service path to access the service to be accessed. Or, if the first service path is unavailable, the first device accesses the service to be accessed through another service path. Alternatively, it can release or stop some or all services on the first service path, i.e., reduce the load on the first service path, and then access the service to be accessed through the first service path.
[0069] Therefore, in the service access method of this application embodiment, the first device can determine whether the first service path for service access is available before performing service access. If it is available, service access is performed. If it is unavailable, other service paths are selected for access, or access is performed through the first service path after reducing the load. Therefore, effective access to the terminal's services can be achieved, thereby improving the user experience.
[0070] In one implementation, and in some possible embodiments, the first data packet includes a sequence number, and the first device determines the reception status of the first data packet transmitted via the first service path, including:
[0071] The first device determines the reception status of the first data packet based on the sequence number of the received first data packet.
[0072] The first data packet includes a sequence number, so the receiving end of the first data packet can determine whether the received data packet is correct based on the sequence number, and thus determine the reception status of the first data packet.
[0073] As a specific embodiment, the first device determines whether the first service path is available based on the reception status of the first data packet, including:
[0074] The first device determines that the first service path is unavailable when at least one of the following conditions is met:
[0075] The following conditions are met: the first data packet is not received correctly within a specific time period of the receiving cycle; the number of data packets correctly received within the receiving window is lower than a first preset value; the ratio of correctly received data packets to all received data packets within the receiving window is lower than a second preset value; the ratio of incorrectly received data packets to all received data packets within the receiving window is higher than a third preset value; the ratio of incorrectly received data packets to correctly received data packets within the receiving window is higher than a fourth preset value; and the ratio of correctly received data packets to incorrectly received data packets within the receiving window is lower than a fifth preset value.
[0076] It should be noted that the receiving period here can correspond to the sending period of the first data packet described below, that is, the sending end of the first data packet sends the first data packet to the receiving end of the first data packet according to the sending period, and the receiving end of the first data packet receives the first data packet sent by the sending end of the first data packet according to the receiving period.
[0077] It should be understood that the first, second, third, fourth, and fifth preset values can be system-set or determined based on the service requirements of the service to be accessed. For example, if the service to be accessed has high requirements for link quality, then the first preset value can be set to a larger value, the second preset value can be set to a smaller value, the third preset value can be set to a smaller value, the fourth preset value can be set to a smaller value, and the fifth preset value can be set to a larger value. Conversely, if the service to be accessed has low requirements for link quality, then the first preset value can be set to a smaller value, the second preset value can be set to a larger value, the third preset value can be set to a larger value, the fourth preset value can be set to a larger value, and the fifth preset value can be set to a smaller value.
[0078] It should be noted that if the first device is the receiving end of the first data packet, the reception status of the first data packet can be determined by the first device; or if the first device is the sending end of the first data packet, the reception status of the first data packet can be reported to the first device by the sending end of the first data packet, i.e., the second device. In short, the first device can determine whether the first service path is available based on the reception status of the first data packet.
[0079] In one implementation, in some possible embodiments, if the first device is a terminal device or a UPF entity, after the first device determines that the first service path is unavailable, the method 200 may further include:
[0080] The first device sends status information to the service function management node. The status information is used to indicate that the first service path is unavailable, so that the service function management node can switch the service to be accessed to another service path other than the first service path, or initiate a request message to release the first service path.
[0081] In the case where the first device is a terminal device or a UPF entity, if the first device determines that the first service path is unavailable, the first device can send status information to the service function management node to notify the service function management node that the first service path is unavailable. In this way, when the terminal device initiates a service to be accessed, the service function management node will switch the service to be accessed to another service path, that is, access the terminal device's service to be accessed through another service path. Alternatively, the first device can initiate a request message to release the first service path, that is, request to release the first service path. In this way, the first device can access the service to be accessed initiated by the terminal device through the first service path.
[0082] Therefore, in the service access method of this application embodiment, the first device can notify the service function management node that the first service path is unavailable when the first service path is unavailable. The service function management node can then switch the service to be accessed by the terminal device to another service path, or release the first service path, and then access the service to be accessed initiated by the terminal device through the first service path, thereby achieving effective service access and improving user experience.
[0083] In one embodiment, the first device is a service function management node. After the first device determines that the first service path is unavailable, the method further includes:
[0084] The first device switches the service to be accessed to a service path other than the first service path, or initiates a request message to release the first service path.
[0085] Therefore, in the service access method of this application embodiment, the first device can switch the service to be accessed by the terminal device to another service path or release the first service path when the first service path is unavailable, and then access the service to be accessed initiated by the terminal device through the first service path, thereby achieving effective service access and improving user experience.
[0086] In one embodiment, in some possible embodiments, the method 200 further includes:
[0087] If the first device determines that the first service path is available, the first device accesses the service to be accessed through the first service path.
[0088] In other words, the service access method of this application embodiment can use the first service path to access the service initiated by the terminal device when the first service path is available, and can use other service paths to access the service initiated by the terminal device when the first service path is unavailable, or stop some or all services on the first service path and then use the first service path to access the service initiated by the terminal device.
[0089] In one embodiment, the first service path is a 3GPP path or a non-3GPP path.
[0090] If the first service path is a 3GPP path, the service to be accessed can be accessed through a 3GPP network (e.g., an LTE network or a 5G network, etc.). Alternatively, if the first service path is a non-3GPP path, the service to be accessed can be accessed through a non-3GPP network, such as WLAN.
[0091] In one embodiment, in some embodiments, the method 200 further includes:
[0092] The first device sends the first data packet to the second device at a specific period, or receives the first data packet sent by the second device.
[0093] In one embodiment, the specific period is agreed upon by the first device and the second device. For example, the first device and the second device can determine the transmission period of the first device, i.e., the specific period mentioned above, through message interaction. Alternatively, if the first device is a terminal device and the second device is a network device, the specific period is configured by the second device. That is, the second device can configure the transmission period of the first data packet for the first device. For example, the second device can send a first message to the first device to configure the transmission period of the first data packet for the first device. The first message can be semi-static signaling (e.g., Radio Resource Control (RRC) message) or dynamic signaling (e.g., Downlink Control Information (DCI)).
[0094] Alternatively, the specific period can be agreed upon by the protocol, so that there is no need for information exchange between the first device and the second device. The sending end can send the first data packet according to the sending period agreed upon by the protocol, and the receiving end can also receive the first data packet according to the sending period predetermined by the protocol.
[0095] In one specific embodiment, the first device sends the first data packet to the second device at a specific period, including:
[0096] The first device sends the first data packet to the second device according to the specific period when the first preset condition is met.
[0097] That is, the first device can send the first data packet at a specific period under the condition of meeting the first preset condition. For example, the first device can start sending the first data packet periodically when the link quality of the first service path is poor.
[0098] In one embodiment, in some possible embodiments, the data stream or bearer used to transmit the first data packet has a corresponding relationship with the transmission period of the first data packet.
[0099] For example, the data stream used to transmit the first data packet and the transmission period of the first data packet can be in a one-to-one correspondence or a many-to-one correspondence, etc. Similarly, the bearer used to transmit the first data packet and the transmission period of the first data packet can also be in a one-to-one correspondence or a many-to-one correspondence, etc.
[0100] The above text combined Figure 2 The method embodiments of this application are described in detail below, in conjunction with... Figures 3 to 4 The present application describes the device embodiments in detail. It should be understood that the device embodiments correspond to the method embodiments, and similar descriptions can be referred to the method embodiments.
[0101] Figure 3 A schematic block diagram of a service access device 300 according to an embodiment of this application is shown. Figure 3 As shown, the device 300 includes:
[0102] The determining module 310 is used to determine the reception status of the first data packet transmitted through the first service path, and to determine whether the first service path is available based on the reception status of the first data packet.
[0103] In one embodiment, in some possible embodiments, the device 300 is the sender of the first data packet and the second device is the receiver of the first data packet; or the device 300 is the receiver of the first data packet and the second device is the sender of the first data packet.
[0104] In one embodiment, in some possible embodiments, the device 300 is a terminal device and the second device is a network device; or the device 300 is a network device and the second device is a terminal device.
[0105] In one implementation, and in some possible embodiments, the network device is a Service Function Management Node or a User Plane Function (UPF) entity.
[0106] In one embodiment, and in some possible embodiments, the device 300 further includes:
[0107] The communication module is used to send the first data packet to the second device at a specific period, or to receive the first data packet sent by the second device.
[0108] In one embodiment, and in some possible embodiments, the communication module is specifically used for:
[0109] Under the condition that the first preset condition is met, the first data packet is sent to the second device according to the specific period.
[0110] In one embodiment, in some possible embodiments, the specific period is agreed upon by the device and the second device; or, if the device is a terminal device and the second device is a network device, the specific period is configured by the second device.
[0111] In one embodiment, in some possible embodiments, the data stream or bearer used to transmit the first data packet has a corresponding relationship with the transmission period of the first data packet.
[0112] In one embodiment, and in some possible embodiments, the device 300 is the sender of the first data packet, and the device 300 further includes:
[0113] A communication module is used to receive the reception status of the first data packet reported by the second device;
[0114] The determining module 310 is specifically used for:
[0115] Based on the reception status of the first data packet reported by the second device, determine whether the first service path is available.
[0116] In one embodiment, in some possible embodiments, the determining module 310 is specifically used for:
[0117] The first service path is determined to be unavailable if at least one of the following conditions is met:
[0118] The following conditions are met: the first data packet is not received correctly within a specific time period of the receiving cycle; the number of data packets correctly received within the receiving window is lower than a first preset value; the ratio of correctly received data packets to all received data packets within the receiving window is lower than a second preset value; the ratio of incorrectly received data packets to all received data packets within the receiving window is higher than a third preset value; the ratio of incorrectly received data packets to correctly received data packets within the receiving window is higher than a fourth preset value; and the ratio of correctly received data packets to incorrectly received data packets within the receiving window is lower than a fifth preset value.
[0119] In one embodiment, in some possible embodiments, the device 300 is a terminal device or a UPF entity, and the device 300 further includes:
[0120] The communication module is used to send status information to the service function management node. The status information is used to indicate that the first service path is unavailable, so that the service function management node can switch the service to be accessed to another service path other than the first service path, or initiate a request message to release the first service path.
[0121] In one embodiment, and in some possible embodiments, the device 300 is a service function management node, and the device 300 further includes:
[0122] The communication module is used to switch the service to be accessed to a service path other than the first service path, or to initiate a request message to release the first service path.
[0123] In one embodiment, and in some possible embodiments, the device further includes:
[0124] The access module is used to access the service to be accessed through the first service path when the device determines that the first service path is available.
[0125] In one embodiment, in some possible embodiments, the first data packet includes a sequence number, and the determining module 310 is further configured to:
[0126] The reception status of the first data packet is determined based on the sequence number of the received first data packet.
[0127] In one implementation, and in some possible embodiments, the first service path is a 3GPP path or a non-3GPP path.
[0128] It should be understood that the service access device 300 according to the embodiments of this application may correspond to the first device in the method embodiments of this application, and the above and other operations and / or functions of each unit in the device 300 are respectively for implementing Figure 2 The corresponding process of the first device in method 200 shown will not be described in detail here for the sake of brevity.
[0129] like Figure 4 As shown in the illustration, this application embodiment also provides a service access device 400, which can be used for... Figure 3 Device 300, which is capable of performing and Figure 2 The content of the first device corresponding to method 200. This device 400 includes: an input interface 410, an output interface 420, a processor 430, and a memory 440. The input interface 410, output interface 420, processor 430, and memory 440 can be connected via a bus system. The memory 440 is used to store programs, instructions, or code. The processor 430 is used to execute the programs, instructions, or code in the memory 440 to control the input interface 410 to receive signals, control the output interface 420 to send signals, and complete the operations described in the aforementioned method embodiments.
[0130] It should be understood that in the embodiments of this application, the processor 430 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0131] The memory 440 may include read-only memory and random access memory, and provides instructions and data to the processor 430. A portion of the memory 440 may also include non-volatile random access memory. For example, the memory 440 may also store device type information.
[0132] In implementation, each part of the above method can be accomplished through the integrated logic circuits in the hardware of the processor 430 or through software instructions. The content of the method disclosed in the embodiments of this application can be directly manifested as execution by the hardware processor, or as execution by a combination of hardware and software modules in the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 440, and the processor 430 reads the information in memory 440 and, in conjunction with its hardware, completes the content of the above method. To avoid repetition, a detailed description is not provided here.
[0133] In one specific implementation, Figure 3 The communication module and access module in the device 300 shown can be used Figure 4 The input interface 410 and output interface 420 are implemented. Figure 3 The determination module 310 in the device 300 shown can be used Figure 4 The processor 430 is implemented.
[0134] Those skilled in the art will recognize that the units 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.
[0135] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0136] 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 units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units 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 units may be electrical, mechanical, or other forms.
[0137] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0138] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0139] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0140] 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 method of service access, characterized by, include: The first device determines the reception status of the first data packet transmitted through the first service path, wherein the first service path is a 3GPP (3rd Generation Partnership Project) path. The first device determines whether the first service path is available based on the reception status of the first data packet; Wherein, the first device is a terminal device or a User Plane Function (UPF) entity, and after the first device determines that the first service path is unavailable, the method further includes: The first device sends status information to the service function management node, the status information being used to indicate that the first service path is unavailable, so that the service function management node can switch the service to be accessed to another service path other than the first service path.
2. The method of claim 1, wherein, The first device is the sender of the first data packet, and the second device is the receiver of the first data packet; or the first device is the receiver of the first data packet, and the second device is the sender of the first data packet; the second device is the service function management node.
3. The method according to claim 1 or 2, characterized in that, The method further includes: The first device sends the first data packet to the second device at a specific period, or receives the first data packet sent by the second device.
4. The method of claim 3, wherein, The first device sends the first data packet to the second device at a specific period, including: The first device sends the first data packet to the second device according to the specific period when the first preset condition is met.
5. The method of claim 3, wherein, The specific period is agreed upon by the first device and the second device.
6. The method of claim 3, wherein, The data stream or bearer used to transmit the first data packet has a corresponding relationship with the transmission period of the first data packet.
7. The method of claim 1 or 2, wherein, The first device determines whether the first service path is available based on the reception status of the first data packet, including: The first device determines that the first service path is unavailable when at least one of the following conditions is met: The following conditions are met: the first data packet is not received correctly within a specific time period of the receiving cycle; the number of data packets correctly received within the receiving window is lower than a first preset value; the ratio of correctly received data packets to all received data packets within the receiving window is lower than a second preset value; the ratio of incorrectly received data packets to all received data packets within the receiving window is higher than a third preset value; or the ratio of incorrectly received data packets to correctly received data packets within the receiving window is higher than a fourth preset value; or the ratio of correctly received data packets to incorrectly received data packets within the receiving window is lower than a fifth preset value.
8. The method of claim 1 or 2, wherein, The method further includes: If the first device determines that the first service path is available, the first device accesses the service to be accessed through the first service path.
9. The method according to claim 1 or 2, characterized in that, The first data packet includes a sequence number. The first device determines the reception status of the first data packet transmitted through the first service path, including: The first device determines the reception status of the first data packet based on the sequence number of the received first data packet.
10. A device for service access, characterized in that, include: The determination module is used to determine the reception status of the first data packet transmitted through the first service path, and to determine whether the first service path is available based on the reception status of the first data packet, wherein the first service path is a 3GPP path. The device is a terminal device or a User Plane Function (UPF) entity. The determining module is further configured to: A status information is sent to the business function management node, the status information being used to indicate that the first business path is unavailable, so that the business function management node can switch the business to be accessed to another business path other than the first business path.
11. The device according to claim 10, characterized in that, The device is the sender of the first data packet, and the second device is the receiver of the first data packet; or the device is the receiver of the first data packet, and the second device is the sender of the first data packet. The second device is the business function management node.
12. The device according to claim 10 or 11, characterized in that, The device further includes a communication module, used to send the first data packet to the second device at a specific period, or to receive the first data packet sent by the second device.
13. The device according to claim 12, characterized in that, The communication module is specifically used for: Under the condition that the first preset condition is met, the first data packet is sent to the second device according to the specific period.
14. The device according to claim 12, characterized in that, The specific period is agreed upon by the device and the second device.
15. The device according to claim 12, characterized in that, The data stream or bearer used to transmit the first data packet has a corresponding relationship with the transmission period of the first data packet.
16. The device according to claim 10 or 11, characterized in that, The determining module is specifically used for: The first service path is determined to be unavailable if at least one of the following conditions is met: The following conditions are met: the first data packet is not received correctly within a specific time period of the receiving cycle; the number of data packets correctly received within the receiving window is lower than a first preset value; the ratio of correctly received data packets to all received data packets within the receiving window is lower than a second preset value; the ratio of incorrectly received data packets to all received data packets within the receiving window is higher than a third preset value; or the ratio of incorrectly received data packets to correctly received data packets within the receiving window is higher than a fourth preset value; or the ratio of correctly received data packets to incorrectly received data packets within the receiving window is lower than a fifth preset value.
17. The device according to claim 10 or 11, characterized in that, The device also includes: The access module is used to access the service to be accessed through the first service path when the device determines that the first service path is available.
18. The device according to claim 10 or 11, characterized in that, The first data packet includes a sequence number, and the determining module is further configured to: The reception status of the first data packet is determined based on the sequence number of the received first data packet.
19. A device for service access, characterized in that, The device includes: a memory, a processor, an input interface, and an output interface, wherein the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to perform the method as described in any one of claims 1 to 9.
20. A computer storage medium, characterized in that, Used to store computer software instructions, the computer software instructions comprising programs designed for performing the method as described in any one of claims 1 to 9.