Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

activeMq-based progress bar realization method

A progress bar and progress technology, applied in other database retrieval, program control devices, hardware monitoring, etc., can solve the problems that cannot be targeted at cross-platform and multi-task, and achieve the effect of easy maintenance

Inactive Publication Date: 2018-02-09
ZHONGKE INFORMATION SECURITY COMMON TECH NAT ENG RES CENT CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Aiming at the deficiencies of the prior art, the present invention proposes a method for implementing a progress bar based on activeMq. The use of this method makes the development and management of the progress bar simple and convenient, and at the same time solves the problem that the traditional progress bar cannot be implemented for cross-platform and The case of multitasking

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] A kind of method of realizing the progress bar based on activeMq described in the present invention is aimed at the software development process, according to the development requirement, there are many places that need to use the progress bar alone or at the same time, and these progress bars are also very loaded down with trivial details to realize, need Write a large piece of code in the background, and send the progress heartbeat data to the front end at regular intervals. After obtaining the progress data in the previous stage, control the length change of the progress table and the color block of the div to realize the heartbeat. If the progress bar is in multiple pieces of data, it is even more timely It is cumbersome, error-prone, and serial. If you need to achieve cross-platform progress monitoring, the development work will be more arduous, and the maintenance work will also consume a lot of energy and time, which is a great disadvantage for software development...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an activeMq-based progress bar realization method. The method comprises the steps that a back end performs real-time progress calculation on a to-be-monitored business and sends an ID and an executive progress of the to-be-monitored business to activeMq of a front end; and the front end monitors an activeMq message corresponding to the ID of the to-be-monitored business andcontrols and displays a progress bar by utilizing a script tag and a DIV tag of a page of the front end. The method has the beneficial effects that by utilizing the method, various beautiful progressbars can be realized only by writing a small amount of codes of data for sending the mq message, and Div data or progress bars in other formats; the method is simple and practical; and compared withsimilar progress bar realization, the method is concise, clean and very easy to maintain.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to the field of user interface technology, and in particular to a progress bar display method and device. Background technique [0002] The progress bar is a very practical component in the UI (UserInterface, user interface). It can display the speed, degree of completion, and the size and possibility of the remaining unfinished tasks in real time in the form of pictures when the computer is processing the tasks. Processing time required. It is generally displayed as a rectangular bar. The progress bar can provide visual feedback of the operation of the user program. As an event or process moves forward or runs, the progress bar fills the progress bar with highlighted squares from left to right or bottom to top. Since the progress bar can dynamically display the task progress, the user can judge whether the program has lost response according to the progress of the pro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F17/30G06F11/30G06F11/32
CPCG06F11/302G06F11/3055G06F11/321G06F16/958
Inventor 杨思忠高振鹏
Owner ZHONGKE INFORMATION SECURITY COMMON TECH NAT ENG RES CENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products