CN104424172B - A kind of composition method, apparatus and system - Google Patents

A kind of composition method, apparatus and system Download PDF

Info

Publication number
CN104424172B
CN104424172B CN201310396063.9A CN201310396063A CN104424172B CN 104424172 B CN104424172 B CN 104424172B CN 201310396063 A CN201310396063 A CN 201310396063A CN 104424172 B CN104424172 B CN 104424172B
Authority
CN
China
Prior art keywords
data
content
template
typesetting
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.)
Expired - Fee Related
Application number
CN201310396063.9A
Other languages
Chinese (zh)
Other versions
CN104424172A (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 kind of composition method, this method includes:The typesetting request that client is sent is received, the typesetting request includes cloud content Data Position, template position and configuration information;Content-data and template are obtained from high in the clouds according to the cloud content Data Position and template data position;The template is applied mechanically the content-data according to the configuration information and carries out typesetting;Typesetting result is stored in high in the clouds storage address and supplies user's preview back to client.The invention also discloses a kind of composing device and systems.Using the present invention, typesetting efficiency can be greatly improved.

Description

A kind of composition method, apparatus and system
Technical field
The present invention relates to publishing technology fields, and in particular 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 to content resource Typesetting processing be in primary hand-set, i.e. to local, progress contents extraction utilizes originally user downloaded content resource Ground composing tools carry out typesetting.This mode of operation human task is heavy, can not utilize high in the clouds advantage, inefficiency.
The content of the invention
The present invention provides a kind of composition method, apparatus and system, to improve typesetting efficiency.
For this purpose, the present invention provides following technical solution:
A kind of composition method, including:
The typesetting request that client is sent is received, the typesetting request includes cloud content Data Position, template position And configuration information;
Content-data and template are obtained from high in the clouds according to the cloud content Data Position and template data position;
The template is applied mechanically the content-data according to the configuration information and carries out typesetting;
Typesetting result is stored in high in the clouds storage address and supplies user's preview back to client.
Preferably, the cloud content Data Position and template position unify finger URL expression using resource.
Preferably, the client include it is following any one:
Web client, mobile application client, pc client.
Preferably, it is described the template applied mechanically the content-data according to the configuration information carry out typesetting include:
Standardization processing is carried out to the content-data;
Template is carried out to the content-data after standardization processing to apply mechanically, and forms preliminary typesetting result;
The preliminary typesetting result is laid out according to the configuration information result verification, file structure verification and Pattern adjusts.
Preferably, the content-data include it is following any one or more:Web data, XML format structuring in Hold, Office documents;
The standardization processing that carried out to the content-data includes any one or more following processing:
Standardization processing is carried out to the web data, including:Filter the newline in the web data;By the net Label in page data is converted to the label that self-defined HTML5 formatters are concentrated;Remove pattern and script;
The structured content of XML format is converted into self-defined HTML5 forms subset;
Office documents are converted into self-defined HTML5 forms subset.
A kind of composing device, including:
Receiving module, for receiving the typesetting request of client transmission, the typesetting request includes cloud content data Position, template position and configuration information;
High in the clouds source obtaining module, for being obtained according to the cloud content Data Position and template data position from high in the clouds Content-data and template;
Type-setting module carries out typesetting for applying mechanically the content-data template according to the configuration information;
Storage and previewing module for the typesetting result deposit high in the clouds storage address for exporting the type-setting module and return User's preview is supplied to client.
Preferably, the type-setting module includes:
For carrying out standardization processing to the content-data, the content-data is converted to for resource standardization unit Customized HTML5 subsets normalized content;
Template applies mechanically unit, is applied mechanically for carrying out template to the content-data after standardization processing, forms preliminary typesetting knot Fruit;
Parametric adjustment authentication unit, for being laid out result to the preliminary typesetting result according to the configuration information Verification, file structure verification and pattern adjustment.
Preferably, described device further includes:
Packetization module, the typesetting result for being exported to the type-setting module carry out binary system packing processing;
The storage is stored in high in the clouds storage address with the data packet that previewing module exports the packetization module.
A kind of composing system, including:Client and server;
The client, for sending typesetting request to the server, the typesetting request includes cloud content number According to position, template position and configuration information;
The server, for obtaining content number from high in the clouds according to the cloud content Data Position and template data position According to and template, and apply mechanically the content-data according to the configuration information template and carry out typesetting, typesetting result is stored in High in the clouds storage address simultaneously supplies user's preview back to client.
Preferably, the client include it is following any one:
Web client, mobile application client, pc client.
Using composition method provided in an embodiment of the present invention, apparatus and system, user need to only specify resource location, select or The typesetting of needs can be generated as a result, efficient and show advantage with abundant by setting template.
Description of the drawings
It in order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only one described in the present invention A little embodiments for those of ordinary skill in the art, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the flow chart of composition method of the embodiment of the present invention;
Fig. 2 is the structure diagram of composing device of the embodiment of the present invention;
Fig. 3 is the fundamental diagram of composing system of the embodiment of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the scheme of the embodiment of the present invention, below in conjunction with the accompanying drawings and implement Mode is described in further detail the embodiment of the present invention.
As shown in Figure 1, being the flow chart of composition method of the embodiment of the present invention, comprise the following steps:
Step 101, receive the typesetting request that client is sent, typesetting request include cloud content Data Position, Template position and configuration information.
User can initiate typesetting by web client, mobile App clients, pc client etc. to be asked, realize at any time with Ground carries out typesetting.
Step 102, content-data and mould are obtained from high in the clouds according to the cloud content Data Position and template data position Plate.
Step 103, the template is applied mechanically the content-data according to the configuration information and carries out typesetting.
The content-data include it is following any one or more:Web data, XML format structured content, Office documents.
Correspondingly, in typesetting, it is necessary to carry out standardization processing to the content-data first, which includes following The one or more processing of meaning:
(1) standardization processing is carried out to the web data, including:Filter the newline in the web data;By institute It states the label in web data and is converted to the label that self-defined HTML5 formatters are concentrated;Remove pattern and script;
(2) structured content of XML format is converted into self-defined HTML5 forms subset;
(3) Office documents are converted into self-defined HTML5 forms subset.
Then, the content-data after standardization processing is carried out template to apply mechanically, and to meeting HTML5 after standardization The content resource of collection definition is laid out adjustment and pattern application forms preliminary typesetting result;
Finally, preliminary typesetting result is adjusted according to the configuration information in typesetting request, verified including layout result, The processing operations such as file structure is verified and pattern adjusts.
Step 104, typesetting result is stored in cloud storage address and supplies user's preview back to client.
Specifically, can typesetting result be first subjected to binary system packing processing, then data packet is stored to the phase to high in the clouds Address (address can refer to family by user) is answered, and provides preview back to client and is examined and revised for user.
As it can be seen that using composition method provided in an embodiment of the present invention, user need to only specify resource location, select or set Template can generate the typesetting of needs as a result, efficient and show advantage with abundant.
Correspondingly, the embodiment of the present invention also provides a kind of composing device, as shown in Fig. 2, being that a kind of structure of the device is shown It is intended to.
In this embodiment, described device includes:
Receiving module 201, for receiving the typesetting request of client transmission, the typesetting request includes cloud content number According to position, template position and configuration information;
High in the clouds source obtaining module 202, for according to the cloud content Data Position and template data position from high in the clouds Obtain content-data and template;
Type-setting module 203 carries out typesetting for applying mechanically the content-data template according to the configuration information;
Storage and previewing module 204 for the typesetting result deposit high in the clouds storage address for exporting type-setting module 203 and are returned Client is returned to for user's preview.
The composing device of the embodiment can be based on HTML5 technologies, realize Automatic Typesetting according to the demand of user.
For this purpose, in the composing device of the embodiment of the present invention, a kind of specific implementation bag of above-mentioned type-setting module 203 It includes:Resource standardization unit, template apply mechanically unit and parametric adjustment authentication unit.Wherein:
The resource standardization unit is used to carry out standardization processing to the content-data, and the content-data is converted For customized HTML5 subsets normalized content;
The template is applied mechanically unit and is applied mechanically for carrying out template to the content-data after standardization processing, forms preliminary typesetting As a result;
The parametric adjustment authentication unit is used to be laid out the preliminary typesetting result according to the configuration information Result verification, file structure verification and pattern adjustment.
In addition, for the ease of storage, the composing device of this hair embodiment can also further comprise:Packetization module (is not schemed Show), the typesetting result for being exported to type-setting module 203 carries out binary system packing processing.Correspondingly, storage and previewing module The data packet that the packetization module exports can be stored in high in the clouds storage address by 204.
Using composing device provided in an embodiment of the present invention, user need to only specify resource location, select or set template The typesetting of needs can be generated as a result, efficient and show advantage with abundant.
Correspondingly, the embodiment of the present invention also provides a kind of composing system, which includes:Client and server.Wherein, The client is used to send typesetting request to the server, and the typesetting request includes cloud content Data Position, mould Board position and configuration information;The server is used to be obtained from high in the clouds according to the cloud content Data Position and template data position Content-data and template are taken, and the template applies mechanically the content-data according to the configuration information and carries out typesetting, by typesetting As a result it is stored in high in the clouds storage address and supplies user's preview back to client.Fig. 3 shows composing system of the embodiment of the present invention Operation principle.
Above-mentioned client can be web client, mobile application client, pc client etc., to be user-friendly not Same client, realization carry out typesetting whenever and wherever possible.
It should be noted that the specific implementation of the server can refer in the composing device of the embodiment of the present invention of front Description, details are not described herein.
As it can be seen that using composing system provided in an embodiment of the present invention, user need to only specify resource location, select or set Template can generate the typesetting of needs as a result, efficient and show advantage with abundant.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for device and For system embodiment, since it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method The part explanation of embodiment.Apparatus and system embodiment described above is only schematical, wherein the conduct The module and unit that separating component illustrates may or may not be physically separate, and the component shown as unit can To be or may not be physical location, you can be located at a place or can also be distributed in multiple network element. Some or all of module therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.This field is general Logical technical staff is without creative efforts, you can to understand and implement.
The embodiment of the present invention is described in detail above, specific embodiment used herein carries out the present invention It illustrates, the explanation of above example is only intended to help to understand the method and apparatus of the present invention;Meanwhile for the one of this field As technical staff, thought according to the invention, there will be changes in specific embodiments and applications, to sum up institute It states, this specification content should not be construed as limiting the invention.

Claims (8)

1. a kind of composition method, which is characterized in that including:
The typesetting request that client is sent is received, the typesetting request includes cloud content Data Position, template position and matches somebody with somebody Confidence ceases;
Content-data and template are obtained from high in the clouds according to the cloud content Data Position and template data position;
Standardization processing is carried out to the content-data;
Template is carried out to the content-data after standardization processing to apply mechanically, and forms preliminary typesetting result;
Result verification, file structure verification and pattern are laid out to the preliminary typesetting result according to the configuration information Adjustment;
Typesetting result is stored in high in the clouds storage address and supplies user's preview back to client.
2. according to the method described in claim 1, it is characterized in that, the cloud content Data Position and template position are using money Finger URL expression is unified in source.
3. according to the method described in claim 1, it is characterized in that, the client include it is following any one:
Web client, mobile application client, pc client.
4. according to the method described in claim 3, it is characterized in that, the content-data include it is following any one or more: Web data, the structured content of XML format, Office documents;
The standardization processing that carried out to the content-data includes any one or more following processing:
Standardization processing is carried out to the web data, including:Filter the newline in the web data;By the webpage number Label in is converted to the label that self-defined HTML5 formatters are concentrated;Remove pattern and script;
The structured content of XML format is converted into self-defined HTML5 forms subset;
Office documents are converted into self-defined HTML5 forms subset.
5. a kind of composing device, which is characterized in that including:
Receiving module, for receiving the typesetting request of client transmission, typesetting request include cloud content Data Position, Template position and configuration information;
High in the clouds source obtaining module, for obtaining content from high in the clouds according to the cloud content Data Position and template data position Data and template;
Resource standardization unit, for carrying out standardization processing to the content-data;
Template applies mechanically unit, is applied mechanically for carrying out template to the content-data after standardization processing, forms preliminary typesetting result;
Parametric adjustment authentication unit is tested for being laid out result to the preliminary typesetting result according to the configuration information Card, file structure verification and pattern adjustment;
Storage and previewing module, the typesetting result for the parametric adjustment authentication unit to be exported are stored in high in the clouds storage address And supply user's preview back to client.
6. device according to claim 5, which is characterized in that described device further includes:
Packetization module, the typesetting result for being exported to the parametric adjustment authentication unit carry out binary system packing processing;
The storage is stored in high in the clouds storage address with the data packet that previewing module exports the packetization module.
7. a kind of composing system, which is characterized in that including:Client and server;
The client, for sending typesetting request to the server, the typesetting request includes cloud content data bit It puts, template position and configuration information;
The server, for according to the cloud content Data Position and template data position from high in the clouds obtain content-data and Template, and standardization processing is carried out to the content-data, carrying out template to the content-data after standardization processing applies mechanically, and is formed Preliminary typesetting as a result, the preliminary typesetting result is laid out according to the configuration information result verification, file structure verification, And pattern adjustment, typesetting result is stored in high in the clouds storage address and supplies user's preview back to client.
8. system according to claim 7, which is characterized in that the client include it is following any one:
Web client, mobile application 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 CN104424172A (en) 2015-03-18
CN104424172B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109670160B (en) * 2017-10-13 2021-04-09 北大方正集团有限公司 Typesetting processing method and device for files
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
CN109726382B (en) * 2018-11-12 2023-08-22 方正璞华软件(武汉)股份有限公司 Typesetting method and device
CN111079373B (en) * 2019-12-06 2021-12-03 北大方正集团有限公司 Method and device for setting custom font of customized file and readable storage medium

Citations (3)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201009609A (en) * 2008-08-21 2010-03-01 Acer Inc Method of typesetting webpage contents, system and data server thereof

Patent Citations (3)

* 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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
An empirical investigation of metaheuristics and heuristic algorithms or 2D packing problem;Hopper E等;《European Journal of Operational Research》;20001231;第128卷(第1期);第34-57页 *
自动布局问题的进化计算算法;侯广坤等;《中山大学学报( 自然科学版)》;20011231;第40卷(第2期);第6-9页 *

Also Published As

Publication number Publication date
CN104424172A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN104424172B (en) A kind of composition method, apparatus and system
CN107450869B (en) Online printing system and method for PDF electronic invoice format file
CN107025581A (en) A kind of method and system issued invoice automatically
US20220005127A1 (en) System and method for detecting and mapping data fields for forms in a financial management system
CN105827733B (en) A kind of method, apparatus and electronic equipment of propelling data
CN103731489B (en) A kind of date storage method, system and equipment
US20120293826A1 (en) Systems and methods for providing multiple images
CN102694861A (en) Cloud technology based method, cloud technology based device and cloud technology based system for classification of terminal application software
CN104778178B (en) A kind of application class method, apparatus and service server
CN104378435A (en) Method for transmitting file between browser of computing device and mobile terminal
CN104766189A (en) Logistics information processing system and method
CN108269062A (en) Electronic contract production method, device, equipment and medium based on H5
CN104376090A (en) Screen synchronization equipment of browser in computing equipment and mobile terminal
CN103051652A (en) Mobile terminal cloud commuting delivery platform
CN109446442A (en) Method and apparatus for handling information
CN104394208A (en) File transmission method and server
CN109413056A (en) Method and apparatus for handling information
CN107547352A (en) Document sending method, apparatus and system
CN105069009A (en) Folder uploading/downloading method and device
CN111182053A (en) Method and device for downloading file, computer storage medium and terminal
CN109918605A (en) A method of the generation dynamic picture based on content distributing network
CN105099784A (en) Tab setting method, tab setting device and tab setting system
CN111478951B (en) File issuing method and device
CN111353031A (en) Thesis management method, server and system based on big data
CN104182227B (en) A kind of method and system for generating template preview graph

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