Data transmission method and device, equipment and storage medium
By acquiring tag information and data stream information from AIoT devices, identifying and establishing target sessions, the problem of excessive load on intermediate nodes caused by too many AIoT devices in passive IoT is solved, and efficient transmission of data stream information is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHENGDU TD TECH LTD
- Filing Date
- 2024-10-22
- Publication Date
- 2026-04-24
AI Technical Summary
In passive IoT, as the number of AIoT devices increases, the need for each AIoT device to establish a corresponding target session leads to an excessive load on intermediate nodes.
By receiving tag information from AIoT devices, data stream information is obtained, and it is determined whether a target session exists. If it exists, data is sent through the target session; otherwise, a target session is established and data is sent, including generating the IP address of the target server and constructing the target session.
It enables the transmission of AIoT data with the same data stream information in the same target session, reducing the load on intermediate nodes.
Smart Images

Figure CN121924062A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data transmission method, apparatus, device and storage medium. Background Technology
[0002] Passive Internet of Things (AIoT) devices can collect energy from the environment to power them.
[0003] In existing technologies, AIoT devices can send AIoT data to an intermediate node (IN), which can then establish a target session corresponding to the AIoT device and store the AIoT data in a target server through the target session. However, in passive IoT, with the increasing number of AIoT devices, establishing a corresponding target session for each AIoT device results in a heavy load on the intermediate node. Summary of the Invention
[0004] This application provides a data transmission method, apparatus, device, and storage medium to address the problem in passive Internet of Things (IoT) where the increasing number of AIoT devices and the establishment of a corresponding target session for each AIoT device result in a large load on intermediate nodes.
[0005] Firstly, this application provides a data transmission method applied to an intermediate node, comprising:
[0006] Receive AIoT data from the first passive AIoT device;
[0007] Obtain the tag information of the first AIoT device, and according to the configuration policy rules, obtain the data stream information of the first AIoT device from the tag information;
[0008] Determine whether a target session corresponding to the data stream information exists;
[0009] If so, the AIoT data is sent through the target session;
[0010] If not, a target session for AIoT data of the first AIoT device is established, and the AIoT data is sent through the target session.
[0011] In one possible design, sending the AIoT data through the target session includes:
[0012] Based on the data stream information, the IP address of the target server corresponding to the first AIoT device is generated;
[0013] Based on the IP address, the AIoT data is sent to the target server through the target session.
[0014] In one possible design, the IP address of the target server corresponding to the first AIoT device is generated based on the data stream information, including:
[0015] Construct the fully qualified domain name (FQDN) corresponding to the first AIoT device using the data stream information;
[0016] Based on the FQDN, a domain name query request is generated and sent to the Domain Name System.
[0017] The domain name system receives the IP address sent by the domain name system, which is determined by the domain name system based on the domain name query request.
[0018] In one possible design, establishing a target session for AIoT data from the first AIoT device includes:
[0019] Based on the data flow information, the routing information of the first AIoT device is obtained in the configuration policy rules. The routing information includes one or more of the following: Session and Service Continuity Mode (SSC Mode) for establishing a session, Single Network Slice Selection Assistance Information (S-NSSAI) and Data Network Identifier (DNN).
[0020] Based on the routing information, a session establishment request is sent to the Session Management Function (SMF).
[0021] Receive the target session sent by the SMF, the target session being constructed by the SMF based on the session establishment request.
[0022] In one possible design, the data stream information of the first AIoT device is obtained from the tag information according to the configuration policy rules, including:
[0023] Obtain at least one object type corresponding to the data flow rule from the configuration strategy rule. The object type includes enterprise identifier, industry identifier, product type identifier, date identifier, encoding method, or object identifier.
[0024] The at least one object type is matched with the tag information to determine the string corresponding to each object type as data stream information.
[0025] In one possible design, before receiving AIoT data from the first AIoT device, the following steps are also included:
[0026] The configuration policy rules corresponding to the service operation requests sent by the policy control function (PCF) are obtained by the PCF through creation, updating, or deletion based on the service operation requests sent by the application function (AF).
[0027] Secondly, embodiments of this application provide a data transmission apparatus, including a first receiving module, an acquiring module, a judging module, a sending module, and a determining module:
[0028] The first receiving module is used to receive AIoT data from the first passive AIoT device;
[0029] The acquisition module is used to acquire the tag information of the first AIoT device, and according to the configuration policy rules, acquire the data stream information of the first AIoT device from the tag information;
[0030] The determination module is used to determine whether a target session corresponding to the data stream information exists;
[0031] The sending module is used to send the AIoT data through the target session if the target session is specified.
[0032] The determining module is used to, if not, establish a target session for the AIoT data of the first AIoT device, and send the AIoT data through the target session.
[0033] In one possible design, the sending module is specifically used for:
[0034] Based on the data stream information, the IP address of the target server corresponding to the first AIoT device is generated;
[0035] Based on the IP address, the AIoT data is sent to the target server through the target session.
[0036] In one possible design, the sending module is specifically used for:
[0037] Construct the fully qualified domain name (FQDN) corresponding to the first AIoT device using the data stream information;
[0038] Based on the FQDN, a domain name query request is generated and sent to the Domain Name System.
[0039] The domain name system receives the IP address sent by the domain name system, which is determined by the domain name system based on the domain name query request.
[0040] In one possible design, the determining module is specifically used for:
[0041] Based on the data flow information, the routing information of the first AIoT device is obtained in the configuration policy rules. The routing information includes one or more of the following: Session and Service Continuity Mode (SSC Mode) for establishing a session, Single Network Slice Selection Assistance Information (S-NSSAI) and Data Network Identifier (DNN).
[0042] Based on the routing information, a session establishment request is sent to the Session Management Function (SMF).
[0043] Receive the target session sent by the SMF, the target session being constructed by the SMF based on the session establishment request.
[0044] In one possible design, the data stream information includes at least one object identifier; the acquisition module is specifically used for:
[0045] Obtain at least one object type corresponding to the data flow rule from the configuration strategy rule. The object type includes enterprise identifier, industry identifier, product type identifier, date identifier, encoding method, or object identifier.
[0046] The at least one object type is matched with the tag information to determine the string corresponding to each object type as data stream information.
[0047] In one possible design, the device further includes a second receiving module:
[0048] The second receiving module is used to receive the configuration policy rules corresponding to the service operation requests sent by the policy control function (PCF). The configuration policy rules are created, updated, or deleted by the PCF based on the service operation requests sent by the application function (AF).
[0049] Thirdly, embodiments of this application provide an electronic device, including: at least one processor and a memory; the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, causing the at least one processor to perform the data transmission method as described in the first aspect and various possible designs of the first aspect.
[0050] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the data transmission method described in the first aspect and various possible designs of the first aspect.
[0051] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the data transmission method described in the first aspect and various possible designs of the first aspect.
[0052] The data transmission method, apparatus, device, and storage medium provided in this application can obtain the tag information of a first AIoT device, determine the data stream information of the first AIoT device based on the tag information, and send AIoT data through the target session if a target session exists corresponding to the data stream information. This enables the transmission of AIoT data with the same data stream information in the same target session, thereby reducing the load on intermediate nodes. Attached Figure Description
[0053] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0054] Figure 1 A schematic diagram illustrating an application scenario provided in an embodiment of this application;
[0055] Figure 2 A flowchart illustrating a data transmission method provided in an embodiment of this application;
[0056] Figure 3 An interactive diagram illustrating the determination of an IP address provided in an embodiment of this application;
[0057] Figure 4 An interactive schematic diagram for determining a target session is provided as an embodiment of this application;
[0058] Figure 5 Another interactive diagram illustrating the determination of a target session provided in this application embodiment;
[0059] Figure 6 A flowchart illustrating a method for determining configuration strategy rules, provided as an embodiment of this application;
[0060] Figure 7 An interactive diagram illustrating a configuration strategy rule provided in an embodiment of this application;
[0061] Figure 8 This application provides a schematic diagram of the structure of a data transmission device according to an embodiment of the present application;
[0062] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0063] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0064] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0065] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. Please refer to [link / reference]. Figure 1 It includes multiple AIoT devices 101, intermediate nodes 102 and servers 103.
[0066] AIoT device 101 can be a passive IoT device that does not rely on batteries or other traditional power sources. It can obtain the required power through environmental energy harvesting (e.g., solar energy, thermal energy, vibration energy, or radio frequency energy). AIoT device 101 can access the core network elements of the 3GPP system through intermediate node 102, and AIoT data of AIoT device 101 can be stored in server 103 through intermediate node 102.
[0067] The intermediate node 102 can be a user equipment (UE) or a base station. The intermediate node 102 can receive AIoT data from the first AIoT device 101, obtain the tag information of the first AIoT device 101, and determine the data stream information of the first AIoT device 101 in the tag information. It can determine whether there is a target session corresponding to the data stream information. If so, it can send AIoT data to the server 103 through the target session.
[0068] In existing technologies, AIoT devices can send AIoT data to an intermediate node (IN), which can then establish a target session corresponding to the AIoT device and store the AIoT data in a target server through the target session. However, in passive IoT, with the increasing number of AIoT devices, establishing a corresponding target session for each AIoT device results in a heavy load on the intermediate node.
[0069] The data transmission method provided in this application embodiment can obtain the tag information of the first AIoT device, determine the data stream information of the first AIoT device based on the tag information, and send AIoT data through the target session if there is a target session corresponding to the data stream information. This can realize the transmission of AIoT data with the same data stream information in the same target session, and reduce the load on intermediate nodes.
[0070] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0071] Figure 2 This is a schematic flowchart illustrating a data transmission method provided in an embodiment of this application. Please refer to... Figure 2 The method may include:
[0072] S201, Receive AIoT data from the first AIoT device.
[0073] The execution entity in this application embodiment can be an intermediate node or a data transmission device set in the intermediate node. The data transmission device can be implemented by software or by a combination of software and hardware.
[0074] After establishing a communication connection between the intermediate node and the first AIoT device, the intermediate node can receive AIoT data from the first AIoT device.
[0075] S202. Obtain the tag information corresponding to the first AIoT device.
[0076] Data flow information can be configured in the tag information by configuring policy rules, and the configuration policy rules corresponding to the first AIoT device can be stored in the intermediate node.
[0077] The identification information can be an Electronic Product Code (EPC) label.
[0078] The configuration policy rules also include routing information, which can be defined by the routing descriptor in the traffic descriptor of the User Equipment Route Selection Policy (URSP) information.
[0079] The data flow information of the first AIoT device can be defined through EPC data flow descriptors. The EPC data flow descriptor can define a new type in the Traffic descriptor of the URSP rule information.
[0080] In this process, the configuration policy rules of the first AIoT device can be updated, created, or deleted in the intermediate node. The first AIoT device can send information according to the configuration policy rules, and the intermediate node can extract the information sent by the first AIoT device according to the configuration policy rules.
[0081] In addition, the execution process of updating / creating / deleting the configuration policy rules of the first AIoT device can be found in the following examples, which will not be repeated here.
[0082] S203. According to the configuration strategy rules, obtain the data stream information of the first AIoT device from the tag information.
[0083] Data flow information may include at least one object identifier. At least one object type corresponding to the data flow rule can be obtained from the configuration policy rule. The data flow information is then matched with the tag information based on the at least one object type, and the string corresponding to each object type is determined as the data flow information.
[0084] The object identifier can be an enterprise identifier, industry identifier, product type identifier, date identifier, encoding method, or object identifier, etc.
[0085] For example, multiple AIoT devices can correspond to different industries, and the AIoT data of each industry's AIoT devices has its corresponding encoding format. The industry identifier corresponding to each AIoT device and the encoding format of the data corresponding to the industry identifier can be determined in the data stream information. AIoT data can be classified through the data stream information.
[0086] The same AIoT data stream information can be transmitted within the same session, which can reduce the number of sessions built by intermediate nodes and thus reduce the load on intermediate nodes.
[0087] For example, suppose that at least one object identifier in the data stream information may include an industry identifier, an encoding method, and an object identifier. Suppose that the data stream information of AIoT device 1 is industry identifier 1, encoding method 1, and object identifier 1. Suppose that the data stream information of AIoT device 3 is industry identifier 2, encoding method 2, and object identifier 2. Suppose that before the current moment, the intermediate node has established session 1 corresponding to AIoT device 1. Suppose that at the current moment, AIoT device 2 transmits data through the intermediate node, then AIoT data of AIoT device 2 can be transmitted through session 1.
[0088] Among them, industry identifiers can be Serial Shipping Container Code (SSCC), Serialized Global Trade Item Number (SGTIN), or Global Returnable Asset Identifier (GRAI).
[0089] The encoding methods corresponding to SSCC can be SSCC-96 and SSCC+.
[0090] Furthermore, an object identifier can be defined for each industry identifier, which can be used to indicate the enterprise identifier corresponding to the AIoT device.
[0091] Furthermore, for any given object identifier, that object identifier can correspond to at least one item type (ItemReference).
[0092] For example, assuming the industry identifier is industry identifier 1, industry identifier 1 can also correspond to 4 object identifiers, namely object identifier 1-4. Assuming there are 3 product types, namely product type 1-3, then each object identifier corresponds to 3 product types, and so on. The data flow information can be "industry identifier 1, encoding method 1, object identifier 2, product type 4".
[0093] S204. Determine whether there is a target session corresponding to the data stream information.
[0094] The target session can be a Protocol Data Unit (PDU) session, which allows user devices to communicate with the data network and establish a data transmission channel.
[0095] Intermediate nodes can establish multiple sessions, and each session can encapsulate and transmit AIoT data corresponding to its data stream information.
[0096] Based on the data stream information, it can be determined whether there is a target session corresponding to AIoT data in multiple sessions.
[0097] Specifically, the data stream information corresponding to each session can be compared with the data stream information corresponding to the AIoT device. If the data stream information corresponding to a session is the same as that corresponding to the AIoT device, then the session is identified as the target session.
[0098] S205. If so, send AIoT data through the target session.
[0099] Furthermore, based on the data stream information, the IP address of the target server corresponding to the first AIoT device can be generated; based on the IP address, AIoT data can be sent to the target server through the target session.
[0100] The target server's IP address can be generated as follows: A fully qualified domain name (FQDN) corresponding to the first AIoT device can be constructed using data stream information; a domain name query request is generated based on the FQDN and sent to the domain name system; the IP address sent by the domain name system is received.
[0101] An IP address can be determined by the Domain Name System (DNS) based on a domain name query request.
[0102] FQDN can be a network identifier used to uniquely identify a host on the Internet. The Domain Name System (DNS) can be the naming system used by the Internet and can be used to translate the FQDN of a host used by a user into an IP address.
[0103] The domain name query request may include the FQDN. After receiving the domain name query request, the DNS can generate the IP address of the target server based on the FQDN and send the IP address of the target server to the intermediate node. Then, the intermediate node can obtain the IP address of the target server.
[0104] For example, assuming the data flow information is "Industry Identifier 1, Encoding Method 1, Object Identifier 1", the FQDN can be determined as "Object Identifier 1.Encoding Method 1.Industry Identifier 1.epc". The DNS can generate the target server's IP address as address 1 based on "Object Identifier 1.Encoding Method 1.Industry Identifier 1.epc".
[0105] Below, in conjunction with Figure 3 The interactive process for obtaining the IP address of the target server provided in the embodiments of this application will be described.
[0106] Figure 3 This is an interactive diagram illustrating an embodiment of the present application for determining an IP address. Please refer to [link / reference]. Figure 3This can include a first AIoT device, an intermediate node (IN), a DNS, and a server. The intermediate node can receive AIoT data from the first AIoT device, obtain the tag information of the first AIoT device, and retrieve data stream information from the tag information according to configured policy rules. The intermediate node can construct an FQDN based on the data stream information and generate a domain name query request based on the FQDN. It can send a domain name query request to the DNS, which can determine the IP address of the target server based on the domain name query request. The intermediate node can then obtain the IP address of the target server sent by the DNS.
[0107] Below, in conjunction with Figure 4 This application describes the information interaction process provided in the embodiments of the present application when a target session corresponding to existing data stream information already exists.
[0108] Figure 4 This is an interactive diagram illustrating the determination of a target session, provided as an embodiment of this application. Please refer to... Figure 4 This can include a first AIoT device, an intermediate node (IN), and a server. The intermediate node can receive AIoT data from the first AIoT device. According to the configured policy rules, the intermediate node can determine the data stream information from the tag information of the first AIoT device. If a target session corresponding to the data stream information already exists, the intermediate node can transmit the AIoT data to the server's IP address through the established target session.
[0109] S206. If not, then establish a target session for AIoT data of the first AIoT device, and send AIoT data through the target session.
[0110] Furthermore, the routing information of the first AIoT device can be obtained from the configuration policy rules based on the data flow information. Based on the routing information, a session establishment request can be sent to the Session Management Function (SMF). The target session can be received from the SMF, and the target session can be constructed by the SMF based on the session establishment request.
[0111] SMF can be used to implement session management, supporting the creation, modification, and release of sessions.
[0112] Routing information may include one or more of the following: Session and Service Continuity Mode (SSC Mode) for establishing a session, Single Network Slice Selection Assistance Information (S-NSSAI), and Data Network Name (DNN).
[0113] The session establishment request can include routing information. After receiving the session establishment request, SMF can establish the target session based on the routing information.
[0114] Below, in conjunction with Figure 5 This application describes the information interaction process provided in the embodiments of the present application when there is no target session corresponding to the data stream information.
[0115] Figure 5 This is another interactive diagram illustrating the determination of a target session, provided as an embodiment of this application. Please refer to... Figure 5 This process can include a first AIoT device, an intermediate node (IN), an SMF (Service Provider Framework), and a server. The intermediate node receives AIoT data from the first AIoT device. Based on configuration policy rules, the intermediate node determines the data flow information from the AIoT device's tag information. If a target session corresponding to the data flow information does not exist, it can obtain routing information from the configuration policy rules based on the data flow information. The intermediate node can then initiate a process to establish a target session with the SMF using the routing information. The AIoT data is then transmitted through this target session.
[0116] The data transmission method provided in this application embodiment can obtain the configuration policy rules corresponding to the first AIoT device, obtain the routing selection information of the first AIoT device through the configuration policy rules, and send AIoT data through the target session if there is a target session corresponding to the routing selection information. This can realize the transmission of AIoT data with the same data flow information in the same target session, which can reduce the load of intermediate nodes.
[0117] Based on the above embodiments, the following is combined with Figure 6 and Figure 7 The process of constructing, updating, or deleting the configuration policy rules provided in the embodiments of this application is described.
[0118] Figure 6 This is a flowchart illustrating a process for determining configuration policy rules, as provided in an embodiment of this application. Please refer to [link / reference]. Figure 6 The method may include:
[0119] S601, Receive the configuration policy rules corresponding to the service operation request sent by the policy control function PCF.
[0120] Configuration policy rules can be created, updated, or deleted by the Policy Control Function (PCF) based on service operation requests sent by the Application Function (AF).
[0121] The AF can send service operation requests to the Network Exposure Function (NEF), which in turn sends the service operation requests to the Unified Data Management (UDM). The UDM then authorizes and authenticates the service operation requests. Once authorized and authenticated, the service operation is executed in the Unified Data Repository (UDR), and the UDR sends the configuration policy rules corresponding to the service operation requests to the PCF.
[0122] AF is a key component in the 3GPP architecture, responsible for interacting with other components in the 5G core network to provide specific application services. AF can manage and control AIoT devices, optimize data transmission and processing strategies, and dynamically adjust services based on real-time data.
[0123] NEF can provide a secure and standardized way for third-party applications and services to access and utilize network functions and data. Through NEF, AIoT devices and platforms can access network functions such as device management, data transmission, and event notification, thereby enabling more efficient IoT services.
[0124] It is worth noting that NEF can also send the Generic Public Subscription Identifier (GPSI) and PLMN network identifier to the UDM. The PLMN network identifier can be a mapping of the Extended Group Identifier of the node identifier through the intermediate node.
[0125] Unified Data Management (UDM) can be used to manage and control data information, while Unified Data Repository (UDR) can be used to provide and store data information. User information can include configuration policy rules for AIoT devices.
[0126] Service operation requests can be authorized and authenticated in UDR through UDM. The content of authorization and authentication can include AIoT devices, the requested AF, and the service operation.
[0127] Service operation requests can be used to request intermediate nodes to perform the corresponding service operations. These service operations can include creating configuration policy rules, updating configuration policy rules, or deleting configuration policy rules.
[0128] If the service operation is to create a configuration policy rule, the configuration policy rule corresponding to the service operation request can be created and stored in the UDR. If the service operation is to update a configuration policy rule, the configuration policy rule corresponding to the service operation request can be updated in the UDR. If the service operation is to delete a configuration policy rule, the configuration policy rule corresponding to the service operation request can be deleted in the UDR.
[0129] The Policy Control Function (PCF) is a key network element in the 5G core network, responsible for access and mobility policy control as well as session management policy control. The PCF can determine at least one intermediate node corresponding to the configuration policy rule, and at least one intermediate node can receive the configuration policy rule.
[0130] If historical policy rules exist in the intermediate node, the historical policy rules are updated by configuring policy rules; if historical policy rules do not exist in the intermediate node, the configured policy rules are stored.
[0131] NEF can specify a Transaction Reference ID in the UDR, and store the Transaction Reference ID and the requested service operation as a piece of Application Data. The Transaction Reference ID can be an information identifier used to identify and track network transactions.
[0132] NEF can also respond to AF. If the service operation is to create a configuration policy rule, the response information may include the transaction reference ID.
[0133] After the configuration policy rules in the UDR are operated according to the service operation request, the UDR can send the configuration policy rules to the PCF through the Nudr_DM_Notify procedure. The Nudr_DM_Notify procedure can be used to transparently pass on the policies of intermediate nodes.
[0134] The data transmission method provided in this application embodiment can create, update, or delete configuration policy rules for AIoT devices through AF, which can realize flexible updates of configuration policy rules and improve the flexibility of data transmission of AIoT devices. Furthermore, AIoT data with the same data flow information can be clustered into the same target session for transmission through configuration policy rules, which can reduce the load on AIoT devices.
[0135] Figure 7 This is an interactive diagram illustrating a configuration policy rule provided in an embodiment of this application. Please refer to... Figure 7 This can include AF, NEF, UDR, UDM, PCF, and IN. AF can trigger a service operation request, AF can send a service operation request to NEF, and NEF can send a service operation request to the Unified Data Management (UDM). The UDM authorizes and authenticates the service operation request. After successful authorization and authentication, the service operation can be executed in the UDR. NEF can also send a response message back to AF indicating that the UDR has executed the service operation.
[0136] The UDR can send the configuration policy rules corresponding to the service operation request to the PCF. The PCF can identify at least one intermediate node and send the configuration policy rules to each intermediate node. The PCF can also report the sending results of the configuration policy rules to the NEF, and the NEF can report the sending results of the configuration policy rules to the AF.
[0137] Figure 8 This is a schematic diagram of a data transmission device provided in an embodiment of this application. Please refer to [link / reference]. Figure 8 The data transmission device 10 may include a first receiving module 11, an acquiring module 12, a judging module 13, a sending module 14, and a determining module 15.
[0138] The first receiving module 11 is used to receive AIoT data from the first passive AIoT device;
[0139] The acquisition module 12 is used to acquire the tag information of the first AIoT device and, according to the configuration policy rules, acquire the data stream information of the first AIoT device from the tag information;
[0140] The judgment module 13 is used to determine whether there is a target session corresponding to the data stream information;
[0141] The sending module 14 is used to send AIoT data through the target session if the target session is active.
[0142] The determination module 15 is used to, if not, establish a target session for AIoT data of the first AIoT device and send AIoT data through the target session.
[0143] The data transmission device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0144] In one possible design, the sending module 14 is specifically used for:
[0145] Based on the data stream information, generate the IP address of the target server corresponding to the first AIoT device;
[0146] Based on the IP address, AIoT data is sent to the target server through the target session.
[0147] In one possible design, the sending module 14 is specifically used for:
[0148] Construct the fully qualified domain name (FQDN) corresponding to the first AIoT device using data stream information;
[0149] Based on the FQDN, generate a domain name query request and send the domain name query request to the Domain Name System;
[0150] Receive the IP address sent by the Domain Name System (DNS). The IP address is determined by the DNS based on the domain name query request.
[0151] In one possible design, module 15 is specifically used for:
[0152] Based on the data flow information, the routing information of the first AIoT device is obtained in the configuration policy rules. The routing information includes one or more of the following: Session and Service Continuity Model (SSC Mode) for establishing a session, Single Network Slice Selection Auxiliary Information (S-NSSAI) and Data Network Identifier (DNN).
[0153] Based on the routing information, a session establishment request is sent to the Session Management Function (SMF).
[0154] Receive the target session sent by SMF, which is constructed by SMF based on the session establishment request.
[0155] In one possible design, the data flow information includes at least one object identifier; the acquisition module 12 is specifically used for:
[0156] In the configuration policy rules, obtain at least one object type corresponding to the data flow rule. The object type includes enterprise identifier, industry identifier, product type identifier, date identifier, encoding method, or object identifier.
[0157] Matching is performed based on at least one object type and tag information, and the string corresponding to each object type is determined as data stream information.
[0158] In one possible design, the device also includes a second receiving module 16:
[0159] The second receiving module is used to receive the configuration policy rules corresponding to the service operation requests sent by the policy control function PCF. The configuration policy rules are created, updated, or deleted by the PCF based on the service operation requests sent by the application function AF.
[0160] The data transmission device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0161] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Please refer to... Figure 9 The electronic device 20 may include at least one processor 21 and a memory 22. Exemplarily, the processor 21 and the memory 22 are interconnected via a bus 23.
[0162] Memory 22 stores instructions executed by the computer;
[0163] The processor 21 executes computer execution instructions stored in the memory 22, causing the processor 21 to perform the data transmission method as shown in the above method embodiment.
[0164] Accordingly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the data transmission method of the above-described method embodiments.
[0165] Accordingly, embodiments of this application may also provide a computer program product, including a computer program, which, when executed by a processor, can implement the data transmission method shown in the above method embodiments.
[0166] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0167] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 processor, 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, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0168] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0169] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0170] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0171] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0172] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0173] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0174] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A data transmission method, characterized in that, Applied to intermediate nodes, including: Receive AIoT data from the first passive AIoT device; Obtain the tag information of the first AIoT device, and according to the configuration policy rules, obtain the data stream information of the first AIoT device from the tag information; Determine whether a target session corresponding to the data stream information exists; If so, the AIoT data is sent through the target session; If not, a target session for AIoT data of the first AIoT device is established, and the AIoT data is sent through the target session.
2. The method according to claim 1, characterized in that, Through the target session, the AIoT data is sent, including: Based on the data stream information, the IP address of the target server corresponding to the first AIoT device is generated; Based on the IP address, the AIoT data is sent to the target server through the target session.
3. The method according to claim 2, characterized in that, Based on the data stream information, the IP address of the target server corresponding to the first AIoT device is generated, including: Construct the fully qualified domain name (FQDN) corresponding to the first AIoT device using the data stream information; Based on the FQDN, a domain name query request is generated and sent to the Domain Name System. The domain name system receives the IP address sent by the domain name system, which is determined by the domain name system based on the domain name query request.
4. The method according to any one of claims 1-3, characterized in that, Establishing a target session for AIoT data from the first AIoT device includes: Based on the data flow information, the routing information of the first AIoT device is obtained in the configuration policy rules. The routing information includes one or more of the following: Session and Service Continuity Mode (SSC Mode) for establishing a session, Single Network Slice Selection Assistance Information (S-NSSAI) and Data Network Identifier (DNN). Based on the routing information, a session establishment request is sent to the Session Management Function (SMF). Receive the target session sent by the SMF, the target session being constructed by the SMF based on the session establishment request.
5. The method according to claims 1-4, characterized in that, According to the configuration policy rules, the data stream information of the first AIoT device is obtained from the tag information, including: Obtain at least one object type corresponding to the data flow rule from the configuration strategy rule. The object type includes enterprise identifier, industry identifier, product type identifier, date identifier, encoding method, or object identifier. The at least one object type is matched with the tag information to determine the string corresponding to each object type as data stream information.
6. The method according to any one of claims 1-5, characterized in that, Before receiving AIoT data from the first AIoT device, the process also includes: The configuration policy rules are sent by the policy control function (PCF), which are created, updated, or deleted by the PCF based on the service operation requests sent by the application function (AF).
7. The method according to any one of claims 1-6, characterized in that, The label information is the Electronic Product Code (EPC) label.
8. A data transmission device, characterized in that, Applied to intermediate nodes, it includes a first receiving module, an acquisition module, a judgment module, a sending module, and a determination module: The first receiving module is used to receive AIoT data from the first passive AIoT device; The acquisition module is used to acquire the tag information of the first AIoT device, and according to the configuration policy rules, acquire the data stream information of the first AIoT device from the tag information; The determination module is used to determine whether a target session corresponding to the data stream information exists; The sending module is used to send the AIoT data through the target session if the target session is specified. The determining module is used to, if not, establish a target session for the AIoT data of the first AIoT device, and send the AIoT data through the target session.
9. An electronic device, characterized in that, It includes at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to perform the method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1 to 7.
11. A computer program product comprising a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.