A drag-and-drop configuration method based on fresh food large-screen business report

By introducing drag and drop configuration methods and iterative aggregated value encryption processing in fresh food business reports, the problems of inefficient efficiency and insufficient data security of traditional report generation methods are solved, and real-time dynamic configuration and data security guarantee of fresh food business reports are realized.

CN119783647AActive Publication Date: 2025-04-08四川参盘供应链科技有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510294357.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-04-08
Estimated Expiration
2045-03-13

AI Technical Summary

Technical Problem

The traditional fresh food business report generation method is inefficient and error-prone, and cannot meet the real-time and dynamic needs of fresh food business reports. The existing drag-and-drop configuration methods lack in-depth considerations on the quality of fresh food items and data security.

Method used

A drag-and-drop configuration method based on the large-screen business report of fresh food is proposed. By dynamically generating the target area based on the quality of fresh food items, drag-and-drop operations and rendering operations, the final business report is generated, and the iterative aggregate value of the final business report is used for encryption processing.

Benefits of technology

Real-time update and dynamic configuration of fresh food business reports is realized, data confidentiality and integrity are enhanced, and information security is guaranteed for enterprises, helping enterprises to accurately manage fresh food inventory, reduce expired losses, and increase inventory turnover.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119783647A_ABST
    Figure CN119783647A_ABST
Patent Text Reader

Abstract

The present invention discloses a drag configuration method based on a large-screen business report of fresh food, which belongs to the field of data processing technology, and includes the following steps: S1, generating a target area for each fresh food item according to the shelf life of the fresh food item in the real-time business report; S2, performing drag operations and rendering operations based on the target area of ​​each fresh food item to obtain a final business report; S3, encrypting the final business report using several iterative aggregation values ​​of the final business report. The present invention enhances the confidentiality and integrity of the report data, provides a strong guarantee for the information security of the enterprise, and helps the enterprise to achieve accurate management of fresh food inventory, reduce expiration losses, and improve inventory turnover.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing technology, and in particular relates to a drag configuration method based on a large-screen business report of fresh food. Background Art

[0002] In modern retail, the management and sales of fresh food are crucial. Since the shelf life of fresh food is relatively short, its inventory management report presentation requires a high degree of real-time and accuracy. Traditional report generation methods often rely on manual input and static configuration, which is not only inefficient but also prone to errors, and cannot meet the real-time and dynamic requirements of fresh food business reports.

[0003] In order to solve this problem, the industry began to explore business report generation methods based on drag-and-drop configuration. However, most of the existing drag-and-drop configuration methods remain at the interface interaction level, lacking in-depth consideration of fresh food item shelf life and data security. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a drag configuration method based on a large-screen business report of fresh food.

[0005] The technical solution of the present invention is: a drag configuration method based on a fresh food large-screen business report comprises the following steps:

[0006] S1. Generate a target area for each fresh food item according to the quality status of the fresh food item in the real-time business report;

[0007] S2. Based on the target area of ​​each fresh food item, drag and drop operations and rendering operations are performed to obtain a final business report;

[0008] S3. Encrypt the final business report using several iterative aggregation values ​​of the final business report.

[0009] Furthermore, S1 includes the following sub-steps:

[0010] S11. Obtain the remaining shelf life of fresh food items in the real-time business report;

[0011] S12, arranging the remaining shelf life of the fresh food items in order from low to high, and generating a pending business report;

[0012] S13. Determine the target area of ​​each fresh food item according to the real-time business report and the pending business report.

[0013] Furthermore, S2 includes the following sub-steps:

[0014] S21, generating a dragging track for each fresh food item according to the current area and the target area of ​​each fresh food item;

[0015] S22, using a drag event to drag each fresh food item along the drag track to a target area, to obtain a business report to be rendered;

[0016] S23: Render the business report to be rendered to obtain a final business report.

[0017] The beneficial effect of the above further scheme is: in the present invention, it is necessary to know the current position (i.e., the current area) and the target position (i.e., the target area) of each fresh food item, and then obtain an optimal path from the current position to the target position, i.e., the dragging trajectory. It is necessary to monitor the user's dragging operation, and perform corresponding operations when the user starts dragging (dragstart event), during the dragging process (involving dragover, which usually refers to the event of dragging an element into a certain droppable area, and the movement during the dragging process is more dependent on the continuous processing of the drag event or the mouse movement event), and when the dragging ends (dragend event). During the dragging process, the position of the fresh food item needs to be dynamically updated according to the pre-calculated dragging trajectory until it is dragged to the target area. Once the dragging is completed, the system can generate a business report to be rendered containing the latest location information.

[0018] Furthermore, in S22, the dragstart drag event is monitored when the fresh food item starts to be dragged, the drag drag event is monitored when the fresh food item is dragged along the drag track to the target area, and the dragend drag event is monitored when the drag operation is completed.

[0019] Furthermore, S3 includes the following sub-steps:

[0020] S31, generating an initial iteration model for the first line of fresh food items in the final business report;

[0021] S32. Based on the initial iteration model, generate iteration aggregation values ​​for the remaining rows of the final business report;

[0022] S33, generating a password pair according to a number of iterative aggregation values;

[0023] S34. Encrypt the final business report using a password.

[0024] The beneficial effect of the above further scheme is: in the present invention, the dragstart event inherits from the MouseEvent interface, so the event object contains a timeStamp attribute to record the timestamp of the event triggering, and the password pair is generated by iterating the aggregate value, which can increase the security of the data and prevent unauthorized access. IDfirst provides a unique identifier for the first row of fresh food items in the report, which helps to accurately identify and reference the item in subsequent processing. STAMP first The introduction of makes the initial iteration model associated with the timestamp of the drag event, which can reflect the timeliness of data generation, which is particularly important for scenarios that need to track data freshness. The application of the HASH(·) function provides a fixed hash value for the initial iteration model. If the first row of data in the report is tampered with, its hash value will change and can be detected. Through iteration, each row of fresh food items can be calculated based on the data of the previous row (or the initial iteration model), integrating multiple dimensions of information such as ID value, remaining shelf life time and timestamp parameters, making the report data more comprehensive and timely.

[0025] Furthermore, in S31, the initial iteration model Q * The expression is:

[0026] ; Where, ID first Indicates the ID value of the first row of fresh food items in the final business report, T first Indicates the remaining shelf life of the first line of fresh food items in the final business report, STAMP first It indicates the timestamp parameter of the dragstart drag event corresponding to the first row of fresh food items in the final business report. HASH(·) indicates the hash function.

[0027] Furthermore, in S32, the calculation formula for the iterative aggregation value of the fresh food item in the tth row in the final business report is:

[0028] ; Where, ID k represents the ID value of the fresh food item in the kth row in the final business report, T2 represents the remaining shelf life of the fresh food item in the second row in the final business report, T3 represents the remaining shelf life of the fresh food item in the third row in the final business report, and T k Indicates the remaining shelf life of the fresh food item in row k in the final business report, STAMP k represents the timestamp parameter of the dragstart drag event corresponding to the k-th row of fresh food in the final business report, HASH(·) represents the hash function, Q * Represents the initial iteration model.

[0029] Further, S33 includes the following sub-steps:

[0030] S331, taking the average of several iterative aggregation values;

[0031] S332: Combine the initial iterative model value and the averaged several iterative aggregation values ​​to generate a password pair.

[0032] Furthermore, in S332, the calculation formula of the password pair F is:

[0033] Where Q * represents the initial iterative model, q represents several iterative aggregation values ​​whose average is taken, and random represents a random number.

[0034] The beneficial effects of the present invention are: The present invention dynamically generates a target area according to the shelf life of fresh food, so that the report can reflect the freshness status of fresh food in real time. Through dragging and dropping operations and rendering operations, the report content can be quickly configured according to actual needs without relying on cumbersome manual input or static templates. Finally, the report is encrypted using several iterative aggregation values ​​of the final business report, which enhances the confidentiality and integrity of the report data, provides a strong guarantee for the company's information security, and helps the company to achieve accurate management of fresh food inventory, reduce expiration losses, and improve inventory turnover. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a flowchart of the drag-and-drop configuration method based on the fresh food large-screen business report. DETAILED DESCRIPTION

[0036] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0037] like Figure 1 As shown, the present invention provides a drag configuration method based on a fresh food large-screen business report, comprising the following steps:

[0038] S1. Generate a target area for each fresh food item according to the quality status of the fresh food item in the real-time business report;

[0039] S2. Based on the target area of ​​each fresh food item, drag and drop operations and rendering operations are performed to obtain a final business report;

[0040] S3. Encrypt the final business report using several iterative aggregation values ​​of the final business report.

[0041] In this embodiment of the present invention, S1 includes the following sub-steps:

[0042] S11. Obtain the remaining shelf life of fresh food items in the real-time business report;

[0043] S12, arranging the remaining shelf life of the fresh food items in order from low to high, and generating a pending business report;

[0044] S13. Determine the target area of ​​each fresh food item according to the real-time business report and the pending business report.

[0045] In this embodiment of the present invention, S2 includes the following sub-steps:

[0046] S21, generating a dragging track for each fresh food item according to the current area and the target area of ​​each fresh food item;

[0047] S22, using a drag event to drag each fresh food item along the drag track to a target area, to obtain a business report to be rendered;

[0048] S23: Render the business report to be rendered to obtain a final business report.

[0049] In the present invention, it is necessary to know the current position (i.e., the current area) and the target position (i.e., the target area) of each fresh food item, and then obtain an optimal path from the current position to the target position, i.e., the dragging trajectory. It is necessary to monitor the user's dragging operation, and perform corresponding operations when the user starts dragging (dragstart event), during the dragging process (involving dragover, which usually refers to the event of dragging an element into a certain droppable area. The movement during the dragging process is more dependent on the continuous processing of the drag event or the mouse movement event), and when the dragging ends (dragend event). During the dragging process, the position of the fresh food item needs to be dynamically updated according to the pre-calculated dragging trajectory until it is dragged to the target area. Once the dragging is completed, the system can generate a business report to be rendered containing the latest location information.

[0050] In the embodiment of the present invention, in S22, the dragstart drag event is monitored when the fresh food item starts to be dragged, the drag drag event is monitored when the fresh food item is dragged along the drag track to the target area, and the dragend drag event is monitored when the drag operation is completed.

[0051] In this embodiment of the present invention, S3 includes the following sub-steps:

[0052] S31, generating an initial iteration model for the first line of fresh food items in the final business report;

[0053] S32. Based on the initial iteration model, generate iteration aggregation values ​​for the remaining rows of the final business report;

[0054] S33, generating a password pair according to a number of iterative aggregation values;

[0055] S34. Encrypt the final business report using a password.

[0056] In the present invention, the dragstart event inherits from the MouseEvent interface, so the event object contains a timeStamp attribute to record the timestamp of the event triggering. By iterating the aggregated value to generate a password pair, the security of the data can be increased to prevent unauthorized access. IDfirst provides a unique identifier for the first row of fresh food items in the report, which helps to accurately identify and reference the item in subsequent processing. STAMP first The introduction of makes the initial iteration model associated with the timestamp of the drag event, which can reflect the timeliness of data generation, which is particularly important for scenarios that need to track data freshness. The application of the HASH(·) function provides a fixed hash value for the initial iteration model. If the first row of data in the report is tampered with, its hash value will change and can be detected. Through iteration, each row of fresh food items can be calculated based on the data of the previous row (or the initial iteration model), integrating multiple dimensions of information such as ID value, remaining shelf life time and timestamp parameters, making the report data more comprehensive and timely.

[0057] In the embodiment of the present invention, in S31, the initial iteration model Q * The expression is:

[0058] ; Where, ID first Indicates the ID value of the first row of fresh food items in the final business report, T first Indicates the remaining shelf life of the first line of fresh food items in the final business report, STAMP first It indicates the timestamp parameter of the dragstart drag event corresponding to the first row of fresh food items in the final business report. HASH(·) indicates the hash function.

[0059] In the embodiment of the present invention, in S32, the calculation formula of the iterative aggregation value of the fresh food item in the tth row in the final business report is:

[0060] ; Where, ID k represents the ID value of the fresh food item in the kth row in the final business report, T2 represents the remaining shelf life of the fresh food item in the second row in the final business report, T3 represents the remaining shelf life of the fresh food item in the third row in the final business report, and T k Indicates the remaining shelf life of the fresh food item in row k in the final business report, STAMPk represents the timestamp parameter of the dragstart drag event corresponding to the k-th row of fresh food in the final business report, HASH(·) represents the hash function, Q * Represents the initial iteration model.

[0061] In this embodiment of the present invention, S33 includes the following sub-steps:

[0062] S331, taking the average of several iterative aggregation values;

[0063] S332: Combine the initial iterative model value and several iterative aggregate values ​​obtained by averaging to generate a password pair.

[0064] In the embodiment of the present invention, in S332, the calculation formula of the password pair F is:

[0065] Where Q * represents the initial iterative model, q represents several iterative aggregation values ​​whose average is taken, and random represents a random number.

[0066] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A drag-and-drop configuration method based on a large-screen business report of fresh food, characterized in that: The following steps are involved: S1. Generate a target area for each fresh food item according to the quality status of the fresh food item in the real-time business report; S2. Based on the target area of ​​each fresh food item, drag and drop operations and rendering operations are performed to obtain a final business report; S3. Encrypt the final business report using several iterative aggregation values ​​of the final business report.

2. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 1 is characterized in that: The S1 comprises the following sub-steps: S11. Obtain the remaining shelf life of fresh food items in the real-time business report; S12, arranging the remaining shelf life of the fresh food items in order from low to high, and generating a pending business report; S13. Determine the target area of ​​each fresh food item according to the real-time business report and the pending business report.

3. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 1 is characterized in that: The S2 comprises the following sub-steps: S21, generating a dragging track for each fresh food item according to the current area and the target area of ​​each fresh food item; S22, using a drag event to drag each fresh food item along the drag track to a target area, to obtain a business report to be rendered; S23: Render the business report to be rendered to obtain a final business report.

4. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 3 is characterized in that: In S22, the dragstart event is monitored when the fresh food item starts to be dragged, the drag event is monitored when the fresh food item is dragged to the target area along the drag track, and the dragend event is monitored when the drag operation is completed.

5. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 1 is characterized in that: The S3 comprises the following sub-steps: S31, generating an initial iteration model for the first line of fresh food items in the final business report; S32. Based on the initial iteration model, generate iteration aggregation values ​​for the remaining rows of the final business report; S33, generating a password pair according to a number of iterative aggregation values; S34. Encrypt the final business report using a password.

6. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 5 is characterized in that: In S31, the initial iteration model Q * The expression is: ; Where, ID first Indicates the ID value of the first row of fresh food items in the final business report, T first Indicates the remaining shelf life of the first line of fresh food items in the final business report, STAMP first It indicates the timestamp parameter of the dragstart drag event corresponding to the first row of fresh food items in the final business report. HASH(·) indicates the hash function.

7. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 5 is characterized in that: In S32, the calculation formula for the iterative aggregation value of the fresh food item in the tth row in the final business report is: ; Where, ID k represents the ID value of the fresh food item in the kth row in the final business report, T2 represents the remaining shelf life of the fresh food item in the second row in the final business report, T3 represents the remaining shelf life of the fresh food item in the third row in the final business report, and T k Indicates the remaining shelf life of the fresh food item in row k in the final business report, STAMP k represents the timestamp parameter of the dragstart drag event corresponding to the k-th row of fresh food in the final business report, HASH(·) represents the hash function, Q * Represents the initial iteration model.

8. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 5 is characterized in that: The S33 comprises the following sub-steps: S331, taking the average of several iterative aggregation values; S332: Combine the initial iterative model value and several iterative aggregate values ​​obtained by averaging to generate a password pair.

9. The drag-and-drop configuration method based on the fresh food large-screen business report according to claim 8 is characterized in that: In S332, the calculation formula of the password pair F is: Where Q * represents the initial iterative model, q represents several iterative aggregation values ​​whose average is taken, and random represents a random number.

Citation Information

Patent Citations

  • Distribution management method

    CN111815249A

  • Service regulation and control network security and credibility auditing method and system suitable for 5G network

    CN114885325A

  • Method and system for generating large-screen report based on dragging of metadatabase

    CN118502736A

  • Method and apparatus for encrypting or decrypting data, and terminal device

    WO2019114712A1

  • Blockchain technology-based intelligent logistics distribution system

    WO2021253820A1