A file transmission method and device, electronic equipment and storage medium

By obtaining the reachability status of the receiving device in the cloud storage system and generating a timely download link, the problems of inaccurate addressing and insufficient security in file transfer in the existing technology are solved, and a convenient and secure file transfer solution is realized.

CN122372547APending Publication Date: 2026-07-10CHINA UNICOM ONLINE INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA UNICOM ONLINE INFORMATION TECHNOLOGY CO LTD
Filing Date
2026-03-18
Publication Date
2026-07-10

Smart Images

  • Figure CN122372547A_ABST
    Figure CN122372547A_ABST
Patent Text Reader

Abstract

This application discloses a file transfer method, apparatus, electronic device, and storage medium, relating to the field of communication technology. The method includes: responding to a file transfer request initiated by a sending end, obtaining the file data to be transferred and the communication number identifier corresponding to the receiving end, and uploading the file data to be transferred to a cloud storage system; querying the reachability status of the device corresponding to the communication number identifier, and when the device is detected to be reachable, sending a notification message containing a file transfer prompt to the receiving end; receiving an authorization instruction from the receiving end based on the notification message, verifying the authorization instruction, and generating a time-sensitive secure download link; and sending the secure download link to the receiving end so that the receiving end can download the file data to be transferred from the cloud storage system based on the secure download link. This achieves the technical effects of enabling universal and reliable point-to-point addressing, ensuring accurate and timely delivery of file transfer notifications, granting the receiving end the right to choose file transfers, and improving the security and controllability of the file transfer process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a file transfer method, apparatus, electronic device and storage medium. Background Technology

[0002] Currently, the mainstream implementation of file transfer on terminal devices is based on the OTT model. These devices rely on basic Internet protocols and are deployed as independent applications or functional modules on the basic network, which are isolated from the transmission channel, resulting in poor user convenience.

[0003] The related technologies are based on an application-layer overlay paradigm, requiring the implementation of addressing, notification, and security functions independently. This results in cumbersome systems with security vulnerabilities. Even P2P direct transmission technology requires public network servers for discovery signaling, making it susceptible to limitations imposed by the performance and availability of third-party servers. Furthermore, these technologies struggle to simultaneously meet the demands for cross-regional, large-file, convenient, high-speed, and reliable transmission. They also present a dual contradiction between security and efficiency, and between convenience and controllability. For example, the mobile number + rich media transmission solution has file size limitations and inconsistent end-to-end experience, while P2P direct transmission relies on local area networks and suffers from poor cross-platform compatibility. Summary of the Invention

[0004] This application provides a file transfer method, apparatus, electronic device, and storage medium. It addresses the problems in related technologies, such as reliance on application-layer dedicated account addressing, inability to effectively obtain the reachability status of the receiving device, lack of pre-authorization at the receiving end, and lack of timeliness and security control over file access credentials.

[0005] According to a first aspect of this application, a file transfer method is provided, comprising:

[0006] In response to a file transfer request initiated by the sender, the system obtains the file data to be transferred and the corresponding communication number identifier of the receiver, and uploads the file data to be transferred to the cloud storage system. Query the reachability status of the device corresponding to the communication number identifier. When the device is detected to be reachable, send a notification message containing a file transfer prompt to the receiving end. The receiving end receives the authorization instruction based on the notification message, verifies the authorization instruction, and generates a time-sensitive secure download link. A secure download link is sent to the receiving end so that the receiving end can download the file data to be transferred from the cloud storage system based on the secure download link.

[0007] According to a second aspect of this application, a file transfer device is provided, comprising: The acquisition module is configured to respond to a file transfer request initiated by the sender, acquire the file data to be transferred and the communication number identifier corresponding to the receiver, and upload the file data to be transferred to the cloud storage system. The sending module is configured to query the reachability status of the device corresponding to the communication number identifier, and when the device is detected to be reachable, send a notification message containing a file transfer prompt to the receiving end; The receiving module is configured to receive authorization instructions from the receiving end based on notification messages, and generate a time-sensitive secure download link after verifying the authorization instructions; The download module is configured to send a secure download link to the receiving end, so that the receiving end can download the file data to be transferred from the cloud storage system based on the secure download link.

[0008] According to a third aspect of this application, an electronic device is provided, comprising: At least one processor; and memory that is communicatively connected to at least one processor; The memory stores instructions that can be executed by at least one processor, which are executed by at least one processor to enable the at least one processor to perform the file transfer method of the first aspect described above.

[0009] According to a fourth aspect of this application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause a computer to perform the file transfer method of the first aspect described above.

[0010] According to a fifth aspect of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the file transfer method as described in the first aspect above.

[0011] This application addresses several issues in related technologies. By responding to a file transfer request from the sender, it obtains the file data to be transferred and the receiver's communication number identifier, uploads the file data to the cloud storage system, queries the reachability status of the device corresponding to the communication number identifier, sends a file transfer notification message to the receiver when the device is reachable, receives and verifies the receiver's authorization instruction, generates a time-sensitive secure download link, and then sends the link to the receiver for downloading the file data. This solves the problems of relying on application-layer dedicated account addressing, ineffective acquisition of receiver device reachability status, lack of receiver pre-authorization, and lack of timeliness and security control over file access credentials. The application achieves the technical effects of universally reliable point-to-point addressing, ensuring accurate and timely delivery of file transfer notifications, granting the receiver the right to choose file transfers, and improving the security and controllability of the file transfer process.

[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description

[0013] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 A schematic flowchart illustrating a file transfer method provided in an embodiment of this application; Figure 2 A flowchart illustrating another file transfer method provided in an embodiment of this application; Figure 3 This is a schematic diagram of a file transfer device provided in an embodiment of this application. Detailed Implementation

[0015] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of this application, including various details to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0016] The following description, with reference to the accompanying drawings, outlines a file transfer method, apparatus, electronic device, and storage medium according to embodiments of this application.

[0017] Figure 1 This is a flowchart illustrating a file transfer method provided in an embodiment of this application.

[0018] like Figure 1 As shown, the method includes the following steps: Step 101: In response to the file transfer request initiated by the sending end, obtain the file data to be transferred and the communication number identifier corresponding to the receiving end, and upload the file data to be transferred to the cloud storage system.

[0019] In some embodiments, in the overall execution flow of file transfer, the system will first respond to the file transfer request initiated by the sender. The initiation of this request becomes the starting node of the entire file transfer process, and the system will carry out the collection of relevant data and identifiers based on this request.

[0020] The system first accurately retrieves the file data to be transmitted carried in the request. This file data includes the file content in various formats. Simultaneously, it also retrieves the corresponding metadata information, covering basic information that characterizes file attributes such as filename, file size, and file format. This allows for a comprehensive and complete identification of the file to be transmitted. At the same time, the system collects the communication number identifier corresponding to the receiving end based on the transmission request. This identifier can be a mobile phone number, which possesses globally universal and unique communication identification. It is core location information directly pointing to the receiving end and becomes a crucial basis for accurately locating the receiving end during subsequent file transmission.

[0021] After completing the acquisition of the file data to be transmitted and the communication number identifier of the receiving end, the system will start the corresponding file upload program to upload the collected file data to be transmitted completely and securely to the cloud storage system. As a cloud storage service system with stable data storage and retrieval capabilities, the cloud storage system can securely store the uploaded file data, providing reliable data storage support for subsequent file transmission processes, ensuring that the file data to be transmitted can be stably saved and can be retrieved and used normally in subsequent processes.

[0022] This process enables secure pre-storage of the file data to be transferred, while using the communication number identifier as the location basis for the receiving end, eliminating the dependence on application-layer exclusive accounts, improving the universality of file transfer addressing, and laying a solid and stable data foundation for the orderly development of the entire subsequent file transfer process.

[0023] Step 102: Query the reachability status of the device corresponding to the communication number identifier. When the device is detected to be reachable, send a notification message containing a file transfer prompt to the receiving end.

[0024] In some embodiments, after the file data to be transmitted is uploaded to the cloud storage system, the system will initiate a special query operation on the reachability status of the receiving device corresponding to the acquired receiving end communication number identifier.

[0025] Device reachability status is a real-time operational status that characterizes whether the receiving device is connected to the network normally and can stably receive various information commands. Accurate determination of this status is an important prerequisite for ensuring the effective delivery of subsequent notification messages. The system relies on the native capability interface of the communication network to conduct this status query. Through real-time data interaction with relevant functional modules of the core communication network, it accurately collects core data such as the network connection status and online status of the receiving device, thereby comprehensively determining whether the receiving device has the basic conditions for receiving information.

[0026] The system continuously monitors the reachability of the receiving device. Once the device is detected to be reachable, the system immediately triggers the generation and sending of a notification message. The system automatically generates a notification message containing a file transfer prompt. The message includes the basic attributes of the file to be transferred and basic information related to the initiation of the transfer, allowing the receiving end to clearly understand the core information related to the file transfer. Subsequently, the system accurately pushes the notification message to the receiving device corresponding to the communication number identifier through a dedicated message delivery channel of the core communication network, ensuring the timeliness and stability of message delivery.

[0027] This process can accurately match the real-time operating status of the receiving device, avoid invalid message sending behavior, greatly improve the delivery efficiency of notification messages, and at the same time allow the receiving end to obtain relevant prompts for file transfer in a timely manner, providing timely and effective information support for the receiving end's subsequent operational decisions.

[0028] Step 103: Receive the authorization instruction from the receiving end based on the notification message, verify the authorization instruction, and generate a time-sensitive secure download link.

[0029] In some embodiments, after the receiving end receives a notification message containing a file transfer prompt, the system will receive an authorization instruction from the receiving end based on the notification message in real time. This authorization instruction is a clear authorization confirmation signal from the receiving end for this file transfer behavior, which is the core operational basis for starting the subsequent file download process and directly represents the receiving end's recognition and permission for this file transfer.

[0030] Upon receiving the authorization instruction, the system will immediately initiate a comprehensive verification process, rigorously verifying the source of the instruction, the completeness of its content, and other dimensions to ensure that the authorization instruction was indeed initiated by the receiving end identified by the corresponding communication number, and that the instruction has not been tampered with or illegally forged during transmission, thus guaranteeing the authenticity and validity of the authorization operation from the source.

[0031] After verifying the authorization command and confirming its full validity, the system will immediately trigger the generation of a secure download link. The generated secure download link is time-sensitive and integrates exclusive access verification information. It is also given a clear and fixed validity period and can only be used normally within this period. After the expiration period, it will automatically lose its access validity. Moreover, the link has a unique access target and can only be used for accessing and downloading the file data to be transferred in this instance.

[0032] This process ensures that file transfer behavior conforms to the recipient's subjective intention through strict verification of authorization instructions. The generation of time-sensitive secure download links forms a dual security constraint from the perspectives of access permissions and usage time limits, effectively avoiding the risk of malicious access and illegal dissemination of files, and greatly improving the security and controllability of the file transfer process.

[0033] Step 104: Send a secure download link to the receiving end so that the receiving end can download the file data to be transferred from the cloud storage system based on the secure download link.

[0034] In some embodiments, after the system completes the generation of a time-sensitive secure download link, it will immediately initiate the link distribution process, accurately sending the generated secure download link to the corresponding receiving end.

[0035] The distribution process relies on the native message channel of the communication network bound to the communication number identifier. With the help of the stable transmission capability of the communication network, the secure download link can be delivered to the receiving device without deviation, ensuring the accuracy and timeliness of the link delivery, so that the receiving end can quickly obtain the secure download link.

[0036] This link integrates unique access verification information, which is the only legitimate credential for the receiving end to retrieve and download the file data to be transferred from the cloud storage system. After obtaining this link, the receiving end can use it to initiate an access request to the corresponding file data in the cloud storage system.

[0037] When the cloud storage system receives an access request initiated by the receiving end based on the link, it will automatically verify the validity and timeliness of the link. Once the verification is successful, it will grant the corresponding file data retrieval permission, and the receiving end can then successfully download the file data to be transferred from the cloud storage system, completing the core download stage of the entire file transfer process.

[0038] This process ensures the secure delivery of download links through a dedicated communication channel, guaranteeing the security of access credentials. It also uses time-sensitive links as the sole download credentials, allowing the receiving end to legally and conveniently complete file downloads. This strengthens the final security barrier in file transfer while enhancing the ease of downloading for the receiving end, ensuring the entire file transfer process is implemented in an orderly and complete manner.

[0039] Compared with related technologies, in this embodiment, in response to a file transfer request initiated by the sending end, the file data to be transferred and the communication number identifier corresponding to the receiving end are obtained, and the file data is uploaded to the cloud storage system; the reachability status of the device corresponding to the communication number identifier is queried, and when the device is detected to be reachable, a notification message containing a file transfer prompt is sent to the receiving end; an authorization instruction fed back by the receiving end based on the notification message is received, and after verifying the authorization instruction, a time-sensitive secure download link is generated; the secure download link is sent to the receiving end so that the receiving end can download the file data from the cloud storage system based on the secure download link. This can solve the problems in related technologies that rely on application-layer exclusive account addressing, cannot effectively obtain the reachability status of the receiving end device, lack a receiving end pre-authorization step, and lack timeliness and security control of file access credentials, achieving the technical effects of realizing universal and reliable point-to-point addressing, ensuring accurate and timely delivery of file transfer notifications, giving the receiving end the right to choose file transfer, and improving the security and controllability of the file transfer process.

[0040] Figure 2 A flowchart illustrating another file transfer method provided in this application embodiment includes the following steps: Step 201: Receive the file data to be transmitted uploaded by the sending end, and create a task record with the status of "pending processing" for the file data to be transmitted in the database.

[0041] In some embodiments, after responding to a file transfer request initiated by the sender, the system will receive the file data to be transferred uploaded by the sender in full according to the established transmission specifications. It can achieve stable and lossless reception for file data of different formats and sizes, ensuring the integrity of file data during the upload process.

[0042] After successfully receiving the file data to be transmitted, the system will generate a unique file identifier for that file data. This identifier is a unique identifier used to distinguish different file data, enabling accurate identification of a single file data.

[0043] At the same time, the system will create a corresponding task record for this file transfer in the supporting database and set the initial status of the task record to pending. This status information will clearly reflect the current progress of this file transfer, providing basic record support for the system to track the entire transfer task and update its status, so that subsequent operations can be carried out based on clear task records.

[0044] This process ensures the complete reception of file data, realizes the initial archiving of the transmission task, and provides a basic guarantee for the orderly progress of subsequent transmission processes.

[0045] Step 202: Generate a globally unique file identifier for the file data to be transmitted, and store metadata including the communication number identifiers of the sender and receiver, the file name, and the size.

[0046] In some embodiments, when the system processes the received file data to be transmitted, it generates a globally unique file identifier for it. This identifier has a unique characteristic in the entire file transmission system and will not be duplicated with the identifier of any other file data. It can achieve accurate and unique identification of the file data to be transmitted across the entire network, thus avoiding confusion of file data at the identification level.

[0047] While generating the globally unique file identifier, the system simultaneously extracts and stores metadata related to this file transfer. This metadata includes the communication number identifier of the sender and the communication number identifier of the receiver, as well as the core basic attributes of the file to be transferred, specifically the file name and file size. This information can comprehensively and intuitively represent the core related information of this file transfer and the basic characteristics of the file itself. The system will properly preserve this metadata through standardized storage methods to ensure the integrity of the metadata and its subsequent quick retrieval.

[0048] This process achieves a unique identifier for file data across the entire network, fully preserving key transmission information and basic file attributes, providing accurate data for subsequent file location and information verification.

[0049] Step 203: Associate the metadata with the file identifier and store it as file index information in the cloud storage system.

[0050] In some embodiments, after the system completes the generation of a globally unique file identifier for the file data to be transferred, and the extraction and storage of related metadata, it will start the construction of file index information, accurately associating and binding the generated file identifier with the extracted metadata, so that the two form a fixed one-to-one correspondence. The two together constitute the file index information used to retrieve the file data. This index information is the core key basis for quickly locating and accurately retrieving the corresponding file data in the cloud storage system.

[0051] After the file index information is constructed, the system will upload and store this complete index information in accordance with the cloud storage system's storage specifications to the designated storage area of ​​the cloud storage system. This ensures that the index information is stored and managed in a standardized manner in the cloud storage system, enabling the cloud storage system to quickly identify and locate the corresponding file data to be transferred based on the index information.

[0052] This process establishes a unique retrieval basis for files, realizes the associated storage of identifiers and metadata, significantly improves the efficiency of file data retrieval and retrieval in the cloud storage system, and enables subsequent file-related operations to be implemented quickly.

[0053] Step 204: Call the application programming interface provided by the network capability open platform to query the status of the communication number identifier of the receiving end and subscribe to the device reachability event corresponding to the mobile number.

[0054] In some embodiments, when the system performs a query on the reachability status of the receiving device, it will actively call the application programming interface provided by the network capability open platform. This interface is the core channel for data interaction and function calls between the system and the network capability open platform. Relying on this standardized interface, the system can initiate precise query requests to the communication core network to specifically retrieve the real-time status information of the device corresponding to the receiving communication number identifier, and comprehensively grasp key data such as the network connection status and online status of the device.

[0055] At the same time, the system will initiate a subscription operation for device reachability events to the network capability open platform through the application programming interface. After the subscription is completed, the communication core network will continuously monitor the device status corresponding to the receiving end communication number in real time. Once the network connection status of the device changes, the relevant status change information will be fed back to the system in a timely manner through the established channel, so that the system can dynamically grasp the reachability status changes of the receiving end device.

[0056] This process relies on the native network capabilities of the network capability open platform to complete status queries and event subscriptions, improving the accuracy of device status queries and enabling real-time monitoring of the reachability of receiving devices, thus providing a reliable status basis for timely sending of notification messages.

[0057] Step 205: When the receiving end enters the connected state, it uses the network capability open platform to call back the unified resource location address preset by the business server.

[0058] In some embodiments, the service server will pre-set a dedicated unified resource location address in the network capability open platform. This address is the unique identifier of the service server in the network and also the precise path for the communication core network to transmit device status information back to the service server. After the two complete the binding of this address, a reverse data transmission channel between the core network and the service server is established.

[0059] When the receiving device switches from an offline state to a normal network connection state, the communication core network detects this state change and determines that the device is reachable. It then immediately initiates a reverse callback process through the network capability open platform. The reachable status information of the receiving device is accurately pushed to the unified resource location address preset by the business server according to the established transmission protocol. This ensures that the key information about the device's reachability can be transmitted to the business server without delay or deviation, allowing the business server to know as soon as possible that the receiving device has the basic conditions to receive notification messages.

[0060] This approach replaces the continuous polling status detection mode with a reverse callback, significantly reducing system resource consumption while enabling real-time feedback of device reachability status, thus improving the efficiency and timeliness of status information transmission.

[0061] Based on the above embodiments, in order to improve the effectiveness of receiving device status retrieval and subsequent callback operations, ensure the accurate and stable transmission of device reachability event notifications, and address the technical problems of directly retrieving communication numbers leading to connections with invalid 5G users or those who have not subscribed to related value-added services, resulting in invalid subsequent operations and wasted system resources, and the lack of dedicated connections to ensure the transmission of reachability event notifications, step 205, when the receiving end enters the connected state, uses the network capability open platform to call back the unified resource location address preset by the service server, specifically including: When calling the network capability open platform to retrieve the communication number of the receiving end, the unified data management function is also called to verify whether the receiving end is a real and valid 5G user and to subscribe to the value-added service of file transfer. After confirming that the function of calling the file transfer service to the receiving end is valid and reachable, an event subscription connection is established between the access and mobility management function and the business server; When the receiving end enters the connected state, the access and mobility management functions send reachability event notifications to the preset unified resource location address through the network capability open platform.

[0062] In this embodiment, while the system calls the network capability open platform to retrieve the communication number of the receiving end, it also simultaneously calls the unified data management function to carry out dual verification. The unified data management function is a core functional module in the communication core network responsible for managing the validity of user 5G identity and user value-added service subscription data. It can accurately verify whether the receiving end is a real and valid 5G network user, and at the same time confirm whether the user has completed the subscription process for file transfer value-added services. It completes the verification from two dimensions: user identity and service permissions, and avoids the situation of initiating subsequent operations to unauthorized or invalid objects from the source.

[0063] After verification by the unified data management function, if it is confirmed that the receiving end is a valid 5G user and has subscribed to relevant value-added services, and the function of calling the file transfer service to it is valid and reachable, the system will immediately establish an event subscription connection between the access and mobility management function and the business server. The access and mobility management function is a key module in the communication core network responsible for device network access control, mobility status management and device online status monitoring. This event subscription connection establishes a dedicated status information transmission channel between the two to ensure the stability of subsequent status information transmission.

[0064] When the receiving device completes the network connection and switches to a normal connection state, the access and mobility management function will capture the status change in real time and generate a reachability event notification. Then, through the network capability open platform, the reachability event notification will be accurately pushed to the unified resource location address preset by the business server to ensure that the key information on device reachability can be transmitted to the business server in a timely and unbiased manner.

[0065] This process effectively avoids invalid operations through dual verification and reduces unnecessary consumption of system resources. The establishment of a dedicated event subscription connection further ensures the timeliness and stability of reachability event notification delivery, providing a reliable prerequisite for the accurate delivery of subsequent notification messages.

[0066] Step 206: Based on the callback result, generate and push a rich media notification message with accept and reject operation buttons to the receiving end to inform the sending end of the file transfer request.

[0067] In some embodiments, after receiving the reverse callback result from the network capability open platform regarding the reachability status of the receiving device, the system will immediately generate a corresponding rich media notification message based on the result. This type of notification message breaks through the limitations of ordinary text notifications, integrates text information and operation controls, and can provide the receiving end with intuitive information display and direct operation entry.

[0068] The rich media notification message clearly displays the sender's communication number identifier, the file name of the file to be transferred, the file size, and other core information, allowing the receiver to fully and accurately understand the specific content of this file transfer request. At the same time, the message includes two dedicated operation buttons, "Accept" and "Reject," serving as the direct entry point for the receiver to provide feedback on the file transfer request.

[0069] After the message is generated, the system will accurately push the rich media notification message to the device corresponding to the receiving communication number through the native message delivery channel of the communication core network, ensuring that the message can reach the receiving end quickly and stably.

[0070] This process allows the receiving end to intuitively and comprehensively understand the file transfer request. At the same time, the built-in operation buttons provide a convenient interactive way for the receiving end to provide authorization instructions, improving the user experience and laying the foundation for the rapid transmission of subsequent authorization instructions.

[0071] Step 207: Receive the consent request sent by the receiving end to the corresponding network capability open platform as an authorization instruction.

[0072] In some embodiments, the system continuously monitors the instruction receiving channel of the corresponding network capability open platform. This channel is a dedicated transmission channel for receiving various operation instructions, which can ensure the security and stability of instruction transmission.

[0073] When the receiving end receives the file transfer notification message, makes the decision to agree to receive the file, and actively sends an agreement to receive the file to the network capability open platform, the system will receive the request accurately and completely through this dedicated channel, and use the agreement to receive the file directly as the core authorization instruction in this file transfer process.

[0074] During the process of receiving the request, the system will simultaneously verify the source of the request to confirm that the request was indeed initiated by the communication number identifier of the receiving end corresponding to this file transfer, so as to prevent invalid instructions from non-corresponding receiving ends from entering the subsequent process and to ensure the accurate matching of the authorization instructions with this file transfer task.

[0075] This process relies on a dedicated channel to achieve efficient reception of authorization instructions. The receiving end's consent request is directly used as the authorization instruction, clarifying the receiving end's subjective intention to transmit the information. It also completes preliminary verification from the perspective of the source of the instruction, providing a true and effective basis for the legal conduct of subsequent processes.

[0076] Step 208: Update the task status to confirmed, call the token service to generate a token that is valid for a preset time period and has a preset number of uses, and generate a secure download link based on the token.

[0077] In some embodiments, upon receiving a valid and matching authorization instruction, the system immediately updates the status of the task record corresponding to this file transfer. The status of tasks previously pending is updated to "confirmed" in the database, and the time of the status update and related operation records are simultaneously retained. This allows the system to track the progress of the file transfer process in real time and accurately, providing clear status data support for subsequent task management and process traceability. After completing the task status update, the system invokes the built-in token service. The token service is a dedicated module responsible for generating secure access tokens. It generates tokens with strict usage restrictions according to preset rules. These tokens are valid for a preset time period and limited to a specific preset number of uses, ensuring that the token can only be used within the specified time and for the specified number of times.

[0078] After obtaining the token, the system will associate and bind it with core information such as the file identifier of the file to be transferred and the communication number identifier of the receiving end. According to the preset link generation rules, the token will be integrated into the link to generate the corresponding secure download link. The access permissions of the link are completely bound to the usage restrictions of the token. The validity and number of times the token is used directly determine the availability of the download link.

[0079] This process enables real-time updates of the file transfer task status, making the progress of the transfer process traceable and manageable. At the same time, it relies on the restrictive tokens generated by the token service to build secure download links, forming dual access constraints from the dimensions of time and number of uses, which greatly improves the security of download links and effectively avoids the risk of links being maliciously used beyond their expiration date or reused multiple times.

[0080] Step 209: Send the secure download link to the receiving end via the operator's SMS gateway.

[0081] In some embodiments, after generating a time-sensitive secure download link, the system relies on the operator's SMS gateway to distribute the link. The operator's SMS gateway is a core network node built by the telecommunications operator responsible for generating, transmitting, and distributing SMS messages. It possesses high reachability and stability, and does not rely on third-party applications or platforms, adapting to various terminal devices and serving as a reliable channel for accurate information delivery. The system encapsulates the generated secure download link into standardized SMS content according to the operator's SMS gateway's standard transmission protocol. The content clearly presents the complete secure download link, along with concise operation prompts, allowing the receiving end to quickly identify and perform subsequent operations. After encapsulation, the system sends the SMS data containing the secure download link to the operator's SMS gateway. The gateway, based on the acquired receiving end's communication number identifier, accurately distributes the SMS to the corresponding receiving device through the operator's core communication network. The entire transmission process relies on the operator's dedicated network link, effectively preventing link loss or tampering during transmission and ensuring the link reaches the receiving end completely and accurately.

[0082] This process leverages the native network advantages of the operator's SMS gateway to deliver links, eliminating reliance on application-layer tools, improving link reach and transmission security, and enabling receivers on various terminals to conveniently and quickly obtain secure download links.

[0083] Step 210: When the receiving end accesses the secure download link, the file data stream of the file to be transmitted is sent from the cloud storage system through the Internet and finally delivered to the receiving end through the user plane function.

[0084] In some embodiments, when the receiving end obtains a secure download link and initiates a legitimate access request, and the system completes the link validity verification, the cloud storage system will initiate the file data stream delivery process for the file to be transferred. This file data stream is a standardized network transmission data format of the file to be transferred, adaptable to various network transmission environments. The file data stream is first sent from the dedicated storage node of the cloud storage system, completes the basic network transmission stage via the Internet, then enters the transmission link of the 5G core network, and finally is accurately delivered to the receiving end via the user plane function. The user plane function is a core functional module in the 5G core network responsible for user data transmission and traffic policy execution. It can perform operations such as rate control and traffic statistics and billing on the file data stream, and can also allocate network resources according to transmission needs. During the file data stream transmission process, the user plane function will reasonably schedule the data stream according to the preset transmission strategy, accurately forwarding it from the core network link to the receiving device. In the case of large file transmission scenarios, it can also rely on its own network resource allocation capabilities to ensure the continuity of data stream transmission and avoid stuttering or disconnection.

[0085] This process leverages the user plane functionality of the 5G core network to deliver the final file data stream. It optimizes the underlying link for file transmission based on the core network's native capabilities, improving the download speed and stability of files. At the same time, it enables fine-grained management of transmission traffic, ensuring a stable transmission experience for different types of file transfers.

[0086] Figure 3 This is a schematic diagram of the structure of a file transfer device provided in an embodiment of this application, as shown below. Figure 3 As shown, it includes: an acquisition module 301, a sending module 302, a receiving module 303, and a download module 304.

[0087] The acquisition module 301 is configured to respond to a file transfer request initiated by the sending end, acquire the file data to be transferred and the communication number identifier corresponding to the receiving end, and upload the file data to be transferred to the cloud storage system. The sending module 302 is configured to query the reachability status of the device corresponding to the communication number identifier, and when the device is detected to be reachable, send a notification message containing a file transfer prompt to the receiving end; The receiving module 303 is configured to receive authorization instructions from the receiving end based on notification messages, and generate a time-sensitive secure download link after verifying the authorization instructions; Download module 304 is configured to send a secure download link to the receiving end so that the receiving end can download the file data to be transferred from the cloud storage system based on the secure download link.

[0088] In some examples of this embodiment, the acquisition module 301 is specifically configured to receive the file data to be transmitted uploaded by the sending end, create a task record in the database with the status of pending processing for the file data to be transmitted; generate a globally unique file identifier for the file data to be transmitted, and store metadata containing the communication number identifiers of the sending end and the receiving end, the file name and the size; and associate the metadata with the file identifier as file index information and store it in the cloud storage system.

[0089] In some examples of this embodiment, the sending module 302 is specifically configured to call the application programming interface provided by the network capability open platform to query the status of the communication number identifier of the receiving end and subscribe to the device reachability event corresponding to the mobile phone number; when the receiving end enters the connected state, it uses the network capability open platform to call back the unified resource location address preset by the business server; based on the callback result, it generates and pushes a rich media notification message with accept and reject operation buttons to the receiving end to inform the sending end of the file transfer request.

[0090] In some examples of this embodiment, the sending module 302 is further configured to, when calling the network capability open platform to retrieve the communication number of the receiving end, simultaneously call the unified data management function to verify whether the receiving end is a real and valid 5G user and subscribe to the file transfer value-added service; after confirming that the function of calling the file transfer service to the receiving end is valid and reachable, establish an event subscription connection between the access and mobility management function and the service server; when the receiving end enters the connected state, the access and mobility management function sends the reachability event notification to the preset unified resource location address through the network capability open platform.

[0091] In some examples of this embodiment, the receiving module 303 is specifically configured to receive the consent request sent by the receiving end to the corresponding network capability open platform as an authorization instruction; update the task status to confirmed; call the token service to generate a token that is valid within a preset time period and has a preset number of uses; and generate a secure download link based on the token.

[0092] In some examples of this embodiment, the download module 304 is specifically configured to send a secure download link to the receiving end via the operator's SMS gateway; when the receiving end accesses the secure download link, the file data stream of the file to be transmitted is sent from the cloud storage system through the Internet and finally delivered to the receiving end through the user plane function.

[0093] It should be noted that other corresponding descriptions of the functional units involved in the file transfer device provided in this embodiment can be found in [reference needed]. Figure 1 , Figure 2 The corresponding description in [the document] will not be repeated here.

[0094] Based on the above, Figure 1 , Figure 2 The embodiment illustrates a file transfer method. Correspondingly, this embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described file transfer method. Figure 1 , Figure 2 This illustrates a file transfer method.

[0095] Based on the above, Figure 1 , Figure 2 The embodiment illustrates a file transfer method. Correspondingly, this embodiment also provides a computer program product on which a computer program is stored. When executed by a processor, this computer program implements the above-described file transfer method. Figure 1 , Figure 2 This illustrates a file transfer method.

[0096] Based on this understanding, the technical solution of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as CD-ROM, USB flash drive, mobile hard drive, etc.) and includes several instructions to cause a computer device (such as personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of this application.

[0097] Based on the above, Figure 1 , Figure 2 A file transfer method is shown, and Figure 3 To achieve the above objectives, the present application also provides an electronic device, such as a personal computer or a server, in the illustrated virtual device embodiment. This device includes a storage medium and a processor; the storage medium stores a computer program; the processor executes the computer program to implement the above-described virtual device. Figure 1 , Figure 2 This illustrates a file transfer method.

[0098] In some embodiments, the aforementioned physical device may further include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, an input unit such as a keyboard, etc., and optionally, a USB interface, a card reader interface, etc. In some embodiments, the network interface may include a standard wired interface, a wireless interface (such as a Wi-Fi interface), etc.

[0099] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the aforementioned physical device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software in the information processing physical device.

[0100] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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 a 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 the element.

[0101] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A file transfer method, characterized in that, include: In response to a file transfer request initiated by the sending end, the system obtains the file data to be transferred and the communication number identifier corresponding to the receiving end, and uploads the file data to be transferred to the cloud storage system. The system queries the reachability status of the device corresponding to the communication number identifier. When the device is detected to be reachable, a notification message containing a file transfer prompt is sent to the receiving end. The receiver receives an authorization instruction based on the notification message, verifies the authorization instruction, and generates a time-sensitive secure download link. The secure download link is sent to the receiving end so that the receiving end can download the file data to be transmitted from the cloud storage system based on the secure download link.

2. The file transfer method according to claim 1, characterized in that, The step of responding to a file transfer request initiated by the sending end, obtaining the file data to be transferred and the communication number identifier corresponding to the receiving end, and uploading the file data to be transferred to the cloud storage system includes: Receive the file data to be transmitted uploaded by the sending end, and create a task record in the database for the file data to be transmitted with the status of pending processing; Generate a globally unique file identifier for the file data to be transmitted, and store metadata including the communication number identifiers of the sending end and the receiving end, the file name, and the size; The metadata is associated with the file identifier and stored as file index information in the cloud storage system.

3. The file transfer method according to claim 1, characterized in that, The query process involves checking the reachability status of the device corresponding to the communication number identifier. When device reachability is detected, a notification message containing a file transfer prompt is sent to the receiving end, including: Call the application programming interface provided by the network capability open platform to query the status of the communication number identifier of the receiving end and subscribe to the device reachability event corresponding to the mobile number; When the receiving end enters the connection state, it uses the network capability open platform to call back the unified resource location address preset by the business server. Based on the callback result, a rich media notification message with accept and reject operation buttons is generated and pushed to the receiving end to inform the sending end of the file transfer request.

4. The file transfer method according to claim 3, characterized in that, When the receiving end enters the connected state, it uses the network capability open platform to call back the preset unified resource location address of the service server, including: When the network capability open platform is invoked to retrieve the communication number of the receiving end, the unified data management function is simultaneously invoked to verify whether the receiving end is a real and valid 5G user and to subscribe to the value-added service of file transfer. After confirming that the function of calling the file transfer service to the receiving end is valid and reachable, an event subscription connection is established between the access and mobility management function and the business server; When the receiving end enters the connection state, the access and mobility management function sends the reachability event notification to the preset unified resource location address through the network capability open platform.

5. The file transfer method according to claim 1, characterized in that, The step of receiving the authorization instruction fed back by the receiving end based on the notification message, verifying the authorization instruction, and generating a time-sensitive secure download link includes: The receiving end sends a request for consent to receive to the corresponding network capability open platform as the authorization instruction; The task status is updated to confirmed, and the token service is invoked to generate a token that is valid for a preset time period and has a preset number of uses. The secure download link is then generated based on the token.

6. The file transfer method according to claim 1, characterized in that, Sending the secure download link to the receiving end so that the receiving end can download the file data to be transferred from the cloud storage system based on the secure download link includes: The secure download link is sent to the receiving end via the operator's SMS gateway; When the receiving end accesses the secure download link, the file data stream of the file to be transmitted is sent from the cloud storage system through the Internet and finally delivered to the receiving end through the user plane function.

7. A file transfer device, characterized in that, include: The acquisition module is configured to, in response to a file transfer request initiated by the sending end, acquire the file data to be transferred and the communication number identifier corresponding to the receiving end, and upload the file data to be transferred to the cloud storage system. The sending module is configured to query the reachability status of the device corresponding to the communication number identifier, and when the device is detected to be reachable, send a notification message containing a file transfer prompt to the receiving end; The receiving module is configured to receive the authorization instruction fed back by the receiving end based on the notification message, and generate a time-sensitive secure download link after verifying the authorization instruction; The download module is configured to send the secure download link to the receiving end, so that the receiving end can download the file data from the cloud storage system based on the secure download link.

8. An electronic device, characterized in that, include: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the file transfer method according to any one of claims 1-6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the file transfer method according to any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the file transfer method according to any one of claims 1-6.