Data processing method and device, computer device, and storage medium
By introducing screenshot and switching controls into data processing, images are automatically acquired, analyzed, and written to a second page, solving the problems of low efficiency and insufficient accuracy in existing technologies and achieving highly efficient and automated data processing.
Patent Information
- Application Number
- CN202311191268.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-15
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2043-09-15
AI Technical Summary
In existing technologies, data analysis results are not linked to form pages, resulting in low data processing efficiency and insufficient accuracy of text descriptions, requiring manual input of images and text.
By displaying screenshot and toggle controls on the first page, images are automatically captured and analyzed, and then directly written into the text and image areas on the second page, thus achieving automated image and text processing.
It improves the efficiency and accuracy of data processing, reduces manual intervention, and enables automatic writing of images and text.
Smart Images

Figure CN117215460B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, specifically to data processing methods, apparatus, computer equipment, and storage media. Background Technology
[0002] In data processing, when it is necessary to generate data analysis results, it is generally necessary to first capture an image of the data analysis results, then paste the captured image into the data analysis results page, and enter the corresponding text description. Summary of the Invention
[0003] In view of this, the present disclosure provides a data processing method, apparatus, computer equipment, and storage medium to solve the problem of processing data analysis results.
[0004] In a first aspect, this disclosure provides a data processing method, the method comprising:
[0005] Obtain data filtering conditions to display the analysis results of the target data on a first page, which includes a screenshot control;
[0006] In response to an interactive operation on the screenshot control, a switching control is displayed and an image is captured within the screenshot area of the first page. The switching control is used to switch to the second page.
[0007] In response to an interactive operation on the switching control, the image is analyzed to determine the content of the target field;
[0008] Write the content of the target field into the text area corresponding to the target field in the second page, and write the image into the image area of the second page, then determine and display the second page after writing.
[0009] Secondly, this disclosure provides a data processing apparatus, the apparatus comprising:
[0010] The data filtering condition acquisition module is used to acquire data filtering conditions so as to display the analysis results of the target data on the first page, which includes a screenshot control.
[0011] The first interaction module is used to respond to the interactive operation of the screenshot control to display a switching control and obtain an image within the screenshot area of the first page, wherein the switching control is used to switch to the second page;
[0012] The second interaction module is used to respond to the interaction operation of the switching control in order to analyze the image and determine the target field content;
[0013] The writing module is used to write the content of the target field into the text area corresponding to the target field in the second page, and to write the image into the image area of the second page, and to determine and display the second page after writing.
[0014] Thirdly, this disclosure provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the data processing method described in the first aspect or any corresponding embodiment.
[0015] Fourthly, this disclosure provides a computer-readable storage medium storing computer instructions for causing a computer to perform the data processing method described in the first aspect or any corresponding embodiment thereof.
[0016] The data processing method provided in this disclosure filters data using data filtering conditions to obtain analysis results of target data, and displays the analysis results of target data on a first page. The screenshot control on the first page is used to trigger the capture of an image within the screenshot area of the first page. A switching control is also displayed when the screenshot is triggered, which is used to switch to a second page. Through interaction with the switching control, the captured image is analyzed to obtain target field content, and the target field content and the captured image are written to the text area and image area of the second page, respectively. This achieves automatic writing of the captured image and extraction and writing of keywords from the captured image, eliminating the need to switch between multiple functions and automatically writing relevant content to the second page, thus improving data processing efficiency. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a schematic flowchart of a data processing method according to an embodiment of the present disclosure;
[0019] Figure 2 This is a schematic diagram of the first page according to an embodiment of the present disclosure;
[0020] Figure 3 This is a screenshot of conclusion 1 on the first page according to an embodiment of this disclosure;
[0021] Figure 4 This is a screenshot of conclusion 2 on the first page according to an embodiment of this disclosure;
[0022] Figure 5 This is a schematic diagram of the second page according to an embodiment of the present disclosure;
[0023] Figure 6 This is a schematic diagram illustrating the second screenshot of an embodiment of this disclosure;
[0024] Figure 7 This is a schematic diagram illustrating the adjustment of a preset screenshot area according to an embodiment of this disclosure;
[0025] Figure 8 This is a schematic diagram of the adjusted screenshot area according to an embodiment of the present disclosure;
[0026] Figure 9 This is a schematic diagram of deleting a control according to a preview image 2 of an embodiment of the present disclosure;
[0027] Figure 10 This is a schematic diagram of the original image corresponding to preview image 2 according to an embodiment of this disclosure;
[0028] Figure 11 This is a schematic diagram of an adjustment control according to an embodiment of the present disclosure;
[0029] Figure 12 This is a structural block diagram of a data processing apparatus according to an embodiment of the present disclosure;
[0030] Figure 13 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present disclosure. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0032] In related technologies, data analysis results are collected in the form of forms, typically by capturing images of the analysis results and adding text descriptions. Therefore, it is necessary to capture and save multiple images for different analysis results; then, the relevant data is entered into a form. The text descriptions are manually entered by the user, while the images are entered by sequentially pasting the saved images.
[0033] However, the data analysis results and the form page are independent of each other during the aforementioned collection process; the two are unrelated. Therefore, after capturing the images of the data analysis results, users need to manually enter text descriptions and image data into the form page. This data processing method is inefficient, and the text descriptions rely heavily on the user's understanding of the data analysis results, which may also lead to lower accuracy.
[0034] Based on this, the data processing method provided in this disclosure displays the analysis results of target data that meets the data filtering conditions on a first page. After interacting with the screenshot control, a switching control is displayed, and an image within the screenshot area of the first page is automatically acquired. Then, through interaction with the switching control, the captured image is analyzed to obtain target field content. The obtained target field content and the captured image are written to the text area and image area of a second page, respectively, resulting in a second page with the relevant data written. This method, by triggering the display of the switching control when the image capture function is triggered, enables direct switching from the captured image to the second page, improving switching efficiency. Simultaneously, by analyzing the image to obtain the target field content, no manual intervention is required, improving the accuracy of the obtained target field content.
[0035] According to an embodiment of this disclosure, a data processing method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0036] This embodiment provides a data processing method that can be used in computer devices such as computers, mobile phones, and tablets. Figure 1 This is a flowchart of a data processing method according to an embodiment of the present disclosure, such as... Figure 1 As shown, the process includes the following steps:
[0037] Step S101: Obtain data filtering conditions to display the analysis results of the target data on the first page.
[0038] The first page includes a screenshot control.
[0039] Data filtering criteria are used to filter the analysis results of the target data. A data filtering criterion is a set of filtering conditions, and the number of criterions included is set according to actual needs; there is no limit to this. Data filtering criteria include, but are not limited to, filtering time, user ID, user group ID, etc.
[0040] The first page displays interactive controls corresponding to various data filtering conditions. These controls are not limited to text boxes or lists; the specific type depends on the requirements. By interacting with these controls, the filtering conditions are obtained. These conditions are then used to match the target data, thereby yielding the analysis results.
[0041] The first page also displays the analysis results of the target data, which can be displayed in various ways, including but not limited to text, images, and charts. The first page also includes a screenshot control, which triggers the screenshot function to capture an image within a preset screenshot area of the current page. The position of the screenshot control on the first page is not limited and can be set according to actual needs.
[0042] In some optional implementations, a first area of the first page includes a data filtering control for obtaining data filtering conditions. A second area of the first page displays the analysis results of the target data, and includes at least one analysis conclusion tab for switching to the corresponding analysis conclusion information.
[0043] The first page includes a first area and a second area. The first area contains data filtering controls to obtain data filtering conditions, and the second area is used to display the analysis results of the target data. Since the analysis results of the target data may include multiple conclusions, these multiple conclusions can be displayed simultaneously on the same page, or the display of the corresponding analysis conclusions can be achieved by switching between different analysis conclusion tabs.
[0044] Based on this, the second area includes at least one analysis conclusion tab. Interaction with this tab allows users to switch between different analysis conclusions, thus changing the currently displayed conclusion. For example, Figure 2 The diagram shows the first page, which includes three analysis conclusion tabs. By interacting with these three analysis conclusion tabs, the analysis conclusions displayed on the first page can be switched.
[0045] The first page includes a first area and a second area. The first area is used to obtain data filtering conditions to determine the analysis results of target data that meet the data filtering conditions. The second area includes at least one analysis conclusion tab, which allows for switching between different analysis conclusions and facilitates screenshot processing.
[0046] In some optional implementations, the second area of the first page includes a first sub-area and a second sub-area. The content displayed in the first sub-area and the second sub-area corresponds to the analysis conclusion tab. The first sub-area is used to display a brief introduction of the analysis conclusion corresponding to the analysis conclusion tab, and the second sub-area is used to display the detailed information of the analysis conclusion corresponding to the analysis conclusion tab.
[0047] Specifically, the first page includes a first area and a second area. The second area includes a first sub-area and a second sub-area. The first sub-area displays a brief summary of the conclusions, and the second sub-area displays the details of the conclusions. For example, ... Figure 2 As shown, the second area includes three analysis conclusion tabs. The content displayed in the first and second sub-areas corresponds to the currently selected analysis conclusion tab. If the currently selected analysis conclusion tab is for Conclusion 1, then the first and second sub-areas display a summary and details of Conclusion 1; if the currently selected analysis conclusion tab is for Conclusion 2, then the first and second sub-areas display a summary and details of Conclusion 2.
[0048] The second area includes two sub-areas, which are used to display introductory information and detailed information respectively, thus clearly displaying the analysis conclusions.
[0049] Step S102, in response to the interactive operation of the screenshot control, to display the switching control and acquire the image within the screenshot area of the first page.
[0050] The toggle control is used to switch to the second page.
[0051] The first page includes a screenshot control. By interacting with the screenshot control, the content corresponding to the currently selected conclusion analysis tab is captured. Specifically, after interacting with the screenshot control, an image is automatically captured within the screenshot area of the first page. Alternatively, after interacting with the screenshot control, an image is captured within a preset screenshot area, and a toggle control is displayed on the page. The preset screenshot area is a pre-defined screenshot area that corresponds to the first and second areas of the first page.
[0052] After automatically capturing an image within a preset screenshot area, if the image does not meet the requirements, a second screenshot can be taken to obtain the desired image. Therefore, after automatically capturing the image, a first screenshot reminder is displayed to indicate how to take another screenshot of the preset area. For example, as... Figure 3 As shown, after the automatic screenshot is taken, a first screenshot notification is displayed. The methods for taking a screenshot of the preset area again include, but are not limited to, single-click, double-click, etc., depending on the actual needs.
[0053] It should be noted that the size and position of the preset screenshot area can be adjusted according to actual needs. Furthermore, after confirming the preset screenshot area, the image within that area can be captured by scrolling. For example, if a scrolling screenshot control is displayed, after determining the screenshot area, the content displayed within the screenshot area can be scrolled and switched by interacting with the scrolling screenshot control, capturing all content appearing within the screenshot area. That is, while keeping the captured area unchanged, long screenshots can be taken using scrolling screenshots.
[0054] The toggle control is used to switch to the second page, which is the data analysis results collection page. That is, after taking a screenshot, interacting with the toggle control will automatically take you to the second page without requiring any other complex function switching. The toggle control is displayed after the screenshot function is triggered.
[0055] Step S103: In response to the interactive operation of the switching control, the image is analyzed to determine the content of the target field.
[0056] After interacting with the toggle control, the captured image is analyzed to extract the target field content. The target field content corresponds to the target field, which in turn corresponds to the field title in the text area of the second page. Therefore, the image analysis is based on the requirements of the field titles on the second page. For example, if the field titles on the second page include Field 1 and Field 2, then Field 1 and Field 2 are recognized in the image to obtain their corresponding field content. Image analysis can be implemented based on optical character recognition or on an image recognition model. The image recognition model takes the image as input and outputs the target field content. Of course, image analysis can also be implemented in other ways, and no limitations are imposed here.
[0057] Image analysis can be performed during the transition from the first page to the second page, or the image can be analyzed first to obtain the target field content before switching to the second page. Of course, there are no restrictions on the timing of image analysis; it can be set according to actual needs.
[0058] Step S104: Write the target field content into the text area corresponding to the target field in the second page, and write the image into the image area of the second page, then confirm and display the second page after writing.
[0059] The second page includes a text area and an image area. The target field content obtained from the image analysis is written into the text area corresponding to the target field on the second page, and the captured image is written into the image area on the second page. After both the target field content and the image are written, the second page is obtained.
[0060] like Figure 5 As shown, the target fields on the second page are Field 1 and Field 2. During image analysis, the content of Field 1 and Field 2 is extracted and written into the controls for Field 1 and Field 2 respectively. The image area on the second page includes multiple areas where images can be written, for example... Figure 5 The cut shown in the middle Figure 1 And intercept Figure 2 .
[0061] The data processing method provided in this embodiment filters data using data filtering conditions to obtain the analysis results of the target data, and displays the analysis results of the target data on a first page. The screenshot control on the first page is used to trigger the capture of an image within the screenshot area of the first page. A switching control is also displayed when the screenshot is triggered, which is used to switch to a second page. Through interaction with the switching control, the captured image is analyzed to obtain the target field content, and the target field content and the captured image are written to the text area and image area of the second page, respectively. This achieves automatic writing of the captured image and extraction and writing of keywords from the captured image, eliminating the need to switch between multiple functions and automatically writing the relevant content to the second page, thus improving the efficiency of data processing.
[0062] In some optional implementations, step S102 above includes:
[0063] Step a1: Obtain the current analysis conclusion tab in the second area.
[0064] Step a2, in response to the interactive operation of the screenshot control, displays the switching control and the preset screenshot area corresponding to the current analysis conclusion tab.
[0065] Step a3: Obtain the first image within the preset screenshot area to obtain the image within the screenshot area.
[0066] Since the content displayed in the second area of the first page corresponds to the selected current analysis conclusion tab, the current analysis conclusion tab in the second area is first retrieved to determine the corresponding display content. Through interaction with the screenshot control, the switching control and the preset screenshot area corresponding to the current analysis conclusion tab are displayed. Based on this, the first image within the preset screenshot area is captured to obtain the image within the screenshot area.
[0067] As mentioned above, the size and position of the preset screenshot area are adjustable. After interacting with the screenshot control, the first image within the preset screenshot area is automatically captured. If the first image does not meet the requirements, the image is re-captured by adjusting the size and / or position of the preset screenshot area.
[0068] The second area displays the content corresponding to the current analysis conclusion tab. After interacting with the screenshot control, the preset screenshot area corresponding to the current analysis conclusion tab is displayed, and the first image within the preset screenshot area is captured. No additional operation is required to obtain the first image, thus improving the efficiency of image capture.
[0069] In some alternative implementations, after step a3 above, the method of taking a screenshot again is further included: displaying a first screenshot reminder, which is used to indicate the screenshot method for taking a screenshot again.
[0070] For example, such as Figure 3 As shown, after automatically capturing the first image, a screenshot notification is displayed to indicate how to take a screenshot again. It should be noted that taking a screenshot again is not limited to taking a screenshot based on the preset screenshot area again; it can also be done after adjusting the preset screenshot area, etc., depending on the actual needs. The methods for taking a screenshot again include, but are not limited to, clicking or double-clicking after determining the screenshot area.
[0071] Since the first image is automatically captured, it may not meet the requirements. Therefore, by displaying a reminder for the first screenshot, a suggestion is provided to take another screenshot, thus improving screenshot efficiency.
[0072] In some alternative implementations, step a3 above includes:
[0073] Step a31: Display a preview image of the first image.
[0074] Step a32, responding to the interactive operation of the analysis conclusions tab, to switch the current analysis conclusions tab.
[0075] Step a33: Display the analysis conclusions corresponding to the current analysis conclusions tab after switching within the preset screenshot area.
[0076] Step a34: In response to an interactive operation on a non-interactive area within a preset screenshot area, a second image within the preset screenshot area is obtained.
[0077] Step a35: Display a preview image of the second image. The images within the screenshot area include both the first and second images.
[0078] After capturing the first image within the preset screenshot area, a preview of the first image is displayed. If it's necessary to capture the analysis results corresponding to the next analysis conclusion tab, users can switch between the current analysis conclusion tabs by interacting with them. For example, Figure 4The document displays three analysis conclusion tabs, namely Conclusion 1 to Conclusion 3. If the current analysis conclusion tab is the tab corresponding to Conclusion 1, and you switch to the tab corresponding to Conclusion 2 by interacting with the analysis conclusion tab, then the current analysis conclusion tab will be the tab corresponding to Conclusion 2.
[0079] Once the current analysis conclusions tab is selected, the analysis conclusions corresponding to the switched current analysis conclusions tab will be displayed within a preset screenshot area. For example, as shown below... Figure 4 As shown, a brief summary of Conclusion 2 is displayed in the first sub-region of the second region, and detailed conclusions of Conclusion 2 are displayed in the second sub-region of the second region. Correspondingly, a preset screenshot area is displayed to show the image within the preset screenshot area. If the image within the preset screenshot area meets the requirements, a second image within the preset screenshot area is obtained through interactive operations with the non-interactive areas within the preset screenshot area. The non-interactive areas within the preset screenshot area refer to the areas within the preset screenshot area excluding the interactive areas. Interactive operations in the non-interactive areas include, but are not limited to, single-click or double-click operations, etc., and are specifically set according to actual needs.
[0080] After interacting with a non-interactive area within a preset screenshot area, a second image within the preset screenshot area is obtained. A preview of the second image is then displayed.
[0081] It should be noted that the description here uses a preset screenshot area as an example. However, in the actual screenshot process, the size and / or position of the preset screenshot area can be adjusted first to determine the screenshot area, and then the image within the screenshot area can be captured. The image capture method is achieved through interaction with the non-interactive area within the screenshot area, while capturing the image again on the same page is based on the first screenshot notification.
[0082] After capturing an image, the corresponding preview image is displayed. By interacting with the analysis conclusion tab, the current analysis conclusion tab is switched, and the analysis conclusion corresponding to the current analysis conclusion tab is displayed in the preset screenshot area. By interacting with the non-interactive area, a second image is obtained, realizing the continuous capture of multiple images without the need to save, paste, and then capture the image.
[0083] In some alternative implementations, after step a33 above, the method includes: displaying a second screenshot notification, which indicates the screenshot method.
[0084] Specifically, after switching to the current analysis conclusions tab, the content of the new analysis conclusions tab is displayed. Correspondingly, a second screenshot prompt is displayed to indicate the screenshot method. For example, as shown... Figure 6As shown, after switching to the current analysis conclusion tab, a second screenshot notification is displayed for a preset duration. The second screenshot notification is displayed within a preset range of the current interaction location. The preset duration is set according to actual needs and can be 5 seconds, 3 seconds, etc.
[0085] After switching to the current analysis conclusions tab, a second screenshot reminder is displayed to indicate the screenshot method, providing guidance for screenshotting and improving the accuracy of the screenshot results.
[0086] In some optional implementations, step a3 above further includes:
[0087] Step a36: In response to the adjustment operation of the preset screenshot area, the preview image and toggle control are hidden during the adjustment process.
[0088] Step a37: After the adjustment is completed, determine the screenshot area and display the preview image and toggle controls to obtain the image within the screenshot area.
[0089] As mentioned above, after taking a screenshot, a preview image of the captured image is displayed. The size and / or position of the preset screenshot area can also be adjusted. However, due to the presence of the preview image, some displayed content may be obscured. Therefore, there is an option to adjust the preset screenshot area.
[0090] While adjusting the preset screenshot area, hide the preview image and toggle controls. For example, Figure 7 As shown, the preview image and toggle controls are hidden during the screenshot process. Alternatively, the preview image and toggle controls are only hidden if the screenshot area extends into the area where the preview image and / or toggle controls are located; if the display of the preview image and / or toggle controls is not affected, there is no need to hide the preview image and / or toggle controls.
[0091] After defining the screenshot area, preview the image and toggle controls. For example, Figure 7 This shows a schematic diagram of a page where the preset screenshot area is adjusted. Figure 8 This diagram illustrates the page after the screenshot area has been determined. After the screenshot area is defined, the image within that area is captured through interaction with the non-interactive areas of the screenshot area.
[0092] It's important to note that the image within the screenshot area does not include the preview image or the toggle controls. This is because the preview image and toggle controls are displayed as overlays of different layers. For example, layer 1 displays the content to be captured, layer 2 displays the preview image, and layer 3 displays the toggle controls. Therefore, visually, although the preview image and toggle controls are both within the screenshot area, because they reside on different layers from the content to be captured, the captured image does not include them.
[0093] The preset screenshot area is adjustable. During the adjustment process, the preview image and toggle controls are hidden to avoid obscuring the displayed content. After the adjustment is complete, the hidden content is displayed, improving the accuracy of the screenshot.
[0094] In some optional implementations, the above data processing method further includes:
[0095] Step b1: If the current interaction location is within the preview image, display the delete control on the preview image.
[0096] Step b2, in response to the interaction with the delete control, deletes the corresponding preview image.
[0097] The current interaction position is not limited to the area where an interaction is required, but rather refers to the real-time position of the interactive object. For example, the mouse click position. By detecting the current interaction position, if it is within the preview image, a delete control is displayed on the preview image. For example, ... Figure 9 As shown, the current interactive position is in preview image 2, where a delete control is displayed. By interacting with the delete control, both the preview image and its corresponding original image can be deleted.
[0098] The current interaction location is within the preview image, displaying a delete control. By interacting with the delete control, the corresponding preview image is deleted. In other words, processing is performed directly on the preview image, without needing to switch to the delete function.
[0099] In some optional implementations, the above data processing method further includes: if the current interaction position is within the preview image, in response to the interaction operation on the preview image, displaying the original image corresponding to the preview image.
[0100] If the current interaction location is within the preview image and interacts with other areas within the preview image, the original image corresponding to the preview image will be displayed. These other areas are the areas outside the delete control.
[0101] like Figure 10 As shown, if the current interaction location is within preview image 2 and interacts with other areas of preview image 2, the original image corresponding to preview image 2 will be displayed. Note that the original image is the captured image, not the preview image.
[0102] The current interactive position is within the preview image. By interacting with the preview image, the original image corresponding to the preview image will be displayed, so as to view the information of the original image.
[0103] In some optional implementations, the area for displaying the preview image also includes adjustment controls. These controls are used to switch the currently displayed preview image when the number of preview images exceeds a preset number. The adjustment controls can take the form of... Figure 11 The adjustment bar shown can also take other forms; no restrictions are placed on it here, and the specific settings should be based on actual needs.
[0104] Specifically, due to the limited size of the page area, it is impossible to display all preview images when there are many. Therefore, it is necessary to adjust the currently displayed preview images using adjustment controls. The preset number is set based on the size of the page area, and no specific value is limited here.
[0105] In some optional implementations, the second page includes a form template, which includes a text area and an image area. The image area includes at least one image sub-area for writing an image. The form template for writing the target field content and the image is the target form.
[0106] The second page is used to collect data analysis results, and it can be displayed in the form of a form template. Specifically, the form template includes a text area and an image area. The text area is used to write the target field content, and the image area is used to write the captured image. The image area includes at least one image sub-area, each used to write an image. After the target field content and image are written into the form template, the target form is obtained. Of course, after obtaining the target form, it can be adjusted according to actual needs; the specific operation is not limited.
[0107] Optionally, after obtaining the target form, it can be stored online or exported as a document for storage, depending on the actual needs.
[0108] By providing form templates, users can write the target field content and captured images in the corresponding positions, thus automatically writing and forming the target form without having to switch to other functions.
[0109] As a specific application embodiment of this disclosure, it is currently necessary to collect test analysis results of different performance characteristics of a product. Data filtering conditions corresponding to the product are entered on the first page to obtain test analysis results of different performance characteristics of the product. If the product's test performance includes three types, these correspond to three analysis conclusion tabs in the second area of the first page, namely Performance 1 to Performance 3. Each performance analysis conclusion includes a summary and details. Through interaction with the screenshot control on the first page, a first image is captured within the preset screenshot area corresponding to Performance 1, and a preview image of the first image is displayed. If the first image does not meet the requirements, the current interaction position is placed on the preview image of the first image, and a delete control is displayed on the preview image. Interacting with the delete control deletes the first image and its preview image. Further, after obtaining the first image, a first screenshot reminder is displayed to indicate the screenshot method for taking another screenshot. Before capturing, the size and / or position of the preset screenshot area are adjusted, and the image is captured again according to the first screenshot reminder. Through interaction with the analysis conclusion tab corresponding to Performance 2, the analysis conclusion for Performance 2 is displayed. At this point, a second screenshot notification is displayed. Based on the preset screenshot area, the screenshot area is determined, and the image within the screenshot area is obtained based on the second screenshot notification. This process is repeated to obtain the image within the screenshot area corresponding to performance 3. Through interaction with the toggle control, the form template is accessed, and the captured images are analyzed to obtain the target field content. The target field content is written into the text area of the form template, and the captured images are sequentially written into each screenshot sub-area of the form template to obtain the target form, thus completing the collection of the three performance analysis results for a certain product.
[0110] This embodiment also provides a data processing apparatus for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0111] This embodiment provides a data processing device, such as... Figure 12 As shown, it includes:
[0112] The data filtering condition acquisition module 1201 is used to acquire data filtering conditions so as to display the analysis results of the target data on the first page, which includes a screenshot control.
[0113] The first interaction module 1202 is used to respond to the interactive operation of the screenshot control to display the switching control and obtain the image within the screenshot area of the first page. The switching control is used to switch to the second page.
[0114] The second interaction module 1203 is used to respond to the interaction operation of the switching control in order to analyze the image and determine the content of the target field.
[0115] The writing module 1204 is used to write the content of the target field into the text area corresponding to the target field in the second page, and to write the image into the image area of the second page, and to determine and display the second page after writing.
[0116] In some optional implementations, a first area of the first page includes a data filtering control for obtaining data filtering conditions; a second area of the first page is used to display the analysis results of the target data, and the second area includes at least one analysis conclusion tab for switching to the corresponding analysis conclusion information.
[0117] In some optional implementations, the second area of the first page includes a first sub-area and a second sub-area. The content displayed in the first sub-area and the second sub-area corresponds to the analysis conclusion tab. The first sub-area is used to display a brief introduction of the analysis conclusion corresponding to the analysis conclusion tab, and the second sub-area is used to display the detailed information of the analysis conclusion corresponding to the analysis conclusion tab.
[0118] In some alternative implementations, the first interaction module 1202 includes:
[0119] The tab acquisition unit is used to acquire the current analysis conclusion tab in the second area.
[0120] The first interactive response unit is used to respond to interactive operations on the screenshot control to display the switching control and the preset screenshot area corresponding to the current analysis conclusion tab.
[0121] The first image acquisition unit is used to acquire a first image within a preset screenshot area to obtain an image within the screenshot area.
[0122] In some optional embodiments, the first image acquisition unit, the apparatus further includes:
[0123] The first screenshot notification display module is used to display the first screenshot notification, which indicates the method for taking a screenshot again.
[0124] In some optional implementations, the first image acquisition unit includes:
[0125] The preview image display subunit is used to display a preview image of the first image.
[0126] The first interactive response subunit is used to respond to interactive operations on the analysis conclusions tab to switch the current analysis conclusions tab.
[0127] The analysis conclusion display sub-unit is used to display the analysis conclusions corresponding to the current analysis conclusion tab after switching within a preset screenshot area.
[0128] The second interactive response subunit is used to respond to interactive operations on non-interactive areas within a preset screenshot area in order to obtain a second image within the preset screenshot area.
[0129] A preview image of the second image is displayed, and the images within the screenshot area include both the first and second images.
[0130] In some optional implementations, the first image acquisition unit further includes:
[0131] The third interactive response subunit is used to respond to the adjustment operation of the preset screenshot area, and hide the preview image and switch controls during the adjustment process.
[0132] The screenshot area determination sub-unit is used to determine the screenshot area and display a preview image and toggle controls after adjustment to obtain the image within the screenshot area.
[0133] In some alternative implementations, the analysis results show that the sub-unit includes:
[0134] The second screenshot reminder display sub-unit is used to display the second screenshot reminder, which is used to indicate the screenshot method.
[0135] In some alternative embodiments, the apparatus further includes:
[0136] The delete control display module is used to display a delete control on the preview image if the current interaction position is within the preview image.
[0137] The deletion module is used to respond to interactive operations with the deletion control to delete the preview image and the corresponding original image corresponding to the deletion control.
[0138] In some alternative embodiments, the apparatus further includes:
[0139] The original image display module is used to display the original image corresponding to the preview image in response to interactive operations on other areas within the preview image if the current interactive position is within the preview image. Other areas are the areas outside the delete control.
[0140] In some optional implementations, the area for displaying the preview image also includes an adjustment control for switching the currently displayed preview image when the number of preview images exceeds a preset number.
[0141] In some optional implementations, the second page includes a form template, which includes a text area and an image area. The image area includes at least one image sub-area for writing an image. The form template for writing the target field content and the image is the target form.
[0142] In this embodiment, the data processing device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0143] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0144] This disclosure also provides a computer device having the above-described features. Figure 12 The data processing device shown.
[0145] Please see Figure 13 , Figure 13 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of this disclosure, such as... Figure 13 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 13 Take a processor 10 as an example.
[0146] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0147] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0148] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0149] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0150] The computer device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30, and output device 40 can be connected via a bus or other means. Figure 13 Taking the example of a connection between China and Israel via a bus.
[0151] Input device 30 can receive input numerical or character information, and generate key signal inputs related to user settings and function control of the computer device, such as a touchscreen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display devices, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors). The aforementioned display devices include, but are not limited to, liquid crystal displays, light-emitting diodes, displays, and plasma displays. In some alternative embodiments, the display device may be a touchscreen.
[0152] This disclosure also provides a computer-readable storage medium in which the methods described in this disclosure can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium after being downloaded over a network. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium may be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0153] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0154] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0155] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0156] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0157] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A data processing method, characterized in that, The method includes: Obtain data filtering conditions to display the analysis results of the target data on a first page, which includes a screenshot control; In response to an interactive operation on the screenshot control, a switching control is displayed and an image is captured within the screenshot area of the first page. The switching control is used to switch to a second page, wherein the second page is the page for collecting the analysis results. In response to an interactive operation on the switching control, the image is analyzed to determine the content of the target field; The target field content is automatically written into the text area corresponding to the target field in the second page, and the image is automatically written into the image area of the second page. The second page after writing is then determined and displayed.
2. The method according to claim 1, characterized in that, The first area of the first page includes a data filtering control, which is used to obtain the data filtering conditions; the second area of the first page is used to display the analysis results of the target data, and the second area includes at least one analysis conclusion tab, which is used to switch to the corresponding analysis conclusion information.
3. The method according to claim 2, characterized in that, The second area of the first page includes a first sub-area and a second sub-area. The content displayed in the first sub-area and the second sub-area corresponds to the analysis conclusion tab. The first sub-area is used to display a brief introduction of the analysis conclusion corresponding to the analysis conclusion tab, and the second sub-area is used to display the detailed information of the analysis conclusion corresponding to the analysis conclusion tab.
4. The method according to claim 2, characterized in that, The response to the interactive operation of the screenshot control to display the switching control and acquire the image within the screenshot area of the first page includes: Retrieve the current analysis conclusions tab in the second region; In response to interactive operations on the screenshot control, the switch control and the preset screenshot area corresponding to the current analysis conclusion tab are displayed; Obtain the first image within the preset screenshot area to obtain the image within the screenshot area.
5. The method according to claim 4, characterized in that, After acquiring the first image within the preset screenshot area, the method further includes: The first screenshot notification is displayed, which indicates the method for taking a screenshot again.
6. The method according to claim 4, characterized in that, The step of obtaining a first image within the preset screenshot area to obtain an image within the screenshot area includes: Display a preview image of the first image; In response to the interactive operation of the analysis conclusions tab, switch the current analysis conclusions tab; The analysis conclusions corresponding to the current analysis conclusions tab after switching are displayed within the preset screenshot area; In response to an interactive operation on a non-interactive area within the preset screenshot area, a second image within the preset screenshot area is obtained; A preview image of the second image is displayed, and the images within the screenshot area include both the first image and the second image.
7. The method according to claim 6, characterized in that, The step of obtaining a first image within the preset screenshot area to obtain an image within the screenshot area further includes: In response to the adjustment operation of the preset screenshot area, the preview image and the switching control are hidden during the adjustment process; After the adjustment is completed, the screenshot area is determined and the preview image and the switching control are displayed to obtain the image within the screenshot area.
8. The method according to claim 6, characterized in that, Following the step of displaying the analysis conclusion corresponding to the current analysis conclusion tab after switching within the preset screenshot area, the following steps are included: A second screenshot notification will be displayed, which indicates the method of taking the screenshot.
9. The method according to claim 6, characterized in that, The method further includes: If the current interaction location is within the preview image, a delete control is displayed on the preview image; In response to an interaction with the delete control, the preview image corresponding to the delete control and the corresponding original image are deleted.
10. The method according to claim 9, characterized in that, The method further includes: If the current interaction location is within the preview image, in response to interaction operations on other areas within the preview image, the original image corresponding to the preview image is displayed, where the other areas are areas other than the delete control.
11. The method according to claim 6, characterized in that, The area for displaying the preview image also includes an adjustment control, which is used to switch the currently displayed preview image when the number of preview images exceeds a preset number.
12. The method according to any one of claims 1 to 11, characterized in that, The second page includes a form template, which includes the text area and the image area. The image area includes at least one image sub-area, which is used to write the image. The form template for writing the target field content and the image is the target form.
13. A data processing apparatus, characterized in that, The device includes: The data filtering condition acquisition module is used to acquire data filtering conditions so as to display the analysis results of the target data on the first page, which includes a screenshot control. The first interaction module is used to respond to the interactive operation of the screenshot control to display a switching control and obtain the image within the screenshot area of the first page. The switching control is used to switch to the second page, wherein the second page is the collection page for the analysis results. The second interaction module is used to respond to the interaction operation of the switching control in order to analyze the image and determine the target field content; The writing module is used to automatically write the content of the target field into the text area corresponding to the target field in the second page, and to automatically write the image into the image area of the second page, and to determine and display the second page after writing.
14. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the data processing method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the data processing method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Image processing method and device, computer equipment and storage medium
CN111144320A
Object adding method and device
CN112162812A
Image editing method and device, computer equipment and storage medium
CN112312217A