CN103049547A - iOS (iphone operation system) page processing method based on IDF (interactive document format) - Google Patents

iOS (iphone operation system) page processing method based on IDF (interactive document format) Download PDF

Info

Publication number
CN103049547A
CN103049547A CN2012105792050A CN201210579205A CN103049547A CN 103049547 A CN103049547 A CN 103049547A CN 2012105792050 A CN2012105792050 A CN 2012105792050A CN 201210579205 A CN201210579205 A CN 201210579205A CN 103049547 A CN103049547 A CN 103049547A
Authority
CN
China
Prior art keywords
idf
document
resource
user
ios
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
Application number
CN2012105792050A
Other languages
Chinese (zh)
Other versions
CN103049547B (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

Images

Abstract

The invention discloses an iOS (iphone operation system) page processing method based on IDF (interactive document format). The method includes: preloading resources, loading related page resources in advance when a user brows pages; analyzing IDF documents, accessing IDF document tree structure, and acquiring data of all nodes in the tree structure; loading acquired document complete data information to a screen; drawing actions, capturing the user's operation, and drawing element contents contained in corresponding interactive actions on the screen; recycling resources which are low in relevance or irrelevant with current page. Browsing efficiency of IDF documents on the iOS is guaranteed, and user experience is improved.

Description

A kind of iOS page processing method based on the IDF document format
Technical field
The present invention relates to field of computer technology, particularly a kind of iOS page processing method based on the IDF document format.
Background technology
Along with the day by day raising of people's living standard, the parent that the entertainment way such as video display animation more and more are subject to consumers in general looks at.Along with the arrival of information age, Digital Media arises at the historic moment, and Digital Media is as the media that exist and propagate with digital form, the every aspect in being widely used in living, broadcasting, TV, internet, mobile phone, computer, PDA.Under these circumstances, Media Industry developed into a new high point, how digital times, the problem of most critical are transmission information between various digitizers, how to realize compatibility.
The information that is used for propagation and reads, its form comprises literal, numerical value, language, music, image, form etc., traditional word processing process comprises: writing, editor, composing, printing, hair style five steps, and the text-processing process of modern multimedia equipment comprises: the e-text-text-processing (text-processing software) of text preparation (input of literal and icon)-e-text-text editing and composing (text editor)-format-text storage represents (text file reader) in transmission-text.
Traditional file structure all is take the page<page〉show and set type as unit, file structure such as forms such as PDF, DOC, PDF document format for example, this file layout is general in operating system, so that become the desirable document format that carries out electronic document distribution and digital information propagation at Internet.Increasing e-book, the description of product, company's proclamation, network data, Email are brought into use the PDF file.The PDF file has become the actual industrial standard of digital information at present.Although it is so many that the PDF file has advantages of, it still has some incompatibility in the use between the hardware platform, on some hardware platform, still can not use.
Still do not have for the unified standard of Digital Media document norm-setting, so that general in whole field of digital media in the industry at present.The digital document form of each fatware manufacturer exploitation only limits to the processing (comprising PDF) to picture, literal, does not pay attention to distinctive function of digital Age, as: the characteristics such as interaction, user's experience.
IOS is the handheld equipment operating system by Apple's exploitation, is take the commercial operation system of Darwin as the basis.
IDF:Interactive Document Format, the interactive document format.But the IDF form is a kind of cross-platform interaction document form, not yet has technology to resolve and show at iOS equipment for the IDF document in the prior art.
Summary of the invention
The defective that exists in order to overcome above-mentioned prior art the invention provides a kind of iOS page processing method based on the IDF document format, can realize that the IDF format file resolves and show at iOS equipment.
To achieve these goals, technical scheme of the present invention is as follows:
A kind of iOS page processing method based on the IDF document format comprises the steps:
1) resource prestrain when user's browsing pages, loads the related pages resource in advance;
2) resolve the IDF document, access IDF document tree structure is also obtained the data of all nodes in the tree structure;
3) with step 2) in the document overall data information obtained be loaded on the screen;
4) draw action, catch user's operation, the element content of intension was plotted on the screen during the interaction of user's operational correspondence was moved;
5) resource reclaims, and reclaims and the not high or irrelevant resource of current page correlativity.
As preferably, step 4) user's operation of the present invention comprises demonstrations, hides, mobile, link and broadcast.
As preferably, but the element content in the step 4) of the present invention comprises viewable area, external image, external video, external audio, webpage, text interaction sequence figure, lantern slide, mutual static resource.
The invention has the beneficial effects as follows, realized and guaranteed the browse efficiency of IDF document on iOS, improved user's experience.
Description of drawings
Fig. 1 is process flow diagram of the present invention.
Embodiment:
Be easy to understand understanding in order to make creation characteristic of the present invention, technological means and to reach purpose, further set forth the present invention below in conjunction with specific embodiment.
But the IDF document is a kind of interactive digital document format, the document label that comprises NXML language definition, but the document label comprises viewable area label, external image label, external video label, external audio label, webpage label, text label interaction sequence figure label, lantern slide label, mutual static resource label.Viewable area label<region 〉, the materials such as concrete literal, picture all are with zone<region in the page form be presented on the page;
External image label<image 〉, be used for memory disk epigraph address and relevant information;
External video label<video 〉, be used for video address and relevant information on the memory disk;
External audio label<audio 〉, be used for audio frequency address and relevant information on the memory disk;
Webpage label<embeded 〉, be used for web page address and relevant information on memory disk or the internet;
Text label<text 〉, the content and the relevant information that are used for storing text;
But interaction sequence figure label<GSF 〉, be used for a picture group sheet is play in order, and can manually control playing sequence;
Lantern slide label<Gallery 〉, define some at viewable area<region〉pattern and the parameter of the picture lantern slide that shows;
Mutual static resource label<ISR 〉, define the files such as some static images, video, make it have certain interaction characteristic, as: picture can be set as and can smear the wiping state.
The XML form of the data layout of IDF for adopting the NXML linguistic labels to make.
The IDF file structure is documentation root node, one-level child node, secondary child node and three grades of tree structures that child node forms, and wherein, the one-level child node is joint, and the secondary child node is the page, and three grades of child nodes are the document elements tabulation.Described joint comprises several pages and element index table, can reach farthest multiplexing in order to guarantee the element in the document format, and the generation that repeats of avoiding resource, and the IDF adopted value comes associated element to the mode of index.As follows such as the individual element index:
<key?va?lue="page/1"location="xml/page?s/1.xml"/>
Wherein, value represents type and the ID numbering of this element, also is the foundation that other element is accessed this element;
Location is content and the concrete storage address of attribute of element for this reason.
The element that the document elements tabulation comprises is viewing area, action, outside material, and the element in tabulating according to document elements is searched the element in the element index tabulation.
Action comprises presented event label, hiding event tag, moving event label, link event tag and broadcast event label.Wherein:
Presented event label<show 〉, be used for showing several viewable area<region 〉;
Hide event tag<hide 〉, be used for hiding several viewable area<region 〉;
Moving event label<move 〉, be used for mobile several viewable area<region 〉;
Link event tag<link 〉, be used for link external web page, application program, mail etc.;
Broadcast event label<play 〉, be used for playing several resource<resource 〉;
Outside material comprises picture, video, audio frequency, webpage.
A kind of iOS page processing method based on the IDF document format comprises the steps: resource prestrain, experiences efficient and the user that iOS browses in order to guarantee the IDF document, when user's browsing pages, loads in advance the related pages resource; Resolve the IDF document, access IDF document tree structure is also obtained the data of all nodes in the tree structure; The document overall data information of obtaining in resolving is loaded on the screen, the doc element of load id F document at first, obtain the document Global Information, and obtain the path of all section, then the page that shows according to current needs loads corresponding section content, comprises page, region among the section, action etc.Be plotted on the screen according to the content among page and the region, comprise the resource that region quotes; Draw action, when system captures the user and operates, if this operation has corresponding interaction action, then load the elements such as corresponding action, region, then draw corresponding content, animation etc. according to their content at screen; Resource reclaims, and reclaims and the not high or irrelevant resource of current page correlativity.Described user's operation comprises demonstration, hides, moves, links and plays.But described element content comprises viewable area, external image, external video, external audio, webpage, text interaction sequence figure, lantern slide, mutual static resource.
Process interactive process:
1, when the page switches, at first can start the page loads and releasing mechanism, then travel through all pages that relate in this process, if having the page to occur or disappearance, then load corresponding action (action): onAppear or action (action): onDisappear;
2, the document that shows is operated as the user such as a finger presses, the kneading of two fingers, finger sliding etc.Resolver can check the position that this operation occurs, and finds the region at this place, position according to " uppermost override " principle, then judges according to the content of this region whether it can respond and presses, mediates this action.If do not respond, then do not do anything, if can respond, then load corresponding action;
3, after an action is loaded out, at first can travel through region and resource that he quotes, if this region or resource not yet are loaded, then 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, then after this region is by hide, discharge it.
The page loads and removal process:
1, traditional XML analysis mode is encapsulated, so that corresponding object be resolved and be generated to resolver can directly according to the IDF document content, for example encapsulated the page class-(id) initWithIDFElement:(IDFElement*) the element method, can directly from corresponding IDF element, generate a page object like this;
Example:
Figure BDA00002660620800051
Figure BDA00002660620800071
2, from the essential information of doc element load id F document, and obtain the sections array, the essential information of all section has been preserved in the inside, and more content such as page, region, the action etc. of details then can not be loaded in this moment section;
Example:
Figure BDA00002660620800081
3, according to the current screen position, calculate the section at the current page that need to show and its place, then load the detailed content of this page, comprise wherein region, action, resource etc., again according to their content, drawing image is on screen;
Example:
Figure BDA00002660620800082
Figure BDA00002660620800091
4, carry out prestrain, the content of loading comprises the last section of current page above and below two page, current section and first page of a rear section.Wherein region, the action etc. that comprise of page can be loaded;
Example:
Figure BDA00002660620800092
Figure BDA00002660620800101
5, check in the content that has loaded whether the content that does not belong among the page that mentions in abovementioned steps 2 and 3 is arranged, if having, then discharge these resources, so far, loading procedure finishes;
Example:
6, at every turn when the user browses to other pages, repeating step 3 is to the process of step 5.
Above demonstration and described ultimate principle of the present invention, principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; that describes in above-described embodiment and the instructions just illustrates principle of the present invention; the present invention also has various changes and modifications without departing from the spirit and scope of the present invention, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (3)

1. the iOS page processing method based on the IDF document format is characterized in that, comprises the steps:
1) resource prestrain when user's browsing pages, loads the related pages resource in advance;
2) resolve the IDF document, access IDF document tree structure is also obtained the data of all nodes in the tree structure;
3) with step 2) in the document overall data information obtained be loaded on the screen;
4) draw action, catch user's operation, the element content of intension was plotted on the screen during the interaction of user's operational correspondence was moved;
5) resource reclaims, and reclaims and the not high or irrelevant resource of current page correlativity.
2. a kind of iOS page processing method based on the IDF document format according to claim 1 is characterized in that, described step 4) user's operation comprises demonstration, hides, moves, links and plays.
3. a kind of iOS page processing method based on the IDF document format according to claim 1, it is characterized in that, but the element content in the described step 4) comprises viewable area, external image, external video, external audio, webpage, text interaction sequence figure, lantern slide, mutual static resource.
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 true CN103049547A (en) 2013-04-17
CN103049547B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995835A (en) * 2014-04-25 2014-08-20 江苏思迈斯电子商务有限公司 Method for searching for webpage elements of user interface framework
CN104766356A (en) * 2015-03-25 2015-07-08 五八有限公司 IOS animation production method and device
CN104978315A (en) * 2014-04-02 2015-10-14 北京大学 Nonlinear rendering method and device for local content
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050144555A1 (en) * 2002-04-15 2005-06-30 Koninklijke Philips Electronics N.V. Method, system, computer program product and storage device for displaying a document
CN101008892A (en) * 2006-01-24 2007-08-01 环隆电气股份有限公司 Wireless network interactive graphic user interface display system
US20080244391A1 (en) * 2007-03-21 2008-10-02 Uri Ben Menachem System and method for dynamic message placement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050144555A1 (en) * 2002-04-15 2005-06-30 Koninklijke Philips Electronics N.V. Method, system, computer program product and storage device for displaying a document
CN101008892A (en) * 2006-01-24 2007-08-01 环隆电气股份有限公司 Wireless network interactive graphic user interface display system
US20080244391A1 (en) * 2007-03-21 2008-10-02 Uri Ben Menachem System and method for dynamic message placement

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
史祺: "《玩转"牛排"The new iPad完全攻略》", 《电脑迷》, no. 9, 31 May 2012 (2012-05-31), pages 16 - 19 *

Cited By (6)

* 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
CN104766356A (en) * 2015-03-25 2015-07-08 五八有限公司 IOS animation production method and device
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

Also Published As

Publication number Publication date
CN103049547B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN111753500B (en) Method for merging and displaying formatted electronic form and OFD (office file format) and generating catalog
CN111753499B (en) Method for merging and displaying electronic form and OFD format file and generating directory
KR101955732B1 (en) Associating captured image data with a spreadsheet
US10459603B2 (en) Extension activation for related documents
US10366154B2 (en) Information processing device, information processing method, and computer program product
KR20170091142A (en) Web content tagging and filtering
Khalili et al. The rdfa content editor-from wysiwyg to wysiwym
CN104834753A (en) Webpage screenshot generating method and device
JP2013519932A (en) Method and system for structuring information with a sharable user interface
CN104798036A (en) User interface control framework for stamping out controls using a declarative template
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
CN103049547B (en) A kind of iOS page processing method based on IDF document format
US11314757B2 (en) Search results modulator
KR20160015295A (en) Multi-display system
Broussard Preserving news apps present huge challenges
WO2016130344A1 (en) Supporting digital ink in markup language documents
KR20150095663A (en) Flat book to rich book conversion in e-readers
JP2013540319A (en) Method and apparatus for inserting hyperlink address into bookmark
US8650485B2 (en) Method for integrating really simple syndication documents
US20130091413A1 (en) Rich Data Label Formatting
CN112417345B (en) Rendering method, rendering device, electronic equipment and storage medium
Yoo et al. ESOTAG: E-book evolution using collaborative social tagging by readers
CN103049544A (en) Interactive digital document format realizing method based on NXML (newpower extensible markup language)
CN110244948A (en) The method and electronic equipment that language switches over button state based on programming

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

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.

CP02 Change in the address of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160525

Termination date: 20201227

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