CN104424172A - Typesetting method, typesetting device and typesetting system - Google Patents

Typesetting method, typesetting device and typesetting system Download PDF

Info

Publication number
CN104424172A
CN104424172A CN201310396063.9A CN201310396063A CN104424172A CN 104424172 A CN104424172 A CN 104424172A CN 201310396063 A CN201310396063 A CN 201310396063A CN 104424172 A CN104424172 A CN 104424172A
Authority
CN
China
Prior art keywords
typesetting
data
content
template
client
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
CN201310396063.9A
Other languages
Chinese (zh)
Other versions
CN104424172B (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.)
New Founder Holdings Development Co ltd
Pku Founder Information Industry Group Co ltd
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Founder Information Industry Holdings Co Ltd
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Founder Information Industry Holdings Co Ltd, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Founder Information Industry Holdings Co Ltd
Priority to CN201310396063.9A priority Critical patent/CN104424172B/en
Publication of CN104424172A publication Critical patent/CN104424172A/en
Application granted granted Critical
Publication of CN104424172B publication Critical patent/CN104424172B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a typesetting method. The typesetting method includes receiving typesetting requests transmitted from a client; acquiring content data and templates from cloud according to cloud content data positions and template data positions; applying the templates to carry out typesetting on content data according to configuration information; storing typesetting results in cloud storage addresses and feeding the typesetting results to the client for users to preview the typesetting results. The typesetting requests contain the cloud content data positions, the template positions and the configuration information. The invention further discloses a typesetting device and a typesetting system. The typesetting method, the typesetting device and the typesetting system have the advantage that the typesetting efficiency can be greatly improved by the aid of the typesetting method, the typesetting device and the typesetting system.

Description

A kind of composition method, Apparatus and system
Technical field
The present invention relates to publishing technology field, be specifically related to a kind of composition method, Apparatus and system.
Background technology
Under current cloud computing spring tide, content resource can be put into high in the clouds resource system by user, but is still being in elementary hand-set to the typesetting process of content resource, and namely user downloaded content resource is to local, carry out contents extraction, utilize local composing tools to carry out typesetting.This mode of operation human task is heavy, cannot utilize high in the clouds advantage, inefficiency.
Summary of the invention
The invention provides a kind of composition method, Apparatus and system, to improve typesetting efficiency.
For this reason, the invention provides following technical scheme:
A kind of composition method, comprising:
Receive the typesetting request that client sends, described typesetting request comprises cloud content Data Position, template position and configuration information;
Content-data and template is obtained from high in the clouds according to described cloud content Data Position and template data position;
According to described configuration information, described template is applied mechanically to described content-data and carry out typesetting;
Typesetting result is turned back to client for user preview stored in high in the clouds memory address.
Preferably, described cloud content Data Position and template position adopt resource to unify finger URL to represent.
Preferably, described client comprise following any one:
Web client, Mobile solution client, pc client.
Preferably, describedly according to described configuration information, described template is applied mechanically to described content-data and carries out typesetting and comprise:
Standardization processing is carried out to described content-data;
Carry out template to the content-data after standardization processing to apply mechanically, form preliminary typesetting result;
According to described configuration information, layout result checking, file structure checking and pattern adjustment are carried out to described preliminary typesetting result.
Preferably, described content-data comprise following any one or multiple: the structured content of page data, XML format, Office document;
Describedly standardization processing carried out to described content-data comprise following any one or multiple process:
Standardization processing is carried out to described web data, comprising: filter the newline in described web data; Label in described web data is converted to the label that self-defined HTML5 formatter is concentrated; Remove pattern and script;
The structured content of XML format is converted to self-defined HTML5 form subset;
It is self-defined HTML5 form subset by Office document subject feature vector.
A kind of composing device, comprising:
Receiver module, for receiving the typesetting request that client sends, described typesetting request comprises cloud content Data Position, template position and configuration information;
High in the clouds source obtaining module, for obtaining content-data and template according to described cloud content Data Position and template data position from high in the clouds;
Type-setting module, carries out typesetting for applying mechanically described template according to described configuration information to described content-data;
Store and previewing module, turn back to client for user's preview for the typesetting result that exported by described type-setting module stored in high in the clouds memory address.
Preferably, described type-setting module comprises:
Resource standardization unit, for carrying out standardization processing to described content-data, is converted to self-defining HTML5 subset normalized content by described content-data;
Template applies mechanically unit, applying mechanically, forming preliminary typesetting result for carrying out template to the content-data after standardization processing;
Parametric adjustment authentication unit, for carrying out layout result checking, file structure checking and pattern adjustment according to described configuration information to described preliminary typesetting result.
Preferably, described device also comprises:
Packetization module, the typesetting result for exporting described type-setting module carries out scale-of-two packing process;
The packet that described packetization module exports by described storage and previewing module is stored in high in the clouds memory address.
A kind of composing system, comprising: client and server;
Described client, for sending typesetting request to described server, described typesetting request comprises cloud content Data Position, template position and configuration information;
Described server, for obtaining content-data and template according to described cloud content Data Position and template data position from high in the clouds, and according to described configuration information, described template is applied mechanically to described content-data and carry out typesetting, typesetting result is turned back to client for user's preview stored in high in the clouds memory address.
Preferably, described client comprise following any one:
Web client, Mobile solution client, pc client.
The composition method utilizing the embodiment of the present invention to provide, Apparatus and system, user only needs allocated resource position, selected or set the typesetting result that template can generate needs, and efficiency is high and have and abundantly represent advantage.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of embodiment of the present invention composition method;
Fig. 2 is the structural representation of embodiment of the present invention composing device;
Fig. 3 is the fundamental diagram of embodiment of the present invention composing system.
Embodiment
In order to the scheme making those skilled in the art person understand the embodiment of the present invention better, below in conjunction with drawings and embodiments, the embodiment of the present invention is described in further detail.
As shown in Figure 1, be the process flow diagram of embodiment of the present invention composition method, comprise the following steps:
Step 101, receive the typesetting request that client sends, described typesetting request comprises cloud content Data Position, template position and configuration information.
User can pass through web client, mobile App client, pc client etc. and initiate typesetting request, realizes carrying out typesetting whenever and wherever possible.
Step 102, obtains content-data and template according to described cloud content Data Position and template data position from high in the clouds.
Step 103, applies mechanically described template according to described configuration information to described content-data and carries out typesetting.
Described content-data comprise following any one or multiple: the structured content of page data, XML format, Office document.
Correspondingly, when typesetting, need first to carry out standardization processing to described content-data, this process comprises following any one or multiple process:
(1) standardization processing is carried out to described web data, comprising: filter the newline in described web data; Label in described web data is converted to the label that self-defined HTML5 formatter is concentrated; Remove pattern and script;
(2) structured content of XML format is converted to self-defined HTML5 form subset;
(3) by Office document subject feature vector be self-defined HTML5 form subset.
Then, the content-data after standardization processing is carried out template and applies mechanically, and distributing adjustment and the preliminary typesetting result of pattern application formation are carried out to the content resource meeting HTML5 subset definition after standardization;
Finally, preliminary typesetting result is adjusted according to the configuration information in typesetting request, comprise the process operations such as layout result checking, file structure checking and pattern adjustment.
Step 104, turns back to client for user preview by typesetting result stored in cloud memory address.
Particularly, first typesetting result can be carried out scale-of-two packing process, then packet is stored into the appropriate address (this address can refer to family by user) in high in the clouds, and turn back to client and provide preview to examine and revise for user.
Visible, utilize the composition method that the embodiment of the present invention provides, user only needs allocated resource position, selected or set the typesetting result that template can generate needs, and efficiency is high and have and abundantly represent advantage.
Correspondingly, the embodiment of the present invention also provides a kind of composing device, as shown in Figure 2, is a kind of structural representation of this device.
In this embodiment, described device comprises:
Receiver module 201, for receiving the typesetting request that client sends, described typesetting request comprises cloud content Data Position, template position and configuration information;
High in the clouds source obtaining module 202, for obtaining content-data and template according to described cloud content Data Position and template data position from high in the clouds;
Type-setting module 203, carries out typesetting for applying mechanically described template according to described configuration information to described content-data;
Store and previewing module 204, turn back to client for user's preview for the typesetting result that exported by type-setting module 203 stored in high in the clouds memory address.
The composing device of this embodiment can based on HTML5 technology, and the demand according to user realizes automatic typesetting.
For this reason, in the composing device of the embodiment of the present invention, a kind of specific implementation of above-mentioned type-setting module 203 comprises: resource standardization unit, template apply mechanically unit and parametric adjustment authentication unit.Wherein:
Described resource standardization unit is used for carrying out standardization processing to described content-data, described content-data is converted to self-defining HTML5 subset normalized content;
Described template is applied mechanically unit and is applied mechanically for carrying out template to the content-data after standardization processing, forms preliminary typesetting result;
Described parametric adjustment authentication unit is used for carrying out layout result checking, file structure checking and pattern adjustment according to described configuration information to described preliminary typesetting result.
In addition, for the ease of storing, the composing device of this embodiment also can comprise further: packetization module (not shown), and the typesetting result for exporting type-setting module 203 carries out scale-of-two packing process.Correspondingly, the packet that described packetization module can be exported with previewing module 204 is stored stored in high in the clouds memory address.
Utilize the composing device that the embodiment of the present invention provides, user only needs allocated resource position, selected or set the typesetting result that template can generate needs, and efficiency is high and have and abundantly represent advantage.
Correspondingly, the embodiment of the present invention also provides a kind of composing system, and this system comprises: client and server.Wherein, described client is used for sending typesetting request to described server, and described typesetting request comprises cloud content Data Position, template position and configuration information; Described server is used for obtaining content-data and template according to described cloud content Data Position and template data position from high in the clouds, and according to described configuration information, described template is applied mechanically to described content-data and carry out typesetting, typesetting result is turned back to client for user's preview stored in high in the clouds memory address.Fig. 3 shows the principle of work of embodiment of the present invention composing system.
Above-mentioned client can be web client, Mobile solution client, pc client etc., to be user-friendly to different clients, realizes carrying out typesetting whenever and wherever possible.
It should be noted that, the specific implementation of described server can refer to the description in embodiment of the present invention composing device above, does not repeat them here.
Visible, utilize the composing system that the embodiment of the present invention provides, user only needs allocated resource position, selected or set the typesetting result that template can generate needs, and efficiency is high and have and abundantly represent advantage.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for Apparatus and system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Apparatus and system embodiment described above is only schematic, the wherein said module that illustrates as separating component and unit or can may not be and physically separate, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Being described in detail the embodiment of the present invention above, applying embodiment herein to invention has been elaboration, the explanation of above embodiment just understands method and apparatus of the present invention for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a composition method, is characterized in that, comprising:
Receive the typesetting request that client sends, described typesetting request comprises cloud content Data Position, template position and configuration information;
Content-data and template is obtained from high in the clouds according to described cloud content Data Position and template data position;
According to described configuration information, described template is applied mechanically to described content-data and carry out typesetting;
Typesetting result is turned back to client for user preview stored in high in the clouds memory address.
2. method according to claim 1, is characterized in that, described cloud content Data Position and template position employing resource are unified finger URL and represented.
3. method according to claim 1, is characterized in that, described client comprise following any one:
Web client, Mobile solution client, pc client.
4. method according to claim 1, is characterized in that, describedly applies mechanically described template according to described configuration information to described content-data and carries out typesetting and comprise:
Standardization processing is carried out to described content-data;
Carry out template to the content-data after standardization processing to apply mechanically, form preliminary typesetting result;
According to described configuration information, layout result checking, file structure checking and pattern adjustment are carried out to described preliminary typesetting result.
5. method according to claim 4, is characterized in that, described content-data comprise following any one or multiple: the structured content of page data, XML format, Office document;
Describedly standardization processing carried out to described content-data comprise following any one or multiple process:
Standardization processing is carried out to described web data, comprising: filter the newline in described web data; Label in described web data is converted to the label that self-defined HTML5 formatter is concentrated; Remove pattern and script;
The structured content of XML format is converted to self-defined HTML5 form subset;
It is self-defined HTML5 form subset by Office document subject feature vector.
6. a composing device, is characterized in that, comprising:
Receiver module, for receiving the typesetting request that client sends, described typesetting request comprises cloud content Data Position, template position and configuration information;
High in the clouds source obtaining module, for obtaining content-data and template according to described cloud content Data Position and template data position from high in the clouds;
Type-setting module, carries out typesetting for applying mechanically described template according to described configuration information to described content-data;
Store and previewing module, turn back to client for user's preview for the typesetting result that exported by described type-setting module stored in high in the clouds memory address.
7. device according to claim 6, is characterized in that, described type-setting module comprises:
Resource standardization unit, for carrying out standardization processing to described content-data, is converted to self-defining HTML5 subset normalized content by described content-data;
Template applies mechanically unit, applying mechanically, forming preliminary typesetting result for carrying out template to the content-data after standardization processing;
Parametric adjustment authentication unit, for carrying out layout result checking, file structure checking and pattern adjustment according to described configuration information to described preliminary typesetting result.
8. the device according to claim 6 or 7, is characterized in that, described device also comprises:
Packetization module, the typesetting result for exporting described type-setting module carries out scale-of-two packing process;
The packet that described packetization module exports by described storage and previewing module is stored in high in the clouds memory address.
9. a composing system, is characterized in that, comprising: client and server;
Described client, for sending typesetting request to described server, described typesetting request comprises cloud content Data Position, template position and configuration information;
Described server, for obtaining content-data and template according to described cloud content Data Position and template data position from high in the clouds, and according to described configuration information, described template is applied mechanically to described content-data and carry out typesetting, typesetting result is turned back to client for user's preview stored in high in the clouds memory address.
10. system according to claim 9, is characterized in that, described client comprise following any one:
Web client, Mobile solution client, pc client.
CN201310396063.9A 2013-09-04 2013-09-04 A kind of composition method, apparatus and system Expired - Fee Related CN104424172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310396063.9A CN104424172B (en) 2013-09-04 2013-09-04 A kind of composition method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310396063.9A CN104424172B (en) 2013-09-04 2013-09-04 A kind of composition method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104424172A true CN104424172A (en) 2015-03-18
CN104424172B CN104424172B (en) 2018-05-18

Family

ID=52973177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310396063.9A Expired - Fee Related CN104424172B (en) 2013-09-04 2013-09-04 A kind of composition method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104424172B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260351A (en) * 2015-09-10 2016-01-20 武汉改图网技术有限公司 Online self-service presswork design method based on self-adaptive template
CN108073562A (en) * 2016-11-16 2018-05-25 北大方正集团有限公司 Publication processing method and processing device based on cloud platform
CN109670160A (en) * 2017-10-13 2019-04-23 北大方正集团有限公司 The typesetting processing method and device of file
CN109726382A (en) * 2018-11-12 2019-05-07 方正璞华软件(武汉)股份有限公司 Composition method and device
CN110362805A (en) * 2018-04-09 2019-10-22 成都野望数码科技有限公司 A kind of method, apparatus and terminal device of content typesetting recommendation
CN110390091A (en) * 2018-04-18 2019-10-29 成都野望数码科技有限公司 A kind of typesetting document structure tree method, device and equipment
CN111079373A (en) * 2019-12-06 2020-04-28 北大方正集团有限公司 Method and device for setting custom font of customized file and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1424669A (en) * 2002-12-30 2003-06-18 北京北大方正电子有限公司 Automatic typesetting method
CN1427369A (en) * 2001-12-19 2003-07-02 英业达股份有限公司 Typesetting method of character frame
CN1503160A (en) * 2002-11-20 2004-06-09 英业达股份有限公司 Computer executable automatic composing method for electronic book read interface
US20100049787A1 (en) * 2008-08-21 2010-02-25 Acer Incorporated Method of an internet service, system and data server therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1427369A (en) * 2001-12-19 2003-07-02 英业达股份有限公司 Typesetting method of character frame
CN1503160A (en) * 2002-11-20 2004-06-09 英业达股份有限公司 Computer executable automatic composing method for electronic book read interface
CN1424669A (en) * 2002-12-30 2003-06-18 北京北大方正电子有限公司 Automatic typesetting method
US20100049787A1 (en) * 2008-08-21 2010-02-25 Acer Incorporated Method of an internet service, system and data server therefor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HOPPER E等: "An empirical investigation of metaheuristics and heuristic algorithms or 2D packing problem", 《EUROPEAN JOURNAL OF OPERATIONAL RESEARCH》 *
侯广坤等: "自动布局问题的进化计算算法", 《中山大学学报( 自然科学版)》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260351A (en) * 2015-09-10 2016-01-20 武汉改图网技术有限公司 Online self-service presswork design method based on self-adaptive template
CN105260351B (en) * 2015-09-10 2018-05-01 武汉改图网技术有限公司 A kind of online self-help design method of printed matter based on adaptive masterplate
CN108073562A (en) * 2016-11-16 2018-05-25 北大方正集团有限公司 Publication processing method and processing device based on cloud platform
CN109670160A (en) * 2017-10-13 2019-04-23 北大方正集团有限公司 The typesetting processing method and device of file
CN110362805A (en) * 2018-04-09 2019-10-22 成都野望数码科技有限公司 A kind of method, apparatus and terminal device of content typesetting recommendation
CN110362805B (en) * 2018-04-09 2023-10-27 成都野望数码科技有限公司 Content typesetting recommendation method and device and terminal equipment
CN110390091A (en) * 2018-04-18 2019-10-29 成都野望数码科技有限公司 A kind of typesetting document structure tree method, device and equipment
CN109726382A (en) * 2018-11-12 2019-05-07 方正璞华软件(武汉)股份有限公司 Composition method and device
CN109726382B (en) * 2018-11-12 2023-08-22 方正璞华软件(武汉)股份有限公司 Typesetting method and device
CN111079373A (en) * 2019-12-06 2020-04-28 北大方正集团有限公司 Method and device for setting custom font of customized file and readable storage medium
CN111079373B (en) * 2019-12-06 2021-12-03 北大方正集团有限公司 Method and device for setting custom font of customized file and readable storage medium

Also Published As

Publication number Publication date
CN104424172B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN104424172A (en) Typesetting method, typesetting device and typesetting system
CN104378435A (en) Method for transmitting file between browser of computing device and mobile terminal
CN110730208A (en) Local device calling method and device, storage medium and device
CN103257958B (en) A kind of interpretation method based on cloud storage and system
TW201805832A (en) File transfer method and apparatus
CN103475682A (en) File transfer method and file transfer equipment
CN104376090A (en) Screen synchronization equipment of browser in computing equipment and mobile terminal
CN103632184A (en) Two-dimension code generation method, two-dimension code use method, two-dimension code generator and user equipment
CN111062189A (en) Data analysis method and device and electronic equipment
CN104394208A (en) File transmission method and server
CN107566477A (en) A kind of method and apparatus that file is obtained in distributed file system cluster
CN110119235A (en) Realize the method, apparatus, signature terminal and signature server of Electronic Signature
CN103248666A (en) System, method and device for offline resource download
CN104572084A (en) Method and device for user interface generating and data issuing in card business
CN106331749B (en) Video request method and system
CN105025102A (en) Network storage and calling method and storage system of 3D printing model file
CN104462367A (en) Browser of computing device and thumbnail display method of browser
CN104113564A (en) Hyper text transfer protocol connection multiplexing method, device, system, and terminal
CN108334547A (en) Data share exchange System and method for based on big data
CN111182053A (en) Method and device for downloading file, computer storage medium and terminal
US10412002B1 (en) Processing packet data using an offload engine in a service provider environment
CN203573353U (en) Two-dimension code anti-loss system
US10567837B2 (en) System for providing cloud-based user interfaces and method thereof
CN106126663A (en) page aggregation method and device
US9667724B2 (en) Cloud off-ramp management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee after: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee after: PKU FOUNDER INFORMATION INDUSTRY GROUP CO.,LTD.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: FOUNDER INFORMATION INDUSTRY HOLDINGS Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220919

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: PKU FOUNDER INFORMATION INDUSTRY GROUP CO.,LTD.

Patentee before: BEIJING FOUNDER ELECTRONICS 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: 20180518