CN102479355A - Method and device for loading business documents and mobile terminal - Google Patents

Method and device for loading business documents and mobile terminal Download PDF

Info

Publication number
CN102479355A
CN102479355A CN2010105657350A CN201010565735A CN102479355A CN 102479355 A CN102479355 A CN 102479355A CN 2010105657350 A CN2010105657350 A CN 2010105657350A CN 201010565735 A CN201010565735 A CN 201010565735A CN 102479355 A CN102479355 A CN 102479355A
Authority
CN
China
Prior art keywords
interface element
business paper
business
unique identifier
load
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.)
Pending
Application number
CN2010105657350A
Other languages
Chinese (zh)
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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN2010105657350A priority Critical patent/CN102479355A/en
Publication of CN102479355A publication Critical patent/CN102479355A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention is applicable to the data processing field and provides a method and device for loading business documents and a mobile terminal. The method comprises the following steps of: receiving business document loading request information, wherein the request information comprises a unique identifier which corresponds to an interface element of the business document loading; judging whether the corresponding interface element in the business document loading exists in a cache according to the unique identifier; directly loading the interface element when the corresponding interface element in the business document loading exists in the cache; receiving a business data object packet sent by a server and analyzing the business data object packet; and binding the analyzed data and the corresponding interface element to realize the loading of business documents. According to the invention, the corresponding interface element in the business document loading and the business data are loaded step by step and the corresponding interface element in the business document loading is stored in the cache of a client, so that the processing pressure of the server is relieved and the speed of loading of the business documents is effectively improved.

Description

A kind of method, device and terminal of realizing that business paper loads
Technical field
The invention belongs to data processing field, relate in particular to a kind of method, device and terminal of realizing that business paper loads.
Background technology
(Enterprise Resource Planning, ERP) system is a kind of being based upon on the infotech basis, through the management platform of business paper management service demand information in Enterprise Resources Planning.Wherein, business paper representes through service metadata, waits the business object model of representing and service metadata refers to abstract usefulness tables of data and the field attribute that comes out of ERP business paper object.
In practical application, often cause the metadata of business paper to change owing to the variation of business demand.Therefore; In each loaded with traffic document; All need come according to the variation of metadata and business datum dynamically to generate the business paper operation interface, under the bigger situation of business datum amount, will inevitably influence the loading velocity of business paper; Thereby influence the opening speed of business paper operation interface, reduce the treatment effeciency of business paper.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method that realizes that business paper loads, be intended to solve the existing business document under the bigger situation of business datum amount, load slower, the problem that treatment effeciency is lower.
The embodiment of the invention is achieved in that a kind of method that realizes that business paper loads, and said method comprises the steps:
Receive business paper load request information, comprise in the described request information and the corresponding unique identifier of said business paper loading median surface element;
According to said unique identifier, judge whether exist in the buffer memory load with said business paper in interface element corresponding;
To exist in the buffer memory said business paper load in corresponding interface element, directly load said interface element;
Receive service end that send with said business paper corresponding service data object bag, resolve said service data object bag, with data after resolving and interface element corresponding binding.
Another purpose of the embodiment of the invention is to provide a kind of device of realizing that business paper loads, and said device comprises:
The load request receiving element is used to receive business paper load request information, comprises in the described request information with said business paper to load the corresponding unique identifier of median surface element;
The interface element judging unit is used for according to said unique identifier, judge whether exist in the buffer memory load with said business paper in interface element corresponding;
The interface element loading unit, be used for to buffer memory exist said business paper load in corresponding interface element, directly load said interface element;
Business paper load to be realized the unit, be used to receive service end that send with said business paper corresponding service data object bag, resolve said service data object bag, with data after resolving and interface element corresponding binding.
Another purpose of the embodiment of the invention is to provide a kind of terminal that comprises above-mentioned realization business paper charger.
In embodiments of the present invention, interface element corresponding and business datum in the business paper loading are loaded step by step, the system that makes more is prone to expansion and safeguards.In addition, interface element corresponding in the business paper loading is stored in the buffer memory of client, has alleviated the processing pressure of service end, accelerated the speed that business paper loads, effectively raise the treatment effeciency of business paper.
Description of drawings
Fig. 1 is the realization flow figure of the realization business paper loading method that provides of the embodiment of the invention one;
Fig. 2 is the particular flow sheet that corresponding interface element was created during the business paper that provides of the embodiment of the invention loaded;
Fig. 3 is the structured flowchart of the realization business paper charger that provides of the embodiment of the invention two.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention loads through interface element corresponding during business paper is loaded and business datum step by step, and the system that makes more is prone to expansion and safeguards.In addition, interface element corresponding in the business paper loading is stored in the buffer memory of client, has alleviated the processing pressure of service end, accelerated the speed that business paper loads, improved the treatment effeciency of business paper.
For technical scheme of the present invention is described, describe through specific embodiment below.
Embodiment one:
Fig. 1 shows the realization flow of the realization business paper loading method that the embodiment of the invention one provides; This method loads through interface element corresponding during business paper is loaded and business datum step by step; Interface element corresponding in the business paper loading is stored in the buffer memory of client; Service end only need be sent the corresponding service data and given client, has alleviated the processing pressure of service end, has accelerated the speed that business paper loads; Improved the treatment effeciency of business paper, details are as follows for this procedure:
In step S101, receive business paper load request information, comprise in the described request information and the corresponding unique identifier of said business paper loading median surface element.
In the present embodiment, client receives the business paper load request that the user sends, and comprises in this solicited message with said business paper to load the corresponding unique identifier of median surface element.Said interface element is created good before business paper loads; And form the corresponding interface of business paper of said user request through the interface element of creating; Each interface all comprises the unique identifier (ID) of a correspondence, is stored in the client-cache with corresponding unique identifier (ID) creating good interface.Wherein, unique identifier is including, but not limited to the combination of the corresponding key assignments of language identification of following form: business object ID, account number ID and the use of establishment current interface element.
In step S102, according to said unique identifier, judge whether exist in the buffer memory load with said business paper in interface element corresponding.If judged result is " being ", execution in step S104 then, if judged result is " denying ", execution in step S103 then.
In the present embodiment, according to the unique identifier in the business paper load request information, judge whether exist in the client-cache load with said business paper in interface element corresponding, if exist, the direct said interface element of loading then; If do not exist, then receive the corresponding interface element that service end is created, be stored in the buffer memory after setting up the unique identifier corresponding with said interface element.
In step S103, receive the corresponding interface element that service end is created, be stored in the buffer memory after setting up the unique identifier corresponding with said interface element.
In the present embodiment, receive the corresponding interface element that service end is created, it is shown in Figure 2 to set up the detailed process that is stored in the client-cache behind the unique identifier corresponding with said interface element:
In step S201, send to create to service end and ask with corresponding interface element during said business paper loads.
In the present embodiment, if do not exist in the buffer memory said business paper load in interface element corresponding, then client is sent to create with corresponding interface element during said business paper loads to service end and is asked.
In step S202, receive interface element corresponding in the loading that service end creates with said business paper.
In the present embodiment, to be service end generate according to the corresponding element data model of setting up said interface element, and said metadata schema refers to abstract usefulness tables of data and the field attribute that comes out of ERP business paper object and waits the business object model that shows.What service end received that client sends creates request with corresponding interface element during said business paper loads; Set up and business paper metadata corresponding model, realize that respectively establishment (AddMenu), layer establishment (AddLayers), the gauge outfit element of the menu element of business object model created (AddHeadFieldCtls), the table element of volume is created (AddEntryCtls), interface element relation setting (SetControlsParent) etc.
In the present embodiment, also comprise a definition public method (CreateControl), for calling of submethod in the business object model.In this public method; The corresponding controls element is created in description according to the business object meta data definition; Like grid control, date control, text control, numerical value control, drop down list control etc., be buffered in the control collection object creating all good controls.Concern in the method to set up at interface element,, describe like " FContainer " in the metadata according to the field metadata description; Represent which container is this field be positioned under, according to said relation, the control in the set of traversal control; Search corresponding controls, set up the corresponding relation of said metadata and control, then; Load corresponding interface; In the process that the interface loads when playing up (Render) (said load phase including, but not limited to), Servers-all control data stream is exported, promptly service end sends to client with interface element corresponding in the loading with business paper of said establishment.
In step S203, set up the unique identifier corresponding with said interface element, said interface element is stored in the buffer memory with corresponding unique identifier together.
In the present embodiment; Client receives in the loading with business paper that said service end creates after the interface element corresponding information; Set up a unique identifier corresponding, be stored in the client-cache with the interface element corresponding in business paper loads that receives setting up good unique identifier with interface element.
As one embodiment of the present of invention; Before also being included in each business paper interface element corresponding loading; According to obtaining a timestamp in the tables of data that business object ID goes to store in advance in the unique identifier; And with the timestamp during corresponding interface element storage in said timestamp and the client-cache relatively,, then send request to service end if the timestamp that obtains is newer than the timestamp during corresponding interface element storage in the client-cache; Again create said interface element, to keep the real-time update of corresponding interface element.
In step S104, to exist in the buffer memory said business paper load in corresponding interface element, directly load said interface element.
In step S105, receive service end that send with said business paper corresponding service data object bag, resolve said service data object bag, with data after resolving and interface element corresponding binding.
In the present embodiment; After the business paper interface element corresponding loads completion, receive the business paper corresponding service data object bag that service end is sent, resolve said service data object bag through client Javascript analytics engine; Data and interface element corresponding after resolving are bound one by one; And carry out service end and submit instruction to, accomplish the processing of service logic, realize the loading of business paper.
In the present embodiment; When other users visit this business paper again; Do not need to carry out again the establishment of corresponding interface element; But directly from client-cache, load interface element corresponding through unique identifier, and then load the corresponding service data through service end, effectively raise the loading velocity of business paper.
Embodiment two:
Fig. 2 shows a kind of structure that realizes the business paper charger that the embodiment of the invention two provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.
This realization business paper charger can be used for through various data processing terminals wired or wireless network Connection Service device; Pocket computing machine (Pocket Personal Computer for example; PPC), palm PC, computing machine, notebook computer, personal digital assistant (Personal Digital Assistant; PDA) etc.; Can be to run on the unit that software unit, hardware cell or software and hardware in these terminals combine; Also can be used as independently suspension member and be integrated in these terminals or run in the application system at these terminals, this realizations business paper charger comprises that load request receiving element 31, interface element judging unit 32, interface element create unit 33, interface element loading unit 34 and business paper and load realization unit 35.Wherein:
Load request receiving element 31 receives business paper load request information, comprises in the described request information with said business paper to load the corresponding unique identifier of median surface element.
In the present embodiment; Client receives the business paper load request that the user sends; Comprise in the solicited message with said business paper and load the corresponding unique identifier of median surface element; It is good that said interface element is created before business paper loads in advance; And form the corresponding interface of business paper of said user request through the interface element of creating, each interface all comprises the unique identifier (ID) of a correspondence, is stored in the client-cache with corresponding unique identifier (ID) creating good interface.Wherein, unique identifier is including, but not limited to the combination of the corresponding key assignments of language identification of following form: business object ID, account number ID and the use of establishment current interface element.
Interface element judging unit 32 is according to the unique identifier described in the load request receiving element 31; Judge whether exist in the buffer memory load with said business paper in interface element corresponding; If judged result is " being "; Interface element loading unit 34 directly loads interface element corresponding in the buffer memory; If judged result is " denying ", then interface element is created unit 33 and is received the corresponding interface element that service ends are created, and is stored in the buffer memory after setting up the unique identifier corresponding with said interface element.Wherein, interface element establishment unit 33 also comprises establishment request sending module 331, interface element receiver module 332 and interface element memory module 333.
Create request sending module 331, be used for sending corresponding interface element and create request with said business paper to service end.
Interface element receiver module 332; Be used to receive that service end creates and the business paper interface element corresponding; To be service end generate according to the corresponding element data model of setting up said interface element, and said metadata schema refers to abstract usefulness tables of data and the field attribute that comes out of ERP business paper object and waits the business object model that shows.
Interface element memory module 333 is used to set up the unique identifier corresponding with said interface element, and said interface element is stored in the buffer memory with corresponding unique identifier together.
Business paper load to realize unit 35 receive service ends that send with said business paper corresponding service data object bag, resolve said service data object bag, with data after resolving and interface element corresponding binding.
In the present embodiment; After the business paper interface element corresponding loads completion, receive the business paper corresponding service data object bag that service end is sent, resolve said service data object bag through client Javascript analytics engine; Data and interface element corresponding after resolving are bound one by one; And carry out service end and submit instruction to, accomplish the processing of service logic, realize the loading of business paper.
In the present embodiment; When other users visit this business paper again; Do not need to carry out again the establishment of corresponding interface element; But directly from client-cache, load interface element corresponding through unique identifier, and then load the corresponding service data through service end, effectively raise the loading velocity of business paper.
In embodiments of the present invention, interface element corresponding and business datum in the business paper loading are loaded step by step, the system that makes more is prone to expansion and safeguards.In addition, interface element corresponding in the business paper loading is stored in the buffer memory of client, has alleviated the processing pressure of service end, accelerated the speed that business paper loads, improved the efficient of business paper.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. a method that realizes that business paper loads is characterized in that said method comprises the steps:
Receive business paper load request information, comprise in the described request information and the corresponding unique identifier of said business paper loading median surface element;
According to said unique identifier, judge whether exist in the buffer memory load with said business paper in interface element corresponding;
To exist in the buffer memory with said business paper loading in corresponding interface element, directly load said interface element;
Receive service end that send with said business paper corresponding service data object bag, resolve said service data object bag, with data after resolving and interface element corresponding binding.
2. the method for claim 1 is characterized in that, said method further comprises the steps:
To do not exist in the buffer memory said business paper load in corresponding interface element, receive the corresponding interface element that service end is created, be stored in the buffer memory after setting up the unique identifier corresponding with said interface element.
3. method as claimed in claim 2; It is characterized in that; Said to do not exist in the buffer memory said business paper load in corresponding interface element, receive the corresponding interface element that service end is created, set up the step that is stored in the buffer memory behind the unique identifier corresponding and be specially with said interface element:
Send to create to service end and ask with corresponding interface element during said business paper loads;
Receive interface element corresponding in the loading that service end creates with said business paper;
Set up the unique identifier corresponding, together be stored in buffer memory with corresponding unique identifier said interface element with said interface element;
To be service end generate according to the corresponding element data model of setting up said interface element, and said metadata schema refers to abstract usefulness tables of data and the field attribute that comes out of ERP business paper object and waits the business object model that shows.
4. device of realizing that business paper loads is characterized in that said device comprises:
The load request receiving element is used to receive business paper load request information, comprises in the described request information with said business paper to load the corresponding unique identifier of median surface element;
The interface element judging unit is used for according to said unique identifier, judge whether exist in the buffer memory load with said business paper in interface element corresponding;
The interface element loading unit, be used for to buffer memory exist said business paper load in corresponding interface element, directly load said interface element; And
Business paper load to be realized the unit, be used to receive service end that send with said business paper corresponding service data object bag, resolve said service data object bag, with data after resolving and interface element corresponding binding.
5. device as claimed in claim 4 is characterized in that, said device also comprises:
Interface element is created the unit, is used to receive the corresponding interface element that service end is created, and is stored in the buffer memory after setting up the unique identifier corresponding with said interface element.
6. device as claimed in claim 5 is characterized in that, said interface element is created the unit and also comprised:
Create request sending module, be used for sending and the corresponding interface element establishment of said business paper loading request to service end;
The interface element receiver module is used for receiving that service end creates loads interface element corresponding with said business paper; The interface element memory module is used to set up the unique identifier corresponding with said interface element, together is stored in buffer memory with corresponding unique identifier said interface element;
To be service end generate according to the corresponding element data model of setting up said interface element, and said metadata schema refers to abstract usefulness tables of data and the field attribute that comes out of ERP business paper object and waits the business object model that shows;
7. terminal that comprises the said realization business paper of claim 4 charger.
CN2010105657350A 2010-11-30 2010-11-30 Method and device for loading business documents and mobile terminal Pending CN102479355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105657350A CN102479355A (en) 2010-11-30 2010-11-30 Method and device for loading business documents and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105657350A CN102479355A (en) 2010-11-30 2010-11-30 Method and device for loading business documents and mobile terminal

Publications (1)

Publication Number Publication Date
CN102479355A true CN102479355A (en) 2012-05-30

Family

ID=46091990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105657350A Pending CN102479355A (en) 2010-11-30 2010-11-30 Method and device for loading business documents and mobile terminal

Country Status (1)

Country Link
CN (1) CN102479355A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607414A (en) * 2013-12-05 2014-02-26 用友软件股份有限公司 Mobile forepart service display system and mobile forepart service display method
CN105426452A (en) * 2015-11-11 2016-03-23 中国建设银行股份有限公司 Business processing and data control method and apparatus
CN105653508A (en) * 2015-12-22 2016-06-08 金蝶软件(中国)有限公司 Document template management method, document calling method and related device
CN109918620A (en) * 2019-01-10 2019-06-21 平安科技(深圳)有限公司 Policy information display methods, device, computer equipment and storage medium
CN109960550A (en) * 2017-12-25 2019-07-02 福建省天奕网络科技有限公司 A kind of method and terminal of interface management
CN110569025A (en) * 2019-08-26 2019-12-13 珠海格力电器股份有限公司 Variable processing method and device, readable storage medium and electronic equipment
CN112433779A (en) * 2020-11-10 2021-03-02 金蝶云科技有限公司 Application site preloading method, device and storage medium based on ERP system
CN112766910A (en) * 2021-01-21 2021-05-07 深圳市极致科技股份有限公司 Document construction method, document generation device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196903A (en) * 2007-12-27 2008-06-11 上海全景数字技术有限公司 Universal report forms production apparatus and method
CN101202665A (en) * 2007-12-06 2008-06-18 中兴通讯股份有限公司 Method for generating graphical user interface
CN101557390A (en) * 2008-04-11 2009-10-14 北京闻言科技有限公司 Method for improving system performance by flexibly using cache technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202665A (en) * 2007-12-06 2008-06-18 中兴通讯股份有限公司 Method for generating graphical user interface
CN101196903A (en) * 2007-12-27 2008-06-11 上海全景数字技术有限公司 Universal report forms production apparatus and method
CN101557390A (en) * 2008-04-11 2009-10-14 北京闻言科技有限公司 Method for improving system performance by flexibly using cache technology

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607414A (en) * 2013-12-05 2014-02-26 用友软件股份有限公司 Mobile forepart service display system and mobile forepart service display method
CN105426452A (en) * 2015-11-11 2016-03-23 中国建设银行股份有限公司 Business processing and data control method and apparatus
CN105426452B (en) * 2015-11-11 2018-12-14 中国建设银行股份有限公司 A kind of business processing and data control method and device
CN105653508A (en) * 2015-12-22 2016-06-08 金蝶软件(中国)有限公司 Document template management method, document calling method and related device
CN105653508B (en) * 2015-12-22 2019-06-28 金蝶软件(中国)有限公司 A kind of management method of document template, the method and relevant apparatus for calling document
CN109960550A (en) * 2017-12-25 2019-07-02 福建省天奕网络科技有限公司 A kind of method and terminal of interface management
CN109918620A (en) * 2019-01-10 2019-06-21 平安科技(深圳)有限公司 Policy information display methods, device, computer equipment and storage medium
CN110569025A (en) * 2019-08-26 2019-12-13 珠海格力电器股份有限公司 Variable processing method and device, readable storage medium and electronic equipment
CN112433779A (en) * 2020-11-10 2021-03-02 金蝶云科技有限公司 Application site preloading method, device and storage medium based on ERP system
CN112766910A (en) * 2021-01-21 2021-05-07 深圳市极致科技股份有限公司 Document construction method, document generation device, electronic equipment and storage medium
CN112766910B (en) * 2021-01-21 2023-10-27 深圳市极致科技股份有限公司 Document construction method, generation method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102479355A (en) Method and device for loading business documents and mobile terminal
CN110888842A (en) File storage method, file query method, file storage device, file query device and file query equipment
CN104424225B (en) Document handling method based on document transmission process and device
CN103179433A (en) System, method and service node for providing video contents
CN108228770A (en) A kind of method and device of application file source inquiry
CN108154376B (en) Data processing method and device
CN109558378A (en) File management method, device, equipment and storage medium
CN103051652A (en) Mobile terminal cloud commuting delivery platform
CN102882960B (en) A kind of sending method of resource file and device
CN111104425A (en) Data processing method and device
CN103593233A (en) Method and system for pushing software information
CN105404672A (en) Webpage data storage and operation system and method
CN102999329A (en) Active directory interface developing method based on extensive markup language mapping configuration
CN110737425A (en) billing platform system application program establishing method and device
CN103164409A (en) Network advertisement show type post test method and network advertisement show type post test system
CN103379022B (en) A kind of instant communication method based on Internet map search and system
CN109597825B (en) Rule engine calling method, device, equipment and computer readable storage medium
CN101986307B (en) Generation method of MIME (multipurpose Internet mail extension) type plug-in component, system and browser
KR101235042B1 (en) Method for providing data included in building information modeling data file, recording medium thereof, and system using the method
CN105320499A (en) Adaptive method and related device of application program
CN101958916A (en) Method and device for processing data based on rich client application
WO2017167101A1 (en) Multimedia message attachment management method and device, communication system and computer storage medium
CN103440134A (en) Webkit kernel-based storage resource service local extension method
CN103294788A (en) Universal background processing method and system for websites
CN105656946A (en) Method for processing logging account, business service terminal and account service terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120530