[go: up one dir, main page]

CN103558989B - A kind of method of content typesetting and mobile terminal - Google Patents

A kind of method of content typesetting and mobile terminal Download PDF

Info

Publication number
CN103558989B
CN103558989B CN201310578223.1A CN201310578223A CN103558989B CN 103558989 B CN103558989 B CN 103558989B CN 201310578223 A CN201310578223 A CN 201310578223A CN 103558989 B CN103558989 B CN 103558989B
Authority
CN
China
Prior art keywords
touch screen
content
trace information
typesetting
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310578223.1A
Other languages
Chinese (zh)
Other versions
CN103558989A (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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201310578223.1A priority Critical patent/CN103558989B/en
Publication of CN103558989A publication Critical patent/CN103558989A/en
Priority to PCT/CN2014/091270 priority patent/WO2015070812A1/en
Application granted granted Critical
Publication of CN103558989B publication Critical patent/CN103558989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a kind of method of content typesetting, described method comprises: receive the touch screen trace information that user inputs in screen, described touch screen trace information comprises at least one touch screen track; According to described at least one touch screen track receiving, determine content typesetting region; According to the described touch screen trace information receiving, object content is write to described content typesetting region. The embodiment of the invention also discloses a kind of mobile terminal. Adopt the embodiment of the present invention, can, according to the touch screen trace information receiving, object content be write to definite content typesetting region, so that reduce the difficulty of manually content being carried out to typesetting, increase the interest of content with readable.

Description

A kind of method of content typesetting and mobile terminal
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of method and mobile terminal of content typesetting.
Background technology
Content typesetting can comprise the typesetting of word, also can comprise the typesetting of picture, and word and picture isThe complementary media of communication that user is main. User can be according to order from left to right, in certain spaceObject content is carried out to typesetting, so that complete the object of transmission of information; Or user can be according to specificPosition and order, by manual mode, object content is carried out to typesetting one by one. Existing content typesettingMode great majority are all fixed, and distributing order is comparatively single, and by the increase of arranging of manual modeThe difficulty of typesetting.
Summary of the invention
The embodiment of the present invention provides a kind of method and mobile terminal of content typesetting, can be according to touching of receivingScreen trace information, writes definite content typesetting region by object content, so that reduce manually content to be enteredThe difficulty of row typesetting, increases the interest of content with readable.
The embodiment of the present invention provides a kind of method of content typesetting, comprising:
Receive the touch screen trace information that user inputs in screen, described touch screen trace information comprises at least oneTouch screen track;
According to described at least one touch screen track receiving, determine content typesetting region;
According to the described touch screen trace information receiving, object content is write to described content typesetting region.
Correspondingly, the embodiment of the present invention also provides a kind of mobile terminal, comprising:
Trace information receiver module, the touch screen trace information of inputting at screen for receiving user, described touchingScreen trace information comprises at least one touch screen track;
One layout region determination module, touches at least one receiving according to described trace information receiver moduleScreen track, determines content typesetting region;
Object content writing module, for the touch screen track letter receiving according to described trace information receiver moduleBreath, writes the definite content typesetting region of described one layout region determination module by object content.
Implement the embodiment of the present invention, can, according to the touch screen trace information receiving, object content be write definiteContent typesetting region so that reduce the difficulty of manually content being carried out to typesetting, increase the interest of contentWith readability.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to implementingIn example or description of the Prior Art, the accompanying drawing of required use is briefly described, and apparently, the following describesIn accompanying drawing be some embodiments of the present invention, for those of ordinary skill in the art, do not paying woundUnder the prerequisite of the property made work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of content typesetting method in the embodiment of the present invention;
Fig. 2 is the flow chart of another kind of content typesetting method in the embodiment of the present invention;
Fig. 3 is the flow chart of another kind of content typesetting method in the embodiment of the present invention;
Fig. 4 is the structure chart of a kind of mobile terminal in the embodiment of the present invention;
Fig. 5 is a kind of structure chart of the object content writing module of Fig. 4 in the embodiment of the present invention;
Fig. 6 is a kind of structure chart of the one layout region determination module of Fig. 4 in the embodiment of the present invention;
Fig. 7 is the another kind of structure chart of the object content writing module of Fig. 4 in the embodiment of the present invention;
Fig. 8 is the another kind of structure chart of the object content writing module of Fig. 4 in the embodiment of the present invention;
Fig. 9 is the schematic diagram of touch screen track in the embodiment of the present invention;
Figure 10 is the stretched schematic diagram of target text in the embodiment of the present invention;
Figure 11 is the schematic diagram that the embodiment of the present invention comprises the content typesetting region of object content.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearlyChu, intactly description, obviously, described embodiment is the present invention's part embodiment, instead of allEmbodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative laborThe every other embodiment obtaining under moving prerequisite, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method and mobile terminal of content typesetting, can be according to touching of receivingScreen trace information, writes definite content typesetting region by object content, so that reduce manually content to be enteredThe difficulty of row typesetting, increases the interest of content with readable. Below be elaborated respectively.
Fig. 1 is the flow chart of a kind of content typesetting method in the embodiment of the present invention, and the embodiment of the present invention has realizedObject content is carried out to the scheme of Automatic Typesetting according to specifically putting in order. Described in of the present invention as shown in the figureMethod at least comprises:
Step S101, receives the touch screen trace information that user inputs in screen, described touch screen trace information bagDraw together at least one touch screen track.
Before the touch screen trace information that reception user inputs in screen, obtain object content, this object contentCan be word or the picture that user inputs, can be also note or the mail etc. forwarding. Wherein in this targetAppearance can comprise one or more in target text and Target Photo, and touch screen trace information can comprise at leastA touch screen track, described touch screen track can be straight path, curvilinear path or dog-leg path.
As the optional embodiment of one, this touch screen trace information can also comprise corresponding suitable of touch screen trackOrder information, wherein order information can be the information of the multiple touch screen track orders of the identification such as time marking or numbering.
As the optional embodiment of one, before the touch screen trace information that reception user inputs in screen,The matrix parameter that can set according to user is determined the content typesetting square being made up of multiple subregions in screenThe system of battle formations, wherein this subregion can be the regions such as square, rectangle, regular hexagon.
Step S102, according to described at least one touch screen track receiving, determines content typesetting region.
According at least one the touch screen track receiving, determine content typesetting region, so that according to touch screen railMark information, writes this content typesetting region by object content.
As the optional embodiment of one, in screen, determine the content typesetting square being formed by multiple subregionsAfter the system of battle formations, can be according to the touch screen trace information receiving, determine the content row that touch screen trace information is correspondingSubregion in version matrix diagram, and by the subregion in content typesetting matrix diagram corresponding this touch screen trace informationIn at least one subregion be defined as content typesetting region.
In specific implementation, in the time that the touch screen track receiving cannot correctly be determined content typesetting region, can be byThis touch screen track abandons, and does not carry out determining of content typesetting region. For example, this object content is Target Photo,And touch screen track is straight line or not when closed curve, cannot determine the particular location in content typesetting region,This touch screen track can be abandoned.
Touch screen track can as shown in Figure 9, have been determined the content being made up of multiple identical square in screenTypesetting matrix diagram, and touch screen track is during through the frame of the subregion in content typesetting matrix diagram, Wu FazhengReally identification content typesetting region, can abandon this touch screen track; If this object content is Target Photo, touchThe subregion that comprises of screen track is L-type, when quadrangle that cannot formation rule, can not determine content typesettingThe particular location in region, can abandon this touch screen track; If this object content is target text, touch screen railMark pass through respectively subregion 1., subregion 2., subregion 3., subregion 4., subregion 5., subregion 6.And subregion is 7., wherein touch screen track pass through simultaneously subregion 2. with subregion 3., in target textWord write subregion 1. after, cannot judge that second word in target text is to write subregion 2.,Still write subregion 3., also cannot be by second word in target text according to comprising subregion 2. and sonContent typesetting region 3., region stretches, and this touch screen track can be abandoned.
Step S103, according to the described touch screen trace information receiving, writes described content row by object contentVersion region.
In specific implementation, while receiving a touch screen track, directly object content is write to definite content rowVersion region; While receiving multiple touch screen track, can determine the order information that touch screen track is corresponding, according to reallyFixed order information corresponding to touch screen track, writes definite content typesetting region by object content.
As the optional embodiment of one, when this object content is target text, can further judges and connectWhether the touch screen track in the touch screen trace information of receiving passes through multiple subregions in vertical direction.
When the touch screen track in the touch screen trace information receiving is during in vertical direction through a sub regions,The order information corresponding according to touch screen track, writes definite content typesetting region by object content.
In the time that the touch screen track in the touch screen trace information receiving passes through multiple subregion in vertical direction,According to the multiple subregions of process in vertical direction of the touch screen track in touch screen trace information, by target literary compositionWord stretches, and the target text after stretching is write to content typesetting region.
In content typesetting matrix diagram, stretched target text can be as shown in figure 10, if the touch screen receivingTouch screen track along continuous straight runs in trace information slides, and wherein touch screen track is in vertical direction through twoSubregion, in the horizontal direction of the sub regions of touch screen track in described two sub regions through six sonsRegion, the touch screen trace information of inputting in screen according to the user who receives, definite content typesetting districtTerritory is 2 × 6 matrix, target text is carried out to longitudinal stretching, makes each the target text energy after stretchingEnough fill up two sub regions, and the target text after stretching is write to the content typesetting region of matrix 2 × 6. IfTouch screen track in the touch screen trace information receiving slides along plumb line direction, and wherein touch screen track is verticallyIn direction through two sub regions, the plumb line of the sub regions of touch screen track in described two sub regionsIn direction through six sub regions, the touch screen trace information of inputting in screen according to the user that receives,Definite content typesetting region is 6 × 2 matrix, target text is carried out to cross directional stretch, makes after stretchingEach target text can be filled up two sub regions, and the target text after stretching is write to matrix 6 × 2Content typesetting region.
As the optional embodiment of one, when this object content is Target Photo, according to definite content rowVersion region, regulates the size of Target Photo, and the Target Photo after regulating is write to content typesetting region.
The content typesetting region that comprises object content can be as shown in figure 11, and by target text, " a kind of content is arrangedMethod and the mobile terminal of version " write one by one content typesetting region, when content typesetting region writes target textAfter " a kind of content typesetting ", do not have unnecessary content typesetting region can write target text, will remainRemaining target text " method and mobile terminal " abandons; When target text " a kind of method of content typesetting andMobile terminal " all write behind content typesetting region, content typesetting region is not filled up completely, will not haveThere is the content typesetting region of filling target text to abandon. If Target Photo comprises a picture, and content rowWhen version region comprises two touch screen tracks, the order information corresponding according to touch screen track, adjusts Target PhotoSave into the size in the content typesetting region definite according to first touch screen track, and by the Target Photo after regulatingWrite the content typesetting region definite according to first touch screen track, by what determine according to second touch screen trackContent typesetting region abandons.
As the optional embodiment of one, object content is write behind content typesetting region, can be according to useInstruction is confirmed in the typesetting of family input, confirms the typesetting of object content. If this object content is note, Ke YijinOne step judges whether the content after typesetting comprises picture, if the content after typesetting comprises picture, by after typesettingContent send by the mode of multimedia message; If the content after typesetting does not comprise picture, by the content after typesettingMode by normal short message sends.
In the described content typesetting method of Fig. 1, receive the touch screen trace information that user inputs in screen;According to this touch screen trace information, determine content typesetting region; And according to this touch screen trace information, in targetHold and write content typesetting region. The embodiment of the present invention can be according to the touch screen trace information receiving, in targetHold and write definite content typesetting region, so that reduce the difficulty of manually content being carried out to typesetting, in increaseThe interest of holding is with readable.
Fig. 2 is the flow chart of another kind of content typesetting method in the embodiment of the present invention, wherein this content typesetting sideObject content in method is target text, and described method can comprise the following steps:
Step S201, obtains object content.
Obtain the object content for typesetting, this object content can be word or the picture that user inputs, alsoCan be note or the mail etc. forwarding.
Step S202 determines the content typesetting matrix diagram being made up of multiple subregions in screen.
The matrix parameter of setting according to user is determined the content typesetting square being made up of multiple subregions in screenThe system of battle formations, wherein this subregion can be the regions such as square, rectangle, regular hexagon.
Step S203, receives the touch screen trace information that user inputs in content typesetting matrix diagram.
After determining content typesetting matrix diagram, receive the touch screen track that user inputs in content typesetting matrix diagramInformation, wherein this touch screen trace information can comprise at least one touch screen track and corresponding order information thereof,Described touch screen track can be straight path, curvilinear path or dog-leg path, when described order information can beBetween the information of mark or the multiple touch screen tracks orders of the identification such as numbering.
Step S204, according to touch screen trace information, determines content typesetting region.
According at least one the touch screen track in touch screen trace information, at least one by content typesetting matrix diagramSub regions is defined as content typesetting region.
As the optional embodiment of one, in screen, determine the content typesetting square being formed by multiple subregionsAfter the system of battle formations, can be according to the touch screen trace information receiving, determine the content row that touch screen trace information is correspondingSubregion in version matrix diagram, and by the subregion in content typesetting matrix diagram corresponding this touch screen trace informationIn at least one subregion be defined as content typesetting region.
In specific implementation, in the time that the touch screen track receiving cannot correctly be determined content typesetting region, can be byThis touch screen track abandons, and does not carry out determining of content typesetting region.
Touch screen track can as shown in Figure 9, have been determined the content being made up of multiple identical square in screenTypesetting matrix diagram, and touch screen track is during through the frame of the subregion in content typesetting matrix diagram, Wu FazhengReally identification content typesetting region, can abandon this touch screen track; If touch screen track pass through respectively subregion 1.,Subregion 2., subregion 3., subregion 4., subregion 5., subregion 6. and subregion 7., wherein touchScreen track pass through simultaneously subregion 2. with subregion 3., 1. first word in target text writes subregionAfter, cannot judge that second word in target text is to write subregion 2., still write subregion 3.,Also cannot by second word in target text according to comprise subregion 2. with subregion content typesetting district 3.Territory stretches, and this touch screen track can be abandoned.
Step S205, writes content typesetting region by target text.
When this object content is target text, can determine the order information that touch screen track is corresponding, according to determiningTouch screen trace information in order information corresponding to touch screen track, target text is write to content typesetting region.
As the optional embodiment of one, before target text is write to content typesetting region, can enter oneWhether the touch screen track in the touch screen trace information that step judgement receives passes through multiple subareas in vertical directionTerritory.
If the touch screen track in the touch screen trace information receiving is in vertical direction through a sub regions,According to order information corresponding to touch screen track in touch screen trace information, object content is write to definite contentOne layout region.
If the touch screen track in the touch screen trace information receiving passes through multiple subregions in vertical direction,According to the multiple subregions of process in vertical direction of the touch screen track in touch screen trace information, by target textStretch, and the target text after stretching is write to content typesetting region.
In content typesetting matrix diagram, stretched target text can be as shown in figure 10, if the touch screen receivingTouch screen track along continuous straight runs in trace information slides, and wherein touch screen track is in vertical direction through twoSubregion, in the horizontal direction of the sub regions of touch screen track in described two sub regions through six sonsRegion, the touch screen trace information of inputting in screen according to the user who receives, definite content typesetting districtTerritory is 2 × 6 matrix, target text is carried out to longitudinal stretching, makes each the target text energy after stretchingEnough fill up two sub regions, and the target text after stretching is write to the content typesetting region of matrix 2 × 6. IfTouch screen track in the touch screen trace information receiving slides along plumb line direction, and wherein touch screen track is verticallyIn direction through two sub regions, the plumb line of the sub regions of touch screen track in described two sub regionsThrough six sub regions, according to receiving the touch screen trace information that user inputs in screen, true in directionFixed content typesetting region is 6 × 2 matrix, target text is carried out to cross directional stretch, makes every after stretchingA target text can be filled up two sub regions, and by stretch after target text write matrix 6 × 2 inHold one layout region.
Target text is write to content typesetting region one by one, when content typesetting region is filled up by target text, andAnd when target text does not all write content typesetting region, remaining target text is abandoned; When allTarget text has all write content typesetting region, and content typesetting region is not while being filled up completely, willThe content typesetting region of not filling target text abandons.
As the optional embodiment of one, target text is write behind content typesetting region, can be according to useInstruction is confirmed in the typesetting of family input, confirms the typesetting of target text. If this target text is note, Ke YijinOne step judges whether the content after typesetting comprises picture, if the content after typesetting comprises picture, by after typesettingContent send by the mode of multimedia message; If the content after typesetting does not comprise picture, by the content after typesettingMode by normal short message sends.
In the described content typesetting method of Fig. 2, the matrix parameter of setting according to user, true in screenThe fixed content typesetting matrix diagram being formed by multiple subregions; Reception user inputs in content typesetting matrix diagramTouch screen trace information; According to this touch screen trace information, determine content typesetting region; And according to this touch screen trackInformation, writes content typesetting region by target text. The embodiment of the present invention can be according to the touch screen track receivingInformation, writes definite content typesetting region by target text, manually target text is carried out so that reduceThe difficulty of typesetting, increases the interest of content with readable.
Fig. 3 is the flow chart of another kind of content typesetting method in the embodiment of the present invention, wherein this content typesetting sideObject content in method is Target Photo, and described method can comprise the following steps:
Step S301, obtains object content.
Obtain the object content for typesetting, this object content can be word or the picture that user inputs, alsoCan be note or the mail etc. forwarding.
Step S302 determines the content typesetting matrix diagram being made up of multiple subregions in screen.
The matrix parameter of setting according to user is determined the content typesetting square being made up of multiple subregions in screenThe system of battle formations, wherein this subregion can be the regions such as square, rectangle, regular hexagon.
Step S303, receives the touch screen trace information that user inputs in content typesetting matrix diagram.
After determining content typesetting matrix diagram, receive the touch screen track that user inputs in content typesetting matrix diagramInformation, wherein this touch screen trace information can comprise at least one touch screen track and corresponding order information thereof,Described touch screen track can be straight path, curvilinear path or dog-leg path, when described order information can beBetween the information of mark or the multiple touch screen tracks orders of the identification such as numbering.
Step S304, according to touch screen trace information, determines content typesetting region.
According at least one the touch screen track in touch screen trace information, at least one by content typesetting matrix diagramSub regions is defined as content typesetting region.
As the optional embodiment of one, in screen, determine the content typesetting square being formed by multiple subregionsAfter the system of battle formations, can be according to the touch screen trace information receiving, determine the content row that touch screen trace information is correspondingSubregion in version matrix diagram, and by the subregion in content typesetting matrix diagram corresponding this touch screen trace informationIn at least one subregion be defined as content typesetting region.
In specific implementation, in the time that the touch screen track receiving cannot correctly be determined content typesetting region, can be byThis touch screen track abandons, and does not carry out determining of content typesetting region. For example, touch screen track is straight line or does not closeWhile closing curve, cannot determine the particular location in content typesetting region, this touch screen track can be abandoned; At screenIn curtain, determined the content typesetting matrix diagram being formed by multiple identical subregions, and touch screen track is through contentWhen the frame of the subregion in typesetting matrix diagram, cannot correctly identify content typesetting region, can be by this touch screenTrack abandons; In screen, determine the content typesetting matrix diagram being formed by multiple identical subregions, and touchedThe subregion of screen track process cannot formation rule quadrangle time, can not determine the tool in content typesetting regionBody position, can abandon this touch screen track.
Step S305, according to content typesetting region, regulates the size of Target Photo.
According to definite content typesetting region, regulate the size of Target Photo.
Step S306, writes content typesetting region by the Target Photo after regulating.
Determine the order information that touch screen track is corresponding, according to the touch screen track pair in definite touch screen trace informationThe order information of answering, writes content typesetting region by the Target Photo after regulating.
Target Photo is write to content typesetting region one by one, when content typesetting region is filled up by Target Photo, andAnd when Target Photo does not all write content typesetting region, remaining Target Photo is abandoned; When allTarget Photo has all write content typesetting region, and content typesetting region is not while being filled up completely, willThe content typesetting region of not filling Target Photo abandons.
As the optional embodiment of one, Target Photo is write behind content typesetting region, can be according to useInstruction is confirmed in the typesetting of family input, confirms the typesetting of Target Photo. If this Target Photo is note, will arrangeContent after version sends by the mode of multimedia message.
In the described content typesetting method of Fig. 3, the matrix parameter of setting according to user, true in screenThe fixed content typesetting matrix diagram being formed by multiple subregions; Reception user inputs in content typesetting matrix diagramTouch screen trace information; According to this touch screen trace information, determine content typesetting region; And according to this touch screen trackInformation, writes content typesetting region by Target Photo. The embodiment of the present invention can be according to the touch screen track receivingInformation, writes definite content typesetting region by Target Photo, manually Target Photo is carried out so that reduceThe difficulty of typesetting, increases the interest of content with readable.
The embodiment of the present invention can, simultaneously in conjunction with Fig. 2 and Fig. 3, realize content typesetting region and comprise target textTypesetting with Target Photo.
Fig. 4 is the structure chart of a kind of mobile terminal in the embodiment of the present invention, and this mobile terminal can comprise intelligenceMobile phone, the equipment such as palm PC, the mobile terminal in the embodiment of the present invention at least can comprise rail as shown in the figureMark information receiving module 401, one layout region determination module 402 and object content writing module 403, wherein
Trace information receiver module 401, the touch screen trace information of inputting at screen for receiving user, described inTouch screen trace information comprises at least one touch screen track, and wherein said touch screen track can be straight path, songLine tracking or dog-leg path. Trace information receiver module 401 receives the touch screen track that user inputs in screenBefore information, can obtain object content, wherein this object content can be word or the picture that user inputs,Also can be note or the mail etc. forwarding;
As the optional embodiment of one, the touch screen trace information that trace information receiver module 401 receivesCan also comprise the order information that touch screen track is corresponding, wherein order information can be time marking or numbering etc.Identify the information of multiple touch screen track orders.
One layout region determination module 402, at least one for receiving according to trace information receiver module 401Touch screen track, determines content typesetting region;
When the touch screen track receiving when trace information receiver module 401 cannot correctly be determined content typesetting region,One layout region determination module 402 can abandon this touch screen track, does not carry out determining of content typesetting region. ExampleAs, this object content is Target Photo, and the touch screen track that trace information receiver module 401 receives isWhen straight line or not closed curve, cannot determine the particular location in content typesetting region, one layout region determination module402 can abandon this touch screen track.
Object content writing module 403, for the touch screen track receiving according to trace information receiver module 401Information, writes the definite content typesetting region of one layout region determination module 402 by object content.
As the optional embodiment of one, the object content writing module 403 in the embodiment of the present invention canAs shown in Figure 5, further comprise:
Order information determining unit 501, for the touch screen track of determining that trace information receiver module 401 receivesCorresponding order information.
Object content writing unit 502, for the touch screen track pair definite according to order information determining unit 501The order information of answering, writes described content typesetting region by described object content.
As the optional embodiment of one, the mobile terminal in the embodiment of the present invention can also comprise:
Matrix diagram determination module 404, for according to user set matrix parameter, in described screen determine byThe content typesetting matrix diagram of multiple identical subregion compositions, and trigger 401 receptions of trace information receiver module and useThe touch screen trace information that family is inputted in the content typesetting matrix diagram of described screen. Wherein this subregion can beThe regions such as square, rectangle, regular hexagon.
As the optional embodiment of one, the one layout region determination module 402 in the embodiment of the present invention canAs shown in Figure 6, further comprise:
Subregion determining unit 601, for the touch screen track letter receiving according to trace information receiver module 401Breath, determines the subregion in the described content typesetting matrix diagram that described touch screen trace information is corresponding;
One layout region determining unit 602, for by touch screen trace information pair definite subregion determining unit 601In subregion in the described content typesetting matrix diagram of answering, at least one subregion is defined as content typesetting region.
As the optional embodiment of one, the object content in the embodiment of the present invention can comprise target textOne or more with in Target Photo, wherein
When object content comprises target text, the object content writing module 403 in the embodiment of the present invention canAs shown in Figure 7, further comprise:
Subregion determining unit 701, for the touch screen track letter of determining that trace information receiver module 401 receivesTouch screen track in breath passes through multiple subregions in vertical direction.
Target text draw unit 702, determines trace information receiver module for subregion determining unit 701When touch screen track in the 401 touch screen trace informations that receive passes through multiple subregion in vertical direction, according toTouch screen track in the touch screen trace information that trace information receiver module 401 receives passes through in vertical directionMultiple subregions, target text is stretched.
Target text writing unit 703, writes for the target text after target text draw unit 702 is stretchedEnter the definite content typesetting region of one layout region determination module 402;
Target text is write one by one content typesetting region by target text writing unit 703, when content typesetting districtTerritory is filled up by target text, and target text is not while all writing content typesetting region, by remainingTarget text abandons; When target complete word has all write content typesetting region, and content typesetting region does not haveHave while being filled up completely, the content typesetting region of not filling target text is abandoned.
When object content comprises Target Photo, the object content writing module 403 in the embodiment of the present invention canAs shown in Figure 8, further comprise:
Picture regulon 801, for the content typesetting region definite according to one layout region determination module 402,Regulate the size of described Target Photo.
Target Photo writing unit 802, writes institute for the Target Photo after picture regulon 801 is regulatedState the definite content typesetting region of one layout region determination module 402;
Target Photo is write one by one content typesetting region by Target Photo writing unit 802, when content typesetting districtTerritory is filled up by Target Photo, and Target Photo is not while all writing content typesetting region, by remainingTarget Photo abandons; When target complete picture has all write content typesetting region, and content typesetting region does not haveHave while being filled up completely, the content typesetting region of not filling Target Photo is abandoned.
In the described mobile terminal of Fig. 4, Fig. 5, Fig. 6, Fig. 7 and Fig. 8, matrix diagram determination module404 matrix parameter of setting according to user are determined the content typesetting being made up of multiple identical subregions in screenMatrix diagram; Trace information receiver module 401 receives user the definite content row of matrix diagram determination module 404The touch screen trace information of inputting in version matrix diagram; One layout region determination module 402 receives mould according to trace informationThe touch screen trace information that piece 401 receives, determines content typesetting region; 403 of object content writing modulesThe touch screen trace information receiving according to trace information receiver module 401, writes content typesetting district by object contentTerritory. The embodiment of the present invention can, according to the touch screen trace information receiving, write definite content by object contentOne layout region, so that reduce the difficulty of manually content being carried out to typesetting, the interest of increase content and readableProperty.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,Be can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in computerIn read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory,Or random store-memory body (RandomAccessMemory, RAM) etc. ROM).
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Module in embodiment of the present invention device or unit can merge according to actual needs, divide and deleteSubtract.
Module described in the embodiment of the present invention or unit, can pass through universal integrated circuit, for example CPU(CentralProcessingUnit, central processing unit), or pass through ASIC(ApplicationSpecificIntegratedCircuit, special IC) realize.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, certainIn embodiment, there is no the part of describing in detail, can be referring to the associated description of other embodiment. Secondly, abilityField technique personnel also should know, the embodiment described in description all belongs to preferred embodiment, relatedAction and module might not be that the present invention is necessary.
The method of the content typesetting above embodiment of the present invention being provided and mobile terminal have carried out detailed JieContinue, applied specific case herein principle of the present invention and embodiment are set forth, above enforcementThe explanation of example is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for this areaThose skilled in the art, according to thought of the present invention, all can change in specific embodiments and applicationsPart, in sum, this description should not be construed as limitation of the present invention.

Claims (6)

1. a method for content typesetting, is characterized in that, described method comprises:
Receive the touch screen trace information that user inputs in screen, described touch screen trace information comprises at least oneTouch screen track;
According to described at least one touch screen track receiving, determine content typesetting region;
According to the described touch screen trace information receiving, object content is write to described content typesetting region, instituteState object content and comprise target text;
Before the touch screen trace information that described reception user inputs in screen, also comprise:
The matrix parameter of setting according to user, in described screen, definite content being made up of multiple subregions is arrangedVersion matrix diagram;
The touch screen trace information receiving described in described basis, determine that content typesetting region comprises:
According to the described touch screen trace information receiving, determine the described content that described touch screen trace information is correspondingSubregion in typesetting matrix diagram;
By at least one height in the subregion in described content typesetting matrix diagram corresponding described touch screen trace informationRegion is defined as content typesetting region;
The touch screen trace information receiving described in described basis, writes described content typesetting region by object contentComprise:
Touch screen track in the touch screen trace information receiving described in determining passes through multiple subareas in vertical directionTerritory;
According to the multiple subregions of process in vertical direction of the touch screen track in described touch screen trace information, willTarget text stretches;
Target text after described stretching is write to described content typesetting region.
2. the method for claim 1, is characterized in that, described in described touch screen trace information also comprisesThe order information that touch screen track is corresponding;
The touch screen trace information receiving described in described basis, writes described content typesetting region by object contentComprise:
Determine order information corresponding to described touch screen track;
According to described definite order information corresponding to touch screen track, described object content is write to described contentOne layout region.
3. the method for claim 1, is characterized in that, described object content also comprises Target Photo;
The touch screen trace information receiving described in described basis, writes described content typesetting region by object content,Also comprise:
According to described content typesetting region, regulate the size of described Target Photo;
Target Photo after described adjusting is write to described content typesetting region.
4. a mobile terminal, is characterized in that, described terminal comprises:
Trace information receiver module, the touch screen trace information of inputting at screen for receiving user, described touchingScreen trace information comprises at least one touch screen track;
One layout region determination module, touches at least one receiving according to described trace information receiver moduleScreen track, determines content typesetting region;
Object content writing module, for the touch screen track letter receiving according to described trace information receiver moduleBreath, writes the definite content typesetting region of described one layout region determination module by object content, in described targetHold and comprise target text;
Described terminal also comprises:
Matrix diagram determination module for the matrix parameter of setting according to user, is determined by many in described screenThe content typesetting matrix diagram of individual identical subregion composition, and trigger described trace information receiver module reception userThe touch screen trace information of inputting in the content typesetting matrix diagram of described screen;
Described one layout region determination module comprises:
Subregion determining unit, for the touch screen trace information receiving according to described trace information receiver module,Determine the subregion in the described content typesetting matrix diagram that described touch screen trace information is corresponding;
One layout region determining unit, for by touch screen trace information correspondence definite described subregion determining unitDescribed content typesetting matrix diagram in subregion at least one subregion be defined as content typesetting region;
Described object content writing module comprises:
Subregion determining unit, for the touch screen trace information of determining that described trace information receiver module receivesIn touch screen track pass through in vertical direction multiple subregions;
Target text draw unit, determines described trace information receiver module for described subregion determining unitWhen touch screen track in the touch screen trace information receiving passes through multiple subregion in vertical direction, according to instituteState touch screen track in the touch screen trace information that trace information receiver module receives process in vertical directionMultiple subregions, stretch target text;
Target text writing unit, writes for the target text after described target text draw unit is stretchedThe content typesetting region that described one layout region determination module is definite.
5. mobile terminal as claimed in claim 4, is characterized in that, described touch screen trace information also comprisesOrder information corresponding to described touch screen track;
Described object content writing module comprises:
Order information determining unit, for the touch screen track pair of determining that described trace information receiver module receivesThe order information of answering;
Object content writing unit, for the touch screen track correspondence definite according to described order information determining unitOrder information, described object content is write to described content typesetting region.
6. mobile terminal as claimed in claim 4, is characterized in that, described object content also comprises targetPicture;
Described object content writing module also comprises:
Picture regulon, for the content typesetting region definite according to described one layout region determination module, adjustsSave the size of described Target Photo;
Target Photo writing unit, described in writing for the Target Photo after described picture regulon is regulatedThe content typesetting region that one layout region determination module is definite.
CN201310578223.1A 2013-11-18 2013-11-18 A kind of method of content typesetting and mobile terminal Active CN103558989B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310578223.1A CN103558989B (en) 2013-11-18 2013-11-18 A kind of method of content typesetting and mobile terminal
PCT/CN2014/091270 WO2015070812A1 (en) 2013-11-18 2014-11-17 Content typesetting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310578223.1A CN103558989B (en) 2013-11-18 2013-11-18 A kind of method of content typesetting and mobile terminal

Publications (2)

Publication Number Publication Date
CN103558989A CN103558989A (en) 2014-02-05
CN103558989B true CN103558989B (en) 2016-05-25

Family

ID=50013252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310578223.1A Active CN103558989B (en) 2013-11-18 2013-11-18 A kind of method of content typesetting and mobile terminal

Country Status (2)

Country Link
CN (1) CN103558989B (en)
WO (1) WO2015070812A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558989B (en) * 2013-11-18 2016-05-25 深圳市金立通信设备有限公司 A kind of method of content typesetting and mobile terminal
CN103838708B (en) * 2014-03-05 2017-02-08 天闻数媒科技(北京)有限公司 Electronic typesetting method and electronic typesetting device
CN105335106A (en) * 2014-07-16 2016-02-17 致伸科技股份有限公司 Segmentation printing method of touch electronic device
CN106155371B (en) * 2015-03-25 2019-10-29 联想(北京)有限公司 Information processing method, device and electronic equipment
CN105184838A (en) * 2015-09-21 2015-12-23 深圳市金立通信设备有限公司 Picture processing method and terminal
CN113468449A (en) * 2020-03-31 2021-10-01 阿里巴巴集团控股有限公司 Terminal interaction method, page presentation method and implementation device thereof
CN112489166B (en) * 2020-11-17 2024-08-09 娄底景明新材料有限公司 Automatic typesetting and drawing method and system for laser cutting of automobile plate
CN119598968A (en) * 2023-09-08 2025-03-11 北京字跳网络技术有限公司 Text processing method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102203715A (en) * 2011-05-23 2011-09-28 华为终端有限公司 An input method, an input device and a terminal device
CN102209172A (en) * 2010-03-31 2011-10-05 夏普株式会社 Image display device, image forming device, and image display method
CN102663034A (en) * 2012-03-23 2012-09-12 北京云图微动科技有限公司 File composing device and file composing method
CN102830904A (en) * 2012-06-29 2012-12-19 鸿富锦精密工业(深圳)有限公司 Electronic equipment and picture inserting method of electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2175344B1 (en) * 2008-10-06 2020-02-12 Samsung Electronics Co., Ltd. Method and apparatus for displaying graphical user interface depending on a user's contact pattern
KR101680343B1 (en) * 2009-10-06 2016-12-12 엘지전자 주식회사 Mobile terminal and information prcessing method thereof
KR101980702B1 (en) * 2010-09-15 2019-05-21 엘지전자 주식회사 Mobile terminal and method for controlling thereof
CN103558989B (en) * 2013-11-18 2016-05-25 深圳市金立通信设备有限公司 A kind of method of content typesetting and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209172A (en) * 2010-03-31 2011-10-05 夏普株式会社 Image display device, image forming device, and image display method
CN102203715A (en) * 2011-05-23 2011-09-28 华为终端有限公司 An input method, an input device and a terminal device
CN102663034A (en) * 2012-03-23 2012-09-12 北京云图微动科技有限公司 File composing device and file composing method
CN102830904A (en) * 2012-06-29 2012-12-19 鸿富锦精密工业(深圳)有限公司 Electronic equipment and picture inserting method of electronic equipment

Also Published As

Publication number Publication date
WO2015070812A1 (en) 2015-05-21
CN103558989A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN103558989B (en) A kind of method of content typesetting and mobile terminal
Slinn et al. Traffic engineering design
US20160124638A1 (en) Method for touch input and device therefore
CN104956300A (en) Using clamping to modify scrolling
CN105302464B (en) System and method for scribing flow type document
CN107066174A (en) Floating layer display methods, device and user terminal
CN111401228B (en) Video target labeling method and device and electronic equipment
US20150091809A1 (en) Skeuomorphic ebook and tablet
CN105653071A (en) Information processing method and electronic device
CN108874292A (en) Comment display method and device and intelligent interactive panel
CN105808083B (en) Display method and device
CN110263190A (en) Data processing method, device, equipment and machine readable medium
CN106547900A (en) A kind of map rendering intent and terminal
CN108415974A (en) Message leaving method, message information acquisition method, terminal device and cloud system
CA2743154A1 (en) Method for simulating a page turn in an electronic document
CN104423717A (en) Gesture input method and digital white board
CN104281560A (en) Memory text information display method and device and terminal
CN107229727A (en) One kind comment method and device
US20100020023A1 (en) Method for controlling motion of photo on digital photo frame
CN107464215A (en) A kind of image processing method and terminal based on electronic map
CN105550183A (en) Identifying method of identifying information in webpage and electronic device
CN107331249A (en) Braille reading method and device
CN103853489B (en) Judge the method and device of user operation habits
CN107680184A (en) A kind of campus attendance checking system
CN103279219B (en) A kind of cursor-moving method of touch panel device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180428

Granted publication date: 20160525

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20210428

Granted publication date: 20160525

PD01 Discharge of preservation of patent
TR01 Transfer of patent right

Effective date of registration: 20210609

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right