Communication method and device, storage medium and electronic device
By analyzing and processing data service requests for AF network elements, obtaining the storage address or available information of the data service results, the problem that the 5G core network cannot support data service services is solved, and the effective opening and reuse of data service results is achieved, and the improvement of the data service results is improved. Efficiency and flexibility.
Patent Information
- Application Number
- CN202411136775.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2044-08-19
Smart Images

Figure CN118660284B_ABST
Abstract
Description
Background Art
[0002] In the business scenarios related to data services such as perception and AI in the 5G service-oriented framework, the measurement data collected by the RAN side needs to be uploaded to the core network for processing and analysis to obtain the final data service results and open them to the perception service requester.
[0003] In related technologies, the 5G core network lacks relevant network elements and cannot support the opening of data service businesses and data service results.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present disclosure provides a communication method and device, a storage medium and an electronic device, which at least to a certain extent overcome the problem that the 5G core network in the related technology cannot support data service business.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a communication method is provided, including: parsing a data service request sent by a first AF network element, determining a data service task and a data service request type of the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request; if it is a synchronous request, sending the data service task, obtaining a storage address of a data service result obtained after processing the data service task, and sending the storage address to the first AF network element, so that the first AF network element obtains the data service result through the storage address; if it is an asynchronous request, sending a pre-allocated storage address to the first AF network element, sending the data service task, obtaining storage available information of the data service result obtained after processing the data service task, and sending the storage available information to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address.
[0008] In some embodiments, sending the data service task and obtaining the storage address of the data service result obtained after processing the data service task includes: determining a network function NF network element that can execute the data service task based on the data service task; sending the data service task to the NF network element so that the NF network element processes the data service task to obtain the data service result, and obtaining the storage address returned by the data storage function DSF network element after storing the data service result.
[0009] In some embodiments, the sending of the pre-allocated storage address to the first AF network element comprises: the DSF network element sending the pre-allocated storage address for the data service result to the first AF network element.
[0010] In some embodiments, after the DSF network element sends the storage address pre-allocated for the data service result to the first AF network element, the method further includes: after the first AF network element receives the storage address, causing the first AF network element thread to enter a non-blocking state.
[0011] In some embodiments, sending the data service task and obtaining the storage available information of the data service result obtained after processing the data service task includes: determining a network function NF network element that can execute the data service task based on the data service task; sending the data service task to the NF network element so that the NF network element processes the data service task to obtain the data service result, and obtaining the storage available information returned by the DSF network element after storing the data service result.
[0012] In some embodiments, the data service result is a directly usable data result obtained after being processed by the NF network element.
[0013] In some embodiments, the method also includes: obtaining a data service request sent by the second AF network element, and determining whether the data service result satisfies the data service request sent by the second AF network element; if so, opening a storage address of the reused data service result to the second AF network element so that the second AF network element obtains the data service result through the storage address.
[0014] According to another aspect of the present disclosure, a communication device is also provided, including: a parsing module, used to parse the data service request sent by the AF network element, determine the data service task and the data service request type of the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request; a synchronous module, used to send the data service task if it is a synchronous request, obtain the storage address of the data service result obtained after the data service task is processed, and send the storage address to the first AF network element, so that the first AF network element obtains the data service result through the storage address; an asynchronous module, used to send a pre-allocated storage address to the first AF network element if it is an asynchronous request, send the data service task, obtain the storage available information of the data service result obtained after the data service task is processed, and send the storage available information to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address.
[0015] According to another aspect of the present disclosure, an electronic device is also provided, which includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the communication methods described above by executing the executable instructions.
[0016] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the communication method described above is implemented.
[0017] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above communication methods.
[0018] The communication method provided in the embodiment of the present disclosure determines the data service task and data service request type of the first AF network element by parsing the data service request sent by the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request; if it is a synchronous request, the data service task is sent, the storage address of the data service result obtained after the data service task is processed is obtained, and the storage address is sent to the first AF network element, so that the first AF network element obtains the data service result through the storage address; if it is an asynchronous request, the pre-allocated storage address is sent to the first AF network element, the data service task is sent, the storage available information of the data service result obtained after the data service task is processed is obtained, and the storage available information is sent to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address. The present disclosure provides different communication methods to the service requester according to different data service request types, so that the service requester can obtain the data service result, which solves the problem that the 5G network does not support data service services.
[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0021] Figure 1 A schematic diagram showing a communication system structure in an embodiment of the present disclosure;
[0022] Figure 2A flow chart of a communication method in an embodiment of the present disclosure is shown;
[0023] Figure 3 A flowchart showing a specific example of a communication method in an embodiment of the present disclosure is shown;
[0024] Figure 4 A flowchart showing another specific example of a communication method in an embodiment of the present disclosure;
[0025] Figure 5 A communication system operation flow chart according to an embodiment of the present disclosure is shown;
[0026] Figure 6 A flow chart of a communication method for synchronization request in an embodiment of the present disclosure is shown;
[0027] Figure 7 A flow chart of a communication method for asynchronous request in an embodiment of the present disclosure is shown;
[0028] Figure 8 A schematic diagram of a communication device in an embodiment of the present disclosure is shown;
[0029] Fig. 9 A structural block diagram of a computer device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0031] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0032] For ease of understanding, before introducing the embodiments of the present disclosure, several terms involved in the embodiments of the present disclosure are first explained as follows:
[0033] 5G: 5th Generation Mobile Communication Technology, the fifth generation of mobile communication technology;
[0034] UPF: User Plane Function, user plane function;
[0035] DN: Data Network, data network;
[0036] UE: User Equipment, various terminal devices with wireless communication functions that support users to access network services;
[0037] RAN: Radio Access Network, which provides services such as wireless access control and data transmission for user equipment in a specific area. It also supports wireless sensing of specific areas or targets and acquisition of sensing measurement data.
[0038] DPF: Data Plane Function, which realizes data collection, transmission, preprocessing, analysis and other functions;
[0039] DSF: Data Storage Function, which stores collected data and data service results;
[0040] NF: Network Functions, network function;
[0041] AF: Application Function, similar to an application server, which interacts with other 5G core network control plane NFs and provides business services. AF can exist for different application services and can be owned by operators or trusted third parties;
[0042] eAMF: enhanced Access and Mobility management Functions, enhanced access and mobility management functions;
[0043] DSMF: Data Service Management Function, which translates and decomposes data service requirements into data service tasks, selects specific NFs with different data capabilities such as DPF and DSF, forms an executable UE, RAN, DPF, and DSF logical topology, and controls the work chain to implement specific data service functions. DSMF also needs to support the data service capability reporting function of DPF;
[0044] CSMF: Communication Service Management Function, connection service management function;
[0045] SEF: Service Exposure Function, which provides core network services to the outside world.
[0046] The specific implementation of the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.
[0047] Figure 1 FIG. 1 shows an exemplary application system architecture diagram to which the communication method in the embodiment of the present disclosure can be applied. Figure 1 As shown, the system architecture may include SEF network element 101, AF network element 102, CSMF network element 103, DSMF network element 104, eAMF network element 105, UE 106, RAN 107, UPF network element 108, DN 109, DPF network element 110, and DSF network element 111.
[0048] Among them, the AF network element communicates with the CSMF network element through the SEF network element. The CSMF network element is connected to the eAMF network element through the N11 interface. The CSMF network element is connected to the UPF network element through the N4 interface. The eAMF network element is connected to the UE through the N1 interface. The eAMF network element is connected to the RAN through the N2 interface. The eAMF network element is connected to the DSMF network element through the N4 interface. The DSMF network element is connected to the SEF network element, RAN, DPF network element and DSF network element respectively. The UPF network element is connected to the RAN through the N3 interface. The UPF network element is connected to the DN through the N6 interface. The DPF network element is connected to the DSF network element and RAN respectively.
[0049] DSMF selects appropriate DPF and DSF to support data transmission, processing, analysis and storage according to the service type, requirements, synchronization or asynchrony carried in the data service request initiated by the first AF. If the data service request is asynchronous, DSF will pre-allocate the storage address for the data service result and feedback it to the first AF. After the data service task is executed and stored, DSMF will feedback different messages to the first AF according to the asynchrony or synchronization of the request to realize the opening of the service result. When the second AF also initiates a data service request, DSMF determines whether the existing results can be reused and feeds back the reused results to the second AF.
[0050] The core network of the present disclosure provides data service results to the service requester in a synchronous or asynchronous manner, and supports multiplexing of data service results to multiple requesters (equivalent to the second AF), thereby improving the flexibility and efficiency of opening data service results.
[0051] Those skilled in the art will know that Figure 1 The number of SEF network elements 101, AF network elements 102, CSMF network elements 103, DSMF network elements 104, eAMF network elements 105, UE 106, RAN 107, UPF network elements 108, DN 109, DPF network elements 110, and DSF network elements 111 is only illustrative, and according to actual needs, there may be any number of SEF network elements 101, AF network elements 102, CSMF network elements 103, DSMF network elements 104, eAMF network elements 105, UE 106, RAN 107, UPF network elements 108, DN 109, DPF network elements 110, and DSF network elements 111. This disclosure embodiment does not limit this.
[0052] Figure 2 A flow chart of a communication method in an embodiment of the present disclosure is shown as follows: Figure 1 As shown, the communication method provided in the embodiment of the present disclosure includes the following steps:
[0053] S202, parsing a data service request sent by a first application function AF network element, and determining a data service task and a data service request type of the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request.
[0054] It should be noted that the above data service request may include but is not limited to: one of a data write request and a data query request. The above data service task may be the specific information of the data service business carried in the data service request, which is mapped to specific data collection, processing, storage and other tasks. The above data service request type is the type of data service request, which may include but is not limited to synchronous request and asynchronous request.
[0055] S204: If it is a synchronous request, send a data service task, obtain the storage address of the data service result obtained after processing the data service task, and send the storage address to the first AF network element, so that the first AF network element obtains the data service result through the storage address.
[0056] It should be noted that the above storage address can be information recording the storage location, such as an IP address, a MAC address, etc. The above data service results are data results that can be directly used after being processed by the NF network element, for example, data results that can be directly used and cannot be further processed after being processed by the DPF. For example, the position, speed, imaging results, breathing / heart rate, etc. of the target in the perception scene, or the model training gradient, model inference results, etc. in the AI scene.
[0057] S206: If it is an asynchronous request, send the pre-allocated storage address to the first AF network element, send the data service task, obtain the storage available information of the data service result obtained after processing the data service task, and send the storage available information to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address.
[0058] It should be noted that the above-mentioned storage available information may be information indicating that the above-mentioned pre-allocated storage address has stored the data service result. For example, when the first AF network element receives the storage available information, it can obtain the data service task from the pre-allocated storage address; when the first AF network element does not receive the storage available information, it cannot obtain the data service task from the pre-allocated storage address.
[0059] The present disclosure solves the problem that the 5G network does not support data service business by providing different communication modes to the service requester according to different data service request types, so that the service requester can obtain data service results.
[0060] In one embodiment of the present disclosure, Figure 3 As shown, the communication method provided in the embodiment of the present disclosure can determine the storage address through the following steps, which can ensure that the data service result obtained by correctly processing the data service task is obtained:
[0061] S302, determining a network function NF element capable of executing the data service task according to the data service task;
[0062] S304, sending the data service task to the NF network element, so that the NF network element processes the data service task to obtain the data service result, and obtains the storage address returned by the data storage function DSF network element after storing the data service result.
[0063] For example, the first AF network element sends a data service request to the DSMF network element through the SEF network element. The DSMF network element disassembles the data service request into specific data service tasks, and selects appropriate DPF, DSF and other NFs to perform the data service tasks. The DSMF network element sends data collection, analysis and other tasks to the selected DPF network element and RAN network element. The DSMF network element sends a data storage task to the DSF network element. The selected RAN network element and DPF network element perform data collection and analysis. The RAN network element and the DPF network element send the data service results to the DSF network element, which may include the collected original data, intermediate data, final data service results, etc. The DSF network element stores various data involved in the data service process. The DSF network element sends the data service result storage address to the DSMF network element.
[0064] In one example of the present disclosure, sending the pre-allocated storage address to the first AF network element includes: the DSF network element sending the pre-allocated storage address for the data service result to the first AF network element.
[0065] In an example of the present disclosure, after the DSF network element sends the storage address pre-allocated for the data service result to the first AF network element, the method further includes: after the first AF network element receives the storage address, causing the first AF network element thread to enter a non-blocking state.
[0066] For example, an asynchronous request can be a batch data processing request. For example, the AF network element needs DSMF to process a large amount of data (such as log file analysis, database backup, etc.), and the AF network element sends an asynchronous request. In this way, the AF network element can continue to perform other tasks without blocking the current operation, and the DSMF network element will inform the AF network element of the processing result in some way (such as callback, notification, etc.) after the processing is completed.
[0067] For example, an asynchronous request can be a request for a long-running task. For tasks that take a long time to complete (such as large-scale data migration, system upgrades, etc.), the AF network element selects the asynchronous request method to avoid user interface freezes or excessive system resource occupation, thereby improving user experience and overall system performance.
[0068] For example, asynchronous requests can be notifications and event subscriptions. AF network elements can subscribe to certain events or notifications of DSMF network elements and receive asynchronous messages when these events occur. This mechanism enables AF network elements to respond to state changes or service events of DSMF network elements in real time, thereby achieving tighter integration and collaboration.
[0069] In an example of the present disclosure, sending a data service task and obtaining storage available information of the data service result obtained after processing the data service task includes: determining a network function NF network element that can execute the data service task according to the data service task; sending the data service task to the NF network element so that the NF network element processes the data service task to obtain the data service result, and obtaining the storage available information returned by the DSF network element after storing the data service result.
[0070] For example, the first AF network element sends a data service request to the DSMF network element through the SEF network element. The DSMF network element breaks down the data service requirements into specific data service tasks, and selects appropriate DPF network elements, DSF network elements and other NF network elements to perform the data service tasks. The DSMF network element sends data collection, analysis and other tasks to the selected DPF network element and RAN network element. The DSMF network element sends a data storage task to the DSF network element. The DSF network element feeds back to the AF network element the data storage address allocated for the current data service request. The RAN network element and the DPF network element perform data collection and analysis. RAN and DPF send the data service results to the DSF, which may include the collected original data, intermediate data, and final data service results. The DSF network element stores various data involved in the data service process. The DSF network element sends a message to the DSMF network element that the data service results have been stored. 10. DSMF notifies the first AF network element, the data service requester, that the data service result requested by it is available (equivalent to the above-mentioned storage available information).
[0071] In one embodiment of the present disclosure, Figure 4 As shown, the communication method provided in the embodiment of the present disclosure can multiplex data service results through the following steps, which can reduce the consumption of network resources and improve communication efficiency:
[0072] S402, obtaining a data service request sent by the second AF network element, and determining whether the data service result satisfies the data service request sent by the second AF network element;
[0073] S404: If yes, open the storage address of the multiplexed data service result to the second AF network element, so that the second AF network element obtains the data service result through the storage address.
[0074] For example, the second AF sends a second data service request to the DSMF network element. The DSMF network element processes the second data service requirement and believes that reusing the existing data service result can meet the second data service requirement without the need to collect and process data again. The DSMF network element opens the reused data service result address to the second AF network element. The second AF obtains the data service result according to the data storage address.
[0075] The present disclosure provides different communication methods to the service requester according to different data service request types, opens the data service results, and enables the service requester to reuse the data service results. This solves the problem that the 5G network does not support the opening of data service results, and improves the flexibility and efficiency of the opening of data service results.
[0076] In a specific example, Figure 5 As shown, the exemplary application system operation process of the above communication method includes the following steps:
[0077] S501: The first AF sends a data service request to the DSMF through the SEF.
[0078] S502, DSMF decomposes the data service demand (equivalent to the above-mentioned data service request) into specific data service tasks, and selects appropriate DPF, DSF and other NFs to perform the data service tasks. For example, DSMF maps the data service demand into specific data collection, processing, storage and other tasks based on the specific information of the data service business carried in the data service demand. Furthermore, DSMF queries the NRF network element in the network for specific network elements that meet the requirements based on fields such as data service area and data service QoS requirements, and selects DPF, DSF and other NFs to perform the tasks. In addition, DSMF also needs to determine whether the data service request of the first AF is a synchronous or asynchronous request.
[0079] S503, DSMF sends data collection, analysis and other tasks to the selected DPF and RAN. DSMF sends data storage tasks to DSF. At the same time, it notifies DSF whether the data service request is synchronous or asynchronous.
[0080] S504, if the data service request is asynchronous, the DSF will pre-allocate a storage address for the data service result, and feed back the address to the first AF of the service requester, so that the first AF thread enters a non-blocking state.
[0081] S505, the selected RAN and DPF perform data collection and analysis.
[0082] S506, RAN and DPF send data service results to DSF, which may include collected raw data, intermediate data, final data service results, etc. The final service results are data results that can be directly used after being processed by DPF and cannot be further processed. For example, the position, speed, imaging results, breathing / heart rate, etc. of the target in the perception scene, or the model training gradient and model inference results in the AI scene.
[0083] S507, DSF stores various data involved in the data service process and sends a data service result storage message to DSMF. If the request is synchronous, the message includes the data storage address; if the request is asynchronous, the message is a notification that the data service result has been stored.
[0084] S508, DSMF feeds back the result to the first AF, the data service requester. For synchronous request, DSMF opens the data result storage address to the first AF; for asynchronous request, DSMF feeds back to the first AF that the data service result is available. The first AF can obtain the data service result through the storage address.
[0085] S509: The second AF sends a second data service request to the DSMF.
[0086] S510, DSMF processes the second data service demand and considers that reusing the existing data service result can meet the second data service demand, and there is no need to collect and process data again.
[0087] S511, the DSMF opens the multiplexed data service result address to the second AF, and the second AF obtains the data service result according to the data storage address.
[0088] Figure 6 A flow chart of a communication method for synchronization request in an embodiment of the present disclosure is shown. The communication method for synchronization request provided in an embodiment of the present disclosure includes the following steps:
[0089] S601, the first AF sends a data service request to the DSMF through the SEF.
[0090] S602, DSMF decomposes the data service demand into specific data service tasks, and selects appropriate NFs such as DPF and DSF to execute the data service tasks.
[0091] S603, DSMF sends data collection, analysis and other tasks to the selected DPF and RAN.
[0092] S604, DSMF sends a data storage task to DSF.
[0093] S605, the selected RAN and DPF perform data collection and analysis.
[0094] S606, RAN and DPF send the data service results to DSF, which may include collected original data, intermediate data, final data service results, etc.
[0095] S607, DSF stores various data involved in the data service process.
[0096] S608, DSF sends the data service result storage address to DSMF.
[0097] S609, the DSMF opens the address of the data service result to the first AF which is the data service requester.
[0098] S610: The first AF obtains a data service result according to a data storage address.
[0099] S611, the second AF sends a second data service request to the DSMF.
[0100] S612, DSMF processes the second data service demand and considers that reusing the existing data service result can meet the second data service demand, and there is no need to collect and process data again.
[0101] S613, the DSMF opens the multiplexed data service result address to the second AF.
[0102] S614: The second AF obtains the data service result according to the data storage address.
[0103] Figure 7 A flow chart of a communication method for asynchronous request in an embodiment of the present disclosure is shown. The communication method for asynchronous request provided in an embodiment of the present disclosure includes the following steps:
[0104] S701: The first AF sends a data service request to the DSMF through the SEF.
[0105] S702, DSMF decomposes the data service requirements into specific data service tasks, and selects appropriate NFs such as DPF and DSF to perform the data service tasks.
[0106] S703, DSMF sends data collection, analysis and other tasks to the selected DPF and RAN.
[0107] S704, DSMF sends a data storage task to DSF.
[0108] S705: The DSF feeds back to the AF the data storage address allocated for the current data service request.
[0109] S706, RAN and DPF perform data collection and analysis.
[0110] S707, RAN and DPF send the data service result to DSF, which may include the collected original data, intermediate data, and final data service result.
[0111] S708, DSF stores various data involved in the data service process.
[0112] S709, DSF sends a message to DSMF indicating that the data service result has been stored.
[0113] S710, the DSMF notifies the first AF, the data service requester, that the requested data service result is available.
[0114] S711: The first AF obtains a data service result through a data storage address.
[0115] S712: The second AF sends a second data service request to the DSMF.
[0116] S713, DSMF processes the second data service demand and considers that reusing the existing data service result can meet the second data service demand, and there is no need to collect and process data again.
[0117] S714, the DSMF opens the multiplexed data service result address to the second AF.
[0118] S715: The second AF obtains the data service result according to the data storage address.
[0119] The present disclosure addresses the problem that data service results of a core network need to be open to service requesters. It discloses a method and process for the core network to provide data service results to service requesters in a synchronous or asynchronous manner, and supports multiplexing of data service results to multiple requesters, thereby improving the flexibility and efficiency of opening data service results.
[0120] Based on the same inventive concept, the present disclosure also provides a communication device in the following embodiments. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0121] Figure 8 A schematic diagram of a communication device in an embodiment of the present disclosure is shown. Figure 8 As shown, the device includes: a parsing module 81, a synchronization module 82, an asynchronous module 83 and a multiplexing module 84.
[0122] The parsing module 81 is used to parse the data service request sent by the first application function AF network element, and determine the data service task and data service request type of the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request;
[0123] The synchronization module 82 is used to send a data service task if it is a synchronization request, obtain the storage address of the data service result obtained after the data service task is processed, and send the storage address to the first AF network element so that the first AF network element obtains the data service result through the storage address;
[0124] The asynchronous module 83 is used to send a pre-allocated storage address to the first AF network element if it is an asynchronous request, send a data service task, obtain the storage available information of the data service result obtained after processing the data service task, and send the storage available information to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address.
[0125] In one example of the present disclosure, the synchronization module 82 is also used to: determine the network function NF network element that can execute the data service task according to the data service task; send the data service task to the NF network element so that the NF network element processes the data service task to obtain the data service result, and obtain the storage address returned by the data storage function DSF network element after storing the data service result.
[0126] In an example of the present disclosure, the asynchronous module 83 is further used for: sending the pre-allocated storage address to the first AF network element includes: the DSF network element sending the pre-allocated storage address for the data service result to the first AF network element.
[0127] In an example of the present disclosure, the asynchronous module 83 is further used to: after the first AF network element receives the storage address, enable the first AF network element thread to enter a non-blocking state.
[0128] In one example of the present disclosure, the asynchronous module 83 is also used to: determine the network function NF network element that can execute the data service task according to the data service task; send the data service task to the NF network element so that the NF network element processes the data service task to obtain the data service result, and obtain the storage available information returned by the DSF network element after storing the data service result.
[0129] In one example of the present disclosure, the data service result in the above-mentioned communication device is a data result that can be directly used after being processed by the NF network element.
[0130] In one example of the present disclosure, the above-mentioned communication device also includes a multiplexing module 84, which is used to obtain a data service request sent by the second AF network element, and determine whether the data service result meets the data service request sent by the second AF network element; if so, open the storage address of the multiplexed data service result to the second AF network element, so that the second AF network element obtains the data service result through the storage address.
[0131] It should be noted that the above-mentioned parsing module 81, synchronization module 82, and asynchronous module 83 correspond to S202 to S206 in the method embodiment, and the examples and application scenarios implemented by the above-mentioned modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned method embodiment. It should be noted that the above-mentioned modules as part of the device can be executed in a computer system such as a set of computer executable instructions.
[0132] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0133] Refer to the following Fig. 9 The electronic device 900 according to this embodiment of the present disclosure is described. Fig. 9 The electronic device 900 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0134] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include but are not limited to: at least one processing unit 910, at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).
[0135] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 executes the steps described in the above “Exemplary Method” section of this specification according to various exemplary embodiments of the present disclosure.
[0136] For example, the processing unit 910 can execute the following steps of the above-mentioned method embodiment: parse the data service request sent by the first application function AF network element, determine the data service task and data service request type of the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request; if it is a synchronous request, send the data service task, obtain the storage address of the data service result obtained after the data service task is processed, and send the storage address to the first AF network element, so that the first AF network element obtains the data service result through the storage address; if it is an asynchronous request, send the pre-allocated storage address to the first AF network element, send the data service task, obtain the storage available information of the data service result obtained after the data service task is processed, and send the storage available information to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address.
[0137] For example, the processing unit 910 can execute the following steps of the above-mentioned method embodiment: sending a data service task, and obtaining the storage address of the data service result obtained after the data service task is processed, including: determining the network function NF network element that can execute the data service task according to the data service task; sending the data service task to the NF network element so that the NF network element processes the data service task to obtain the data service result, and obtaining the storage address returned by the data storage function DSF network element after storing the data service result.
[0138] For example, the processing unit 910 may execute the following steps of the above method embodiment: the DSF network element sends a storage address pre-allocated for the data service result to the first AF network element.
[0139] For example, the processing unit 910 may execute the following steps of the above method embodiment: after the first AF network element receives the storage address, the first AF network element thread enters a non-blocking state.
[0140] For example, the processing unit 910 can execute the following steps of the above-mentioned method embodiment: determine the network function NF network element that can execute the data service task according to the data service task; send the data service task to the NF network element, so that the NF network element processes the data service task to obtain the data service result, and obtain the storage available information returned by the DSF network element after storing the data service result.
[0141] For example, the processing unit 910 can execute the following steps of the above method embodiment: obtain the data service request sent by the second AF network element, and determine whether the data service result meets the data service request sent by the second AF network element; if so, open the storage address of the multiplexed data service result to the second AF network element, so that the second AF network element obtains the data service result through the storage address.
[0142] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .
[0143] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0144] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0145] The electronic device 900 may also communicate with one or more external devices 940 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication may be performed through an input / output (I / O) interface 950. In addition, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 through a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0146] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0147] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer program product, which includes: a computer program, which implements the above communication method when executed by a processor.
[0148] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above “Exemplary Method” section of this specification.
[0149] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0150] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0151] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0152] In specific implementation, the program code for performing the operation of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0153] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0154] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0155] Through the description of the above implementation modes, it is easy for those skilled in the art to understand that the example implementation modes described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation mode of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation mode of the present disclosure.
[0156] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A communication method, characterized in that: include: Parsing the data service request sent by the first AF network element, determining the data service task and the data service request type of the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request; If it is a synchronous request, sending the data service task, obtaining the storage address of the data service result obtained after processing the data service task, and sending the storage address to the first AF network element, so that the first AF network element obtains the data service result through the storage address; If it is an asynchronous request, send the pre-allocated storage address to the first AF network element, send the data service task, obtain the storage available information of the data service result obtained after processing the data service task, and send the storage available information to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address.
2. The communication method according to claim 1, characterized in that: The sending of the data service task and obtaining the storage address of the data service result obtained after processing the data service task includes: According to the data service task, determining a network function NF network element capable of executing the data service task; The data service task is sent to the NF network element, so that the NF network element processes the data service task to obtain the data service result, and obtains the storage address returned by the data storage function DSF network element after storing the data service result.
3. The communication method according to claim 1, characterized in that: The sending the pre-allocated storage address to the first AF network element comprises: The DSF network element sends the storage address pre-allocated for the data service result to the first AF network element.
4. The communication method according to claim 3, characterized in that: After the DSF network element sends the storage address pre-allocated for the data service result to the first AF network element, the method further includes: After the first AF network element receives the storage address, the thread of the first AF network element enters a non-blocking state.
5. The communication method according to claim 4, characterized in that: The sending of the data service task and obtaining the storage available information of the data service result obtained after processing the data service task includes: According to the data service task, determining a network function NF network element capable of executing the data service task; The data service task is sent to the NF network element, so that the NF network element processes the data service task to obtain the data service result, and obtains the storage available information returned by the DSF network element after storing the data service result.
6. The communication method according to claim 1, characterized in that: The data service result is a data result that can be directly used after being processed by the NF network element.
7. The communication method according to any one of claims 1 to 6, characterized in that: The method further comprises: Obtaining a data service request sent by the second AF network element, and determining whether the data service result satisfies the data service request sent by the second AF network element; If so, the storage address of the reused data service result is opened to the second AF network element, so that the second AF network element obtains the data service result through the storage address.
8. A communication device, characterized in that: include: a parsing module, configured to parse the data service request sent by the first AF network element, and determine the data service task and the data service request type of the first AF network element, wherein the data service request type is a synchronous request or an asynchronous request; a synchronization module, configured to, if it is a synchronization request, send the data service task, obtain the storage address of the data service result obtained after the data service task is processed, and send the storage address to the first AF network element, so that the first AF network element obtains the data service result through the storage address; An asynchronous module is used to, if it is an asynchronous request, send a pre-allocated storage address to the first AF network element, send the data service task, obtain the storage available information of the data service result obtained after processing the data service task, and send the storage available information to the first AF network element, so that the first AF network element obtains the data service result through the storage available information and the pre-allocated storage address.
9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the communication method according to any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the communication method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Systems and methods for group based services provisioning
CN110463231A
Method for sensing terminal equipment and communication device
CN115734200A
