File sharing method, cloud server and terminal device

By creating a shared file pool in a cloud server and using image processing technology to generate a sharing interactive page, the problem of cumbersome file sharing operations in the existing technology is solved, and a more efficient file sharing process is achieved.

CN119788665APending Publication Date: 2025-04-08中国移动通信集团云南有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411975170.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The existing file sharing method requires repeated pasting of file sharing links multiple times, which leads to inconvenience in user operations and reduces the efficiency of file sharing.

Method used

By creating a shared file pool in a cloud server, using image processing technology to generate background images and user icons, generating a sharing interaction page based on these elements, and sending it to the target client, the file recipient can determine the files to be received from the shared file pool through this page.

Benefits of technology

The steps of repeatedly pasting file sharing links are avoided, which simplifies user operations and improves file sharing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788665A_ABST
    Figure CN119788665A_ABST
Patent Text Reader

Abstract

The present application discloses a file sharing method, a cloud server and a terminal device, and relates to the technical field of data transmission. The method is applied to a cloud server, and the method includes: performing image processing on the shared files and user type data in the shared file pool to obtain a background image and a user icon; generating a sharing interaction page according to the background image, the user icon and its icon position; sending the sharing interaction page to the target client, and the file recipient corresponding to the target client determines the file to be received from the files to be shared in the shared file pool based on the sharing interaction page. Since the present application can upload the user's files to be shared to the cloud server for sharing through the sharing interaction page, the corresponding file recipient can determine the files to be received from the shared file pool through the sharing interaction page. This avoids the situation where the existing file sharing method needs to repeatedly paste the file sharing link, thereby improving the efficiency of file sharing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a file sharing method, a cloud server and a terminal device. Background Art

[0002] With the development of the Internet and the convenience of communication, if users have the need to share files, they usually share them through the files in the network disk. Usually, the file owner will generate a sharing link based on the file and send the sharing link to the file recipient. The file recipient then accesses the network disk through the sharing link and downloads the file corresponding to the link.

[0003] However, with the existing file sharing methods, if a file owner wants to share the file with multiple different file recipients, he needs to paste the file sharing link repeatedly and search for the file recipient's information each time, which makes the user operation very inconvenient and reduces the efficiency of file sharing. Summary of the invention

[0004] The main purpose of this application is to provide a file sharing method, a cloud server and a terminal device, aiming to solve the technical problem that the existing file sharing method requires repeated pasting of file sharing links, which causes great inconvenience to user operation and reduces the efficiency of file sharing.

[0005] To achieve the above purpose, the present application proposes a file sharing method, which is applied to a cloud server and includes:

[0006] Perform image processing on the shared files and user type data in the shared file pool to obtain a background image and a user icon;

[0007] Generate a sharing interaction page according to the background image, the user icon and the icon position of the user icon;

[0008] The sharing interaction page is sent to a target client, and a file receiver corresponding to the target client determines a file to be received from the files to be shared in the shared file pool based on the sharing interaction page.

[0009] In one embodiment, after the step of sending the sharing interaction page to the target client, the method further includes:

[0010] determining a first visual focus area according to first visual data uploaded by the file recipient based on the sharing interaction page, wherein the first visual data is determined by the file recipient through the background image and the user icon;

[0011] Based on the first visual focus area, candidate file information is determined from the blockchain, and summary information of the candidate file information is sent to the file receiver, and the file receiver selects the file information to be received based on the summary information;

[0012] The to-be-received file is determined from the shared file pool according to the to-be-received file information, and the to-be-received file is sent to a file receiver corresponding to the target client.

[0013] In one embodiment, before the step of determining the first visual focus area according to the first visual data uploaded by the file recipient based on the sharing interaction page, the step further includes:

[0014] Determining a second visual focus area according to second visual data uploaded by the target client, where the second visual data is determined by a file owner corresponding to the target client based on the sharing interaction page;

[0015] Based on the second visual focus area, a sharing description interaction page is generated, and the sharing description interaction page is sent to the file owner, and the file owner initiates a sharing file sending request based on the sharing description interaction page, and the sharing file sending request includes a file to be shared and a sharing file description;

[0016] The file to be shared is stored in the shared file pool, and the shared file description is updated to the blockchain.

[0017] In one embodiment, the step of performing image processing on the shared files and user type data in the shared file pool to obtain the background image and the user icon includes:

[0018] Extracting key information of shared files in the shared file pool;

[0019] Generating image elements for the key information to obtain a background image;

[0020] The portrait data corresponding to the user type data is clustered to obtain a corresponding user icon, and the user type data is the user data successfully delivered in the shared file.

[0021] In one embodiment, the step of generating image elements from the key information to obtain a background image includes:

[0022] Grouping the key information by type to obtain multiple groups of key information;

[0023] Clustering the multiple groups of key information using a clustering algorithm to obtain multiple groups of image elements representing file types;

[0024] Determining the positional relationship between the plurality of groups of image elements based on the similarity of the image elements;

[0025] A background image is generated according to the multiple groups of image elements and the positional relationship.

[0026] In one embodiment, before the step of generating a sharing interaction page according to the background image, the user icon and the icon position of the user icon, the step further includes:

[0027] Acquire a first similarity distance between the user icon and the image element of the background image;

[0028] Determine a second similarity distance between the type with the highest proportion among the types of successfully delivered shared files corresponding to the user icon and the image element;

[0029] Splitting the background image into a plurality of sub-background images;

[0030] An icon position of the user icon in the background image is determined from the plurality of sub-background images according to the first similarity distance and the second similarity distance.

[0031] In addition, to achieve the above purpose, the present application also proposes a file sharing method, which is applied to a terminal device and includes:

[0032] Receive the sharing interaction page sent by the cloud server;

[0033] Collecting the first visual data of the file recipient through the sharing interaction page;

[0034] generating a receiving request according to the first visual data, and uploading the receiving request to the cloud server, wherein the cloud server feeds back summary information based on the receiving request;

[0035] The to-be-received file information determined by the file receiver from the summary information is sent to the cloud server, and the cloud server feeds back the to-be-received file corresponding to the to-be-received file information.

[0036] In one embodiment, before the step of collecting the first visual data of the file recipient through the sharing interaction page, the step further includes:

[0037] Collecting the second visual data of the file owner through the sharing interaction page;

[0038] Generate a sharing request according to the second visual data, and upload the sharing request to the cloud server, and the cloud server generates a sharing description interaction page based on the sharing request feedback;

[0039] Generate a file sharing request according to the sharing description interaction page and the file to be shared selected by the file owner;

[0040] The shared file sending request is sent to the cloud server.

[0041] In addition, to achieve the above objectives, the present application also proposes a cloud server, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the file sharing method described above.

[0042] In addition, to achieve the above objectives, the present application also proposes a terminal device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the file sharing method described above.

[0043] One or more technical solutions proposed in the present application have at least the following technical effects: The present application proposes a file sharing method, which is applied to a cloud server, and the method includes: performing image processing on shared files and user type data in a shared file pool to obtain a background image and a user icon; generating a sharing interaction page based on the background image, the user icon and the icon position of the user icon; sending the sharing interaction page to a target client, and the file recipient corresponding to the target client determines the file to be received from the files to be shared in the shared file pool based on the sharing interaction page.

[0044] Since the present application first creates a shared file pool in the cloud server, the shared file pool includes shared files and user type data. Image processing can be performed based on the shared files and user type data to obtain background images and user icons to generate a sharing interaction page. Through the sharing interaction page, users can upload files to be shared to the cloud server for sharing, and the corresponding file recipients can determine the files to be received from the shared file pool through the sharing interaction page. This avoids the situation where the existing file sharing method needs to repeatedly paste file sharing links, simplifies the user's file sharing operations, and thus improves the efficiency of file sharing. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0047] Figure 1 A schematic diagram of the existing file sharing method provided for this application;

[0048] Figure 2 A flowchart of a first embodiment of a file sharing method for a cloud server provided by the present application;

[0049] Figure 3 A system architecture diagram provided for Embodiment 1 of the present application;

[0050] Figure 4 A schematic diagram of a sharing interaction page scenario provided in Example 1 of the present application;

[0051] Figure 5 An interactive flow chart of file sharing and sending provided in Example 1 of the present application;

[0052] Figure 6 A schematic diagram of a scenario in which a sharing description interaction page is displayed on a client of a file owner provided in the first embodiment of the present application;

[0053] Figure 7 An interactive flow chart of file sharing and receiving provided in Example 1 of the present application;

[0054] Figure 8 A flowchart of a second embodiment of the file sharing method for a cloud server provided by the present application;

[0055] Fig. 9 This is an example diagram of image elements provided in Example 2 of the present application;

[0056] Fig.10 This is an example diagram of a user icon provided in Example 2 of the present application;

[0057] Fig.11 This is a schematic diagram of the device structure of the hardware operating environment involved in the cloud server or terminal device in the embodiment of the present application.

[0058] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0059] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0060] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0061] It should be noted that, for the existing file sharing method, generally the file sharing link is pasted, such as Figure 1 As shown, Figure 1 Scenario diagram of the existing file sharing method provided for this application. For example, when user 1 needs to send materials related to the start of school (such as 600 sets of courseware for the first lesson of the school: "Link 1"; PPT courseware and lesson plan for the theme class meeting of the first lesson of the school: "Link 2"; courseware and lesson plan for safety education at the start of school: "Link 3", etc.) to user 2, the file owner (ie user 1) selects the file to be shared in the file client, generates a sharing link, and then shares the sharing link to the file recipient (ie user 2) by copying. After the file recipient logs in to the file client by clicking the sharing link and enters the file extraction code, he can view or download the file.

[0062] However, for the above sharing method, if the file owner (i.e., the user who owns the shared file and wants to upload the file for sharing) wants to share the shared file with multiple different file recipients, he needs to repeatedly paste the file sharing link and search for the information of the file recipient (i.e., the user who wants to receive and download the shared file) every time, which is very inconvenient for the user to operate.

[0063] In addition, some file owners want to share files with multiple non-designated file recipients, thereby improving the interactive entertainment of file sharing. If the existing sharing link method is adopted, the file owner needs to make the sharing link of the file to be shared public through the social platform. This link disclosure method without privacy protection, on the one hand, will not be able to supervise the interaction of shared files, malicious users will obtain shared files, and users will engage in illegal activities. On the other hand, it is difficult for file recipients to predict and understand the content of the received shared files to be downloaded, and they need to download them before they can view them, resulting in a waste of resources. On the other hand, there is a lack of interactivity in the process of file sharing interaction between file recipients and file owners, which reduces the user experience.

[0064] To solve the above problems, this application proposes a file sharing method, which combines blockchain and visual data, and can solve the problems of poor user experience and waste of resources in the file sharing process existing in the prior art.

[0065] Based on this, the present application embodiment provides a file sharing method, referring to Figure 2 , Figure 2 A flowchart of a first embodiment of a file sharing method for a cloud server according to the present invention is provided.

[0066] In this embodiment, the method is applied to a cloud server, and the file sharing method includes steps S10 to S30:

[0067] Step S10: performing image processing on the shared files and user type data in the shared file pool to obtain a background image and a user icon.

[0068] It should be noted that the execution subject of this embodiment can be a computing service device with image processing, interactive page generation and file transfer functions, such as a file server, a virtual server, etc., or an electronic device capable of realizing the above functions, a cloud server that executes the file sharing method of this application, etc., and this embodiment does not limit this. The following takes the cloud server as an example to illustrate this embodiment and the following embodiments.

[0069] It should be noted that the file sharing method of this embodiment is implemented based on a file sharing system including a cloud server and a terminal device. Figure 3 As shown, Figure 3 A system architecture diagram provided for the first embodiment of the present application. The terminal device includes a target client, which includes a client of the file owner and a client of the file recipient. The cloud server includes a shared pool (i.e., a shared file pool) storing shared files. Since the cloud server has a powerful storage function and a fast transmission speed, users can upload shared files to the cloud server through the terminal device, and can download and view them at any time when needed, and can also share the files with other people on the terminal device through the cloud server (therefore, the above-mentioned file owner can also be a file recipient in the scenario of receiving files, and can both share files and receive files, which is not limited in this embodiment).

[0070] It is understandable that a shared file pool can be a storage space in a cloud server that is pre-used for centralized file storage, where files can be shared and used by multiple users or systems (i.e., shared files). In a shared file pool, different users can upload, download, read files, and perform other operations through terminal devices to achieve resource sharing and collaboration.

[0071] It should be understood that the user type data may be characteristic information of different users using the shared file pool. Exemplarily, the user type data may include identity identification (such as user name, user number, etc.) and other specific attribute information such as user interests and hobbies.

[0072] In order to improve the accuracy of the sharing interaction page (i.e., the window in the cloud server used for file interaction with the file owner and the file receiver, through which the file owner can upload the file to the shared file pool to share it with other users, and the file receiver can download the file in the shared file pool) described below in the image processing of this embodiment, the user type data can select the data of the user type that has been successfully delivered in the shared file pool (i.e., the user type that has been received by the file receiver in the shared files included in the shared file pool). This can improve the success rate of file sharing by the file sharer.

[0073] It should be noted that the background image can be an image used to fill the background of the sharing interaction page, and can be generated based on the shared files stored in the shared file pool in the cloud server. The background image corresponds to the style of various shared files and can reflect the characteristics of the shared files in the shared file pool to facilitate the visual attention of users (i.e., file owners and file recipients).

[0074] The user icon can be a graphic symbol representing the user's own image or identity. Each user icon represents a different type of user group, which helps file owners identify and distinguish different users when using the sharing interaction page, making it easier to share shared files with specific file recipients.

[0075] In this embodiment, the cloud server first extracts the shared files and user type data in the shared file pool, and then uses the big model to construct an image of the key content of the shared files to obtain a background image that reflects the characteristics of the shared files in the shared file pool; then the big model can be used to construct a user portrait based on the user type data to obtain a user icon representing the user's own image or identity.

[0076] Step S20: Generate a sharing interaction page according to the background image, the user icon and the icon position of the user icon.

[0077] It should be noted that the icon position can be a specific position on the sharing interaction page to indicate the placement of the user icon in the background image. Each icon position can be determined by the proportion of user types to which all shared files in the shared file pool are successfully delivered.

[0078] For example, to facilitate understanding of the composition of the sharing interaction page, please refer to Figure 4 , Figure 4 A schematic diagram of a sharing interaction page scenario provided in Example 1 of the present application. Figure 4 The target client's sharing interface includes a receive button, a send button, a background image, and multiple different user icons. Figure 4The user icons shown are only for distinguishing descriptions, and are used to indicate that each user icon is a different type of user. They may be images of a specific style generated to match the user type, and this embodiment is not limited to this.

[0079] In this embodiment, after determining the user icon and the background image, the user icon and the background image can be classified by similarity to determine the icon position in the background image to which the user icon belongs. Then, the user icon and the background image are combined to generate a sharing interaction page, which includes a background image, an icon, and a receiving and sending interaction function. The generated sharing interaction page is sent to the file owner's client in the form of a data stream.

[0080] Step S30: sending the sharing interaction page to the target client, and the file recipient corresponding to the target client determines the file to be received from the files to be shared in the shared file pool based on the sharing interaction page.

[0081] It should be noted that the file to be shared can be a file that the file owner is preparing to share and is uploaded to the shared file pool of the cloud server. The file to be received can be a file displayed on the sharing interaction page and waiting for the recipient to obtain or download.

[0082] In this embodiment, the shared file pool of the cloud server stores multiple files uploaded and shared by file owners, and the corresponding file recipient can determine the file to be received from the shared file pool through the sharing interaction page. This avoids the need to repeatedly paste file sharing links in the existing file sharing method, simplifies the user's file sharing operation, and thus improves the efficiency of file sharing.

[0083] Furthermore, after the cloud server sends the sharing interaction page to the target client and before the file recipient receives the file, the file owner needs to upload the shared file first. Therefore, for the sharing process of the file owner, this embodiment, after the step of sending the sharing interaction page to the target client, also includes: determining a second visual focus area according to the second visual data uploaded by the target client, the second visual data is determined by the file owner corresponding to the target client based on the sharing interaction page; generating a sharing description interaction page based on the second visual focus area, and sending the sharing description interaction page to the file owner, the file owner initiating a sharing file sending request based on the sharing description interaction page, the sharing file sending request including the file to be shared and the sharing file description; storing the file to be shared in the sharing file pool, and updating the sharing file description to the blockchain.

[0084] It should be noted that the second visual data can be the eye-gaze activity data of the file owner in a period of time before the send button is triggered in the sharing interaction page, which is collected by the terminal device of the file owner. It should be noted that the first and second in the second visual data here and the first visual data below are only used for distinction and do not represent a sequential relationship, and this embodiment does not limit this.

[0085] It is understandable that the second visual attention area can be a visual attention area obtained after analyzing the eye movement data of the file owner in the second visual data. It should be noted that the second visual attention area here and the first and second in the first visual attention area below are only distinguished and do not represent a sequential relationship, and this embodiment does not limit this.

[0086] For example, to facilitate understanding of the sharing process of the above file owner, refer to Figure 5 , Figure 5 This is an interactive flow chart of file sharing and sending provided in Example 1 of this application. The specific process is as follows:

[0087] 1. First, the file owner logs in to the target client in the terminal device, and the target client is the client of the file owner.

[0088] 2. Then, the cloud server generates a background image based on the shared files in the shared file pool, and generates a user icon and determines the icon position based on the user type data successfully delivered in the shared file pool. After the cloud server generates a sharing interaction page based on the background image, user icon and icon position, it sends the sharing interaction page to the client of the file owner (here, each time the file owner logs in to the target client, the data will be updated to generate the latest sharing interaction page).

[0089] 3. At this time, the file owner's client displays the sharing interaction page. The file owner's target client can obtain the file owner's visual data (i.e., second visual data) in the sharing interaction page. Then the file owner can select the send button in the sharing interaction page to submit the sharing request.

[0090] 4. Then, after receiving the sharing request, the cloud server can analyze the visual data included in the sharing request and obtain the visual focus area (i.e., the second visual focus area). Then, based on the focus user type and focus background elements determined in the visual focus area, a sharing file description is generated. And according to the above-mentioned sharing file description, a current sharing description interaction page is generated and sent to the client of the file owner.

[0091] Specifically, the process of sharing file description may include: the cloud server may match the visual focus area with the background image and icon position included in the sharing request, and determine the user icon (i.e., user type) and image elements (i.e., elements of the background image) included in the visual focus area. The user type and image elements are input into the file description generation model to generate a shared file description. The file description generation model can adopt the existing generation model. For the generated shared file description, it can be generated based on the user type data and image elements. The user type reflects the shared interaction user that the file owner currently visually focuses on, and the image element reflects the shared interaction file type that the file owner currently visually focuses on. Therefore, the generated shared file description includes the file recipient type that the file owner wants to share and the shared file type that he wants to share. It can be a textual introduction to the file recipient type and the shared file type introduction.

[0092] When only background elements are matched in the obtained visual focus area, it means that the corresponding file type in the area does not include the successfully delivered user type. It may be a new file type. At this time, the user type can be determined by the user icons included in the adjacent area of ​​the visual focus area, and the file type in the visual focus area and the user type in the adjacent area are used as the input of the file description generation model.

[0093] When no background elements or user types are matched in the obtained visual attention area, the user type and file type with the highest current file delivery success rate are selected as inputs for the file description generation model.

[0094] By combining the visual data as described above, it can be analyzed that the file owner or the file receiver's focus area includes the file type and the user type. For the file owner, the sharing effect of the shared file can be improved by generating a shared file description.

[0095] 5. The client of the file owner displays a sharing description interaction page. The file owner selects the file to be shared based on the sharing file description in the sharing description interaction page, and updates the sharing file description in the sharing description interaction page.

[0096] To understand the sharing description interaction page, refer to Figure 6 , Figure 6 A schematic diagram of a scenario in which the client of the file owner provides a sharing description interaction page provided in the first embodiment of the present application. As shown in the figure, this page is the sharing description interaction page of the target client of the file owner. The file owner can drag the file to be shared to the plus sign area. At this time, the sharing description interaction page automatically updates the sharing file description in the sharing description interaction page according to the file to be shared. The file owner presses the OK button to generate a sharing file sending request according to the sharing description interaction page and send it to the cloud server.

[0097] 6. After receiving the file sharing request, the cloud server stores the file to be shared based on the file to be shared and the updated file sharing description included in the file sharing request.

[0098] At this time, after receiving the file to be shared and the updated shared file description included in the shared file sending request, the cloud server can extract the file type corresponding to the user type and image element based on the shared file description, and store it together with the shared file information as a transaction record in the blockchain. The files to be shared are uniformly stored in the shared pool.

[0099] Specifically, the specific implementation of storing user type, file type and shared file information as transaction records in the blockchain includes: the blocks in the main chain can use the file type as a block identifier, and the block packages and stores the data statistics of the file type successfully received by file recipients of different user types. Each block in the main chain is linked to a side chain, and the blocks in the side chain use the user type as a block identifier, and the user type is determined by the file recipient. Each block stores the file information successfully received by the user type, including the file name, receiving time, number of times, etc., and summarizes the data into the main chain block according to the period. After the summary, the blocks in the side chain are automatically cleared, and the side chain blocks are repackaged in the new period.

[0100] In this embodiment, the cloud server generates a shared file description based on the user type and background elements included in the visual focus area to guide the file owner to complete the sending of the shared file. At the same time, the file sharing transaction record can also be generated based on the shared file description and stored in the blockchain for subsequent file recipients to quickly obtain the shared file.

[0101] Furthermore, after the file owner uploads the shared file, for the receiving process of the file recipient, after the step of sending the sharing interaction page to the target client, it also includes: determining a first visual focus area based on the first visual data uploaded by the file recipient based on the sharing interaction page, the first visual data being determined by the file recipient through the background image and the user icon; determining candidate file information from the blockchain based on the first visual focus area, and sending summary information of the candidate file information to the file recipient, the file recipient selecting the file information to be received based on the summary information; determining the file to be received from the shared file pool based on the file information to be received, and sending the file to be received to the file recipient corresponding to the target client.

[0102] It should be noted that the first visual data may be the eye-gaze activity data of the file recipient in a period of time before the send button is triggered in the sharing interaction page, which is collected by the terminal device of the file recipient. It should be noted that the first visual data here and the first and second in the above-mentioned second visual data are only distinguished and do not represent a sequential relationship, and this embodiment does not limit this.

[0103] It is understandable that the first visual attention area can be a visual attention area obtained after analyzing the eye-line activity data of the recipient of the collected file in the first visual data. It should be noted that the first and second in the first visual attention area here and the second visual attention area below are only distinguished and do not represent a sequential relationship, and this embodiment does not limit this.

[0104] For example, to facilitate understanding of the receiving process of the above-mentioned file receiver, refer to Figure 7 , Figure 7 This is an interactive flow chart of file sharing and receiving provided in Example 1 of this application. The specific process is as follows:

[0105] 1. First, the file recipient logs in to the target client in the terminal device, and the target client is the client of the file recipient.

[0106] 2. Then, the cloud server generates a background image based on the shared files in the shared file pool, and generates a user icon and determines the icon position based on the user type data successfully delivered in the shared file pool. After the cloud server generates a sharing interaction page based on the background image, user icon and icon position, it sends the sharing interaction page to the client of the file recipient (here, each time the file recipient logs in to the target client, the data will be updated to generate the latest sharing interaction page).

[0107] 3. At this time, the client of the file recipient displays the sharing interaction page. The target client of the file recipient can obtain the visual data (i.e., the first visual data) of the file recipient in the sharing interaction page. Then the file recipient can select the receive button in the sharing interaction page to submit the receiving request.

[0108] 4. Then, after receiving the receiving request, the cloud server may analyze the visual data included in the receiving request to obtain the visual focus area (ie, the first visual focus area).

[0109] It should be noted that the operations and processing performed by the cloud server in the aforementioned steps are the same as the above-mentioned file sharing and sending process, and will not be elaborated here.

[0110] 5. Then, the cloud server determines the candidate receiving file based on the user icon and background elements included in the visual focus area, obtains the candidate file information corresponding to the candidate receiving file, and sends the summary information in the candidate file information to the client of the file receiver.

[0111] Specifically, the specific implementation of determining the candidate receiving file is as follows (it should be noted that the implementation logic of the determined candidate receiving file can be encapsulated into a smart contract, which is not limited in this embodiment):

[0112] First, the file type is determined by identifying the background elements included in the visual focus area; in the background image, multiple background elements are included, and the multiple background elements correspond to Figure 5 Image elements in the scheme. Combined with the above description, the image elements are generated based on the cluster centers obtained after grouping and clustering the key information of the shared files by type. Therefore, in this step, the key information included in the background elements can be extracted through the image recognition algorithm, and then combined with the semantic understanding, the file type can be obtained. Currently, the file type can also be determined directly through the pre-stored relationship table of the focus area, background elements and file type.

[0113] Then, the file type is hashed to obtain the main chain block address. The main chain block address is used to obtain the statistics of successful reception of all file recipients of different user types included in the corresponding file type. If the focus area includes a user icon, the user type corresponding to the user icon is hashed to obtain the side chain block address.

[0114] Next, search whether the main chain block address includes the side chain block address. If it does, obtain the file information from the side chain block address; if it does not, obtain the file information of the previous period of the file receiver corresponding to the user type with the largest number of successful receptions based on the statistical data of all user types obtained from the main chain block; if the focus area does not include background elements, obtain the file information of the previous period of the file receiver corresponding to the user type with the largest number of successful receptions from the last block in the main chain. The summary information of the candidate file information is determined based on the file information, including the file name, file content introduction, etc.

[0115] At this time, the acquired file information is determined as the candidate file information of the candidate receiving file. By knowing the file type that the file receiver is interested in and the user type that he likes based on the user's visual data, and then calculating the hash value of the file type and user type, the file information matching the file type and user type corresponding to the current visual attention area can be accurately located, so as to further determine the summary information such as the file content introduction, which is used for display in the file receiver's client, so that the user can determine whether to receive the candidate receiving file.

[0116] 6. After receiving the summary information of the candidate received file, the file receiver can determine the file information to be received based on the summary information and send the file information to be received to the cloud server.

[0117] Specifically, the file receiver can understand the content of the candidate receiving file through the summary information, and then choose to determine whether to receive the candidate file. After the user chooses to receive the candidate file, the final file information to be received will be sent to the cloud server.

[0118] 7. After the cloud server obtains the to-be-received file information, it sends the to-be-received file corresponding to the to-be-received file information through the shared pool.

[0119] 8. The file recipient receives the file to be received and saves it for viewing.

[0120] In this embodiment, by introducing blockchain technology, the file type corresponding to the missing user type and image element in the shared file description can be stored in the blockchain together with the shared file information as a transaction record. When determining the candidate received file, the file type obtained through the visual focus area and the user icon can be hashed, and the block address including the main chain block address and the side chain block address can be determined by the calculated hash value. In this way, the candidate received file is obtained. The efficiency of file sharing is improved and the effect of file sharing is guaranteed.

[0121] In the technical solution provided in this embodiment, the cloud server first extracts the shared files and user type data in the shared file pool, and then uses the large model to construct the image of the key content of the shared files to obtain a background image reflecting the characteristics of the shared files in the shared file pool; then the large model can also be used to construct a user portrait according to the user type data to obtain a user icon representing the user's own image or identity. After determining the user icon and the background image, the user icon and the background image can be classified by similarity to determine the icon position in the background image to which the user icon belongs. Then, the user icon and the background image are combined to generate a sharing interaction page, which includes a background image, an icon, and a receiving and sending interaction function. The generated sharing interaction page is sent to the file owner client in the form of a data stream. Since the shared file pool of the cloud server stores multiple files to be shared uploaded and shared by multiple file owners, the corresponding file recipient can determine the files to be received from the shared file pool through the sharing interaction page. Since the shared file pool is first created in the cloud server in this embodiment, the shared file pool includes shared files and user type data. Image processing can be performed according to the shared files and user type data to obtain a background image and a user icon to generate a sharing interaction page. Through the sharing interaction page, users can upload the files to be shared to the cloud server for sharing, and the corresponding file recipients can determine the files to be received from the shared file pool through the sharing interaction page. This avoids the need to repeatedly paste file sharing links in the existing file sharing method, simplifies the user's file sharing operations, and thus improves the efficiency of file sharing.

[0122] Based on the above first embodiment of the present application, in the second embodiment of the present application applied to the cloud server file sharing method, the same or similar contents as the above first embodiment can be referred to the above introduction, and will not be repeated later. Figure 8 , Figure 8 A flowchart diagram of a second embodiment of a file sharing method for a cloud server provided in the present application.

[0123] In this example, step S10 includes steps S11 to S13:

[0124] Step S11: extracting key information of the shared files in the shared file pool.

[0125] It should be noted that key information refers to the key content of the shared file, for example, data on people, things, events, and genres (such as science fiction, romance, mythology, etc.).

[0126] Step S12: Generate image elements for the key information to obtain a background image.

[0127] It should be noted that the image element may be an image generated by a group of keywords in the key information.

[0128] In this implementation, a large model may be deployed in the cloud server, and a background image may be generated through the large model.

[0129] In a feasible implementation, step S12 described in this embodiment includes the steps of: grouping the key information by type to obtain multiple groups of key information; clustering the multiple groups of key information through a clustering algorithm to obtain multiple groups of image elements representing file types; determining the positional relationship between the multiple groups of image elements based on the similarity of the image elements; and generating a background image based on the multiple groups of image elements and the positional relationship.

[0130] It should be noted that the clustering algorithm may be an algorithm for classifying similar data points in multiple sets of key information into the same category (cluster), wherein the data points between different categories are quite different.

[0131] Specifically, a large model is deployed in a cloud server, and a background image can be generated by the large model as an example, as follows:

[0132] The input of the background image generation model is the introduction of the shared files in the shared file pool.

[0133] The execution process of the background image generation model may include: first extracting key information from the introduction of the input shared file. Then grouping based on the type in the extracted key information to obtain multiple groups of key information. Then clustering each group of key information separately through a clustering algorithm to obtain multiple cluster centers as a set of generated keywords for generating the background image. Each group of key information corresponds to a set of keywords, and each set of keywords includes multiple cluster centers. Then, based on the multiple sets of keywords corresponding to the multiple sets of key information, multiple groups of image elements in the background image are generated.

[0134] Among them, the image element generation process may include: determining the style of each group of image elements according to the type corresponding to each group of keyword sets, and generating image elements that match the keyword semantics based on the keywords in the keyword set. The image element here refers to an image generated by a group of keywords.

[0135] For example, for ease of understanding, the keywords in the keyword set include "little boy, bird, looking up" as an example for explanation. At this time, the generated image element reference Fig. 9 , Fig. 9 This is an example diagram of image elements provided in Example 2 of the present application. In the diagram, the image elements corresponding to a little boy, a bird, and looking up are included.

[0136] At this time, the positional relationship of multiple groups of image elements can be determined according to the similarity of the styles of the image elements to obtain a background image. The obtained background image is generated by splicing multiple groups of image elements of different styles, and the positional distances of image elements with similar styles are close.

[0137] Among them, the image element style corresponds to the type in the extracted key information. Each group of image elements in the background image corresponds to a style. The styles of two groups of image elements are different. If the style similarity distance value of the two groups of image elements is smaller, the distance in the background image is closer. This ensures that the generated background image can maintain coordination in visual presentation, and displays image elements of similar styles in a certain area, which can easily determine the user's visual focus. And when there are more image element styles, the size of the image elements in each background image is smaller, and when there are fewer image element styles, the size of the image elements in each background image is larger.

[0138] Finally, the model outputs a background image that meets the display size requirements.

[0139] In this implementation, the background image is generated using the file types in the sharing pool, so that the generated sharing interaction page including the file type information and the user type information can improve the sharing efficiency of the shared files.

[0140] Step S13: Clustering the portrait data corresponding to the user type data to obtain the corresponding user icon, wherein the user type data is the user data successfully delivered in the shared file.

[0141] It should be noted that the user type successfully delivered in the sharing pool may refer to the user type of the shared files included in the sharing pool that has been received by the file receiver.

[0142] In this embodiment, the cloud server can first group the key information by type to obtain multiple groups of key information; then cluster the multiple groups of key information by clustering algorithm to obtain multiple groups of image elements representing the file type; then determine the positional relationship between the multiple groups of image elements based on the similarity of the image elements; finally, generate a background image based on the multiple groups of image elements and the positional relationship. In this way, the generated sharing interaction page can improve the sharing efficiency of shared files.

[0143] Furthermore, before step S20 described in this embodiment, the steps are also included: obtaining a first similarity distance between the user icon and an image element of the background image; determining a second similarity distance between the type with the highest proportion of the types of successfully delivered shared files corresponding to the user icon and the image element; splitting the background image into multiple sub-background images; and determining the icon position of the user icon in the background image from the multiple sub-background images based on the first similarity distance and the second similarity distance.

[0144] It should be noted that the first similarity distance may be the distance between the user icon and the image element of the background image calculated by similarity. The second similarity distance may be the distance between the type with the highest proportion of the types of successfully delivered shared files corresponding to the user icon and the image element calculated by similarity. It should be noted that the first and second in the first similarity distance and the second similarity distance are only used for distinction and do not represent a sequential relationship, and this embodiment does not limit this.

[0145] Specifically, the above user icon can be generated based on the icon generation model, and the specific process is as follows:

[0146] The input of the icon generation model is the user type data successfully delivered in the shared pool.

[0147] The execution process of the icon generation macro model may include: first clustering the user type data to obtain multiple cluster centers as icon generation input data. The user type data here refers to the portrait data corresponding to the user type, including: user identity, occupation, age, hobbies, consumption, etc. Then, the icon generation input data and the set icon output size requirements are input into the macro model as prompt words to generate user icons. Each user type corresponds to a user icon.

[0148] For ease of understanding, refer to Fig.10 , Fig.10 This is an example of a user icon provided in Example 2 of this application. For example, the input data for icon generation can be: female, sweet, teacher, age 30, hobby travel, etc. Figure 6 As shown, the user icon may include image elements such as female, sweet, teacher, age 30, and hobby traveling.

[0149] Finally, the output of the icon generation large model is an icon that meets the size requirements.

[0150] Furthermore, after the user icon is generated, the process of determining the icon position of the user icon in the background image may include:

[0151] First, the similarity distance between the user icon and the image elements in the background image is calculated, and the similarity distance between the type of the received shared file corresponding to the user icon and the image elements in the background image is determined.

[0152] Among them, calculating the similarity distance between the user icon and the image elements in the background image may include: representing the different areas in the user icon and the background image as a vector (i.e., image feature extraction, which can be achieved through SIFT, SURF, HOG and other methods), and characterizing the similarity of the two images by calculating the cosine value between the vectors. The closer the cosine value is to 1, the more similar the two vectors are, and the closer the cosine value is to 0, the less similar the two vectors are. In this step, the background image needs to be split into multiple sub-background images, and the similarity between the user icon and each sub-background image needs to be calculated separately.

[0153] The process of determining the similarity distance between the type with the highest proportion and the image elements in the background image may include: first, based on the type of received shared files corresponding to the user icon, selecting the type with the highest proportion of received times as the file type corresponding to the user icon, and then calculating the similarity distance between the file type and the multiple sub-background images obtained by splitting the background image. For the file type, word embedding or one-hot encoding can be used to convert it into a vector representation. The similarity distance is obtained by calculating the similarity between the feature vectors of the file type and the multiple sub-background images. The similarity calculation method is implemented using an existing similarity measurement method.

[0154] Then, the background image is split into a plurality of sub-background images, which can be directly divided according to the set number of splits, such as nine-grid, sixteen-grid, twenty-grid, etc., which is not limited in this embodiment.

[0155] Finally, the calculated similarity distance between the user icon and the image elements in the background image (i.e., the first similarity distance) and the similarity distance between the type of shared file received corresponding to the user icon and the image elements in the background image (i.e., the second similarity distance) are summed and the average value is taken as the final similarity value between the icon and multiple sub-background images, and then the sub-background image area with the largest similarity value is selected as the icon position in the background image.

[0156] In this embodiment, the background image is generated based on the file type in the sharing pool, and the user type that has successfully delivered in the sharing pool is used to determine the position of the icon in the background image based on the calculated similarity distance between the user icon and the image element in the background image, and the similarity distance between the type of the received shared file corresponding to the user icon and the image element in the background image. In this way, the generated sharing interaction page including file type information and user type information can improve the sharing efficiency of shared files.

[0157] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the file sharing method of the present application applied to a cloud server. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0158] Based on the above-mentioned file sharing method applied to the cloud server, this embodiment further proposes a file sharing method applied to a terminal device.

[0159] In this embodiment, in the terminal device of the file recipient, the method includes: receiving a sharing interaction page sent by a cloud server; collecting first visual data of the file recipient through the sharing interaction page; generating a receiving request based on the first visual data, and uploading the receiving request to the cloud server, and the cloud server feedbacks summary information based on the receiving request; sending the to-be-received file information determined by the file recipient from the summary information to the cloud server, and the cloud server feedbacks the to-be-received file corresponding to the to-be-received file information.

[0160] To facilitate understanding of the receiving process of the file receiver, such as Figure 7 As shown, the receiving process of the file receiver in this embodiment is as follows:

[0161] 1. First, the file recipient logs in to the target client in the terminal device, and the target client is the client of the file recipient.

[0162] 2. Then, the cloud server generates a background image based on the shared files in the shared file pool, and generates a user icon and determines the icon position based on the user type data successfully delivered in the shared file pool. After the cloud server generates a sharing interaction page based on the background image, user icon and icon position, it sends the sharing interaction page to the client of the file recipient (here, each time the file recipient logs in to the target client, the data will be updated to generate the latest sharing interaction page).

[0163] 3. At this time, the client of the file recipient displays the sharing interaction page. The target client of the file recipient can obtain the visual data (i.e., the first visual data) of the file recipient in the sharing interaction page. Then the file recipient can select the receive button in the sharing interaction page to submit the receiving request.

[0164] 4. Then, after receiving the receiving request, the cloud server may analyze the visual data included in the receiving request and obtain the visual focus area (i.e., the first visual focus area). Then, the cloud server determines the candidate receiving file based on the user icon and background elements included in the visual focus area, obtains the candidate file information corresponding to the candidate receiving file, and sends the summary information in the candidate file information to the client of the file receiver.

[0165] 5. After receiving the summary information of the candidate receiving file, the file receiver can determine the file information to be received based on the summary information and send the file information to be received to the cloud server.

[0166] 6. After the cloud server obtains the to-be-received file information, it sends the to-be-received file corresponding to the to-be-received file information through the shared pool.

[0167] 7. The file recipient receives the file to be received and saves it for viewing.

[0168] In this embodiment, by introducing blockchain technology, the file type corresponding to the missing user type and image element in the shared file description can be stored in the blockchain together with the shared file information as a transaction record. The file receiver can obtain the file to be received, which improves the efficiency of file sharing and ensures the effect of file sharing.

[0169] Furthermore, in the terminal device of the file owner, before the step of collecting the first visual data of the file recipient through the sharing interaction page, this embodiment also includes: collecting the second visual data of the file owner through the sharing interaction page; generating a sharing request according to the second visual data, and uploading the sharing request to the cloud server, the cloud server generating a sharing description interaction page based on the sharing request feedback; generating a sharing file sending request according to the sharing description interaction page and the file to be shared selected by the file owner; and sending the sharing file sending request to the cloud server.

[0170] To facilitate understanding of the file owner's receiving process, such as Figure 5 As shown, the receiving process of the file owner in this embodiment is as follows:

[0171] 1. First, the file owner logs in to the target client in the terminal device, and the target client is the client of the file owner.

[0172] 2. Then, the cloud server generates a background image based on the shared files in the shared file pool, and generates a user icon and determines the icon position based on the user type data successfully delivered in the shared file pool. After the cloud server generates a sharing interaction page based on the background image, user icon and icon position, it sends the sharing interaction page to the client of the file owner (here, each time the file owner logs in to the target client, the data will be updated to generate the latest sharing interaction page).

[0173] 3. At this time, the file owner's client displays the sharing interaction page. The file owner's target client can obtain the file owner's visual data (i.e., second visual data) in the sharing interaction page. Then the file owner can select the send button in the sharing interaction page to submit the sharing request.

[0174] 4. Then, after receiving the sharing request, the cloud server can analyze the visual data included in the sharing request and obtain the visual focus area (i.e., the second visual focus area). Then, based on the focus user type and focus background elements determined in the visual focus area, a sharing file description is generated. And according to the above-mentioned sharing file description, a current sharing description interaction page is generated and sent to the client of the file owner.

[0175] 5. The client of the file owner displays a sharing description interaction page. The file owner selects the file to be shared based on the sharing file description in the sharing description interaction page, and updates the sharing file description in the sharing description interaction page.

[0176] 6. After receiving the file sharing request, the cloud server stores the file to be shared based on the file to be shared and the updated file sharing description included in the file sharing request.

[0177] In this implementation, the sharing description interactive page can be used to guide the file owner to complete the sending of the shared file, so that subsequent file recipients can quickly obtain the shared file.

[0178] Through the above-mentioned cloud servers and terminal devices, file sharing and interaction can be realized, thus providing users with a richer experience in file sharing.

[0179] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the file sharing method of the present application applied to a terminal device. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0180] The present application provides a cloud server, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the file sharing method applied to the cloud server embodiment 1.

[0181] Reference below Fig.11 , Fig.11The present invention is a schematic diagram of the device structure of the hardware operating environment involved in the file sharing method applied to the cloud server in the embodiment of the present application, which shows a schematic diagram of the structure of the cloud server suitable for implementing the embodiment of the present application. The cloud server in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The cloud server shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0182] like Fig.11 As shown, the cloud server may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the cloud server are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the cloud server to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a cloud server with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0183] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0184] The cloud server provided by the present application adopts the file sharing method in the above embodiment, which can solve the technical problem that the existing file sharing method requires repeated pasting of file sharing links, which makes user operation very inconvenient and reduces the efficiency of file sharing. Compared with the prior art, the beneficial effects of the cloud server provided by the present application are the same as the beneficial effects of the file sharing method applied to the cloud server provided by the above embodiment, and other technical features in the cloud server are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0185] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0186] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0187] The present application also provides a terminal device, the terminal device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the file sharing method as described above for the terminal device. The architecture of the terminal device is similar to that of the above-mentioned cloud server, and no further description is given here.

[0188] The terminal device provided by the present application adopts the file sharing method applied to the terminal device in the above embodiment, which can solve the technical problem that the existing file sharing method requires repeated pasting of the file sharing link, which makes the user operation very inconvenient and reduces the efficiency of file sharing. Compared with the prior art, the beneficial effects of the terminal device provided by the present application are the same as the beneficial effects of the file sharing method applied to the terminal device provided by the above embodiment, and other technical features in the terminal device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0189] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A file sharing method, characterized in that: The method is applied to a cloud server, and the method includes: Perform image processing on the shared files and user type data in the shared file pool to obtain a background image and a user icon; Generate a sharing interaction page according to the background image, the user icon and the icon position of the user icon; The sharing interaction page is sent to a target client, and a file receiver corresponding to the target client determines a file to be received from the files to be shared in the shared file pool based on the sharing interaction page.

2. The method according to claim 1, characterized in that After the step of sending the sharing interaction page to the target client, the method further includes: determining a first visual focus area according to first visual data uploaded by the file recipient based on the sharing interaction page, wherein the first visual data is determined by the file recipient through the background image and the user icon; Based on the first visual focus area, candidate file information is determined from the blockchain, and summary information of the candidate file information is sent to the file receiver, and the file receiver selects the file information to be received based on the summary information; The to-be-received file is determined from the shared file pool according to the to-be-received file information, and the to-be-received file is sent to a file receiver corresponding to the target client.

3. The method according to claim 2, characterized in that Before the step of determining the first visual focus area according to the first visual data uploaded by the file recipient based on the sharing interaction page, the step further includes: Determining a second visual focus area according to second visual data uploaded by the target client, where the second visual data is determined by a file owner corresponding to the target client based on the sharing interaction page; Based on the second visual focus area, a sharing description interaction page is generated, and the sharing description interaction page is sent to the file owner, and the file owner initiates a sharing file sending request based on the sharing description interaction page, and the sharing file sending request includes a file to be shared and a sharing file description; The file to be shared is stored in the shared file pool, and the shared file description is updated to the blockchain.

4. The method according to any one of claims 1 to 3, characterized in that The step of performing image processing on the shared files and user type data in the shared file pool to obtain the background image and the user icon comprises: Extracting key information of shared files in the shared file pool; Generating image elements for the key information to obtain a background image; The portrait data corresponding to the user type data is clustered to obtain a corresponding user icon, and the user type data is the user data successfully delivered in the shared file.

5. The method according to claim 4, characterized in that The step of generating image elements from the key information to obtain a background image comprises: Grouping the key information by type to obtain multiple groups of key information; Clustering the multiple groups of key information using a clustering algorithm to obtain multiple groups of image elements representing file types; Determining the positional relationship between the plurality of groups of image elements based on the similarity of the image elements; A background image is generated according to the multiple groups of image elements and the positional relationship.

6. The method according to claim 4, characterized in that Before the step of generating a sharing interaction page according to the background image, the user icon and the icon position of the user icon, the step further includes: Acquire a first similarity distance between the user icon and the image element of the background image; Determine a second similarity distance between the type with the highest proportion among the types of successfully delivered shared files corresponding to the user icon and the image element; Splitting the background image into a plurality of sub-background images; An icon position of the user icon in the background image is determined from the plurality of sub-background images according to the first similarity distance and the second similarity distance.

7. A file sharing method, characterized in that: The method is applied to a terminal device, and the method comprises: Receive the sharing interaction page sent by the cloud server; Collecting the first visual data of the file recipient through the sharing interaction page; generating a receiving request according to the first visual data, and uploading the receiving request to the cloud server, wherein the cloud server feeds back summary information based on the receiving request; The to-be-received file information determined by the file receiver from the summary information is sent to the cloud server, and the cloud server feeds back the to-be-received file corresponding to the to-be-received file information.

8. The method according to claim 7, characterized in that Before the step of collecting the first visual data of the file recipient through the sharing interaction page, the step further includes: Collecting the second visual data of the file owner through the sharing interaction page; Generate a sharing request according to the second visual data, and upload the sharing request to the cloud server, and the cloud server generates a sharing description interaction page based on the sharing request feedback; Generate a file sharing request according to the sharing description interaction page and the file to be shared selected by the file owner; The shared file sending request is sent to the cloud server.

9. A cloud server, characterized in that: The cloud server includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the file sharing method according to any one of claims 1 to 6.

10. A terminal device, characterized in that: The terminal device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the file sharing method according to claim 7 or 8.