CN104714985B - A kind of method and device promoting list examination & approval efficiency - Google Patents

A kind of method and device promoting list examination & approval efficiency Download PDF

Info

Publication number
CN104714985B
CN104714985B CN201310699977.2A CN201310699977A CN104714985B CN 104714985 B CN104714985 B CN 104714985B CN 201310699977 A CN201310699977 A CN 201310699977A CN 104714985 B CN104714985 B CN 104714985B
Authority
CN
China
Prior art keywords
data
cached
list
user
pending
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
CN201310699977.2A
Other languages
Chinese (zh)
Other versions
CN104714985A (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.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software 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 Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN201310699977.2A priority Critical patent/CN104714985B/en
Publication of CN104714985A publication Critical patent/CN104714985A/en
Application granted granted Critical
Publication of CN104714985B publication Critical patent/CN104714985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of method of promotion list examination & approval efficiency, including:Classify to the pending form types of user, extracts critical data information;The critical data information is subjected to data format conversion, the data formatted are cached;In the pending middle displaying list significant data information of homepage;User right is set, to support user to open former form interface from pending list, and the case where being controlled according to permission, carries out data modification, after change update cache.The present invention takes the mode that server-side and client data detach, and is integrated by carrying out data classification to a variety of document types, realizes that document examination & approval are rapidly completed in user in pending list interface.

Description

A kind of method and device promoting list examination & approval efficiency
Technical field
The present invention relates to information technology field more particularly to a kind of method and devices for promoting list and examining efficiency.
Background technology
At present in management software, in order to promote the efficiency of list typing, it will usually bind more preset data collection or interior It sets hook and checks the formula such as inspection, automatic operation.But for auditing the user on hilllock, not all document types are required for carrying out Data modification(Such as voucher examination & approval, the examination & approval of routine office work document, user need to only consult, not without modification).But every time When opening the list that need to be audited, since server-side need to all be fetched into Mobile state, loading efficiency can be very low, when data volume reaches hundreds of When interface load will be more than 10 seconds.For example, after auditing the data load on hilllock at first, filling in, preset data collection or built-in Hook checks the formula such as inspection, automatic operation, all completes data operation.When the next post of entrance is audited, can generally incite somebody to action Operation is primary again for all these data, and in this way than relatively time-consuming, user experience is bad.This is a kind of larger for database performance Burden, also significantly impact the operating efficiency of user.
Invention content
The purpose of the present invention is overcoming shortcoming in the prior art, propose a solution, take server-side and The mode of client data separation, and integrated by carrying out data classification to a variety of document types, it is realized in pending list interface Document examination & approval are rapidly completed in user.
The embodiment of the present invention provides a kind of method of promotion list examination & approval efficiency, including:
Classify to the pending form types of user, extracts critical data information;
The critical data information is subjected to data format conversion, the data formatted are cached;
In the pending middle displaying list significant data information of homepage;
User right is set, to support user to open former form interface from pending list, and the case where controlled according to permission Data modification is carried out, the update caching after having changed.
The embodiment of the present invention also provides a kind of device of promotion list examination & approval efficiency, including:
Extracting unit of classifying extracts critical data information for classifying to the pending form types of user;
Format conversion unit, for the critical data information to be carried out data format conversion;
Buffer unit, for caching the data formatted;
Display unit, in the pending middle displaying list significant data information of homepage;
Permission unit is set, for user right to be arranged, to support user to open former form interface from pending list;
Data modification unit, for being controlled according to permission the case where, carry out data modification, the update caching after changing.
The data buffer storage in first post is got up using caching, is waited until by the method and device provided through the embodiment of the present invention When next post audit, directly obtained from caching, without carrying out unnecessary operation again.In this way, after first post Examination & approval, the page can be opened within 1 second or so, and reduce time loss caused by operation.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field For those of ordinary skill, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is the method flow diagram of the embodiment of the present invention one;
Fig. 2 is the JSON form schematic diagrams of the embodiment of the present invention one;
Fig. 3 is the carry out data buffer storage flow chart of the embodiment of the present invention one;
Fig. 4 is the data cached flow chart of acquisition of the embodiment of the present invention one;
Fig. 5 is the device composition figure of the embodiment of the present invention two.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is the method flow diagram of the embodiment of the present invention one, as shown in Figure 1, this method includes:
S101. classify to the pending form types of user, extract critical data information;
Classify to the pending form types of user, extracts critical data information, this partial data is separated into progress Caching.The critical data needs to record the time of mask data, can be in time from server-side weight when being changed so as to data It is new to obtain latest data, to keep the consistency of data.
S102. the critical data information is subjected to data format conversion, the data formatted is cached;
In embodiments of the present invention, need the data cached that will be formatted into JSON(JavaScript Object Notation)Format.JSON is a kind of format convenient for computer understanding and read-write, and identical content can compare XML format Data it is small many.JSON formats are encapsulated using { } symbol, and the inside passes through by the sublist data in array depository documents Attribute stores the data of summary table, main table.Simple data are only stored, function are not allowed to store, as shown in Figure 2.
In addition, after the completion of data preparation, then JSON object sequences can be melted into character string, in case being transferred to server-side.
It should be noted that the embodiment of the present invention is to pass through AJAX(Asynchronous JavaScript and XML) Technology, the data that will have been formatted are cached to file server, or are cached in database, are used as by the major key of document Mark is saved.Other than being saved in database, front end caching WebStorage technologies or front end number can be also utilized According to library technology, data buffer storage is got up, in case checking the document later.
For the smaller document of data volume, there is different processing modes for different browsers.For ie6, ie7, profit With the user data area field technique for the 1M sizes that browser provides, browser end persistence caching is carried out.And for ie8 or more (Including ie8)And chrome, firefox, opera, then use WebStorage technologies.WebStorage, which has, more to be deposited Space is stored up, more data can be preserved.The above technology can realize the persistence caching for comparing big data quantity, and accomplish Browser-cross.
If data volume is bigger, the data area of ie and WebStorage technologies all cannot be satisfied, then may be used The database technology of browser is preserved.It is not single in this way that data can be persistently stored, caching number can also be carried out by vernier According to quick lookup.The flow of its data buffer storage is as shown in Figure 3.
S103. in the pending middle displaying list significant data information of homepage;
It should be noted that displaying list significant data information, it can be by with " embeding layer " or " being carried in homepage is pending Show layer " form show, allow the user examination & approval are rapidly completed, it is larger to improve working efficiency." embeding layer " needs user to click Before data+number expansion, and prompt layer then and be user that mouse hovers in data and then showed document summary more than 1 second.
S104., user right is set, to support user to open former form interface from pending list, and according to permission control Situation carries out data modification, the update caching after having changed.
User right is set, to support user to open former form interface from pending list, and can be carried out according to permission control Data modification needs update to cache after having changed.
In addition, the method described in the embodiment of the present invention further includes:When opening document, system can first check local persistence Caching whether there is, if so, then directly taking out, then further according to the timestamp of caching itself, is compared with server-side, such as The data of fruit server-side update than local, then get off from server-side by data update.Otherwise, it is directly carried out using the data Showing interface.If user has modified data, needing will be in data update to local cache and server buffer.It is obtained Data cached flow is as shown in Figure 4.
It examines and completes when document, then delete the caching of server-side.And the local cache in browser then can be according to setting Timeliness destroyed.
Embodiment two
Fig. 5 is the device composition figure of the embodiment of the present invention two, as shown in figure 5, the device includes:
Extracting unit 201 of classifying extracts critical data information for classifying to the pending form types of user;
Format conversion unit 202, for the critical data information to be carried out data format conversion;
Buffer unit 203, for caching the data formatted;
Wherein, buffer unit 203 caches the data formatted, specially:By AJAX technologies, by lattice The good data of formulaization are cached to file server, or are cached in database, and being used as mark by the major key of document is protected It stores away, and/or, WebStorage technologies or front end data library technology are cached using front end, data buffer storage is got up.
Display unit 204, in the pending middle displaying list significant data information of homepage;
Permission unit 205 is set, for user right to be arranged, to support user to open former form interface from pending list;
Data modification unit 206, for being controlled according to permission the case where, carry out data modification, and update is slow after having changed It deposits.
It should be noted that the device further includes:
Inspection unit, for when opening document, checking that local persistence caching whether there is;
Comparing unit, for after inspection unit checks that local persistence caching exists, being read out and according to caching The timestamp of itself, is compared with server end, if the data final updating time of server end is later than local data most Renewal time afterwards then from server end downloading data, and updates local data;Otherwise, directly interface exhibition is carried out using the data Show.
One of ordinary skill in the art will appreciate that:Attached drawing is the schematic diagram of one embodiment, unit in attached drawing or Flow is not necessarily implemented necessary to the present invention.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, equipment or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the portion of each embodiment the method for the present invention Step by step.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc. are various to store The medium of program code.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of method promoting list examination & approval efficiency, which is characterized in that including:
Classify to the pending form types of user, extracts critical data information;
The critical data information is subjected to data format conversion, the data formatted are cached;
In the pending middle displaying list significant data information of homepage;
User right is set, and to support user to open former form interface from pending list, and the case where being controlled according to permission carries out Data modification, the update caching after having changed.
2. according to the method described in claim 1, it is characterized in that, described cache the data formatted, packet It includes:
By AJAX technologies, the data that will have been formatted are cached to file server, or are cached in database, pass through list According to major key as mark saved, and/or,
WebStorage technologies or front end data library technology are cached using front end, data buffer storage is got up.
3. according to the method described in claim 1, it is characterized in that, described cache the data formatted, packet It includes:
If data volume is big, cached using the database technology of browser.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
When opening document, check that local persistence caching whether there is, if so, be read out and according to caching itself when Between stab, be compared with server end, if the data final updating time of server end is later than the final updating of local data Between, then from server end downloading data, and update local data;Otherwise, directly showing interface is carried out using the data.
5. according to the method described in claim 1, it is characterized in that, before the data formatted are cached, Further include:
The formatted data sequence is melted into character string, in case being transferred to server-side.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
It, will be in data update to local cache and server buffer if user has modified data.
7. according to claim 1-6 any one of them methods, which is characterized in that the method further includes:
It examines and completes when document, then by the data cached deletion of server-side, the local cache data in browser is according to setting Timeliness is destroyed.
8. a kind of device promoting list examination & approval efficiency, which is characterized in that including:
Extracting unit of classifying extracts critical data information for classifying to the pending form types of user;
Format conversion unit, for the critical data information to be carried out data format conversion;
Buffer unit, for caching the data formatted;
Display unit, in the pending middle displaying list significant data information of homepage;
Permission unit is set, for user right to be arranged, to support user to open former form interface from pending list;
Data modification unit, for being controlled according to permission the case where, carry out data modification, the update caching after changing.
9. device according to claim 8, which is characterized in that the buffer unit carries out the data formatted Caching, including:
By AJAX technologies, the data that will have been formatted are cached to file server, or are cached in database, pass through list According to major key as mark saved, and/or,
WebStorage technologies or front end data library technology are cached using front end, data buffer storage is got up.
10. device according to claim 8, which is characterized in that described device further includes:
Inspection unit, for when opening document, checking that local persistence caching whether there is;
Comparing unit, for after inspection unit checks that local persistence caching exists, being read out and according to caching itself Timestamp, be compared with server end, if the data final updating time of server end be later than local data it is last more The new time then from server end downloading data, and updates local data;Otherwise, directly showing interface is carried out using the data.
CN201310699977.2A 2013-12-17 2013-12-17 A kind of method and device promoting list examination & approval efficiency Active CN104714985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310699977.2A CN104714985B (en) 2013-12-17 2013-12-17 A kind of method and device promoting list examination & approval efficiency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310699977.2A CN104714985B (en) 2013-12-17 2013-12-17 A kind of method and device promoting list examination & approval efficiency

Publications (2)

Publication Number Publication Date
CN104714985A CN104714985A (en) 2015-06-17
CN104714985B true CN104714985B (en) 2018-07-24

Family

ID=53414326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310699977.2A Active CN104714985B (en) 2013-12-17 2013-12-17 A kind of method and device promoting list examination & approval efficiency

Country Status (1)

Country Link
CN (1) CN104714985B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254393A (en) * 2016-09-29 2016-12-21 广州鹤互联网科技有限公司 Sign-off processing method, Apparatus and system
CN109086279B (en) * 2017-06-13 2021-10-15 北京京东尚科信息技术有限公司 Report caching method and device
CN111143866B (en) * 2019-12-27 2022-02-15 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6093215A (en) * 1997-08-12 2000-07-25 International Business Machines Corporation Method and apparatus for building templates in a component system
CN101694618A (en) * 2009-09-01 2010-04-14 卡斯柯信号有限公司 Automatic mapping method of model layer and view layer data suitable for AJAX frame
CN102682126A (en) * 2012-05-16 2012-09-19 深圳市凯立德科技股份有限公司 Access method and device for form data
CN103077185A (en) * 2012-12-18 2013-05-01 厦门雅迅网络股份有限公司 Object-based user-defined information-expanding method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6093215A (en) * 1997-08-12 2000-07-25 International Business Machines Corporation Method and apparatus for building templates in a component system
CN101694618A (en) * 2009-09-01 2010-04-14 卡斯柯信号有限公司 Automatic mapping method of model layer and view layer data suitable for AJAX frame
CN102682126A (en) * 2012-05-16 2012-09-19 深圳市凯立德科技股份有限公司 Access method and device for form data
CN103077185A (en) * 2012-12-18 2013-05-01 厦门雅迅网络股份有限公司 Object-based user-defined information-expanding method

Also Published As

Publication number Publication date
CN104714985A (en) 2015-06-17

Similar Documents

Publication Publication Date Title
JP5782214B2 (en) Information search program, information search device, and information search method
CN106462592B (en) System and method for optimizing multi-version support for indexes
US20150302111A1 (en) Method and Apparatus for Constructing File System in Key-Value Storage System, and Electronic Device
US8024383B2 (en) Fat directory structure for use in transaction safe file
CN109416694A (en) The key assignments storage system effectively indexed including resource
US11176099B2 (en) Lockless synchronization of LSM tree metadata in a distributed system
CN102667772B (en) File level hierarchical storage management system, method, and apparatus
US9176887B2 (en) Compressed level two block buffer metadata cache
AU2013210018B2 (en) Location independent files
CN103034633B (en) Generate the method and device of the result of page searching summary of extension
CN110291518A (en) Merge tree garbage index
CN102819586B (en) A kind of URL sorting technique based on high-speed cache and equipment
CN104133783B (en) Method and device for processing distributed cache data
CN107766374B (en) Optimization method and system for storage and reading of massive small files
US20060253484A1 (en) Flash memory directory virtualization
JP2005302038A (en) Method and system for renaming consecutive key in b-tree
CN104714985B (en) A kind of method and device promoting list examination & approval efficiency
CN107291736A (en) A kind of method and system of edit page
CN107733982A (en) A kind of method of data synchronization, terminal device, cloud server and system
CN103530306A (en) Cache control method and system for web application resources
CN108062357A (en) The deletion file access pattern method and storage medium of F2FS file system
CN108628871A (en) A kind of link De-weight method based on chain feature
CN107169011A (en) The original recognition methods of webpage based on artificial intelligence, device and storage medium
CN107784055A (en) Transaction methods and device based on non-relational database
CN104125254B (en) Obtain the method and system of platform user data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant