CN101472347A - Method for sending and receiving multimedia message - Google Patents

Method for sending and receiving multimedia message Download PDF

Info

Publication number
CN101472347A
CN101472347A CNA2007101729837A CN200710172983A CN101472347A CN 101472347 A CN101472347 A CN 101472347A CN A2007101729837 A CNA2007101729837 A CN A2007101729837A CN 200710172983 A CN200710172983 A CN 200710172983A CN 101472347 A CN101472347 A CN 101472347A
Authority
CN
China
Prior art keywords
multimedia message
mms
forward step
prompting
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2007101729837A
Other languages
Chinese (zh)
Other versions
CN101472347B (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.)
Longshang Technology (Shanghai) Co., Ltd.
Original Assignee
Shanghai Chenxing Electronics Science and Technology 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 Shanghai Chenxing Electronics Science and Technology Co Ltd filed Critical Shanghai Chenxing Electronics Science and Technology Co Ltd
Priority to CN2007101729837A priority Critical patent/CN101472347B/en
Publication of CN101472347A publication Critical patent/CN101472347A/en
Application granted granted Critical
Publication of CN101472347B publication Critical patent/CN101472347B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for realizing an MMS protocol (a multimedia message service protocol) embedded in a GSM/GPRS wireless module as well as a corresponding method for transmitting wireless data and a wireless communication device thereof, and solves the problem of an MMS function of the GSM/GPRS module. The MMS protocol is embedded in the wireless module, a communication terminal operates the wireless module through expanding AT commands, and the multimedia messages are received and transmitted on the foundation that the wireless connection is established through a general packet radio service GPRS network. By adopting the method for realizing the MMS protocol, users can achieve the functions of editing and receiving/transmitting the multimedia messages through simple serial-port communication, and fully achieves the advantages of high reliability, low cost and high communication efficiency during transmission of the multimedia messages.

Description

A kind of method of sending and receiving of multimedia message
Technical field
The present invention relates to a kind of method of sending and receiving of multimedia message, relate in particular to a kind of implementation method, belong to communication technical field in the embedded MMS of GSM/GPRS wireless module (multimedia message) agreement.
Background technology
Along with development of wireless communication devices, wireless product is increasingly extensive in the application of field of data transmission, and MMS (multimedia message) begins to be used in a large number as a new technology recently gradually.But common GSM/GPRS module is some limitation in use, be that it can't support MMS (Microsoft Media Server) Protocol, SCM Based a large amount of existing equipments must additionally embed the transmitting-receiving that MMS (Microsoft Media Server) Protocol could realize MMS, and this is a complexity and loaded down with trivial details work, sometimes even surpass the workload of application itself.
Summary of the invention
Purpose of the present invention just provides a kind of implementation method in the embedded MMS (Microsoft Media Server) Protocol of GSM/GPRS wireless module, and the user can pass through simple serial communication, realizes the editor and the transmission-receiving function of multimedia message.
To achieve these goals, the present invention adopts the radio data transmission method of embedded MMS (multimedia message) agreement, wireless module is expanded, realized sending and receiving the software of MMS, setting up by the GPRS GPRS network on the basis of wireless connections, set up TCP and be connected with MMS Relay Server/multimedia messaging service, MMS center (MMSC), realize that on this connects reliable and stable multimedia message sends and receives.
The sending method of multimedia message comprises the steps:
S11, multimedia message parameter initialization;
S12, upload multimedia message data by serial ports;
S13, initialization network settings, configuration access access point (APN);
S14, requesting activation packet data network (PDP, Packet Data Protocol) scene;
S15, judge whether the PDP scene is activated, and is then to forward step S16 to, otherwise forward step S28 to;
S16, acquisition Virtual network operator IP address allocated;
S17, initiate TCP as client to WAP gateway and connect, successful then preserve the TCP send window, the size of receive window also forwards step S18 to, and failing then forwards step S28 to;
S18, according to MMS (Microsoft Media Server) Protocol content encapsulation multimedia message for transmission;
S19, connect to send data from TCP;
S20, wait are from the WAP gateway feedack;
S21, receiving feedback information;
S22, judgement receive in the buffering area whether also have feedback information, if having, then forward step S21 to, otherwise forward step S23 to;
S23, resolve feedback information according to MMS (Microsoft Media Server) Protocol;
S24, judge according to feedback information that multimedia message does not have and successfully send,, then forward step S25 to, otherwise forward step S28 to if successfully send;
S25, close TCP and connect;
S26, disconnection GPRS connect;
S27, prompting send successfully prompting, finish whole flow process;
S28, prompting send the failure prompting, finish whole flow process.
The method of reseptance of multimedia message specifically comprises the steps:
S31, multimedia message parameter initialization;
The multimedia message arrival notice that S32, reception MMS center send;
S33, resolve the multimedia message arrival notice, obtain the address of multimedia message in the MMS center server according to MMS (Microsoft Media Server) Protocol;
Forward step S35 to if S34 resolves successfully, otherwise forward S48 to;
S35, initialization network settings, configuration access access point (APN);
S36, requesting activation packet data network (PDP, Packet Data Protocol) scene;
S37, judge whether the PDP scene is activated, and is then to forward step S38 to, otherwise forward step S48 to
S38, acquisition Virtual network operator IP address allocated;
S39, initiate TCP as client to WAP gateway and connect, successful then preserve the TCP send window, the size of receive window also forwards step S40 to, and failing then forwards S48 to;
S40, reception MMS packet data;
S41, judgement receive in the buffering area whether also have the MMS packet data, if having, then forward step S42 to, otherwise forward step S40 to;
S42, the data that parsing is received according to MMS (Microsoft Media Server) Protocol;
S43, judge whether to resolve successfully,, otherwise forward step S48 to if success then forwards step S44 to
S44, sender information is outputed to serial ports;
S45, close TCP and connect;
S46, disconnection GPRS connect;
S47, prompting receive successfully prompting, finish whole flow process;
S48, the prompting prompting that takes defeat finish whole flow process.
The present invention is in order to solve the multimedia message service function of GSM/GPRS module, for the user provides complete embedded GSM/GPRS multimedia message service module scheme, the implementation method of the embedded MMS (Microsoft Media Server) Protocol of a kind of GSM/GPRS wireless module (multimedia message protocol) is provided, and corresponding radio data transmission method and radio communication device for this reason: MMS (Microsoft Media Server) Protocol is embedded in the wireless module, communication terminal is by expansion AT command operate wireless module, setting up by the GPRS GPRS network on the basis of wireless connections, receiving and send multimedia message.The user can pass through simple serial communication, realizes the editor and the transmission-receiving function of multimedia message, like this in the taking all factors into consideration of reliability/price/communication efficiency/construction cycle, and can both be even better.
Description of drawings
Fig. 1 is the flow chart that the present invention sends multimedia message
Fig. 2 is the flow chart that the present invention receives multimedia message
Embodiment
As shown in Figure 1, the software work step of transmission MMS (multimedia message) is:
S11, multimedia message parameter initialization, configuration MMS Relay Server/address, multimedia messaging service, MMS center (MMSC), recipient address;
S12, upload the multimedia message title by serial ports, the multimedia message text, multimedia message picture is to module;
S13, initialization network settings, configuration of APN (access points);
S14, requesting activation PDP (Packet Data Protocol) scene;
S15, judge whether the PDP scene is activated, and is then to forward step S16 to, otherwise forward step S28 to;
S16, acquisition Virtual network operator IP address allocated;
S17, initiate TCP as client to WAP gateway and connect, successful then preserve the TCP send window, the size of receive window also forwards step S18 to, and failing then forwards step S28 to;
S18, according to MMS (Microsoft Media Server) Protocol content encapsulation multimedia message for transmission;
S19, connect to send data from TCP;
S20, wait are from the WAP gateway feedack;
S21, receiving feedback information;
S22, judgement receive in the buffering area whether also have feedback information, if having, then forward step S21 to, otherwise forward step S23 to;
S23, resolve feedback information according to MMS (Microsoft Media Server) Protocol;
S24, judge according to feedback information that multimedia message does not have and successfully send,, then forward step S25 to, otherwise forward step S28 to if successfully send;
S25, close TCP and connect;
S26, disconnection GPRS connect;
S27, prompting send successfully prompting, finish whole flow process;
S28, prompting send the failure prompting, finish whole flow process.
As shown in Figure 2, the present invention's flow process of receiving multimedia message comprises the steps:
S31, multimedia message parameter initialization, configuration MMS Relay Server/address, multimedia messaging service, MMS center (MMSC);
The multimedia message arrival notice that S32, reception MMS center send;
S33, resolve the multimedia message arrival notice, obtain the address of multimedia message in the MMS center server according to MMS (Microsoft Media Server) Protocol;
Forward step S35 to if S34 resolves successfully, otherwise forward S48 to;
S35, initialization network settings, configuration of APN (access points);
S36, requesting activation PDP (Packet Data Protocol) scene;
S37, judge whether the PDP scene is activated, and is then to forward step S38 to, otherwise forward step S48 to
S38, acquisition Virtual network operator IP address allocated;
S39, initiate TCP as client to WAP gateway and connect, successful then preserve the TCP send window, the size of receive window also forwards step S40 to, and failing then forwards S48 to;
S40, reception MMS packet data;
S41, judgement receive in the buffering area whether also have the MMS packet data, if having, then forward step S42 to, otherwise forward step S40 to;
S42, the data that parsing is received according to MMS (Microsoft Media Server) Protocol;
S43, judge whether to resolve successfully,, otherwise forward step S48 to if success then forwards step S44 to
S44, with sender information, transmitting time, information such as multimedia message title output to serial ports;
S45, close TCP and connect;
S46, disconnection GPRS connect;
S47, prompting receive successfully prompting, finish whole flow process;
S48, the prompting prompting that takes defeat finish whole flow process.

Claims (6)

1, a kind of sending method of multimedia message is characterized in that, comprises the steps:
S11, multimedia message parameter initialization;
S12, upload multimedia message data by serial ports;
S13, initialization network settings, the configuration access access point;
S14, requesting activation packet data network scene;
S15, judge whether the PDP scene is activated, and is then to forward step S16 to, otherwise forward step S28 to;
S16, acquisition Virtual network operator IP address allocated;
S17, initiate TCP as client to WAP gateway and connect, successful then preserve the TCP send window, the size of receive window also forwards step S18 to, and failing then forwards step S28 to;
S18, according to MMS (Microsoft Media Server) Protocol content encapsulation multimedia message for transmission;
S19, connect to send data from TCP;
S20, wait are from the WAP gateway feedack;
S21, receiving feedback information;
S22, judgement receive in the buffering area whether also have feedback information, if having, then forward step S21 to, otherwise forward step S23 to;
S23, resolve feedback information according to MMS (Microsoft Media Server) Protocol;
S24, judge according to feedback information that multimedia message does not have and successfully send,, then forward step S25 to, otherwise forward step S28 to if successfully send;
S25, close TCP and connect;
S26, disconnection GPRS connect;
S27, prompting send successfully prompting, finish whole flow process;
S28, prompting send the failure prompting, finish whole flow process.
2, the sending method of multimedia message as claimed in claim 1 is characterized in that, the multimedia message parameter initialization specifically comprises among the step S11: configuration MMS Relay Server/(MMSC) address, multimedia messaging service, MMS center and recipient address.
3, the sending method of multimedia message as claimed in claim 1 is characterized in that, step S12 multimedia message data comprises: upload the multimedia message title, multimedia message text, multimedia message picture.
4, a kind of method of reseptance of multimedia message is characterized in that, comprises the steps:
S31, multimedia message parameter initialization;
The multimedia message arrival notice that S32, reception MMS center send;
S33, resolve the multimedia message arrival notice, obtain the address of multimedia message in the MMS center server according to MMS (Microsoft Media Server) Protocol;
Forward step S35 to if S34 resolves successfully, otherwise forward S48 to;
S35, initialization network settings, configuration of APN (access points);
S36, requesting activation PDP (Packet Data Protocol) scene;
S37, judge whether the PDP scene is activated, and is then to forward step S38 to, otherwise forward step S48 to
S38, acquisition Virtual network operator IP address allocated;
S39, initiate TCP as client to WAP gateway and connect, successful then preserve the TCP send window, the size of receive window also forwards step S40 to, and failing then forwards S48 to;
S40, reception MMS packet data;
S41, judgement receive in the buffering area whether also have the MMS packet data, if having, then forward step S42 to, otherwise forward step S40 to;
S42, the data that parsing is received according to MMS (Microsoft Media Server) Protocol;
S43, judge whether to resolve successfully,, otherwise forward step S48 to if success then forwards step S44 to
S44, sender information is outputed to serial ports;
S45, close TCP and connect;
S46, disconnection GPRS connect;
S47, prompting receive successfully prompting, finish whole flow process;
S48, the prompting prompting that takes defeat finish whole flow process.
5, the method for reseptance of multimedia message as claimed in claim 1 is characterized in that, the multimedia message parameter initialization specifically comprises among the step S31: configuration MMS Relay Server/(MMSC) address, multimedia messaging service, MMS center and recipient address.
6, the method for reseptance of multimedia message as claimed in claim 1 is characterized in that, sender information comprises among the step S44: transmitting time, multimedia message title.
CN2007101729837A 2007-12-25 2007-12-25 Method for sending and receiving multimedia message Expired - Fee Related CN101472347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101729837A CN101472347B (en) 2007-12-25 2007-12-25 Method for sending and receiving multimedia message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101729837A CN101472347B (en) 2007-12-25 2007-12-25 Method for sending and receiving multimedia message

Publications (2)

Publication Number Publication Date
CN101472347A true CN101472347A (en) 2009-07-01
CN101472347B CN101472347B (en) 2011-05-11

Family

ID=40829383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101729837A Expired - Fee Related CN101472347B (en) 2007-12-25 2007-12-25 Method for sending and receiving multimedia message

Country Status (1)

Country Link
CN (1) CN101472347B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946593A (en) * 2012-11-29 2013-02-27 广东全通教育股份有限公司 Method and system for packaging mass multimedia messages based on parts and overall cache
CN103037324A (en) * 2012-12-14 2013-04-10 中兴通讯股份有限公司 Method and system for sending and receiving multimedia message
WO2017128488A1 (en) * 2016-01-29 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Voice call method, voice call device and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2862214Y (en) * 2005-12-19 2007-01-24 陈沨 Alarm device of multimedia short-message using mobile communication network
CN100493183C (en) * 2005-12-28 2009-05-27 陈沨 Remote wireless realtime multi-media-messaging service security system
CN101046913B (en) * 2007-05-08 2010-09-29 陈华鹏 Multi-media radio security device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946593A (en) * 2012-11-29 2013-02-27 广东全通教育股份有限公司 Method and system for packaging mass multimedia messages based on parts and overall cache
CN103037324A (en) * 2012-12-14 2013-04-10 中兴通讯股份有限公司 Method and system for sending and receiving multimedia message
WO2017128488A1 (en) * 2016-01-29 2017-08-03 宇龙计算机通信科技(深圳)有限公司 Voice call method, voice call device and terminal

Also Published As

Publication number Publication date
CN101472347B (en) 2011-05-11

Similar Documents

Publication Publication Date Title
JP4809035B2 (en) Method of sharing multimedia data file during wireless instant messaging and portable terminal supporting transmission / reception of multimedia data file
US7424302B2 (en) Methods and apparatus for delivering a message to two or more associated wireless communication devices
US7653734B1 (en) Method for implementing a multimedia messaging service, a multimedia messaging system, a server of a multimedia messaging system and a multimedia terminal
EP2160051A1 (en) Methods and devices for messaging
US9491290B2 (en) Methods and apparatus for delivering a message to two or more associated wireless communication devices
MX2007001440A (en) Method for transmitting application-specific registration or de-registration data and system, server and communication terminal therefor.
WO2007025432A1 (en) A method for realizing information transfer service, the system and the terminal thereof
CN101472347B (en) Method for sending and receiving multimedia message
CN101292490B (en) The communication equipment of multimedia call controlling mechanism and this mechanism of use
KR20090020150A (en) Adaptive converged internet protocol messaging service device and operation method
CN100345425C (en) Method and system for transmitting information from information system to mobile terminal
CN101179591A (en) Method for TV terminal to transmit multimedia message to mobile terminal
CN101873388A (en) Method for sending multimedia information under GSM architecture
CN101309303B (en) PC side and wireless terminal equipment combined multimedia message sending method
CN102611639B (en) System for sending instant message report in instant message system
CN102598735B (en) Set up the method for utility cession, equipment and corresponding notice
EP1826996A1 (en) A method for ensuring the service platform acquiring the information of the user terminal by multi-application protocol
CN101237372B (en) Packet data service transmission method and wireless terminal
CN101141699B (en) Multimedia message client terminal and client terminal communication server and communication implementing method thereof
CN102026111A (en) Method for transceiving mails by using wireless communication module
EP1473917A1 (en) Fixed line multimedia messaging service without SMS notification
US20060104239A1 (en) Apparatus and method for updating packet data session parameters by PDSN in mobile communications system
US20050160173A1 (en) Method and apparatus to terminate dial-up connections on mobile devices
CN101626572B (en) Information authentication method and information authentication system of transmission device management service
CN101437296B (en) Method, apparatus and system for establishing communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160307

Address after: 200335 Shanghai city Changning District Admiralty Road No. 633 building A Room 201

Patentee after: SIMCom Wireless Technology (Shanghai) Co., Ltd.

Address before: 201700 Shengli Road, Qingpu District, Shanghai, No. 888

Patentee before: Shanghai Sunrise Simcom Electronic Technology Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200226

Address after: 201201 room 606-a, building a, 3000 Longdong Avenue, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: Longshang Technology (Shanghai) Co., Ltd.

Address before: 200335 Shanghai city Changning District Admiralty Road No. 633 building A Room 201

Patentee before: Xintong Wireless Technology (Shanghai) Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110511

Termination date: 20201225