Picture cloud storage processing method and device, equipment and medium

By generating temporary access links or signature codes in the cloud storage platform and monitoring business usage status, the problem of unauthorized intrusion is solved, and security and storage space protection are achieved, while ensuring the normal operation of online services.

CN116366345BActive Publication Date: 2026-01-02GUANGZHOU FANGGUI INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310349863.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2026-01-02
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

Existing cloud storage platforms are vulnerable to intrusion by unauthorized internet users who use network hacking to illegally store and disseminate illegal images, seriously compromising storage security and damaging the internet environment.

Method used

By using an illegal intrusion prevention system, temporary cloud storage access links or image signatures are generated on the cloud storage server to monitor the business usage status of uploaded images. Images are removed after a limited time has elapsed to prevent illegal intrusion, while temporary access links or signatures are generated for the business server to retrieve images.

Benefits of technology

It effectively prevents unauthorized intrusion, protects the storage security of the cloud storage platform, saves storage space, and does not affect the normal operation of online services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116366345B_ABST
    Figure CN116366345B_ABST
Patent Text Reader

Abstract

The application discloses a picture cloud storage processing method and device, equipment and medium, the method comprises the following steps: pushing the upload picture pushed by the client to the cloud storage server; callback intercepts the first picture upload return information of the cloud storage server storing the upload picture, and obtains the cloud storage file name contained in the information; based on the cloud storage file name, a temporary cloud storage access link or a picture feature code is generated, and the second picture upload return information containing the temporary cloud storage access link or the picture feature code is pushed to the client; when the business use state of the upload picture in the cloud storage server is still represented as not used after the limited storage time, the upload picture is removed; receiving the upload picture acquisition request pushed by the business server, and according to the temporary cloud storage access link or the picture feature code contained in the upload picture acquisition request, the cloud storage access link is pushed to the business server. The application can be applied in the live broadcast field, and the cloud storage picture business is prevented from being maliciously invaded.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of cloud storage, in particular to a picture cloud storage processing method, and further relates to a device, equipment and non-transitory storage medium corresponding to the method. BACKGROUND

[0002] There are many cloud storage platforms providing cloud storage services in the existing Internet. Other Internet platforms or users can store business data or personal data through cloud storage services provided by the cloud storage platform through cloud storage. However, there are also a large number of illegal Internet users who destroy cloud storage platforms in the Internet. Such illegal Internet users invade the cloud storage system of the cloud storage platform through illegal network intrusion means, illegally use the cloud storage system of the cloud storage platform to store illegal files for illegal activities, and illegally use the cloud storage platform to store illegal pictures in the database to spread illegal pictures to obtain illegal profits. For example, through the live room cover customization online service provided by the network live platform, the illegal Internet users invade the live room cover picture cloud storage service in the cloud storage platform associated with the network live platform. Such illegal Internet users seriously damage the storage security of the cloud storage platform and even destroy the green network environment of the Internet.

[0003] In view of the problems existing in the existing cloud storage platform for protecting illegal intrusion of Internet users, the present applicant makes corresponding exploration in consideration of solving the problem. SUMMARY

[0004] The purpose of the present application is to meet the needs of users and provide a picture cloud storage processing method, and further relates to a device, equipment, non-transitory storage medium and computer program product corresponding to the method.

[0005] In order to achieve the purpose of the present application, the following technical solutions are adopted:

[0006] A picture cloud storage processing method proposed to adapt to the purpose of the present application includes the following steps:

[0007] Obtain the uploaded picture pushed by the client, and push the uploaded picture to the cloud storage server through the temporary picture upload interface provided by the cloud storage server;

[0008] Intercept the first picture upload return information which needs to be pushed to the client after the cloud storage server stores the uploaded picture, and obtain the cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is named by the cloud storage server after storing the uploaded picture;

[0009] generate a temporary cloud storage access link or a picture feature code acting on the uploaded picture based on the cloud storage file name, and push second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client;

[0010] Listen to the service usage state of the uploaded picture in the cloud storage server, and remove the uploaded picture from the cloud storage server when it is found that the service usage state of the uploaded picture still represents that it is not used after a limited storage time;

[0011] Receive the uploaded picture acquisition request pushed by the service server, obtain the temporary cloud storage access link or the picture feature code contained in the uploaded picture acquisition request, and obtain the cloud storage access link according to the access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code, and push it to the service server, so that the service server obtains the uploaded picture corresponding to the uploaded picture acquisition request from the cloud storage service through the cloud storage access link.

[0012] In further embodiments, the step of obtaining the uploaded picture pushed by the client through the temporary picture upload interface provided by the cloud storage server and pushing the uploaded picture to the cloud storage server comprises the following steps:

[0013] In response to the picture upload request pushed by the client, apply for a temporary picture upload interface to the cloud storage server;

[0014] Open the picture upload interface to the client, and obtain the uploaded picture pushed by the client through the picture upload interface;

[0015] Push the uploaded picture to the cloud storage server through the temporary picture upload interface.

[0016] In further embodiments, the callback intercepts the first picture upload return information that the cloud storage server needs to push to the client after storing the uploaded picture, and obtains the cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is obtained in the step of naming the uploaded picture after the cloud storage server stores the uploaded picture.

[0017] When the callback interface acting on the first picture upload return information is opened by the cloud storage server, push the uploaded picture to the cloud storage server, and call the first picture upload return information generated by the cloud storage server after completing the uploaded picture from the cloud storage server;

[0018] When the callback interface is not present, after pushing the uploaded picture to the cloud storage server, intercepting the first picture upload return information pushed by the cloud storage server to the corresponding client after the cloud storage server completes the uploaded picture;

[0019] Obtaining the cloud storage file name contained in the first picture upload return information.

[0020] In further embodiments, based on the cloud storage file name, a temporary cloud storage access link or a picture feature code acting on the uploaded picture is generated, and in the step of pushing the second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client, the following steps are included:

[0021] Detecting whether the client of the uploaded picture corresponding to the uploaded cloud storage file name has an uploaded picture local echo module;

[0022] When the client has the uploaded picture local echo module, a corresponding picture feature code is generated according to the cloud storage file name, and the second picture generation return information containing the picture feature code is pushed to the client;

[0023] When the client does not have the uploaded picture local echo module, a corresponding temporary cloud storage access link is generated according to the cloud storage file name, and the second picture generation return information containing the temporary cloud storage access link is pushed to the client, driving the client to obtain the corresponding uploaded picture from the cloud storage server through the temporary cloud storage access link for display.

[0024] In further embodiments, the service usage state of the uploaded picture in the cloud storage server is monitored, and when it is monitored that the service usage state of the uploaded picture is still not used after a limited storage time, the uploaded picture is removed from the cloud storage server.

[0025] After pushing the uploaded picture to the cloud storage server, the cloud storage time acting on the uploaded picture is determined;

[0026] A preset time length is obtained, the cloud storage time and the preset time length are time accumulated, a corresponding limited storage time is obtained, and when the time reaches the limited storage time, the service usage state of the uploaded picture in the cloud storage server is queried;

[0027] When the service usage state is not used, the uploaded picture is removed from the cloud storage server.

[0028] In a further embodiment, the step of receiving an upload picture acquisition request pushed by a service server, acquiring a temporary cloud storage access link or a picture feature code contained in the upload picture acquisition request, and pushing a cloud storage access link acquired according to an access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code to the service server comprises the following steps:

[0029] receiving an upload picture acquisition request pushed by a service server, and acquiring a temporary cloud storage access link contained in the upload picture acquisition request;

[0030] determining an upload picture corresponding to the temporary cloud storage access link in the cloud storage server, modifying a cloud storage file name corresponding to the upload picture in the cloud storage server to a new cloud storage file name;

[0031] generating a cloud storage access link acting on the upload picture according to the new storage file name, pushing the cloud storage access link to the service server, and updating a service use state of the upload picture in the cloud storage server to used.

[0032] In a further embodiment, the step of receiving an upload picture acquisition request pushed by a service server, acquiring a temporary cloud storage access link or a picture feature code contained in the upload picture acquisition request, and pushing a cloud storage access link acquired according to an access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code to the service server comprises the following steps:

[0033] receiving an upload picture acquisition request pushed by a service server, and acquiring a picture feature code contained in the upload picture acquisition request;

[0034] querying an upload picture corresponding to the picture feature code from the cloud storage server, acquiring a cloud storage access link stored in the cloud storage server and corresponding to the upload picture, pushing the cloud storage access link to the service server, and updating a service use state of the upload picture in the cloud storage server to used.

[0035] A picture cloud storage processing device proposed for the purpose of the present application comprises:

[0036] a user upload picture forwarding module configured to acquire an upload picture pushed by a client, and push the upload picture to a cloud storage server through a temporary picture upload interface provided by the cloud storage server;

[0037] The cloud storage file name obtaining module is configured to intercept a first picture upload return information that needs to be pushed to the client after the cloud storage server stores the uploaded picture, and obtain a cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is named by the cloud storage server after storing the uploaded picture.

[0038] The upload return information pushing module is configured to generate a temporary cloud storage access link or a picture feature code acting on the uploaded picture based on the cloud storage file name, and push a second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client.

[0039] The picture service state monitoring module is configured to monitor a service usage state of the uploaded picture in the cloud storage server, and remove the uploaded picture from the cloud storage server when the service usage state of the uploaded picture is still represented as unused after a limited storage time.

[0040] The cloud access link pushing module is configured to receive an uploaded picture obtaining request pushed by a service server, obtain a temporary cloud storage access link or a picture feature code contained in the uploaded picture obtaining request, and obtain a cloud storage access link according to an access link obtaining rule corresponding to the temporary cloud storage access link or the picture feature code, and push the cloud storage access link to the service server, so that the service server obtains the uploaded picture corresponding to the uploaded picture obtaining request from the cloud storage server through the cloud storage access link.

[0041] In a further embodiment, the user uploaded picture forwarding module comprises:

[0042] The temporary upload interface application submodule is configured to apply for a temporary picture upload interface to the cloud storage server in response to a picture upload request pushed by the client.

[0043] The user uploaded picture obtaining submodule is configured to open a picture upload interface to the client, and obtain an uploaded picture pushed by the client through the picture upload interface.

[0044] The uploaded picture cloud storage submodule is configured to push the uploaded picture to the cloud storage server through the temporary picture upload interface.

[0045] In a further embodiment, the cloud storage file name obtaining module comprises:

[0046] The upload return information callback submodule is configured to, when the callback interface acting on the first picture upload return information is opened by the cloud storage server, push the uploaded picture to the cloud storage server, and obtain the first picture upload return information generated by the cloud storage server after storing the uploaded picture through callback from the cloud storage server.

[0047] The uploading return information interception submodule is configured to, when the callback interface is not available, intercept first picture uploading return information pushed by the cloud storage server to the corresponding client after the cloud storage server completes the uploading of the picture after the picture is pushed to the cloud storage server for uploading.

[0048] The cloud storage file name acquisition submodule is configured to acquire the cloud storage file name included in the first picture uploading return information.

[0049] In a further embodiment, the uploading return information pushing module comprises:

[0050] The local echo detection submodule is configured to detect whether the client of the uploaded picture corresponding to the cloud storage file name has a picture uploading local echo module.

[0051] The picture feature code generation submodule is configured to, when the client has the picture uploading local echo module, generate a corresponding picture feature code according to the cloud storage file name, and push second picture generation return information containing the picture feature code to the client.

[0052] The temporary access link generation submodule is configured to, when the client does not have the picture uploading local echo module, generate a corresponding temporary cloud storage access link according to the cloud storage file name, and push second picture generation return information containing the temporary cloud storage access link to the client, to drive the client to acquire the corresponding uploaded picture from the cloud storage server through the temporary cloud storage access link for display.

[0053] In a further embodiment, the picture service state listening module comprises:

[0054] The cloud storage time determination submodule is configured to, after the picture is pushed to the cloud storage server for uploading, determine the cloud storage time acting on the uploaded picture.

[0055] The service usage state query submodule is configured to acquire a preset time length, perform time accumulation calculation on the cloud storage time and the preset time length to acquire a corresponding limited storage time, and query the service usage state of the uploaded picture in the cloud storage server when the time reaches the limited storage time.

[0056] The uploaded picture removal submodule is configured to, when the service usage state indicates that the service is not used, remove the uploaded picture from the cloud storage server.

[0057] In a further embodiment, the cloud access link pushing module comprises:

[0058] The temporary access link obtaining submodule is configured to receive an upload picture obtaining request pushed by the service server, and obtain a temporary cloud storage access link contained in the upload picture obtaining request.

[0059] The cloud storage file name modifying submodule is configured to determine the upload picture corresponding to the temporary cloud storage access link in the cloud storage server, modify a cloud storage file name corresponding to the upload picture in the cloud storage server into a new cloud storage file name.

[0060] The new cloud storage access link generating submodule is configured to generate a cloud storage access link acting on the upload picture according to the new storage file name, push the cloud storage access link into the service server, and update a service use state of the upload picture in the cloud storage server to used.

[0061] In a preferred embodiment, the cloud access link pushing module further comprises:

[0062] The picture feature code obtaining submodule is configured to receive an upload picture obtaining request pushed by the service server, and obtain a picture feature code contained in the upload picture obtaining request.

[0063] The cloud storage access link pushing submodule is configured to query an upload picture corresponding to the picture feature code from the cloud storage server, obtain a cloud storage access link stored in the cloud storage server and corresponding to the upload picture, push the cloud storage access link into the service server, and update a service use state of the upload picture in the cloud storage server to used.

[0064] To solve the above technical problem, the embodiment of the present application further provides a computer device comprising a memory and a processor, the memory stores computer readable instructions, and the computer readable instructions are executed by the processor to make the processor execute the steps of the picture cloud storage processing method.

[0065] To solve the above technical problem, the embodiment of the present application further provides a storage medium storing computer readable instructions, and the computer readable instructions are executed by one or more processors to make the one or more processors execute the steps of the picture cloud storage processing method.

[0066] To solve the above technical problem, the embodiment of the present application further provides a computer program product comprising a computer program and computer instructions, and the computer program and computer instructions are executed by a processor to make the processor execute the steps of the picture cloud storage processing method.

[0067] Compared with the prior art, the advantages of the present application are as follows:

[0068] The application provides an illegal intrusion protection system for protecting a picture cloud storage service of a cloud storage platform, to protect a picture database of a cloud storage server of the cloud storage platform, and prevent illegal users from intruding the picture database of the cloud storage server through a picture upload interface or a cloud storage access link provided by the cloud storage server to perform illegal activities. The illegal intrusion protection system receives a client to upload a picture to the cloud storage server, and pushes the uploaded picture to the cloud storage server through a temporary picture upload interface provided by the cloud storage server, so that the client cannot access the picture upload interface provided by the cloud storage server. When the cloud storage server needs to send picture upload return information to the client after completing cloud storage of the uploaded picture, the illegal intrusion protection system obtains the picture upload return information through callback or interception to modify the picture upload return information, prevents the cloud storage server from pushing the picture upload return information to the client, and prevents the client from intruding the cloud storage server through the picture upload return information. The illegal intrusion protection system generates a corresponding temporary cloud storage access link or a picture feature code through a cloud storage file name for the uploaded picture included in the picture upload return information, encapsulates the temporary cloud storage access link or the picture feature code to generate new picture upload return information, and pushes the new picture upload return information to the client to notify the client that the uploaded picture has completed cloud storage. The temporary cloud storage access link can be used by a client without a local echo function of the uploaded picture, and the client obtains the uploaded picture through the temporary cloud storage access link to perform echo.

[0069] Secondly, the application monitors a cloud storage event stream of the uploaded picture in the cloud storage platform, removes the uploaded picture that is not used by a business for more than a limited storage time from the cloud storage platform, prevents an illegal client from intruding the cloud storage platform through the uploaded picture, and saves storage space in the cloud storage platform.

[0070] In addition, the temporary cloud storage access link and the picture feature code generated by the application can still be used by an online service of an internet platform to upload picture data of a client, a business server of the internet platform pushes the temporary cloud storage access link or the picture feature code to the illegal intrusion protection system of the application, to drive the illegal intrusion protection system to obtain a long-time or permanent cloud storage access link of the uploaded picture required by the business server according to a corresponding rule of the temporary cloud storage access link or the picture feature code, so that the business server can obtain the corresponding uploaded picture from the cloud storage server through the cloud storage access link to perform business use, and the illegal intrusion protection system can prevent illegal clients from intruding the cloud storage server through picture upload feedback, and does not affect the business execution process of the online service of the user uploaded picture provided by the internet platform. BRIEF DESCRIPTION OF DRAWINGS

[0071] The above and / or additional aspects and advantages of the present application will become apparent and more readily appreciated from the following description, taken in conjunction with the following drawings of which:

[0072] Figure 1 A typical network deployment architecture diagram related to the technical solutions of the present application;

[0073] Figure 2 A flowchart of a typical embodiment of the picture cloud storage processing method of the present application;

[0074] Figure 3 A flowchart of the specific implementation formed in the present application for obtaining the uploaded picture by opening the picture upload interface to the client, and uploading the uploaded picture through the temporary picture upload interface opened by the cloud storage server;

[0075] Figure 4 A flowchart of the specific implementation formed in the present application for obtaining the first picture upload return information after the cloud storage server stores the uploaded picture using the callback and interception method;

[0076] Figure 5 A flowchart of the specific implementation formed in the present application for generating the picture feature code or the temporary cloud storage access link corresponding to the client with or without the uploaded picture local echo module;

[0077] Figure 6 A flowchart of the specific implementation formed in the present application for querying out the uploaded picture not used by the business and pushing it to the cloud storage server for removal;

[0078] Figure 7 A flowchart of the specific implementation formed in the present application for obtaining the cloud storage access link of the corresponding uploaded picture according to the temporary cloud storage access link pushed by the business server and feeding back;

[0079] Figure 8 A flowchart of the specific implementation formed in the present application for obtaining the cloud storage access link of the corresponding uploaded picture according to the picture feature code pushed by the business server and feeding back;

[0080] Figure 9 A principle block diagram of a typical embodiment of the picture cloud storage processing device of the present application;

[0081] Figure 10 A basic structure block diagram of the computer device of an embodiment of the present application. DETAILED DESCRIPTION

[0082] Embodiments of the present application are described below in the context of example embodiments, which are shown in the drawings, wherein like or similar designations are used to indicate like or similar elements or elements having the same or similar function throughout the several views. The embodiments described below are merely examples, which are used to explain the present application and are not to be construed as limiting the present application.

[0083] Those skilled in the art will understand that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and / or "including," as used herein, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements can be present. In addition, the use of "connection" or "coupling" herein also includes wireless connection or wireless coupling. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0084] Those skilled in the art will appreciate that unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

[0085] Those skilled in the art will understand that, as used herein, the terms "user equipment," "terminal," and "terminal device" include both devices that are solely wireless signal receivers, devices that are solely wireless signal receivers without transmit capability, and devices that have both receive and transmit hardware enabling two-way communications over a two-way communications link. Such devices can include cellular or other communication devices with or without a single-line or multiple-line display capabilities or a multi-line display, Personal Communications Service (PCS) devices that can combine a voice and data function, Personal Digital Assistant (PDA) devices that can include a radio frequency receiver, a pager, Internet / intranet access, a Web browser, a calendar, a to-do list, and / or a GPS receiver, a conventional laptop and / or palmtop computer and / or other devices that have a radio frequency receiver. As used herein, the terms "user equipment," "terminal," and "terminal device" can be portable, transportable, installed in a vehicle (aeronautical, maritime, and / or land), or adapted for and / or configured for local and / or distributed operation on Earth and / or in space, in any other location. As used herein, the terms "user equipment," "terminal," and "terminal device" can also be a communication terminal, an Internet terminal, a music / video playing terminal, such as a PDA, a Mobile Internet Device (MID), and / or a mobile phone with music / video playing function, a smart television, a set-top box, and / or the like.

[0086] As used herein, the terms "server," "user equipment," "worker node," and the like refer to hardware that essentially has the equivalent capability of a personal computer, i.e., a hardware device having a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device, and the like necessary components disclosed by the Von Neumann principle. A computer program is stored in the memory, the central processing unit calls the program stored in the external memory into the memory to run, executes the instructions in the program, and interacts with the input and output devices, thereby completing a specific function.

[0087] It should be noted that the concept of "server" in the present application can also be extended to the case of a server cluster. According to the principle of network deployment understood by those skilled in the art, the servers should be logically divided, and in physical space, these servers can be independent but can be called through an interface, or can be integrated into a physical computer or a computer cluster. Those skilled in the art should understand this variation and should not be restricted by the implementation of the network deployment of the present application.

[0088] Referring to Figure 1 The hardware foundation required for the implementation of the technical solutions related to the present application can be deployed according to the architecture shown in the figure. The server 80 referred to in the present application is deployed in the cloud and serves as an online server, which can be responsible for further connecting related data servers and other servers that provide related support, etc., to form a logically associated server cluster to provide services for related terminal devices such as the smart phone 81 and the personal computer 82 shown in the figure or a third-party server (not shown). The smart phone and the personal computer can access the Internet through a known network access method and establish a data communication link with the server 80 in the cloud to run terminal application programs related to the services provided by the server.

[0089] For the server, the application program is usually built as a service process to open a corresponding program interface for remote calling by application programs running on various terminal devices. The technical solutions related to the present application suitable for running on the server can be implemented in the server in this way.

[0090] The application program refers to an application program running on a server or a terminal device. This application program implements the technical solutions related to the present application in a programming manner, and its program code can be saved in a computer-recognizable non-volatile storage medium in the form of computer executable instructions and be called into the memory by the central processing unit for running. The related device of the present application is constructed through the running of the application program on the computer.

[0091] For the server, the application program is usually built as a service process to open a corresponding program interface for remote calling by application programs running on various terminal devices. The technical solutions related to the present application suitable for running on the server can be implemented in the server in this way.

[0092] Those skilled in the art should know that the various methods of the present application, although based on the same concept and common to each other, are independently executable unless otherwise specified. Similarly, for each embodiment disclosed in the present application, it is based on the same inventive concept, and therefore, the same concept and appropriately transformed concepts for convenience only should be understood as equivalent.

[0093] Referring to Figure 2 The picture cloud storage processing method of the present application includes the following steps in its typical embodiment:

[0094] Step S11, obtain the upload picture pushed by the client, and push the upload picture to the cloud storage server through the temporary picture upload interface provided by the cloud storage server:

[0095] The client generally selects a locally stored picture as the upload picture through a control for uploading pictures in a graphical user interface, and pushes the upload picture to the current server, so that the current server receives the upload picture pushed by the client. For example, in a user avatar customization online service or a live room cover customization online service provided by the platform for users, the platform user in the client selects a locally stored picture as an upload picture through a control for uploading user avatar pictures in a page of the user avatar customization online service or through a control for uploading live room cover pictures in a page of the live room cover customization online service, and pushes the upload picture to the current server, so that the current server receives the upload picture pushed by the client.

[0096] The cloud storage server generally refers to a server deployed by a cloud storage platform for cloud storage. The cloud storage server stores picture data of clients served by the cloud storage platform or business picture data of an Internet platform. The clients or the Internet platform store their picture data in the cloud storage server for cloud storage. For example, for an Internet platform, the Internet platform provides an online service that requires picture data, such as the user avatar customization online service or the live room cover customization online service. The client first selects a locally stored picture as a user avatar picture or a live room cover picture to be stored in the cloud storage server, so that the Internet platform stores the user avatar picture or the live room cover picture of the platform user in the cloud storage server. Each user avatar picture or live room cover picture can be understood as the upload picture, so that the Internet platform uses the user avatar picture or the live room cover picture stored in the cloud storage server to perform the user avatar customization online service or the live room cover customization online service.

[0097] The client needs to push a picture upload request for applying to upload the picture to the cloud storage to the current server before pushing the upload picture to the current server, so that the current server responds to the picture upload request and applies for a temporary picture upload interface to the cloud storage server. Specifically, the current server responds to the picture upload request pushed by the client and applies for a temporary picture upload interface to the cloud storage server. After the cloud storage server opens the picture upload interface to the current server, the current server will open the picture upload interface to the client, obtain the upload picture pushed by the client through the picture upload interface, so that the current server pushes the upload picture to the cloud storage server through the temporary picture upload interface.

[0098] After the current server receives the upload picture pushed by the client, it pushes the upload picture to the cloud storage server to drive the cloud storage server to obtain the upload picture, generate a corresponding cloud storage file name and cloud storage access link for the upload picture, and then store the upload picture, the cloud storage file name and the cloud storage access link as mapping relationship data in the picture database, and complete the cloud storage of the upload picture.

[0099] Step S12: The callback intercepts the first picture upload return information that the cloud storage server needs to push to the client after storing the upload picture, and obtains the cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is named by the cloud storage server after storing the upload picture:

[0100] After the cloud storage server generates a corresponding cloud storage file name and cloud storage access link for the upload picture and stores the cloud storage file name and the cloud storage access link as mapping relationship data in the picture database, it completes the cloud storage of the upload picture, generates the first picture upload return information representing the completion of the cloud storage of the upload picture, so that the client obtains the first picture upload return information and determines that the upload picture has completed the cloud storage.

[0101] The current server can obtain the first picture upload return information from the cloud storage server through callback or interception, to isolate the client from the cloud storage server, prevent the client from invading the cloud storage server through the data communication link of the cloud storage server pushing the first picture upload return information, when the cloud storage server opens the callback interface for the first picture upload return information to the current server, the current server can obtain the first picture upload return information from the cloud storage server through the callback interface, if the cloud storage server does not open the callback interface to the current server, the current server obtains the first picture upload return information by intercepting when the cloud storage server pushes the first picture upload return information to the client after completing the cloud storage of the upload picture.

[0102] After the current server obtains the first picture upload return information, the first picture upload return information is parsed to obtain the cloud storage file name contained in the first picture upload return information, and then the cloud storage file name is used to generate a temporary cloud storage access link or a picture feature code for the upload picture.

[0103] Step S13, based on the cloud storage file name, generate a temporary cloud storage access link or a picture feature code for the upload picture, push the second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client:

[0104] After obtaining the cloud storage file name contained in the first picture upload return information, the current server will generate the temporary cloud storage access link or the picture feature code for the upload picture based on the cloud storage file name.

[0105] The temporary cloud storage access link can be used by the client to temporarily obtain the corresponding upload picture from the cloud storage server. For example, for a client without a local echo module, the current server can generate a corresponding temporary cloud storage access link according to the cloud storage file name, encapsulate the temporary cloud storage access link into the second picture upload return information, and push it to the client, so that the client displays the corresponding upload picture temporarily obtained from the cloud storage server through the temporary cloud storage access link. The local echo module is used to store the upload picture in the local running memory for memory call display, or to obtain the upload picture from the local storage space for display. The temporary cloud storage access link generally sets a corresponding temporary access time length. Within the temporary access time length, the client can obtain the corresponding upload picture from the cloud storage server through the temporary cloud storage access link. After the temporary access time length, the client cannot obtain the upload picture from the cloud storage server through the temporary cloud storage access link, that is, the client can only access the cloud storage server within the temporary access time length, thereby preventing the client from performing illegal intrusion behavior on the cloud storage server through the temporary cloud storage access link.

[0106] The picture feature code is the feature code data generated by the current server according to the cloud storage file name. For example, the picture feature code can be a hash code determined by the current server by using a hash code algorithm on the cloud storage file name. For a client with a local echo module, the current server generates a corresponding picture feature code according to the cloud storage file name, and encapsulates the picture feature code into the second picture upload return information and pushes it to the client. Because the client has the local echo module, the client can obtain the upload picture corresponding to the second picture upload return information from the local running memory or the local storage space for display. The client can apply the picture feature code to the business online service of the upload picture. For example, when the business online service is a user avatar customization online service or a live room cover customization online service, the client can push the picture feature code to the business server to drive the business server to obtain the cloud storage access link of the upload picture from the current server through the picture feature code, and then obtain the upload picture from the cloud storage server through the cloud storage access link for business use. The upload picture is also used as a user avatar picture or a live room cover picture of a platform user of the client.

[0107] After the current server generates the temporary cloud storage access link or the picture feature code corresponding to the cloud storage file name, it stores the cloud storage file name and the temporary access link or the picture feature code as mapping relationship data.

[0108] After the client receives the second picture upload return information pushed by the current server, it is indicated that the upload picture uploaded by the client has completed cloud storage. At this time, if the client needs to echo the upload picture, it can obtain the upload picture through the local echo module it has or the temporary cloud storage access link contained in the second picture upload return information to display.

[0109] Step S14, listen to the service usage state of the upload picture in the cloud storage server, and when it is found that the service usage state of the upload picture is still not used after the limited storage time, remove the upload picture from the cloud storage server:

[0110] After the current server pushes the upload picture to the cloud storage server, intercepts the first picture upload return information, or pushes the second picture upload return information of the upload picture to the client, the service usage state of the upload picture in the cloud storage server is listened to to listen to whether the upload picture is used after the limited storage time. If it is not used, the upload picture will be removed from the cloud storage server.

[0111] When the cloud storage server stores the upload picture pushed by the current server, the service usage state indicating not used is generated for the generated picture, and the service usage state is stored in the picture database corresponding to the generated picture, so that the current server listens to the service usage state of the upload picture in the cloud storage server.

[0112] Regarding how the current server listens to the service usage state of the upload picture in the cloud storage server, specifically, after the current server pushes the upload picture to the cloud storage server, intercepts the first picture upload return information, or pushes the second picture upload return information of the upload picture to the client, the current time is taken as the cloud storage time of the upload picture, and a preset time length is obtained. The limited storage time after adding the cloud storage time and the preset time length is calculated. When the time reaches the limited storage time, the current server will query the service usage state of the upload picture in the cloud storage server. When the service usage state indicates not used, the current server will drive the cloud storage server to remove the upload picture from the picture database.

[0113] Step S15, receiving the upload picture acquisition request pushed by the service server, obtaining the temporary cloud storage access link or the picture feature code contained in the upload picture acquisition request, obtaining the cloud storage access link according to the access rule corresponding to the temporary cloud storage access link or the picture feature code, and pushing the cloud storage access link to the service server, so that the service server obtains the upload picture corresponding to the upload picture acquisition request from the cloud storage service through the cloud storage access link:

[0114] The service server generally refers to the server deployed by the Internet platform associated with the client and applied to online service of business, for example, the service server used by the Internet platform to provide online service of user avatar customization or online service of live room cover customization, etc. When the upload picture stored by the current server in the cloud storage server is a user avatar picture applied to the online service of user avatar customization or a live room cover picture applied to the online service of live room cover customization, the client will push the temporary cloud storage access link or the picture feature code to the service server, so that the service server pushes the upload picture acquisition request containing the temporary cloud storage access link or the picture feature code to the current server, and drives the current server to push the cloud storage access link of the upload picture to the service server according to the temporary cloud storage access link or the picture feature code, so that the service server obtains the upload picture from the cloud storage service through the cloud storage access link, and applies the upload picture to the online service of user avatar customization or the online service of live room cover customization, and takes the upload picture as the platform user avatar picture or the live room cover picture of the client.

[0115] When the temporary cloud storage access link contained in the upload picture acquisition request pushed by the service server, the current server will determine the upload picture stored in the cloud storage server corresponding to the temporary cloud storage access link, modify the cloud storage file name of the upload picture in the cloud storage server to a new cloud storage file name, and then generate the cloud storage access link acting on the upload picture according to the new storage file name, and push the cloud storage access link to the service server, so that the service server obtains the upload picture from the cloud storage service through the cloud storage access link, and updates the business use state of the upload picture in the cloud storage server to used, preventing the upload picture from being removed by the business use state business monitoring task event of the current server.

[0116] When the picture feature code contained in the upload picture acquisition request pushed by the service server, the current server will query the cloud storage file name stored corresponding to the picture feature code, to query the upload picture corresponding to the picture feature code from the cloud storage server through the cloud storage file name, and then acquire the cloud storage access link stored in the cloud storage server corresponding to the upload picture, and push the cloud storage access link to the service server, so that the service server acquires the upload picture from the cloud storage server through the cloud storage access link, and updates the service use state of the upload picture in the cloud storage server to used, preventing the upload picture from being removed by the service use state service monitoring task event of the current server.

[0117] Through the typical embodiment of the method, the method provides an illegal intrusion protection system for protecting picture cloud storage services for the cloud storage platform, to protect the picture database of the cloud storage server of the cloud storage platform, and prevent illegal users from intruding the picture database of the cloud storage server through the picture upload interface or the cloud storage access link provided by the cloud storage server to perform illegal activities; the illegal intrusion protection system receives the upload picture of the client to the cloud storage server, and pushes the upload picture to the cloud storage server through the temporary picture upload interface provided by the cloud storage server, so that the client cannot access the picture upload interface provided by the cloud storage server, and when the cloud storage server needs to send picture upload return information to the client after completing cloud storage of the upload picture, the illegal intrusion protection system will acquire the picture upload return information through callback or interception for modification, to prevent the cloud storage server from pushing the picture upload return information to the client, so that the client cannot illegally intrude the cloud storage server through the picture upload return information; the illegal intrusion protection system generates a corresponding temporary cloud storage access link or picture feature code through the cloud storage file name for naming the upload picture by the cloud storage server, and then encapsulates the temporary cloud storage access link or the picture feature code to generate new picture upload return information and push it to the client, to notify the client that the upload picture has completed cloud storage, wherein the temporary cloud storage access link can be used by the client without the local echo function of the upload picture, and the client can acquire the uploaded picture through the temporary cloud storage access link for echo.

[0118] Secondly, the method will monitor the cloud storage event flow of the upload picture in the cloud storage platform, and remove the upload picture that has not been used by the business for more than a limited storage time from the cloud storage platform by monitoring the business use state of the upload picture in the cloud storage, to prevent illegal clients from illegally intruding the cloud storage platform by using the upload picture, and to save the storage space in the cloud storage platform.

[0119] In addition, the temporary cloud storage access link and the picture feature code generated by the method can still be used by an online service of the Internet platform that uses the picture data uploaded by the client for business. The business server of the Internet platform drives the illegal intrusion protection system to obtain a long-term or permanent cloud storage access link of the uploaded picture required by the business server according to the rules corresponding to the temporary cloud storage access link or the picture feature code by pushing the temporary cloud storage access link or the picture feature code to the illegal intrusion protection system, so that the business server can obtain the corresponding uploaded picture from the cloud storage server through the cloud storage access link for business use, so that the illegal intrusion protection system can provide feedback for the picture upload to prevent the illegal client from intruding the cloud storage server, and at the same time, the business execution process of the online service of the Internet platform about the user uploading the picture is not affected.

[0120] The typical embodiments and their variant embodiments fully disclose the implementation of the picture cloud storage processing method of the present application, but various variant embodiments of the method can still be deduced by transforming and expanding some technical means, as follows:

[0121] In an embodiment, referring to Figure 3 , the step of obtaining the uploaded picture pushed by the client through the temporary picture upload interface provided by the cloud storage server includes the following steps:

[0122] Step S111, in response to the picture upload request pushed by the client, applying for a temporary picture upload interface to the cloud storage server:

[0123] When the client needs to upload picture data to the cloud storage server, the picture upload request pushed to the current server will be used to apply for a picture cloud storage service to the cloud storage server by the current server on behalf of the client. After the current server receives the picture upload request, the corresponding temporary picture upload interface will be applied to the cloud storage server for uploading the picture data of the client.

[0124] The current server applies for a temporary picture upload interface to the cloud storage server, so that the cloud storage server opens the temporary picture upload interface to the current server in response to the temporary picture upload interface application instruction.

[0125] Step S112, opening the picture upload interface to the client to obtain the uploaded picture pushed by the client through the picture upload interface:

[0126] After the current server obtains the temporary picture upload interface applied by the current server to the cloud storage server, the current server opens the picture upload interface to the client, so that the client pushes the selected picture data as an upload picture to the current server through the picture upload interface.

[0127] Step S113, pushing the upload picture to the cloud storage server through the temporary picture upload interface:

[0128] After the current server obtains the upload picture pushed by the client through the picture upload interface, the current server pushes the upload picture to the cloud storage server through the temporary picture upload interface, and drives the cloud storage server to store the upload picture.

[0129] In the embodiment, in order to prevent the client from directly obtaining the picture upload interface of the server of the cloud storage platform, the server stores the picture data uploaded by the client to the cloud storage platform on behalf of the client, and the server applies a temporary picture upload interface to the cloud storage server for the client to push the picture data uploaded by the client, so that the picture uploaded by the client can be uploaded to the cloud storage server by the server for cloud storage without contacting the picture upload interface of the cloud storage server.

[0130] In one embodiment, please refer to Figure 4 The callback intercepts the first picture upload return information that the cloud storage server needs to push to the client after storing the upload picture, and obtains the cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is named in the step of storing the upload picture by the cloud storage server, and the step includes the following steps:

[0131] Step S121, when the callback interface for the first picture upload return information opened by the cloud storage server is obtained, after pushing the upload picture to the cloud storage server, the first picture upload return information generated by the cloud storage server after completing the cloud storage of the upload picture is obtained from the cloud storage server through the callback interface:

[0132] For the cloud storage server that opens the callback interface to the current server, when the current server pushes the upload picture uploaded by the client to the cloud storage server, and the cloud storage server generates the first picture upload return information for the upload picture after completing the cloud storage of the upload picture, at this time, the current server obtains the first picture upload return information from the cloud storage server through the callback interface.

[0133] Step S122, when not having the callback interface, after pushing the uploaded picture to the cloud storage server, intercepting the first picture upload return information pushed by the cloud storage server to the corresponding client after the cloud storage server completes the cloud storage of the uploaded picture:

[0134] For the cloud storage server which does not open the callback interface to the current server, when the current server pushes the uploaded picture uploaded by the client proxy to the cloud storage server, and the cloud storage server generates the first picture upload return information acting on the uploaded picture after completing the cloud storage of the uploaded picture, the current server intercepts the first picture upload return information from the data communication link between the cloud storage server and the client to obtain the first picture upload return information.

[0135] Step S123, obtaining the cloud storage file name contained in the first picture upload return information:

[0136] After the current server obtains the first picture upload return information through the callback interface or interception, the current server parses the first picture upload return information to obtain the cloud storage file name contained in the first picture upload return information.

[0137] In the embodiment, the server can obtain the picture upload return information returned by the cloud storage server after storing the uploaded picture of the client to the client through callback or interception, so that the picture cloud storage protection system can be applied to the cloud storage server supporting callback or not supporting callback, and the adaptability of the picture cloud storage protection system to the cloud storage platform is improved.

[0138] In an embodiment, please refer to Figure 5 Based on the cloud storage file name, generate a temporary cloud storage access link or a picture feature code acting on the uploaded picture, and push the second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client.

[0139] Step S131, detecting whether the client of the uploaded picture corresponding to the uploaded cloud storage file name has an uploaded picture local echo module:

[0140] The local echo module is used for the client to store the uploaded picture in the local running memory for memory calling display, or to obtain the uploaded picture from the local storage space for display.

[0141] Step S132, when the client has the uploaded picture local echo module, generating a corresponding picture feature code according to the cloud storage file name, and pushing the second picture generation return information containing the picture feature code to the client:

[0142] For the client with the uploading picture local echo module, the current server generates the picture feature code corresponding to the cloud storage file name, and encapsulates the picture feature code into the second picture uploading return information and pushes it to the client. Since the client has the uploading picture local echo module, the client can display the uploading picture corresponding to the second picture uploading return information from the local running memory or the local storage space. The client can apply the picture feature code to the business online service of the uploading picture.

[0143] In step S133, when the client does not have the uploading picture local echo module, a temporary cloud storage access link corresponding to the cloud storage file name is generated, and the second picture generation return information containing the temporary cloud storage access link is pushed to the client, so that the client displays the corresponding uploading picture obtained from the cloud storage server through the temporary cloud storage access link:

[0144] For the client without the uploading picture local echo module, the current server can generate a corresponding temporary cloud storage access link according to the cloud storage file name, so as to encapsulate the temporary cloud storage access link into the second picture uploading return information and push it to the client. The client displays the corresponding uploading picture obtained from the cloud storage server through the temporary cloud storage access link, and the temporary cloud storage access link can also be applied to the business online service of the uploading picture.

[0145] In this embodiment, the picture feature code or the temporary cloud storage access link of the uploading picture uploaded by the client is generated according to whether the client has the local echo function, so that the client without the local echo function can echo the uploaded picture through the temporary cloud storage access link. In addition, the temporary cloud storage access link provided to the client is not the permanent cloud storage access link of the uploading picture in the cloud storage server, which can effectively prevent the client from illegally invading the cloud storage server through the permanent cloud storage access link, so as to protect the cloud storage service of the cloud storage server.

[0146] In one embodiment, please refer to Figure 6 , the business use state of the uploading picture in the cloud storage server is monitored, and when it is monitored that the business use state of the uploading picture is still not used after the limited storage time, the uploading picture is removed from the cloud storage server.

[0147] In step S141, after pushing the uploading picture to the cloud storage server, the cloud storage time acting on the uploading picture is determined:

[0148] When the current server pushes the uploaded picture to the cloud storage server, the current time is taken as the cloud storage time acting on the uploaded picture.

[0149] In step S142, a preset time length is obtained, and the cloud storage time and the preset time length are calculated to obtain a corresponding limited storage time. When the time reaches the limited storage time, the business usage state of the uploaded picture in the cloud storage server is queried.

[0150] The preset time length is generally set in the time range of 10 to 20 minutes. Of course, the preset time length can be flexibly designed by those skilled in the art, and details are not described here.

[0151] In step S143, when the business usage state is not used, the uploaded picture is removed from the cloud storage server.

[0152] When the business usage state of the uploaded picture is not used, the current server drives the cloud storage server to remove the uploaded picture from the picture database. If the business usage state is used, the uploaded picture is not removed.

[0153] In this embodiment, the business usage state of the uploaded picture uploaded to the cloud storage server is detected by delaying the task, and the uploaded picture that is not used by the business for more than a preset time length is removed to prevent illegal users from using their own uploaded pictures to hack the cloud storage server through illegal hacking technology.

[0154] In one embodiment, please refer to Figure 7 , receive the uploaded picture acquisition request pushed by the business server, obtain the temporary cloud storage access link or the picture feature code contained in the uploaded picture acquisition request, and obtain the cloud storage access link pushed into the business server according to the access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code. The steps include the following steps:

[0155] In step S151, the uploaded picture acquisition request pushed by the business server is received, and the temporary cloud storage access link contained in the uploaded picture acquisition request is obtained.

[0156] When the current server receives the temporary cloud storage access link contained in the uploaded picture acquisition request pushed by the business server, the access link acquisition rule corresponding to the temporary cloud storage access link is used to obtain the cloud storage range link of the uploaded picture corresponding to the temporary cloud storage access link.

[0157] Step S152, determine the upload picture corresponding to the temporary cloud storage access link in the cloud storage server, modify the cloud storage file name corresponding to the upload picture in the cloud storage server to a new cloud storage file name:

[0158] The current server determines the corresponding cloud storage file name through the temporary cloud storage access link, queries the upload picture stored corresponding to the cloud storage file name from the cloud storage server, and modifies the cloud storage file name corresponding to the upload picture stored in the cloud storage server to a new cloud storage file name.

[0159] Step S153, generate a cloud storage access link acting on the upload picture according to the new storage file name, push the cloud storage access link to the business server, and update the business use state of the upload picture in the cloud storage server to used:

[0160] After the current server modifies the cloud storage file name corresponding to the upload picture in the cloud storage server to the new cloud storage file name, the current server generates a cloud storage access link acting on the upload picture according to the new storage file name. The cloud storage access link generally refers to a cloud storage access link that can access the upload picture from the cloud storage server for a long time or permanently. After the current server generates the cloud storage access link, the current server pushes the cloud storage access link to the business server, so that the business server can access the upload picture from the cloud storage server through the cloud storage access link, and update the business use state of the upload picture in the cloud storage server to used, preventing the upload picture from being removed by the business use state business monitoring task event of the current server.

[0161] In this embodiment, the business server can be provided with a service of obtaining a cloud storage access link of a corresponding upload picture through a temporary cloud storage access link, so that the temporary cloud storage access link can feed back the picture upload to prevent illegal clients from invading the cloud storage server, while not affecting the business processing of the business server. In addition, by modifying the cloud storage file name to generate a new cloud storage access link of the upload picture which can be accessed for a long time or permanently, the illegal client can be prevented from invading the cloud storage server by guessing the cloud storage file name or the cloud storage access link through the temporary cloud storage access link.

[0162] In one embodiment, please refer to Figure 8 , receive the upload picture acquisition request pushed by the business server, obtain the temporary cloud storage access link or the picture feature code contained in the upload picture acquisition request, and according to the access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code, obtain the cloud storage access link and push it to the business server.

[0163] Step S151', receiving the upload picture acquisition request pushed by the service server, and acquiring the picture feature code contained in the upload picture acquisition request:

[0164] When the current server receives the picture feature code contained in the upload picture acquisition request pushed by the service server, the permanent cloud storage range link of the upload picture corresponding to the temporary cloud storage access link is acquired using the access link acquisition rule corresponding to the picture feature code.

[0165] Step S152', querying the upload picture corresponding to the picture feature code from the cloud storage server, acquiring the cloud storage access link stored in the cloud storage server corresponding to the upload picture, pushing the cloud storage access link to the service server, and updating the service use state of the upload picture in the cloud storage server to used:

[0166] After the current server acquires the picture feature code, the cloud storage file name stored corresponding to the picture feature code is determined, and the upload picture named by the cloud storage file name is queried from the cloud storage server, and the cloud storage access link stored corresponding to the upload picture is acquired.

[0167] The current server pushes the cloud storage access link to the service server, so that the service server acquires the upload picture from the cloud storage service through the cloud storage access link, and updates the service use state of the upload picture in the cloud storage server to used, preventing the upload picture from being removed by the service use state service monitoring task event of the current server.

[0168] In the embodiment, the service server can be provided with a service of acquiring the cloud storage access link of the corresponding upload picture through the picture feature code, so that the picture feature code performs picture upload feedback to prevent illegal client intrusion into the cloud storage server, while not affecting the service processing of the service server.

[0169] Further, each step in the method disclosed in the above embodiments can be functionized to construct a picture cloud storage processing device of the present application. According to this idea, please refer to Figure 9In one of the exemplary embodiments, the device comprises: a user uploaded picture forwarding module 11 configured to obtain an uploaded picture pushed by a client, and push the uploaded picture to a cloud storage server through a temporary picture uploading interface provided by the cloud storage server; a cloud storage file name obtaining module 12 configured to intercept first picture uploading return information pushed to the client by the cloud storage server after storing the uploaded picture, and obtain a cloud storage file name contained in the first picture uploading return information, wherein the cloud storage file name is named by the cloud storage server after storing the uploaded picture; an uploading return information pushing module 13 configured to generate a temporary cloud storage access link or a picture feature code acting on the uploaded picture based on the cloud storage file name, and push second picture uploading return information containing the temporary cloud storage access link or the picture feature code to the client; a picture service state listening module 14 configured to listen to a service usage state of the uploaded picture in the cloud storage server, and remove the uploaded picture from the cloud storage server when the service usage state of the uploaded picture is still represented as unused after a limited storage time; and a cloud access link pushing module 15 configured to receive an uploaded picture obtaining request pushed by a service server, obtain a temporary cloud storage access link or a picture feature code contained in the uploaded picture obtaining request, and obtain a cloud storage access link according to an access link obtaining rule corresponding to the temporary cloud storage access link or the picture feature code, and push the cloud storage access link to the service server, so as to drive the service server to obtain an uploaded picture corresponding to the uploaded picture obtaining request from the cloud storage server through the cloud storage access link.

[0170] In one of the exemplary embodiments, the user uploaded picture forwarding module 11 comprises: a temporary uploading interface application sub-module configured to apply for a temporary picture uploading interface from the cloud storage server in response to a picture uploading request pushed by a client; a user uploaded picture obtaining sub-module configured to open a picture uploading interface to the client, and obtain an uploaded picture pushed by the client through the picture uploading interface; and an uploaded picture cloud storage sub-module configured to push the uploaded picture to the cloud storage server through the temporary picture uploading interface.

[0171] In an embodiment, the cloud storage file name obtaining module 12 comprises: an upload return information callback sub-module, configured to, when a callback interface for first picture upload return information operated by the cloud storage server is opened, push the uploaded picture to the cloud storage server, and after the uploaded picture, obtain the first picture upload return information generated by the cloud storage of the uploaded picture from the cloud storage server through callback; an upload return information interception sub-module, configured to, when the callback interface is not opened, push the uploaded picture to the cloud storage server, and after the uploaded picture, intercept the first picture upload return information pushed by the cloud storage server to the corresponding client after the cloud storage of the uploaded picture is completed; and a cloud storage file name obtaining sub-module, configured to obtain the cloud storage file name contained in the first picture upload return information.

[0172] In an embodiment, the upload return information pushing module 13 comprises: a local echo detection sub-module, configured to detect whether the client of the uploaded picture corresponding to the cloud storage file name has an uploaded picture local echo module; a picture feature code generation sub-module, configured to, when the client has the uploaded picture local echo module, generate a corresponding picture feature code according to the cloud storage file name, and push the second picture generation return information containing the picture feature code to the client; and a temporary access link generation sub-module, configured to, when the client does not have the uploaded picture local echo module, generate a corresponding temporary cloud storage access link according to the cloud storage file name, and push the second picture generation return information containing the temporary cloud storage access link to the client, so as to drive the client to obtain the corresponding uploaded picture from the cloud storage server through the temporary cloud storage access link and display the uploaded picture.

[0173] In an embodiment, the picture service state listening module 14 comprises: a cloud storage time determination sub-module, configured to, after pushing the uploaded picture to the cloud storage server, determine the cloud storage time of the uploaded picture; a service usage state query sub-module, configured to obtain a preset time length, perform time accumulation calculation on the cloud storage time and the preset time length, obtain the limited storage time, and when the time reaches the limited storage time, query the service usage state of the uploaded picture in the cloud storage server; and an uploaded picture removal sub-module, configured to, when the service usage state represents that the service is not used, remove the uploaded picture from the cloud storage server.

[0174] In one embodiment, the cloud access link push module 15 includes: a temporary access link acquisition submodule, configured to receive an image upload request pushed by a business server and acquire a temporary cloud storage access link contained in the image upload request; a cloud storage file name modification submodule, configured to determine the image upload corresponding to the temporary cloud storage access link in the cloud storage server and modify the cloud storage file name corresponding to the image upload in the cloud storage server to a new cloud storage file name; and a new cloud storage access link generation submodule, configured to generate a cloud storage access link for the image upload based on the new storage file name, push the cloud storage access link to the business server, and update the service usage status of the image upload in the cloud storage server to "used".

[0175] In another embodiment, the cloud access link push module 15 further includes: an image feature code acquisition submodule, used to receive an upload image acquisition request pushed by the business server and acquire the image feature code contained in the upload image acquisition request; and a cloud storage access link push submodule, used to query the upload image corresponding to the image feature code from the cloud storage server, acquire the cloud storage access link stored in the cloud storage server corresponding to the upload image, push the cloud storage access link to the business server, and update the service usage status of the upload image in the cloud storage server to "used".

[0176] To address the aforementioned technical problems, this application also provides a computer device for running a computer program implemented according to the image cloud storage processing method. Please refer to the following for details. Figure 10 , Figure 10 This is a basic structural block diagram of the computer device in this embodiment.

[0177] like Figure 10 The diagram shows the internal structure of a computer device. The computer device includes a processor, non-volatile storage medium, memory, and a network interface connected via a system bus. The non-volatile storage medium stores an operating system, a database, and computer-readable instructions. The database may store control information sequences. When the computer-readable instructions are executed by the processor, they enable the processor to implement an image cloud storage processing method. The processor provides computing and control capabilities, supporting the operation of the entire computer device. The memory stores computer-readable instructions, which, when executed by the processor, enable the processor to perform an image cloud storage processing method. The network interface of the computer device is used for communication with a terminal. Those skilled in the art will understand that… Figure 10The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0178] The processor in the embodiment is configured to execute the specific functions of each module / submodule in the picture cloud storage processing device of the present application, and the memory stores the program codes and various data required for executing the above modules. The network interface is configured to transmit data between the user terminal or the server. The memory in the embodiment stores the program codes and data required for executing all modules / submodules in the picture cloud storage processing device, and the server can call the program codes and data of the server to execute the functions of all submodules.

[0179] The present application also provides a non-volatile storage medium, wherein the picture cloud storage processing method is written into a computer program and stored in the storage medium in the form of computer readable instructions. When the computer readable instructions are executed by one or more processors, it means that the program is running in the computer, thereby causing the one or more processors to execute the steps of the picture cloud storage processing method of any of the above embodiments.

[0180] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer readable storage medium. When the program is executed, it can include the processes of the above-mentioned embodiments of each method. The storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0181] In summary, the present application provides an illegal intrusion protection system for protecting picture cloud storage services for a cloud storage platform, to protect the picture database of the cloud storage server of the cloud storage platform.

[0182] It should be understood that although each step in the flowchart of the accompanying drawings is shown in sequence according to the direction of the arrow, these steps are not necessarily executed in sequence according to the direction of the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and they can be executed in other orders. Moreover, at least part of the steps in the flowchart of the accompanying drawings can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.

[0183] Those skilled in the art can understand that the steps, measures and schemes in various operations, methods and processes discussed in the present application can be alternated, changed, combined or deleted. Further, other steps, measures and schemes in various operations, methods and processes discussed in the present application can also be alternated, changed, rearranged, decomposed, combined or deleted. Further, the steps, measures and schemes in various operations, methods and processes in the prior art can also be alternated, changed, rearranged, decomposed, combined or deleted.

[0184] The above only describes some embodiments of the present application. It should be pointed out that, for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which should also be considered as the protection scope of the present application.

Claims

1. A picture cloud storage processing method, characterized by, The method comprises the following steps: obtaining an upload picture pushed by a client, pushing the upload picture to a cloud storage server through a temporary picture upload interface provided by the cloud storage server; intercepting first picture upload return information which needs to be pushed to the client after the cloud storage server stores the upload picture, and obtaining a cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is named after the cloud storage server stores the upload picture; based on the cloud storage file name, generating a temporary cloud storage access link or a picture feature code acting on the upload picture, and pushing second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client; listening to the business use state of the upload picture in the cloud storage server, and removing the upload picture from the cloud storage server when it is found that the business use state of the upload picture still represents that the upload picture is not used after a limited storage time; receiving an upload picture acquisition request pushed by a business server, obtaining a temporary cloud storage access link or a picture feature code contained in the upload picture acquisition request, and obtaining a cloud storage access link according to the access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code, and pushing the cloud storage access link to the business server, so that the business server acquires the upload picture corresponding to the upload picture acquisition request from the cloud storage server through the cloud storage access link.

2. The method of claim 1, wherein, In the step of obtaining an upload picture pushed by a client and pushing the upload picture to a cloud storage server through a temporary picture upload interface provided by the cloud storage server, the following steps are included: in response to a picture upload request pushed by a client, applying for a temporary picture upload interface to the cloud storage server; opening a picture upload interface to the client, and obtaining an upload picture pushed by the client through the picture upload interface; pushing the upload picture to the cloud storage server through the temporary picture upload interface.

3. The method of claim 1, wherein, In the step of intercepting first picture upload return information which needs to be pushed to the client after the cloud storage server stores the upload picture, and obtaining a cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is named after the cloud storage server stores the upload picture, the following steps are included: when there is a callback interface acting on the first picture upload return information opened by the cloud storage server, after pushing an upload picture to the cloud storage server, the first picture upload return information generated by the cloud storage server after completing the cloud storage of the upload picture is obtained through callback from the cloud storage server; when there is no callback interface, after pushing an upload picture to the cloud storage server, the first picture upload return information pushed to the corresponding client by the cloud storage server after completing the cloud storage of the upload picture is intercepted; obtaining the cloud storage file name contained in the first picture upload return information.

4. The method of claim 1, wherein, In the step of generating a temporary cloud storage access link or a picture feature code acting on the uploaded picture based on the cloud storage file name, pushing second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client, the step comprises the following steps: Detecting whether the client of the uploaded picture corresponding to the uploaded cloud storage file name has an uploaded picture local echo module; When the client has the uploaded picture local echo module, generating a corresponding picture feature code according to the cloud storage file name, and pushing second picture generation return information containing the picture feature code to the client; When the client does not have the uploaded picture local echo module, generating a corresponding temporary cloud storage access link according to the cloud storage file name, and pushing second picture generation return information containing the temporary cloud storage access link to the client, and driving the client to obtain the corresponding uploaded picture from the cloud storage server through the temporary cloud storage access link for display.

5. The method of claim 1, wherein, In the step of listening to the service use state of the uploaded picture in the cloud storage server, and removing the uploaded picture from the cloud storage server when it is detected that the service use state of the uploaded picture still represents non-use after a limited storage time, the step comprises the following steps: After pushing the uploaded picture to the cloud storage server, determining the cloud storage time acting on the uploaded picture; Obtaining a preset time length, performing time accumulation calculation on the cloud storage time and the preset time length to obtain a corresponding limited storage time, and querying the service use state of the uploaded picture in the cloud storage server when the time reaches the limited storage time; When the service use state represents non-use, removing the uploaded picture from the cloud storage server.

6. The method of claim 1, wherein, In the step of receiving an uploaded picture acquisition request pushed by a business server, obtaining a temporary cloud storage access link or a picture feature code contained in the uploaded picture acquisition request, and obtaining a cloud storage access link according to the access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code and pushing the cloud storage access link to the business server, the step comprises the following steps: Receiving an uploaded picture acquisition request pushed by a business server, obtaining a temporary cloud storage access link contained in the uploaded picture acquisition request; Determining the uploaded picture corresponding to the temporary cloud storage access link in the cloud storage server, modifying the cloud storage file name corresponding to the uploaded picture in the cloud storage server to a new cloud storage file name; Generating a cloud storage access link acting on the uploaded picture according to the new cloud storage file name, pushing the cloud storage access link to the business server, and updating the service use state of the uploaded picture in the cloud storage server to used.

7. The method of claim 1, wherein, The step of receiving an upload picture acquisition request pushed by a service server, acquiring a temporary cloud storage access link or a picture feature code contained in the upload picture acquisition request, and pushing a cloud storage access link to the service server according to an access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code comprises the following steps: Receiving an upload picture acquisition request pushed by a service server, and acquiring a picture feature code contained in the upload picture acquisition request. Querying the upload picture corresponding to the picture feature code from the cloud storage server, acquiring a cloud storage access link stored in the cloud storage server and corresponding to the upload picture, pushing the cloud storage access link to the service server, and updating a service use state of the upload picture in the cloud storage server to used.

8. A picture cloud storage processing apparatus, characterized by, The user uploads a picture forwarding module for acquiring an upload picture pushed by a client, pushing the upload picture to a cloud storage server through a temporary picture upload interface provided by the cloud storage server; A cloud storage file name acquisition module for intercepting first picture upload return information that needs to be pushed to the client after the cloud storage server stores the upload picture, and acquiring a cloud storage file name contained in the first picture upload return information, wherein the cloud storage file name is named after the cloud storage server stores the upload picture; An upload return information pushing module for generating a temporary cloud storage access link or a picture feature code acting on the upload picture based on the cloud storage file name, and pushing second picture upload return information containing the temporary cloud storage access link or the picture feature code to the client; A picture service state monitoring module for monitoring a service use state of the upload picture in the cloud storage server, and removing the upload picture from the cloud storage server when it is monitored that the service use state of the upload picture still represents unused after a limited storage time; A cloud access link pushing module for receiving an upload picture acquisition request pushed by a service server, acquiring a temporary cloud storage access link or a picture feature code contained in the upload picture acquisition request, and pushing a cloud storage access link to the service server according to an access link acquisition rule corresponding to the temporary cloud storage access link or the picture feature code, and driving the service server to acquire the upload picture corresponding to the upload picture acquisition request from the cloud storage service through the cloud storage access link. The central processing unit is configured to invoke and run a computer program stored in the memory to perform the steps of the method of any one of claims 1 to 7.

9. An electronic device comprising a central processing unit and a memory, characterized in that The computer program is stored in the form of computer readable instructions and is implemented according to the method of any one of claims 1 to 7. When the computer program is invoked and run by a computer, the steps included in the method are executed.

10. A non-volatile storage medium, comprising: ​

Citation Information

Patent Citations

  • Business continuity implementation method and business continuity implementation system

    CN102546538A

  • Intelligent cloud video transmission and storage method and system

    CN115396689A