CN105426103B - Message editing method and apparatus in a kind of mobile device - Google Patents
Message editing method and apparatus in a kind of mobile device Download PDFInfo
- Publication number
- CN105426103B CN105426103B CN201510762463.6A CN201510762463A CN105426103B CN 105426103 B CN105426103 B CN 105426103B CN 201510762463 A CN201510762463 A CN 201510762463A CN 105426103 B CN105426103 B CN 105426103B
- Authority
- CN
- China
- Prior art keywords
- message
- edit box
- picture
- character
- message edit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Embodiments of the present invention provide a kind of message editing method in mobile device.This method includes:Message edit box is shown when receiving message editing instruction;When receiving copy editor's instruction, the text of cursor indicating positions insertion input in message edit box;And when receiving picture inserting instruction, the pictorial information being inserted into is obtained from designated position;According to the pictorial information of acquisition, by the picture compression being inserted into pre-set dimension;By it is compressed be inserted into picture and be inserted into cursor indicating positions in message edit box show.By the way that picture compression is shown compressed picture to pre-set dimension and in message edit box, so that user can send text and picture without sending in two times simultaneously in same message, while simplifying user's transmission Message Opcode, moreover it is possible to show text and picture associated with each other simultaneously in same message.In addition, embodiments of the present invention provide message editing device in a kind of mobile device.
Description
Technical field
Embodiments of the present invention are related to mobile internet technical field, more specifically, embodiments of the present invention are related to
Message editing method and apparatus in a kind of mobile device.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this section.
Network social intercourse platform is exactly to carry out social activity by network, gets to know the people for more having same interest to like, and lead to
This platform is crossed to be the social mode of new era prevalence the most for connecting each other.User network social intercourse platform registration after,
The topic for perhaps delivering topic or being directed to the message of other users publication or delivering that can give out information is replied.
Wherein, the message issued or replied can be both for text, or picture, it can also be for simultaneous with picture and text.
With the development of development of Mobile Internet technology, realize that the function of network social intercourse has graduallyd mature by mobile terminal.
Currently, having already appeared some network social intercourse platform clients realized by mobile terminal, mobile terminal reality is utilized
Existing network social intercourse function allows user to give out information whenever and wherever possible, improves the convenience of news release.
Summary of the invention
But for mobile terminal display screen curtain is smaller and reason that picture is larger, in the prior art, user disappears in editor
When breath, text and picture can not be edited simultaneously in message edit box or only edit text or only editing picture.
Therefore in the prior art, user every time or sends text, when sending message to network social intercourse server
Picture is sent, if the user desired that sending the picture with verbal description, character description information can only be first edited and submit service
After device, then editing picture information is sent to server, on the one hand, user needs to edit related news in two times, and message is caused to be sent out
It is cumbersome to pass through journey, on the other hand, there are the time differences between two message sent due to user, in some scenarios,
For example, same user may be sent in the association messages that different time is sent by other users when giving out information in the group that chats
Message segmentation so that associated picture and text can not be shown in same message, this is very bothersome mistake
Journey.
Thus, it is also very desirable to a kind of improved message editing method, so that user is being sent out using mobile device to server
Send message in message edit box while text and picture can be edited.
In the present context, embodiments of the present invention are intended to provide message editing method and dress in a kind of mobile device
It sets.
In the first aspect of embodiment of the present invention, a kind of message editing method in mobile device is provided, including:
Message edit box is shown when receiving message editing instruction;
When receiving copy editor's instruction, the text of cursor indicating positions insertion input in the message edit box;
And
When receiving picture inserting instruction, the pictorial information being inserted into is obtained from designated position;According to the picture of acquisition
Information, by the picture compression being inserted into pre-set dimension;The compressed picture that is inserted into is inserted into the message edit box
Cursor indicating positions is shown.
In the second aspect of embodiment of the present invention, message editing device in a kind of mobile device is provided, including:
First display unit, for showing message edit box when receiving message editing instruction;
It is inserted into unit, for when receiving copy editor's instruction, cursor indicating positions to be inserted in the message edit box
Enter the text of input;
Acquiring unit, for obtaining the pictorial information being inserted into designated position when receiving picture inserting instruction;
Compression unit, for the pictorial information according to acquisition, by the picture compression being inserted into pre-set dimension;And
Second display unit, for by it is compressed be inserted into picture be inserted into message edit box cursor indicating positions into
Row display.
In the third aspect of embodiment of the present invention, message editing device in a kind of mobile device is provided, for example, can
To include memory and processor, wherein processor can be used for reading the program in memory, execute following process:It is connecing
Message edit box is shown when receiving message editing instruction;When receiving copy editor's instruction, the light in the message edit box
Mark the text of indicating positions insertion input;And when receiving picture inserting instruction, the figure being inserted into is obtained from designated position
Piece information;According to the pictorial information of acquisition, by the picture compression being inserted into pre-set dimension;The compressed picture that is inserted into is inserted
Enter into the message edit box cursor indicating positions to be shown.
In the fourth aspect of embodiment of the present invention, a kind of program product is provided comprising program code, when described
When program product is run, said program code is for executing following procedure:Show that message is compiled when receiving message editing instruction
Collect frame;When receiving copy editor's instruction, the text of cursor indicating positions insertion input in the message edit box;And
When receiving picture inserting instruction, the pictorial information being inserted into is obtained from designated position;It, will be to according to the pictorial information of acquisition
The picture compression of insertion is to pre-set dimension;The compressed picture that is inserted into is inserted into cursor indicating bit in the message edit box
It sets and is shown.
Message editing device in message editing method and mobile device in the mobile device of embodiment according to the present invention,
Text is inserted into message edit box when receiving copy editor's instruction, when receiving picture editor's instruction, by by picture
It is compressed to pre-set dimension and is showing compressed picture in message edit box, so that simultaneously in message edit box
Middle editor's text and picture, in this way, user can send text and picture simultaneously in same message, without sending out in two times
It send, while simplifying user's transmission Message Opcode, moreover it is possible to text and picture associated with each other are shown simultaneously in same message,
Better experience is brought for user.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention
, feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention
Dry embodiment, wherein:
Fig. 1 schematically shows the application scenarios schematic diagram of embodiment according to the present invention;
Fig. 2 schematically shows message editing embodiment of the method processes in the mobile device of embodiment according to the present invention
Figure;
Fig. 3 a schematically shows the message edit box schematic diagram of embodiment according to the present invention;
Fig. 3 b schematically shows the message edit box signal of the input text and picture of embodiment according to the present invention
Figure;
Fig. 4 schematically shows the prompt user residue of another embodiment according to the present invention can input character quantity and
Character quantity upper limit value embodiment flow chart can be inputted;
Fig. 5 schematically shows message editing apparatus structure in mobile device according to yet another embodiment of the invention and illustrates
Figure;
The structure that Fig. 6 schematically shows message editing device in mobile device according to yet another embodiment of the invention is shown
It is intended to;
The program that Fig. 7 schematically shows message editing device in mobile device according to yet another embodiment of the invention produces
Product schematic diagram;
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this
A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any
Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy
It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
Those skilled in the art will understand that embodiments of the present invention can be implemented as a kind of system, device, equipment,
Method or computer program product.Therefore, the present disclosure may be embodied in the following forms, i.e.,:It is complete hardware, complete soft
The form that part (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes a kind of method and apparatus of message editing in mobile device.
Herein, it is to be understood that any number of elements in attached drawing be used to example rather than limit and it is any
Name is only used for distinguishing, without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
The inventors discovered that when user edits message on the mobile apparatus or word message can only be edited or can only
Editing picture message, and word message and image information can not be edited simultaneously in message edit box, if user needs to send
One has the image information of verbal description, then user needs to edit and send respectively in two times, and this aspect causes message
Edit operation is cumbersome, on the other hand, there are the regular hour is poor between two message that user sends, in certain application scenarios
In, for example, in group chat application scenarios, by divided display, this makes and schemes two message that user sends in different time
The corresponding verbal description of piece loses the effect to remark additionally for picture.To solve the above-mentioned problems, the embodiment of the present invention
In, in editor's message process, by being pre-set dimension by picture compression and being shown in message edit box, so that being compiled in message
Text can both be edited by collecting in frame, can also be realized picture and text mixing with editing picture, be simplified message editing operation, moreover it is possible to avoid
Picture and text associated with each other is divided display.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention
Formula.
Application scenarios overview
Referring initially to Fig. 1, user 10 can send message to the server 12 of network side by mobile device 11, wherein
It is communicatively coupled between mobile device 11 and server 12 by network, which can be WLAN, Cellular Networks etc..
Mobile device 11 can be portable equipment, such as:Mobile phone, plate, laptop etc., server 12 can turn to be any
The server apparatus for the message that hair processing user sends, for example, server 12 can be server of instant message, or society
Hand over Website server etc..
Illustrative methods
Below with reference to the application scenarios of Fig. 1, the use of illustrative embodiments according to the present invention is described with reference to Fig. 2~Fig. 4
In the message editing method in mobile device.It should be noted that above-mentioned application scenarios be merely for convenience of understanding it is of the invention
Spirit and principle and show, embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can
To be applied to applicable any scene.
As shown in Fig. 2, in mobile device provided in an embodiment of the present invention message editing method implementing procedure may include with
Lower step:
S21, message edit box is shown when receiving message editing instruction.
When it is implemented, user is before sending message to server 12 by mobile device, it is necessary first to be set in movement
The message that standby upper editor needs to send.
Currently, most of mobile device screen uses touch screen.Embodiment for a better understanding of the present invention is right below
Touch screen technology realization principle is simply introduced.Touch screen is made of touch detection component and touch screen controller, touches inspection
It surveys component and is mounted on mobile device display screen front, (human body touch is thin similar to electrostatic induction for detecting user touch location
When the touch screen of piece, current sensing signal can be generated, touch detection component can be learnt by perceiving the current sensing signal
The touch location of user), associated touch information is then sent to touch screen controller, touch screen controller receives touch inspection
After surveying the touch information that component is transmitted, contact coordinate is converted thereof into, then send at CPU (central processing unit)
Reason, while touch screen controller can also receive order and the execution that CPU is sent.
Based on this, user, can be by touching the corresponding position on mobile device display screen when needing to edit message
Message editing instruction is sent to mobile device, triggering mobile device shows message edit box.As shown in Figure 3a, in mobile device
The message edit box schematic diagram of display.When initial, the cursor for being used to indicate character input position is located at the beginning of message edit box
At position.
S22, receive copy editor instruction when, in message edit box cursor indicating positions insertion input text.
S23, when receiving picture inserting instruction, the pictorial information that is inserted into is obtained from designated position, according to acquisition
The compressed picture that is inserted into is inserted into message edit box by pictorial information by the picture compression being inserted into pre-set dimension
Cursor indicating positions is shown.
Specifically, being instructed if it is copy editor, according to message editing instruction type is detected according to the input of user
The text of cursor indicating positions insertion input, instructs if it is picture editor in message edit box, shows that picture stores position
It sets and is selected for user, picture storage location according to the user's choice obtains the pictorial information for being inserted into picture in corresponding position.
Wherein, mobile device distinguishes different edit instruction types according to the different location that detect, user touches mobile device.And
When confirmly detecting copy editor's instruction, mobile device needs to show dummy keyboard, when detecting picture editor's instruction, moves
Dynamic equipment can pack up dummy keyboard.
After obtaining and being inserted into the pictorial information of picture, shown in message edit box for the ease of picture, it is mobile
Equipment also needs that picture compression will be inserted into pre-set dimension according to the pictorial information for being inserted into picture, which can set in advance
It sets, can also be configured by user, the embodiment of the present invention is to this without limiting.Picture compression treatment principle is by picture pressure
It is reduced to and shows that therefore, the mobile device different for screen size, the pre-set dimension also can be set suitable for mobile device screen
Difference, for example, the pre-set dimension can be set relatively larger for showing screen biggish mobile device, and for
The lesser screen of size, the pre-set dimension can be set relatively smaller.
After the completion of compression processing, mobile device shows compressed figure at message edit box current cursor indicating positions
Piece, as shown in Figure 3b, for the message edit box after input text and insert pictures 31, picture 32, picture 33 and picture 34
Schematic diagram.
When it is implemented, step S22 and step S23 have no it is certain it is successive execute sequence, step S22 can be prior to step
S23 is executed, and can also be executed later in step S23, i.e., picture inserting instruction can receive before copy editor instructs,
Or received after copy editor's instruction.Can also be according to the edit instruction type that detects, step S22 and
Step S23, which intersects, to be executed, for example, first carrying out step S22, then is executed step S23, is then executed step S22 again, or first carry out
Step S23, then step S22 is executed, step S23 etc. is then executed again, and mobile device is instructed according to the message editing detected
Type executes corresponding step, and realization principle is identical as message editing method realization principle shown in Fig. 2, here no longer
It repeats one by one.
Preferably, in the embodiment of the present invention, moving in order to enable the message shown in message edit box is more clean and tidy and beautiful
Dynamic equipment is inserted into cursor in message edit box after detecting picture inserting instruction, or in the picture that is inserted into that will be compressed
After indicating positions, it can also include the following steps:Control cursor jumps to next line starting position, i.e., in message edit box
Word message and picture are in display of not going together.
When it is implemented, can also further be limited for the ease of the processing to message of transmission and server of message
The character quantity difference for including in the message that mobile device is sent to server is more than upper limit value.For this purpose, in the embodiment of the present invention,
During message editing, it can also prompt user's residue that can input character quantity and character quantity upper limit value can be inputted, such as
Shown in Fig. 4, it may comprise steps of:
Character quantity in S41, real-time statistics message edit box.
Wherein, the number of characters that picture occupies is greater than the number of characters that text occupies, and the character quantity that picture occupies can be pre-
If value, such as picture occupy 8 characters, which can be configured according to the display size of picture, show with picture
Size corresponds.Chinese character and such as Chinese punctuation mark of SBC case occupy 2 characters, and English alphabet and DBC case are such as
English punctuation mark occupies 1 character, counts down as the increase of input character quantity can input character quantity.
Residue can input character quantity and can input character quantity upper limit value in S42, display message edit box.
Wherein the remaining character quantity that can input is that can input character quantity upper limit value to subtract word current in message edit box
Accord with quantity.
Preferably, when determining that the character quantity in message edit box is more than that can input word according to the statistical result of step S41
When according with the upper limit of the number value, then user is prompted, such as display " input character quantity is more than that can input character upper limit value ", count down position
Prompt exceeds the quantity of character, such as -20.User can voluntarily delete the partial character in message edit box, repair for the ease of user
Change the content in message edit box, in the embodiment of the present invention, the character quantity in message edit box is more than that can input number of characters
After the upper limit value of amount, user is not limited and continues to input, duplication and paste functionality pair in order to user using mobile device offer
Character in message edit box is modified, user-friendly, but is more than if inputting character quantity in message edit box
Character quantity upper limit value can be inputted, then can not be committed to server audit, until user is by the character quantity in message edit box
Modification when being no more than and can input character upper limit value to can be committed to server and audited.
Preferably, in order to further increase user experience, mobile device is determining message according to the statistical result of step S41
Character quantity in edit box is more than when can input character quantity upper limit value, can also be semantic constant in guaranteeing message edit box
Under the premise of modify automatically to the content in message edit box, for example, mobile device can detecte in message edit box is
The no special symbol comprising occupying at least two characters, if the corresponding symbol that can be converted into one character of occupancy comprising if
Number, to reduce the character quantity in message edit box.Such as the punctuation mark for occupying at least two characters can be converted into occupancy
The punctuation mark of one character;Or the full-shape English alphabet for occupying two characters is converted to the half-angle English for occupying a character
Chinese character.If for another example comprising special 2 byte characters such as SBC case or Chinese punctuation mark in message edit box, in message
It is converted into SBC case or Chinese punctuation mark to occupy 1 word automatically when input character quantity in edit box is more than upper limit value
Accord with the respective symbols such as english punctuation mark of length.It can be defeated if the character quantity after character conversion in message edit box is no more than
Enter character quantity upper limit value, then allows that server is submitted to be audited.
If after carrying out character conversion, character quantity in message edit box is still above can input character quantity upper limit value
When, then prompt user to adjust the content in message edit box, so that the character quantity in message edit box, which is no more than, can input word
Audit can be delivered when according with the upper limit of the number value, i.e., the message edited in message edit box is committed to server and carried out by permission user
Audit.
When submitting server success such as by delivering audit, server receives the content and compression in message edit box
Before the original image information that is inserted into, and these information are sent to accordingly deliver interface on the display screen of mobile device with
The corresponding format of editor is shown, wherein the picture shown after delivering is the full size picture before compression.
Message editing method provided in an embodiment of the present invention in mobile device realizes disappearing on the mobile apparatus
The picture and text mixing in edit box is ceased, message editing operating process is simplified, preferably, picture and text change in message edit box
Row display, so that the message edit box shown in mobile device is more neat and artistic, and inputs number of characters in message edit box
When amount is more than upper limit value, user's input is not limited, and only limitation can not submit audit, and movement is utilized during modification convenient for user
The duplication and paste operation that equipment provides, it is user-friendly, improve user experience.
Example devices
After describing the method for exemplary embodiment of the invention, next, with reference to Fig. 5 to the exemplary reality of the present invention
Apply mode, message editing device in mobile device.
As shown in figure 5, can wrap for message editing apparatus structure schematic diagram in mobile device provided in an embodiment of the present invention
It includes:
First display unit 51, for showing message edit box when receiving message editing instruction;
It is inserted into unit 52, for when receiving copy editor's instruction, cursor indicating positions to be inserted into message edit box
The text of input;
Acquiring unit 53, for obtaining the pictorial information being inserted into designated position when receiving picture inserting instruction;
Compression unit 54, for the pictorial information according to acquisition, by the picture compression being inserted into pre-set dimension;And
Second display unit 55, for the compressed picture that is inserted into be inserted into cursor indicating positions in message edit box
It is shown.
Preferably, message editing device can also include in mobile device provided in an embodiment of the present invention:
Statistic unit 56, for the character quantity in message edit box described in real-time statistics, wherein the character that picture occupies
Quantity is preset value;And
Third display unit 57, for showing in the message edit box that residue can input character quantity and can input character
The upper limit of the number value, wherein residue can input character quantity be can input character quantity upper limit value subtract in the message edit box when
Preceding character quantity.
Preferably, message editing device can also include in mobile device provided in an embodiment of the present invention:
Character conversion unit 58, if word can be inputted more than described for character quantity current in the message edit box
When according with the upper limit of the number value, the special symbol that at least two characters are occupied in the message edit box is converted to and occupies a character
Respective symbol.
Wherein, character conversion unit 58 occupy a word for being converted to the punctuation mark for occupying at least two characters
The punctuation mark of symbol;Or the full-shape English alphabet for occupying two characters is converted to the half-angle English words for occupying a character
Symbol.
Preferably, message editing device can also include in mobile device provided in an embodiment of the present invention:
Prompt unit 59, after carrying out character conversion, if character quantity current in the message edit box is still
More than it is described input character quantity upper limit value when, prompt user adjust message edit box in content so that the message compile
Collecting the character quantity in frame can be by delivering audit when can input character quantity upper limit value no more than described in.
Preferably, message editing device can also include in mobile device provided in an embodiment of the present invention:
Control unit 510, for being inserted after receiving picture inserting instruction, or by the compressed picture that is inserted into
After entering into message edit box cursor indicating positions, controls the cursor and jump to next line starting position.
After the method and apparatus for describing exemplary embodiment of the invention above, next, introducing according to this
Message editing device in the mobile device of the another exemplary embodiment of invention.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, i.e.,:It is complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
In some possible embodiments, message notifying device according to the present invention may include that at least one processing is single
Member and at least one storage unit.Wherein, the storage unit is stored with program code, when said program code is described
When processing unit executes, so that the processing unit executes described in above-mentioned " illustrative methods " part of this specification according to this
Invent the various steps in the message prompt method of various illustrative embodiments.For example, the processing unit can execute such as
Step S21 shown in Fig. 2, message edit box is shown when receiving message editing instruction, S22, receiving copy editor
When instruction, cursor indicating positions is inserted into the text inputted and S23, is receiving picture inserting instruction in message edit box
When, the pictorial information that is inserted into is obtained from designated position, according to the pictorial information of acquisition, by the picture compression being inserted into default
Size, by it is compressed be inserted into picture and be inserted into cursor indicating positions in message edit box show.
Filling for the message editing in mobile device for this embodiment according to the present invention is described referring to Fig. 6
Set 60.What Fig. 6 was shown is only an example for the message editing device in mobile device, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in fig. 6, the message editing device 60 in mobile device can be showed in the form of universal computing device,
Such as it can be mobile device, such as mobile phone, pad etc..The component of message editing device 60 in mobile device can wrap
It includes but is not limited to:At least one above-mentioned processing unit 61, at least one above-mentioned storage unit 62, connection different system components (packet
Include storage unit 62 and processing unit 61) bus 63.
Bus 63 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Storage unit 62 may include the readable medium of form of volatile memory, such as random access memory (RAM)
621 and/or cache memory 622, it can further include read-only memory (ROM) 623.
Storage unit 62 can also include program/utility 625 with one group of (at least one) program module 624,
Such program module 624 includes but is not limited to:Operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.
Message editing device 60 in mobile device can also with one or more external equipments 64 (such as keyboard,
Sensing equipment etc.) communication, the message editing device being used in mobile device with this can be also enabled a user to one or more
The equipment communication of 60 interactions, and/or with enable this in mobile device message editing device 60 and it is one or more its
It calculates any equipment (such as router, modem etc.) communication that equipment is communicated.This communication can pass through
Input/output (I/O) interface 65 carries out.Also, it can also be suitable by network for the message editing device 60 in mobile device
Orchestration 66 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet)
Communication.As shown in fig. 6, network adapter 66 passes through bus 63 and other moulds for the message editing device 60 in mobile device
Block communication.It should be understood that although not shown in the drawings, can be other in conjunction with being used for the message editing device 60 in mobile device
Hardware and/or software module, including but not limited to:Microcode, device driver, redundant processing unit, external disk drive battle array
Column, RAID system, tape drive and data backup storage system etc..
Exemplary process product
In some possible embodiments, various aspects of the invention are also implemented as a kind of shape of program product
Formula comprising program code, when described program product is run on server apparatus, said program code is for making the clothes
Business device equipment executes described in above-mentioned " illustrative methods " part of this specification various illustrative embodiments according to the present invention
The method for message editing in mobile device in step, for example, the server apparatus can execute as shown in Figure 2
Step S21, when receiving message editing instruction show message edit box, S22, when receiving copy editor's instruction,
The text of cursor indicating positions insertion input and S23 in message edit box, when receiving picture inserting instruction, from specified
The pictorial information that position acquisition is inserted into will press the picture compression being inserted into pre-set dimension according to the pictorial information of acquisition
The picture that is inserted into after contracting is inserted into cursor indicating positions in message edit box and is shown.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing
(non exhaustive list) includes:Electrical connection, portable disc with one or more conducting wires, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
As shown in fig. 7, the program product 70 for instant messaging application of embodiment according to the present invention is described,
Can be using portable compact disc read only memory (CD-ROM) and including program code, and can be transported on server apparatus
Row.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing, which can be, any to be included or stores
The tangible medium of program, the program can be commanded execution system, device or device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind --- including local area network (LAN) or extensively
Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (such as utilize Internet service
Provider is connected by internet).
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke
It point is only exemplary not enforceable.In fact, embodiment according to the present invention, it is above-described two or more
The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can
It is to be embodied by multiple units with further division.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or
Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired
As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one
Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this
It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects
Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and
Included various modifications and equivalent arrangements in range.
Claims (7)
1. a kind of message editing method in mobile device, including:
Message edit box is shown when receiving message editing instruction;
When receiving copy editor's instruction, the text of cursor indicating positions insertion input in the message edit box;And
When receiving picture inserting instruction, the pictorial information being inserted into is obtained from designated position;According to the pictorial information of acquisition,
By the picture compression being inserted into pre-set dimension;By it is compressed be inserted into picture and be inserted into cursor in the message edit box refer to
Show that position is shown, wherein the character quantity that picture occupies is preset value;
Character quantity in message edit box described in real-time statistics;
Show that residue can input character quantity and can input character quantity upper limit value in the message edit box, wherein residue can be defeated
Entering character quantity is that can input character quantity upper limit value to subtract character quantity current in the message edit box;
If current character quantity can input character quantity upper limit value more than described in the message edit box, disappear described
The special symbol that at least two characters are occupied in breath edit box is converted to the respective symbol for occupying a character, including:It will occupy
The punctuation mark of at least two characters is converted to the punctuation mark for occupying a character;Or the full-shape English that two characters will be occupied
Text mother is converted to the half-angle English character for occupying a character.
2. according to the method described in claim 1, the picture inserting instruction is to receive before copy editor instruction
Or received after copy editor's instruction.
3. according to the method described in claim 1, carry out character conversion after, if number of characters current in the message edit box
Amount still above it is described input character quantity upper limit value when, the method further includes:
User is prompted to adjust the content in message edit box, so that the character quantity in the message edit box can no more than described in
It can be by delivering audit when inputting character quantity upper limit value.
4. method described in any claim according to claim 1~3, after receiving picture inserting instruction, Huo Zhe
The compressed picture that is inserted into is inserted into message edit box after cursor indicating positions, further includes:
It controls the cursor and jumps to next line starting position.
5. message editing device in a kind of mobile device, including:
First display unit, for showing message edit box when receiving message editing instruction;
It is inserted into unit, for when receiving copy editor's instruction, the insertion of cursor indicating positions to be defeated in the message edit box
The text entered;
Acquiring unit, for obtaining the pictorial information being inserted into designated position when receiving picture inserting instruction;
Compression unit, for the pictorial information according to acquisition, by the picture compression being inserted into pre-set dimension;And
Second display unit, for by it is compressed be inserted into picture and be inserted into cursor indicating positions in message edit box show
Show, wherein the character quantity that picture occupies is preset value;
Statistic unit, for the character quantity in message edit box described in real-time statistics;
Third display unit, for showing in the message edit box that residue can input character quantity and can input character quantity
Limit value, wherein the remaining character quantity that can input is that can input character quantity upper limit value to subtract word current in the message edit box
Accord with quantity;
Character conversion unit, if character quantity can be inputted more than described for character quantity current in the message edit box
When upper limit value, the special symbol that at least two characters are occupied in the message edit box is converted to and occupies the corresponding of a character
Symbol;
The character conversion unit occupies a character specifically for being converted to the punctuation mark for occupying at least two characters
Punctuation mark;Or the full-shape English alphabet for occupying two characters is converted to the half-angle English character for occupying a character.
6. device according to claim 5, further includes:
Prompt unit, after carrying out character conversion, if character quantity current in the message edit box is still above institute
It states when can input character quantity upper limit value, prompts user to adjust the content in message edit box, so that in the message edit box
Character quantity be no more than it is described can be by delivering audit when can input character quantity upper limit value.
7. further including according to device described in claim 5~6 any claim:
Control unit, for after receiving picture inserting instruction, or by it is compressed be inserted into picture and be inserted into disappear
In breath edit box after cursor indicating positions, controls the cursor and jump to next line starting position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510762463.6A CN105426103B (en) | 2015-11-10 | 2015-11-10 | Message editing method and apparatus in a kind of mobile device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510762463.6A CN105426103B (en) | 2015-11-10 | 2015-11-10 | Message editing method and apparatus in a kind of mobile device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105426103A CN105426103A (en) | 2016-03-23 |
CN105426103B true CN105426103B (en) | 2018-11-30 |
Family
ID=55504339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510762463.6A Active CN105426103B (en) | 2015-11-10 | 2015-11-10 | Message editing method and apparatus in a kind of mobile device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426103B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105930023A (en) * | 2016-04-05 | 2016-09-07 | 乐视控股(北京)有限公司 | Method and apparatus for inserting picture in note application and intelligent terminal |
CN106776990B (en) * | 2016-12-06 | 2020-04-14 | 北京搜狗科技发展有限公司 | Information processing method and device and electronic equipment |
CN107239153A (en) * | 2017-05-26 | 2017-10-10 | 北京小米移动软件有限公司 | Input through keyboard reminding method and device |
CN107358554B (en) * | 2017-06-30 | 2021-03-02 | 刘宝香 | Multidimensional learning ability improving system and method |
CN109976549B (en) * | 2017-12-28 | 2022-08-16 | 北京搜狗科技发展有限公司 | Data processing method, device and machine readable medium |
CN109683726B (en) * | 2018-12-25 | 2022-08-05 | 北京微播视界科技有限公司 | Character input method, character input device, electronic equipment and storage medium |
CN109815434A (en) * | 2019-01-18 | 2019-05-28 | 深圳壹账通智能科技有限公司 | Page editing method, apparatus, equipment and storage medium |
CN111158817A (en) * | 2019-12-24 | 2020-05-15 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
CN111831944B (en) * | 2020-07-09 | 2021-09-28 | 腾讯科技(深圳)有限公司 | Multimedia processing method, device, client, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984408A (en) * | 2005-11-29 | 2007-06-20 | Lg电子株式会社 | Method and terminal for displaying character capacity |
CN103093486A (en) * | 2011-11-04 | 2013-05-08 | 腾讯科技(深圳)有限公司 | Method and device for editing of log |
CN103442343A (en) * | 2013-08-29 | 2013-12-11 | 广东欧珀移动通信有限公司 | Method for adding signature data to short message and mobile terminal |
CN103905292A (en) * | 2012-12-28 | 2014-07-02 | 厦门亿联网络技术股份有限公司 | A method and system for transmitting an instant messaging message with pictures |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101872861B1 (en) * | 2012-05-04 | 2018-06-29 | 엘지전자 주식회사 | Mobile terminal and control method therof |
-
2015
- 2015-11-10 CN CN201510762463.6A patent/CN105426103B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1984408A (en) * | 2005-11-29 | 2007-06-20 | Lg电子株式会社 | Method and terminal for displaying character capacity |
CN103093486A (en) * | 2011-11-04 | 2013-05-08 | 腾讯科技(深圳)有限公司 | Method and device for editing of log |
CN103905292A (en) * | 2012-12-28 | 2014-07-02 | 厦门亿联网络技术股份有限公司 | A method and system for transmitting an instant messaging message with pictures |
CN103442343A (en) * | 2013-08-29 | 2013-12-11 | 广东欧珀移动通信有限公司 | Method for adding signature data to short message and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105426103A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105426103B (en) | Message editing method and apparatus in a kind of mobile device | |
CN107071512B (en) | A kind of dubbing method, apparatus and system | |
JP6305033B2 (en) | Method and system for providing a multi-user messenger service | |
US10553003B2 (en) | Interactive method and apparatus based on web picture | |
US20190005013A1 (en) | Conversation system-building method and apparatus based on artificial intelligence, device and computer-readable storage medium | |
CN110825863B (en) | Text pair fusion method and device | |
EP3024223B1 (en) | Videoconference terminal, secondary-stream data accessing method, and computer storage medium | |
KR101690656B1 (en) | Method and apparatus for generating media signal | |
CN108391107A (en) | Intelligent translation projecting apparatus controller, control system and control method | |
CN105554430A (en) | Video call method, system and device | |
CN109614622A (en) | Valid data extracting method, device, storage medium and terminal | |
KR101815957B1 (en) | Method and server for providing user emoticon of online chat service | |
CN106774852B (en) | Message processing method and device based on virtual reality | |
CN104853193B (en) | Video-frequency compression method, device and electronic equipment | |
CN105162839A (en) | Data processing method, data processing device and data processing system | |
CN106878773A (en) | Electronic equipment, method for processing video frequency and device and storage medium | |
WO2020124454A1 (en) | Font switching method and related product | |
CN117311520A (en) | Cloud integrated input method information input method and device and cloud integrated system | |
CN112888024A (en) | Data processing method, data processing device, storage medium and electronic equipment | |
KR102574294B1 (en) | Apparatus for providing artificial intelligence platform and contents service method using same | |
CN109788126A (en) | Verify code imput method and equipment | |
CN107515720A (en) | A kind of message treatment method, medium, device and computing device | |
US20160210766A1 (en) | Method for displaying text and graph message | |
CN111625740A (en) | Image display method, image display device and electronic equipment | |
KR101675049B1 (en) | Global communication system |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190227 Address after: Room 3160, 3805 Zhoujiazui Road, Yangpu District, Shanghai 200082 Patentee after: SHANGHAI HA HA CULTURAL DISTRIBUTION CO., LTD. Address before: 310052 Building No. 599, Changhe Street Network Business Road, Binjiang District, Hangzhou City, Zhejiang Province, 4, 7 stories Patentee before: NetEase (Hangzhou) Network Co., Ltd. |
|
TR01 | Transfer of patent right |