CN110110306B - Data display method and device, terminal and computer readable storage medium - Google Patents

Data display method and device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110110306B
CN110110306B CN201910295568.3A CN201910295568A CN110110306B CN 110110306 B CN110110306 B CN 110110306B CN 201910295568 A CN201910295568 A CN 201910295568A CN 110110306 B CN110110306 B CN 110110306B
Authority
CN
China
Prior art keywords
task
state
target
data
target task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910295568.3A
Other languages
Chinese (zh)
Other versions
CN110110306A (en
Inventor
陈建锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ping An Medical Health Technology Service Co Ltd
Original Assignee
Shenzhen Ping An Medical Health Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ping An Medical Health Technology Service Co Ltd filed Critical Shenzhen Ping An Medical Health Technology Service Co Ltd
Priority to CN201910295568.3A priority Critical patent/CN110110306B/en
Publication of CN110110306A publication Critical patent/CN110110306A/en
Application granted granted Critical
Publication of CN110110306B publication Critical patent/CN110110306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a data display method, a data display device, a terminal and a computer-readable storage medium, wherein the method can comprise the following steps: scanning a task queue list according to a preset frequency; determining a target task with a task state in an unexecuted state from at least one table generating task included in the task queue table, executing the target task to generate a table corresponding to the target task, and updating the task state of the target task to an executing state; when detecting that the table corresponding to the target task is generated within a preset time range, updating the task state of the target task to be an executed state; when detecting that the table corresponding to the target task is not generated within the preset time range, updating the task state of the target task to be an execution failure state; when a view instruction for a specified page is detected, the task queue table is presented at the specified page. By the adoption of the method and the device, the form export state can be visually displayed, and user experience is improved.

Description

Data display method and device, terminal and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data display method, an apparatus, a terminal, and a computer-readable storage medium.
Background
When the terminal detects a table export event, the terminal can acquire data needing to be exported and generate a table according to the data needing to be exported. However, if the data size of the data to be exported is large, it takes a long time to generate the table, and only after the table is successfully generated, the user is prompted, which greatly affects the user experience.
Disclosure of Invention
The embodiment of the application provides a data display method, a data display device, a terminal and a computer-readable storage medium, which can visually display a form export state and improve user experience.
In a first aspect, an embodiment of the present application provides a data display method, including:
scanning a task queue list according to a preset frequency; the task queue table comprises at least one table generation task information, and each table generation task information comprises a task identifier and a task state; the task state comprises an unexecuted state, an executing state, an executed state or an execution failure state, and the table generation task is generated after a table export event is detected;
determining a target task with a task state in an unexecuted state from the at least one table generating task, executing the target task to generate a table corresponding to the target task, and updating the task state of the target task to an executing state;
when detecting that a table corresponding to the target task is generated within a preset time range, updating the task state of the target task to be an executed state;
when detecting that the table corresponding to the target task is not generated within the preset time range, updating the task state of the target task to be an execution failure state;
and when a viewing instruction aiming at a specified page is detected, displaying the task queue list on the specified page.
Optionally, the method further comprises:
when a table export event is detected, determining the data volume of target data corresponding to the table export event; the target data is data used for generating a table;
determining target prompt information corresponding to the data volume of the target data according to the corresponding relation between the preset data volume and the prompt information;
and outputting the target prompt message.
Optionally, the information further includes a type of a generated table, and the determining, from the at least one table generating task, a target task whose task state is in an unexecuted state includes:
determining a task with a task state in an unexecuted state from the at least one table generating task;
when the at least one form generation task comprises a plurality of tasks with task states in an unexecuted state, determining a task with the highest priority from the tasks with the task states in the unexecuted state according to priorities corresponding to different preset types of generated forms;
and taking the task with the highest priority as a target task.
Optionally, the information further includes task creation time, and the taking the task with the highest priority as a target task includes:
when the task with the highest priority is multiple, determining the task which is created earliest in the tasks with the highest priority according to the task creation time of the tasks with the highest priority;
and taking the earliest created task as a target task.
Optionally, the method further comprises:
acquiring system time, and determining a target time period corresponding to the system time;
determining the scanning frequency corresponding to the target time period according to the corresponding relation between the preset time period and the scanning frequency;
and taking the scanning frequency corresponding to the preset time period as the preset frequency.
Optionally, after the designated page shows the task queue table, the method further includes:
if the task state of the target task is an executed state, displaying a download button corresponding to the target task on the designated page;
and when receiving touch operation aiming at the download button, downloading the table corresponding to the target task.
Optionally, after the designated page shows the task queue table, the method further includes:
if the task state of the target task is an executed state, adjusting a download button corresponding to the target task and displayed on the designated page from an unavailable state to an available state;
and when touch operation aiming at the download button in the available state is received, downloading the table corresponding to the target task.
In a second aspect, an embodiment of the present application provides a data display apparatus, including:
the scanning unit is used for scanning the task queue list according to a preset frequency; the task queue list comprises at least one table generating task information, and each table generating task information comprises a task identifier and a task state; the task state comprises an unexecuted state, an executing state, an executed state or an execution failure state, and the table generation task is generated after a table export event is detected;
the processing unit is used for determining a target task with a task state in an unexecuted state from the at least one table generating task, executing the target task to generate a table corresponding to the target task, and updating the task state of the target task to an executing state;
the updating unit is used for updating the task state of the target task to be an executed state when detecting that the table corresponding to the target task is generated within a preset time range, and updating the task state of the target task to be an execution failure state when detecting that the table corresponding to the target task is not generated within the preset time range;
and the output unit is used for displaying the task queue list on the specified page when a viewing instruction aiming at the specified page is detected.
In a third aspect, an embodiment of the present application provides a terminal, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to the first aspect.
In summary, the terminal may scan the task queue list according to the preset frequency, determine the target task whose task state is in the unexecuted state from at least one table generation task included in the task pair list, execute the target task to generate the table corresponding to the target task, update the task state of the target task to the executed state, and update the task state of the target task in the task list in real time according to the execution condition of the target task, so that when a viewing instruction for a specified page is detected, the task list may be displayed on the specified page, a table export state is visually displayed, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a data display method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating another data presentation method according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a data display apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Please refer to fig. 1, which is a flowchart illustrating a data displaying method according to an embodiment of the present application. The method can be applied to a terminal. The terminal can be an intelligent terminal such as a tablet computer, a desktop computer and a notebook computer. Specifically, the method may comprise the steps of:
s101, scanning a task queue list according to a preset frequency.
The task queue table comprises at least one table generation task information, and each table generation task information comprises a task identifier and a task state. The task identification may be a task name, such as a task number and/or a name of a generated table. The task state includes an unexecuted state, an executing state, an executed state, or an execution failure state. The unexecuted state indicates that the corresponding task has not been executed, the executing state indicates that the corresponding task is being executed, the executed state indicates that the table corresponding to the task has been generated, and the execution failure state indicates that the table corresponding to the task has not been generated although the task is executed. And/or, the information of each form generation task can also comprise the type of the generated form, such as a financial class and an order class. And/or, the information of each form generation task may further include a task creation time, i.e., a time at which the corresponding task is created. The form generation task is generated upon detection of a form export event.
In one embodiment, the detection of the table export event may refer to detection of a touch operation for a table export option. For example, the touch operation may be a click operation.
In one embodiment, the form export option may be included in a dialog box, which may be generated upon detection of a right mouse button event based on the currently displayed browser page. Wherein the browser page comprises the target data or information related to the target data, such as a logo and/or a link. The target data is data for generating a table. According to the information related to the target data, the terminal can acquire the target data. According to different application scenarios, the target data may be obtained by the terminal through a browser, or obtained by the terminal from a server.
In one embodiment, the terminal may output the target prompt when the table derivation event is detected. For example, the target prompt may be a form that is generated for later download to a specified page. In such a manner, the user can be given a response in time.
In one embodiment, the terminal may determine, when a table export event is detected, a data amount of target data corresponding to the table export event, where the target data is data used for generating a table; and the terminal generates target prompt information according to the data volume of the target data. The target prompt message may include a downloadable data time determined according to the data amount of the target data, for example, the downloadable data time is one hour later, and the target prompt message may be a table generated by downloading to a specified page one hour later. In one embodiment, the downloadable data time may be based on historical experience. Or, the data amount may be input into a corresponding model, and the data amount is analyzed through the model.
In one embodiment, when detecting a table export event, the terminal may determine a data amount of target data corresponding to the table export event; the target data is data for generating a table; the terminal can determine target prompt information corresponding to the data volume of the target data according to the corresponding relation between the preset data volume and the prompt information; the terminal may output the target prompt message. Wherein, the time of the downloadable data included in each prompt message is different.
For example, the preset relationship between the data amount and the prompt message includes a corresponding relationship between the data amount in the first data amount range and the first prompt message, and also includes a corresponding relationship between the data amount in the second data amount range and the second prompt message. The first data volume range is smaller than the second data volume range. The first data amount range may include one or more data amounts, the second data amount range may include one or more data amounts, and the first prompt message indicates that the generated table may be downloaded to the specified page after the first preset time. The second prompt message indicates that the generated form can be downloaded to the specified page after the second preset time. The first preset time is less than the second preset time.
In one embodiment, the terminal may receive a frequency setting operation and set a preset frequency according to the frequency setting operation. For example, the frequency setting operation may be a click operation for a target frequency option among the output plurality of frequency options.
In one embodiment, the terminal may further obtain the system time, and determine a target time period corresponding to the system time; determining the scanning frequency corresponding to the target time period according to the corresponding relation between the preset time period and the scanning frequency; and taking the scanning frequency corresponding to the preset time period as the preset frequency. The preset time period can be set according to actual conditions.
In one embodiment, the preset time period may be set for each day by a preset number of hours. For example, the preset time period is set to 3 hours per day, and may include dawn, early morning, noon, afternoon, evening, and late night. The preset correspondence relationship between the time period and the scanning frequency may include correspondence relationship between dawn and the first scanning frequency, correspondence relationship between dawn and the second scanning frequency, correspondence relationship between early morning and the third scanning frequency, correspondence relationship between morning and the fourth scanning frequency, correspondence relationship between noon and the fifth scanning frequency, correspondence relationship between afternoon and the sixth scanning frequency, correspondence relationship between evening and the seventh scanning frequency, and correspondence relationship between late night and the eighth scanning frequency. Wherein, the first to eighth scanning frequencies may have the same scanning frequency or may all be different. For example, in order to save system power consumption, the dawn corresponding first scan frequency and the dawn corresponding second scan frequency may be lower than the other scan frequencies in consideration of the rest time of the user.
Or, the preset time period is divided by 12 hours for each day, and may include: morning and afternoon. The preset corresponding relationship between the time period and the scanning frequency may include a corresponding relationship between the morning and the ninth scanning frequency and a corresponding relationship between the afternoon and the tenth scanning frequency. Wherein, the ninth scanning frequency and the tenth scanning frequency can be the same or different.
Alternatively, the preset time period may be divided by the working date for each week, such as monday-friday, saturday-sunday. The preset time period may correspond to the scanning frequency, and may include a monday-friday corresponding to an eleventh scanning frequency, and a saturday-weekend corresponding to a twelfth scanning frequency, for example, in order to save system power consumption, the eleventh scanning frequency is higher than the twelfth scanning frequency in consideration of a rest time of a user.
S102, determining a target task with a task state in an unexecuted state from the at least one table generating task, executing the target task to generate a table corresponding to the target task, and updating the task state of the target task to an executing state.
In the embodiment of the application, the terminal can determine a target task with a task state in an unexecuted state from at least one table generating task, execute the target task to generate a table corresponding to the target task, and update the task state of the target task to an executing state.
In one embodiment, the determining, by the terminal, the target task in the task state in the non-executed state from the at least one table generating task may include: the terminal can determine the task with the task state in the non-execution state from the at least one table generating task; when the at least one table generating task comprises a plurality of tasks with task states in an unexecuted state, the terminal determines an earliest created task from the tasks with the task states in the unexecuted state according to the creation time of the tasks with the task states in the unexecuted state, and takes the earliest created task as a target task.
In one embodiment, the determining, by the terminal, the target task in the task state in the non-executed state from the at least one table generating task may include: the terminal determines a task with a task state in an unexecuted state from the at least one table generation task; when the at least one form generation task comprises a plurality of tasks with task states in an unexecuted state, the terminal determines a task with the highest priority from the tasks with the task states in the unexecuted state according to the preset priorities corresponding to different types of the generated forms; and the terminal takes the task with the highest priority as a target task.
For example, the task in the task state determined by the terminal in the unexecuted state includes task 1 and task 2, the type of the table generated corresponding to task 1 is a financial class, and the type of the table generated corresponding to task 2 is an order class, where the financial class has a first priority, the order class has a second priority, and the first priority is higher than the second priority. The terminal can determine the task with the highest priority from the tasks 1 and 2 according to the priorities corresponding to the types of the preset different generated tables: task 1, and takes task 1 as the target task.
In one embodiment, when the task with the highest priority is multiple, according to the task creation time of the multiple tasks with the highest priority, the task created earliest in the multiple tasks with the highest priority is determined; the earliest created task is taken as the target task.
For example, when the task in the task state determined by the terminal in the non-execution state includes the task 1 and the task 2 and also includes the task 3, the type of the table generated corresponding to the task 1 is the financial type, the type of the table generated corresponding to the task 2 is the order type, and the type of the table generated corresponding to the task 3 is also the financial type. The financial priority is a first priority, the order priority is a second priority, and the first priority is higher than the second priority. The terminal can determine the task with the highest priority from the tasks 1, 2 and 3 according to the priorities corresponding to the types of the preset different generated tables: task 1 and task 3, and further according to the task creation time of task 1 and task 3, the task created earliest is determined from task 1 and task 3.
In one embodiment, the determining, by the terminal, the target task in the task state in the non-executed state from the at least one table generating task may include: the terminal determines a task with a task state in an unexecuted state from the at least one table generating task; when the at least one table generating task comprises a plurality of tasks with task states in an unexecuted state, the terminal determines a task with the highest priority from the tasks with the task states in the unexecuted state according to the source and the corresponding priority of the target data corresponding to the tasks with the task states in the unexecuted state; and the terminal takes the task with the highest priority as a target task. The target data corresponding to the tasks in the plurality of task states in the non-execution state may have the same data or may be different from each other.
After the terminal executes step S102, step S103 and step S104 may be executed in parallel, which is not described herein in this embodiment of the present application.
S103, when detecting that the table corresponding to the target task is generated within a preset time range, updating the task state of the target task to be an executed state.
And S104, when detecting that the table corresponding to the target task is not generated within the preset time range, updating the task state of the target task to be an execution failure state.
In the process of executing the target task, the terminal can update the task state of the target task in real time according to the condition of execution failure or success. Specifically, in step S103 and step S104, the terminal may update the task state of the target task to the executed state when detecting that the table corresponding to the target task is generated within the preset time range; and updating the task state of the target task to be an execution failure state when detecting that the table corresponding to the target task is not generated in the preset time range.
In an embodiment, the preset time range may be determined from the tasks of the tables generated in the history record according to the table generation duration of the tasks of the tables generated in the history record, and the target table generation duration with the longest table generation duration is used as the preset time range. The table generation time length is the time length used from the beginning of executing the task to the end of generating the table.
S105, when a viewing instruction for a specified page is detected, displaying the task queue list on the specified page.
In the embodiment of the application, in order to facilitate the user to view the state of each form generating task, the terminal may display the task queue table on a specified page when detecting a viewing instruction for the specified page.
In one embodiment, the designated page may be a download page.
In one embodiment, the view instruction may be generated upon detecting an open operation for a specified page.
In one embodiment, the view instruction may also be generated upon detecting a click operation for the task list view option.
It can be seen that, in the embodiment shown in fig. 1, the terminal may scan the task queue table according to the preset frequency, determine, from at least one table generation task included in the task pair table, a target task whose task state is in an unexecuted state, execute the target task to generate a table corresponding to the target task, update the task state of the target task to an executing state, and update the task state of the target task in the task list in real time according to the execution condition of the target task, so that when a viewing instruction for a specified page is detected, the task list may be displayed on the specified page, a table export state is visually displayed, and user experience is improved.
Please refer to fig. 2, which is a flowchart illustrating a data displaying method according to an embodiment of the present application. The method can be applied to a terminal. The terminal can be an intelligent terminal such as a tablet computer, a desktop computer and a notebook computer. Specifically, the method may comprise the steps of:
s201, scanning a task queue list according to a preset frequency; the task queue list comprises at least one table generating task information, and each table generating task information comprises a task identifier and a task state;
s202, determining a target task with a task state in an unexecuted state from the at least one table generating task, executing the target task to generate a table corresponding to the target task, and updating the task state of the target task to an executing state;
s203, when detecting that the table corresponding to the target task is generated within a preset time range, updating the task state of the target task to be an executed state;
s204, when detecting that the table corresponding to the target task is not generated in the preset time range, updating the task state of the target task to be an execution failure state;
s205, when a viewing instruction for a specified page is detected, displaying the task queue list on the specified page.
Steps S201 to S205 can refer to steps S101 to S105 in the embodiment of fig. 1, which are not described herein again.
And S206, if the task state of the target task is the executed state, displaying a download button corresponding to the target task on the designated page.
And S207, downloading the table corresponding to the target task when the touch operation aiming at the download button is received.
In step S206 and step S207, when the task status of the target task is the executed status, the terminal may display a download button corresponding to the target task on the designated page, and download the table corresponding to the target task when receiving a touch operation for the download button. In this way, the situation that the form cannot be downloaded due to false touch can be avoided.
In one embodiment, the designated page may be a download page.
In one embodiment, steps S206-S307 may also be replaced with the following steps: after the task queue list is displayed on the appointed page, if the task state of the target task is an executed state, the terminal adjusts a download button corresponding to the target task and displayed on the appointed page from an unavailable state to an available state; and when receiving touch operation aiming at the download button in the available state, the terminal downloads the table corresponding to the target task. In this way, the situation that the form cannot be downloaded due to false touch can be avoided.
It can be seen that, in the embodiment shown in fig. 2, the terminal may scan the task queue table according to a preset frequency, determine, from at least one table generating task included in the task pair table, a target task whose task state is in an unexecuted state, so as to execute the target task to generate a table corresponding to the target task, update the task state of the target task to an executing state, and update the task state of the target task in the task list in real time according to the executing condition of the target task, so that when a viewing instruction for a specified page is detected, the task list may be displayed on the specified page, the task list may be output on the specified page, and a downloading operation based on the generated table is performed, which not only visually displays a table export state, but also can quickly download the corresponding table, and effectively improves user experience.
Please refer to fig. 3, which is a schematic structural diagram of a data display apparatus according to an embodiment of the present disclosure. The apparatus can be applied to a terminal. Specifically, the apparatus may include:
a scanning unit 31, configured to scan the task queue table according to a preset frequency; the task queue list comprises at least one table generating task information, and each table generating task information comprises a task identifier and a task state; the task state comprises an unexecuted state, an executing state, an executed state or an execution failure state, and the table generation task is generated after a table export event is detected;
the processing unit 32 is configured to determine, from the at least one table generating task, a target task whose task state is in an unexecuted state, execute the target task to generate a table corresponding to the target task, and update the task state of the target task to an executing state;
an updating unit 33, configured to update a task state of the target task to an executed state when it is detected that the table corresponding to the target task is generated within a preset time range, and update the task state of the target task to an execution failure state when it is detected that the table corresponding to the target task is not generated within the preset time range;
and the output unit 34 is used for displaying the task queue list on a specified page when a viewing instruction for the specified page is detected.
In an optional embodiment, the processing unit 32 is further configured to, when a table export event is detected, determine a data amount of target data corresponding to the table export event; the target data is data used for generating a table; and determining target prompt information corresponding to the data volume of the target data according to the corresponding relation between the preset data volume and the prompt information.
In an optional embodiment, the output unit 34 is further configured to output the target prompt information.
In an optional implementation manner, the information further includes a type of the generated table, and the processing unit 32 determines, from the at least one table generating task, a target task whose task state is in an unexecuted state, specifically, determines, from the at least one table generating task, a task whose task state is in an unexecuted state; when the at least one form generation task comprises a plurality of tasks with task states in an unexecuted state, determining a task with the highest priority from the tasks with the task states in the unexecuted state according to priorities corresponding to different preset types of generated forms; and taking the task with the highest priority as a target task.
In an optional implementation manner, the information further includes task creation time, and the processing unit 32 takes the task with the highest priority as a target task, specifically, when there are a plurality of tasks with the highest priority, determines, according to the task creation time of the tasks with the highest priority, a task created earliest among the tasks with the highest priority; and taking the earliest created task as a target task.
In an optional implementation manner, the processing unit 32 is further configured to obtain a system time, and determine a target time period corresponding to the system time; determining the scanning frequency corresponding to the target time period according to the corresponding relation between the preset time period and the scanning frequency; and taking the scanning frequency corresponding to the preset time period as the preset frequency.
In an optional embodiment, the output unit 34 is further configured to, after the task queue table is displayed on the designated page, display a download button corresponding to the target task on the designated page if the task state of the target task is an executed state.
In an optional implementation manner, the processing unit 32 is further configured to download the table corresponding to the target task when the touch operation for the download button is received.
In an optional implementation manner, the processing unit 32 is further configured to, after the designated page shows the task queue table, adjust, by the output unit 34, a download button corresponding to the target task and displayed on the designated page from an unavailable state to an available state if the task state of the target task is an executed state; and when touch operation aiming at the download button in the available state is received, downloading the table corresponding to the target task.
It can be seen that, in the embodiment shown in fig. 3, the terminal may scan the task queue table according to the preset frequency, determine, from at least one table generation task included in the task pair table, a target task whose task state is in an unexecuted state, execute the target task to generate a table corresponding to the target task, update the task state of the target task to an executing state, and update the task state of the target task in the task list in real time according to the execution condition of the target task, so that when a viewing instruction for a specified page is detected, the task list may be displayed on the specified page, a table export state is visually displayed, and user experience is improved.
Please refer to fig. 4, which is a schematic structural diagram of a terminal according to an embodiment of the present disclosure. The terminal described in this embodiment may include: one or more processors 1000, one or more input devices 2000, one or more output devices 3000, and memory 4000. The processor 1000, the input device 2000, the output device 3000, and the memory 4000 may be connected by a bus.
The input device 2000, the output device 3000 may be a standard wired or wireless communication interface. The input device 2000 may also be a touch screen. Output device 3000 may be a display screen, such as a liquid crystal display screen. In one embodiment, the input device 2000 and the output device 3000 may be integrated into a single device, such as a touch screen display, for implementing the functions of the input device 2000 and the output device 3000, respectively.
The Processor 1000 may be a Central Processing Unit (CPU), and may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 4000 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 4000 is used to store a set of program codes, and the input device 2000, the output device 3000, and the processor 1000 may call the program codes stored in the memory 4000. Specifically, the method comprises the following steps:
a processor 1000, configured to scan a task queue table according to a preset frequency; the task queue list comprises at least one table generating task information, and each table generating task information comprises a task identifier and a task state; the task state comprises an unexecuted state, an executing state, an executed state or an execution failure state, and the table generation task is generated after a table export event is detected; determining a target task with a task state in an unexecuted state from the at least one table generating task, executing the target task to generate a table corresponding to the target task, and updating the task state of the target task to an executing state; when detecting that a table corresponding to the target task is generated within a preset time range, updating the task state of the target task to be an executed state; when detecting that the table corresponding to the target task is not generated within the preset time range, updating the task state of the target task to be an execution failure state; when a viewing instruction for a specified page is detected, the task queue table is presented on the specified page through the output device 3000.
Optionally, the processor 1000 is further configured to, when a table export event is detected, determine a data amount of target data corresponding to the table export event; the target data is data used for generating a table; determining target prompt information corresponding to the data volume of the target data according to the corresponding relation between the preset data volume and the prompt information; the target prompt information is output through the output device 3000.
Optionally, the information further includes a type of the generated table, and the processor 1000 determines, from the at least one table generating task, a target task whose task state is in an unexecuted state, specifically, determines, from the at least one table generating task, a task whose task state is in an unexecuted state; when the at least one form generation task comprises a plurality of tasks with task states in an unexecuted state, determining a task with the highest priority from the tasks with the task states in the unexecuted state according to priorities corresponding to different preset types of generated forms; and taking the task with the highest priority as a target task.
Optionally, the information further includes task creation time, and the processor 1000 determines, by using the task with the highest priority as a target task, specifically, when the task with the highest priority is multiple, an earliest created task among the tasks with the highest priority according to the task creation time of the tasks with the highest priority; and taking the earliest created task as a target task.
Optionally, the processor 1000 is further configured to obtain a system time, and determine a target time period corresponding to the system time; determining the scanning frequency corresponding to the target time period according to the corresponding relation between the preset time period and the scanning frequency; and taking the scanning frequency corresponding to the preset time period as the preset frequency.
Optionally, the processor 1000 is further configured to, after the task queue list is displayed on the designated page through the output device 3000, if the task state of the target task is an executed state, display a download button corresponding to the target task on the designated page through the output device 3000; when a touch operation for the download button is received through the input device 2000, the table corresponding to the target task is downloaded.
Optionally, after the processor 1000 displays the task queue table on the designated page, if the task state of the target task is an executed state, the download button corresponding to the target task and displayed on the designated page is adjusted from an unavailable state to an available state; when a touch operation for the download button in an available state is received through the input device 2000, the table corresponding to the target task is downloaded.
In a specific implementation, the processor 1000, the input device 2000, and the output device 3000 described in this embodiment of the present application may perform the implementation described in the embodiments of fig. 1 to fig. 2, or may perform the implementation described in this embodiment of the present application, and are not described herein again.
Each functional module in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a form of sampling hardware, and can also be realized in a form of sampling software functional modules.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and executed by a computer to implement the processes of the embodiments of the methods described above. The medium is a computer-readable storage medium, and the computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method for displaying data, comprising:
acquiring system time, and determining a target time period corresponding to the system time;
determining the scanning frequency corresponding to the target time period according to the corresponding relation between the preset time period and the scanning frequency;
taking the scanning frequency corresponding to the target time period as a preset frequency, and scanning the task queue list according to the preset frequency; the task queue list comprises at least one table generating task information, and each table generating task information comprises a task identifier and a task state; the task state comprises an unexecuted state, an executing state, an executed state or an execution failure state, and the table generation task is generated after a table export event is detected;
determining a target task with a task state in an unexecuted state from the at least one table generating task, executing the target task to generate a table corresponding to the target task, and updating the task state of the target task to an executing state; the target task is a task with the highest priority determined according to the type of a form, wherein the type of the form comprises a financial type and an order type;
when detecting that a table corresponding to the target task is generated within a preset time range, updating the task state of the target task to be an executed state;
when detecting that the table corresponding to the target task is not generated within the preset time range, updating the task state of the target task to be an execution failure state;
when a viewing instruction for a specified page is detected, displaying the task queue list on the specified page;
when a table export event is detected, determining the data volume of target data corresponding to the table export event; the target data is data used for generating a table;
determining target prompt information corresponding to the data volume of the target data according to the corresponding relation between the preset data volume and the prompt information; the target prompt information comprises downloadable data time determined according to the data volume of the target data, and the downloadable data time of each prompt information is different;
and outputting the target prompt information.
2. The method of claim 1, wherein the information further includes a type of a table generated, and wherein determining a target task from the at least one table-generating task whose task state is in an unexecuted state comprises:
determining a task with a task state in an unexecuted state from the at least one table generating task;
when the at least one form generation task comprises a plurality of tasks with task states in an unexecuted state, determining a task with the highest priority from the tasks with the task states in the unexecuted state according to priorities corresponding to different preset types of generated forms;
and taking the task with the highest priority as a target task.
3. The method of claim 2, wherein the information further includes a task creation time, and wherein taking the task with the highest priority as a target task comprises:
when the task with the highest priority is multiple, determining the task which is created earliest in the tasks with the highest priority according to the task creation time of the tasks with the highest priority;
and taking the earliest created task as a target task.
4. The method of any of claims 1-3, wherein after the designated page presents the task queue table, the method further comprises:
if the task state of the target task is an executed state, displaying a download button corresponding to the target task on the designated page;
and when receiving touch operation aiming at the download button, downloading the table corresponding to the target task.
5. The method of any of claims 1-3, wherein after the designated page presents the task queue table, the method further comprises:
if the task state of the target task is an executed state, adjusting a download button corresponding to the target task and displayed on the designated page from an unavailable state to an available state;
and when touch operation of a download button in an available state is received, downloading the table corresponding to the target task.
6. A data presentation device, comprising:
the processing unit is used for acquiring system time and determining a target time period corresponding to the system time; determining the scanning frequency corresponding to the target time period according to the corresponding relation between the preset time period and the scanning frequency; taking the scanning frequency corresponding to the target time period as a preset frequency;
the scanning unit is used for scanning the task queue list according to a preset frequency; the task queue list comprises at least one table generating task information, and each table generating task information comprises a task identifier and a task state; the task state comprises an unexecuted state, an executing state, an executed state or an execution failure state, and the table generation task is generated after a table export event is detected;
the processing unit is further configured to determine, from the at least one table generating task, a target task of which a task state is in an unexecuted state, execute the target task to generate a table corresponding to the target task, and update the task state of the target task to an executing state; the target task is a task with the highest priority determined according to the type of a form, wherein the type of the form comprises a financial type and an order type;
the updating unit is used for updating the task state of the target task to be an executed state when detecting that the table corresponding to the target task is generated within a preset time range, and updating the task state of the target task to be an execution failure state when detecting that the table corresponding to the target task is not generated within the preset time range;
the output unit is used for displaying the task queue list on a specified page when a viewing instruction for the specified page is detected;
the processing unit is further used for determining the data volume of the target data corresponding to the table export event when the table export event is detected; the target data is data used for generating a table; determining target prompt information corresponding to the data volume of the target data according to the corresponding relation between the preset data volume and the prompt information; the target prompt information comprises downloadable data time determined according to the data volume of the target data, and the downloadable data time of each prompt information is different; and outputting the target prompt information.
7. A terminal, comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-5.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-5.
CN201910295568.3A 2019-04-12 2019-04-12 Data display method and device, terminal and computer readable storage medium Active CN110110306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910295568.3A CN110110306B (en) 2019-04-12 2019-04-12 Data display method and device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910295568.3A CN110110306B (en) 2019-04-12 2019-04-12 Data display method and device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110110306A CN110110306A (en) 2019-08-09
CN110110306B true CN110110306B (en) 2023-02-14

Family

ID=67483842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910295568.3A Active CN110110306B (en) 2019-04-12 2019-04-12 Data display method and device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110110306B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781161A (en) * 2019-09-12 2020-02-11 平安医疗健康管理股份有限公司 Service data processing method and device
CN110837427B (en) * 2019-11-15 2022-02-01 四川长虹电器股份有限公司 Method for preventing cache breakdown based on queue sorting task mechanism
CN112465353A (en) * 2020-11-27 2021-03-09 华能华家岭风力发电有限公司 Intelligent scheduling method for maintenance task of wind power plant in hilly area
CN114676190B (en) * 2022-05-27 2022-10-11 太平金融科技服务(上海)有限公司深圳分公司 Data display method and device, computer equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092993B (en) * 2013-02-18 2016-07-06 五八同城信息技术有限公司 Data export method and device
WO2017158675A1 (en) * 2016-03-14 2017-09-21 富士通株式会社 Information processing device, information processing method, and information processing program
CN107491346B (en) * 2016-06-12 2021-03-12 阿里巴巴集团控股有限公司 Application task processing method, device and system
CN107766129B (en) * 2016-08-17 2021-04-16 北京金山云网络技术有限公司 Task processing method, device and system
CN108228644B (en) * 2016-12-21 2021-07-30 北京京东尚科信息技术有限公司 Method and device for exporting report
CN109144744A (en) * 2017-06-28 2019-01-04 北京京东尚科信息技术有限公司 Task processing system, method and apparatus

Also Published As

Publication number Publication date
CN110110306A (en) 2019-08-09

Similar Documents

Publication Publication Date Title
CN110110306B (en) Data display method and device, terminal and computer readable storage medium
CN109284217B (en) Application program exception handling method and device, electronic equipment and storage medium
CN110515871B (en) Interrupt method, interrupt device, FPGA (field programmable Gate array) and storage medium
CN107291481B (en) Component updating method, device and system
WO2021223658A1 (en) Mini program update
CN110990132B (en) Asynchronous task processing method and device, computer equipment and storage medium
CN109117141A (en) Simplify method, apparatus, the electronic equipment, computer readable storage medium of programming
CN110275768A (en) Data processing method, device and electronic equipment
CN111782988A (en) Method, device, computer system and storage medium for determining source of application program
EP3407186B1 (en) Interface refresh synchronization method and apparatus, terminal, and storage medium
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN110377331B (en) Monitoring method, device, equipment and storage medium for issuing application program
CN111444453A (en) Page return data processing method and device
CN111625322A (en) Data processing method, system and equipment
CN109491771B (en) Task processing method based on system performance optimization and related equipment
CN117149849A (en) Method and device for processing multiple query requests and electronic equipment
CN113268183B (en) List page countdown display method and device
CN113641929B (en) Page rendering method, device, electronic equipment and computer readable storage medium
CN114928603A (en) Client software upgrading method and device, electronic equipment and medium
CN115344370A (en) Task scheduling method, device, equipment and storage medium
CN114035915A (en) Scheduling task management method and system
CN114579239A (en) Message management method and device
CN114721740A (en) Message triggering method, device, equipment and storage medium
CN109960659B (en) Method and device for detecting application program
CN112200536A (en) Test case monitoring management method, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220525

Address after: 518000 China Aviation Center 2901, No. 1018, Huafu Road, Huahang community, Huaqiang North Street, Futian District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Ping An medical and Health Technology Service Co.,Ltd.

Address before: Room 12G, Block H, 666 Beijing East Road, Huangpu District, Shanghai 200000

Applicant before: PING AN MEDICAL AND HEALTHCARE MANAGEMENT Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant