A method and apparatus for transmitting information

By configuring detection parameters and initiating QoS resource scheduling when information loss reaches a threshold, the problem of equipment downtime caused by information loss in wireless communication is solved, thus ensuring reliable information transmission and production efficiency.

CN116017489BActive Publication Date: 2026-01-16HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111213266.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2026-01-16
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

In industrial field networks using wireless communication, information loss can cause equipment downtime and affect production efficiency, and existing technologies lack reliable information transmission guarantees.

Method used

By configuring detection parameters, including thresholds, when the loss of detection information reaches certain conditions, QoS resource scheduling is initiated to adjust resource configuration in a timely manner to ensure reliable information transmission.

Benefits of technology

It improves the reliability of information transmission, avoids equipment downtime due to information loss, and ensures production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116017489B_ABST
    Figure CN116017489B_ABST
Patent Text Reader

Abstract

The application provides a method and device for transmitting information, the method comprising: a first device configuring a detection parameter, the detection parameter comprising a first threshold value, the first threshold value being used for detecting whether a message is lost; and the first device starting quality of service (QoS) resource scheduling when the first device does not receive the message in M periods and M is greater than or equal to the first threshold value. The scheme detects the messages exchanged in a communication system by configuring the detection parameter, and performs resource scheduling in time when the message loss reaches a certain condition, thereby guaranteeing the reliable transmission of the messages, avoiding machine downtime caused by packet loss, and thus guaranteeing production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication. In particular, the present application relates to a method and apparatus for transmitting information. BACKGROUND

[0002] With the continuous development of 5G industrial internet technology, the device communication in the industrial field network is currently being converted from wired-based communication to wireless-based communication. However, the air interface of the wireless communication industrial field network can experience information loss, which can cause device downtime, force service interruption, and severely affect production efficiency. Therefore, how to ensure reliable transmission of information is a problem to be solved. SUMMARY

[0003] The present application provides a method and apparatus for transmitting information, which can detect the transmission state of information in time, quickly adjust resources when information loss occurs, and ensure reliable transmission of information, thereby improving the efficiency of information transmission.

[0004] In a first aspect, a method for transmitting information is provided. The method can include: a first device configuring a detection parameter, the detection parameter including a first threshold; and the first device starting quality of service (QoS) resource scheduling when the first device does not receive a message in M cycles, and M is greater than or equal to the first threshold, wherein M is a positive integer.

[0005] The scheme detects the message by configuring a detection parameter, and schedules resources in time when the message loss reaches a certain condition, so as to ensure reliable transmission of the message, avoid machine downtime caused by packet loss, and ensure production efficiency.

[0006] It should be understood that the first device can be a core network device, an access network device, or a terminal device.

[0007] The detection parameter can further include a message source address, a corresponding message, and a bus cycle. When the first device is a core network device or a terminal device, the above-mentioned starting of QoS resource scheduling can be the first device sending a request message to the access network device to request the access network device to schedule resources. When the first device is an access network device, the first device does not need to wait for a request message and can start QoS resource scheduling by itself.

[0008] The corresponding message can be indicated by a message identifier, which is not limited in the present application.

[0009] It should also be understood that the first device can detect periodic messages or non-periodic messages, which are not limited in the present application. For example, the periodic message can be a service message, and the non-periodic message can be a functional safety message.

[0010] In a possible implementation, the M periods can be consecutive M periods.

[0011] For example, M can be 3, and the first device can start the QoS resource scheduling when messages in consecutive 3 periods are all lost.

[0012] In a possible implementation, the M periods can also be non-consecutive M periods in a first period.

[0013] That is, the M periods can also be non-consecutive. The first period can be preset. For example, M can be 3, and the first device can start the QoS resource scheduling when messages in 3 periods are lost in a preset first period of 10 seconds.

[0014] It can be understood that the M periods can also be consecutive M periods in a preset period. The application does not limit this.

[0015] In a possible implementation, the first device receives the detection parameter from a second device.

[0016] In a possible implementation, the first device is an access network device or a terminal device, and the second device is a core network device, such as a session management function network element or a user plane function network element.

[0017] That is, when the first device is an access network device or a terminal device, the detection parameter can be received from the core network device before the detection parameter is configured.

[0018] In a possible implementation, the first device sends a request message, and the request message is used to request the access network device to start the QoS resource scheduling.

[0019] It can be understood that when the first device is a core network device or a terminal device, the access network device can be requested to perform resource scheduling.

[0020] In a possible implementation, the first device can send the first request message to the access network device through an industrial field support service network element.

[0021] Considering that information between the user plane function network element and other network elements can be unreachable in different architectures, adding the industrial field support service network element to forward information can improve the information transmission efficiency between the user plane function network element and other network elements, and improve the success rate of resource scheduling.

[0022] In a possible implementation, the resource scheduling can be switching from a first QoS configuration to a second QoS configuration by the first device, where the second QoS configuration includes a packet loss rate smaller than that of the first QoS configuration, that is, the packet loss rate of the message scheduled by the second QoS configuration is smaller than that of the message scheduled by the first QoS configuration. Similar to 3 below, details are not repeated here.

[0023] That is, the resource scheduling can be switching the QoS configuration, when the first device is a core network device or a terminal device, the QoS resource scheduling can be that the first device sends a request message to the access network device, to request the access network device to schedule resources, and the access network device can request the session management function network element to reconfigure the QoS resources; when the first device is an access network device, the request can be directly reported to the session management function network element to request reconfiguration of the QoS resources, without waiting for the request.

[0024] It should be understood that the request for the session management function network element to reconfigure the QoS resources is only an example and is not limited, and other methods of QoS resource scheduling are also applicable to the present solution.

[0025] In a possible implementation, the first device records the missing number of times once when the message is not received in a period.

[0026] The first device can set the detection time through a timer, and the timing period of the timer can be determined according to the bus period, for example, the bus period is 1 second, and the timing period of the timer can be 1 second. It should be understood that the above values are only examples and are not limited.

[0027] In a possible implementation, the first device determines that the missing number of times is M times when the message is not received in M periods.

[0028] When the first device does not receive the message in a period, the missing number of times is recorded, and then the timer is reset for detection in the next period. When the cumulative missing number of times of the message is less than M, the first device continues to detect; when the cumulative missing number of times of the message is greater than or equal to M, the first device can start resource scheduling.

[0029] In a possible implementation, the detection parameter further includes the period of the message.

[0030] It can be understood that the detection parameter can include the message transmission period used by the timer to determine the timing period, and when the first device is an access network device or a terminal device, the period can be received when the detection parameter is received.

[0031] In a possible implementation, the first device releases the QoS resource scheduling when the first device receives the message in consecutive Y periods after the first device completes the QoS resource scheduling, and the Y is greater than or equal to a second threshold.

[0032] It should be understood that the second threshold can be the same as or different from the first threshold in value, which is not limited in the present application.

[0033] In a possible implementation, the releasing the QoS resource scheduling can be switching, by the first device, from a second QoS configuration to a first QoS configuration, where a packet loss rate of the second QoS configuration is less than a packet loss rate of the first QoS configuration.

[0034] Alternatively, the releasing the resource scheduling can also be switching, by the first device, from the second QoS configuration to a third QoS configuration, where a packet loss rate included in the second QoS configuration is less than a packet loss rate included in the third QoS configuration. That is, the first device releases the QoS resource scheduling to a configuration with a packet loss rate greater than the second QoS configuration but not necessarily equal to the original first QoS configuration.

[0035] The scheme can reduce the load of the device and save the power consumption of the device by switching the QoS configuration to the QoS configuration before the scheduling or reconfiguring a configuration with a packet loss rate greater than the second QoS configuration after detecting that the message transmission is normal.

[0036] In a possible implementation, the detection parameter further includes a second threshold.

[0037] That is, the second threshold can be preconfigured. It should be understood that the second threshold can also be preset, which is not limited in the present application.

[0038] In a second aspect, a method for transmitting information is provided, which can include: periodically receiving, by a third device, a safety message, the safety message including a first identifier; determining, by the third device, occurrence of a safety event according to the first identifier; and starting, by the third device, QoS resource scheduling.

[0039] The method can respond in time when the safety event is found through detection of the safety message, perform resource scheduling to guarantee reliable transmission of information, and avoid serious impact on production efficiency caused by service interruption due to safety failure.

[0040] It should be understood that the third device can be a core network device, for example, can be a user plane function network element.

[0041] It should also be understood that the QoS resource scheduling can be adjusting the priority of the safety message, for example, switching the QoS configuration after the third device determines that the safety event occurs, where the QoS configuration corresponds to a safety message with a higher priority.

[0042] It should be understood that the QoS configuration after switching can also be a configuration capable of reducing the message packet loss rate. That is, the QoS configuration after switching can reduce the packet loss rate of the safety message on the basis of ensuring the priority of the safety message, so that the safety message can be reliably and preferentially transmitted.

[0043] It should also be understood that when the third device is a user plane function network element, the third device initiating the QoS resource scheduling can be that the third device sends a request message to the access network device, for requesting the access network device to schedule resources.

[0044] In a possible implementation, the first identifier includes a control bit or a status bit indicating occurrence of a safety event.

[0045] In a possible implementation, the first identifier includes a command value indicating occurrence of a safety event.

[0046] In a possible implementation, the QoS resource scheduling includes uplink QoS resource scheduling and downlink QoS resource scheduling.

[0047] In transmission of the functional safety message, the resource scheduling of the master station and the slave station is performed simultaneously, and reliable guarantee of information transmission can be provided for the entire production line in the industrial network.

[0048] In a possible implementation, the third device initiating the QoS resource scheduling can be that the third device switches from a third QoS configuration to a fourth QoS configuration, where the priority of the safety message in the fourth QoS configuration is higher than the priority of the safety message in the third QoS configuration.

[0049] It can be understood that when the third device is a user plane function network element, the third device sends a scheduling request to the access network device, and the access network device can request a session management function network element to reconfigure a QoS configuration.

[0050] In a possible implementation, after the third device completes the QoS resource scheduling, the third device periodically receives a safety message, the safety message including a second identifier; the third device records a number of consecutive times of receiving the second identifier; and when the number of consecutive times of receiving the second identifier is greater than or equal to a third threshold value, the third device releases the QoS resource scheduling.

[0051] It should be understood that the second identifier can be an identifier of the same type as the first identifier, or the second identifier can be another identifier indicating recovery of a safety event, which is not limited in the present application.

[0052] It should also be understood that the third threshold value can be preconfigured by the user plane function network element, or can be preset, which is not limited in the present application.

[0053] In a possible implementation, the third device releasing the QoS resource scheduling can be the third device switching from the fourth QoS configuration to the third QoS configuration.

[0054] Alternatively, the releasing the resource scheduling can also be the first device switching from the fourth QoS configuration to a fifth QoS configuration, where the fifth QoS configuration includes a priority lower than the priority included in the fourth QoS configuration. That is, the first device releasing the QoS resource scheduling can be released to a configuration with a priority lower than the fourth QoS configuration but not necessarily equal to the original third QoS configuration.

[0055] The scheme can reduce the load of the device and save the power consumption of the device by releasing the QoS resource scheduling after detecting the recovery of the security event.

[0056] In a third aspect, a communication apparatus is provided, which can include: a processing unit configured to configure a detection parameter, the detection parameter including a first threshold value used to detect whether a message is lost; a transceiver configured to periodically receive the message; and the processing unit further configured to start a quality of service (QoS) resource scheduling when the message is not received for M periods, and the M is greater than or equal to the first threshold value, where M is a positive integer.

[0057] In a possible implementation, the M periods can be consecutive M periods.

[0058] In a possible implementation, the M periods can also be non-consecutive M periods in a first time period.

[0059] In a possible implementation, the transceiver is further configured to receive the detection parameter from a second device.

[0060] In a possible implementation, the communication apparatus is an access network device or a terminal device, and the second device is a core network device, such as a session management function network element or a user plane function network element.

[0061] In a possible implementation, the transceiver is further configured to send a request message, the request message being used to request the access network device to start the QoS resource scheduling.

[0062] In a possible implementation, the transceiver is specifically configured to send the first request message to the access network device through an industrial field support service network element.

[0063] In a possible implementation, the processing unit is configured to switch from a first QoS configuration to a second QoS configuration, where the second QoS configuration includes a packet loss rate lower than a packet loss rate included in the first QoS configuration.

[0064] In a possible implementation, the processing unit is further configured to record a missing number of times when the transceiving unit does not receive the message in one period.

[0065] In a possible implementation, the processing unit determines that the missing number of times is recorded M times when the transceiving unit does not receive the message in M periods.

[0066] In a possible implementation, the detection parameter further includes the period of the message.

[0067] In a possible implementation, the processing unit is further configured to cancel the QoS resource scheduling when the transceiving unit receives the message in consecutive N periods after the processing unit completes the QoS resource scheduling, and the N is greater than or equal to a second threshold.

[0068] In a possible implementation, the canceling the QoS resource scheduling can be switching, by the first device, from a second QoS configuration to a first QoS configuration, where a packet loss rate of the second QoS configuration is less than a packet loss rate of the first QoS configuration.

[0069] In a possible implementation, the detection parameter further includes a second threshold.

[0070] It should be understood that the third aspect is a device embodiment corresponding to the method embodiment of the first aspect, and the description of the explanations, supplements and advantages of the embodiments in the first aspect also applies to the third aspect, which will not be repeated here.

[0071] In a fourth aspect, a communication device is provided, which can include: a transceiving unit configured to periodically receive a safety message, the safety message including a first identifier; and a processing unit configured to determine, according to the first identifier, that a safety event occurs, and start QoS resource scheduling.

[0072] In a possible implementation, the first identifier includes a control bit or a status bit indicating occurrence of the safety event.

[0073] In a possible implementation, the first identifier includes a command value indicating occurrence of the safety event.

[0074] In a possible implementation, the QoS resource scheduling includes uplink QoS resource scheduling and downlink QoS resource scheduling.

[0075] In a possible implementation, the processing unit is configured to switch from a third QoS configuration to a fourth QoS configuration, where a priority included in the fourth QoS configuration is higher than a priority included in the third QoS configuration.

[0076] In a possible implementation, after the processing unit completes the QoS resource scheduling, the transceiving unit is further configured to periodically receive a safety message, the safety message comprising a second identifier; the processing unit is configured to record a number of consecutive times of receiving the second identifier; and when the number of consecutive times of receiving the second identifier is greater than or equal to a third threshold, the processing unit is further configured to cancel the QoS resource scheduling.

[0077] In a possible implementation, the processing unit is configured to switch from the fourth QoS configuration to the third QoS configuration.

[0078] It should be understood that the fourth aspect is a device embodiment corresponding to the method embodiment of the second aspect, and the descriptions of the explanations, supplements and advantages of each implementation in the second aspect are also applicable to the fourth aspect, which will not be repeated here.

[0079] In a fifth aspect, a computer readable medium is provided, which stores program codes for execution by a communication device, the program codes comprising instructions for performing the communication method in the method of the first aspect or the second aspect, or any possible implementation of the first aspect or the second aspect, or all possible implementations of the first aspect or the second aspect.

[0080] In a sixth aspect, a computer program product is provided, which comprises instructions that, when executed on a computer, cause the computer to perform the method of the first aspect or the second aspect, or any possible implementation of the first aspect or the second aspect, or all possible implementations of the first aspect or the second aspect.

[0081] In a seventh aspect, a communication system is provided, which comprises a device having the functions of implementing the method of the first aspect or the second aspect or the third aspect or the fourth aspect, or any possible implementation of the first aspect or the second aspect or the third aspect or the fourth aspect, or all possible implementations of the first aspect or the second aspect or the third aspect or the fourth aspect.

[0082] In an eighth aspect, a processor is provided, which is configured to be coupled with a memory and to perform the method of the first aspect or the second aspect or the third aspect or the fourth aspect, or any possible implementation of the first aspect or the second aspect or the third aspect or the fourth aspect, or all possible implementations of the first aspect or the second aspect or the third aspect or the fourth aspect.

[0083] In a ninth aspect, a chip is provided, which comprises a processor and a communication interface, the communication interface being configured to communicate with an external device or an internal device, and the processor being configured to implement the method of the first aspect or the second aspect, or any possible implementation of the first aspect or the second aspect, or all possible implementations of the first aspect or the second aspect.

[0084] Optionally, the chip further comprises a memory, and the memory stores instructions, and the processor is configured to execute the instructions stored in the memory or other instructions. When the instructions are executed, the processor is configured to implement the method in the first aspect or the second aspect or any possible implementation manner thereof.

[0085] Optionally, the chip can be integrated on a terminal. BRIEF DESCRIPTION OF DRAWINGS

[0086] Figure 1 A schematic diagram of a communication architecture suitable for use in the present application is shown.

[0087] Figure 2 A schematic diagram of a method of transmitting information provided by an embodiment of the present application is shown.

[0088] Figure 3 A flowchart of a method of transmitting information provided by an embodiment of the present application is shown.

[0089] Figure 4 A flowchart of a method of transmitting information provided by another embodiment of the present application is shown.

[0090] Figure 5 A flowchart of a method of transmitting information provided by another embodiment of the present application is shown.

[0091] Figure 6 A flowchart of a method of transmitting information provided by another embodiment of the present application is shown.

[0092] Figure 7 A schematic diagram of a method of transmitting information provided by another embodiment of the present application is shown.

[0093] Figure 8 A flowchart of a method of transmitting information provided by another embodiment of the present application is shown.

[0094] Figure 9 A schematic block diagram of a communication apparatus suitable for use in the present application is shown.

[0095] Figure 10 A schematic block diagram of another communication apparatus suitable for use in the present application is shown. DETAILED DESCRIPTION

[0096] The technical solutions in the present application will be described below with reference to the accompanying drawings.

[0097] Figure 1 is a schematic diagram of a network architecture suitable for use in an embodiment of the present application. The various parts involved in the network architecture shown will be described below. Figure 1 The various parts involved in the network architecture shown will be described below.

[0098] 1. User equipment (UE) 110: can include various hand-held devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems with wireless communication functions, and various forms of terminals, mobile stations (MS), terminals or soft terminals, etc. For example, water meters, electricity meters, sensors, etc.

[0099] Exemplarily, the user equipment in the embodiments of the present application can refer to an access terminal, a user unit, a user station, a mobile station, a mobile station, a relay station, a remote station, a remote terminal, a mobile device, a user terminal, terminal equipment, a wireless communication device, a user agent or a user device. The user equipment can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a user equipment in a 5G network or a user equipment in a future evolved public land mobile network (PLMN) or a user equipment in a future Internet of Vehicles, etc. The embodiments of the present application are not limited thereto.

[0100] Exemplarily, in an industrial network, the user equipment can be customer premise equipment (CPE).

[0101] By way of example, and without limitation, in the embodiments of the present application, the wearable device can also be referred to as a wearable smart device, which is a general term for devices that are designed and developed by applying wearable technology to daily wear, such as glasses, gloves, watches, clothing and shoes, etc. The wearable device is a portable device that can be directly worn on the body or integrated into the user's clothes or accessories. The wearable device is not only a hardware device, but also a powerful function realized through software support and data interaction, cloud interaction. The general wearable smart device includes a full function, large size, which can realize complete or partial functions without relying on a smart phone, such as smart watches or smart glasses, etc., and focuses on a certain application function, which needs to be used with other devices such as smart phones, such as various smart wristbands, smart jewelry, etc. for monitoring body signs.

[0102] In addition, in the embodiments of the present application, the user equipment can also be user equipment in an internet of things (IoT) system. The IoT is an important part of future information technology development, and its main technical feature is to connect objects through communication technology and network to realize the intelligent network of man-machine interconnection and object-object interconnection. In the embodiments of the present application, the IOT technology can achieve mass connection, deep coverage and terminal power saving through, for example, narrow band (NB) technology. In addition, in the embodiments of the present application, the user equipment can also include intelligent printers, train detectors, gas station sensors, and the like, and the main functions include collecting data (for some user equipment), receiving control information and downlink data of the access network equipment, and transmitting electromagnetic waves to transmit uplink data to the access network equipment.

[0103] 2. (Radio) access network equipment (R)AN 120: used to provide network access functions for authorized user equipment in a specific area, and can use different quality transmission tunnels according to the level of the user equipment, the demand of the service, etc.

[0104] The (R)AN can manage radio resources, provide access services for user equipment, and further complete the forwarding of control signals and user equipment data between user equipment and the core network. The (R)AN can also be understood as a base station in the traditional network.

[0105] Exemplarily, the access network device in the embodiments of the present application can be any kind of communication device with wireless transceiving function for communicating with the user equipment. The access network device includes but is not limited to: an evolved NodeB (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home evolved NodeB (HeNB) or a home Node B (HNB), a baseband unit (BBU), an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (TP) or a transmission and reception point (TRP), etc., and can also be a gNB or a transmission point (TRP or TP) in a 5G, such as an NR, system, one or a group (including multiple antenna panels) of antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU), etc.

[0106] In some deployments, a gNB can include a centralized unit (CU) and a DU. The gNB can also include an active antenna unit (AAU). The CU implements part of the functions of the gNB, and the DU implements part of the functions of the gNB. For example, the CU is responsible for processing non-real-time protocols and services, implements the radio resource control (RRC), and the functions of the packet data convergence protocol (PDCP) layer. The DU is responsible for processing the physical layer protocol and real-time services, and implements the functions of the radio link control (RLC) layer, the media access control (MAC) layer, and the physical (PHY) layer. The AAU implements part of the physical layer processing functions, radio frequency processing, and related functions of the active antenna. Since the information of the RRC layer eventually becomes the information of the PHY layer, or is converted from the information of the PHY layer, in this architecture, high-layer signaling, such as RRC layer signaling, can also be considered as being sent by the DU, or by the DU+AAU. It can be understood that the access network device can be a device including one or more of the CU node, the DU node, and the AAU node. In addition, the CU can be divided into an access network device in the radio access network (RAN), or can be divided into an access network device in the core network (CN), which is not limited in the present application.

[0107] 3. User plane network element 130: used for packet routing and forwarding, quality of service (QoS) processing of user plane data, and the like.

[0108] In the 5G communication system, the user plane network element can be a user plane function (UPF) network element. In future communication systems, the user plane network element can still be a UPF network element, or can also have other names, which are not limited in the present application.

[0109] 4. Data network network element 140: used to provide a network for transmitting data.

[0110] In the 5G communication system, the data network network element can be a data network (DN) network element. In future communication systems, the data network network element can still be a DN network element, or can also have other names, which are not limited in the present application.

[0111] 5、Access management network element 150: mainly used for mobility management and access management, etc., which can be used to implement other functions in the mobility management entity (MME) function except session management, such as lawful interception, access authorization / authentication, etc.

[0112] In the 5G communication system, the access management network element can be an access and mobility management function (AMF) network element. In future communication systems, the access management network element can still be an AMF network element, or it can also have other names, which are not limited in the present application.

[0113] 6、Session management network element 160: mainly used for session management, internet protocol (IP) address allocation and management of terminal devices, selection of manageable user plane functions, policy control and charging function interface termination point, and downlink data notification, etc.

[0114] In the 5G communication system, the session management network element can be a session management function (SMF) network element. In future communication systems, the session management network element can still be an SMF network element, or it can also have other names, which are not limited in the present application.

[0115] 7、Policy control network element 170: a unified policy framework for guiding network behavior, providing policy rule information for control plane function network elements (such as AMF, SMF network elements, etc.).

[0116] In the 4G communication system, the policy control network element can be a policy and charging rules function (PCRF) network element. In the 5G communication system, the policy control network element can be a policy control function (PCF) network element. In future communication systems, the policy control network element can still be a PCF network element, or it can also have other names, which are not limited in the present application.

[0117] It can be understood that the above network elements or functions can be network elements in hardware devices, or software functions running on special hardware, or virtualized functions instantiated on a platform (such as a cloud platform).

[0118] In Figure 1 In the network architecture shown in FIG. 1, the terminal device is connected with the AMF through the N1 interface, the RAN is connected with the AMF through the N2 interface, and the RAN is connected with the UPF through the N3 interface.

[0119] The UPF interworks with a data network (DN) through an N6 interface.

[0120] The SMF controls the UPF through an N4 interface. The AMF interfaces with the SMF through an N11 interface.

[0121] The AMF obtains terminal device subscription data from a unified data management (UDM) unit through an N8 interface; and the SMF obtains terminal device subscription data from the UDM unit through an N10 interface.

[0122] The AMF obtains policy data from a PCF through an N15 interface; and the SMF obtains policy data from the PCF through an N7 interface.

[0123] It should be noted that, Figure 1 The names of various network elements and communication interfaces between the network elements involved in the above description are simple descriptions based on the current protocol, but do not limit the application examples to only be applicable to the currently known communication system. Therefore, the standard names appearing in the description based on the current protocol are functional descriptions, and the specific names of the network elements, interfaces or signaling in the application are not limited, and only indicate the function of the network element, interface or signaling, which can be extended to other systems, such as 2G, 3G, 4G or future communication systems.

[0124] The network architecture to which the application examples shown in the above Figure 1 The network architecture to which the application examples shown in the above

[0125] For example, in some network architectures, network function network element entities such as AMF network elements and SMF network elements are all called network function network element (NF) network elements; or in other network architectures, a set of network elements such as AMF network elements and SMF network elements can be called a control plane function network element.

[0126] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD) system, a universal mobile telecommunication system (UMTS), a worldwide interoperability for microwave access (WiMAX) communication system, a 5th generation (5G) system, a new radio (NR) or future network, and the like. The technical solutions provided in the present application can also be applied to a future communication system, such as a 6th generation mobile communication system. The communication system can also be a public land mobile network (PLMN) network, a device-to-device (D2D) communication system, a machine-to-machine (M2M) communication system, an internet of Things (IoT) communication system, or other communication systems.

[0127] It should be understood that the method provided by the embodiments of the present application can be applied to a 5G communication system, for example, a communication system as shown in FIG. 1. Figure 1

[0128] The embodiments shown below do not particularly limit the specific structure of the execution subject of the method provided by the embodiments of the present application, as long as the execution subject can communicate according to the method provided by the embodiments of the present application by running a program in which the code of the method provided by the embodiments of the present application is recorded. For example, the execution subject of the method provided by the embodiments of the present application can be a terminal device or a core network device, or a functional module in the terminal device or the core network device that can invoke and execute the program.

[0129] In order to facilitate understanding of the embodiments of the present application, the following points are explained in advance.

[0130] First, the first, second and various numerical numbers (for example, "1", "2", and the like) shown in the present application are only convenient for description, and are used to distinguish objects, and do not limit the scope of the embodiments of the present application. For example, different messages are distinguished. Instead of being used to describe a specific order or sequence. It should be understood that the objects thus described can be interchanged under appropriate circumstances, so as to be able to describe solutions other than the embodiments of the present application.

[0131] ​Secondly, in the present application, "predefined" can include predefinition, for example, protocol definition. Wherein, "predefinition" can be realized by pre-storing corresponding codes, tables or other means that can be used to indicate relevant information in the device (for example, including terminal device or core network device), and the present application does not limit the specific implementation mode thereof.

[0132] Thirdly, the "protocol" involved in the embodiments of the present application can refer to the standard protocol in the communication field, which can include 5G protocol, new radio (NR) protocol and related protocols applied in future communication system, and the present application does not limit this.

[0133] Fourthly, in the present application, "enable" can include direct enablement and indirect enablement. When describing that a certain information is used to enable A, it can include that the information directly enables A or indirectly enables A, and it does not mean that A is necessarily carried in the information.

[0134] The information enabled by the information is called to-be-enabled information, and there are many ways to enable the to-be-enabled information in the specific implementation process, for example but not limited to, the to-be-enabled information can be directly enabled, such as the to-be-enabled information itself or the index of the to-be-enabled information. The to-be-enabled information can also be indirectly enabled by enabling other information, wherein the other information and the to-be-enabled information have an association relationship. The to-be-enabled information can also be enabled only in part, and the other part of the to-be-enabled information is known or agreed in advance. For example, the enablement of a specific information can also be realized by means of the arrangement order of each information agreed in advance (for example, protocol provision), thereby reducing the enablement cost to a certain extent. At the same time, the common part of each information can be identified and uniformly enabled, so as to reduce the enablement cost caused by separately enabling the same information.

[0135] At present, in the industrial network, the transmission of messages between the controller and the device needs to pass through the CPE, the RAN and the UPF. Due to the characteristics of the 3GPP wireless network, the message loss between the CPE and the RAN can be caused. The existing functional safety transmission mechanism also has no reliability guarantee. The safety message represented by the fault safety (PROFIsafe) relies on the polling mechanism of the lower-layer industrial Ethernet (PROFINET) to realize the message transmission. According to the existing protocol design, the safety message reporting the safety event and the safety message not reporting the safety event have no message priority, and it is difficult to form network guarantee. If the message cannot be reliably transmitted due to network reasons, the device will enter the safety state, so that the production is stopped.

[0136] In view of the above problems, the present application provides a method for transmitting information, as shown in Figure 2

[0137] 201: The first device configures a detection parameter.​

[0138] The detection parameter can include a first threshold.

[0139] 202: When the first device does not receive the message in M cycles and M is greater than or equal to the first threshold, the first device starts the QoS resource scheduling.

[0140] The scheme configures a detection parameter, and the first device detects the message. When the message loss reaches a certain condition, the resource scheduling is performed in time to ensure the reliable transmission of the message and avoid the machine downtime caused by packet loss, thereby ensuring the production efficiency.

[0141] The first device in 201 can be a core network device, an access network device, or a terminal device.

[0142] For example, when the detected message is an uplink message, the first device can be a core network device, such as a UPF or an SMF. When the detected message is a downlink message, the first device can be an access network device, such as a RAN, or a UE or a CPE.

[0143] It should be understood that when the first device is a RAN or a terminal device (UE or CPE), the first device can also receive a detection parameter from a second device before 201. The second device can be a core network device, such as a UPF or an SMF. That is, the core network device preconfigures (also referred to as presets) the detection parameter, sends the detection parameter to the RAN or the terminal device (UE or CPE), and the RAN or the terminal device configures the detection parameter.

[0144] It should also be understood that Figure 2 The detected message in 201 can be a service message, for example, in an industrial network, it can be a message sent by a controller to indicate the operation behavior of a device (device); or a functional safety message, for example, in an industrial network, it can be a message indicating whether a safety event occurs. The present application does not limit this.

[0145] The preset condition in 202 can be a condition preset according to the detection parameter. For example, the detection parameter can include a preset threshold, which can be a threshold of the number of message losses (also referred to as timeout times). The preset condition can be that the number of message losses is greater than the threshold. For example, when the threshold of the number of message losses is 3, the first device detects that the message is lost 4 times, and then it can be determined that the number of message losses meets the preset condition, and the subsequent process is performed. It can be understood that the first device can record the number of losses when detecting the message loss.

[0146] In addition, the first device detects the message, which can be a periodic message, and accumulates the number of missing messages to make a further judgment. The first device can also detect a non-periodic message once, and the missing message can start the QoS resource scheduling. The application does not limit this.

[0147] In the industrial network, the message type of the non-periodic message and the periodic message can be different, and the format of the message can also be different. The first device can determine whether the message is a periodic message according to the message type and / or the message format. Alternatively, in the industrial network, the core network device can store network topology information and corresponding communication relationships. If the message transmitted in the industrial network is not included in the network topology information and the corresponding communication relationships, the first device can determine that the message is a non-periodic message.

[0148] When the first device detects the periodic message, the first device correspondingly periodically receives the message. If the first device does not receive the message in M periods, and M is greater than or equal to a preset threshold, the first device starts the QoS resource scheduling.

[0149] It should be understood that the first device does not receive the message in M periods, which can be consecutive. For example, M = 3. When the first device does not receive the message in consecutive 3 periods, it can be determined that the preset condition is met, and the QoS resource scheduling is started.

[0150] The M periods can also be non-consecutive, such as M periods within a certain range. For example, M = 3. Within a 10-second time range, the first device does not receive the message in any 3 periods, and the first device can determine that the preset condition is met and start the QoS resource scheduling. The application does not limit this. The value of M can be a positive integer.

[0151] When the first device is a RAN, the starting of the quality of service (QoS) resource scheduling in 202 can be that the RAN can schedule the QoS resource by itself; when the first device is a UPF, the UPF sends a request message to the RAN to request the RAN to schedule the QoS resource; and when the first device is a CPE, the CPE can report the message loss to the UPF, and then the UPF requests the RAN to schedule the QoS resource.

[0152] The above scheduling of the QoS resource can be reconfiguring the QoS resource. For example, the QoS resource can be a QoS profile. The reconfigured QoS resource has better performance than the replaced QoS resource, such as reducing the packet loss rate of the message and improving the transmission success rate of the message. It should be understood that the packet loss rate is only an example and not a limitation. Other parameters that affect performance, such as signal-to-noise ratio, channel utilization, and / or bandwidth, are also applicable.

[0153] The reconfiguring of the QoS resource can be a RAN request control plane function network element, such as an SMF and / or a PCF, to reconfigure the QoS resource for the RAN. Alternatively, the devices participating in the interaction in the communication system can be synchronously updated with the QoS resource, that is, the SMF reconfigures the QoS resource, and the devices participating in the interaction all use the reconfigured QoS resource to schedule messages.

[0154] It should be understood that the above explanation is applicable to each embodiment of the present application and its possible implementation methods, and similar places below will not be repeated.

[0155] In Figure 2 On the basis of the scheme, the present application proposes an embodiment, Figure 2 The first device in the above embodiment is a UPF, and the UPF detects the periodic uplink message and starts QoS resource scheduling after detecting message loss. A possible implementation is shown in Figure 3

[0156] 301: The UPF configures a detection parameter.

[0157] The detection parameter can include a message source address a, a corresponding message m, a bus cycle c, and a threshold value N.

[0158] The message m can be an example of a periodic message. It should be understood that the detection parameter can include an identifier of the message m, which is used to indicate the periodic message to be detected.

[0159] It should be understood that the above explanation of the message m is applicable to each embodiment and its possible implementation methods, and similar places below will not be repeated.

[0160] 302: The IO controller periodically sends a message, and the UPF periodically receives the message.

[0161] It should be understood that the IO controller is only an example of a message sending device, and other devices that can send periodic messages are also applicable to the present scheme, such as an IO device.

[0162] 303: The UPF detects the message.

[0163] If the UPF successfully receives the message, the internal timer for the message is reset.

[0164] ​If the UPF does not receive the message, the UPF records the number of missing messages +1 (n). When n < N, the UPF resets its internal timer and restarts the timer. If n > N, the UPF determines to initiate resource scheduling. The UPF can determine the relationship between n and N at a predetermined period, such as at the end of each period, or at a period that is an integer multiple of the message transmission period, such as 10 s for a message transmission period of 2 s.

[0165] It should also be understood that the above numerical examples are merely examples and are not limiting.

[0166] After the UPF detects that the number of missing messages is greater than or equal to N, the UPF can perform the following steps:

[0167] 304: The UPF initiates resource scheduling.

[0168] Optionally, the UPF can send a request message to RAN1 to request RAN1 to schedule resources.

[0169] Optionally, the UPF can also perform a de-scheduling process after the resource scheduling is completed.

[0170] 305: The UPF detects a message.

[0171] 306: When the number of missing messages is less than a predetermined threshold, the UPF initiates a de-scheduling process.

[0172] It should be understood that the UPF can send a recovery indication to RAN1 to instruct RAN to recover to the QoS configuration before scheduling.

[0173] The UPF can also send a request message to RAN1 to request to update the QoS configuration, and RAN1 can request the SMF to reconfigure the QoS configuration. It should be understood that the performance of the QoS configuration is lower than that of the updated QoS configuration. For example, the packet loss rate of the QoS configuration is greater than that of the updated QoS configuration.

[0174] In 301, the detection parameter can be determined by the UPF based on relevant information obtained in the configuration stage, such as network topology, communication relationship and / or communication period between the IO controller and the IO device, etc. The threshold N can be used as a threshold for determining the packet transmission state, and the bus period c can be used as the timing period of the internal timer.

[0175] It should be understood that the detection of the uplink message can be ongoing or detection of message transmission over a period of time, which is not limited in the present application.

[0176] The UPF performs resource scheduling, which can be scheduling QoS resources, such as bandwidth, message transmission priority, etc. The UPF can be configured according to the existing QoS configuration on the RAN, or negotiate a new QoS configuration with the RAN1, and then schedule subsequent messages according to the new QoS configuration to ensure successful transmission.

[0177] In which, the release of resource scheduling in 306 can be to restore the QoS configuration before scheduling, or to replace a new QoS configuration after the UPF scheduling is completed. The performance of the QoS configuration before scheduling or the QoS configuration replaced again can be lower than the QoS configuration scheduled by the UPF. For example, a QoS configuration with smaller bandwidth can be replaced to reduce the power consumption of the communication device.

[0178] On the basis of the scheme of Figure 2 , the present application proposes an embodiment, Figure 2 The first device in 306 is a user equipment, which can be a CPE for example. The CPE detects the periodic downlink message, and starts QoS resource scheduling after detecting message loss. A possible implementation is as shown in Figure 4

[0179] 401: The UPF sends a request message to the CPE, which is used to request configuration of detection parameters.

[0180] For example, the request can include the destination address a of the downlink message, the corresponding message m, the bus cycle c, the packet loss threshold N times, and the address (IP or MAC address) of the UPF itself.

[0181] Alternatively, the SMF can also be used to execute the flow of the UPF.

[0182] 402: The CPE configures the detection parameters.

[0183] Optionally, the CPE can start a timer.

[0184] 403: The CPE sends a configuration response to the UPF.

[0185] The configuration response is used to report the success of the configuration of the detection parameters.

[0186] 404: The programmable logic controller (PLC) sends the MAC address of the downlink packet to the device.

[0187] ​It should be understood that PLC is only an example of a device that transmits periodic messages, and other devices in the industrial network that can transmit periodic messages are also applicable. The downlink message is an example of the message in Figure 2 The similar parts are not repeated below.

[0188] The MAC address can be forwarded to the CPE via the UPF and the RAN.

[0189] 405: The CPE detects the message.

[0190] The detection can be that if the CPE successfully receives the message, the internal timer for the message is reset. If the CPE does not receive the message, the CPE records the number of timeouts + 1, and when the number of timeouts n < N, the internal corresponding timer is reset; otherwise, the CPE judges that the downlink message needs resource scheduling.

[0191] This step can refer to the description of step 303 in the method shown in Figure 3 The similar parts are not repeated below.

[0192] After the CPE detects that the number of message losses is greater than or equal to N, the following steps can be performed:

[0193] 406: The CPE reports the downlink message timeout information to the UPF.

[0194] It should be understood that the CPE can report the information to the UPF according to the address obtained in 401.

[0195] For example, the information of the downlink message timeout can be that the m message sent to a is lost n times.

[0196] 407: The UPF sends a request message to the RAN.

[0197] The request message is used to request the RAN to schedule resources.

[0198] It should be understood that the receiver of the downlink message can also be PLC2, that is, PLC2 can be used to perform the related actions of the device.

[0199] It should also be understood that the foregoing explanations of similar content are applicable to the present scheme, and are not repeated here.

[0200] Optionally, the CPE can maintain detection after the resource scheduling is completed.

[0201] 408: When the number of message losses is less than a preset threshold, the CPE starts to cancel the resource scheduling.

[0202] The CPE can restore the QoS configuration before scheduling or replace a set of QoS configurations after the QoS configuration of the UPF scheduling is completed. The performance of the QoS configuration before scheduling or the QoS configuration replaced again can be lower than the QoS configuration of the CPE scheduling completed. For example, a set of QoS configurations with smaller bandwidth can be replaced, which can reduce the power consumption of the communication device.

[0203] It should be understood that the CPE can also send a release indication to the RAN via the UPF to instruct the RAN to release the resource scheduling.

[0204] In this scheme, the transmission state of the downlink message is detected by the CPE, and the QoS resource scheduling is started in time, which can guarantee the reliable transmission of information and improve the production efficiency.

[0205] In the scheme, Figure 2 On the basis of the scheme, the present application further proposes another embodiment. Figure 2 In the first device, the RAN detects the periodic message, and starts the QoS resource scheduling after detecting the message loss. A possible implementation is shown in Figure 5

[0206] 501: The UPF sends a request message to the RAN to request to configure the detection parameter.

[0207] For example, the request can include the destination address a of the downlink message, the corresponding message m, the bus cycle c, the packet loss threshold N times, and the address (IP / MAC) of the UPF itself.

[0208] Alternatively, the SMF can also be used to execute the process of the UPF.

[0209] 502: The RAN configures the detection parameter.

[0210] Optionally, the RAN can start a timer.

[0211] 503: The RAN sends a configuration response to the UPF.

[0212] The configuration response is used to report that the configuration of the detection parameter is successful.

[0213] 504: The PLC sends a downlink message to the device.

[0214] The downlink message can include the MAC address of the PLC.

[0215] The MAC address can be forwarded to the device via the UPF, the RAN and the CPE.

[0216] 505: The RAN detects the message.

[0217] ​If the RAN successfully receives the message, the internal timer for the message is reset. If the UE does not receive the message, the UE first records the number of timeouts + 1. If the number of timeouts n < N, the internal corresponding timer is reset. Otherwise, the UE determines that the downlink message needs resource scheduling.

[0218] This step can be described with reference to the description of step 303 in the method shown in Figure 3 The description of step 303 in the method shown in

[0219] After the RAN detects that the number of message losses is greater than or equal to N, the following steps can be performed:

[0220] 506: The RAN reports downlink message timeout information to the UPF.

[0221] It should be understood that the UE can report information to the UPF according to the address obtained in 501.

[0222] By way of example, the downlink message timeout information can be that the m message sent to a is lost n times.

[0223] 507: The RAN starts resource scheduling.

[0224] It should be understood that the foregoing explanations of similar content apply to this solution, and will not be repeated here.

[0225] Optionally, the RAN can continue to detect after resource scheduling is completed.

[0226] 508: When the number of message losses is less than a preset threshold, start to release resource scheduling.

[0227] The RAN can restore the QoS configuration before scheduling, or replace a set of QoS configurations after the QoS configuration after scheduling is completed. The performance of the QoS configuration before scheduling or the QoS configuration replaced again can be lower than the QoS configuration after the UE completes scheduling. By way of example, a set of QoS configurations with smaller bandwidth can be replaced, which can reduce the power consumption of the communication device.

[0228] In this solution, the RAN detects messages, and can directly start resource scheduling after detecting message loss, saving signaling interaction, further reducing the latency of adjusting resources, and ensuring the reliability of information transmission.

[0229] On the basis of the solution Figure 4 of the present application, a possible way is proposed. Considering the possibility that the UPF address is unreachable, the UE can report the message to an industrial field enablement service (IFES), and then the IFES transfers the related message to the UPF through an interface with the UPF or an internal interface, as shown in Figure 6 .

[0230] 601: The UPF sends a request message to the CPE.

[0231] The request message is used to request the CPE to configure the detection parameter.

[0232] The request can include the destination address a of the message, the corresponding message m, the bus cycle c, and the packet loss threshold N times, and can also include the address (IP / MAC) of the UPF, and can also include the MAC address of the device accessing the CPE and / or the IFES address (IP or MAC).

[0233] Alternatively, the SMF can also be used to execute the flow of the UPF.

[0234] 602: The CPE configures the detection parameter.

[0235] 603: The UE sends a configuration response to the UPF, which is used to report the success of configuring the downlink packet loss detection parameter.

[0236] 604: The PLC sends a downlink message to the device

[0237] The downlink message can include the MAC address of the PLC.

[0238] The MAC address can be forwarded to the device via the UPF, RAN and CPE.

[0239] 605: The CPE detects the message.

[0240] If the CPE does not receive the message, the CPE records the timeout number n+1, and if n

[0241] It should be understood that if the CPE successfully receives the message, the internal timer for the message is reset.

[0242] This step can refer to the description of step 303 in the method shown in Figure 3 The description of step 303 in the method shown in

[0243] After the CPE detects that the number of message losses is greater than or equal to N, the following steps can be performed:

[0244] 606: The CPE reports the downlink message timeout information to the IFES.

[0245] The CPE can report the downlink message timeout information to the IFES according to the address obtained in 601, and the message can be, for example: the m message is lost n times to a.

[0246] 607: The IFES reports the downlink message timeout information sent by the CPE to the UPF.

[0247] 608: The UPF sends a request message to the RAN for requesting the RAN to perform resource scheduling.

[0248] It should be understood that the receiver of the downlink message can also be the PLC2, i.e., the PLC2 can be used to perform the relevant action of the device.

[0249] It should be understood that the CPE can report the message to the IFES, and the IFES can transfer the relevant message to the UPF through the interface / interfacel with the UPF.

[0250] In addition, the application layer can provide an enabling service for OT field communication through the IFES. The configuration information sent by the IFES to the CPE can be sent through the UPF. The UPF and the IFES can be usually deployed in the same physical device and can communicate internally.

[0251] Optionally, after the resource scheduling is completed, the CPE can also continue to detect.

[0252] 609: When the number of lost messages is less than N, the resource scheduling is released.

[0253] The CPE can request the RAN to restore the QoS configuration before the scheduling or replace a set of QoS configurations after the QoS configuration of the scheduling is completed. The performance of the QoS configuration before the scheduling or the QoS configuration replaced again can be lower than the QoS configuration of the CPE after the scheduling is completed. For example, a set of QoS configurations with smaller bandwidth can be replaced, which can reduce the power consumption of the communication device.

[0254] In this scheme, the reachability of messages in different architectures is considered, and the IFES is added, which further ensures that the signaling between the UPF and other network elements can be completely transmitted in the resource adjustment process, so as to ensure the successful completion of the resource adjustment.

[0255] It should be understood that in the above Figure 5 scheme, the IFES can also be added, the RAN detects the message, and the IFES sends the relevant configuration information to the RAN through the UPF. After the RAN detects the packet loss, the air interface resource scheduling can be directly performed, and it is not necessary to be commanded by the UPF to schedule. This will not be expanded here.

[0256] The present application provides another method for transmitting information, as shown in Figure 7 .

[0257] 701: The third device periodically receives a security message from the master station or the slave station, and the security message can include the first identifier.

[0258] The third device can be a user plane function network element. The first identifier can be an identifier indicating occurrence of a safety event, for example, a state bit or a control bit in a fail-safe value (FV) indicating occurrence of a safety event, a field carried in a data state safety PDU indicating occurrence of a safety event, or other identifiers, for example, a preset field, which are not limited in the present application.

[0259] 702: The third device determines occurrence of a safety event according to the first identifier.

[0260] 703: The third device starts QoS resource scheduling.

[0261] Optionally, when the third device is a user plane function network element, the third device can send a request message to a fourth device to request the RAN to start QoS resource scheduling. The fourth device can be an access network device.

[0262] It should be understood that the QoS resource scheduling can be switching the third QoS configuration to a fourth QoS configuration, wherein the priority of the safety message scheduled by the fourth QoS configuration is higher than the priority of the safety message scheduled by the third QoS configuration.

[0263] It should be understood that the fourth QoS configuration can also be a configuration capable of reducing the message packet loss rate. That is, the packet loss rate of the safety message scheduled by the fourth QoS configuration is less than the packet loss rate of the safety message scheduled by the third QoS configuration. The QoS configuration after switching can reduce the packet loss rate of the safety message on the basis of ensuring the priority of the safety message, so that the safety message can be reliably and preferentially transmitted.

[0264] Optionally, the method can further include:

[0265] 704: The third device detects a safety message.

[0266] The safety message can include a second identifier. The second identifier can be an identifier indicating recovery of a safety event, for example, a fail-safe value (FV), a field carried in a data state safety PDU indicating occurrence of a safety event, or other identifiers, for example, a preset field, which are not limited in the present application.

[0267] The third device detects the safety message, and can record the number of times of occurrence of the second identifier. When the number of times meets a preset threshold, the third device can cancel the resource scheduling.

[0268] It should be understood that the preset threshold can be determined according to experience or according to the result of machine learning. The preset threshold can also be dynamically adjusted. For example, the preset threshold is determined to be 3 according to the result of machine learning, and the preset threshold can also be adjusted to 4 according to the new learning result as the machine learning continues to advance. The present application does not limit this. It should be understood that the above numbers are only examples and not limitations.

[0269] 705: The third device releases the resource scheduling.

[0270] The release of the resource scheduling can be that the third device requests the RAN to restore the QoS configuration before the scheduling, such as the third QoS configuration. Or replace a set of QoS configurations after the QoS configuration of the scheduling is completed. The performance of the QoS configuration before the scheduling or the QoS configuration replaced again can be lower than the QoS configuration completed by the UE scheduling. For example, a set of QoS configurations with smaller bandwidth can be replaced to reduce the power consumption of the communication device.

[0271] The method can respond in time to discover the safety event through the detection of the functional safety message, perform resource scheduling, guarantee the reliable transmission of information, and avoid the serious impact on production efficiency caused by the business interruption due to the safety failure.

[0272] In the scheme, Figure 7 On the basis of the scheme, the present application proposes an embodiment, Figure 7 The first identifier in the scheme can be a functional safety trigger identifier, and a possible implementation manner is as shown in Figure 8

[0273] 801: The host station sends safety information to the UPF.

[0274] The safety information includes a first identifier, which is a functional safety trigger identifier. The functional safety trigger identifier (control byte bit 4, CB4) of the host side is valued at 1, which is used to indicate that a safety event has occurred.

[0275] It should be understood that the correspondence between the value of the field and the indicated content can be preset, and the above is only an example and not a limitation. For example, it can also be preset that the CB4 value is 0 to indicate that a safety event has occurred. The present application does not limit this.

[0276] 802: The UPF judges that the host side triggers a safety event according to CB4=1, and records CB4=1.

[0277] CB4=1 is an example of the first identifier in Figure 7

[0278] 803: The UPF requests the RAN2 to start resource scheduling ​​

[0279] 804: UPF requests RAN1 to start resource scheduling.

[0280] 805: RAN1 sends resource scheduling response to UPF.

[0281] 806: RAN2 sends resource scheduling response to UPF.

[0282] 807-808: UPF sends security message, forwarded to slave via RAN2, CPE2.

[0283] 809-810: Slave feeds back security event response to UPF via CPE2, RAN2.

[0284] The response fed back by the slave can include a functional safety trigger status byte bit 4 (SB4) with a value of 1, indicating that a safety event has occurred. It should be understood that the correspondence between the value of the field and the corresponding indication content can be preset, and the above is only an example and is not limited. For example, SB4 can also be preset to have a value of 0 to indicate that a safety event has occurred. The present application does not limit this.

[0285] 811: UPF records SB4 = 1 as a safety channel establishment record.

[0286] 812-813: UPF forwards the security event response to the master station via RAN1, CPE1.

[0287] 814-815: Master station sends a safety event release message to UPF via RAN1, CPE1.

[0288] The safety event release message can be CB4 = 0. CB4 = 0 is an example of the second identifier in

[0288] . Figure 7

[0289] 816: UPF records CB4 = 0.

[0290] It should be understood that SB4 at this time is still 1.

[0291] 817-818: UPF forwards the safety event release message to the slave via RAN2, CPE2.

[0292] 819-820: Slave sends a safety event release response to UPF via CPE2, RAN2.

[0293] The safety event release response can be SB4 = 0.

[0294] 821: UPF records SB4 = 0, CB4 = 0.

[0295] ​822: The UPF notifies the RAN 1 to release the resource scheduling.

[0296] 823: The UPF notifies the RAN 2 to release the resource scheduling.

[0297] Optionally, the condition for the RAN to release the resource scheduling can be that SB4 = CB4 = 0 reaches a certain number of times in succession, which can be greater than or equal to 3.

[0298] Illustratively, the UPF can request the RANs corresponding to the slave station and the master station to release the resource scheduling of the uplink and downlink messages at the same time, respectively. The meaning of releasing the resource scheduling is similar to that in Figure 8 and will not be described here again.

[0299] 824: The RAN 1 sends a scheduling release response to the UPF.

[0300] 825: The RAN 2 sends a scheduling release response to the UPF.

[0301] It should be understood that, Figure 8 only as a possible example, Figure 8 the security event in the above scheme is triggered by the master station (F-HOST), and in other possible embodiments, it can also be triggered by the slave station (F-DEVICE). Illustratively, step 801 can be that the slave station sends a security message to the UPF, wherein the first identification included in the security message indicates that a security event has occurred, and the remaining steps are similar to those in Figure 8 and will not be described here again.

[0302] On the basis of the scheme in Figure 8 , the present application proposes another embodiment, Figure 7 the first identification in the above scheme can be a command value (command) carried in the security message. For example, the command value can be command 0*36, which can be used to indicate that no security event has occurred. The command value can be command 0*08, which can be used to indicate that a security event has occurred, and the other steps are similar to those in Figure 8 and will not be described here again.

[0303] The various embodiments described herein can be independent schemes or can be combined according to the inherent logic, and these schemes all fall within the protection scope of the present application.

[0304] In the embodiments provided above, the methods provided by the embodiments of this application have been described from the perspective of interaction between various devices. To implement the functions of the methods provided in the embodiments of this application, network devices or terminal devices may include hardware structures and / or software modules, implementing the above functions in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular function is executed in the form of hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.

[0305] The module division in this embodiment is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of this application can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0306] Similar to the above concept, such as Figure 9 As shown, this application embodiment also provides an apparatus 900 for implementing the function of the session management network element in the above method. For example, the apparatus can be a software module or a chip system. In this application embodiment, the chip system can be composed of chips or may include chips and other discrete devices. The apparatus 900 may include: a processing unit 910 and a communication unit 920.

[0307] In this embodiment of the application, the communication unit may also be called a transceiver unit, which may include a sending unit and / or a receiving unit, respectively used to perform the steps of sending and receiving the session management function network element in the above method embodiment.

[0308] The following, combined with Figure 9 to Figure 10 This application provides a detailed description of the communication device provided in its embodiments. It should be understood that the descriptions of the device embodiments correspond to the descriptions of the method embodiments; therefore, any content not described in detail here will be referred to the method embodiments above, and for the sake of brevity, will not be repeated here.

[0309] A communication unit can also be called a transceiver, transceiver device, or transceiver unit. A processing unit can also be called a processor, processing board, processing module, or processing device. Optionally, the device in communication unit 920 used to implement the receiving function can be considered a receiving unit, and the device in communication unit 920 used to implement the transmitting function can be considered a transmitting unit; that is, communication unit 920 includes a receiving unit and a transmitting unit. A communication unit can sometimes also be called a transceiver, transceiver unit, or interface circuit. A receiving unit can sometimes be called a receiver, receiver circuit, or receiving unit. A transmitting unit can sometimes be called a transmitter, transmitter, or transmitting circuit.

[0310] The communication apparatus 900 performs the functions of the user plane function network element in any of the procedures shown in the above embodiments when: Figure 2 to 8

[0311] The processing unit is configured to detect the message.

[0312] The communication unit is configured to receive and send information.

[0313] The communication apparatus 900 performs the functions of the access network device in any of the procedures shown in the above embodiments when: Figure 2 to 8

[0314] The processing unit is configured to schedule the QoS resource.

[0315] The communication unit is configured to receive and send information.

[0316] The above is only an example, and the processing unit 910 and the communication unit 920 can also perform other functions. For more details, refer to the related description in the method embodiment shown above or other method embodiments, which will not be described here. Figure 2 to 8

[0317] As shown in Figure 10 The apparatus 1000 provided by the embodiments of the present application, Figure 10 The apparatus shown can be Figure 9 An implementation of a hardware circuit of the apparatus shown. The communication apparatus can be applicable to the flowcharts shown above, and perform the functions of the terminal device or the network device in the above method embodiments. For the sake of illustration, Figure 10 Only the main components of the communication apparatus are shown.

[0318] As shown in Figure 10 The communication apparatus 1000 includes a processor 1010 and an interface circuit 1020. The processor 1010 and the interface circuit 1020 are coupled to each other. It can be understood that the interface circuit 1020 can be a transceiver or an input / output interface. Optionally, the communication apparatus 1000 can also include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to run instructions or storing data generated after the processor 1010 runs instructions.

[0319] When the communication apparatus 1000 is used to implement Figure 2 to 8 The processor 1010 is configured to implement the functions of the processing unit 910 described above, and the interface circuit 1020 is configured to implement the functions of the communication unit 920 described above.

[0320] ​​​When the communication apparatus is a chip applied to a terminal device, the terminal device chip implements the functions of the terminal device in the method embodiments. The terminal device chip receives information from other modules (such as a radio frequency module or an antenna) in the terminal device, and the information is sent by the network device to the terminal device. Alternatively, the terminal device chip sends information to other modules (such as a radio frequency module or an antenna) in the terminal device, and the information is sent by the terminal device to the network device.

[0321] When the communication apparatus is a chip applied to a network device, the network device chip implements the functions of the network device in the method embodiments. The network device chip receives information from other modules (such as a radio frequency module or an antenna) in the network device, and the information is sent by the terminal device to the network device. Alternatively, the network device chip sends information to other modules (such as a radio frequency module or an antenna) in the network device, and the information is sent by the network device to the terminal device.

[0322] Embodiments of the present application also include a communication system, which can include the communication apparatus 900 or the communication apparatus 1000.

[0323] It can be understood that the processor in the embodiments of the present application can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.

[0324] The processor in the embodiments of the application can be a Random Access Memory (RAM), a flash memory, a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), a register, a hard disk, a floppy disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can be a component of the processor. Suitable processors for the execution of instructions can be provided in an ASIC. Alternatively, the processor and the storage medium can be provided as separate components in the ASIC. Of course, the processor and the storage medium can also be provided in a machine that is separate from the ASIC.

[0325] Those skilled in the art will appreciate that embodiments of the present application can be readily used as a method, a system or a computer program product. A person skilled in the art will also appreciate that a computer program product can implement the method of the present application. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage etc.) embodying computer readable program code.

[0326] The present application is described in reference to the flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing device or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 means for (an entity for) performing one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks.

[0327] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks. Figure 1 means for (an entity for) performing one or more functions specified in the flowchart illustrations and / or block diagrams block or blocks.

[0328] Obviously, various modifications and changes can be made to the present application by those skilled in the art without departing from the scope of the present application. Thus, it is intended that the present application cover the modifications and changes as long as they come within the scope of the appended claims and their equivalents.

[0329] In addition, the term "and / or" in the present application is only to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in the present application generally represents an "or" relationship between the front and rear associated objects; the term "at least one" in the present application can represent "one" and "two or more", for example, at least one of A, B and C can represent the following seven cases: A exists alone, B exists alone, C exists alone, A and B exist simultaneously, A and C exist simultaneously, C and B exist simultaneously, and A, B and C exist simultaneously.

[0330] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed in the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

[0331] In the embodiments of the present application, the user equipment or the access network equipment includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes central processing units (CPUs), memory management units (MMUs), memories (also known as main memories), and other hardware. The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating systems, Unix operating systems, Android operating systems, iOS operating systems, or windows operating systems. The application layer includes browsers, address books, word processing software, instant messaging software, and the like. Moreover, the embodiments of the present application do not particularly limit the specific structure of the execution subject of the method provided by the embodiments of the present application, as long as the execution subject can communicate according to the method provided by the embodiments of the present application by running a program in which the code of the method provided by the embodiments of the present application is recorded, for example, the execution subject of the method provided by the embodiments of the present application can be a user equipment or an access network equipment, or a functional module in the user equipment or the access network equipment that can call and execute the program.

[0332] Moreover, various aspects or features of the disclosure can be implemented as a method, apparatus, or article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used in the disclosure is intended to encompass a computer program accessible from any computer- readable device, carrier, or media. For example, computer-readable media can include but are not limited to magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips, etc.), optical disks (e.g., compact disk (CD), digital versatile disk (DVD), etc.), smart cards, and flash memory devices (e.g., EPROM, card, stick, or key drive, etc.). Additionally, various storage media described herein can represent one or more devices and / or other machine- readable media for storing information. The term "machine- readable storage medium" can include, without being limited to, wireless channels and various other media capable of storing, containing, and / or carrying instruction and / or data.

[0333] The above description is only a specific implementation of the present disclosure. The protection scope of the present disclosure is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present disclosure, which should be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A method of transmitting information, characterized by, The method comprises: a first device configuring a detection parameter, the detection parameter comprising a first threshold value; when the first device does not receive a message in M periods, and the M is greater than or equal to the first threshold value, the first device switches from a first quality of service (QoS) configuration to a second QoS configuration, wherein the M is a positive integer, and the second QoS configuration comprises a packet loss rate smaller than that of the first QoS configuration; after the first device switches from the first QoS configuration to the second QoS configuration, the method further comprises: when the first device receives the message in consecutive Y periods, and the Y is greater than or equal to a second threshold value, the first device switches from the second QoS configuration to the first QoS configuration.

2. The method of claim 1, wherein, The M periods are consecutive M periods.

3. The method of claim 1, wherein, The M periods are any M non-consecutive periods in a first time period.

4. The method according to any one of claims 1 to 3, characterized in that, Before the first device configures the detection parameter, the method further comprises: the first device receiving the detection parameter from a second device.

5. The method of claim 4, wherein, The first device is an access network device or a terminal device, and the second device is a core network device.

6. The method according to any one of claims 1 to 3, characterized in that, When the first device is a core network device, the first device switching from the first QoS configuration to the second QoS configuration comprises: the first device sending a request message, the request message being used to request an access network device to switch from the first QoS configuration to the second QoS configuration.

7. The method of claim 6, wherein, The first device sending the request message comprises: the first device sending the request message to the access network device through an industrial field support service network element.

8. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: when the first device does not receive the message in one period, recording a loss count of 1.

9. The method of claim 8, wherein, The first device not receiving the message in M periods comprises: the first device determining that the loss count is recorded M times.

10. The method according to any one of claims 1 to 3, characterized in that, The detection parameter further comprises a period parameter of receiving the message.

11. The method according to any one of claims 1 to 3, characterized in that, The detection parameter further comprises the second threshold value.

12. A communications device, characterized by The communication apparatus comprises a transceiving unit and a processing unit, and is configured to perform the method in any one of claims 1 to 11.

13. A computer-readable storage medium, characterized in that, The computer readable storage medium is configured to store a computer program, which, when executed on a computer, causes the computer to perform the method in any one of claims 1 to 11.

14. A chip, characterized by The apparatus comprises a processor and a communication interface, and the processor is configured to read instructions to perform the method in any one of claims 1 to 11.

15. A communication system, characterized by The communication system comprises the communication apparatus in claim 12.

16. A computer program product comprising instructions, characterized in that, The computer program product, when executed on a computer, causes the computer to perform the method in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Communication method and device

    CN113473541A