CN109614600A - Report methods of exhibiting, device and computer storage medium - Google Patents
Report methods of exhibiting, device and computer storage medium Download PDFInfo
- Publication number
- CN109614600A CN109614600A CN201811250511.3A CN201811250511A CN109614600A CN 109614600 A CN109614600 A CN 109614600A CN 201811250511 A CN201811250511 A CN 201811250511A CN 109614600 A CN109614600 A CN 109614600A
- Authority
- CN
- China
- Prior art keywords
- report
- columns
- display area
- line number
- frame network
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000001747 exhibiting effect Effects 0.000 title claims abstract description 25
- 230000004044 response Effects 0.000 claims description 7
- 230000001960 triggered effect Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000012217 deletion Methods 0.000 description 7
- 230000037430 deletion Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/177—Editing, e.g. inserting or deleting of tables; using ruled lines
- G06F40/18—Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of data display technique, a kind of report methods of exhibiting, device and computer storage medium are disclosed.This method responds the comparison instruction of user's triggering, obtains the information for each report that user selectes;The first frame network is created according to the columns of selected each report and line number;The column head of selected wherein report record is loaded onto the first frame network as column head, generates the second frame network;The display area of corresponding each report is created in the second frame network according to the columns of selected each report and gauge outfit line number;The report messages of selected each report are loaded onto the display area of the second frame network, to generate interim report.The present invention may be implemented multidisciplinary more reports and show in the same page, and to facilitate the comparison of broker, each department's achievement, the editor that can also fix to interim report progress gauge outfit and column head facilitates user's correlation data.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of report methods of exhibiting, device and computer storage to be situated between
Matter.
Background technique
Existing mobile terminal, such as mobile phone, Pad, on app show earning report when, can not due to the limitation of its screen
The data for showing multiple departments either same multiple reports of department simultaneously need to close and work as when needing to browse different reports
Other report can be opened after the report of preceding browsing, caused page needs to toggle, used unusual inconvenience.
Summary of the invention
The present invention provides a kind of report methods of exhibiting, device and computer storage medium, main purpose and is to provide one
Not being added in newly-built single-page report in the project in same report for needing to compare is shown and is compared by kind.
To achieve the above object, the present invention provides a kind of report methods of exhibiting, and the report methods of exhibiting includes:
Response user selectes the comparison instruction triggered after report, obtains all reports that user selectes, and user is selected
All report total quantitys be denoted as N, N >=2;
The information of selected each report is obtained, including report name, gauge outfit line number, gauge outfit field, column head record, are each
The columns and line number and report data of report;
When the column head of the selected each report of judgement records identical, created according to the columns of selected each report and line number
Build the first frame network;
The column head of selected wherein report record is loaded onto the first frame network as column head, generates the second side
Frame network;
Corresponding each report is created in the second frame network according to the columns of selected each report and gauge outfit line number
The display area of table;
The report name, gauge outfit field, report data of selected each report are loaded onto the second frame network
Corresponding display area, to generate interim report;And
Show the interim report.Instruction
Optionally, the columns by selected each report is denoted as C respectively1、C2……CN, the line number phase of each report
Deng and be calculated as R1, described the step of creating the first frame network according to the columns and line number of each report includes:
When the column head of the selected each report of judgement records identical, selected each report is calculated in first frame
Columns is denoted as C by the columns occupied in network respectively1-1、C2-1……CN-1;
The columns and line number occupied in the first frame network according to selected each report creates first side
Frame network, by the columns of the first frame network is denoted as C, line number is denoted as R, then C=C1+C2+……CN- N+1, R=R1+1。
Optionally, the columns of the selected each report of the basis and gauge outfit line number create in the second frame network
The step of display area of corresponding each report includes:
The columns that each report selected according to user occupies in the first frame network is in the second frame net
Corresponding display area is divided in network;
The columns that each report selected according to user occupies in the first frame network merges corresponding display area
The first row all cells;
When the gauge outfit line number of the selected each report of judgement is greater than 1, each cell of the first row of each report is obtained
Columns;
Merge the cell of the second row of corresponding display area according to the columns of each cell of the first row of each report.
Optionally, described that the report name, gauge outfit field, report data of selected each report are loaded onto described second
The step of corresponding display area is shown in frame network include:
The report name of each report of loading selected to corresponding display area the first row;
The gauge outfit field of each report of loading selected to corresponding display area the second row;
The corresponding report data of each cell of each report of loading selected is to the corresponding unit of corresponding display area
Lattice.
Optionally, the report methods of exhibiting further include:
Generate the comparison plug-in unit in the interim report;
When receiving user and triggering the instruction for comparing plug-in unit, the index item content of the interim report is shown;
Obtain the selected index item content that need to be compared of user;
The selected index item content for needing to compare of user is shown in the interim report, and hidden in the interim report
Hiding does not need the index item content of comparison.
The present invention also provides a kind of electronic device, the electronic device includes memory and processor, on the memory
It is stored with the report presentation program that can be run on the processor, it is real when the report presentation program is executed by the processor
The existing above method includes the steps that instruction
In addition, to achieve the above object, the present invention also provides a kind of computer storage medium, the computer storage medium
On be stored with report presentation program, the report presentation program can be executed by one or more processor, to realize institute as above
The step of report methods of exhibiting stated.
Report methods of exhibiting, electronic device and computer storage medium proposed by the present invention are receiving the selected report of user
After table and triggering comparison instruction, according to the report that user selects, displaying while multidisciplinary more reports can be carried out, to facilitate user
The comparison of achievement is carried out, this is removed, the report quantity after displaying can also be increased or be deleted, the fixation of gauge outfit and column head,
Sliding of report etc. is highly suitable for the smaller terminal of screen to facilitate the performance data of multidisciplinary more reports to compare after displaying
Browsing and comparative statements data.
Detailed description of the invention
Fig. 1 provides a kind of report methods of exhibiting flow chart for first embodiment of the invention.
Fig. 2 is a kind of report methods of exhibiting second embodiment flow diagram of the present invention.
Fig. 3 is a kind of report methods of exhibiting 3rd embodiment flow diagram of the present invention.
Fig. 4 is the schematic diagram of internal structure for the electronic device that one embodiment of the invention provides.
Fig. 5 is the program module schematic diagram of the report presentation program in one embodiment of electronic device of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Fig. 1 is the flow diagram for the report methods of exhibiting that first embodiment of the invention provides.This method can be by one
Electronic device executes, which can be by software and or hardware realization.
In the present embodiment, report methods of exhibiting includes:
Step S10, response user select the comparison instruction triggered after report, obtain all reports that user selectes, and will
All report total quantitys that user selectes are denoted as N, and N >=2.
In an embodiment of the present invention, which can be the electronics for being equipped with achievement in banking system and managing APP
Device, after user (such as broker) logs in APP, APP shows that the report selection page selects report, report selection for user
The page is listed all earning reports related to user and is selected for user, triggers after user selectes report according to their own needs
For one contrast button to send comparison instruction, electronic device obtains the institute that user selectes by processor after receiving comparison instruction
There is report, and calculate all report total quantitys that user selectes, the data got and total quantity is calculated can store
In the working area of a memory.It is understood that the invention solves data between multiple reports to be compared to each other, because
This, the report quantity N that user selectes should be more than or equal to 2, and the gauge outfit field name that each report includes should be unique, such as has surname
When file-name field, when the name is identical, Li Si 1 should be used, Li Si 2 distinguishes.
Further, for the confidentiality of enterprise report data, after electronic device operation, report is shown in electronic device
It selects first to pop up account input window before the page, after user inputs username and password, be judged according to the account of user's input
User can be divided into advanced level user, intermediate users, naive user etc., but not in use process of the invention by the grade of user
It is limited to this.
The different report of user is shown to according to user gradation difference and selects the page, for example, naive user only shows user
The report data page of current department, intermediate users can see the report data page of multiple departments, and advanced level user can see
To the report data page of whole departments, it can be configured and divide according to the management of enterprise, all reports of the invention
To be stored in a server either multiple servers.
Specifically, in order to be illustrated more clearly that the solution of the present invention, it is subsequent by with the first report of primary sector and
It is illustrated for second report of secondary sector, first report, the second report and other related statements are with identical
Form stores in the server, selects the first report of primary sector and the second report of secondary sector in the report selection page,
But be not limited to two departments, the selection of multidisciplinary more reports can be carried out, in addition, because electronic device memory space all relatively
It is few, therefore in order to save the memory space of electronic device, after selected report, selected report can be loaded onto server
Facilitate called data in one working area.
In practical applications, the first report of the primary sector that user selects is A sales department 2 month earning report and second
The second report of department is 2 month of B sales department earning report, but is not limited to two reports, can continue to add 2 month of C sales department industry
Achievement report etc..It is to be understood that addition the first report and the second report usually should associated data, it is otherwise right
Than meaning is not present.
Step S20 obtains the information of selected each report, including report name, gauge outfit line number, gauge outfit field, column head
Record, the columns of each report and line number and report data.
In embodiments of the present invention, it after all selected reports are loaded onto the working area of electronic device, can read
The information of selected each report is taken, which can be report name T, gauge outfit line number HN, gauge outfit field HF, column head record
HR, the columns C of each report and line number R, corresponding data D etc., wherein column head is recorded as the index item of the report;
When concrete application, A sales department 2 month performance table such as following table, the report name are only shown are as follows: A sales department 2 month achievement
Imitate table;Gauge outfit line number is two rows;Gauge outfit the first row field are as follows: new broker, storage broker;Gauge outfit the second row field are as follows:
Three, Li Si, king five, Zhao six;Header record is customer quantity, commission deduction, the classification of client's new assets, average daily assets, fund;
The columns of report is 5, line number 7.
In B sales department 2 month performance table, report name is 2 month of B sales department performance table, and gauge outfit line number is two rows, gauge outfit
The first row field are as follows: new broker, storage broker, gauge outfit the second row field are as follows: Xiao Ming, opens two at Li Lei, Wei Yi;Gauge outfit note
Record is customer quantity, commission deduction, the classification of client's new assets, average daily assets, fund;The columns of report is 5, line number 7.
In other embodiment, A sales department 2 month performance table and B sales department performance table are in addition to column having the same
Head record is outer, and other forms can be different.
A sales department 2 month earning report:
Step S30, when the column head of the selected each report of judgement records identical, according to the columns of selected each report
And line number creates the first frame network.
The invention solves the comparisons between multiple report datas, it is therefore desirable in the identical situation pair of index item content
Bizet is significant, first judges that the index item content of all selected reports is identical before the data before comparison between report,
In the identical situation of index item content of selected each report, achievement electronic device reads the columns and line number of each report,
The first frame network is created according to the columns of all reports and line number.
The column head of selected wherein report record is loaded onto the first frame network as column head, life by step S40
At the second frame network.
The column head record of wherein selected list is read, and the column head is recorded into the column head as the first frame network, it should
Column head record is shown since gauge outfit line number HN+1 row.
Step S50, creates in the second frame network pair according to the columns of selected each report and gauge outfit line number
Answer the display area of each report.
Each display area midrange is the columns of corresponding report, and according to the gauge outfit line number merging pair of corresponding report
Answer the first row and/or the second row of display area.
The report name, gauge outfit field, report data of selected each report are loaded onto second side by step S60
In frame network in corresponding display area, to generate interim report.
Step S70 shows the interim report.
In the present embodiment, after receiving user and selecting the comparison instruction of report triggering, report that available user selectes
Table, and calculate the total quantity of selected report;The information for obtaining each report judges according to the information of each report got
Whether the column head record of each report is identical, and creates the first frame network under identical circumstances, meaningless to avoid comparing
The case where occur;It creates the first frame network column head record is loaded into the first frame network later, then is based on each report
The columns and gauge outfit line number of table mark off display area of each report in the first frame network, then by the letter of each report
Breath is loaded onto corresponding display area and is shown and generates interim report, which can show multiple reports simultaneously,
To facilitate the comparison between data.
It is the flow diagram of report methods of exhibiting second embodiment of the present invention referring to Fig. 2, Fig. 2.
Based on above-mentioned embodiment illustrated in fig. 1, in the present embodiment, the columns of selected each report is denoted as C respectively1、
C2……CN, the line number of each report is equal and is calculated as R1, step S30 includes:
S31, calculates the columns that selected each report occupies in the first frame network, which is denoted as respectively
C1-1、C2-1……CN-1;
In the present embodiment, A sales department 2 month earning report and B sales department 2 month earning report are respectively in the first frame
The columns occupied in network is 4 and 4.
S32, the columns occupied in the first frame network according to selected each report and line number creation described the
One frame network, the columns of the first frame network are C=(C1+C2+……CN- N+1) and line number R=R1+1。
In the present embodiment, the columns of the first frame network is C=7, line number 8.
In the present embodiment, after receiving user and selecting the comparison instruction of report triggering, it is selected that this method obtains user
Report, and calculate the total quantity of selected report;The information for obtaining each report, according to the information of each report got
Judge whether the column head record of each report is identical, and create the first frame network under identical circumstances, to avoid comparison nothing
The case where meaning, occurs;The first frame network is created according to the columns of selected each report and line number, creates the first frame
Column head record is loaded into the first frame network after network, then the columns based on each report and gauge outfit line number mark off often
The information of each report is then loaded onto corresponding display area and carried out by display area of one report in the first frame network
Interim report is shown and generates, which can show multiple reports simultaneously, to facilitate the comparison between data.
It is the flow diagram of report methods of exhibiting 3rd embodiment of the present invention referring to Fig. 3, Fig. 3.
Based on above-mentioned embodiment illustrated in fig. 1, in the present embodiment, S50 includes:
S51, the columns that each report selected according to user occupies in the first frame network is on second side
Corresponding display area is divided in frame network;
In order to show the data of each report, when dividing display area, the columns of the display area should be with corresponding report
Total columns of table is identical.
S52, the columns that each report selected according to user occupies in the first frame network merge corresponding show
All cells of the first row in region;
It, will be each in order to which the first row of each display area again shows which report is the title of corresponding report to distinguish be
The cell of the first row of display area all merges into a cell.
S53 judges the gauge outfit line number of selected each report, when the gauge outfit line number of selected each report is greater than 1, obtains
Take the columns of each cell of the first row of each report;
In order to show each report gauge outfit the first row field, the gauge outfit line number of each report is judged, in its gauge outfit row
In the case that number is greater than 1, the columns of each cell of the first row of each report is obtained, it is to be understood that each cell
It is exactly the corresponding columns of each field, is accustomed to according to conventional report making, the gauge outfit line number of usual report is generally not more than
2。
In concrete application, such as A sales department 2 month earning report, there are two cells for the first row tool, correspond to the word of display
Section is respectively new broker, storage broker;The corresponding columns of cell where new broker is 2, where storage broker
The corresponding columns of cell be 2.
S54 merges the list of the second row of corresponding display area according to the columns of each cell of the first row of each report
First lattice.
In order to show the first row of each report, is merged according to the columns of each cell of the first row of each report and corresponded to
The cell of second row of display area.
In the present embodiment, after receiving user and selecting the comparison instruction of report triggering, it is selected that this method obtains user
Report, and calculate the total quantity of selected report;The information for obtaining each report, according to the information of each report got
Judge whether the column head record of each report is identical, and create the first frame network under identical circumstances, to avoid comparison nothing
The case where meaning, occurs;The first frame network is created according to the columns of selected each report and line number, creates the first frame
Column head record is loaded into the first frame network after network;According to the columns of selected each report in the first frame network
Middle division display area, and the first row according to the columns of selected each report in corresponding display area merges all units
Lattice, further according to the gauge outfit line number of the selected each report of judgement, close when gauge outfit line number to show the title of corresponding report and are greater than 1
When, the columns of each cell of the first row of each report is obtained, according to the columns of each cell of the first row of each report
The cell for merging the second row of corresponding display area, to show the first row field of corresponding report, then by each report
Information be loaded onto corresponding display area and be shown and generate interim report, which can show multiple reports simultaneously
Table, to facilitate the comparison between data.
Further, S60 includes:
The report name of each report of loading selected to corresponding display area the first row;
The gauge outfit field of each report of loading selected to corresponding display area the second row;
The corresponding report data of each cell of each report of loading selected is to the corresponding unit of corresponding display area
Lattice.
Further, after the step of displaying interim report further include:
Generate the comparison plug-in unit in the interim report;
When receiving user and triggering the instruction for comparing plug-in unit, the index item content of the interim report is shown;
Obtain the selected index item content that need to be compared of user;
The selected index item content for needing to compare of user is shown in the interim report, and hidden in the interim report
Hiding does not need the index item content of comparison.
Further, after the step of generating and showing the interim report, this method further includes following steps:
It receives user and triggers the column head of the interim report or the instruction of gauge outfit;
The column head or gauge outfit for setting the interim report is fixed modes;
It receives user and horizontally slips or slide up and down statement instruction;
Response, which horizontally slips, to be shown the interim report or slides up and down the display interim report.
Further, after the step of generating and showing the interim report, this method further includes following steps:
Generate the addition plug-in unit in the interim report;
The instruction that user triggers the addition plug-in unit is received, and in the interim report after the selected report that need to be added of user
The selected report that need to be added is added in table.
Further, after the step of generating and showing the interim report, this method further includes following steps:
Generate the deletion plug-in unit in the interim report;
It receives user and triggers the instruction for deleting plug-in unit, show all reports selected;
After user selectes the report that need to be deleted and triggers deletion instruction, deleting to have selected in the interim report needs to delete
Report.Referring to shown in Fig. 4, for the schematic diagram of internal structure for the electronic device 1 that one embodiment of the invention provides.
In the present embodiment, electronic device 1 can be PC (Personal Computer, PC), be also possible to intelligence
The terminal devices such as energy mobile phone, tablet computer, portable computer.The electronic device 1 includes at least memory 11, processor 12, leads to
Believe bus 13 and network interface 14.
Wherein, memory 11 includes at least a type of readable computer storage medium, the readable computer storage
Medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, light
Disk etc..Memory 11 can be the internal storage unit of electronic device 1 in some embodiments, such as the electronic device 1 is hard
Disk.Memory 11 is also possible to match on the External memory equipment of electronic device 1, such as electronic device 1 in further embodiments
Standby plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)
Card, flash card (Flash Card) etc..Further, memory 11 can also both include the internal storage unit of electronic device 1
It also include External memory equipment.Memory 11 can be not only used for storing the application software for being installed on electronic device 1 and all kinds of numbers
According to, such as code of report presentation program 01 etc., it can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11
Code or processing data, such as execute report presentation program 01 etc..
Communication bus 13 is for realizing the connection communication between these components.
Network interface 14 optionally may include standard wireline interface and wireless interface (such as WI-FI interface), be commonly used in
Communication connection is established between the device 1 and other electronic equipments.
Optionally, which can also include user interface, and user interface may include display (Display), input
Unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.It is optional
Ground, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED
(Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Wherein, display can also be appropriate
Referred to as display screen or display unit, for showing the information handled in the electronic apparatus 1 and for showing visual user
Interface.
In 1 embodiment of device shown in Fig. 4, report presentation program 01 is stored in memory 11;Processor 12 executes
Following steps are realized when the report presentation program 01 stored in memory 11:
Response user selectes the comparison instruction triggered after report, obtains all reports that user selectes, and user is selected
All report total quantitys be denoted as N, N >=2;
The information of selected each report is obtained, which includes at least report name, gauge outfit line number, gauge outfit field, column
Head record, the columns of each report and line number and report data;
When the column head of the selected each report of judgement records identical, created according to the columns of selected each report and line number
Build the first frame network;
The column head of selected wherein report record is loaded onto the first frame network as column head, generates the second side
Frame network;
Corresponding each report is created in the second frame network according to the columns of selected each report and gauge outfit line number
The display area of table;
The report name, gauge outfit field, report data of selected each report are loaded onto the second frame network
Corresponding display area, to generate interim report;
Show the interim report.
Further, in another embodiment of apparatus of the present invention, the columns of selected each report is denoted as C respectively1、
C2……CN, the line number of each report is equal and is calculated as R1, the column head of each report selected when judgement records identical
When, include: according to the step of columns of selected each report and line number the first frame network of creation
The columns that selected each report occupies in the first frame network is calculated, which is denoted as C respectively1-1、
C2-1……CN-1;
The columns and line number occupied in the first frame network according to selected each report creates first side
Frame network, the columns of the first frame network are denoted as C, and line number is denoted as R, C=C1+C2+……CN- N+1, R=R1+1。
Further, in another embodiment of apparatus of the present invention, the columns and table of the selected each report of the basis
Head line number create the step of display area of each report of correspondence in the second frame network and includes:
The columns that each report selected according to user occupies in the first frame network is in the second frame net
Corresponding display area is divided in network;
The columns that each report selected according to user occupies in the first frame network merges corresponding display area
The first row all cells;
The gauge outfit line number of the selected each report of judgement obtains every when the gauge outfit line number of selected each report is greater than 1
The columns of each cell of the first row of one report;
Merge the cell of the second row of corresponding display area according to the columns of each cell of the first row of each report.
Further, described by the report name of selected each report, table in another embodiment of apparatus of the present invention
The step that head file, report data are loaded onto the second frame network in corresponding display area includes:
The report name of each report of loading selected to corresponding display area the first row;
The gauge outfit field of each report of loading selected to corresponding display area the second row;
The corresponding report data of each cell of each report of loading selected is to the corresponding unit of corresponding display area
Lattice.
Further, in another embodiment of apparatus of the present invention, report presentation program 01 can also be called by processor 12,
To realize following steps after the step of showing the interim report:
Generate the comparison plug-in unit in the interim report;
Generate the comparison plug-in unit in the interim report;
When receiving user and triggering the instruction for comparing plug-in unit, the index item content of the interim report is shown;
Obtain the selected index item content that need to be compared of user;
The selected index item content for needing to compare of user is shown in the interim report, and hidden in the interim report
Hiding does not need the index item content of comparison.
Further, in another embodiment of apparatus of the present invention, report presentation program 01 can also be called by processor 12,
To realize following steps after the step of showing the interim report:
It receives user and triggers the column head of the interim report or the instruction of gauge outfit;
The column head or gauge outfit for setting the interim report is fixed modes;
It receives user and horizontally slips or slide up and down statement instruction;
Response, which horizontally slips, to be shown the interim report or slides up and down the display interim report.
Further, in another embodiment of apparatus of the present invention, report presentation program 01 can also be called by processor 12,
To realize following steps after the step of showing the interim report:
Generate the addition plug-in unit in the interim report;
The instruction that user triggers the addition plug-in unit is received, and in the interim report after the selected report that need to be added of user
The selected report that need to be added is added in table.
Further, in another embodiment of apparatus of the present invention, report presentation program can also be called by processor, with
Following steps are realized after the step of showing the interim report:
Generate the deletion plug-in unit in the interim report;
It receives user and triggers the instruction for deleting plug-in unit, show all reports selected;
After user selectes the report that need to be deleted and triggers deletion instruction, deleting to have selected in the interim report needs to delete
Report.
Optionally, in other embodiments, report presentation program can also be divided into one or more module, and one
Or multiple modules are stored in memory 11, and performed by one or more processors (the present embodiment is processor 12)
To complete the present invention, the so-called module of the present invention is the series of computation machine program instruction section for referring to complete specific function, is used
In the implementation procedure of description report presentation program in an electronic.
It is the program module of the report presentation program 01 in one embodiment of electronic device of the present invention for example, referring to shown in Fig. 5
Schematic diagram, in the embodiment, report presentation program can be divided into the first acquisition module 71, second and obtain module 72, first
Creation module 73, the first loading module 74, the second creation module 75, the second loading module 76 and display module 77, illustratively:
First obtains module 71, for when triggering comparison instruction, it is selected to obtain user after receiving user and selecting report
All reports and calculate all report total quantitys for selecting of user, all report total quantitys that wherein user selectes are denoted as N, N >
=2;
Second obtains module 72, and for obtaining the information of selected each report, which includes at least report name, table
Head line number, gauge outfit field, column head record, the columns of each report and line number and report data;
First creation module 73, for when the column head of the selected each report of judgement records identical, according to selected every
The columns and line number of one report create the first frame network;
First loading module 74, for the column head record for the wherein report selected to be loaded onto the first frame network
As column head, the second frame network is generated;
Second creation module 75, for the columns and gauge outfit line number according to selected each report in the second frame net
The display area of corresponding each report is created in network;
Second loading module 76, for the report name, gauge outfit field, report data of each report selected to be loaded onto
Corresponding display area in the second frame network;
Display module 77, for showing the interim report.
Further, the columns of selected each report is denoted as C respectively1、C2……CN, the line number of each report is equal
And it is calculated as R1, the first creation module 73 in report presentation program can also be divided into computing unit and the first creation is single
Member, illustratively:
Computing unit, the columns occupied in the first frame network for calculating selected each report, the columns
It is denoted as C respectively1-1、C2-1……CN-1;
First creating unit, columns and row for being occupied in the first frame network according to selected each report
Number creates the first frame network, is C=(C by the columns of the first frame network1+C2+……CN- N+1), line number R=
R1+1。
Further, the second creation module 75 in report presentation program can also be divided into division unit, the first conjunction
And unit, judging unit and the second combining unit, illustratively:
Division unit, the columns that each report for being selected according to user occupies in the first frame network is in institute
It states in the second frame network and divides corresponding display area;
First combining unit, the columns that each report for being selected according to user occupies in the first frame network
Merge all cells of the first row of corresponding display area;
Judging unit, for judging the gauge outfit line number of selected each report, when the gauge outfit line number of selected each report
When greater than 1, the columns of each cell of the first row of each report is obtained;
Second combining unit, the columns for each cell of the first row according to each report merge corresponding display area
The second row cell.
Further, the second loading module 76 in report presentation program can also be divided into the first loading unit,
Two loading units and third loading unit, illustratively:
First loading unit, the first row of the report name of each report for loading selected to corresponding display area;
Second loading unit, the second row of the gauge outfit field of each report for loading selected to corresponding display area;
Third loading unit, the corresponding report data of each cell of each report for loading selected to corresponding exhibition
Show the corresponding cell in region.
Further, report presentation program can also be divided into the first generation module, the first display module, third and obtain
Module and display and hidden module, illustratively:
First generation module, for generating the comparison plug-in unit in the interim report;
First display module, for showing the interim report when receiving user and triggering the instruction for comparing plug-in unit
Index item content;
Third obtains module, for obtaining the selected index item content that need to be compared of user;
Display and hidden module, for showing the selected index item content for needing to compare of user in the interim report,
And the index item content for not needing comparison is hidden in the interim report.
Further, report presentation program can also be divided into the first receiving module, the first setting module, the second reception
Module and respond module, illustratively:
First receiving module triggers the column head of the interim report or the instruction of gauge outfit for receiving user;
First setting module, the column head or gauge outfit for setting the interim report is fixed modes;
Second receiving module horizontally slips or slides up and down statement instruction for receiving user;
Respond module shows the interim report or slides up and down the display interim report for responding to horizontally slip.
Further, report presentation program can also be divided into the second generation module and reception and adding module, example
Property:
Second generation module, for generating the addition plug-in unit in the interim report;
It receives and adding module, triggers the instruction of the addition plug-in unit for receiving user, and need to add user is selected
Report after the selected report that need to be added is added in the interim report.
Further, report presentation program can also be divided into third generation module, third receiving module and delete mould
Block, illustratively:
Third generation module, for generating the deletion plug-in unit in the interim report;
Third receiving module triggers the instruction of deletion plug-in unit for receiving user, shows all reports selected;
Removing module, for deleting the interim report after user selectes the report that need to be deleted and triggers deletion instruction
In selected the report that need to be deleted.
In addition, the computer storage medium is stored with meter the embodiment of the invention also provides a kind of computer storage medium
The step of calculation machine program, above-mentioned computer program realizes above-mentioned report methods of exhibiting when being executed by processor.
Illustratively, computer program can be divided into one or more modules, one or more module is stored
In memory, and by processor it executes, to complete the present invention.One or more modules, which can be, can complete specific function
Series of computation machine program instruction section, the instruction segment is for describing the implementation procedure of computer program in an electronic.For example,
Above-mentioned computer program can be divided into the unit or module of the information acquisition device that above-mentioned each system embodiment provides.
It will be understood by those skilled in the art that the description of above-mentioned electronic device is only example, structure paired electrons is not filled
The restriction set may include component more more or fewer than foregoing description, perhaps combine certain components or different components,
It such as may include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital command processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng above-mentioned processor is the control centre of above-mentioned electronic device, utilizes each of various interfaces and the entire user terminal of connection
A part.
Above-mentioned memory can be used for storing computer program and/or module, and above-mentioned processor is by operation or executes storage
Computer program and/or module in memory, and the data being stored in memory are called, realize above-mentioned electronic device
Various functions.Memory can mainly include storing program area and storage data area, wherein storing program area can store operation system
System, application program needed at least one function (such as trip requirements information receive capabilities, can parking information and the destination
Information output function etc.) etc.;Storage data area can be stored uses created data (for example to go on a journey according to information acquisition method
Demand information, can parking information, destination information etc.) etc..In addition, memory may include high-speed random access memory, also
It may include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card,
SMC), secure digital (Secure Digital, SD) blocks, and flash card (Flash Card), dodges at least one disk memory
Memory device or other volatile solid-state parts.
If the integrated module/unit of electronic device is realized in the form of SFU software functional unit and as independent product pin
It sells or in use, can store in a computer-readable computer storage medium.Based on this understanding, the present invention is real
All or part of module/unit in existing above-described embodiment system, can also instruct relevant hardware by computer program
It completes, above-mentioned computer program can be stored in a computer storage medium, which is being executed by processor
When, it can be achieved that above-mentioned each system embodiment function.Wherein, computer program includes computer program code, computer journey
Sequence code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry computer program code
Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), the instruction of electric carrier wave, telecommunications instruction and software distribution medium etc..
In embodiments of the present invention, after electronic device receives the triggering command of user, the account of user's input is received, and
Server is sent to after judging account levels, server is according to account levels by report selection page presentation to user, root
According to the report that user selects, can carry out showing while multidisciplinary more reports in electronic device, to facilitate user to carry out achievement
Comparison removes this, can also be increased the report quantity after displaying or be deleted, the fixation of gauge outfit and column head, report after displaying
Sliding etc. to facilitate the performance data of multidisciplinary more reports to compare, be highly suitable for the smaller terminal browsing of screen and compare
Report data.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And
The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet
Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed
Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more
In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element
Or there is also other identical elements in method.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In computer storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that an electronic device (can be
Mobile phone, computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of report methods of exhibiting, which is characterized in that the described method includes:
Response user selectes the comparison instruction triggered after report, obtains all reports that user selectes, and the institute that user is selected
There is report total quantity to be denoted as N, N >=2;
Obtain the information of selected each report, including report name, gauge outfit line number, gauge outfit field, column head record, each report
Columns and line number and report data;
When the column head of the selected each report of judgement records identical, according to the columns of selected each report and line number creation the
One frame network;
The column head of selected wherein report record is loaded onto the first frame network as column head, generates the second frame net
Network;
Corresponding each report is created in the second frame network according to the columns of selected each report and gauge outfit line number
Display area;
The report name, gauge outfit field, report data of selected each report are loaded onto the second frame network corresponding
Display area, to generate interim report;And
Show the interim report.
2. report methods of exhibiting as described in claim 1, which is characterized in that the columns of selected each report to be denoted as respectively
C1、C2……CN, the line number of each report is equal and is calculated as R1, the columns and line number wound of the selected each report of the basis
The step of building the first frame network include:
When the column head of the selected each report of judgement records identical, selected each report is calculated in the first frame network
Columns is denoted as C by the columns of middle occupancy respectively1-1、C2-1……CN-1;
The columns and line number occupied in the first frame network according to selected each report creates the first frame net
Network, by the columns of the first frame network is denoted as C, line number is denoted as R, then C=C1+C2+……CN- N+1, R=R1+1。
3. report methods of exhibiting as claimed in claim 2, which is characterized in that the columns of the selected each report of the basis and
Gauge outfit line number creates the step of display area of corresponding each report in the second frame network and includes:
The columns that each report selected according to user occupies in the first frame network is in the second frame network
Divide corresponding display area;
Columns that each report selected according to user occupies in the first frame network merges the of corresponding display area
All cells of a line;
When the gauge outfit line number of the selected each report of judgement is greater than 1, the column of each cell of the first row of each report are obtained
Number;
Merge the second row of corresponding display area according to the columns of each cell of the first row of each report.
4. report methods of exhibiting as claimed in claim 3, which is characterized in that the report name by selected each report
The step of title, gauge outfit field, report data are loaded onto corresponding display area in the second frame network include:
The report name of each report of loading selected to corresponding display area the first row;
The gauge outfit field of each report of loading selected to corresponding display area the second row;
The corresponding report data of each cell of each report of loading selected is into the corresponding cell of corresponding display area.
5. such as report methods of exhibiting of any of claims 1-4, which is characterized in that the report methods of exhibiting also wraps
It includes:
Generate the comparison plug-in unit in the interim report;
When receiving user and triggering the instruction for comparing plug-in unit, the index item content of the interim report is shown;
Obtain the selected index item content that need to be compared of user;
The selected index item content for needing to compare of user is shown in the interim report, and is hidden not in the interim report
The index item content for needing to compare.
6. a kind of electronic device, which is characterized in that the electronic device includes memory and processor, is stored on the memory
There is the report presentation program that can be run on the processor, is realized such as when the report presentation program is executed by the processor
Lower step:
Response user selectes the comparison instruction triggered after report, obtains all reports that user selectes, and the institute that user is selected
There is report total quantity to be denoted as N, N >=2;
Obtain the information of selected each report, including report name, gauge outfit line number, gauge outfit field, column head record, each report
Columns and line number and report data;
When the column head of the selected each report of judgement records identical, according to the columns of selected each report and line number creation the
One frame network;
The column head of selected wherein report record is loaded onto the first frame network as column head, generates the second frame net
Network;
Corresponding each report is created in the second frame network according to the columns of selected each report and gauge outfit line number
Display area;
The report name, gauge outfit field, report data of selected each report are loaded onto the second frame network corresponding
Display area, to generate interim report;
Show the interim report.
7. electronic device as claimed in claim 6, which is characterized in that the columns of selected each report is denoted as C respectively1、
C2……CN, the line number of each report is equal and is calculated as R1, described that first frame is created according to the columns and line number of each report
The step of network includes:
The columns that selected each report occupies in the first frame network is calculated, columns is denoted as C respectively1-1、C2-
1……CN-1;
The columns and line number occupied in the first frame network according to selected each report creates the first frame net
Network, by the columns of the first frame network be denoted as C, line number is denoted as R, then C=C1+C2+……CN- N+1, R=R1+1。
8. electronic device as claimed in claim 6, which is characterized in that the columns and gauge outfit of the selected each report of the basis
Line number creates the step of display area of corresponding each report in the second frame network and includes:
The columns that each report selected according to user occupies in the first frame network is in the second frame network
Divide corresponding display area;
Columns that each report selected according to user occupies in the first frame network merges the of corresponding display area
All cells of a line;
When the gauge outfit line number of the selected each report of judgement is greater than 1, the column of each cell of the first row of each report are obtained
Number;
Merge the second row of corresponding display area according to the columns of each cell of the first row of each report.
9. electronic device as claimed in claim 6, which is characterized in that described by the report name of selected each report, table
Head file, report data are loaded onto the step of corresponding display area is shown in the second frame network and include:
The report name of each report of loading selected to corresponding display area the first row;
The gauge outfit field of each report of loading selected to corresponding display area the second row;
The corresponding report data of each cell of each report of loading selected is to the corresponding cell list of corresponding display area
First lattice.
10. a kind of computer storage medium, which is characterized in that report presentation program is stored in the computer storage medium,
The report presentation program can be executed by one or more processor, to realize as described in any one of claims 1 to 5
The step of report methods of exhibiting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811250511.3A CN109614600B (en) | 2018-10-25 | 2018-10-25 | Report display method and device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811250511.3A CN109614600B (en) | 2018-10-25 | 2018-10-25 | Report display method and device and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109614600A true CN109614600A (en) | 2019-04-12 |
CN109614600B CN109614600B (en) | 2024-01-26 |
Family
ID=66001922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811250511.3A Active CN109614600B (en) | 2018-10-25 | 2018-10-25 | Report display method and device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109614600B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490715A (en) * | 2019-08-26 | 2019-11-22 | 北京搜狐新媒体信息技术有限公司 | A kind of data visualization comparativeanalysis method and system |
CN110795190A (en) * | 2019-10-28 | 2020-02-14 | 长城计算机软件与系统有限公司 | Data processing operation method and device, storage medium and electronic equipment |
CN111143355A (en) * | 2019-12-10 | 2020-05-12 | 北京字节跳动网络技术有限公司 | Data processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040049730A1 (en) * | 2002-09-05 | 2004-03-11 | Beacon Information Technology Inc. | Data management system, method, and recording medium |
CN103106226A (en) * | 2011-07-29 | 2013-05-15 | 波音公司 | System for updating an associative memory |
CN103970790A (en) * | 2013-02-01 | 2014-08-06 | 华为技术有限公司 | Report combination method and equipment |
CN106708792A (en) * | 2016-12-01 | 2017-05-24 | 北京奇虎科技有限公司 | Method and apparatus for displaying report in webpage |
US9672200B1 (en) * | 2013-11-06 | 2017-06-06 | Apttex Corporation | Spreadsheet with dynamic cell dimensions generated by a spreadsheet template based on remote application values |
-
2018
- 2018-10-25 CN CN201811250511.3A patent/CN109614600B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040049730A1 (en) * | 2002-09-05 | 2004-03-11 | Beacon Information Technology Inc. | Data management system, method, and recording medium |
CN103106226A (en) * | 2011-07-29 | 2013-05-15 | 波音公司 | System for updating an associative memory |
CN103970790A (en) * | 2013-02-01 | 2014-08-06 | 华为技术有限公司 | Report combination method and equipment |
US9672200B1 (en) * | 2013-11-06 | 2017-06-06 | Apttex Corporation | Spreadsheet with dynamic cell dimensions generated by a spreadsheet template based on remote application values |
CN106708792A (en) * | 2016-12-01 | 2017-05-24 | 北京奇虎科技有限公司 | Method and apparatus for displaying report in webpage |
Non-Patent Citations (2)
Title |
---|
宋天龙: "两个或两个以上表格进行数据比对,如何能让电脑自动进行对比并标记出不同项(操作环境为Excel或WPS))", 《HTTPS://WWW.ZHIHU.COM/QUESTION/27860839》, pages 1 - 6 * |
张大治;: "基于Powerbuilder数据窗口和数据库视图的复杂报表设计方法", 计算机系统应用, no. 02, pages 75 - 78 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490715A (en) * | 2019-08-26 | 2019-11-22 | 北京搜狐新媒体信息技术有限公司 | A kind of data visualization comparativeanalysis method and system |
CN110795190A (en) * | 2019-10-28 | 2020-02-14 | 长城计算机软件与系统有限公司 | Data processing operation method and device, storage medium and electronic equipment |
CN111143355A (en) * | 2019-12-10 | 2020-05-12 | 北京字节跳动网络技术有限公司 | Data processing method and device |
CN111143355B (en) * | 2019-12-10 | 2023-04-25 | 北京字节跳动网络技术有限公司 | Data processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109614600B (en) | 2024-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9336184B2 (en) | Representation of an interactive document as a graph of entities | |
US9304672B2 (en) | Representation of an interactive document as a graph of entities | |
CN107644286A (en) | Workflow processing method and device | |
CN109446218A (en) | SQL statement generation method, device and computer readable storage medium | |
CN111352935B (en) | Index creating method, device and equipment in block chain type account book | |
CN107391526A (en) | A kind of data processing method and equipment based on block chain | |
CN102541638A (en) | Resource deployment based on conditions | |
CN109614600A (en) | Report methods of exhibiting, device and computer storage medium | |
US10846298B2 (en) | Record profiling for dataset sampling | |
CN109597822A (en) | A kind of storage of user data and querying method and user data processing unit | |
CN107656729A (en) | Updating device, method and the computer-readable recording medium of List View | |
CN102105862A (en) | Automatic user interface generation for entity interaction | |
WO2016076906A1 (en) | Testing insecure computing environments using random data sets generated from characterizations of real data sets | |
CN107391535A (en) | The method and device of document is searched in document application | |
CN106547870A (en) | Point table method and device of data base | |
CN112784112A (en) | Message checking method and device | |
US9244990B2 (en) | Representation of data records in graphic tables | |
CN111046052A (en) | Method, device and equipment for storing operation records in database | |
CN110187872A (en) | A kind of BIOS development approach, system and electronic equipment and storage medium | |
CN108133088B (en) | Self-adaptive creation method and system of CAD (computer-aided design) model | |
CN109299424A (en) | It is a kind of to provide the method, apparatus and computer readable medium of response events based on rich text | |
CN111553749A (en) | Activity push strategy configuration method and device | |
WO2019085354A1 (en) | Excel system interface-based database linkage method, electronic device, and storage medium | |
US20220207075A1 (en) | Method and apparatus for generating unordered list, method for managing images and terminal device | |
WO2022265884A1 (en) | Data governance systems and methods |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |