Project file sharing method, device, equipment, medium and computer program product
By building cloud resource scheduling and keyword extraction models in distributed cloud data centers, combined with transmission anomaly detection, the problem of insufficient efficiency and security in file sharing in cloud data centers is solved, and efficient and secure project file sharing is achieved.
Patent Information
- Application Number
- CN202411084163.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-12-06
AI Technical Summary
The existing cloud data center file sharing solutions have complex network environments, diverse transmission scenarios, and insufficient data security protection, resulting in weak data protection and inefficient file sharing.
Build a cloud resource scheduling model and keyword extraction model in a distributed cloud data center. By generating public parameters and keys, encrypted storage and retrieval of project files, and use the transmission exception detection model to monitor data transmission to ensure the security of files and Efficient transmission.
It improves the cloud storage efficiency and security of project files, avoids file loss, and realizes efficient sharing of project files downloaded by user terminals through cloud retrieval.
Smart Images

Figure CN119088776A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data sharing, and in particular to a project file sharing method, device, equipment, medium and computer program product. Background Art
[0002] With the development and popularization of the Internet, resource sharing has developed rapidly. Cloud sharing can realize the sharing of project files and data, solving the problem of data islands.
[0003] However, the existing solutions for file sharing using cloud data centers require logging into the cloud data center through a terminal to upload and download the required project files. In actual applications, there are problems such as complex network environment, diverse transmission scenarios, and data security protection, resulting in weak data protection. In addition, the existing file sharing is only based on simple storage and download services with simple functions and low file sharing efficiency. Summary of the invention
[0004] The present invention provides a project file sharing method, device, equipment, medium and computer program product, which are used to solve the defect of low sharing efficiency in the existing file sharing technology and improve the file sharing efficiency.
[0005] The present invention provides a project file sharing method, comprising the following steps.
[0006] Constructing a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploying the keyword extraction model to the target user terminal; Determine a target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and store the target project file in the target cloud server; Based on the search keyword generated by the target user terminal, the project file corresponding to the search keyword in the distributed cloud data center is transmitted to the target user terminal; the search keyword is determined based on the keyword extraction model.
[0007] According to a project file sharing method provided by the present invention, the cloud resource scheduling model and the keyword extraction model are constructed in the distributed cloud data center, and the keyword extraction model is deployed to the target user terminal, which includes: Generate public parameters and a master key based on the attribute information and entity identifier sent by the target user terminal; Generate a private key and a public key of the target user terminal based on the attribute information, the entity identifier, the public parameter and the master key; generating a retrieval key of the target user terminal based on the public parameter and the attribute information; The private key and the retrieval key are stored in the target user terminal, and the public key and the retrieval key are published to a distributed cloud data center.
[0008] According to a project file sharing method provided by the present invention, building a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploying the keyword extraction model to the target user terminal includes: Building a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and encrypting metadata of the keyword extraction model; decrypting the encrypted metadata based on the private key; Based on the decrypted metadata, the keyword extraction model is deployed on the target user terminal.
[0009] According to a project file sharing method provided by the present invention, determining a target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and storing the target project file in the target cloud server comprises: Determine additional information for the target project file; Extracting stored keywords of the target project file based on the keyword extraction model; Encrypting the target project file based on the private key; Determining a target cloud server based on the additional information and the cloud resource scheduling model; Based on the public key and the retrieval index, the decrypted target project file is stored in the target cloud server; the retrieval index is determined based on the storage address and storage keywords of the target project file.
[0010] According to a project file sharing method provided by the present invention, based on the search keyword generated by the target user terminal, transmitting the project file corresponding to the search keyword in the distributed cloud data center to the target user terminal includes: Encrypting the search keyword generated by the target user terminal based on the search key to obtain an encrypted search threshold; Determining a first project file corresponding to the search keyword in the distributed cloud data center based on the encrypted search threshold and the search index; Based on the public key and the private key, the first project file is transmitted to the target user terminal.
[0011] According to a project file sharing method provided by the present invention, the distributed cloud data center further constructs a transmission anomaly detection model; based on the search keyword generated by the target user terminal and the keyword extraction model, the project file corresponding to the search keyword in the distributed cloud data center is transmitted to the target user terminal, and then includes: Collecting data transmission traffic between the target user terminal and the distributed cloud data center; Detecting the data transmission flow based on the transmission anomaly detection model to obtain a detection result; When the detection result is a transmission abnormality, the transmission connection between the target user terminal and the distributed cloud data center is disconnected, and data of the target user terminal is intercepted.
[0012] The present invention also provides a project file sharing device, comprising the following modules: A model building and deployment module, used to build a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploy the keyword extraction model to the target user terminal; A project file storage module, used to determine a target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and store a target project file in the target cloud server; A project file sharing module is used to transmit the project file corresponding to the search keyword in the distributed cloud data center to the target user terminal based on the search keyword generated by the target user terminal; the search keyword is determined based on the keyword extraction model.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any of the project file sharing methods described above is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the project file sharing method described in any one of the above is implemented.
[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the project file sharing method described in any one of the above is implemented.
[0016] The project file sharing method, device, equipment, medium and computer program product provided by the present invention improve the functionality of the distributed cloud data center by constructing models such as a cloud resource scheduling model and a keyword extraction model in the distributed cloud data center, and meet the functional and service requirements of the cloud file sharing solution; through the cloud resource scheduling model and cloud server resources, cloud resources are scheduled for the cloud server, the cloud storage efficiency of the project file is improved, the file loss caused by the failure of cloud storage of the project file is avoided, and the security of the project file is improved; the keywords of the project file are extracted through the keyword extraction model, and the keywords are used as the file index of the project file, so that the user terminal can download the project file through cloud retrieval, thereby improving the sharing efficiency of the project file. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is one of the flow charts of the project file sharing method provided by the present invention.
[0019] Figure 2 This is the second flow chart of the project file sharing method provided by the present invention.
[0020] Figure 3 It is a structural schematic diagram of the project file sharing device provided by the present invention.
[0021] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] Combine the following Figure 1-Figure 4 The project file sharing method, device, equipment, medium and computer program product of the present invention are described.
[0024] Figure 1 This is one of the flow charts of the project file sharing method provided by the present invention, such as Figure 1As shown, the method includes the following: Step 100: construct a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploy the keyword extraction model to the target user terminal; Step S2: construct a cloud resource scheduling model, a keyword extraction model, and a transmission anomaly detection model in the distributed cloud data center, and deploy the keyword extraction model to all user terminals connected to the distributed cloud data center. The transmission anomaly detection model will be described in the following embodiments.
[0025] The specific steps include: Step S2-1, constructing a cloud resource scheduling model, a keyword extraction model, and a transmission anomaly detection model in a distributed cloud data center; Step S2-2: Obtain model metadata of the keyword extraction model, and encrypt the model metadata using the public key of the user terminal to obtain encrypted model metadata; Step S2-3: download the encrypted model metadata stored in the distributed cloud data center, decrypt the encrypted model metadata according to the private key stored locally in the user terminal to obtain the decrypted model metadata, and deploy the keyword extraction model at the user terminal based on the decrypted model metadata.
[0026] Step 200: Determine a target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and store the target project file in the target cloud server; Step S3: The user terminal based on the cloud storage service obtains the project engineering file input by the user, and stores the project engineering file in the distributed cloud data center.
[0027] The specific steps include: Step S3-1: The file size and file format of the project engineering file, and the type of data transmission network between the user terminal and the distributed cloud data center are used as additional information of the project engineering file; Step S3-2: extracting several stored keywords of the project engineering file through a keyword extraction model deployed on the user terminal; Step S3-3: asymmetrically encrypt the project engineering file using the private key of the user terminal to obtain an encrypted cloud storage file; Step S3-4: Upload the encrypted cloud storage file to the distributed cloud data center, and use the cloud resource scheduling model to schedule cloud resources for the cloud servers in the distributed cloud data center based on the additional information of the project engineering file to obtain the optimal cloud server, i.e., the target cloud server; Step S3-5: Based on the target cloud server and the public key of the user terminal, the encrypted cloud storage file is asymmetrically decrypted to obtain the decrypted cloud storage file. The decrypted cloud storage file is then stored through the target cloud server; Step S3-6: Generate a search index based on the storage address of the decrypted cloud storage file and the corresponding storage keywords to complete the cloud storage of the project engineering file.
[0028] Step 300: Based on the search keyword generated by the target user terminal, the project file corresponding to the search keyword in the distributed cloud data center is transmitted to the target user terminal; the search keyword is determined based on the keyword extraction model.
[0029] Step S4: Based on the user terminal of the cloud search service, several search keywords input by the user terminal are collected, and according to the input search keywords, the project engineering files are cloud searched in the distributed cloud data center, and the retrieved target project engineering files are encrypted and transmitted to the user terminal of the cloud search service.
[0030] The specific steps include: Step S4-1: Based on the user terminal of the cloud search service, a number of search keywords input by the user terminal are collected, and the search keywords are symmetrically encrypted according to the search key of the user terminal to obtain an encrypted search trap; Step S4-2, transmitting the encrypted search trapdoor to the distributed cloud data center, using the index matching algorithm to match the search index of each project engineering file, and obtaining the target project engineering file that matches the search keyword input by the user terminal; Step S4-3: Asymmetrically encrypt the target project engineering file according to the public key of the user terminal to obtain an encrypted cloud search file, and transmit the encrypted cloud search file to the user terminal of the cloud search service; Step S4-4: Asymmetrically decrypt the encrypted cloud search file according to the private key of the user terminal to obtain the decrypted target project engineering file, thereby realizing the sharing of the project file.
[0031] This embodiment improves the functionality of the distributed cloud data center by constructing models such as a cloud resource scheduling model and a keyword extraction model in the distributed cloud data center, thereby meeting the functional and service requirements of the cloud file sharing solution; performs cloud resource scheduling on the cloud server through the cloud resource scheduling model and cloud server resources, thereby improving the cloud storage efficiency of project files, avoiding file loss caused by cloud storage failure, and improving the security of project files; extracts keywords from the project file through the keyword extraction model, and uses the keywords as the file index of the project file, so that the user terminal can download the project file through cloud retrieval, thereby improving the sharing efficiency of the project file.
[0032] Figure 2 This is the second flow chart of the project file sharing method provided by the present invention, such as Figure 2 As shown, the method may also include: Step 10: Generate public parameters and a master key based on the attribute information and entity identifier sent by the target user terminal; Step 20: Generate a private key and a public key of the target user terminal based on the attribute information, the entity identifier, the public parameter and the master key; Step 30: Generate a retrieval key of the target user terminal based on the public parameter and the attribute information; Step 40: Store the private key and the retrieval key in the target user terminal, and publish the public key and the retrieval key to a distributed cloud data center.
[0033] Step S1: Initialize keys for all user terminals participating in cloud file sharing based on a trusted authority (TA).
[0034] The specific steps include: Step S1-1: The trusted institution TA receives attribute information sent by all user terminals and generates a public parameter PP and a master key MSK, as shown in Formula 1, where: For public parameters; is a cyclic group; for The generator of is a bilinear map; is the generator parameter; It is a one-way mapping hash function; is the generator random number; is a random number; is the master key; is the encryption parameter; is the generator coefficient.
[0035] ; (1)
[0036] S1-2, according to the master key MSK, the public parameter PP, the attribute information of the user terminal and the entity identification ID, use the asymmetric encryption algorithm to generate the private key SK and the public key PK of each user terminal, as shown in Formula 2, where: is the private key; The entity ID of the user terminal; The attribute information of the user terminal; is the public key; The public key random number.
[0037] ; (2)
[0038] S1-3. Generate a retrieval key RK for each user terminal using a symmetric encryption algorithm based on the public parameter PP and the attribute information of the user terminal, as shown in Formula 3, where: To retrieve the key; , and To retrieve key parameters; It is a one-way mapping hash function; and is a random number; For public parameters The encryption parameters of is the generator parameter.
[0039] ; (3)
[0040] S1-4, returning the private key SK and the retrieval key RK to the corresponding user terminal, storing them locally in the user terminal, and publishing the public key PK and the retrieval key RK in the distributed cloud data center; The distributed cloud data center includes several distributed cloud servers. The distributed cloud data center is used to implement cloud storage services and cloud retrieval services for project engineering files of user terminals, and realize cloud security sharing of project engineering files.
[0041] This embodiment uses a trusted institution to initialize the keys of all user terminals participating in cloud file sharing, generates the private key and public key of each user terminal through an asymmetric encryption algorithm, and generates the retrieval key of each user terminal through a symmetric encryption algorithm. The asymmetric encryption algorithm is combined with the symmetric encryption algorithm to encrypt and transmit data in the cloud storage process and cloud retrieval process during cloud security sharing, thereby improving the security of data sharing and the stability of data transmission.
[0042] In one embodiment, the project file sharing method provided in the embodiment of the present application may further include: Step 110: construct a cloud resource scheduling model and a keyword extraction model in the distributed cloud data center, and encrypt the metadata of the keyword extraction model; Step 120: decrypt the encrypted metadata based on the private key; Step 130: deploy the keyword extraction model on the target user terminal based on the decrypted metadata.
[0043] The specific contents of the above-mentioned step S2-1 include: the cloud resource scheduling model is used to schedule cloud resources of the cloud server according to the cloud server node resources (CPU computing power, computing memory size, network bandwidth and hard disk space), thereby improving the efficiency and success rate of cloud storage of project engineering files, avoiding file loss due to failure of cloud storage of project engineering files, and improving file security; the keyword extraction model is used to extract storage keywords of project engineering files, and use the storage keywords as file indexes of project engineering files. When the user terminal downloads the project engineering files, cloud retrieval can be performed by keywords.
[0044] This embodiment improves the efficiency and success rate of cloud storage of project engineering files and the security of the files through the deployment of a cloud resource scheduling model and a keyword extraction model.
[0045] In one embodiment, the project file sharing method provided in the embodiment of the present application may further include: Step 210, determining additional information of the target project file; Step 220: extracting stored keywords of the target project file based on the keyword extraction model; Step 230: Encrypt the target project file based on the private key; Step 240: Determine a target cloud server based on the additional information and the cloud resource scheduling model; Step 250: Based on the public key and the retrieval index, the decrypted target project file is stored in the target cloud server; the retrieval index is determined based on the storage address and storage keywords of the target project file.
[0046] The content of the above step S3-2 specifically includes: S3-2-1. Extract the project engineering text of the project engineering file through the keyword extraction model deployed on the user terminal, and perform word segmentation and sentence segmentation on the project engineering text to obtain candidate words and positions; S3-2-2. Use the time-shift weighted algorithm to obtain the popularity of candidate words in the project text, and build a hot word library for the project based on the popularity of the candidate words, as shown in Formula 4, where: Candidate word The heat of the candidate words that exceed the threshold Added hot words database for project engineering; Candidate word The average score of Candidate word In time The frequency of words; is the average word frequency; is the average score of all words.
[0047] ; (4)
[0048] S3-2-3, according to the similarity of the candidate words in the hot word library, obtain the stored keywords, as shown in Formula 5, where: Candidate word and The similarity parameter of The largest top K candidate words in are used as storage keywords; Text for project engineering and similarity; Candidate word and The number of co-occurrences of .
[0049] ; (5)
[0050] The contents of the above step S3-4 specifically include: S3-4-1. Select several cloud servers that meet the cloud server resource requirements as candidate node sets according to the project engineering documents. , i is the cloud server node indicator, I is the total number of cloud server nodes; S3-4-2, taking the candidate node set as the initial fireworks set, and setting the algorithm parameters of the Fireworks Algorithm (FWA) algorithm; S3-4-3. Obtain the fitness value of the initial fireworks set, as shown in Formula 6, where: is a function of the fitness value; is the resource utilization rate of cloud server node i; is the available resources of the dth dimension of cloud server node i; The required resources for the project engineering file of the dth dimension of the cloud server node i; is the container missing rate of cloud server node i; is the number of available containers of node i; The required number of containers for the project files of node i.
[0051] ; (6)
[0052] S3-4-4. Obtain the explosion radius and number of sparks of each initial firework individual in the initial firework set, as shown in formulas 7 and 8, where: For the initial firework individual The number of sparks; is a constant; i is the node indicator; I is the total number of nodes; is the maximum fitness value in the initial fireworks set; For the initial firework individual The fitness value of is an infinitely small constant. For the initial firework individual Explosion radius; Adjusted constant for explosion radius; is the minimum fitness value in the initial fireworks set; For the initial firework individual The fitness value of .
[0053] ; (7)
[0054] ; (8)
[0055] S3-4-5. Perform fireworks explosion according to the explosion radius and number of sparks of each initial fireworks individual in the initial fireworks set to obtain an updated fireworks set, as shown in Formula 9, where: To update a firework individual, I update firework individuals constitute an update firework set; Initial Fireworks Individual The number of sparks; A random number between -1 and 1.
[0056] ; (9)
[0057] S3-4-6. Use the Gaussian mutation algorithm to generate a Gaussian mutation fireworks set, as shown in formula 10, where: is a Gaussian variation firework individual, and I Gaussian variation firework individuals constitute a Gaussian variation firework set; is a random number of Gaussian distribution with mean and variance both being 1; i is the indicator.
[0058] ; (10)
[0059] S3-4-7. Calculate the fitness values of the updated fireworks set and the Gaussian mutation fireworks set, and take the fireworks individual with the minimum fitness value as the optimal individual; S3-4-8, if the number of iterations reaches the threshold, or the fitness value of the optimal individual meets the requirement, then the optimal solution corresponding to the current optimal individual is output to obtain the optimal cloud server, i.e. the target cloud server, otherwise return to the above step S3-4-5.
[0060] This embodiment improves the functionality of the distributed cloud data center by constructing a cloud resource scheduling model and a keyword extraction model in the distributed cloud data center, thereby meeting the functional and service requirements of cloud security sharing.
[0061] In one embodiment, the project file sharing method provided in the embodiment of the present application may further include: Step 310: Encrypt the search keyword generated by the target user terminal based on the search key to obtain an encrypted search threshold; Step 320: Determine a first project file corresponding to the search keyword in the distributed cloud data center based on the encrypted search threshold and the search index; Step 330: Based on the public key and the private key, transmit the first project file to the target user terminal.
[0062] The encrypted retrieval trap obtained in step S4-1 is shown in formula 11, where: Trapdoor for encrypted retrieval; To retrieve the key; is a symmetric encryption function; To retrieve the trapdoor parameters; is the search keyword; m is the indicator; The total number of search keywords.
[0063] ; (11)
[0064] The target project engineering file obtained in step S4-2 is shown in formula 12, where: For the Retrieval index of project engineering documents; To retrieve the trapdoor parameters; is the exponential calculation function.
[0065] ; (12)
[0066] This embodiment extracts storage keywords of the project engineering file through a keyword extraction model, and uses the keywords as file indexes of the project engineering file, so as to implement cloud retrieval of the file when the user terminal downloads the project engineering file.
[0067] In one embodiment, the project file sharing method provided in the embodiment of the present application may further include: Step 400: Collect data transmission traffic between the target user terminal and the distributed cloud data center; Step 500: Detect the data transmission flow based on the transmission anomaly detection model to obtain a detection result; Step 600: When the detection result is a transmission abnormality, disconnect the transmission connection between the target user terminal and the distributed cloud data center, and intercept data from the target user terminal.
[0068] The transmission anomaly detection model is used to perform real-time transmission anomaly detection based on the data transmission information between the user terminal and the distributed cloud data center, and to detect and identify various malicious attacks in the transmission process in real time, thereby improving the security of project engineering file sharing.
[0069] The specific steps include: S5-1, collecting data transmission traffic between the user terminal and the distributed cloud data center; S5-2. Input the data transmission flow into the transmission anomaly detection model for detection to obtain the transmission anomaly detection result. The transmission anomaly detection model is constructed based on the Elman neural network. The nonlinear state space expression of the Elman neural network is shown in Formula 13, where: is the network input at time t-1; is the receiving layer output at time t; and are the hidden layer outputs at time t and time t-1 respectively; is the network output at time t; is the hidden layer activation function; is the output layer activation function; , and are all neuron connection weight matrices of the network layer; t is the time indicator.
[0070] ; (13)
[0071] S5-3. If there is an abnormality in the transmission detection result, disconnect the data transmission channel between the distributed cloud data center and the user terminal, intercept the data sent by the user terminal, and add the user terminal to the blacklist and other operations.
[0072] This embodiment uses a transmission anomaly detection model to perform real-time detection based on the data transmission information between the user terminal and the distributed cloud data center, identify various malicious attacks that exist during the transmission process, improve the security of the project engineering file sharing process, and improve the protection level and reliability of the cloud data center.
[0073] The project file sharing device provided by the present invention is described below. The project file sharing device described below and the project file sharing method described above can be referenced to each other.
[0074] Please refer to Figure 3 The present invention also provides a project file sharing device, comprising: The model building and deployment module 301 is used to build a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploy the keyword extraction model to the target user terminal; A project file storage module 302 is used to determine a target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and store a target project file in the target cloud server; The project file sharing module 303 is used to transmit the project file corresponding to the search keyword in the distributed cloud data center to the target user terminal based on the search keyword generated by the target user terminal; the search keyword is determined based on the keyword extraction model.
[0075] Optionally, the project file sharing device further includes: A public parameter and master key generation module, used to generate public parameters and a master key based on the attribute information and entity identifier sent by the target user terminal; A private key and public key generation module, used to generate a private key and a public key of the target user terminal based on the attribute information, the entity identifier, the public parameter and the master key; A retrieval key generation module, used to generate a retrieval key of the target user terminal based on the public parameter and the attribute information; The storage and publication module is used to store the private key and the retrieval key in the target user terminal, and publish the public key and the retrieval key to the distributed cloud data center.
[0076] Optionally, the model building and deployment module includes: A model building and encryption unit, used to build a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and encrypt metadata of the keyword extraction model; a metadata decryption unit, configured to decrypt the encrypted metadata based on the private key; The keyword extraction model deployment unit is used to deploy the keyword extraction model on the target user terminal based on the decrypted metadata.
[0077] Optionally, the project file storage module includes: An additional information determination unit, used for determining additional information of a target project file; A storage keyword extraction unit, used to extract storage keywords of the target project file based on the keyword extraction model; A private key encryption unit, used to encrypt the target project file based on the private key; a target cloud server determining unit, configured to determine a target cloud server based on the additional information and the cloud resource scheduling model; The target project file storage unit is used to store the decrypted target project file to the target cloud server based on the public key and the retrieval index; the retrieval index is determined based on the storage address and storage keywords of the target project file.
[0078] Optionally, the project file sharing module includes: A search keyword encryption unit, used to encrypt the search keyword generated by the target user terminal based on the search key to obtain an encrypted search threshold; A first project file determining unit, configured to determine a first project file corresponding to the search keyword in the distributed cloud data center based on the encrypted search threshold and the search index; The first project file transmission unit is configured to transmit the first project file to the target user terminal based on the public key and the private key.
[0079] Optionally, the project file sharing device further includes: A data transmission flow collection module, used to collect the data transmission flow between the target user terminal and the distributed cloud data center; A data transmission flow detection module, used to detect the data transmission flow based on the transmission anomaly detection model to obtain a detection result; The data interception module is used to disconnect the transmission connection between the target user terminal and the distributed cloud data center and intercept data from the target user terminal when the detection result is a transmission abnormality.
[0080] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the project file sharing method, which includes: constructing a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploying the keyword extraction model to the target user terminal; determining the target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and storing the target project file in the target cloud server; based on the search keyword generated by the target user terminal, transmitting the project file corresponding to the search keyword in the distributed cloud data center to the target user terminal; the search keyword is determined based on the keyword extraction model.
[0081] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, 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, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in 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.
[0082] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the project file sharing method provided by the above-mentioned methods, which includes: constructing a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploying the keyword extraction model to the target user terminal; determining the target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and storing the target project file to the target cloud server; based on the retrieval keyword generated by the target user terminal, transmitting the project file corresponding to the retrieval keyword in the distributed cloud data center to the target user terminal; the retrieval keyword is determined based on the keyword extraction model.
[0083] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the project file sharing method provided by the above-mentioned methods, the method comprising: constructing a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploying the keyword extraction model to the target user terminal; determining the target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and storing the target project file to the target cloud server; based on the retrieval keyword generated by the target user terminal, transmitting the project file corresponding to the retrieval keyword in the distributed cloud data center to the target user terminal; the retrieval keyword is determined based on the keyword extraction model.
[0084] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, 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 scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0085] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A project file sharing method, characterized in that: include: Constructing a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploying the keyword extraction model to the target user terminal; Determine a target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and store the target project file in the target cloud server; Based on the search keyword generated by the target user terminal, the project file corresponding to the search keyword in the distributed cloud data center is transmitted to the target user terminal; the search keyword is determined based on the keyword extraction model.
2. The project file sharing method according to claim 1, characterized in that: The step of constructing a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center and deploying the keyword extraction model to the target user terminal includes: Generate public parameters and a master key based on the attribute information and entity identifier sent by the target user terminal; Generate a private key and a public key of the target user terminal based on the attribute information, the entity identifier, the public parameter and the master key; generating a retrieval key of the target user terminal based on the public parameter and the attribute information; The private key and the retrieval key are stored in the target user terminal, and the public key and the retrieval key are published to a distributed cloud data center.
3. The project file sharing method according to claim 2, characterized in that: The step of constructing a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center and deploying the keyword extraction model to the target user terminal includes: Building a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and encrypting metadata of the keyword extraction model; decrypting the encrypted metadata based on the private key; Based on the decrypted metadata, the keyword extraction model is deployed on the target user terminal.
4. The project file sharing method according to claim 2, characterized in that: Determining the target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and storing the target project file in the target cloud server includes: Determine additional information for the target project file; Extracting stored keywords of the target project file based on the keyword extraction model; Encrypting the target project file based on the private key; Determining a target cloud server based on the additional information and the cloud resource scheduling model; Based on the public key and the retrieval index, the decrypted target project file is stored in the target cloud server; the retrieval index is determined based on the storage address and storage keywords of the target project file.
5. The project file sharing method according to claim 4, characterized in that: The transmitting, based on the search keyword generated by the target user terminal, the project file corresponding to the search keyword in the distributed cloud data center to the target user terminal comprises: Encrypting the search keyword generated by the target user terminal based on the search key to obtain an encrypted search threshold; Determining a first project file corresponding to the search keyword in the distributed cloud data center based on the encrypted search threshold and the search index; Based on the public key and the private key, the first project file is transmitted to the target user terminal.
6. The project file sharing method according to claim 1, characterized in that: The distributed cloud data center also constructs a transmission anomaly detection model; based on the search keyword generated by the target user terminal and the keyword extraction model, the project file corresponding to the search keyword in the distributed cloud data center is transmitted to the target user terminal, and then includes: Collecting data transmission traffic between the target user terminal and the distributed cloud data center; Detecting the data transmission flow based on the transmission anomaly detection model to obtain a detection result; When the detection result is a transmission abnormality, the transmission connection between the target user terminal and the distributed cloud data center is disconnected, and data of the target user terminal is intercepted.
7. A project file sharing device, characterized in that: include: A model building and deployment module, used to build a cloud resource scheduling model and a keyword extraction model in a distributed cloud data center, and deploy the keyword extraction model to the target user terminal; A project file storage module, used to determine a target cloud server in the distributed cloud data center based on the cloud resource scheduling model, and store a target project file in the target cloud server; A project file sharing module is used to transmit the project file corresponding to the search keyword in the distributed cloud data center to the target user terminal based on the search keyword generated by the target user terminal; the search keyword is determined based on the keyword extraction model.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the project file sharing method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the project file sharing method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the project file sharing method according to any one of claims 1 to 6 is implemented.
