The remote testing device of mobile communication terminal phone Connection Service and its method
Technical field
The present invention relates to a kind of remote testing device and method of mobile communication terminal phone Connection Service, especially a kind of by in the wireless network test telephone linkage function of mobile communication terminal, utilize the internet can onlinely carry out remote testing device and its method of the mobile communication terminal phone Connection Service of remote debugging.
Background technology
At the scene whether in general, terminating machine is to find out various mistakes in its development phase, and sells the user after improving, at this moment, promptly be to test normally to start in the environment as one of the test that must carry out.
When particularly terminating machine being outputed to foreign country, having following problem, at first is the difference that exists network factors between on-the-spot network of foreign country and the domestic network; Next is the service difference that radio communication operator provides, thereby can not carry out complete test at home, so need the developer scene of going abroad of going on business in person to test.
Therefore, also carrying out following research method recently, promptly by the method for internet at long-range terminating machine that also can the on-line testing scene, but, different is other functions of self being carried out with terminating machine: when carrying out phone Connection Service function, even wanting to use in the process of debugging utilizes the existing remote debugging method of internet also to have following problem, promptly when attempting to carry out phone when being connected with the direct-connected computer of terminating machine, whole internet datas of computer will transmit by the phone connection, therefore, when carrying out the phone Connection Service, can not receive debugging message by the internet simultaneously.
Specifically, in existing technology, be provided in the computer after the USB driving of terminal and usb communication, the SIO of terminating machine (Serial Input Output serial input and output) thus the USB mouth of interface and computer interconnects to connect communicates by letter, when the phone of setting computer connects modulator-demodulator, specify the communication interface (comport) that is connected with terminating machine to connect the interface of modulator-demodulator for phone at last.
Then, after the computer starting terminal debugging acid, specify the debugging interface that connects with terminal, and execution phone Connection Service, then by above-mentioned debugging interface, receive tune-up data (debugging message) in the terminating machine from the phone Connection Service and be presented in the debugging acid, like this, the developer can see these debugging messages, understands the problem that is taken place in the phone Connection Service function then.
In the existing mobile communication terminal development process as described above, the debug process of phone Connection Service is to carry out through following step, both utilized USB cable terminating machine with after computer directly is connected, in computer, directly carry out in the phone Connection Service, by USB cable the debugging message of terminating machine is sent to computer, computer just utilizes debugging acid (debugging APP program) to monitor.
But, as mentioned above, in existing debug process, in telecommunication network in the phone Connection Service of debug terminal machine, even want to use the existing remote debugging method that utilizes the internet, also exist following problem, promptly when computer attempts to carry out the phone connection, whole internet datas among the PC will connect transmission/received signal by phone, therefore, can not carry out phone Connection Service and long-range reception debugging message simultaneously, so, need be when telenet (overseas net) go up the phone Connection Service of debugging terminating machine, the developer must debug to the scene in person.
Summary of the invention
Therefore, technical problem to be solved by this invention is to overcome the deficiencies in the prior art and a kind of remote testing device of mobile communication terminal phone Connection Service and its method is provided.When passing through the wireless network test telephone linkage function of mobile communication terminal, utilize the internet can onlinely carry out remote debugging.
In order to achieve the above object, the present invention's formation is characterised in that: described device comprises: debugging computer, remote computer and mobile communication terminal, wherein: described debugging computer, be connected with described remote computer by the internet, be used to control the described mobile communication terminal that is connected with described remote computer; And when carrying out the phone Connection Service, receive the tune-up data of described mobile communication terminal by the internet; Described remote computer is connected with the described mobile communication terminal that is used for the test of phone Connection Service with the internet, is used to receive the debugging message of described mobile communication terminal, is sent to described debugging computer by the internet then; Described mobile communication terminal is connected with described remote computer, is used for sending debugging message to described remote computer.
Above-mentioned remote computer comprises:
Serial input-output interface (SIO) is connected in mobile communication terminal by USB in the mode of connecting;
Modem interface, control is by the phone Connection Service of the mobile communication terminal of above-mentioned serial input-output interface (SIO) connection;
Serial communication interface receives debugging message from above-mentioned mobile communication terminal;
Virtual modem communication interface and virtual concatenation communication interface, it transmits control signal corresponding and debugging message separately corresponding to above-mentioned modem interface and serial communication interface by the internet;
Lan interfaces sends the data by above-mentioned two virtual communication interfaces transmission/reception in the debugging computer to by the internet.
Above-mentioned debugging computer comprises:
Debugging acid receives debugging message and is shown to the developer afterwards;
The virtual concatenation communication interface, the debugging message of transmission/reception mobile communication terminal;
The virtual modem communication interface is by the phone connection network function of the long-range execution debugging computer of mobile communication terminal;
Lan interfaces is connected remote computer by the internet with two above-mentioned virtual communication interfaces.
And, another is characterised in that the present invention and comprises the steps: in debugging computer to carry out in the phone Connection Service, in the data of carrying out the phone connection, add the IP of remote computer and generate the TCP/IP packet, again the step that these packets are transmitted to remote computer by the internet; Above-mentioned remote computer is untied the step that the TCP/IP packet that receives is recovered to the data that can carry out the phone connection afterwards from debugging computer; The above-mentioned phone that has restored is connected data to be sent to mobile communication terminal and to connect data calling step of connecting with phone by the virtual modem communication interface; The remote computer that mobile communication terminal from be in the phone Connection Service receives Debugging message is transformed into the TCP/IP packet to the additional debugging message of giving of the IP of debugging computer afterwards, is sent to the step of debugging computer then by the internet; Above-mentioned debugging computer receives the data that the packet of these TCP/IP forms are transformed into after the packet of TCP/IP form SIO or USB form, the step that shows by debugging acid then.
The data that the phone that receives from above-mentioned debugging computer connects, the USB cable of virtual modem communication interface, modem interface and serial input-output interface (SIO) by remote computer is sent to and is used for the mobile communication terminal that phone is connected.
Carry out after the phone Connection Service of above-mentioned mobile communication terminal, the network route chart of change debugging computer, and utilize the mode of phone Connection Service to connect the gateway of particular address, login with the IP address of phone Connection Service.
The debugging message that is produced in the phone connection procedure of above-mentioned mobile communication terminal, at first be communicated in the remote computer, be sent in the virtual concatenation communication interface of the debugging computer that is connected with the internet by the virtual concatenation communication interface once more by serial communication interface.
Adopt the remote testing device of mobile communication terminal phone Connection Service of the present invention and its method when test utilizes the phone Connection Service function of mobile communication wireless net, can use the internet to carry out on-line debugging.And, solved existing in computer, the execution in the phone Connection Service, the problem that the internet applications (messaging program etc.) that connects by local area network (LAN) all changes in the mode of phone Connection Service, therefore, utilization also can be used original local area network (LAN) with the phone Connection Service with the application program of local area network (LAN) LAN.
Description of drawings
Fig. 1 is the frame construction drawing to the remote testing device structure of mobile communication terminal phone Connection Service of the present invention;
Fig. 2 is in order to control mobile communication terminal at the debugging computer medium-long range, the method precedence diagram of execution phone Connection Service according to of the present invention;
Fig. 3 is that the remote computer that is connected in mobile communication terminal of the present invention is carried out the procedural order figure that phone connects.
Wherein, Reference numeral:
100: remote computer 200: debugging computer
101:SIO interface 102: modem interface
103: serial communication interface 104,204: the virtual modem communication interface
105,203: virtual concatenation communication interface 106,205: lan interfaces
201: debugging acid 202: phone connects network
Embodiment
The present invention provides following technology and attaches most importance to, and, in the time of the phone Connection Service function of debugging remote handset, sends long-range developer by the internet to its Debugging message (debugging message) is online that is; Particularly provide following apparatus and method to attach most importance to, promptly the developer provides the phone Connection Service by the mode in the phone Connection Service of Long-distance Control mobile communication terminal, and utilizes the tune-up data of the online receiving remote mobile communication terminal in internet.
Describe most preferred embodiment of the present invention with reference to the accompanying drawings in detail.
At first, it should be noted that: when the constituent element of giving each accompanying drawing is set Reference numeral, used same mark, no matter whether on other different figure, whether occur for identical constituent element as far as possible.
And, in the following explanation, specific detailed elements as concrete flow chart provides in order to allow others understand thought of the present invention easily more, therefore, to being proficient in the those skilled in the art under the present invention, there is not specific detail flowchart can carry out the present invention yet.
Also have, having omitted might influence the present invention the well-known function of emphasis and the detailed description of formation are described.
Fig. 1 is the block diagram of the remote testing device structure of mobile communication terminal phone Connection Service of the present invention, as shown in drawings, mobile communication terminal utilizes USB cable to be directly connected in the remote computer 100, wherein remote computer 100 is to be connected the internet, the developer just can carry out the phone Connection Service in debugging computer 200, and tune-up data that also can the receiving terminal machine, wherein debugging computer 200 is to be connected with remote computer by the internet.
More specifically, above-mentioned remote computer 100 is made of SIO interface 101, modem interface 102, serial communication interface 103, virtual modem communication interface 104, virtual concatenation communication interface 105, lan interfaces 106.Wherein, SIO interface 101 is connected in mobile communication terminal by USB in the mode of connecting; Modem interface 102 controls are by the phone Connection Service of the terminating machine of above-mentioned SIO interface connection; Serial communication interface 103 receives debugging message from above-mentioned terminating machine; Virtual modem communication interface 104 and virtual concatenation communication interface 105, they transmit control signal corresponding and debugging message separately corresponding to above-mentioned modem interface and serial communication interface by the internet; Lan interfaces 106 sends the data by above-mentioned two virtual communication interface 104,105 transmission/receptions in the debugging computer 200 to by the internet.
Above-mentioned debugging computer 200 is made of debugging acid 201, virtual concatenation communication interface 203, virtual modem communication interface 204, lan interfaces 205.Wherein, debugging acid (the APP program that is used for debugging) 201 is shown to the developer after receiving debugging message; The debugging message of virtual concatenation communication interface 203 transmission/receiving terminal machines; Virtual modem communication interface 204 connects the function of network 202 by the phone of the long-range execution debugging computer of mobile communication terminal; Lan interfaces 205 connects remote computer 100 and above-mentioned two virtual communication interfaces 203,204 by the internet.
As a reference, phone connects network and is meant, when in the region that can not utilize industrial siding to surf the Net, wanting to be connected to the internet, be arranged on function in the computer in order to be connected to the internet by phone (mobile communication terminal) modulator-demodulator, if connect the internet with the phone ways of connecting, then whole internet datas will connect transmission/reception by phone, though so there is industrial siding to connect, can not utilize data that its phone receives transmission (promptly at long-range (debugging computer), can not utilize the network access and the network access of utilizing phone to be connected of industrial siding simultaneously), but the present invention can connect at long-range (debugging computer) control phone by the internet, and can receive the data of transmission.
Below, with reference to the flow chart of Fig. 2 and Fig. 3, the device that possesses above-mentioned formation is described in detail.
Fig. 2 is in order to control mobile communication terminal at the debugging computer medium-long range, the method precedence diagram of execution phone Connection Service according to of the present invention; In order to realize the present invention, virtual modem communication interface 204 and virtual concatenation communication interface 203 at first are set in developer's debugging computer 200, wherein, debugging computer 200 is connected in the internet, virtual concatenation communication interface 203 is used for receiving the debugging message of mobile communication terminal, and, in the attribute of the phone Connection Service program of debugging computer 200, remove the attribute of ' in telecommunication network, using basic gateway '.
Fig. 3 is that medium-long range computer of the present invention is connected in mobile communication terminal and carries out the procedural order figure that phone connects, in order to realize the present invention, virtual modem communication interface 104 and virtual concatenation communication interface 105 at first are set in remote computer 100, wherein, virtual concatenation communication interface 105 is used for receiving the debugging message of mobile communication terminal, and, connect mobile communication terminal by USB cable.
With reference to Fig. 2 and Fig. 3, when carrying out the phone Connection Service in debugging computer 200, the IP of additional remote computer 100 in the data of carrying out the phone connection generates the TCP/IP packet, these packets is transmitted to remote computer 100 by the internet again.
Above-mentioned remote computer 100 is untied to be recovered to after the TCP/IP packet that receives from debugging computer 200 and can be carried out the data that phone connects, and is sent to mobile communication terminal and is connected the data call connection with phone by virtual modem communication interface 104.Wherein, above-mentioned virtual modem communication interface is that USB cable by modem interface 102 and SIO interface 101 is sent in the terminating machine.
Connected after the phone Connection Service by above-mentioned mobile communication terminal the network route chart of change debugging computer 200.That is, utilize the mode of phone Connection Service to connect the gateway of particular address, login with the IP address of phone Connection Service.
Then, the mobile communication terminal of remote computer 100 from be in the phone Connection Service receives debugging message, is transformed into the TCP/IP packet and transmits by the internet after the IP of this additional debugging computer 200.
Afterwards, debugging computer 200 becomes the data conversion that the internet received after the data of SIO or USB form, by virtual concatenation communication interface 203 input debugging acids 201 and show, finally allow the developer with reference to the information that is presented in the debugging acid 201, carry out debug process.
As mentioned above, the special interface of remote computer 100 by the internet receives being used to of sending and conveys to mobile communication terminal by USB after controlling the data of phone Connection Service from debugging computer 200, then, by the debugging message of USB receiving terminal machine, and be sent to the internet by local area network (LAN) after it is transformed into the TCP/IP packet that can transmit with the internet.
So, debugging computer 200 conveys to remote computer 100 to the data of control phone Connection Service by special interface, and, the Debugging message that receives to the terminating machine of internet by lan interfaces 205 is transformed into after the tandem data form, be conveyed in the debugging acid 201 by virtual concatenation communication interface 203, allow the developer with reference to the information and executing debugging that is presented in its debugging acid 201.
As mentioned above, the remote testing device of mobile communication terminal phone Connection Service of the present invention and its method have following effect, that is, when test utilizes the phone Connection Service function of mobile communication wireless net, can use the internet to carry out on-line debugging.
And, the present invention also has following effect, promptly, solved existing in computer, the execution in the phone Connection Service, the problem that the internet applications (messaging program etc.) that connects by local area network (LAN) all changes in the mode of phone Connection Service, therefore, utilization also can be used original local area network (LAN) with the phone Connection Service with the application program of local area network (LAN) LAN.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.