Data storage method and device, electronic equipment and storage medium
A data storage and database technology, applied in the field of data processing, can solve problems such as cumbersome methods, reducing user willingness to upload screenshots and user experience, and inability to capture images according to actual needs, so as to avoid cumbersome processes and improve user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a schematic flow diagram of a data storage method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the server takes a screenshot on a specific page as needed. In particular, it needs to be explained which service the user wants to upload the screenshot to end, the solution of this embodiment is executed by the corresponding server end, the method can be executed by a data storage device, the device can be implemented in the form of software and / or hardware, and the hardware can be an electronic device, such as a mobile terminal, PC or server, etc.
[0029] Such as figure 1 As shown, the method specifically includes the following steps:
[0030] S110. When an upload request for uploading a screenshot is received, determine associated information about the screenshot corresponding to the current page.
[0031] Among them, the request for uploading screenshots can be a request sent by the user to the ...
Embodiment 2
[0045] figure 2 It is a schematic flowchart of a data storage method provided by Embodiment 2 of the present invention. On the basis of the foregoing embodiments, the corresponding relationship between each screenshot page identifier and the screenshot page identifier is established in advance, and when an upload request is received, Detect the target content in the screenshot information tag control, determine the relevant information of the screenshot, and further refine the captured image; use a headless browser and a custom script to perform a screenshot operation, so that the server can simulate the user during the screenshot process Operation: storing the upload ID and the target screenshot in the cache database not only enables the current page to effectively retrieve the target screenshot, but also allows the server to directly determine by comparing the upload ID when it needs a screenshot with the same content as this interception in the future There is no need to r...
Embodiment 3
[0072] As an optional embodiment of the above embodiment, image 3 It is a schematic flowchart of a data storage method provided by Embodiment 3 of the present invention. In order to clearly introduce the technical solution of this embodiment, the application scenario can be introduced as an example where the current page needs one or more screenshots due to business requirements, but it is not limited to the above scenarios, and can also be applied to various needs In complex scenarios for data processing.
[0073] see image 3 , when the upload request from the user is received, configuration information of some necessary parameters can be generated. It can be understood that these necessary parameters and configuration information are the screenshot related information in the above embodiment, including the hyperlink corresponding to the current page At least one page to be screened and / or the target content edited in the screenshot information editing control, the target...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


