CN103049547B - A kind of iOS page processing method based on IDF document format - Google Patents

A kind of iOS page processing method based on IDF document format Download PDF

Info

Publication number
CN103049547B
CN103049547B CN201210579205.0A CN201210579205A CN103049547B CN 103049547 B CN103049547 B CN 103049547B CN 201210579205 A CN201210579205 A CN 201210579205A CN 103049547 B CN103049547 B CN 103049547B
Authority
CN
China
Prior art keywords
resource
action
document
idf
region
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.)
Expired - Fee Related
Application number
CN201210579205.0A
Other languages
Chinese (zh)
Other versions
CN103049547A (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.)
NANJING XINYULI CULTURE SPREAD CO Ltd
Original Assignee
NANJING XINYULI CULTURE SPREAD 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 NANJING XINYULI CULTURE SPREAD CO Ltd filed Critical NANJING XINYULI CULTURE SPREAD CO Ltd
Priority to CN201210579205.0A priority Critical patent/CN103049547B/en
Publication of CN103049547A publication Critical patent/CN103049547A/en
Application granted granted Critical
Publication of CN103049547B publication Critical patent/CN103049547B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of iOS page processing method based on IDF document format, comprise the steps: resource prestrain, in the time of user's browsing pages, load in advance related pages resource; Resolve IDF document, access IDF document tree structure is also obtained the data of all nodes in tree structure; The document overall data information of obtaining is loaded on screen; Draw action, catch user's operation, the element content that user is operated to intension in corresponding interaction action is plotted on screen; Resource reclaims, and reclaims or irrelevant resource not high with current page correlation. The present invention realizes and has ensured the browse efficiency of IDF document on iOS, has improved user's experience.

Description

A kind of iOS page processing method based on IDF document format
Technical field
The present invention relates to field of computer technology, particularly a kind of based on IDF document formatIOS page processing method.
Background technology
Along with the raising day by day of people's living standard, the entertainment way such as video display animation are more and more subject toConsumers in general's parent looks at. Along with the arrival of information age, Digital Media arises at the historic moment, numberWord media, as the media that exist and propagate with digital form, have been widely used in lifeEvery aspect, broadcast, TV, internet, mobile phone, computer, PDA. In this situationUnder, Media Industry developed into a new high point, digital times, the problem of most criticalHow to be transmission information between various digitizers, how to realize compatibility.
For the information of propagating and reading, its form comprise word, numerical value, language, music,Image, form etc., traditional word processing process comprises: writing, editor, typesetting, printing,Hair style five steps, and the text-processing process of modern multimedia equipment comprises: text is prepared(input of word and icon)-e-text-text editing and typesetting (text editor)E-text-text-processing (text-processing software)-text storage of-format is in transmission-text represents (text file reader).
Traditional file structure is all with the page<page>For unit shows and typesetting, asThe file structure of the form such as PDF, DOC, for example PDF document format, this file format existsGeneral in operating system, make to become and on Internet, carry out electronic document distribution and numeralChange the desirable document format of Information Communication. Increasing e-book, the description of product, companyProclamation, network data, Email are brought into use PDF file. PDF file orderBefore become the actual industrial standard of digital information. Although PDF file hasSo many advantage, but it is in the use between hardware platform, still has that some are incompatibleProperty, on some hardware platform, still can not use.
In industry, still do not have for the unified standard of Digital Media document norm-setting at present, so thatIn general in whole field of digital media. The digital document form of each fatware manufacturer exploitation only forIn the processing to picture, word (comprising PDF), do not focus on distinctive function of digital Age,As: the features such as interaction, user's experience.
IOS is the handheld equipment operating system of being developed by Apple, is taking Darwin as baseThe commercial operation system of plinth.
IDF:InteractiveDocumentFormat, interactive document format. IDFForm be a kind of cross-platform can interaction document form, in prior art, not yet have technology forIDF document is resolved and is shown on iOS equipment.
Summary of the invention
The defect existing in order to overcome above-mentioned prior art, the invention provides a kind of based on IDF literary compositionThe iOS page processing method of shelves form, can realize IDF format file enterprising at iOS equipmentRow is resolved and is shown.
To achieve these goals, technical scheme of the present invention is as follows:
An iOS page processing method based on IDF document format, comprises the steps:
1) resource prestrain, in the time of user's browsing pages, loads related pages resource in advance;
2) resolve IDF document, access IDF document tree structure is also obtained institute in tree structureThere are the data of node;
3) by step 2) in the document overall data information obtained be loaded on screen;
4) draw action, catch user operation, user is operated in corresponding interaction action inThe element content of containing is plotted on screen;
5) resource reclaims, and reclaims or irrelevant resource not high with current page correlation.
As preferably, step 4) user's operation of the present invention comprises demonstrations, hides, movement,Link and broadcasting.
As preferably, the element content in step 4) of the present invention comprise viewable area,External image, external video, external audio, webpage, text, can interaction sequence figure, magic lanternSheet, static resource alternately.
The invention has the beneficial effects as follows, realize and ensured that IDF document browses effect on iOSRate, has improved user's experience.
Brief description of the drawings
Fig. 1 is flow chart of the present invention.
Detailed description of the invention:
Be easy to understand understanding in order to make creation characteristic of the present invention, technological means and to reach object,Further set forth the present invention below in conjunction with specific embodiment.
IDF document is that one can interactive digital document format, comprises the literary composition of NXML language definitionShelves label, document label comprises viewable area label, external image label, external video markLabel, external audio label, webpage label, text label, can interaction sequence figure label, magic lanternSheet label, static resource label alternately. Viewable area label<region>, tool in the pageThe materials such as body word, picture are all with region<region>form be presented on the page;
External image label<image>, for memory disk epigraph address and relevant information;
External video label<video>, for video address on memory disk and relevant information;
External audio label<audio>, for audio frequency address and relevant information on memory disk;
Webpage label<embeded>, for the web page address on memory disk or internet andRelevant information;
Text label<text>, for storing content and the relevant information of text;
Can interaction sequence figure label<GSF>, for a picture group sheet is play in order, andCan manually control playing sequence;
Lantern slide label<Gallery>, define some at viewable area<region>showThe pattern of picture lantern slide and parameter;
Static resource label<ISR alternately>, define the files such as some static images, video,Make it have certain interaction characteristic, as: picture can be set as and can smear wiping state.
The data format of IDF is the XML form that adopts NXML linguistic labels to make.
IDF file structure is documentation root node, one-level child node, secondary child node and three grades of sonsThe tree structure of node composition, wherein, one-level child node is joint, secondary child node is the page,Three grades of child nodes are document elements list. Described joint comprises several pages and element index table,In order to ensure that the element in document format can reach farthest multiplexing, and avoid resourceRepeat generate, IDF adopted value carrys out associated element to the mode of index. As individual element indexAs follows:
<keyvalue="page/1"location="xml/pages/1.xml"/>
Wherein, value represents type and the ID numbering of this element, is also other element accessThe foundation of this element;
Location is content and the concrete storage address of attribute of element for this reason.
The element that document elements list comprises is viewing area, action, outside material, according to literary compositionElement in shelves element list is searched the element in element index list.
Action comprises presented event label, hide event tag, moving event label, chain takes over a jobPart label and broadcast event label. Wherein:
Presented event label<show>, for showing several viewable area<region>;
Hide event tag<hide>, for hiding several viewable area<region>;
Moving event label<move>, for mobile several viewable area<region>;
Link event tag<link>, for linking external web page, application program, mail etc.;
Broadcast event label<play>, for playing several resources<resource>;
Outside material comprises picture, video, audio frequency, webpage.
An iOS page processing method based on IDF document format, comprises the steps: moneySource prestrain, in order to ensure that efficiency and user that IDF document is browsed on iOS experience, and are usingWhen family browsing pages, load in advance related pages resource; Resolve IDF document, access IDF literary compositionShelves tree structure is also obtained the data of all nodes in tree structure; By the document obtaining in resolvingOverall data information is loaded on screen, and the first doc element of load id F document obtains literary compositionShelves Global Information, and obtain the path of all section, then needs to show according to currentThe page loads corresponding section content, comprise page, region in section,Action etc. Be plotted on screen according to the content in page and region, comprise regionThe resource quoting; Draw action, in the time that system captures user and operates, if shouldOperation has corresponding interaction action, loads the elements such as corresponding action, region, soOn screen, draw corresponding content, animation etc. according to their content afterwards; Resource reclaims, and returnsReceive or irrelevant resource not high with current page correlation. Described user operation comprise demonstrations, hiding,Move, link and play. Described element content comprises viewable area, external image, outsideVideo, external audio, webpage, text, can interaction sequence figure, lantern slide, can be static alternatelyResource.
Process interactive process:
1,, in the time that the page switches, first can start the page and load and releasing mechanism, then traversalThe all pages that relate in this process, if having the page to occur or disappear, load correspondingAction (action): onAppear or action (action): onDisappear;
2, when user operates the document showing, for example finger presses, twoFinger kneading, finger sliding etc. Resolver can check the position that this operation occurs, and according to "Override above " principle finds the region at this place, position, then according to this regionContent judge whether it can respond and press, mediate this action. If do not respond, do not do anyThing, if can respond, loads corresponding action;
3,, after an action is loaded out, first can travel through the region that he quotesAnd resource, if this region or resource are not yet loaded, load it,By the time, after the region of all references and resource load and finish, carry out this action;If an action wants certain region of hide, this region by hide itAfter, discharge it.
The page loads and removal process:
1, traditional XML analysis mode is encapsulated, make directly basis of resolverCorresponding object is resolved and generated to IDF document content, for example, encapsulated page class-(id) initWithIDFElement:(IDFElement*) element method, like this canDirectly from corresponding IDF element, generate a page object;
Example:
2, from the essential information of doc element load id F document, and obtain sections array,The essential information that all section have been preserved in the inside, the now content of details more in sectionAs page, region, action etc. can not be loaded;
Example:
3, according to current screen position, calculate current page and its place of showing of needingSection, then loads the detailed content of this page, comprise region, action wherein,Resource etc., then according to their content, drawing image is on screen;
Example:
4, carry out prestrain, the content of loading comprises above and below two of current pageThe last section of page, current section and first page of a rear section.Region, action etc. that wherein page comprises can be loaded;
Example:
5, in the content that inspection has loaded, whether have not belong in abovementioned steps 2 and 3 and mentionPage in content, if having, discharge these resources, so far, loading procedure finishes;
Example:
6,, at every turn in the time that user browses to other pages, repeating step 3 is to the process of step 5.
More than show and described general principle of the present invention, principal character and of the present invention excellentPoint. The technical staff of the industry should understand, and the present invention is not restricted to the described embodiments, onState in embodiment and description, describe principle of the present invention is just described, do not departing from the present inventionUnder the prerequisite of spirit and scope, the present invention also has various changes and modifications, these changes and improvementsAll fall in the claimed scope of the invention. The claimed scope of the present invention is by appended rightClaim and equivalent thereof define.

Claims (3)

1. the iOS page processing method based on IDF document format, is characterized in that, comprises the steps:
1) resource prestrain, in the time of user's browsing pages, loads related pages resource in advance;
2) resolve IDF document, access IDF document tree structure is also obtained the data of all nodes in tree structure;
3) by step 2) in the document overall data information obtained be loaded on screen;
4) draw action, catch user's operation, user is operated to the element content including in corresponding interaction action and be plotted on screen; Wherein, processing interactive process comprises:
In the time that the page switches, first can start the page and load and releasing mechanism, then travel through all pages that relate in this process, if having the page to occur or disappear, load corresponding action:onAppear or action:onDisappear;
When user operates the document showing, this operation comprise a finger presses, two finger mediate, finger sliding, resolver can check the position that this operation occurs, and find the region at this place, position according to uppermost override principle, then judge according to the content of this region whether it can respond and press, mediate this action, if do not respond, do not do anything, if can respond, load corresponding action;
After an action is loaded out, first can travel through region and resource that he quotes, if this region or resource are not yet loaded, load it, after the region of all references and resource load and finish by the time, carry out this action; If an action wants certain region of hide,, after this region is by hide, discharge it;
5) resource reclaims, and reclaims or irrelevant resource not high with current page correlation.
2. a kind of iOS page processing method based on IDF document format according to claim 1, is characterized in that described step 4) user operation comprises demonstrations, hides, mobile, link and broadcasting.
3. a kind of iOS page processing method based on IDF document format according to claim 1, it is characterized in that described step 4) in element content comprise viewable area, external image, external video, external audio, webpage, text, can interaction sequence figure, lantern slide, static resource alternately.
CN201210579205.0A 2012-12-27 2012-12-27 A kind of iOS page processing method based on IDF document format Expired - Fee Related CN103049547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210579205.0A CN103049547B (en) 2012-12-27 2012-12-27 A kind of iOS page processing method based on IDF document format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210579205.0A CN103049547B (en) 2012-12-27 2012-12-27 A kind of iOS page processing method based on IDF document format

Publications (2)

Publication Number Publication Date
CN103049547A CN103049547A (en) 2013-04-17
CN103049547B true CN103049547B (en) 2016-05-25

Family

ID=48062188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210579205.0A Expired - Fee Related CN103049547B (en) 2012-12-27 2012-12-27 A kind of iOS page processing method based on IDF document format

Country Status (1)

Country Link
CN (1) CN103049547B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978315A (en) * 2014-04-02 2015-10-14 北京大学 Nonlinear rendering method and device for local content
CN103995835A (en) * 2014-04-25 2014-08-20 江苏思迈斯电子商务有限公司 Method for searching for webpage elements of user interface framework
CN104766356B (en) * 2015-03-25 2018-07-06 五八有限公司 A kind of iOS animation methods and device
CN107644026A (en) * 2016-07-20 2018-01-30 江苏云媒数字科技有限公司 Hypermedia resource resolution system
CN107844354A (en) * 2017-10-25 2018-03-27 王宇 A kind of page and its construction method for gathering user or user's feedback information

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008892A (en) * 2006-01-24 2007-08-01 环隆电气股份有限公司 Wireless network interactive graphic user interface display system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4248411B2 (en) * 2002-04-15 2009-04-02 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method, system, computer program and storage device for displaying a document
US7971136B2 (en) * 2007-03-21 2011-06-28 Endless Spaces Ltd. System and method for dynamic message placement

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008892A (en) * 2006-01-24 2007-08-01 环隆电气股份有限公司 Wireless network interactive graphic user interface display system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《玩转"牛排"The new iPad完全攻略》;史祺;《电脑迷》;20120531(第9期);第16-19页 *

Also Published As

Publication number Publication date
CN103049547A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN111753499B (en) Method for merging and displaying electronic form and OFD format file and generating directory
JP6282116B2 (en) Associating captured image data with a spreadsheet
CN102915319B (en) The technology gathered for information electronics
CN103049547B (en) A kind of iOS page processing method based on IDF document format
US11249627B2 (en) Dynamic whiteboard regions
US11250208B2 (en) Dynamic whiteboard templates
CN107066177A (en) The multiple spot kneading gesture control of search result
US20130262968A1 (en) Apparatus and method for efficiently reviewing patent documents
CN102141868B (en) Method for quickly operating information interaction page, input method system and browser plug-in
JP2015511354A (en) Extension activation for related documents
US20150046850A1 (en) Multi-display system
WO2021141688A1 (en) Dynamic data relationships in whiteboard regions
CN103593107A (en) Interface display method and device
US11314757B2 (en) Search results modulator
CN105786920A (en) Method and device for presenting interface label
CN105095285B (en) Digital publication guide to visitors catalogue treating method and apparatus
CN104657050A (en) Data operating apparatus and method
TW201214161A (en) Integration method for really simple syndication (RSS) document
CN104808995A (en) Method and device for storing application contents over applications
US9122665B2 (en) Rich formatting for a data label associated with a data point
US8892560B2 (en) Intuitive management of electronic files
Yoo et al. ESOTAG: E-book evolution using collaborative social tagging by readers
CN103034391A (en) Classification management system and method for application program row table
CN112417345A (en) Rendering method, rendering device, electronic equipment and storage medium
CN110020337B (en) Webpage processing method and related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 210019, 05, 17 and 18 floors, No. 18, Jialing Jiangdong Street, Jianye District, Nanjing, Jiangsu

Patentee after: Nanjing Xinyuli Culture Spread Co., Ltd.

Address before: 210019 room 317, No. 128, Jianye District, Jianye District, Nanjing, Jiangsu

Patentee before: Nanjing Xinyuli Culture Spread Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160525

Termination date: 20201227