Summary of the invention
The embodiment of the present application, by providing method and the device of a kind of information processing of a kind of information processing, solves
When in prior art processing information, electronic equipment needs flow process to be processed to increase, the work of process
Measure big technical problem.
The embodiment of the present application provides a kind of method of information processing, is applied in an electronic equipment, is used for making
Making electronic publication, described method specifically includes: being used in described electronic equipment makes described electronics and go out
When the application program of version thing is opened, the display unit of described electronic equipment shows the first interface, described
First interface includes ingress area;Determine the described electronic publication needing to import described ingress area
First subject matter, described first subject matter at least the first display effect and the second display effect;By institute
State the first subject matter and import described ingress area, and show described first main body with described first display effect
File;Second subject matter of described electronic publication is imported described ingress area, and shows with described first
Show that effect shows described second subject matter;A white space, wherein, described second is generated at second contact surface
Interface is for when described first subject matter is in described second display effect, and described application program is described aobvious
Show interface corresponding on unit;By described first subject matter with described second display effect described second
When interface shows, it is thus achieved that the 3rd subject matter of described electronic publication, and with described second display effect
Display is in described white space, and wherein, described 3rd subject matter is identical with described second subject matter
Or the file differed.
Further, described ingress area, specifically include: import the first ingress area of the first subject matter
With the second ingress area importing the second subject matter.
Further, described first display effect is particularly as follows: make described first subject matter carry out transverse screen
The display effect of display, described second display effect is particularly as follows: make described first subject matter carry out perpendicular screen
The display effect of display.
Further, described, second subject matter of described electronic publication is imported described ingress area,
And after showing described second subject matter with described first display effect, described method also includes: described
Second subject matter is positioned at the primary importance at described first interface, and when obtaining the first operational order, based on institute
State the first operational order, described second subject matter is moved to and described primary importance from described primary importance
The different second positions.
Further, described, described second subject matter is moved to and described first from described primary importance
After the second position that position is different, described method also includes: described will obtained at described second contact surface
Three subject matter move to the second position from the primary importance correspondence of described second contact surface.
Further, at the 3rd subject matter of the described electronic publication of described acquisition, and show with described second
After showing that effect shows in described white space, described method also includes: by described with the first display effect
First subject matter and second subject matter of display are derived from described first interface;By described with the second display
The first subject matter and the 3rd subject matter that effect shows are derived from described second contact surface.
Another embodiment of the application following technical scheme of offer:
The device of a kind of information processing, is applied in electronic equipment, and described device includes: display module, uses
When application program for making described electronic equipment publication in described electronic equipment is opened, in institute
State and on the display unit of electronic equipment, show the first interface, described first interface includes ingress area;Really
Cover half block, for determining the first subject matter of the described electronic publication needing to import described ingress area,
Described first subject matter at least the first display effect and the second display effect;First imports module, is used for
Described first subject matter is imported described ingress area, and shows described first with described first display effect
Subject matter;Second imports module, leads described in being imported by the second subject matter of described electronic publication
Enter region, and show described second subject matter with described first display effect;Generation module, on the second boundary
Face generates a white space, and wherein, described second contact surface is for being in described second when described first subject matter
During display effect, the interface that described application program is corresponding on described display unit;Acquisition module, is used for
When described first subject matter is shown in described second contact surface with described second display effect, it is thus achieved that described
3rd subject matter of electronic publication, and show in described white space with described second display effect,
Wherein, described 3rd subject matter and described second subject matter are file that is identical or that differ.
Further, described device also includes: the first adjusting module, in described second subject matter position
In the primary importance at described first interface, and when obtaining the first operational order, based on described first operational order,
Described second subject matter is moved to the second position different from described primary importance from described primary importance;
Second adjusting module, described 3rd subject matter being used for obtain at described second contact surface is from described second boundary
The primary importance correspondence in face moves to the second position.
Further, described device also includes: first derives module, is used for described with the first display effect
First subject matter and second subject matter of display are derived from described first interface;Second derives module, uses
In by described the first subject matter shown with the second display effect and the 3rd subject matter from described second boundary
Face is derived.
The one or more technical schemes provided in the embodiment of the present application, at least have the following technical effect that or excellent
Point:
1, the first subject matter is imported this ingress area owing to have employed, show it with the first display effect
After, then the second subject matter of electronic publication is imported this ingress area, and in the second display effect
Interface generates white space, for importing the technical scheme of the 3rd subject document at this white space, so,
Efficiently solve and prior art needs electronic equipment write together with the second subject matter by the first subject matter
When entering interface, when the second subject matter is modified by needs, the interface of the first display effect should be entered
Row amendment, modifies to the interface of the second display effect again so that electronic equipment exists need to be to be processed
The technical problem that workload is big, and then achieve electronic equipment and only need to revise the second main body of a display effect
File, the technique effect that the second subject matter of another corresponding display effect is also modified, reach user
Revise easy to operate, effect efficiently.
2, the first subject matter and the second subject matter are introduced separately application program carry out cloth owing to have employed
The technical scheme of office, so solving in prior art electronic equipment by being led with second by the first subject matter
When body file makes together, the first subject matter layout can be made to need again when revising the second subject matter
Amendment, electronic equipment need repeat process data technical problem, and then achieve by the first subject matter with
The separately amendment of second subject matter, electronic equipment processes the technique effect that data efficiency is high.
Detailed description of the invention
The embodiment of the present application, by providing the method and device of a kind of information processing, solves electricity in prior art
When subset needs that together with the second subject matter, the first subject matter is write interface, when needs are main to second
When body file is modified, should be modified in the interface of the first display effect, again to the second display effect
Modifying in the interface of fruit, electronic equipment exists the technical problem needing workload to be processed big.
Technical scheme in the embodiment of the present application is to solve above-mentioned electronic equipment to need workload to be processed big
Technical problem, general thought is as follows:
In the application program making electronic publication, the first subject matter of electronic publication is imported application
The interface of program, presents the first display effect or the second display effect.Then the second subject matter is imported the
The interface of one display effect, then will generate a white space, at this at the interface of the second display effect
White space, can import threeth subject matter identical with the second subject matter, it is also possible to import and second
The 3rd subject matter that subject matter differs.When needing the second subject matter amendment to the first display effect
Time, on the interface of the second corresponding display effect, the 3rd subject matter is modified the most accordingly.When completing
After amendment to the second subject matter, by the first subject matter and second subject matter of the first display effect
Derive from this application program, meanwhile, by the first subject matter and the 3rd subject matter of the second display effect
Derive from this application program.
In order to be better understood from technique scheme, below in conjunction with Figure of description and concrete embodiment party
Technique scheme is described in detail by formula.
The embodiment of the present application provides a kind of method of information processing, is applied in electronic equipment, is used for making
Electronic publication, in actual application, this electronic publication includes e-magazine and e-book etc..
As it is shown in figure 1, the method for this information processing comprises the steps:
S10: in the electronic device when the application program making electronic publication is opened, at electronics
Show the first interface on the display unit of equipment, the first interface includes ingress area.
In concrete implementation process, above-mentioned electronic publication illustrates as a example by e-magazine, certainly,
Electronic publication is not limited in e-magazine, it is also possible to be e-book, also electronic newspaper.Set at electronics
Show the first interface on standby display unit, such as, when opening the application program in computer, should
An interface can be shown by program, have ingress area on the surface, be used for presenting to user's for importing
File, specifically, can be the body matter of electronic publication, in the embodiment of the present application, claims text
Content is also the first subject matter, certainly, may include that word in the body matter of this electronic publication,
Picture, video, the content such as audio frequency.The ingress area at this interface not only includes the first importing importing text
Region, the most also includes the second ingress area importing the second subject matter, wherein, implements in the application
In example, this second subject matter can be promotional literature.
After having performed S10, then perform S20: determine the electronic publishing needing to import this ingress area
First subject matter of thing, this first subject matter at least the first display effect and the second display effect;
Wherein, in the embodiment of the present application, the first display effect is specifically as follows: make described first main body
File carries out the display effect that transverse screen shows, described second display effect is specifically as follows: make described first
Subject matter carries out the display effect of perpendicular screen display.Certainly, the first display effect can also is that and presents such as a left side
The display effect of right page turning, the second display effect can also is that the display effect presenting upper and lower page turning.At this
In application embodiment, schematically illustrate the most one by one.
In concrete implementation process, need to select e-magazine content to be imported, the i.e. first subject matter,
Upon selection, when browsing e-magazine by ipad or smart mobile phone, such as, when being smart mobile phone,
Owing to the electronic equipments such as smart mobile phone have the gravity sensor carried, during so browsing e-magazine, this electricity
Sub-magazine has effect and the effect of perpendicular screen display that transverse screen shows.At the e-book reading device that some are special
In, page-turning effect that also can be the same just like books, the page turning that these page-turning effects are the most common, also just like picture scroll
The display effect launched.So transverse screen shows or the e-magazine of perpendicular screen display is that a kind of of e-magazine simplifies
Situation.
After determining the e-magazine needing to import this ingress area, perform S30: by the first main body literary composition
Part imports this ingress area, and shows this first subject matter with the first display effect.
In concrete implementation process, the content of e-magazine is imported the first ingress area, wherein, electronics
Magazine is a compressed package, and this compressed package includes the compressed data packets that horizontal version is corresponding with portrait magazine, these data
Include horizontal version journal page layout files and page thumbnails, the board-like file of portrait journal page and page breviary
Figure;This page thumbnails is exactly every page of picture corresponding to board-like file, in this application program, includes
HTML transform engine, can be converted into the picture formats such as JPG or PNG by this html page, should
Page thumbnails be equivalent to user read time, the half size of arrangement for reading screen, owing to layout files exists
Time required during loading is long, so, first pass through display page thumbnails, first allow user see roughly
Effect, after loading completes by the time, layout files just can be presented to user clearly.This packet not only wraps
Include each layout files and page thumbnails, also include the configuration file describing this layout files interrelating effect
With the content describing horizontal version journal page order and summary info etc..Wherein interrelating effect refers to this e-magazine page
The action being had on interactive arrangement for reading, such as, this e-magazine page includes regarding of can clicking on
Or the picture etc. that can zoom in or out frequently,.
After the first subject matter imports the first ingress area, perform S40: by the second of electronic publication
Subject matter imports this ingress area, and shows the second subject matter with the first display effect.
In concrete implementation process, the detailed process that the second subject matter imports the second ingress area is:
Under being, at this interface, the interface model that transverse screen shows, select advertisement HTML to be imported, soft by typesetting
Part calls HTML transform engine automatically so that this advertisement HTML generates transverse screen preview graph, thus is led
Enter the horizontal version page and form advertising page.Such as, about in the e-magazine of magazine, import advertisement, pass through
This advertisement HTML is generated the preview graph of transverse screen by HTML transform engine, thus forms the advertising page of horizontal version,
Certainly, if import advertisement in the portrait page, the advertising page of portrait is just generated.The life of advertising page simultaneously
Become to be possible not only to showing the page importing advertisement of e-magazine format page, meanwhile, can be at e-magazine page
The page between insert one page or multipage advertising page.Such as, e-magazine has page 10, if at electronics
Import one page advertising page between the page of journal page, then this e-magazine page is just page 11.Certainly, import
The advertisement of e-magazine is not limited only to the position of number of pages mentioned above and importing, it is also possible to be other importing
Multipage advertisement and import advertisement in position that e-magazine starts or terminates.In embodiments herein,
Do not enumerate.
Meanwhile, after the second subject matter imports the second ingress area of the first display effect, execution S50:
Generating a white space at second contact surface, wherein, described second contact surface is for being in when described first subject matter
During described second display effect, the interface that described application program is corresponding on described display unit.
In concrete implementation process, when the e-magazine that horizontal version shows has imported advertisement, then corresponding
Portrait e-magazine will generate a blank footprint.Certainly, if the electronics shown in horizontal version is miscellaneous
The advertisement imported between the will page, then, generate blank between the page that corresponding portrait e-magazine is corresponding
Occupy-place page.Such as, show when having imported horizontal version between e-magazine page page 3 and the page 4 of horizontal version
Advertising page, then generate between e-magazine page 3 and the page 4 of portrait the most simultaneously blank occupy-place page.
Certainly, advertisement can import between any page of e-magazine, does not limits.Meanwhile,
The blank footprint generated in corresponding portrait magazine page is also arbitrary, but meets the page at needs
Attractive in appearance under conditions of, the region that this blank footprint need to not collide with this e-magazine text.
After blank footprint in corresponding layout files is determined, perform S60: main by described first
When body file shows in described second contact surface with described second display effect, it is thus achieved that described electronic publication
3rd subject matter, and show in described white space with described second display effect, wherein, described
Three subject matter and described second subject matter are file that is identical or that differ.
In concrete implementation process, this blank footprint for import the advertisement identical with above-mentioned advertisement or
Person is to reselect other advertisements to import.Such as, when being other advertisements when selecting blank footprint,
Using and replace advertising function, then select to need advertisement HTML to be replaced, software for composing calls dynamic automatically
State library module, replaces blank footprint by the preview graph of this advertisement HTML.If selecting blank to account for
When region, position is identical with the advertisement of above-mentioned corresponding horizontal version layout page, choose and the page of the first display effect
Identical advertisement HTML, the preview graph generating advertisement HTML replaces the thumbnail of selected advertisement.
After importing advertisement in the e-magazine of horizontal version and portrait format, if to the location advertising imported
When requiring, it is also possible to carry out following steps:
It is positioned at the primary importance at described first interface at described second subject matter, and obtains the first operational order
Time, based on described first operational order, described second subject matter is moved to and institute from described primary importance
State the second position that primary importance is different;Described, described second subject matter is moved from described primary importance
After the second position different from described primary importance, described 3rd master that will obtain at described second contact surface
Body file moves to the second position from the primary importance correspondence of described second contact surface.
In concrete implementation process, by adjusting the location advertising in the e-magazine of one of them format,
The position of the e-magazine of another corresponding format can be adjusted.Such as, by the electronics of horizontal version format
The advertisement thumbnail being positioned at the upper left corner in magazine is adjusted to the lower right corner of this horizontal version layout page, then in correspondence
Portrait format the e-magazine page on the position of advertisement also adjust from the upper left corner correspondence of this layout page
Position to the lower right corner.Certainly the position adjustment to advertisement, can do accommodation, as required in this Shen
Please be in embodiment, concrete restriction is not done in the adjustment to position.
By importing advertisement at the e-magazine page, replace other advertisements, after adjusting the position of advertisement, as
Fruit still has unsatisfied place to the display effect of advertisement, it is also possible to by being replaced advertisement, position
The amendment operations such as adjustment.So by the scheme that e-magazine body matter and advertisement are separately adjusted,
Improve the efficiency of amendment, while saving the amount of labour, also save the time.
After completing the amendment to advertisement, it is possible to the page that this e-magazine includes advertisement is derived.Tool
Body is: the first subject matter shown with the first display effect and the second subject matter are led from the first interface
Go out;The first subject matter shown with the second display effect and the 3rd subject matter are derived from second contact surface.
In concrete implementation process, while deriving e-magazine, can detect and whether have on e-magazine
Blank footprint or blank occupy-place page, when free white footprint or blank occupy-place page being detected, will
This blank footprint or blank occupy-place page supplement, and namely import advertisement so that e-magazine horizontal stroke version
Display and portrait show it is one to one.When detection completes, and after supplementing required advertisement, if
It is still required for needing to be adjusted to the location advertising imported, then can continue the position of advertisement is done adaptability
Adjustment after, just this complete e-magazine can be derived from this application software.
It addition, in concrete implementation process, as in figure 2 it is shown, the device of this information processing specifically includes:
Display module 10, is beaten for being used for making the application program of electronic equipment publication in the electronic device
When opening, the display unit of electronic equipment shows the first interface, the first interface includes ingress area;
Determine module 20, for determining the first subject matter of the electronic publication needing to import this ingress area, the
One subject matter at least the first display effect and the second display effect;First imports module 30, for by the
One subject matter imports this ingress area, and shows the first subject matter with the first display effect;Second imports
Module 40, for importing this ingress area, and with the first display effect by the second subject matter of electronic publication
Fruit display the second subject matter;Generation module 50, generates a white space, wherein, second at second contact surface
Interface is when the first subject matter is in the second display effect, the boundary that application program is corresponding on the display unit
Face;Acquisition module 60, is used for when being shown in second contact surface with the second display effect by the first subject matter,
Obtain the 3rd subject matter of electronic publication, and show in white space with the second display effect, wherein,
3rd subject matter and described second subject matter are file that is identical or that differ.
It addition, in concrete implementation process, this device also includes:
First adjusting module, for being positioned at the primary importance at the first interface at the second subject matter, and obtains the
During one operational order, based on the first operational order, the second subject matter is moved to and first from primary importance
The second position that position is different;Second adjusting module, for the 3rd subject matter that will obtain at second contact surface
The second position is moved to from the primary importance correspondence of second contact surface.
It addition, in concrete implementation process, this device also includes:
First derives module, for by civilian to institute's the first subject matter of showing of the first display effect and the second main body
Part is derived from the first interface;Second derives module, for the first main body literary composition that will show with the second display effect
Part and the 3rd subject matter are derived from second contact surface.
The method institute that device is enforcement the application information processing due to the information processing that the present embodiment is introduced
The device used, so method based on the information processing described in the embodiment of the present application, belonging to this area
Technical staff will appreciate that detailed description of the invention and its various versions of the device of the present embodiment, so
At this, this electronic equipment is no longer discussed in detail.As long as those skilled in the art implement the application information
The device that the method processed is used, broadly falls into the scope that the application to be protected.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
1, the first subject matter is imported this ingress area owing to have employed, show it with the first display effect
After, then the second subject matter of electronic publication is imported this ingress area, and in the second display effect
Interface generates white space, for importing the technical scheme of the 3rd subject document at this white space, so,
Efficiently solve and prior art needs electronic equipment write together with the second subject matter by the first subject matter
When entering interface, when the second subject matter is modified by needs, the interface of the first display effect should be entered
Row amendment, modifies to the interface of the second display effect again so that electronic equipment exists need to be to be processed
The technical problem that workload is big, and then achieve electronic equipment and only need to revise the second main body of a display effect
File, the technique effect that the second subject matter of another corresponding display effect is also modified, reach user
Revise easy to operate, effect efficiently.
2, the first subject matter and the second subject matter are introduced separately application program carry out cloth owing to have employed
The technical scheme of office, so solving in prior art electronic equipment by being led with second by the first subject matter
When body file makes together, the first subject matter layout can be made to need again when revising the second subject matter
Amendment, electronic equipment need repeat process data technical problem, and then achieve by the first subject matter with
The separately amendment of second subject matter, electronic equipment processes the technique effect that data efficiency is high.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to disk memory,
CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base
This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted
Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.