Cross-terminal file transmission method and device, electronic equipment and storage medium

By uploading files to the cloud at the first terminal and generating QR codes and verification codes, the real -time and security issues of cross -end file transmission are solved, and the security, convenient sharing and operation of the file are realized.

CN119383183APending Publication Date: 2025-01-28E-SURFING DIGITAL LIFE TECH CO LTD

Patent Information

Application Number
CN202411509483.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The prior art has problems such as insufficient real-time, device dependence and cumbersome operation when transferring files, especially in cross-terminal file transfer, which poses security risks.

Method used

By uploading target files on the first terminal to the cloud, and a QR code and verification code, the second terminal is verified by scanning the QR code and entering the verification information.

Benefits of technology

The security and convenient sharing of the files are achieved, the transmission process is simplified, the efficiency is improved, and the security of the file sharing is enhanced through the school inspection mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383183A_ABST
    Figure CN119383183A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-terminal file transmission method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to a sharing instruction of a first object, and uploading a target file of a first terminal to a cloud; generating a two-dimensional code and a check code through the first terminal according to the storage address of the target file stored in the cloud; in response to a scanning operation of the second terminal on the two-dimensional code, performing verification processing on verification information input by the second object at the second terminal based on the check code; and when the verification processing result is successful, transmitting the storage address to the second terminal, so that the second terminal downloads the target file from the cloud according to the storage address. According to the invention, the convenience and efficiency of file transmission can be improved, the security of file sharing is effectively guaranteed through a check code mechanism, and the method has remarkable beneficial effects and can be widely applied to the technical field of data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for transmitting files across terminals. Background Art

[0002] With the rapid development of Internet business and the popularization of intelligence, modern people's lives are inseparable from the use of smart terminals; mobile computers, smart phones, car-mounted car machines, mobile tablets, etc. have been widely used in production and life scenarios. However, when people use computers, mobile phones, car-mounted car machines, smart tablets and other terminals in their daily lives, they still need data cables, network disks, and even need to use third-party software of social software to transfer files. There are two problems: 1. Data cables and network disks cannot be transmitted in real time, and they need to use network cables, storage disks and other devices. Users in some scenarios do not have these devices; network disks need to be uploaded through third-party platforms and then provided to recipients for download. The operation steps are relatively cumbersome. 2. Transferring files through chat software is cumbersome, and there are certain risks to personal information and file security. Summary of the invention

[0003] The present invention proposes a method, device, electronic device and storage medium for transmitting files across terminals, aiming to solve one of the technical problems in the related art at least to a certain extent. The embodiments of the present invention can safely transmit files across terminals.

[0004] On the one hand, an embodiment of the present invention provides a method for transmitting files across terminals, including:

[0005] In response to the sharing instruction of the first object, uploading the target file of the first terminal to the cloud;

[0006] Generate a QR code and a verification code by the first terminal according to the storage address of the target file stored in the cloud;

[0007] In response to the second terminal scanning the QR code, verifying the verification information input by the second object at the second terminal based on the verification code;

[0008] When the result of the verification process is passed, the storage address is transmitted to the second terminal, so that the second terminal downloads the target file from the cloud according to the storage address.

[0009] Optionally, a QR code sharing permission module is provided on the first terminal; in response to the sharing instruction of the first object, uploading the target file of the first terminal to the cloud includes the following steps:

[0010] In response to the sharing instruction of the first object, setting the sharing permission of the target file of the first terminal to permission-on through the QR code sharing permission module;

[0011] Based on the sharing permission for the target file with permission turned on, the target file is uploaded to the cloud.

[0012] Optionally, the method further comprises the following steps:

[0013] In response to the confidentiality instruction of the first object, the sharing permission of the target file of the first terminal is set to permission closed through the QR code sharing permission module.

[0014] Among them, when the sharing permission is closed, the target file cannot be uploaded to the cloud.

[0015] Optionally, the first terminal is provided with a dynamic QR code module and a real-time verification code module; generating a QR code and a verification code according to a storage address where the target file is stored in the cloud by the first terminal includes the following steps:

[0016] Generate a QR code through the dynamic QR code module according to the storage address of the target file in the cloud, combined with the preset validity period and verification address;

[0017] In response to the generation operation of the two-dimensional code, a verification code is generated by a real-time verification code module; and the verification code is associated with the verification address.

[0018] Optionally, when the generation time of the QR code exceeds the validity period, the method further includes the following steps:

[0019] Update the QR code through the dynamic QR code module;

[0020] In response to the update operation of the QR code, the verification code is updated by the real-time verification code module; and the updated verification code is associated with the verification address bound to the updated QR code.

[0021] Optionally, the second terminal is provided with a QR code scanning module; the QR code is associated with a storage address and a preset verification address, and the verification address is pre-associated with a verification code; in response to the second terminal scanning operation of the QR code, verification processing is performed on the verification information input by the second object in the second terminal based on the verification code, including the following steps:

[0022] In response to the scanning operation of the QR code by the QR code scanning module, obtaining a verification address associated with the QR code through the second terminal, so that the display interface of the second terminal displays a verification interface corresponding to the verification address;

[0023] The verification information input by the second object in the verification interface is obtained, and consistency verification is performed on the verification information and the verification code.

[0024] Optionally, the cloud is provided with a file storage module and an access record module, the file storage module is used to store the target file, and the method further comprises the following steps:

[0025] In response to a scanning operation on the QR code, obtaining a terminal identification corresponding to the second terminal, a result of the verification process, and a download result of the target file;

[0026] The terminal identification, the result of the verification process and the download result are stored in the access record module.

[0027] On the other hand, an embodiment of the present invention provides a device for transmitting files across terminals, including:

[0028] A first module, configured to upload a target file of the first terminal to the cloud in response to a sharing instruction of the first object;

[0029] The second module is used to generate a QR code and a verification code according to the storage address of the target file stored in the cloud through the first terminal;

[0030] A third module is used for verifying the verification information input by the second object at the second terminal based on the verification code in response to the scanning operation of the second terminal on the QR code;

[0031] The fourth module is used to transmit the storage address to the second terminal when the result of the verification process is passed, so that the second terminal downloads the target file from the cloud according to the storage address.

[0032] Optionally, a QR code sharing permission module is provided on the first terminal; the first module is specifically used for:

[0033] In response to the sharing instruction of the first object, setting the sharing permission of the target file of the first terminal to permission-on through the QR code sharing permission module;

[0034] Based on the sharing permission for the target file with permission turned on, the target file is uploaded to the cloud.

[0035] Furthermore, the device also includes:

[0036] A fifth module, configured to respond to the confidentiality instruction of the first object and set the sharing permission of the target file of the first terminal to be permission-closed through the QR code sharing permission module;

[0037] Among them, when the sharing permission is closed, the target file cannot be uploaded to the cloud.

[0038] Optionally, the first terminal is provided with a dynamic two-dimensional code module and a real-time verification code module; the second module is specifically used for:

[0039] Generate a QR code through the dynamic QR code module according to the storage address of the target file in the cloud, combined with the preset validity period and verification address;

[0040] In response to the generation operation of the two-dimensional code, a verification code is generated by a real-time verification code module; and the verification code is associated with the verification address.

[0041] Furthermore, when the generation time of the QR code exceeds the validity period, the device further includes:

[0042] The sixth module is used to update the QR code through the dynamic QR code module;

[0043] The seventh module is used to update the verification code through the real-time verification code module in response to the update operation of the QR code; and associate the updated verification code with the verification address bound to the updated QR code.

[0044] Optionally, the cloud is provided with a file storage module and an access record module, and the file storage module is used to store the target file; the device further includes:

[0045] An eighth module is used to obtain a terminal identification corresponding to the second terminal, a result of the verification process, and a download result of the target file in response to a scanning operation of the QR code;

[0046] The ninth module is used to store the terminal identification, the result of the verification process and the download result in the access record module.

[0047] On the other hand, an embodiment of the present invention provides an electronic device, including: a processor and a memory; the memory is used to store programs; the processor executes the program to implement the above-mentioned method of transmitting files across terminals.

[0048] On the other hand, an embodiment of the present invention provides a computer storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the above-mentioned method for transmitting files across terminals.

[0049] In the embodiment of the present invention, the target file of the first terminal is uploaded to the cloud in response to the sharing instruction of the first object; the first terminal generates a two-dimensional code and a verification code according to the storage address of the target file stored in the cloud; in response to the scanning operation of the second terminal on the two-dimensional code, the verification information input by the second object in the second terminal is verified based on the verification code; when the result of the verification process is passed, the storage address is transmitted to the second terminal, so that the second terminal downloads the target file from the cloud according to the storage address. The present invention includes the following beneficial effects: the method of the present invention can realize the safe and convenient sharing of the target file. Uploading the target file to the cloud through the first terminal not only facilitates the storage and management of the file, but also ensures the persistent storage and access to the file at any time. At the same time, the operation of generating the two-dimensional code and the verification code simplifies the file transmission process, and the user can realize the sharing of the file without complex links or email attachments. The second terminal can obtain the storage address of the file by scanning the two-dimensional code, which is convenient and fast, and improves the efficiency of file transmission. The application of the verification code effectively enhances the security of file sharing. By verifying the verification information input by the second object in the second terminal, it can be ensured that only legitimate users can obtain the storage address of the file, thereby preventing the risk of illegal acquisition or leakage of the file. In summary, this method not only improves the convenience and efficiency of file transmission, but also effectively ensures the security of file sharing through the verification code mechanism, which has significant beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0051] Figure 1 A schematic diagram of an implementation environment for cross-terminal file transmission provided by an embodiment of the present invention;

[0052] Figure 2 A schematic diagram of a flow chart of a method for transmitting files across terminals provided by an embodiment of the present invention;

[0053] Figure 3 A schematic diagram of the expansion process of step S100 provided in an embodiment of the present invention;

[0054] Figure 4 A schematic diagram of the expansion process of step S200 provided in an embodiment of the present invention;

[0055] Figure 5 A schematic diagram of the expansion process of step S300 provided in an embodiment of the present invention;

[0056] Figure 6 A schematic diagram of an extended process of a method for transmitting files across terminals provided in an embodiment of the present invention;

[0057] Figure 7 A schematic diagram of the application process of the method for transmitting files across terminals provided by an embodiment of the present invention;

[0058] Figure 8 A schematic diagram of an example of an interactive process of a method for transmitting files across terminals provided in an embodiment of the present invention;

[0059] Fig. 9 A schematic diagram of the structure of an apparatus for transmitting files across terminals provided by an embodiment of the present invention;

[0060] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0062] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first / S100", "second / S200", etc. in the specification, claims and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0063] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in the present invention may be combined with other embodiments.

[0064] To facilitate the understanding of the technical solution of the present invention, the following is an explanation of the specific names of the technical features that may appear in the technical solution of the present invention:

[0065] Mobile terminal: Mobile terminal or mobile communication terminal refers to computer equipment that can be used on the move. In a broad sense, it includes mobile phones, notebooks, tablet computers, POS machines and even car computers. But in most cases, it refers to mobile phones or smart phones with multiple application functions and tablet computers. With the rapid development of integrated circuit technology, the processing power of mobile terminals has become powerful, and mobile terminals are changing from simple communication tools to comprehensive information processing platforms.

[0066] Dynamic QR code: QR code is also called two-dimensional barcode. The most common QR code is QR Code. QR stands for Quick Response, which is a coding method. It can store more information than traditional Bar Code and can also represent more data types. Two-dimensional barcode has the characteristics of large storage capacity, high confidentiality, high traceability, strong damage resistance, large backup, and low cost. These characteristics are particularly suitable for forms, security and confidentiality, tracking, certificates, inventory counting, data backup, etc. Compared with static QR codes, dynamic QR codes have the advantages of changeable information and traceable data.

[0067] Real-time verification: Real-time authenticators, or dynamic password devices, usually work based on a method called time synchronization. They use time or event counting to generate a one-time password (OTP) that can be used to verify the user's identity. Since the password is dynamically generated, this reduces the risk of password theft.

[0068] like Figure 1 FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention. Figure 1 The implementation environment includes at least one terminal 102 and a server 101. The terminal 102 and the server 101 can be connected to a network wirelessly or wired to complete data transmission and exchange.

[0069] Server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0070] In addition, the server 101 can also be a node server in the blockchain network. Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm.

[0071] The terminal 102 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal 102 and the server 101 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present invention.

[0072] Based on the example Figure 1 In the implementation environment shown, an embodiment of the present invention provides a method for transmitting files across terminals. The following is explained using the method for transmitting files across terminals applied in terminal 102 as an example. It can be understood that the method for transmitting files across terminals can also be applied to server 101.

[0073] Reference Figure 2 , Figure 2 The flowchart of the method for transferring files between terminals provided in the embodiment of the present invention is applied to the terminal. The execution subject of the method for transferring files between terminals can be any of the aforementioned computer devices (including servers or terminals). Figure 2 , the method comprises the following steps:

[0074] S100, in response to a sharing instruction of the first object, uploading a target file of the first terminal to the cloud;

[0075] It should be noted that a QR code sharing permission module is provided on the first terminal; in some embodiments, such as Figure 3 As shown, in response to the sharing instruction of the first object, uploading the target file of the first terminal to the cloud can include the following steps: S101, in response to the sharing instruction of the first object, setting the sharing permission of the target file of the first terminal to permission-on through the QR code sharing permission module; S102, based on the target file with sharing permission being permission-on, uploading the target file to the cloud.

[0076] In some optional implementations, the method may further include the following steps: in response to the confidentiality instruction of the first object, setting the sharing permission of the target file of the first terminal to permission closed through the QR code sharing permission module; wherein, when the sharing permission is permission closed, the target file cannot be uploaded to the cloud.

[0077] For example, in some specific implementations, the QR code sharing permission module is applied to the terminal of the sharer (i.e., the first terminal) to set whether the file supports sharing with a third party via a QR code. If the permission is turned on, the file supports sharing via a QR code, and if the permission is turned off, it does not support it.

[0078] S200, generating a QR code and a verification code according to a storage address where the target file is stored in the cloud by the first terminal;

[0079] It should be noted that the first terminal is provided with a dynamic two-dimensional code module and a real-time verification code module; in some embodiments, such as Figure 4 As shown, generating a QR code and a verification code according to the storage address of the target file stored in the cloud by the first terminal may include the following steps: S201, generating a QR code according to the storage address of the target file stored in the cloud by a dynamic QR code module, combined with a preset validity period and a verification address; S202, generating a verification code by a real-time verification code module in response to the QR code generation operation; and associating the verification code with the verification address.

[0080] In some specific application scenarios, step S201: generating a QR code:

[0081] Enter the storage address: First, the first terminal needs to obtain the storage address of the target file from the cloud. This address is unique and can point to the target file stored in the cloud.

[0082] Set validity period: To enhance the security and timeliness of file sharing, the dynamic QR code module will set a preset validity period (this validity period can also be set according to the actual sharing needs of the first object). This period can be adjusted according to actual needs, such as 24 hours, 7 days, etc. Once this period is exceeded, the QR code will become invalid and can no longer be scanned.

[0083] Generate verification address: In order to associate with the QR code, the dynamic QR code module will also generate a verification address. This address is a unique URL used to confirm the validity of the QR code during the verification process.

[0084] Combine information to generate a QR code: Finally, the dynamic QR code module combines the storage address, validity period and verification address of the target file, and generates a QR code through a specific encoding algorithm. This QR code contains all the necessary information and can be scanned and parsed by the second terminal. Among them, in some preferred implementation scenarios, the QR code can also be set to a double-layer scanning verification mode, that is, the generated QR code contains the relevant information of the verification address and the validity period, and only when the verification code based on the verification address is verified, the QR code containing the storage address is further pushed, allowing the user to further scan to download the corresponding target file.

[0085] Step S202: Generate a verification code and associate it with a verification address:

[0086] Trigger generation operation: When the QR code generation is completed, the real-time verification code module will respond to this generation operation and start the verification code generation process.

[0087] Generate a checksum: The real-time checksum module uses a specific algorithm (such as the cyclic redundancy check algorithm CRC) to generate a checksum. This checksum is a unique string or digital combination used to confirm the accuracy of the input information during the verification process.

[0088] Associate verification address: The generated verification code will be associated with the verification address generated previously. In this way, when the second object enters the verification information on the second terminal, the system can find the corresponding verification code through the verification address and perform verification processing.

[0089] Exemplarily, it is assumed that the first terminal is a smart phone, and the user wishes to share a document stored in the cloud with a user of the second terminal (another smart phone).

[0090] Generate QR code: The user selects the target document on the first terminal and starts the sharing function. The system will generate a QR code containing this information based on the cloud storage address of the document, the set validity period (for example, 7 days) and the generated verification address.

[0091] Generate verification code: At the same time, the real-time verification code module will generate a verification code and associate it with the verification address.

[0092] Share the QR code: The user shows the QR code to the user of the second terminal, or sends it to the other party through social media, email, etc.

[0093] Scan and verify: After the user of the second terminal scans the QR code, the system will jump to the verification page. The user needs to enter the verification information (obtained from the sharer), and the system will find the corresponding verification code through the verification address and perform the verification process.

[0094] Download document: If the verification is successful, the system will send the cloud storage address of the document to the second terminal, and the user can download the document directly.

[0095] Through such a technical solution, users can share target files safely and conveniently, while ensuring that only legitimate users can access and download files.

[0096] In some optional implementations, when the generation time of the QR code exceeds the validity period, the method may further include the following steps: updating the QR code through a dynamic QR code module; updating the verification code through a real-time verification code module in response to the QR code update operation; and associating the updated verification code to the verification address bound to the updated QR code.

[0097] For example, in some specific implementations, the dynamic QR code module is stored in the terminal for sharing files. After the QR code sharing permission is turned on, the QR code sharing is selected. The dynamic QR code module is used to generate a dynamic QR code containing the file information. Within the validity period, the QR code can be scanned to obtain the file information to be shared. When the QR code expires or the file is updated, it supports refreshing and regenerating a new dynamic QR code.

[0098] Real-time verification code module: When the dynamic QR code containing the file information is generated, the sharing terminal will also generate a real-time verification code. The sharer can share the real-time verification code with the receiver. The receiver scans the dynamic QR code, applies to obtain the file information, enters the correct dynamic verification code, and returns the identity verification information to the file storage module to obtain the file information. The real-time verification code changes with the refresh of the dynamic QR code.

[0099] It should be understood that the principle logic of updating the QR code and verification code is consistent with the principle logic of the aforementioned generation, except that the validity period is reset based on the updated real-time timestamp, and the specific update logic process will not be repeated.

[0100] S300, in response to the second terminal scanning the QR code, verifying the verification information input by the second object in the second terminal based on the verification code;

[0101] It should be noted that the second terminal is provided with a two-dimensional code scanning module; the two-dimensional code is associated with a storage address and a preset verification address, and the verification address is pre-associated with a verification code; in some embodiments, such as Figure 5 As shown, in response to the scanning operation of the QR code by the second terminal, the verification information input by the second object in the second terminal is verified based on the verification code, which may include the following steps: S301. In response to the scanning operation of the QR code by the QR code scanning module, the verification address associated with the QR code is obtained through the second terminal, so that the display interface of the second terminal displays the verification interface corresponding to the verification address; S302. The verification information input by the second object in the verification interface is obtained, and the consistency of the verification information and the verification code is verified.

[0102] For example, in some specific implementations, the second terminal is provided with a QR code scanning module, which is applied to the receiving terminal and is used to scan the QR code shared by the sharing terminal. The cloud is provided with a verification module, which is used to verify whether the combination of the dynamic QR code + the real-time verification code containing the file information is correct. If the verification is passed, the receiving end can successfully obtain the file information; if the verification is not passed, the process ends and the acquisition of the file information fails.

[0103] In some application scenarios, step S300 can be implemented as follows:

[0104] Step S301: Get the verification address and display the verification interface:

[0105] QR code scanning operation: The user of the second terminal scans the QR code generated by the first terminal through the QR code scanning module on his device (such as the scanning function in the camera application).

[0106] Get verification address: After scanning successfully, the second terminal will parse the information contained in the QR code and extract the associated verification address. This verification address is a URL that points to a verification interface for entering verification information.

[0107] Display verification interface: The display interface of the second terminal (such as a browser or application interface) will load and display the verification interface according to the extracted verification address. This interface usually includes a form for entering verification information.

[0108] Step S302: Obtain verification information and perform consistency verification:

[0109] Input verification information: The second object (ie, the user of the second terminal) inputs the required verification information on the displayed verification interface. This information is usually known to the user and is used to prove his identity or authority.

[0110] Obtaining verification information: The second terminal captures the verification information entered by the user and prepares it for subsequent verification processing.

[0111] Consistency verification: The second terminal verifies the consistency of the captured verification information with the verification code previously obtained through the QR code.

[0112] Compare the verification information: The second terminal will compare the verification information with the decrypted verification code to confirm whether they are consistent.

[0113] Verification result: Based on the comparison result, the second terminal will return a message indicating whether the verification is successful. If the verification is successful, the second terminal can further obtain the storage address of the target file and download the file from the cloud. If the verification fails, the cloud will deny access to the second terminal and display an error message to the user.

[0114] Exemplarily, assuming that the second terminal is a smart phone, a user (a second object) wishes to obtain a document stored in the cloud from a user of the first terminal (another smart phone).

[0115] Scan the QR code: The user of the second terminal opens the camera application and scans the QR code displayed on the first terminal.

[0116] Display verification interface: After the scan is successful, the second terminal jumps to a verification interface, which prompts the user to enter the user name and password as verification information.

[0117] Enter verification information: The user enters the username and password on the verification interface and clicks the "Submit" button.

[0118] Verification processing: The second terminal captures the information entered by the user and compares it with the verification code obtained through the QR code. If the verification information and the verification code are consistent, the verification is successful.

[0119] Download document: After verification, the second terminal will obtain the storage address of the target document from the cloud and automatically download the document to the user's device.

[0120] Through such a technical solution, it can be ensured that only verified users can access and download target files, thereby enhancing the security and reliability of file sharing.

[0121] S400: When the result of the verification process is passed, the storage address is transmitted to the second terminal, so that the second terminal downloads the target file from the cloud according to the storage address.

[0122] Exemplarily, the second terminal is provided with a file information reading module: after verification, the receiving terminal reads the file information shared by terminal A (ie, the first terminal) through the dynamic QR code through the file information reading module, and further performs operations such as viewing and downloading.

[0123] In some optional implementations, the cloud is provided with a file storage module and an access record module, and the file storage module is used to store the target file, such as Figure 6 As shown, the method may also include the following steps: T100, in response to the scanning operation of the QR code, obtaining the terminal identification, verification processing results and download results of the target file corresponding to the second terminal; T200, storing the terminal identification, verification processing results and download results in the access record module.

[0124] For example, in some specific implementations, the file storage module: stores the files to be transmitted in the initiator's mobile terminal in the cloud. The file storage address information assists in generating a dynamic QR code, and the recipient applies to obtain the file information by scanning the dynamic QR code, and the identity of the recipient is verified by the real-time verification module.

[0125] In some specific application scenarios, Figure 6 The expansion process shown can be implemented as follows:

[0126] Step T100: Obtain relevant information:

[0127] Responding to a QR code scanning operation: When the second terminal scans the QR code, the cloud receives a request that includes relevant information (such as a verification address) obtained by the second terminal by scanning the QR code.

[0128] Get terminal identification: When processing this request, the cloud will identify and obtain the terminal identification of the second terminal. This terminal identification can be a unique identifier of the device (such as IMEI, MAC address, etc.), or it can be the information of the user's login account (such as user name, user ID, etc.).

[0129] Obtain verification processing results: The cloud also obtains the verification processing results. This is usually done by interacting with the second terminal, receiving the verification information sent by the second terminal, and comparing it with the verification code stored in the file storage module. The comparison result (pass / fail) will be used as the verification processing result.

[0130] Get download results: If the verification is successful, the cloud will allow the second terminal to download the target file and obtain the download results. The download result can be a simple status indication (such as success / failure) or more detailed download information (such as download speed, download time, etc.).

[0131] Step T200: Store in access record module:

[0132] Prepare record information: The cloud combines the terminal identification, verification processing result and download result obtained above into a record information.

[0133] Storage record information: This record information will be stored in the access record module in the cloud. The access record module is a module used to record and manage all file access requests, which can help administrators track and audit file access.

[0134] The purpose of recording information: Storing this information has many uses. For example, administrators can use the access record module to view which users (or devices) have accessed which files and the results of the access. This helps administrators conduct security audits and risk management. In addition, if a file leak or illegal access occurs, administrators can also track and locate the problem based on the access record.

[0135] Exemplarily, it is assumed that the second terminal is a smart phone, and the user wishes to download a document stored in the file storage module from the cloud.

[0136] Scan the QR code: The user opens the QR code scanning app on the smartphone and scans the QR code generated in the cloud.

[0137] Obtain terminal identification: After receiving the scanning request, the cloud identifies and obtains the terminal identification of the smartphone (such as the IMEI number).

[0138] Verification processing: The cloud requires the user to enter verification information for verification. After the user enters it, the cloud compares it with the verification code stored in the file storage module. If the verification information is correct, the verification is passed.

[0139] Download file: After verification, the cloud allows users to download the target document and obtain the download result (such as successful download).

[0140] Storing record information: The cloud combines the terminal identification of the smartphone, the verification result, and the successful download result into a record information and stores it in the access record module.

[0141] Through such a technical solution, the cloud can record and manage relevant information of all file access requests, providing strong support for security audits and risk management.

[0142] In order to explain the principle of the technical solution of the present invention in detail, the overall process of the present invention is described below in combination with some specific embodiments. It is easy to understand that the following is an explanation of the technical principle of the present invention and cannot be regarded as a limitation of the present invention.

[0143] First of all, it should be explained that in view of the relevant shortcomings of the prior art, the present invention provides a method and system for transmitting files across terminals through dynamic QR codes and real-time verification. The sharer shares the files stored locally on terminal A through QR codes, generates dynamic QR codes and real-time verification codes, and the recipient uses terminals B\C\D and other devices to scan the dynamic QR code within the validity period of the QR code and enter a valid implementation verification code to obtain file information and transfer the local files of terminal A to the local terminals of B / C / D. If an expired dynamic QR code is scanned or an expired real-time verification code is entered, the recipient fails to receive the file.

[0144] For example, in some specific embodiments, the technical solution of the present invention is implemented by applying the following functional modules: a QR code sharing permission module, a dynamic QR code module, a file storage module, a real-time verification code module, a QR code scanning module, a verification module, and a file information reading module; Figure 7 and Figure 8 As shown, the logic flow of each functional module application implementation of the present invention is as follows:

[0145] QR code sharing permission module: Applied to the sharer's terminal, used to set whether the file can be shared with a third party via QR code. If the permission is turned on, the file can be shared via QR code, and if the permission is turned off, it cannot be shared.

[0146] Dynamic QR code module: stored in the terminal where the file is shared. After opening the QR code sharing permission, select QR code sharing. The dynamic QR code module is used to generate a dynamic QR code containing the file information. Within the validity period, scanning the QR code can obtain the file information to be shared. When the QR code expires or the file is updated, it supports refreshing and regenerating a new dynamic QR code.

[0147] File storage module: Store the files to be transferred in the initiator's mobile terminal in the cloud. The file storage address information assists in generating a dynamic QR code. The recipient applies for file information by scanning the dynamic QR code, and the recipient's identity is verified through the real-time verification module.

[0148] Real-time verification code module: When the dynamic QR code containing the file information is generated, the sharing terminal will also generate a real-time verification code. The sharer can share the real-time verification code with the receiver. The receiver scans the dynamic QR code, applies to obtain the file information, enters the correct dynamic verification code, and returns the identity verification information to the file storage module to obtain the file information. The real-time verification code changes with the refresh of the dynamic QR code.

[0149] QR code scanning module: used in the receiving terminal to scan the QR code shared by the sharing terminal.

[0150] Verification module: used to verify whether the combination of dynamic QR code + real-time verification code containing file information is correct. If the verification passes, the receiving end can successfully obtain the file information; if the verification fails, the process ends and the acquisition of file information fails.

[0151] File information reading module: After verification, the receiving terminal reads the file information shared by terminal A through the dynamic QR code through the file information reading module, and further performs operations such as viewing and downloading.

[0152] In some specific application scenarios, the technical solution of the present invention can be used as follows:

[0153] Embodiment 1: In an online live class, the teacher needs to send a file on his local computer to the students.

[0154] (1) The teacher selects the file on the computer and clicks Generate QR Code to generate a dynamic QR code containing the file information. The teacher provides it to students for scanning (valid for 1 minute) and generates a real-time verification code at the same time (the validity period is the same as that of the dynamic QR code). The teacher shares the real-time verification code with the students.

[0155] (2) After students use their own terminals (mobile phones, computers, tablets, etc.) to scan the QR code of the file and enter the correct real-time verification code, they can obtain the file information and download it to the local terminal; if the wrong real-time verification code is entered, the file cannot be downloaded.

[0156] (3) When a student scans a QR code of a file while watching a recorded course, the student is prompted that the QR code has expired and needs to obtain the real-time QR code again to download the file. The student is unable to obtain the file.

[0157] (4) During the lecture, the teacher modified and edited the file. After the class, the teacher shared the annotated file with the students again through the dynamic QR code. After the students entered the correct real-time verification code again, they could obtain the file on the local terminal.

[0158] (5) After class, if the teacher wants to count students’ participation in the course and download status, he or she can use the dynamic QR code to view and count the scanning status, scanning terminal and download status.

[0159] (6) For files with a higher security level or files that the author does not want third parties to obtain by scanning the QR code, the author can disable the dynamic QR code file sharing function by going to Settings > Disable QR code sharing permissions to prevent the file from being accidentally shared with third parties.

[0160] Example 2: When a user uses a smart home (such as a smart air conditioner, smart refrigerator, etc.), the smart home can be regarded as a mobile terminal. If the user or operator needs to export the usage log and other information of the smart home, he can click on the corresponding module of the smart home to generate a dynamic QR code containing the log operation information and a real-time verification code. At this time, the recipient uses his own mobile phone terminal to scan the dynamic QR code and enter the correct real-time verification code to successfully obtain the operation log and other information of the smart home. As the usage changes, the operation log will also be updated accordingly. At this time, the dynamic QR code and real-time verification code can be refreshed to ensure that the generated log file contains the latest operation information.

[0161] In summary, the present invention shares the files of the local terminal through QR codes, generates dynamic QR codes and real-time verification codes, and the recipient can obtain the files by scanning the codes on his own terminals and entering the correct real-time verification codes. There is no need to use a third-party file transfer tool, and the process is more convenient. There is no need to protect personal and file privacy by adding friends, building groups, etc.; there is no need for hardware such as data cables and storage disks, which is convenient and fast; and the present invention can realize real-time updating of dynamic QR codes and real-time generation of verification codes, avoid downloading files by recording, screenshots, etc., and increase file security; dynamic QR codes are updated in real time, and after the author revise and change the file, the file information can be changed in real time through the dynamic QR code, and the transmission is more convenient; and the dynamic QR code supports data tracing, and can count the scanning personnel, time and terminal information to a certain extent, which is convenient for tracing; at the same time, if the file security level is high or the author does not want a third party to obtain the file through the QR code, the QR code sharing permission can be closed by setting to avoid the file being acquired by a third party due to misoperation.

[0162] Compared with the prior art, the present invention has at least the following beneficial effects:

[0163] (1) Files stored locally on the user's mobile terminal do not need to be transferred via data cables, mobile hard drives, or network disks, simplifying the process and making transfer more convenient. They also do not need to be transferred through third-party social software, and there is no need to create groups or add friends, which protects the user's personal privacy and file security.

[0164] (2) Generate the file to be transferred into a dynamic QR code and set an expiration time. After the QR code expires, it will no longer be available for download, thus avoiding the possibility of downloading files through screenshots;

[0165] (3) During the process of file transmission on mobile terminals, real-time dynamic verification codes are used for verification to improve the security of file transmission, effectively reduce the possibility of non-target users obtaining files through QR code screenshots, and improve transmission security;

[0166] (4) For files with a higher security level, the author can use a button to control whether to enable the QR code transmission permission button, and can close the permission to transmit via QR code when necessary to ensure file security;

[0167] (5) Dynamic QR codes are obtained in real time, and adjustments can be made to the editing, revision or change of the document in a timely manner;

[0168] (6) Dynamic QR codes can track data and facilitate statistics on scanning time, scanners, scanning data, etc.

[0169] On the other hand, Fig. 9 As shown, an embodiment of the present invention provides a device 900 for transmitting files across terminals, including:

[0170] The first module 901 is configured to upload a target file of the first terminal to the cloud in response to a sharing instruction of the first object;

[0171] The second module 902 is used to generate a QR code and a verification code according to the storage address of the target file stored in the cloud through the first terminal;

[0172] The third module 903 is used to verify the verification information input by the second object in the second terminal based on the verification code in response to the scanning operation of the second terminal on the QR code;

[0173] The fourth module 904 is used to transmit the storage address to the second terminal when the result of the verification process is passed, so that the second terminal downloads the target file from the cloud according to the storage address.

[0174] In some embodiments, a QR code sharing permission module is provided on the first terminal; the first module is specifically used for:

[0175] In response to the sharing instruction of the first object, setting the sharing permission of the target file of the first terminal to permission-on through the QR code sharing permission module;

[0176] Based on the sharing permission for the target file with permission turned on, the target file is uploaded to the cloud.

[0177] Furthermore, the device may also include:

[0178] A fifth module, configured to respond to the confidentiality instruction of the first object and set the sharing permission of the target file of the first terminal to be permission-closed through the QR code sharing permission module;

[0179] Among them, when the sharing permission is closed, the target file cannot be uploaded to the cloud.

[0180] In some embodiments, the first terminal is provided with a dynamic two-dimensional code module and a real-time verification code module; the second module is specifically used for:

[0181] Generate a QR code through the dynamic QR code module according to the storage address of the target file in the cloud, combined with the preset validity period and verification address;

[0182] In response to the generation operation of the two-dimensional code, a verification code is generated by a real-time verification code module; and the verification code is associated with the verification address.

[0183] Furthermore, when the generation time of the QR code exceeds the validity period, the device may further include:

[0184] The sixth module is used to update the QR code through the dynamic QR code module;

[0185] The seventh module is used to update the verification code through the real-time verification code module in response to the update operation of the QR code; and associate the updated verification code with the verification address bound to the updated QR code.

[0186] Optionally, the cloud is provided with a file storage module and an access record module, and the file storage module is used to store the target file; the device further includes:

[0187] An eighth module is used to obtain a terminal identification corresponding to the second terminal, a result of the verification process, and a download result of the target file in response to a scanning operation of the QR code;

[0188] The ninth module is used to store the terminal identification, the result of the verification process and the download result in the access record module.

[0189] The contents of the method embodiments of the present invention are all applicable to the device embodiments. The functions specifically implemented by the device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0190] On the other hand, an embodiment of the present invention further provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above sensitive information method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0191] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0192] like Fig.10 As shown, Fig.10 A specific example of the hardware structure of an electronic device 1000 according to an embodiment is shown. The electronic device 1000 includes:

[0193] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention.

[0194] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the network node population optimization method of the embodiment of the present invention;

[0195] Input / output interface 1003, used to implement information input and output;

[0196] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0197] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );

[0198] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .

[0199] The electronic device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0200] The contents of the method embodiments of the present invention are all applicable to the electronic device embodiments. The functions specifically implemented by the electronic device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0201] Another aspect of an embodiment of the present invention further provides a computer-readable storage medium, the storage medium stores a program, and the program is executed by a processor to implement the above method.

[0202] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (Compact Disc Read to Only Memory, CD to ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. 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. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0203] The contents of the method embodiments of the present invention are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0204] The embodiment of the present invention also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above method.

[0205] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0206] It should be noted that, although several modules of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to an embodiment of the present invention, 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 being embodied by multiple modules or units.

[0207] 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 invention 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 to ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation of the present invention.

[0208] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of the technology. The disclosed method is not limited to the operation and logic flow presented by the present invention. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.

[0209] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of various functional modules in the device disclosed in the present invention, the actual implementation of the module will be understood within the conventional skills of engineers. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0210] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0211] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by an instruction execution device, apparatus or device (such as a computer-based device, a device including a processor, or other device that can fetch instructions from an instruction execution device, apparatus or device and execute the instructions), or in conjunction with such instruction execution device, apparatus or device. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution device, apparatus or device, or in conjunction with such instruction execution device, apparatus or device.

[0212] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0213] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0214] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0215] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0216] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the embodiments. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A method for transmitting files across terminals, characterized in that: The following steps are involved: In response to the sharing instruction of the first object, uploading the target file of the first terminal to the cloud; Generate a QR code and a verification code by the first terminal according to the storage address where the target file is stored in the cloud; In response to a scanning operation of the second terminal on the two-dimensional code, verifying the verification information input by the second object in the second terminal based on the verification code; When the result of the verification process is passed, the storage address is transmitted to the second terminal, so that the second terminal downloads the target file from the cloud according to the storage address.

2. The method for transmitting files across terminals according to claim 1, characterized in that: The first terminal is provided with a QR code sharing permission module; the step of uploading the target file of the first terminal to the cloud in response to the sharing instruction of the first object comprises the following steps: In response to the sharing instruction of the first object, setting the sharing permission of the target file of the first terminal to permission-on through the QR code sharing permission module; Based on the target file for which the sharing permission is enabled, the target file is uploaded to the cloud.

3. The method for transmitting files across terminals according to claim 2, characterized in that: The method further comprises the following steps: In response to the confidentiality instruction of the first object, setting the sharing permission of the target file of the first terminal to permission closed by the QR code sharing permission module; Wherein, when the sharing permission is closed, the target file cannot be uploaded to the cloud.

4. The method for transmitting files across terminals according to claim 1, characterized in that: The first terminal is provided with a dynamic two-dimensional code module and a real-time verification code module; the generating of the two-dimensional code and the verification code according to the storage address of the target file stored in the cloud by the first terminal includes the following steps: The dynamic QR code module generates the QR code according to the storage address of the target file stored in the cloud, combined with a preset validity period and a verification address; In response to the generation operation of the two-dimensional code, the verification code is generated by the real-time verification code module; and the verification code is associated with the verification address.

5. The method for transmitting files across terminals according to claim 4, characterized in that: When the generation time of the two-dimensional code exceeds the validity period, the method further includes the following steps: Updating the two-dimensional code by the dynamic two-dimensional code module; In response to the update operation of the two-dimensional code, the verification code is updated by the real-time verification code module; and the updated verification code is associated with the verification address bound to the updated two-dimensional code.

6. The method for transmitting files across terminals according to claim 1, characterized in that: The second terminal is provided with a two-dimensional code scanning module; the two-dimensional code is associated with the storage address and a preset verification address, and the verification address is pre-associated with the verification code; in response to the scanning operation of the second terminal on the two-dimensional code, the verification information input by the second object in the second terminal is verified based on the verification code, including the following steps: In response to the scanning operation of the QR code by the QR code scanning module, acquiring the verification address associated with the QR code through the second terminal, so that the display interface of the second terminal displays the verification interface corresponding to the verification address; The verification information input by the second object in the verification interface is obtained, and consistency verification is performed on the verification information and the verification code.

7. The method for transmitting files across terminals according to claim 1, characterized in that: The cloud is provided with a file storage module and an access record module, the file storage module is used to store the target file, and the method further includes the following steps: In response to the scanning operation of the QR code, obtaining a terminal identification corresponding to the second terminal, a result of the verification process, and a download result of the target file; The terminal identification, the result of the verification process and the download result are stored in the access record module.

8. A device for transmitting files across terminals, characterized in that: include: A first module, configured to upload a target file of the first terminal to the cloud in response to a sharing instruction of the first object; The second module is used to generate a QR code and a verification code according to the storage address of the target file stored in the cloud through the first terminal; A third module is configured to verify the verification information input by the second object in the second terminal based on the verification code in response to the scanning operation of the second terminal on the two-dimensional code; The fourth module is used to transmit the storage address to the second terminal when the result of the verification process is passed, so that the second terminal downloads the target file from the cloud according to the storage address.

9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 7.

10. A computer storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to implement the method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Patent Citations

  • Cross-terminal file uploading method, apparatus and system

    CN108574717A

  • Method for uploading and downloading shared file through two-dimensional code

    CN111953642A

  • File sharing method, file sharing system, computer equipment and storage medium

    CN112866384A

  • Video stream secure sharing method, system and device and storage medium

    CN113542812A

  • Cloud film system access control method and device, electronic equipment and storage medium

    CN115913759A

Cited By

  • Deployment authentication method and device, electronic equipment and storage medium

    CN121327815A