Source: https://patents.google.com/patent/JP2008152629A/en
Timestamp: 2020-01-17 14:28:46
Document Index: 210318145

Matched Legal Cases: ['art 22', 'art 23', 'art 24', 'art 25', 'art 26', 'art 27', 'art 28']

JP2008152629A - Mobile communication network system and server device - Google Patents
Mobile communication network system and server device Download PDF
JP2008152629A
JP2008152629A JP2006341360A JP2006341360A JP2008152629A JP 2008152629 A JP2008152629 A JP 2008152629A JP 2006341360 A JP2006341360 A JP 2006341360A JP 2006341360 A JP2006341360 A JP 2006341360A JP 2008152629 A JP2008152629 A JP 2008152629A
JP2006341360A
JP4976121B2 (en
Sohei Tani
友則 中村
尚 浜田
壮平 谷
2006-12-19 Priority to JP2006341360A priority Critical patent/JP4976121B2/en
2008-07-03 Publication of JP2008152629A publication Critical patent/JP2008152629A/en
2012-07-18 Publication of JP4976121B2 publication Critical patent/JP4976121B2/en
238000010295 mobile communication Methods 0 abstract title 6
<P>PROBLEM TO BE SOLVED: To sufficiently shorten time required for acquiring content with a mobile terminal device. <P>SOLUTION: A mobile communication network system is provided with; a cellular phone machine 10 having a browsing function; and a mobile communication center 11 which manages mobile communication in the cellular phone machine 10 via a mobile communication network 13. In this case, when receiving a request for accessing a website from the cellular phone machine 10, the mobile communication center 11 determines whether the request satisfies prescribed conditions. If the prescribed conditions are satisfied, pipeline processing, which can continuously receive HTTP requests from the cellular phone machine 10, is carried out. <P>COPYRIGHT: (C)2008,JPO&INPIT
The present invention relates to a mobile communication network system and a server device, and more particularly to a mobile communication network system having a mobile terminal device having a Web browser function (hereinafter simply referred to as “browser function”) and mobile communication of the mobile terminal device. The present invention relates to a server device to be managed.
Conventionally, mobile phones equipped with a browser function and capable of browsing Web sites on the Internet have become widespread. Currently, such mobile phones mainly have a browser function capable of browsing websites created for mobile phones, but in recent years they are not mobile phone websites but personal computers. Those having a browser function (so-called full browser function) capable of browsing a Web site created for the Internet have started to spread.
In general, in a browser function of a mobile phone, content (hereinafter simply referred to as “content”) for displaying a website by communicating with a content server on the Internet according to an HTTP protocol via a mobile communication center having a gateway function. Get). In the HTTP protocol, it is usually possible to acquire content by repeating a request transmitted from a mobile phone as a client to a content server and a response responding from the content server to the mobile phone in response to this request. Yes. Since the request transmitted from the mobile phone is issued after receiving the response to the previously transmitted request, it is easily affected by the congestion status of the communication line. For this reason, when a request and a response are repeated in a situation where the communication line is congested, it may take a long time to acquire the content.
On the other hand, HTTP / 1.1 (RFC 2616), which is an Internet standard, defines the pipelining of requests transmitted from a client (request pipeline). This request pipeline is a technique for continuously transmitting a plurality of requests without waiting for reception of individual responses. By using this request pipeline, the next request was sent after waiting for the response to the previous request to be returned. However, it is possible to send the request continuously without waiting for the response. The time required for transmitting the request can be reduced, and the time for acquiring the content can be shortened.
Here, in order to execute the request pipeline, the content server needs to support HTTP / 1.1. If the content server does not support HTTP / 1.1, the request and the response are repeated as described above. Conventionally, there has been proposed an improved data communication method capable of performing communication between a user device and a server device in accordance with the HTTP protocol even when the content server does not support HTTP / 1.1. (For example, refer to Patent Document 1). In this improved data communication method, when the content server does not support HTTP / 1.1, the HTTP protocol protocol is converted between the user device and the content server by converting the HTTP protocol version in the proxy server. Secured.
JP-T-2004-530231
However, in the above-described conventional improved data communication method, if the content server does not support HTTP / 1.1, the proxy server must convert the HTTP protocol version every time a request or response arrives. In addition, there is a problem that the time for acquiring the content cannot be sufficiently shortened by the time required for the conversion process.
The present invention has been made in view of such problems, and an object of the present invention is to provide a mobile communication network system and a server device capable of sufficiently shortening the time for acquiring content in a mobile terminal device. And
A mobile communication network system of the present invention includes a mobile terminal device having a browser function and a server device that manages mobile communication in the mobile terminal device via a mobile communication network. When receiving a request for access, the server device determines whether the request satisfies a predetermined condition, and a pipeline that can continuously receive an HTTP request from the mobile terminal device when the predetermined condition is satisfied. A process is executed.
According to this configuration, when a request received from the mobile terminal device satisfies a predetermined condition, the server device executes pipeline processing that can continuously receive HTTP requests from the mobile terminal device. As a result of repeated requests and responses in the communication network, it is possible to prevent a situation in which the communication time becomes longer due to the influence of the communication status in the mobile communication network. It can be shortened.
In the mobile communication network system, it is conceivable that the server device determines execution of the pipeline processing according to the UA, HTTP version, and method contents of the request. For example, if the UA of the request is a terminal that supports the pipeline processing and is an access from a predetermined browser, the HTTP version is HTTP / 1.1, and the pipeline processing is executed in the case of a predetermined method Is preferred. As the predetermined browser, for example, a case of access from a full browser or a mobile terminal device browser can be considered. As the predetermined method, for example, GET or HEAD, or GET, HEAD or POST may be considered. In this case, since execution of the pipeline processing is determined according to the UA, HTTP version, and method contents of the request from the mobile terminal device, the pipeline processing in the mobile communication network is executed only when necessary. It becomes possible.
The mobile communication network system further includes a content distribution device that distributes content to the mobile terminal device via the server device, wherein the server device continuously receives HTTP requests received in the pipeline processing. May be sequentially transmitted to the content distribution apparatus, while an HTTP response corresponding to the HTTP request may be received from the content distribution apparatus. In this case, even when content is distributed from the content distribution device to the mobile terminal device via the server device, the request and response are repeated in the mobile communication network, which is affected by the communication status in the mobile communication network. Therefore, it is possible to sufficiently shorten the time for acquiring content in the mobile terminal device.
In particular, even when the content distribution apparatus does not support HTTP / 1.1 and the request pipeline cannot be executed, the request and response in the mobile communication network are performed by the pipeline processing in the mobile communication network. As a result, the situation in which the communication time becomes longer due to the influence of the communication status in the mobile communication network is prevented, so that the time for acquiring content in the mobile terminal device can be sufficiently shortened. Become. Also, in the server device, unlike the conventional improved data communication method, it is not necessary to convert the HTTP protocol version, so that it takes a long time to acquire content according to the time required for the protocol conversion process. Does not occur.
Further, in the mobile communication network system, when the server device detects an illegal Content-length in an HTTP response from the content distribution device, an HTTP request from the mobile terminal device or the content distribution device as necessary. It is preferable to discard the HTTP response from and continue the pipeline processing. In this case, even when Content-length fraud is detected in the HTTP response, the HTTP request from the mobile terminal device or the HTTP response from the content distribution device is discarded as necessary, and the pipeline processing is continued. Therefore, it is possible to reduce the time for acquiring content in the mobile terminal device while preventing a situation in which communication between the mobile terminal device and the content distribution device is cut off in response to content-length fraud. It becomes possible.
For example, in the mobile communication network system described above, the server device, if the content-length value in the HTTP response from the content distribution device is larger than the data actually transmitted from the content distribution device, The HTTP request from the terminal device is discarded. In this case, if the Content-length value is larger than the data actually transmitted from the content distribution device, the HTTP request from the mobile terminal device is discarded as necessary, so that the HTTP request remains. It is possible to prevent a situation in which the subsequent pipeline processing is restricted due to this.
In the mobile communication network system, the server device distributes the content distribution as necessary when a content-length value in an HTTP response from the content distribution device is smaller than data actually transmitted from the content distribution device. Discard the HTTP response from the device. In this case, when the content-length value is smaller than the data actually transmitted from the content distribution device, the HTTP response from the content distribution device is discarded as necessary, so that the HTTP response remains. As a result, it is possible to prevent a situation where the subsequent pipeline processing is limited.
Further, in the mobile communication network system, the server device discards the HTTP request from the mobile terminal device as necessary when there is no Content-length header in the HTTP response from the content distribution device. In this case, since the HTTP request from the mobile terminal device is discarded as necessary when the Content-length header does not exist in the HTTP response, the subsequent pipeline processing due to the remaining HTTP request. Can be prevented from being restricted.
In the mobile communication network system, when a close is added to the connection header of the HTTP response from the content distribution device, the server device rewrites the content of the connection header to Keep-Alive and performs the pipeline processing. It is preferable to continue. In this case, even when a close is added to the connection header in the HTTP response, the pipeline processing is continued by rewriting the content of the connection header to Keep-Alive, so the close given to the connection header Accordingly, it is possible to reduce the time for acquiring content in the mobile terminal device while preventing a situation where communication between the mobile terminal device and the content distribution device is disconnected.
The server device of the present invention is a server device that manages mobile communication in a mobile terminal device via a mobile communication network, and includes a request receiving unit that receives a request from the mobile terminal device, and the request receiving unit. A pipeline determination unit that determines whether a received request satisfies a predetermined condition, and executes a pipeline process capable of continuously receiving an HTTP request from the mobile terminal device when the predetermined condition is satisfied; and the pipeline A request holding unit that holds HTTP requests continuously received from the mobile terminal device in processing, and a response transmission unit that sends a response to the mobile terminal device.
According to this configuration, the pipeline determination unit determines whether the request received from the mobile terminal apparatus satisfies the predetermined condition, and can continuously receive HTTP requests from the mobile terminal apparatus when the predetermined condition is satisfied. Since the pipeline processing is executed, if the request from the mobile terminal device satisfies the predetermined condition, the request and response are repeated in the mobile communication network, which is affected by the communication status in the mobile communication network. Since a situation in which the communication time is prolonged is prevented, it is possible to sufficiently shorten the time for acquiring content in the mobile terminal device.
In the server apparatus, the pipeline determination unit may execute the pipeline process according to the UA, HTTP version, and method content of the request. For example, pipeline processing is executed when the UA of the request is a terminal that supports the pipeline processing and is an access from a predetermined browser, the HTTP version is HTTP / 1.1, and the method is a predetermined method. It is preferable. As the predetermined browser, for example, a case of access from a full browser or a mobile terminal device browser can be considered. As the predetermined method, for example, GET or HEAD, or GET, HEAD or POST may be considered. In this case, since pipeline processing is executed according to the contents of the UA, HTTP version, and method of the request from the mobile terminal device, it is possible to execute the pipeline processing in the mobile communication network only when necessary. It becomes possible.
In the server device, a request transmission unit that transmits a request from the mobile terminal device to a content distribution device, a response reception unit that receives a response from the content distribution device, and an HTTP received by the response reception unit A content-length determination unit that determines whether the content-length is invalid in the response. When the content-length determination unit detects the content-length fraud, the HTTP request from the mobile terminal device is detected as necessary. Alternatively, it is preferable that the HTTP response from the content distribution apparatus is discarded and the pipeline processing is continued. In this case, even when Content-length fraud is detected in the HTTP response, the HTTP request from the mobile terminal device or the HTTP response from the content distribution device is discarded as necessary, and the pipeline processing is continued. Therefore, it is possible to reduce the time for acquiring content in the mobile terminal device while preventing a situation in which communication between the mobile terminal device and the content distribution device is cut off in response to content-length fraud. It becomes possible.
For example, in the server device, the content-length determination unit may perform the movement as necessary when a content-length value in an HTTP response from the content distribution device is larger than data actually transmitted from the content distribution device. The HTTP request from the body terminal device is discarded. In this case, if the Content-length value is larger than the data actually transmitted from the content distribution device, the HTTP request from the mobile terminal device is discarded as necessary, so that the HTTP request remains. It is possible to prevent a situation in which the subsequent pipeline processing is restricted due to this.
In the server device, the content-length determination unit may determine the content if necessary when the content-length value in the HTTP response from the content distribution device is smaller than the data actually transmitted from the content distribution device. The HTTP response from the distribution device is discarded. In this case, when the content-length value is smaller than the data actually transmitted from the content distribution device, the HTTP response from the content distribution device is discarded as necessary, so that the HTTP response remains. As a result, it is possible to prevent a situation where the subsequent pipeline processing is limited.
Further, in the server device, the Content-length determination unit discards an HTTP request from the mobile terminal device as necessary when there is no Content-length header in the HTTP response from the content distribution device. In this case, since the HTTP request from the mobile terminal device is discarded as necessary when the Content-length header does not exist in the HTTP response, the subsequent pipeline processing due to the remaining HTTP request. Can be prevented from being restricted.
The server apparatus further includes a connection header determination unit that determines a content-length connection header in the HTTP response received by the response reception unit, and the connection header determination unit adds close to the connection header of the HTTP response. If it is, it is preferable to continue the pipeline processing by rewriting the contents of the connection header to Keep-Alive. In this case, even when close is added to the connection header in the HTTP response, the contents of the connection header are rewritten to Keep-Alive and the pipeline processing is continued, so the movement is performed according to the close given to the connection header. It is possible to reduce the time for acquiring the content in the mobile terminal device while preventing the situation where the communication between the body terminal device and the content distribution device is disconnected.
According to the mobile communication network system and the server device according to the present invention, when a request received from a mobile terminal device satisfies a predetermined condition, a pipeline process capable of continuously receiving HTTP requests from the mobile terminal device is executed. Therefore, as a result of repeated requests and responses in the mobile communication network, a situation in which the communication time in the mobile communication network is affected by the influence of the communication status is prevented, so that content is acquired by the mobile terminal device. It is possible to sufficiently shorten the time required for this.
FIG. 1 is a diagram showing a configuration of a mobile communication network system according to an embodiment of the present invention. As shown in FIG. 1, a mobile communication network system according to the present embodiment includes a mobile phone 10 as a mobile communication terminal device, a mobile communication center 11 as a server device that manages mobile communication in the mobile phone 10, And a content server 12 serving as a content distribution device that distributes content to clients including the mobile phone 10.
The mobile phone 10 is configured to be accessible to the content server 12 via a communication network such as the Internet 14 and a mobile communication network 13 constituted by a communication network such as an IMT (International Mobile Telecommunication) network, for example. . The mobile phone 10 can browse content distributed from the content server 12 through such a communication network, as will be described later. In particular, the mobile phone 10 corresponds to HTTP / 1.1 and is configured to be able to continuously transmit a plurality of HTTP requests (hereinafter simply referred to as “requests”) without waiting for reception of individual responses. (Request pipeline). In the following, a mobile phone that supports HTTP / 1.1 is referred to as a “pipeline compatible terminal” as appropriate. Although FIG. 1 shows the case where the mobile communication network 13 is configured by an IMT network, the present invention is not limited to this and may be configured by a network other than the IMT network.
The mobile communication center 11 is connected to the content server 12 via the Internet 14 and has a function capable of performing communication between the mobile communication network 13 and the Internet 14 according to the HTTP protocol. In particular, the mobile communication center 11 according to the present embodiment determines whether the mobile phone 10 is a pipeline compatible terminal. If the mobile communication center 11 is a pipeline compatible terminal, it can continuously receive requests from the mobile phone 10. (Hereinafter referred to as “pipeline mode” as appropriate).
The content server 12 distributes content to clients that have accessed via the Internet 14. When the mobile phone 10 accesses as a client, the content is distributed to the mobile communication center 11 via the Internet 14, and the content is distributed to the mobile phone 10 via the mobile communication center 11. Here, it is assumed that the content server 12 distributes content for displaying a Web site created for a personal computer. Further, the content server 12 corresponds to HTTP / 1.0, and unlike the mobile phone 10, it does not correspond to the request pipeline.
In the mobile communication network system according to the present embodiment having such a configuration, even when the content server 12 does not support HTTP / 1.1, request pipelining in the mobile communication network 13 is performed. Is what you do. Specifically, the mobile communication center 11 determines whether or not the mobile phone 10 is a pipeline compatible terminal. If the mobile phone 10 is a pipeline compatible terminal, requests from the mobile phone 10 can be continuously received. is there.
FIG. 2 is a block diagram showing a configuration of mobile communication center 11 included in the mobile communication network system according to the present embodiment. Note that FIG. 2 shows a configuration necessary when the mobile communication center 11 according to the present embodiment performs request pipelining in the mobile communication network 13 and shows data after request pipelining. The configuration for transmitting and receiving is omitted. In FIG. 2, the mobile communication network 13 and the Internet 14 are omitted.
In the mobile communication center 11 shown in FIG. 2, the request receiving unit 21 receives a request coming from the mobile phone 10 via the mobile communication network 13. The request transmission unit 22 transmits the request received from the mobile phone 10 to the content server 12 via the Internet 14. The response receiving unit 23 receives an HTTP response (hereinafter simply referred to as “response”) coming from the content server 12 via the Internet 14. The response transmission unit 24 transmits the response received from the content server 12 to the mobile phone 10 via the mobile communication network 13.
The pipeline determination unit 25 analyzes the header portion of the request received from the mobile phone 10, determines a predetermined condition such as whether the mobile phone 10 is a pipeline compatible terminal, and determines execution of the pipeline processing. The determination of the predetermined condition such as whether the terminal is a pipeline compatible terminal will be described later. The request holding unit 26 holds a request necessary when the mode is shifted to the pipeline mode. Specifically, when a transition is made to the pipeline mode, a request corresponding to the request (request 1) from the mobile phone 10 is not received and a subsequent request (request 2) is received. (Request 2) is held.
The Content-Length determination unit 27 analyzes the header portion of the response received from the content server 12 and determines whether the Content-Length is invalid based on the analysis result. For example, the content-length value is larger than the data actually received from the content server 12 (hereinafter referred to as “real data” as appropriate), the content-length value is smaller than the real data, and the content-length exists. If not, it is determined that the Content-Length is invalid. Then, necessary processing is executed according to the determined content-length fraud. For example, processing such as discarding a request held in the request holding unit 26 and discarding a response received from the content server 12 is performed.
The connection header determination unit 28 determines the content of the connection header of the response received from the content server 12 when the mode is shifted to the pipeline mode, and rewrites the content as necessary. Specifically, it is determined whether or not “close” is attached to the connection header of the response received from the content server 12, and when “close” is attached, it is rewritten to “Keep-Alive”. In this way, by rewriting “close” given to the connection header to “Keep-Alive”, the pipeline processing in the mobile communication network 13 can be continued. When “Keep-Alive” is added to the connection header of the response received from the content server 12, the contents of the connection header are not rewritten.
Hereinafter, processing in the case where pipeline processing is performed in the mobile communication network 13 in the mobile communication network system according to the present embodiment will be described. FIG. 3 is a sequence diagram for explaining processing when pipeline processing is performed in the mobile communication network 13 in the mobile communication network system according to the present embodiment. In FIG. 3, as described above, the mobile phone 10 corresponds to HTTP / 1.1 and corresponds to the request pipeline, while the content server 12 corresponds to HTTP / 1.0 and corresponds to the request pipeline. Is not supported.
As shown in FIG. 3, in the mobile communication network system according to the present embodiment, when a request is transmitted from mobile phone 10 to mobile communication center 11 via mobile communication network 13 (step (hereinafter referred to as “ST”). (Omitted) 301), the mobile communication center 11 performs a pipeline determination process for determining whether or not to shift to the pipeline mode (ST302). This pipeline determination process is performed by the pipeline determination unit 25.
Here, the pipeline determination process performed by the mobile communication center 11 will be described with reference to FIG. FIG. 4 is a flowchart for explaining the pipeline determination process performed by the mobile communication center 11.
As shown in FIG. 4, at the mobile communication center 11, it is constantly monitored whether a request is received from the mobile phone 10 (ST401). When the request is received, it is determined whether the mobile phone 10 is a pipeline compatible terminal and access is from a full browser (ST402). Specifically, whether the terminal is a pipeline compatible terminal is determined based on the model information of the mobile phone 10 specified by the UA of the request. The determination of whether or not the terminal is a pipeline compatible terminal is not limited to this, and may be performed based on other information (for example, the serial number of the mobile phone 10).
If mobile phone 10 is a pipeline compatible terminal and it is determined that the access is from a full browser, it is determined whether the HTTP version of the request is HTTP / 1.1 (ST403). If it is determined that the HTTP version of the request is HTTP / 1.1, it is determined whether the method of the request is GET or HEAD (ST404). If it is determined that the request method is GET or HEAD, the operation mode of the mobile communication center 11 shifts to the pipeline mode (ST405).
That is, in this embodiment, the mobile communication center 11 has a request UA that is a pipeline compatible terminal, is an access from a full browser (ST402), and has an HTTP version of HTTP / 1.1 (ST403). Only when the method is GET or HEAD (ST404), it is possible to shift to the pipeline mode. As described above, the transition to the pipeline mode is determined according to the contents of the UA, HTTP version, and method of the request from the mobile phone 10, so that the transition to the pipeline mode in the mobile communication network 13 is performed only when necessary. Is possible. In the case of shifting to the pipeline mode, subsequent requests from the mobile phone 10 are processed by pipeline processing. That is, the mobile communication center 11 can continuously receive requests without waiting for a response from the content server 12 in response to a request from the mobile phone 10. After the transition to the pipeline mode is determined in this way, the pipeline determination process ends.
In the pipeline determination process shown in FIG. 4, it is determined whether the access is from a full browser as a condition for shifting to the pipeline mode. Instead, the determination is based on the type of browser. You may do it. For example, the browser to be determined may be a mobile phone browser. Further, as a condition for shifting to the pipeline mode, it is determined whether the request method is GET or HEAD. Instead, it is determined whether it is GET, HEAD, or POST. Also good.
In ST402, when it is determined that the mobile phone 10 is not a pipeline compatible terminal or access from a full browser, in ST403, it is determined that the HTTP version of the request is not HTTP / 1.1, and If it is determined in ST404 that the method of the request is not GET or HEAD, the operation mode of the mobile communication center 11 shifts to a normal mode (a mode in which normal processing is performed for a request from the mobile phone 10) ( ST406). After the transition to the normal mode is determined in this way, the pipeline determination process ends.
Returning to FIG. 3, the description will be continued. Here, it is assumed that all the above conditions are satisfied in the pipeline determination process of ST302, and the operation mode of the mobile communication center 11 has shifted to the pipeline mode. After the pipeline determination process is performed, a request is transmitted from the mobile communication center 11 to the content server 12 (ST303).
When the request is received, a response is transmitted from the content server 12 to the mobile communication center 11 accordingly (ST304). When this request is received, a response is transmitted from mobile communication center 11 to mobile phone 10 (ST305). When this request is received, a plurality of requests are continuously transmitted from the mobile phone 10 to the mobile communication center 11 without waiting for reception of individual responses. FIG. 3 shows a case where three requests 1 to 3 are continuously transmitted to the mobile communication center 11 (ST306 to ST308).
When three requests 1 to 3 are received, request 1 is transmitted from mobile communication center 11 to content server 12 (ST309). At this time, in the mobile communication center 11, the request 2 and the request 3 are held in the request holding unit 26. The request 2 (request 3) held in the request holding unit 26 is transmitted to the content server 12 in response to reception of the response 1 (response 2) to the request 1 (request 2), as will be described later.
When request 1 is received, response 1 corresponding to request 1 is transmitted from content server 12 to mobile communication center 11 (ST310). It is assumed that “close” is added to the connection header in the response 1. When the response 1 is received, the mobile communication center 11 performs a response determination process for determining the content (ST311). This response determination process is performed by the Content-Length determination unit 27 and the connection header determination unit 28.
Here, the response determination process performed by the mobile communication center 11 will be described with reference to FIG. FIG. 5 is a flowchart for explaining the response determination process performed by the mobile communication center 11. In FIG. 5, a process for transmitting a response to the mobile phone 10 is described for convenience of explanation.
As shown in FIG. 5, in the mobile communication center 11, it is constantly monitored whether a response is received from the content server 12 (ST501). When a response is received, it is determined whether “close” or “Keep-Alive” is added to the connection header of the response (ST502). If it is determined that “close” is attached to the connection header, it is rewritten to “Keep-Alive” (ST503), and the process proceeds to ST504. On the other hand, if it is determined that “Keep-Alive” is attached to the connection header, the rewrite is not performed and the process proceeds to ST504.
Normally, “close” is given to the connection header of the response transmitted from the content server 12. However, when a response with “close” attached to the connection header is transmitted to the mobile phone 10 as it is, the connection between the mobile communication center 11 and the mobile phone 10 is disconnected. For this reason, in the mobile communication center 11 according to the present embodiment, the communication between the mobile phone 10 and the content server 12 is disconnected by rewriting “close” given to the connection header of the response to “Keep-Alive”. It prevents the situation being done.
After the content of the connection header is rewritten to “Keep-Alive” in ST503, or after the content of the connection header is maintained to “Keep-Alive” in ST502, Content-Length exists in the mobile communication center 11. It is determined whether or not to perform (ST504). The reason for determining whether or not the Content-Length exists is to determine whether the Content-Length does not exist. Note that the flow shown in FIG. 5 shows the case where the determination of Content-Length is performed after rewriting the “close” given to the connection header of the response. It is not limited and can be changed as appropriate.
If it is determined that Content-Length exists, it is determined whether the Content-Length value is greater than the actual data (ST505). Here, when it is determined that the Content-Length value is larger than the actual data, after the data for the actual data is transmitted to the mobile phone 10, between the mobile phone 10 and the mobile communication center 11, and If the TCP connection between the mobile communication center 11 and the content server 12 is temporarily disconnected and a request remains in the request holding unit 26, the request is discarded (ST506). As described above, when the content-length value is larger than the actual data, the request from the mobile phone 10 is discarded as necessary, and therefore the subsequent pipeline processing is restricted due to the remaining request. Is preventing. After performing these processes, the response determination process ends.
If it is determined that the Content-Length value is not larger than the actual data, it is determined whether the Content-Length value is smaller than the actual data (ST507). Here, when it is determined that the Content-Length value is smaller than the actual data, the data corresponding to the Content-Length value is transmitted to the mobile phone 10 and then the remaining response is received when the remaining response is received. Discarded (ST508). As described above, when the content-length value is smaller than the actual data, the response from the content server 12 is discarded as necessary, so that the subsequent pipeline processing is limited due to the remaining response. Can be prevented. After performing these processes, the response determination process ends.
When it is determined in ST507 that the Content-Length value is not smaller than the actual data, the actual data is transmitted to the mobile phone 10 assuming that the Content-Length value is the same as the actual data ( ST509). Thereafter, the response determination process ends.
Also, in ST504, when it is determined that Content-Length does not exist, the BODY unit is transmitted to the mobile phone 10, and then between the mobile phone 10 and the mobile communication center 11, and the mobile communication center. 11 and the content server 12 are temporarily disconnected, and when the request remains in the request holding unit 26, the request is discarded (ST510). As described above, when there is no Content-length, a request from the mobile phone 10 is discarded as necessary, so that it is possible to prevent the subsequent pipeline processing from being restricted due to the remaining request. ing. After performing these processes, the response determination process ends.
In ST506 and ST510, when the TCP connection between the mobile phone 10 and the mobile communication center 11 and between the mobile communication center 11 and the content server 12 is temporarily disconnected, the mobile phone 10 The request is retransmitted from the mobile communication center 11 to the mobile communication center 11 (not shown in FIG. 3). In this case, when the TCP connection is disconnected while receiving a response from the mobile communication center 11, all requests waiting for the response are retransmitted by pipeline processing. Note that a request corresponding to a response in which the TCP connection is disconnected is not subject to retransmission processing. However, when a request is retransmitted when no response is received, the first request in the pipeline processing is subject to retransmission.
As described above, in the mobile communication network system according to the present embodiment, when Content-Length fraud occurs, a request from mobile phone 10 or a response from content server 12 is appropriately discarded in ST506, ST508, and ST510. By doing so, a re-request coming from the mobile device can be normally received.
Returning to FIG. 3, the description will be continued. Here, in the response determination process of ST311, “close” given to the connection header in ST503 is rewritten to “Keep-Alive”, and it is determined that the Content-Length value and the actual data are the same. To do. After the response determination process is performed, response 1 is transmitted from mobile communication center 11 to mobile phone 10 (ST312). In this case, in response 1, “Keep-Alive” is added to the connection header.
When response 1 is transmitted to mobile phone 10, request 2 is transmitted from mobile communication center 11 to content server 12 (ST313). When request 2 is received, response 2 corresponding to request 2 is transmitted from content server 12 to mobile communication center 11 (ST314). In response 2, it is assumed that “close” is added to the connection header.
When the response 2 is received, the mobile communication center 11 performs a response determination process as described above (ST315). Here, in the response determination process in ST315, as in ST311, “close” given to the connection header in ST503 is rewritten to “Keep-Alive”, and the Content-Length value and the actual data are the same. Assume that it has been determined. After the response determination process is performed, response 1 is transmitted from mobile communication center 11 to mobile phone 10 (ST316). In this case, in response 2, “Keep-Alive” is added to the connection header.
When the response 2 is transmitted to the mobile phone 10, the request 3 is transmitted from the mobile communication center 11 to the content server 12 (ST317). When request 3 is received, response 3 corresponding to request 3 is transmitted from content server 12 to mobile communication center 11 (ST318). In the response 3, it is assumed that “Keep-Alive” is added to the connection header.
When receiving the response 3, the mobile communication center 11 performs a response determination process in the manner described above (ST319). Here, in the response determination process of ST319, unlike ST311 and ST315, “Keep-Alive” given to the connection header is maintained without being rewritten, and it is determined that the Content-Length value and the actual data are the same. It shall be assumed. After the response determination process is performed, response 3 is transmitted from mobile communication center 11 to mobile phone 10 (ST320). In this case, the response 3 has “Keep-Alive” added to the connection header.
As described above, by sequentially receiving the responses transmitted from the mobile communication center 11 and displaying them on the display screen, it is possible to view the content distributed from the content server 12 on the mobile phone 10. In this manner, in the mobile communication network system according to the present embodiment, a series of processes when pipeline processing is performed in the mobile communication network 13 is completed.
As described above, according to the mobile communication network system according to the present embodiment, when a request received from the mobile phone 10 satisfies a predetermined condition, the mobile communication center 11 can continuously receive requests from the mobile phone 10. Since the line processing is executed, the request and response are repeated in the mobile communication network 13, so that a situation in which the communication time is prolonged due to the influence of the communication status in the mobile communication network 13 is prevented. Thus, it is possible to sufficiently shorten the time for acquiring the content.
In particular, the mobile communication network system according to the present embodiment further includes a content server 12 that distributes content to the mobile phone 10 via the mobile communication center 11, and the mobile communication center 11 is a mobile phone in the pipeline mode. Requests continuously received from 10 are sequentially transmitted to the content server 12, while a response corresponding to the requests is received from the content server 12. For this reason, even when content is distributed from the content server 12 to the mobile phone 10 via the mobile communication center 11, the request and response are repeated in the mobile communication network 13, resulting in the influence of the communication status in the mobile communication network 13. As a result, it is possible to prevent a situation in which the communication time is increased, and thus it is possible to sufficiently shorten the time for acquiring content with the mobile phone 10.
Further, in the mobile communication network system according to the present embodiment, when the mobile communication center 11 detects content-length fraud in the response from the content server 12, a request from the mobile phone 10 or a content server is obtained as necessary. The response from 12 is discarded and the pipeline processing is continued. In this way, even when Content-length fraud is detected in the response from the content server 12, the request from the mobile phone 10 or the response from the content server 12 is discarded as necessary, and the pipeline processing is continued. Therefore, it is possible to reduce the time for acquiring content with the mobile phone 10 while preventing the situation where the communication between the mobile phone 10 and the content server 12 is disconnected in response to the content-length fraud. It becomes possible.
In addition, this invention is not limited to the said embodiment, In the range which exhibits the effect of this invention, it can change and implement variously. Further, various modifications can be made without departing from the scope of the object of the present invention.
For example, in the above embodiment, a case where the mobile phone 10 receives content distributed by the content server 12 via the mobile communication center 11 (content for displaying a website created for a personal computer) will be described. However, the content received by the mobile phone 10 is not limited to this, and can be changed as appropriate. For example, the present invention may be applied to the case where content for displaying a website created for the mobile phone 10 is received from the mobile communication center 11. Even in this case, as a result of repeated requests and responses in the mobile communication network 13, it is possible to prevent a situation in which the communication time in the mobile communication network 13 is affected and the communication time becomes long. It is possible to sufficiently shorten the time required to do this.
It is a figure which shows the structure of the mobile communication network system which concerns on one embodiment of this invention. It is a block diagram which shows the structure of the mobile communication center 11 which the mobile communication network system which concerns on the said embodiment has. In the mobile communication network system which concerns on the said embodiment, it is a sequence diagram for demonstrating the process in case a pipeline process is performed in a mobile communication network. It is a flowchart for demonstrating the pipeline determination process performed by the mobile communication center of the mobile communication network system which concerns on the said embodiment. It is a flowchart for demonstrating the response determination process performed by the mobile communication center of the mobile communication network system which concerns on the said embodiment.
10 Mobile phone (mobile terminal device)
11 Mobile communication center (server equipment)
12 Content server (content distribution device)
DESCRIPTION OF SYMBOLS 13 Mobile communication network 14 Internet 21 Request reception part 22 Request transmission part 23 Response reception part 24 Response transmission part 25 Pipeline determination part 26 Request holding part 27 Content-Length determination part 28 Connection header determination part
Comprising a mobile terminal device having a browser function and a server device for managing mobile communication in the mobile terminal device via a mobile communication network, and receiving a request for Web access from the mobile terminal device; The server device determines whether the request satisfies a predetermined condition, and executes a pipeline process that can continuously receive an HTTP request from the mobile terminal device when the predetermined condition is satisfied. Mobile communication network system.
2. The mobile communication network system according to claim 1, wherein the server device determines execution of the pipeline processing in accordance with a UA, an HTTP version, and a method content of the request.
In the server apparatus, when the UA of the request is a terminal corresponding to the pipeline processing and access from a predetermined browser, the HTTP version is HTTP / 1.1, and the pipeline processing is performed in the case of a predetermined method The mobile communication network system according to claim 2, wherein:
4. The mobile communication network system according to claim 3, wherein the server device executes the pipeline processing when the predetermined browser is an access from a full browser.
4. The mobile communication network system according to claim 3, wherein the server device executes the pipeline processing when the predetermined browser is an access from the mobile terminal device browser.
6. The mobile communication network system according to claim 3, wherein the server device executes the pipeline processing when a method of the request is GET or HEAD.
6. The mobile communication network system according to claim 3, wherein the server device executes the pipeline processing when a method of the request is GET, HEAD, or POST.
A content distribution device that distributes content to the mobile terminal device via the server device is further provided, and the server device sequentially transmits HTTP requests continuously received in the pipeline processing to the content distribution device. 8. The mobile communication network system according to claim 1, wherein an HTTP response corresponding to the HTTP request is received from the content distribution device.
When the server device detects an illegal Content-length in the HTTP response from the content distribution device, the server device discards the HTTP request from the mobile terminal device or the HTTP response from the content distribution device as necessary. 9. The mobile communication network system according to claim 8, wherein the pipeline processing is continued.
If the content-length value in the HTTP response from the content distribution device is larger than the data actually transmitted from the content distribution device, the server device discards the HTTP request from the mobile terminal device as necessary. The mobile communication network system according to claim 9.
When the Content-length value in the HTTP response from the content distribution device is smaller than the data actually transmitted from the content distribution device, the server device discards the HTTP response from the content distribution device as necessary. The mobile communication network system according to claim 9 or 10, characterized by the above.
10. The server apparatus according to claim 9, wherein the server apparatus discards an HTTP request from the mobile terminal apparatus as necessary when there is no Content-length header in an HTTP response from the content distribution apparatus. The mobile communication network system according to any one of 11.
The server device, when close is attached to a connection header of an HTTP response from the content distribution device, rewrites the content of the connection header to Keep-Alive and continues the pipeline processing. The mobile communication network system according to any one of claims 9 to 12.
A server device for managing mobile communication in a mobile terminal device via a mobile communication network,
A request receiving unit that receives a request from the mobile terminal device, and determines whether the request received by the request receiving unit satisfies a predetermined condition. If the predetermined condition is satisfied, an HTTP request from the mobile terminal device is A pipeline determination unit that executes continuously receivable pipeline processing, a request holding unit that holds HTTP requests continuously received from the mobile terminal device in the pipeline processing, and the mobile terminal device A server device comprising: a response transmission unit that transmits a response.
15. The server device according to claim 14, wherein the pipeline determination unit determines execution of the pipeline processing according to UA, HTTP version, and method contents of the request.
The pipeline determination unit is configured such that the UA of the request is a terminal corresponding to the pipeline processing and is an access from a predetermined browser, the HTTP version is HTTP / 1.1, and the pipe is determined in the case of a predetermined method. The server apparatus according to claim 15, wherein line processing is executed.
The server device according to claim 16, wherein the pipeline determination unit executes the pipeline processing when the predetermined browser is an access from a full browser.
The server device according to claim 16, wherein the pipeline determination unit executes the pipeline processing when the predetermined browser is an access from the mobile terminal device browser.
The server apparatus according to any one of claims 16 to 18, wherein the pipeline determination unit executes the pipeline processing when a method of the request is GET or HEAD.
The server apparatus according to any one of claims 16 to 18, wherein the pipeline determination unit executes the pipeline processing when a method of the request is GET, HEAD, or POST.
A request transmission unit that transmits a request from the mobile terminal device to a content distribution device, a response reception unit that receives a response from the content distribution device, and an illegal Content-length in an HTTP response received by the response reception unit A content-length determination unit for determining
When the content-length determining unit detects fraud of the content-length, it discards the HTTP request from the mobile terminal device or the HTTP response from the content distribution device as necessary, and continues the pipeline processing. The server device according to any one of claims 14 to 20, wherein the server device is characterized in that
If the Content-length value in the HTTP response from the content distribution device is larger than the data that is actually transmitted from the content distribution device, the Content-length determination unit determines that the HTTP request from the mobile terminal device is necessary. The server apparatus according to claim 21, wherein the server apparatus is discarded.
If the Content-length value in the HTTP response from the content distribution device is smaller than the data that is actually transmitted from the content distribution device, the Content-length determination unit receives the HTTP response from the content distribution device as necessary. 23. The server device according to claim 21, wherein the server device is discarded.
The content-length determination unit discards an HTTP request from the mobile terminal device as necessary when there is no content-length header in an HTTP response from the content distribution device. The server device according to claim 23.
A connection header determination unit that determines a content-length connection header in the HTTP response received by the response reception unit, and the connection header determination unit includes the connection when the connection header of the HTTP response is given a close The server apparatus according to any one of claims 14 to 24, wherein the pipeline processing is continued by rewriting the contents of the header to Keep-Alive.
JP2006341360A 2006-12-19 2006-12-19 Mobile communication network system and server apparatus Expired - Fee Related JP4976121B2 (en)
JP2006341360A JP4976121B2 (en) 2006-12-19 2006-12-19 Mobile communication network system and server apparatus
PCT/JP2007/073967 WO2008075600A1 (en) 2006-12-19 2007-12-12 Mobile communication network system, and server device
EP07859787.9A EP2096548A4 (en) 2006-12-19 2007-12-12 Mobile communication network system, and server device
US12/519,643 US8271580B2 (en) 2006-12-19 2007-12-12 Mobile communication network system and server apparatus
CN 200780046884 CN101584180B (en) 2006-12-19 2007-12-12 Mobile communication network system, and server device
JP2008152629A true JP2008152629A (en) 2008-07-03
JP4976121B2 JP4976121B2 (en) 2012-07-18
ID=39536231
JP2006341360A Expired - Fee Related JP4976121B2 (en) 2006-12-19 2006-12-19 Mobile communication network system and server apparatus
US (1) US8271580B2 (en)
EP (1) EP2096548A4 (en)
JP (1) JP4976121B2 (en)
CN (1) CN101584180B (en)
WO (1) WO2008075600A1 (en)
JP2010122933A (en) * 2008-11-20 2010-06-03 Fujitsu Ltd Method and device for transferring content
JP2010136165A (en) * 2008-12-05 2010-06-17 Sumitomo Electric Ind Ltd Compact base station
JP2013186873A (en) * 2012-03-12 2013-09-19 Nippon Telegraph & Telephone West Corp Packet transfer device
JP4797054B2 (en) * 2008-10-23 2011-10-19 株式会社エヌ・ティ・ティ・ドコモ Data relay apparatus and data relay method
JP6429559B2 (en) * 2014-09-26 2018-11-28 キヤノン株式会社 Communication device, communication system, information processing method, and program
US9609078B2 (en) * 2015-03-24 2017-03-28 Fortinet, Inc. HTTP proxy
JP2004530231A (en) * 2001-06-12 2004-09-30 テレフオンアクチーボラゲット エル エム エリクソン（パブル） Improved Interaction Method between User Application and Server
JP2001125821A (en) 1999-10-29 2001-05-11 Hitachi Ltd Data communication method and server device
2006-12-19 JP JP2006341360A patent/JP4976121B2/en not_active Expired - Fee Related
2007-12-12 CN CN 200780046884 patent/CN101584180B/en not_active IP Right Cessation
2007-12-12 EP EP07859787.9A patent/EP2096548A4/en not_active Withdrawn
2007-12-12 US US12/519,643 patent/US8271580B2/en not_active Expired - Fee Related
2007-12-12 WO PCT/JP2007/073967 patent/WO2008075600A1/en active Application Filing
KR101307909B1 (en) * 2008-10-16 2013-09-12 퀄컴 인코포레이티드 Methods and apparatus for obtaining content with reduced access times
US8271580B2 (en) 2012-09-18
JP4976121B2 (en) 2012-07-18
EP2096548A1 (en) 2009-09-02
CN101584180A (en) 2009-11-18
CN101584180B (en) 2012-11-07
WO2008075600A1 (en) 2008-06-26
US20110119323A1 (en) 2011-05-19
EP2096548A4 (en) 2014-12-17
DE60110614T2 (en) 2006-01-19 Method and device for testing a container
US20140372206A1 (en) 2014-12-18 Systems, methods and computer program products for facilitating display of content within application programs executing on electronic devices