CN-122021584-A - Method, device, electronic equipment, storage medium and program product for prompting use information
Abstract
The embodiment of the application provides a prompting method, a prompting device, electronic equipment, a storage medium and a program product of use information. The method comprises the steps of responding to receiving a modification instruction of a data row in a table, obtaining use information of the table, wherein the use information comprises use information of all the data rows in the table and/or use information of the data rows of a sub-table, the use information comprises a use rate, responding to the fact that the use rate is matched with a first prompt level, and displaying prompt content, and the prompt content comprises the use information. By utilizing the technical scheme, the embodiment can improve the practicality of prompting the table service condition and improve the continuity of the business process.
Inventors
- Li Xupan
Assignees
- 北京字跳网络技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260209
Claims (14)
- 1. A method of prompting usage information, comprising: in response to receiving a modification instruction for data lines in a table, acquiring use information of the table, wherein the use information comprises use information of all the data lines in the table and/or use information of the data lines of the sub-table, and the use information comprises a use rate; and displaying prompt content in response to the utilization rate matching the first prompt level, wherein the prompt content comprises the utilization information.
- 2. The method of claim 1, the displaying hint content comprising: Displaying the first prompt content and the second prompt content, or Responding to a first trigger operation based on the second prompt content, and displaying the first prompt content; The table is provided with a plurality of prompt levels, the prompt levels comprise the first prompt level, different prompt levels correspond to different use rate thresholds, the first prompt content comprises the use information, the second prompt content is used for prompting one or more of the first prompt level or the use rate is larger than or equal to the first use rate threshold, and the first use rate threshold comprises the minimum use rate threshold in the different use rate thresholds.
- 3. The method of claim 1, the displaying alert content in response to the usage rate matching a first alert level, comprising: And displaying prompt content in response to the utilization rate matching a first prompt level and the table being in a first state at the first prompt level.
- 4. A method according to claim 3, further comprising at least one of: responding to a second triggering operation, keeping the state of the table at the first prompt level unchanged, and canceling the display of the first prompt content; And responding to a third triggering operation, switching the state of the table in at least one prompt level into a second state, and canceling display of the prompt content, wherein the at least one prompt level comprises the first prompt level and/or a second prompt level, and the use rate threshold corresponding to the second prompt level is smaller than the use rate threshold corresponding to the first prompt level.
- 5. A method according to claim 3, Responding to the first prompt level and the third prompt level to be different prompt levels, wherein a cancel prompt item is displayed in association with the prompt content, and the cancel prompt item is used for switching the state of the table in the first prompt level; And responding to the first prompt level and the third prompt level to be the same prompt level, wherein the prompt content is not associated with a cancel prompt item.
- 6. The method according to any one of claims 1-5, wherein the obtaining usage information of the table in response to receiving a modification instruction to a data line in the table comprises: in response to receiving a modification instruction for a data line in the table, and when the update condition is currently met, updating the utilization rate of the table; and acquiring the use information of at least one table in response to the completion of the use rate update, wherein the use rate of the at least one table is greater than or equal to a first use rate threshold.
- 7. The method of claim 6, the updating the usage of the table in response to receiving a modification instruction for a data line in the table and currently satisfying an update condition, comprising: In response to receiving a modification instruction to a table, acquiring a first time length, wherein the first time length is the time length from the current moment to last use rate update; updating the usage of the table in response to the first time length reaching a first time length threshold; and in response to the second time length recorded by the timer reaching the second time length threshold, updating the utilization rate of the table, and closing the timer.
- 8. The method of claim 7, the timer-based clocking comprising at least one of: In response to the presence of a started timer, initializing the timing duration of the timer and re-timing based on the timer, or In response to the absence of the started timer, starting the timer and timing based on the timer; the method further comprises the steps of: and closing the started timer in response to the first time length reaching a first time length threshold.
- 9. The method of claim 6, further comprising: Storing the updated usage rate into a usage rate list, and Updating a first set based on the updated usage, wherein the first set is used for recording a first table, and the usage of the first table is greater than or equal to a first usage threshold; the usage information further includes a total number of data rows and a used number, and the obtaining usage information of the table includes: for at least a portion of the tables in the first set, the usage of the tables is obtained from the usage list, and the total number of data rows and the number of used data rows are determined.
- 10. The method of claim 6, further comprising: And updating a second set based on the updated usage, wherein the second set is used for recording a second table, and the usage of the second table is matched with a third prompt level.
- 11. A usage information prompting device, comprising: The information acquisition module is used for responding to the received modification instruction of the data rows in the table, acquiring the use information of the table, wherein the use information comprises the use information of all the data rows in the table and/or the use information of the data rows of the sub-table, and the use information comprises the use rate; and the prompt module is used for responding to the fact that the utilization rate is matched with the first prompt level, displaying prompt contents, and the prompt contents comprise the utilization information.
- 12. An electronic device, comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of prompting use information according to any one of claims 1-10.
- 13. A computer readable storage medium storing computer instructions for causing a processor to implement the method of prompting use information according to any one of claims 1-10 when executed.
- 14. A computer program product comprising a computer program which, when executed by a processor, implements the method of prompting use information according to any one of claims 1-10.
Description
Method, device, electronic equipment, storage medium and program product for prompting use information Technical Field Embodiments of the present application relate to the field of computer technologies, and in particular, to a method, an apparatus, an electronic device, a storage medium, and a program product for prompting use of information. Background In a data management platform, a prompt is typically required for the user's table usage. In the related art, the practicality of prompting the table service condition of the user is poor, and the continuity of the service flow cannot be ensured. Disclosure of Invention The embodiment of the application provides a prompting method, a device, electronic equipment, a storage medium and a program product for use information, so that the hierarchical prompting of the use condition of a table is realized, the practicability of prompting the use condition of the table is improved, and the continuity of a business process is improved. In a first aspect, an embodiment of the present application provides a method for prompting use information, including: in response to receiving a modification instruction for data lines in a table, acquiring use information of the table, wherein the use information comprises use information of all the data lines in the table and/or use information of the data lines of the sub-table, and the use information comprises a use rate; and displaying prompt content in response to the utilization rate matching the first prompt level, wherein the prompt content comprises the utilization information. In a second aspect, an embodiment of the present application further provides a device for prompting use of information, including: The information acquisition module is used for responding to the received modification instruction of the data rows in the table, acquiring the use information of the table, wherein the use information comprises the use information of all the data rows in the table and/or the use information of the data rows of the sub-table, and the use information comprises the use rate; and the prompt module is used for responding to the fact that the utilization rate is matched with the first prompt level, displaying prompt contents, and the prompt contents comprise the utilization information. In a third aspect, an embodiment of the present application further provides an electronic device, including: one or more processors; A memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement a method for prompting use information according to an embodiment of the present application. In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method for presenting usage information according to embodiments of the present application. In a fifth aspect, embodiments of the present application further provide a computer program product, which when executed by a computer, causes the computer to implement a method for prompting use information according to embodiments of the present application. Compared with the scheme that the table is prompted after the capacity reaches or exceeds the upper limit, the method, the device, the electronic equipment, the storage medium and the program product for prompting the use information provided by the embodiment of the application can enable a user to obtain clear prompts before the table reaches the upper limit of the capacity, improve the practicability of prompting the use condition of the table, reduce the condition of operation failure caused by the capacity of resources reaching or exceeding the upper limit, and improve the continuity of a business flow. Drawings The above and other features, advantages and aspects of embodiments of the present application will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. FIG. 1 is a schematic diagram of an exemplary system provided by an embodiment of the present application; Fig. 2 is a flow chart of a method for prompting use information according to an embodiment of the present application; fig. 3 is a flow chart of a method for prompting use information according to an embodiment of the present application; FIG. 4 is a flowchart of another method for prompting usage information according to an embodiment of the present application; FIG. 5 is a block diagram of a device for presenting usage information according to an embodiment of the present application; Fig. 6 is a schematic structural diagram of an electronic