CN104080063A - Method and system for transmitting attachment by means of short message - Google Patents

Method and system for transmitting attachment by means of short message Download PDF

Info

Publication number
CN104080063A
CN104080063A CN201410256668.2A CN201410256668A CN104080063A CN 104080063 A CN104080063 A CN 104080063A CN 201410256668 A CN201410256668 A CN 201410256668A CN 104080063 A CN104080063 A CN 104080063A
Authority
CN
China
Prior art keywords
annex
content
text
filename
note
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.)
Pending
Application number
CN201410256668.2A
Other languages
Chinese (zh)
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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201410256668.2A priority Critical patent/CN104080063A/en
Publication of CN104080063A publication Critical patent/CN104080063A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and system for transmitting an attachment by means of a short message. The method comprises the steps of receiving an attachment adding instruction, adding the attachment needing to be sent into the short message, converting the attachment into the text content, receiving a sending instruction, and sending out the message containing the text content. According to the method and system for transmitting the attachment by means of the short message, the attachment added into the short message is converted into the text content, and the attachment is sent to a target terminal in a text mode, so that the attachment can be sent in the ordinary short message service, the cost can be reduced, the high sending speed can be ensured, the function of the existing short message service is expanded, and a user can conveniently use the short message service.

Description

A kind of method and system of utilizing note transmission annex
Technical field
The present invention relates to mobile terminal note application, relate in particular to a kind of method and system of utilizing note transmission annex.
Background technology
At present, in short message service, the capacity of point-to-point text SMS is little, and the form of expression is single, only sends simple text message, cannot in common point-to-point text SMS, realize annex and send.In the prior art, annex can only send by MMS, but MMS compared with short message service, expense is high, speed is slow, thereby existing annex send mode can not meet popular demand.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of method and system of utilizing note transmission annex, be intended to solve the problem that existing annex send mode can only send by MMS.
Technical scheme of the present invention is as follows:
A method of utilizing note transmission annex, wherein, comprises step:
Receive and add annex instruction, the annex that need are sent is added in note;
This annex is converted to content of text;
Receive and send instruction, the note that contains text content is sent.
The described method of utilizing note transmission annex, wherein, the described step that this annex is converted to content of text specifically comprises:
Annex start mark is added in starting position at content of text, adds annex end mark at the end position of content of text.
The described method of utilizing note transmission annex, wherein, the described step that this annex is converted to content of text also comprises:
Obtain the filename of annex, and add filename after the annex start mark of content of text.
The described method of utilizing note transmission annex, wherein, the described step that this annex is converted to content of text also comprises:
After described filename, add filename content separation mark.
The described method of utilizing note transmission annex, wherein, the described step that this annex is converted to content of text also comprises:
The annex of interpolation is opened with binary form, and be that text obtains the text after conversion by each byte conversion in binary content.
The described method of utilizing note transmission annex, wherein, described reception sends instruction, after the step that the note that contains text content is sent, also comprises:
Obtain the content of text in note, content of text is reduced into annex.
A system of utilizing note transmission annex, wherein, comprising:
Annex adds module, adds annex instruction for receiving, and the annex that need are sent is added in note;
Annex modular converter, for being converted to content of text by this annex;
Sending module, for receiving transmission instruction, sends the note that contains text content.
The described system of utilizing note transmission annex, wherein, described annex modular converter comprises:
Position mark adding device, adds annex start mark for the starting position at content of text, adds annex end mark at the end position of content of text.
The described system of utilizing note transmission annex, wherein, described annex modular converter also comprises:
Filename adding device for obtaining the filename of annex, and adds filename after the annex start mark of content of text.
The described system of utilizing note transmission annex, wherein, described annex modular converter also comprises:
Separation mark adding device, for adding filename content separation mark after described filename.
Beneficial effect: the present invention is by converting the annex adding in note to content of text, make annex send to target terminal with textual form, annex just can send with normal short message business like this, can reduce expense, can ensure again transmission speed faster, expand the function of existing short message service, convenient for users to use.
Brief description of the drawings
Fig. 1 is the flow chart of an a kind of preferred embodiment of method that utilizes note transmission annex of the present invention.
Fig. 2 is the flow chart of a kind of another preferred embodiment of method that utilizes note transmission annex of the present invention.
Fig. 3 is the structured flowchart of a kind of system preferred embodiment that utilizes note transmission annex of the present invention.
Embodiment
The invention provides a kind of method and system of utilizing note transmission annex, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of a kind of method preferred embodiment that utilizes note transmission annex of the present invention, and as shown in the figure, it comprises step:
Annex instruction is added in S101, reception, and the annex that need are sent is added in note;
S102, this annex is converted to content of text;
S103, reception send instruction, and the note that contains text content is sent.
The embodiment of the present invention is by directly directly adding the annex that needs transmission in note, then annex being converted to content of text, so just can be by common short message service transmission annex.
As the preferred embodiment of the present invention, described step S102 specifically comprises:
Annex start mark is added in starting position at content of text, adds annex end mark at the end position of content of text.
Annex start mark and annex end mark are embodied in note, be used for identifying which section content of text and belong to annex, for example, it is deadbeefbegin that annex start mark is set, it is deadbeefend that annex end mark is set, and in note, the content of text between character deadbeefbegin and deadbeefend is annex.
As the preferred embodiment of the present invention, described step S102 also comprises:
Obtain the filename of annex, and add filename after the annex start mark of content of text.
Filename contributes to identify annex, after filename can be added on annex start mark, specifically after adding annex, can first obtain the filename of annex, the filename obtaining comprises primary filename and extension name, for example abc.pdf, and primary filename is abc, expansion pdf by name, the filename adding so can be abc.pdf.
As the preferred embodiment of the present invention, described step S102 also comprises:
After described filename, add filename content separation mark.
Filename content separation mark, is used for the content of text of filename and annex to separate mutually, to distinguish.Before filename content separation mark, be filename, be the text after annex conversion after filename content separation mark.
Like this, the content of text that the annex of a file x.y by name becomes after conversion will be made up of following part successively: text, annex end mark after annex start mark, filename, filename content separation mark, conversion.
As the preferred embodiment of the present invention, described step S102 also comprises:
The annex of interpolation is opened with binary form, and be that text obtains the text after conversion by each byte conversion in binary content.For example, a file is followed successively by by byte after opening with binary form: 0x11, and 0x02,0x33,0xBE, 0x55, the content of text after conversion is like this: 110233BE55.
As the preferred embodiment of the present invention, after described step S103, also comprise:
Obtain the content of text in note, content of text is reduced into annex.
Specifically, can in note, search and whether have annex, if existed, obtain the content of text of annex, only need in text SMS, search annex start mark and annex end mark, if can find annex start mark and annex end mark, judge in this note and have annex, annex is the text between annex start mark and annex end mark.
Locating file name content separation mark in text SMS, the filename that text before filename content separation mark is annex, content after filename content separation mark is a byte by its every two character conversion, for example, content of text is 123456EA, converts 0x12 to, 0x34,0x56,0xEA, and these bit combinations are become to binary file.
As shown in Figure 2, provide specific embodiment to be specifically described method of the present invention below:
S201, obtain the character message content of user input, for convenience of description, this word short message content is designated as to A1;
S202, in character message content, adding annex, obtain the filename of annex, is A2 by this file Famous Journalist;
S203, opening the attachment with binary mode, is text by each byte conversion in binary content, and the text is designated as to A3;
S204, reformulation finally need the short message content sending, and send, and the short message content finally sending is made up of following part successively: A1, annex start mark, A2, filename content separation mark, A3, additional end mark.
After sending, also can comprise the following steps:
S205, in short message content, search annex start mark, annex end mark, and obtain the content of text between these two marks, for convenience of description, text content is designated as to B1;
S206, in B1 locating file name content separation mark, the text between filename content separation mark is designated as to B2, the content after filename content separation mark is designated as to B3;
S207, be a byte by every the text of B3 two character conversion, obtain annex, and the file of this annex B2 by name.
Based on said method, the present invention also provides a kind of system preferred embodiment that utilizes note transmission annex, and as shown in Figure 3, it comprises:
Annex adds module 100, adds annex instruction for receiving, and the annex that need are sent is added in note;
Annex modular converter 200, for being converted to content of text by this annex;
Sending module 300, for receiving transmission instruction, sends the note that contains text content.
Also comprise: receiver module 400, for obtaining the content of text of note, is reduced into annex by content of text.
Further, described annex modular converter 200 comprises:
Position mark adding device, adds annex start mark for the starting position at content of text, adds annex end mark at the end position of content of text.
Further, described annex modular converter 200 also comprises:
Filename adding device for obtaining the filename of annex, and adds filename after the annex start mark of content of text.
Further, described annex modular converter 200 also comprises:
Separation mark adding device, for adding filename content separation mark after described filename.
About ins and outs existing detailed description in detail in method above of above-mentioned modular unit, therefore repeat no more.
In sum, the present invention is by converting the annex adding in note to content of text, make annex send to target terminal with textual form, annex just can send with normal short message business like this, can reduce expense, can ensure again transmission speed faster, expand the function of existing short message service, convenient for users to use.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection range of claims of the present invention.

Claims (10)

1. a method of utilizing note transmission annex, is characterized in that, comprises step:
Receive and add annex instruction, the annex that need are sent is added in note;
This annex is converted to content of text;
Receive and send instruction, the note that contains text content is sent.
2. the method for utilizing note transmission annex according to claim 1, is characterized in that, the described step that this annex is converted to content of text specifically comprises:
Annex start mark is added in starting position at content of text, adds annex end mark at the end position of content of text.
3. the method for utilizing note transmission annex according to claim 2, is characterized in that, the described step that this annex is converted to content of text also comprises:
Obtain the filename of annex, and add filename after the annex start mark of content of text.
4. the method for utilizing note transmission annex according to claim 3, is characterized in that, the described step that this annex is converted to content of text also comprises:
After described filename, add filename content separation mark.
5. the method for utilizing note transmission annex according to claim 1, is characterized in that, the described step that this annex is converted to content of text also comprises:
The annex of interpolation is opened with binary form, and be that text obtains the text after conversion by each byte conversion in binary content.
6. the method for utilizing note transmission annex according to claim 1, is characterized in that, described reception sends instruction, after the step that the note that contains text content is sent, also comprises:
Obtain the content of text in note, content of text is reduced into annex.
7. a system of utilizing note transmission annex, is characterized in that, comprising:
Annex adds module, adds annex instruction for receiving, and the annex that need are sent is added in note;
Annex modular converter, for being converted to content of text by this annex;
Sending module, for receiving transmission instruction, sends the note that contains text content.
8. the system of utilizing note transmission annex according to claim 7, is characterized in that, described annex modular converter comprises:
Position mark adding device, adds annex start mark for the starting position at content of text, adds annex end mark at the end position of content of text.
9. the system of utilizing note transmission annex according to claim 8, is characterized in that, described annex modular converter also comprises:
Filename adding device for obtaining the filename of annex, and adds filename after the annex start mark of content of text.
10. the system of utilizing note transmission annex according to claim 9, is characterized in that, described annex modular converter also comprises:
Separation mark adding device, for adding filename content separation mark after described filename.
CN201410256668.2A 2014-06-11 2014-06-11 Method and system for transmitting attachment by means of short message Pending CN104080063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410256668.2A CN104080063A (en) 2014-06-11 2014-06-11 Method and system for transmitting attachment by means of short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410256668.2A CN104080063A (en) 2014-06-11 2014-06-11 Method and system for transmitting attachment by means of short message

Publications (1)

Publication Number Publication Date
CN104080063A true CN104080063A (en) 2014-10-01

Family

ID=51601067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410256668.2A Pending CN104080063A (en) 2014-06-11 2014-06-11 Method and system for transmitting attachment by means of short message

Country Status (1)

Country Link
CN (1) CN104080063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682407A (en) * 2017-09-11 2018-02-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and storage medium based on NFC transmission multifiles

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1039768A2 (en) * 1999-03-19 2000-09-27 Samsung Electronics Co., Ltd. Data transmitting and receiving apparatus and method for a digital mobile station
CN1366434A (en) * 2001-01-18 2002-08-28 英华达股份有限公司 Method for transmitting data by short message service of mobile telephone
CN1753536A (en) * 2004-09-21 2006-03-29 创新科技有限公司 Method and apparatus for sending files by sms
CN101355731A (en) * 2008-09-03 2009-01-28 青岛海信移动通信技术股份有限公司 Mobile terminal and method for transmitting/receiving file thereof
CN103067885A (en) * 2011-10-21 2013-04-24 沈新莉 Method and system for sending attachments by using short message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1039768A2 (en) * 1999-03-19 2000-09-27 Samsung Electronics Co., Ltd. Data transmitting and receiving apparatus and method for a digital mobile station
CN1366434A (en) * 2001-01-18 2002-08-28 英华达股份有限公司 Method for transmitting data by short message service of mobile telephone
CN1753536A (en) * 2004-09-21 2006-03-29 创新科技有限公司 Method and apparatus for sending files by sms
CN101355731A (en) * 2008-09-03 2009-01-28 青岛海信移动通信技术股份有限公司 Mobile terminal and method for transmitting/receiving file thereof
CN103067885A (en) * 2011-10-21 2013-04-24 沈新莉 Method and system for sending attachments by using short message

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682407A (en) * 2017-09-11 2018-02-09 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and storage medium based on NFC transmission multifiles

Similar Documents

Publication Publication Date Title
CN103389969B (en) A kind of methods, devices and systems for mobile terminal preview pdf document
CN106407201B (en) Data processing method and device and computer readable storage medium
US10652185B2 (en) Information sending method and information sending apparatus
CN105335483A (en) Text sensitive word filter system and method
CN102404685A (en) Sending method and sharing method of location information and mobile communication terminal
KR20170078747A (en) Method, apparatus and device for displaying message
CN104994209A (en) Contact information obtaining method based on communication software chatting records and system
CN103079180B (en) A kind of method and system of remote assistance
CN103151044A (en) Language transformation method and system based on voice recognition
CN104080063A (en) Method and system for transmitting attachment by means of short message
CN105337850A (en) Internet of Things data processing method and internet of Things gateway
CN103164122A (en) Method and device calling address book content
CN113312539A (en) Method, device, equipment and medium for providing retrieval service
CN103886086A (en) Cross-browser file-displaying system and method
CN103888528A (en) Implementation method and system of message communication between WeChat terminals and audio terminals
CN104994169A (en) Floor-sweeping robot state information query method and server
CN103929524A (en) Method for recording information in communication process and mobile terminal with method applied
CN104243666B (en) language processing method and device
CN103167001A (en) Network data transmission method based on extensive makeup language (XML)
CN104936015A (en) Set top box language control method and system
CN113608889A (en) Message data processing method, device, equipment and storage medium
US20140047047A1 (en) Mail transit system and mail recycling correction method thereof
CN101729666B (en) Method for mobile communication terminal to search short message
CN101848348A (en) Remote control code and methods for sending and receiving same
CN103631716B (en) The conversion method and equipment of a kind of debug command

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141001