CN101699914A - Up-link and down-link service data processing method and relevant device in mobile terminal - Google Patents

Up-link and down-link service data processing method and relevant device in mobile terminal Download PDF

Info

Publication number
CN101699914A
CN101699914A CN200910210870A CN200910210870A CN101699914A CN 101699914 A CN101699914 A CN 101699914A CN 200910210870 A CN200910210870 A CN 200910210870A CN 200910210870 A CN200910210870 A CN 200910210870A CN 101699914 A CN101699914 A CN 101699914A
Authority
CN
China
Prior art keywords
content information
routing iinformation
http
coding
expansion routing
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
CN200910210870A
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN200910210870A priority Critical patent/CN101699914A/en
Publication of CN101699914A publication Critical patent/CN101699914A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an up-link and down-link service data processing method and a relevant device in a mobile terminal, which is used for solving the problem of poor reusability for the relevant processing process of the HTTP protocol content when service data is processed in the prior art. The method comprises the following steps: the up-link data processing device in the mobile terminal receives coding parameter information, expanding route information and content information sent by a service function device in the mobile terminal as well as codes and packages the expanding route information and the content information into at least one HTTP data packet according to the received coding parameter information; the head of each HTTP carries the expanding route information, and the content information is loaded on the loading part of at least one HTTP data packet obtained by coding and packaging; and the HTTP data packet obtained by coding and packaging is sent to the network side.

Description

Up and downlink service data processing method in the portable terminal, and relevant apparatus
Technical field
The present invention relates to the mobile communication technology field, relate in particular to uplink business data processing method, the downlink service data processing method in a kind of portable terminal, the uplink business data processing unit in a kind of portable terminal, the downlink service data processing unit in a kind of portable terminal and a kind of mobile terminal device in a kind of portable terminal.
Background technology
At present, user's value-added service based on data of quite a lot of quantity, for example back up personal information management (PIM, Personal Information Management) professional, the professional (XCAP of XCAP, extensibleconfigure access protocol), in the mobile newspaper service between network side and the terminal mutual data all be to use the message that meets HTML (Hypertext Markup Language) (HTTP, Hyper Text Transfer Protocol) form to carry.
Http protocol has autgmentability preferably, for example except the load p ayload part of HTTP packet, also comprise a plurality of extendible fields in the form of the defined HTTP data packet head of http protocol standard, business function module can be by revising or fill in the demand that field contents in the HTTP data packet head and load content realize transmitting the polytype data in the portable terminal.
Yet in the process that realizes miscellaneous service, the content of the content of HTTP layer and Business Processing aspect is weave in to heavens, and durability is poor.For example, please refer to shown in the accompanying drawing 1, in the PIM business, when resolving HTTP return results information,, then give PIM business function module transmission corresponding event immediately if the return state value is self-defining conditional code in advance.The parsing module of HTTP is just not independent like this, if professional in the future the replacing, then this part code must be revised.Also have, quoted the information of a large amount of business function module in the HTTP coding module in the PIM business, if the business function conversion, then this part processing will have to change.In addition, in the process that sends and receive, also have a lot of fault processing mechanism all closely to combine with operation layer, these processing also will be made corresponding modify along with the change of business.So just cause the processing and the professional processing of HTTP layer closely to be coupled, durability is very poor.
Summary of the invention
The embodiment of the invention provides the processing method of uplink business data in a kind of portable terminal, the processing method of downlink service data, in order to solving in the prior art when the business data processing, to the problem of the correlation procedure durability difference of http protocol content.
Accordingly, the embodiment of the invention also provides processing unit and a kind of mobile terminal device of downlink service data in a kind of portable terminal of processing unit of uplink business data in a kind of portable terminal.
The technical scheme that the embodiment of the invention provides is as follows:
Uplink business data processing method in a kind of portable terminal comprises:
Uplink business data processing unit in the described portable terminal receives coding parameter information, expansion routing iinformation and the content information that the service function device in the described portable terminal sends, and
According to the coding parameter information that receives, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, and described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition; And
The described HTTP packet that the coding encapsulation is obtained sends to network side.
Uplink business data processing unit in a kind of portable terminal comprises:
Receiving element is used for receiving coding parameter information, expansion routing iinformation and content information that the service function device of described portable terminal sends;
The coding encapsulation unit, be used for the coding parameter information that receives according to receiving element, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, and described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition;
Transmitting element is used for the described HTTP packet that the coding encapsulation unit obtains is sent to network side.
A kind of mobile terminal device comprises service function device and uplink business data processing unit, wherein:
Service function device is used to generate coding parameter information, expansion routing iinformation and content information, and coding parameter information, expansion routing iinformation and the content information that generates sent to the uplink business data processing unit;
The uplink business data processing unit, be used for according to the coding parameter information that receives, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition, and the described HTTP packet that the encapsulation of will encoding obtains sends to network side.
Downlink service data processing method in a kind of portable terminal comprises:
Downlink service data processing unit in the described portable terminal receives the HTTP packet that network side sends, and
The HTTP data that receive are decoded the content information that the expansion routing iinformation that carry the header part of acquisition packet and the payload segment of packet carry; And
Expansion routing iinformation that obtains decoding and content information send to the service function device in the portable terminal.
Downlink service data processing unit in a kind of portable terminal comprises:
Receiving element is used to receive the HTTP packet that network side sends;
Decoding unit, the HTTP data that are used for receiving element is received are decoded, the content information that the expansion routing iinformation that carry the header part of acquisition packet and the payload segment of packet carry;
Transmitting element is used for the service function device that expansion routing iinformation that decoding unit is obtained and content information send to portable terminal.
A kind of mobile terminal device comprises service function device and downlink service data processing unit, wherein:
The downlink service data processing unit, be used to receive the HTTP packet that network side sends, and the HTTP data that receive are decoded, obtain the content information that the payload segment of the expansion routing iinformation that the header part of packet carries and packet carries, and the expansion routing iinformation of the acquisition of will decode and content information send to the service function device in the portable terminal;
Service function device is used to receive expansion routing iinformation and the content information that the downlink service data processing unit is sent.
The coding parameter information that the embodiment of the invention sends by the business function module in the mobile terminal receive, expansion routing iinformation and content information; And according to the coding parameter information that receives, to expand routing iinformation and content information coding and be encapsulated as HTML (Hypertext Markup Language) HTTP packet, the payload segment that the header part of described HTTP packet carries described expansion routing parameter information, described HTTP packet carries described content information; And the described HTTP packet that obtains of the encapsulation of will encoding sends to the scheme of network side, and the relevant treatment that has realized the http protocol content is separated with the processing of business tine, solved can not be multiplexing to the correlation procedure of http protocol content problem.
Description of drawings
Fig. 1 is based on the transmitting-receiving schematic flow sheet of HTTP packet loaded service message in the prior art;
Fig. 2 is the main realization principle flow chart of the embodiment of the invention;
The flow chart of the process that Fig. 3 handles for the content information of backup PIM business function module being sent in the embodiment of the invention;
The state transition diagram of service data processing apparatus in the portable terminal that Fig. 4 provides for the embodiment of the invention;
The structural representation of the uplink business data processing unit in the portable terminal that Fig. 5 provides for the embodiment of the invention;
The structural representation of coding encapsulation unit in the portable terminal that Fig. 6 provides for the embodiment of the invention;
The structural representation of the downlink service data processing unit in the portable terminal that Fig. 7 provides for the embodiment of the invention.
Embodiment
Because there is the problem of durability difference in existing use HTTP packet loaded service in the business data processing process of mobile terminal side, the embodiment of the invention proposes the processing scheme of business datum in a kind of portable terminal.
This scheme is separated the relevant treatment of http protocol content and the processing of business tine when business datum is handled, thereby has improved the reusability of http protocol content relevant treatment step.
Be explained in detail to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
As shown in Figure 2, the main realization principle process of the embodiment of the invention is as follows:
Send to the uplink business data of network side, execution in step 10~step 30 for terminal:
Step 10, the coding parameter information that the service function device in the mobile terminal receive sends, expansion routing iinformation and content information;
Step 20, the coding parameter information that receives according to step 10, described expansion routing iinformation and content information coding are encapsulated as HTML (Hypertext Markup Language) HTTP packet, and the payload segment that the header part of described HTTP packet carries described expansion routing parameter information, described HTTP packet carries described content information;
Step 30, the HTTP packet that the encapsulation of step 20 coding is obtained sends to network side.
Send to the downlink service data of terminal, execution in step 40~step 60 for network side:
Step 40 receives the HTTP packet that network side sends;
Step 50 is decoded to the HTTP data that step 40 receives, the content information that the expansion routing iinformation that carry the header part of acquisition packet and the payload segment of packet carry;
Step 60, described expansion routing iinformation that step 50 is obtained and content information send to the service function device in the portable terminal.
Below will be according to foregoing invention principle of the present invention, be example with backup PIM business, introduce an embodiment in detail and come the main realization principle of the inventive method is explained in detail and illustrates.
Backup PIM business be the user change net, change portable terminal or customized informations such as the relevant information of the contact person in other telephone directories of preserving in need be with portable terminal, schedule transfer to the business that network side backs up.
Send to the uplink business data of network side for terminal, concrete processing procedure is as follows:
The uplink business data processing unit receives coding parameter information, expansion routing iinformation and the content information that backup PIM service function device sends, and wherein coding parameter information comprises the HTTP version identifier; The expansion routing iinformation comprise the byte length of the memory space that routing iinformation, content information such as the IP address, acting server IP address of IP address, port numbers, the domain name server (DNS) of destination equipment take and GET, PUT, POST, DELETE etc. with the http server alternant way, be used for being attached to other extend informations such as information of extended fields such as HTTP heading ContentType; Content information comprises will be at service related informations such as the contact method of the contact person in the telephone directory of network side backup, addresses.
The uplink business data processing unit is according to the coding parameter information that receives, HTTP version identifier for example, the expansion routing iinformation that receives and content information coding are encapsulated as the HTTP packet of the HTTP format version of described HTTP version identifier correspondence, and the header field structure of the packet of different HTTP versions can be different.The information that backup PIM service function device sends can be for forms such as character string, character, integers, at this moment the information that above-mentioned backup PIM service function device sends should be encoded to the information of 2 system forms.The header part of the HTTP packet that encapsulation obtains carries described expansion routing parameter information, payload segment carries described content information.
Then, the HTTP packet that the coding encapsulation is obtained sends to network side.
Preferably, because the data volume that HTTP packet payload segment can carry is limited, the uplink business data processing unit is receiving the coding parameter information that backup PIM service function device sends, after expansion routing iinformation and the content information, should judge the data volume of the content information that receives, or claim shared memory space whether can carry the threshold value of maximum data volumes greater than predetermined HTTP packet payload segment, when judging the shared memory space of the content information that receives greater than predetermined threshold, preserve described content information, and described content information is divided into the partial content information of at least two memory spaces that take less than threshold value, the quantity of the concrete required part of cutting apart can be determined by the data volume of the described content information that receives and the ratio of predetermined threshold.For example, the data volume of the content information that the backup PIM service function device that receives sends is 10k, and the payload segment of each HTTP packet can only carry the information of 1k, needs to be divided into 10 HTTP packets so and sends the content information that backup PIM service function device is sent.
At each part of cutting apart acquisition, described expansion routing iinformation and this partial content information coding are encapsulated as HTML (Hypertext Markup Language) HTTP packet, and the payload segment that the header part of described HTTP packet carries described expansion routing parameter information, described HTTP packet carries described partial content information.
Usually the uplink business data processing unit has the memory space of a preliminary dimension to be used to preserve the content information that backup PIM service function device sends, when the clearance spaces in the memory space of preliminary dimension is not enough to hold the content information of backup PIM service function device transmission, need redistributes new memory space and preserve the content information that backup PIM service function device sends.Concrete allocation strategy is of a size of 2 times of original preliminary dimension for the new memory space that distributes for the first time, if the new memory space that distributes still is not enough to hold the content information that backup PIM service function device sends for the first time, then the new memory space that distributes for the second time is of a size of 2 times of the size redistributed for the first time, and the like.
If also have partial information in the original memory space of uplink business data processing unit, then original information is copied in the memory space of new distribution, the content information that the PIM service function device that receives is sent is connected to after original information of duplicating in the newly assigned memory space again.
Preferably, the uplink business data processing unit adopts processing mode as shown in Figure 3 after receiving the content information that backup PIM service function device sends:
Step 31 judges that whether the data volume of the content information receive can carry the threshold value of maximum data volumes greater than a predetermined HTTP packet payload segment, if, adopt the mode of cutting apart encapsulation, enter step 32; Otherwise, directly be encapsulated as a HTTP packet with the expansion routing iinformation;
Step 32 judges whether the memory space of described preliminary dimension is enough to hold the content information that backup PIM service function device sends, if enter step 33, otherwise enter step 34;
Step 33, the content information that backup PIM service function device is sent is saved in the above-mentioned memory space, and described content information is divided into two parts at least, and the content information of every part is carried by a HTTP packet respectively;
Step 34 judges in the memory space of described preliminary dimension whether canned data is arranged, if enter step 35, otherwise enters step 36;
Step 35, with in the memory space of existing preliminary dimension canned data copy in the newly assigned memory space, the content information that the PIM service function device that receives is sent is connected in the newly assigned memory space that stores the canned data that duplicates again, enters step 37;
Step 36, the content information that the PIM service function device that receives is sent copies in the newly assigned memory space, enters step 37;
Step 37 is divided into two parts at least with the content information in the newly assigned memory space, and the content information of every part is carried by a HTTP packet respectively.
Below provided to the designated memory space copy data and data be connected to the example of designated memory space:
typedef?struct_DynamicBufType
{
uint32?nSize;/*capability*/
uint32?nUsed;/*used?length*/
byte*?pBuf;/*buffer?pointer*/
}DynamicBufType;
/**************************************************************************
*Function:APP_Utils_DynamicCopy
* Description: to the destination buffer copies data
**********************/
boolean?qdkprov_Utils_DynamicCopy(QXcapDynamicBufType*?pDest,byte*?pSrc,uint32
nLen)
{
boolean?bRet=TRUE;
if((NULL==pSrc)||(0==nLen))
{
DBGPRINTF_MED(″Warning?PARAM,pSrc=%d,nLen=%d″,pSrc,nLen,0);
return?TRUE;
}
If ((nLen+pDest->nUsed)>pDest->nSize) // size is judged
{
byte*pTemp=NULL;
Uint32nRealocSize=MAX (2*pDest->nSize, (pDest->nSize+nLen)); // dispensed sky
Between
DBGPRINTF_MED(″Realloc?%d?bytes″,nRealocSize);
pTemp=MALLOC(nRealocSize);
if(pTemp)
{
MEMSET(pTemp,0,nRealocSize);
MEMCPY(pTemp,pSrc,nLen);
/*First?free?the?original?buffer*/
FREEIF(pDest->pBuf);
pDest->nSize=nRealocSize;
pDest->nUsed=nLen;
pDest->pBuf=pTemp;
}
else
{
bRet=FALSE;
DBGPRINTF_ERROR(″Cannot?malloc?the?memory″,0,0,0);
}
}
else
{
MEMCPY(pDest->pBuf,pSrc,nLen);
pDest->nUsed+=nLen;
}
return?bRet;
}
/**************************************************************************
*Function:APP_Utils_DynamicCat
* Description: data are connected to destination buffer
**********************/
boolean?qdkprov_Utils_DynamicCat(QXcapDynamicBufType*?pDest,byte*?pSrc,uint32
nLen)
{
boolean?bRet=TRUE;
DBGPRINTF_HIGH(″pDest->nSize=%d,pDest->nUsed=%d,nLen=%d″,
pDest->nSize,pDest->nUsed,nLen);
if((NULL==pSrc)||(0==nLen))
{
DBGPRINTF_ERROR(″PARAM?error,pSrc=%d,nLen=%d″,pSrc,nLen,0);
return?FALSE;
}
if((nLen+pDest->nUsed)>pDest->nSize)
{
byte*pTemp=NULL;
uint32nRealocSize=MAX(2*pDest->nSize,(pDest->nSize+nLen));
pTemp=MALLOC(nRealocSize);
if(pTemp)
{
MEMSET(pTemp,0,nRealocSize);
MEMCPY(pTemp,pDest->pBuf,pDest->nUsed);
MEMCPY(pTemp+pDest->nUsed,pSrc,nLen);
/*First?free?the?original?buffer*/
FREEIF(pDest->pBuf);
pDest->nSize=nRealocSize;
pDest->nUsed=pDest->nUsed+nLen;
pDest->pBuf=pTemp;
}
else
{
bRet=FALSE;
DBGPRINTF_ERROR(″Cannot?malloc?the?memory″,0,0,0);
}
}
else
{
MEMCPY(pDest->pBuf+pDest->nUsed,pSrc,nLen);
pDest->nUsed+=nLen;
}
return?bRet;
}
Send to the downlink service data of terminal for network side, concrete processing procedure is as follows:
The downlink service data processing unit receives the HTTP packet that network side sends;
The downlink service data processing unit is decoded to the HTTP data that receive according to the structure of predetermined HTTP packet, the content information that the expansion routing iinformation that carry the header part of acquisition packet and the payload segment of packet carry.
The downlink service data processing unit sends to backup PIM service function device in the portable terminal with described expansion routing iinformation and content information, specifically can adopt multiple mode to send expansion routing iinformation and the content information that decoding obtains to backup PIM service function device, for example:
There is a readjustment sign position, the state of this readjustment sign position can be divided into effectively and disarmed state, the downlink service data processing unit is after decoding obtains expansion routing iinformation and content information, judge whether readjustment sign position has been set to effective status, if expansion routing iinformation that will obtain immediately and content information send to backup PIM service function device; Otherwise, preserve the expansion routing iinformation and the content information that obtain, after backup PIM service function device sent data acquisition request, the expansion routing iinformation that will preserve again and content information sent to backup PIM service function device.
Other functional modules in backup PIM service function device or the portable terminal can set in advance the state of above-mentioned readjustment sign position, what the state of readjustment sign position also can be for acquiescence.
Preferably, the function of above-mentioned uplink business data processing unit and downlink service data processing unit also can be realized by same service data processing apparatus, please refer to accompanying drawing 4, is the state transition diagram of the processing unit of this business datum.
The embodiment of the invention is that example is introduced with PIM Business Processing process, and the processing method of business datum also is applicable to various processing procedures based on HTTP packet loaded service in the portable terminal that the embodiment of the invention provides, and has versatility.
The embodiment of the invention by the uplink business data processing unit receive that other applied function modules send need be with the various information of HTTP packet carrying, and according to the difference of information category, coding is encapsulated as the HTTP packet and sends to network equipment, and the downlink service data processing unit receives after the HTTP packet of network equipment transmission, be decoded as the information that information that the packet header part comprises and payload segment comprise, and the information that obtains of will decoding sends to other applied function modules.Thereby realize based on separating the relevant treatment of http protocol content and the processing of business tine in the processing procedure of HTTP packet loaded service, wherein the relevant treatment of http protocol content can generally be applicable to all processing procedures based on HTTP packet loaded service, have versatility, durability is stronger.
Correspondingly, the embodiment of the invention also provides the processing unit of the uplink business data in a kind of portable terminal, and as shown in Figure 5, this device comprises receiving element 501, coding encapsulation unit 502 and transmitting element 503, and is specific as follows:
Receiving element 501 is used for receiving coding parameter information, expansion routing iinformation and content information that the service function device of described portable terminal sends;
Coding encapsulation unit 502, be used for the coding parameter information that receives according to receiving element 501, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, and described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition;
Transmitting element 503 is used for the described HTTP packet that coding encapsulation unit 502 obtains is sent to network side.
Preferably, please refer to accompanying drawing 6, the coding encapsulation unit in the accompanying drawing 5 specifically comprises judgment sub-unit 601, the first encapsulation subelement 602, cuts apart the subelement 603 and the second encapsulation subelement 604, wherein:
Judgment sub-unit 601 is used to judge that whether the shared memory space of content information that receiving element 501 receives is greater than predetermined threshold;
The first encapsulation subelement 602, be used for when judgment sub-unit 601 is judged the shared memory space of content information that receiving element 501 receives and is not more than predetermined threshold, the coding parameter information that receives according to receiving element 501, expansion routing iinformation and content information coding that receiving element 501 is received are encapsulated as HTML (Hypertext Markup Language) HTTP packet, and the payload segment that the header part of described HTTP packet carries described expansion routing iinformation, described HTTP packet carries described content information;
Cut apart subelement 603, be used for when judgment sub-unit 601 is judged the shared memory space of content information that receiving element 501 receives greater than predetermined threshold, preserve described content information, and described content information is divided into the part of at least two shared memory spaces less than predetermined threshold;
The second encapsulation subelement 604, be used for cutting apart each part of acquisition at cutting apart subelement 603, the coding parameter information that receives according to receiving element 501, expansion routing iinformation and this partial content information coding that receiving element 501 is received are encapsulated as HTML (Hypertext Markup Language) HTTP packet, and the payload segment that the header part of described HTTP packet carries described expansion routing iinformation, described HTTP packet carries described partial content information.
Please refer to accompanying drawing 5, the embodiment of the invention also provides a kind of mobile terminal device, comprises service function device and uplink business data processing unit, wherein:
Service function device is used to generate coding parameter information, expansion routing iinformation and content information, and coding parameter information, expansion routing iinformation and the content information that generates sent to the uplink business data processing unit;
The uplink business data processing unit, be used for according to the coding parameter information that receives, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition, and the described HTTP packet that the encapsulation of will encoding obtains sends to network side.
Please refer to accompanying drawing 7, the embodiment of the invention also provides the processing unit of the downlink service data in a kind of portable terminal, comprises receiving element 701, decoding unit 702 and transmitting element 703, wherein:
Receiving element 701 is used to receive the HTTP packet that network side sends;
Decoding unit 702, the HTTP data that are used for receiving element 701 is received are decoded, the content information that the expansion routing iinformation that carry the header part of acquisition packet and the payload segment of packet carry;
Transmitting element 703 is used for the service function device that expansion routing iinformation that decoding unit 702 is obtained and content information send to portable terminal.
Preferably, the device in the accompanying drawing 7 also comprises acquiring unit 704, is used to obtain the state information of readjustment sign position;
When transmitting element 703 was effective status in the described readjustment sign position that described acquiring unit 704 gets access to, described expansion routing iinformation and the content information that decoding unit 702 is obtained sent to described service function device immediately;
Otherwise, preserve described expansion routing iinformation and content information that decoding unit 702 obtains, and after the request that receives described service function device, expansion routing iinformation and the content information of preserving sent to described service function device.
Please refer to accompanying drawing 7, the present invention also provides a kind of mobile terminal device, comprises service function device and downlink service data processing unit, wherein:
The downlink service data processing unit, be used to receive the HTTP packet that network side sends, and the HTTP data that receive are decoded, obtain the content information that the payload segment of the expansion routing iinformation that the header part of packet carries and packet carries, and the expansion routing iinformation of the acquisition of will decode and content information send to the service function device in the portable terminal;
Service function device is used to receive expansion routing iinformation and the content information that the downlink service data processing unit is sent.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. the uplink business data processing method in the portable terminal is characterized in that, comprising:
Uplink business data processing unit in the described portable terminal receives coding parameter information, expansion routing iinformation and the content information that the service function device in the described portable terminal sends, and
According to the coding parameter information that receives, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, and described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition; And
The described HTTP packet that the coding encapsulation is obtained sends to network side.
2. the uplink business data processing unit in the portable terminal is characterized in that, comprising:
Receiving element is used for receiving coding parameter information, expansion routing iinformation and content information that the service function device of described portable terminal sends;
The coding encapsulation unit, be used for the coding parameter information that receives according to receiving element, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, and described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition;
Transmitting element is used for the described HTTP packet that the coding encapsulation unit obtains is sent to network side.
3. device as claimed in claim 2 is characterized in that, the coding parameter information that described receiving element receives comprises the http protocol version identifier.
4. device as claimed in claim 3, it is characterized in that, the http protocol version identifier that described coding encapsulation unit receives according to receiving element is encapsulated as described expansion routing iinformation and content information coding the HTTP packet of the release format of described http protocol version identifier correspondence.
5. device as claimed in claim 2 is characterized in that, described coding encapsulation unit pack is drawn together:
Judgment sub-unit is used to judge that whether the shared memory space of content information that receiving element receives is greater than predetermined threshold;
The first encapsulation subelement, be used for when judgment sub-unit is judged the shared memory space of content information that receiving element receives and is not more than predetermined threshold, the coding parameter information that receives according to receiving element, expansion routing iinformation and content information coding that receiving element is received are encapsulated as HTML (Hypertext Markup Language) HTTP packet, and the payload segment that the header part of described HTTP packet carries described expansion routing iinformation, described HTTP packet carries described content information;
Cut apart subelement, be used for when judgment sub-unit is judged the shared memory space of content information that receiving element receives greater than predetermined threshold, preserve described content information, and described content information is divided into the part of at least two shared memory spaces less than predetermined threshold;
The second encapsulation subelement, be used for cutting apart each part of acquisition at cutting apart subelement, the coding parameter information that receives according to receiving element, expansion routing iinformation and this partial content information coding that receiving element is received are encapsulated as HTML (Hypertext Markup Language) HTTP packet, and the payload segment that the header part of described HTTP packet carries described expansion routing iinformation, described HTTP packet carries described partial content information.
6. a mobile terminal device is characterized in that, comprises service function device and uplink business data processing unit, wherein:
Service function device is used to generate coding parameter information, expansion routing iinformation and content information, and coding parameter information, expansion routing iinformation and the content information that generates sent to the uplink business data processing unit;
The uplink business data processing unit, be used for according to the coding parameter information that receives, described expansion routing iinformation and content information coding are encapsulated as at least one HTML (Hypertext Markup Language) HTTP packet, the header part of described each HTTP packet carries described expansion routing iinformation, described content information is carried on the payload segment of described at least one HTTP packet of coding encapsulation acquisition, and the described HTTP packet that the encapsulation of will encoding obtains sends to network side.
7. the downlink service data processing method in the portable terminal is characterized in that, comprising:
Downlink service data processing unit in the described portable terminal receives the HTTP packet that network side sends, and
The HTTP data that receive are decoded the content information that the expansion routing iinformation that carry the header part of acquisition packet and the payload segment of packet carry; And
Expansion routing iinformation that obtains decoding and content information send to the service function device in the portable terminal.
8. the downlink service data processing unit in the portable terminal is characterized in that, comprising:
Receiving element is used to receive the HTTP packet that network side sends;
Decoding unit, the HTTP data that are used for receiving element is received are decoded, the content information that the expansion routing iinformation that carry the header part of acquisition packet and the payload segment of packet carry;
Transmitting element is used for the service function device that expansion routing iinformation that decoding unit is obtained and content information send to portable terminal.
9. device as claimed in claim 8 is characterized in that, also comprises:
Acquiring unit is used for obtaining the state information of the readjustment sign position of described portable terminal;
When transmitting element was effective status in the described readjustment sign position that described acquiring unit gets access to, described expansion routing iinformation and the content information that decoding unit is obtained sent to described business function module immediately;
Otherwise, preserve described expansion routing iinformation and content information that decoding unit obtains, and after the request that receives described business function module, expansion routing iinformation and the content information of preserving sent to described business function module.
10. device as claimed in claim 9 is characterized in that, the state information of the readjustment sign position in the described portable terminal that acquiring unit gets access to is to be set in advance by the business function module in the described portable terminal.
11. a mobile terminal device is characterized in that, comprises service function device and downlink service data processing unit, wherein:
The downlink service data processing unit, be used to receive the HTTP packet that network side sends, and the HTTP data that receive are decoded, obtain the content information that the payload segment of the expansion routing iinformation that the header part of packet carries and packet carries, and the expansion routing iinformation of the acquisition of will decode and content information send to the service function device in the portable terminal;
Service function device is used for expansion routing iinformation and content information that descending reception service data processing apparatus is sent.
CN200910210870A 2009-11-11 2009-11-11 Up-link and down-link service data processing method and relevant device in mobile terminal Pending CN101699914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910210870A CN101699914A (en) 2009-11-11 2009-11-11 Up-link and down-link service data processing method and relevant device in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910210870A CN101699914A (en) 2009-11-11 2009-11-11 Up-link and down-link service data processing method and relevant device in mobile terminal

Publications (1)

Publication Number Publication Date
CN101699914A true CN101699914A (en) 2010-04-28

Family

ID=42148351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910210870A Pending CN101699914A (en) 2009-11-11 2009-11-11 Up-link and down-link service data processing method and relevant device in mobile terminal

Country Status (1)

Country Link
CN (1) CN101699914A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143200A (en) * 2010-10-20 2011-08-03 华为技术有限公司 Public message header carrying method and public message header carrying device for transferring SOAP API into REST API
CN103905300A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Data message sending method, device and system
CN111277512A (en) * 2018-12-04 2020-06-12 中国移动通信集团浙江有限公司 Method and device for improving video service perception

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143200A (en) * 2010-10-20 2011-08-03 华为技术有限公司 Public message header carrying method and public message header carrying device for transferring SOAP API into REST API
CN102143200B (en) * 2010-10-20 2013-09-11 华为技术有限公司 Public message header carrying method and public message header carrying device for transferring SOAP API into REST API
US8776085B2 (en) 2010-10-20 2014-07-08 Huawei Technologies Co., Ltd. Common message header bearing method and apparatu for converting soap API into rest API
CN103905300A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Data message sending method, device and system
CN111277512A (en) * 2018-12-04 2020-06-12 中国移动通信集团浙江有限公司 Method and device for improving video service perception

Similar Documents

Publication Publication Date Title
CN102685203B (en) The method and apparatus of transmitting data resources
JP3599673B2 (en) Wireless data transmitting and receiving apparatus and method
CN109756536A (en) A kind of method, apparatus and system of data transmission
CN101465791B (en) Document transmission method based on unidirection link
US8433822B2 (en) System, method and apparatus for optimized wireless messaging
CN101689964B (en) Method and apparatus for packet transmission using CRC and equal length packets
CN112003937B (en) Satellite data transmission method, device, computer equipment and storage medium
CN111107051A (en) Message transmission method and device, computer equipment and storage medium
US11023412B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
WO2020147403A1 (en) Cloud storage based file processing method, system and computer device
CN110635867B (en) Communication method, network equipment and terminal
AU2006290994B2 (en) Method for indicating padding in a digital mobile radio system
CN111263448A (en) Method and device for information transmission
CN101588376A (en) Information releasing method, device and system
EP3893419A1 (en) Data retransmission decoding method, apparatus and system, and communication device
CN101699914A (en) Up-link and down-link service data processing method and relevant device in mobile terminal
CN1758801B (en) Apparatus and method for message transmission in a mobile communication terminal
CN103138871A (en) Server data processing system and method of application program of mobile communication system
US20010049279A1 (en) Method of optimizing the storage of information in a mobile radiocommunications terminal and a terminal for implementing the method
EP3672189A1 (en) Data transmission method, device and system
CN103346961B (en) The method and system that a kind of data packing is exchanged
CN103118023B (en) A kind of method and system of the data of transmission specification in a network
CN101197823A (en) Method, system and device for decompression information transmission in compression/decompression course
CN103139757B (en) A kind of data transmission system of application program for mobile terminal is unified method
FI124082B (en) Server, method of using the server and 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100428