CN101800910A - Simulation system, PC side simulator and mobile phone side agent client - Google Patents
Simulation system, PC side simulator and mobile phone side agent client Download PDFInfo
- Publication number
- CN101800910A CN101800910A CN201010102811A CN201010102811A CN101800910A CN 101800910 A CN101800910 A CN 101800910A CN 201010102811 A CN201010102811 A CN 201010102811A CN 201010102811 A CN201010102811 A CN 201010102811A CN 101800910 A CN101800910 A CN 101800910A
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- mobile phone
- request message
- unit
- simulator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 115
- 230000003993 interaction Effects 0.000 claims abstract description 28
- 238000004891 communication Methods 0.000 claims description 98
- 230000004044 response Effects 0.000 claims description 92
- 230000005540 biological transmission Effects 0.000 claims description 16
- 238000011161 development Methods 0.000 abstract description 12
- 238000000034 method Methods 0.000 abstract description 5
- 238000012545 processing Methods 0.000 description 20
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000004148 unit process Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a simulation system, a PC side simulator and a mobile phone side agent client, wherein in the simulation system, the PC side simulator is used for acquiring wireless network capacity same as a real mobile phone environment by message interaction with the mobile phone side agent client in the process of simulation; the mobile phone side agent client is used for message interaction with the PC side simulator, so that the PC side simulator acquires the wireless network capacity same as the real mobile phone environment; and the mobile phone side agent client is positioned in the real mobile phone environment and is connected with a real mobile phone protocol stack. The system, the PC side simulator and the mobile phone side agent client of the invention greatly improve the development efficiency of mobile phone softwares.
Description
Technical Field
The invention relates to the field of mobile communication, in particular to a simulation system applied to mobile phone software development, a PC side simulator and a mobile phone side proxy client.
Background
With the increasing popularity of the current market competition of mobile phones, higher and higher requirements are put forward on the development period of the mobile phones. However, most manufacturers of mobile phone equipment (OEM) involve development work of an application man-machine interface (MMI), and the traditional development mode is to write and compile an application interface in a PC, and then download the application interface into a mobile phone environment through a download tool for operation and debugging. If the problem is found, the PC is subjected to board loading debugging again, compiled and downloaded again, and the steps are repeated, so that the efficiency is very low. The existing mobile phone simulation system solves the problems to a certain extent, can simulate equipment and a wireless network in a mobile phone environment in a PC and operate, so that a developer can find MMI and partial application flow problems without downloading the MMI and partial application flow problems to the mobile phone environment when designing on the PC. However, because the existing mobile phone simulation system does not have the capability of interacting with the real mobile phone environment during simulation, the simulation of the wireless network is not thorough, and even the difference with the real environment is large, so that a code which is debugged on a PC by adopting the existing mobile phone simulation system is downloaded to a mobile phone and more problems are caused, and a developer of mobile phone software has to return to the original old method, namely direct board-loading debugging, so that the development efficiency of the mobile phone software is greatly influenced.
If a mobile phone simulation system can be realized and a mobile phone simulator realized by the system on a PC can have the same wireless network capability as the real mobile phone environment, namely: the method has the capability of interacting with a real mobile phone environment during simulation, so that the times of on-board debugging of developers can be reduced, and the development efficiency of mobile phone software is greatly improved.
Disclosure of Invention
In view of this, the main objective of the present invention is to provide a simulation system, a PC-side simulator and a mobile phone-side proxy client, which have the capability of interacting with the real mobile phone environment during simulation, thereby greatly improving the development efficiency of mobile phone software.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a simulation system, the simulation system comprising: a PC side simulator and a mobile phone side proxy client; wherein,
the PC side simulator is used for obtaining the wireless network capability same as the real mobile phone environment through message interaction with the mobile phone side proxy client during simulation;
the mobile phone side agent client is used for enabling the PC side simulator to obtain the wireless network capacity same as the real mobile phone environment through message interaction with the PC side simulator; and the mobile phone side proxy client is positioned in the real mobile phone environment and is connected with a real mobile phone protocol stack.
The PC side simulator is further used for sending a protocol stack service control command request message and a protocol stack data request message to the mobile phone side proxy client during simulation; the PC side simulator receives a response aiming at a protocol stack service control command request message and a response aiming at a protocol stack data request message, which are returned by the mobile phone side agent client;
the mobile phone side proxy client is further used for sending the protocol stack service control command request message and the protocol stack data request message to the real mobile phone protocol stack; and the mobile phone side proxy client receives the response of the protocol stack service control command request message and the response of the protocol stack data request message from the real mobile phone protocol stack and returns the response to the PC side simulator.
Wherein, PC side simulator further includes: the system comprises a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit; wherein,
the protocol stack command simulation unit is used for receiving the protocol stack service control command request message and sending the protocol stack service control command request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response of the protocol stack service control command request message transmitted back by the mobile phone side proxy client through the PC side communication unit;
the protocol stack data simulation unit is used for receiving the protocol stack data request message and sending the protocol stack data request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response aiming at the protocol stack data request message transmitted back by the mobile phone side agent client through the PC side communication unit;
and the PC side communication unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
Wherein the mobile-side proxy client further comprises: the system comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit; wherein,
the protocol stack command proxy unit is used for receiving the protocol stack service control command request message from the PC side simulator and sending the protocol stack service control command request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; a protocol stack command agent unit receives the response of the protocol stack service control command request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit;
the protocol stack data proxy unit is used for receiving the protocol stack data request message from the PC side simulator and sending the protocol stack data request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; the protocol stack data agent unit receives the response aiming at the protocol stack data request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit;
and the mobile phone side communication agent unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
A PC side simulator is used for obtaining the wireless network capacity same as the real mobile phone environment through message interaction with a mobile phone side agent client during simulation.
The PC side simulator is further used for sending a protocol stack service control command request message and a protocol stack data request message to the mobile phone side proxy client during simulation; and the PC side simulator receives a response aiming at the protocol stack service control command request message and a response aiming at the protocol stack data request message returned by the mobile phone side proxy client.
Wherein, PC side simulator further includes: the system comprises a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit; wherein,
the protocol stack command simulation unit is used for receiving the protocol stack service control command request message and sending the protocol stack service control command request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response of the protocol stack service control command request message transmitted back by the mobile phone side proxy client through the PC side communication unit;
the protocol stack data simulation unit is used for receiving the protocol stack data request message and sending the protocol stack data request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response aiming at the protocol stack data request message transmitted back by the mobile phone side agent client through the PC side communication unit;
and the PC side communication unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
A mobile phone side agent client is used for enabling a PC side simulator to obtain the same wireless network capability as a real mobile phone environment through message interaction with the PC side simulator; and the mobile phone side proxy client is positioned in the real mobile phone environment and is connected with a real mobile phone protocol stack.
The mobile phone side proxy client is further configured to send the protocol stack service control command request message and the protocol stack data request message to the real mobile phone protocol stack; and the mobile phone side proxy client receives the response of the protocol stack service control command request message and the response of the protocol stack data request message from the real mobile phone protocol stack and returns the response to the PC side simulator.
Wherein the mobile-side proxy client further comprises: the system comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit; wherein,
the protocol stack command proxy unit is used for receiving the protocol stack service control command request message from the PC side simulator and sending the protocol stack service control command request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; a protocol stack command agent unit receives the response of the protocol stack service control command request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit;
the protocol stack data proxy unit is used for receiving the protocol stack data request message from the PC side simulator and sending the protocol stack data request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; the protocol stack data agent unit receives the response aiming at the protocol stack data request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit; and the mobile phone side communication agent unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
The PC side simulator in the system of the invention obtains the wireless network capability same as the real mobile phone environment through the message interaction with the mobile phone side proxy client during simulation.
By adopting the invention, because the PC side simulator in the system has the capability of interacting with the real mobile phone environment during simulation, the times of on-board debugging of developers can be reduced, thereby greatly improving the development efficiency of mobile phone software.
Drawings
FIG. 1 is a schematic diagram of an embodiment of the system of the present invention.
Detailed Description
The basic idea of the invention is: the mobile phone simulator realized by the simulation system on the PC has the same wireless network capability as the real mobile phone environment through interaction with the mobile phone side proxy client, which is equivalent to the addition of the function of connecting with the real mobile phone on the existing simulation system, thereby providing better support for network services and improving the development efficiency of mobile phone software.
The following describes the embodiments in further detail with reference to the accompanying drawings.
A simulation system, the simulation system comprising: PC side simulator and cell-phone side agent client. The PC side simulator is used for interacting with the message of the mobile phone side proxy client side during simulation to obtain the wireless network capability same as the real mobile phone environment. The mobile phone side agent client is used for enabling the PC side simulator to obtain the wireless network capability same as the real mobile phone environment through message interaction with the PC side simulator; the mobile phone side proxy client is positioned in the real mobile phone environment and is connected with the real mobile phone protocol stack.
For the PC side simulator, the PC side simulator is further used for sending a protocol stack service control command request message and a protocol stack data request message to a mobile phone side proxy client during simulation; and the PC side simulator receives a response to the protocol stack service control command request message and a response to the protocol stack data request message, which are returned by the mobile phone side proxy client.
Here, the PC-side simulator further includes: the device comprises a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit.
The protocol stack command simulation unit is used for receiving the protocol stack service control command request message and sending the protocol stack service control command request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response of the protocol stack service control command request message transmitted back by the mobile phone side proxy client through the PC side communication unit.
The protocol stack data simulation unit is used for receiving the protocol stack data request message and sending the protocol stack data request message to the mobile phone side proxy client through the PC side communication unit; and the protocol stack command simulation unit receives a response to the protocol stack data request message transmitted back by the mobile phone side proxy client through the PC side communication unit.
The PC side communication unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side proxy client.
For the mobile phone side proxy client, the mobile phone side proxy client is further used for sending the protocol stack service control command request message and the protocol stack data request message to a real mobile phone protocol stack; the mobile phone side proxy client receives the response of the protocol stack service control command request message and the response of the protocol stack data request message from the real mobile phone protocol stack and returns the response to the PC side simulator.
Here, the handset-side proxy client further includes: the system comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit.
The protocol stack command agent unit is used for receiving the protocol stack service control command request message from the PC side simulator and sending the protocol stack service control command request message to a real mobile phone protocol stack through the mobile phone side communication agent unit; the protocol stack command agent unit receives the response of the protocol stack service control command request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit.
The protocol stack data agent unit is used for receiving the protocol stack data request message from the PC side simulator and sending the protocol stack data request message to a real mobile phone protocol stack through the mobile phone side communication agent unit; the protocol stack data agent unit receives the response aiming at the protocol stack data request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit.
The mobile phone side communication agent unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
A PC side simulator is used for obtaining the wireless network capability same as the real mobile phone environment through message interaction with a mobile phone side agent client during simulation.
Here, the PC-side simulator is further configured to send a protocol stack service control command request message and a protocol stack data request message to the mobile phone-side proxy client during simulation; and the PC side simulator receives a response to the protocol stack service control command request message and a response to the protocol stack data request message, which are returned by the mobile phone side proxy client.
Here, the PC-side simulator further includes: the device comprises a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit.
The protocol stack command simulation unit is used for receiving the protocol stack service control command request message and sending the protocol stack service control command request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response of the protocol stack service control command request message transmitted back by the mobile phone side proxy client through the PC side communication unit.
The protocol stack data simulation unit is used for receiving the protocol stack data request message and sending the protocol stack data request message to the mobile phone side proxy client through the PC side communication unit; and the protocol stack command simulation unit receives a response to the protocol stack data request message transmitted back by the mobile phone side proxy client through the PC side communication unit.
The PC side communication unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side proxy client.
A mobile phone side agent client is used for enabling a PC side simulator to obtain the same wireless network capability as a real mobile phone environment through message interaction with the PC side simulator; the mobile phone side proxy client is positioned in the real mobile phone environment and is connected with the real mobile phone protocol stack.
Here, the mobile phone side proxy client is further configured to send the protocol stack service control command request message and the protocol stack data request message to the real mobile phone protocol stack; the mobile phone side proxy client receives the response of the protocol stack service control command request message and the response of the protocol stack data request message from the real mobile phone protocol stack and returns the response to the PC side simulator.
Here, the handset-side proxy client further includes: the system comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit.
The protocol stack command agent unit is used for receiving the protocol stack service control command request message from the PC side simulator and sending the protocol stack service control command request message to a real mobile phone protocol stack through the mobile phone side communication agent unit; the protocol stack command agent unit receives the response of the protocol stack service control command request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit.
The protocol stack data agent unit is used for receiving the protocol stack data request message from the PC side simulator and sending the protocol stack data request message to a real mobile phone protocol stack through the mobile phone side communication agent unit; the protocol stack data agent unit receives the response aiming at the protocol stack data request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit.
The mobile phone side communication agent unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
To sum up, the invention is applied to a simulation system for mobile phone software development, a PC side simulator and a mobile phone side proxy client. The system at least comprises a PC side simulator and a mobile phone side agent client, and the PC side simulator and the mobile phone side agent client perform interaction of protocol stack service control commands and data information, so that the PC side simulator has the same wireless network capability as a real mobile phone environment, namely, the PC side simulator in the system has high service simulation capability, and therefore, an application processing flow designed by a mobile phone developer runs in the PC side simulator as the PC side simulator runs in the real mobile phone environment, the times of upper board debugging of the developer are reduced, and the development efficiency of mobile phone software is greatly improved.
For the system, the invention mainly comprises the following contents:
the simulation system applied to mobile phone software development comprises a PC side simulator and a mobile phone side proxy client. The PC side simulator is used for providing equipment and operating system simulation required by mobile phone code operation, and sending a request of a protocol stack command and data information to a mobile phone side proxy client when service simulation is carried out. The mobile phone side proxy client is used for receiving a request of a protocol stack command and data information from the PC side simulator and transmitting the request to a real mobile phone protocol stack; when the real mobile phone protocol stack finishes the response operation corresponding to the requested data information and the protocol stack command or obtains the response data, the mobile phone side proxy client returns the response operation or the response data from the real mobile phone protocol stack to the PC side simulator.
For the PC side simulator, the PC side simulator specifically includes: the device comprises a virtual equipment simulation unit, an Operating System (OS) simulation unit, a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit. As described separately below.
The virtual equipment simulation unit is used for simulating each equipment interface in the real mobile phone, and comprises: keyboard, LCD, backlight, clock, camera, microphone, charger, etc.
The OS simulation unit is used for simulating each operating system interface in a real mobile phone, and comprises: file systems, process threads, memory management, etc.
The protocol stack command simulation unit is used for receiving and processing a protocol stack control request from a target mobile phone application code and sending the protocol stack control request to the mobile phone side proxy client through the PC side communication unit. Meanwhile, the protocol stack command simulation unit also receives response data aiming at the protocol stack control request transmitted back from the mobile phone side agent client through the PC side communication unit, and transmits the response data to the target mobile phone application code after processing. The processing of the protocol stack control request from the target mobile phone application code by the protocol stack command simulation unit specifically includes: and analyzing the protocol stack control request, and if the protocol stack control request belongs to a protocol stack which needs to be processed by a real mobile phone, encoding and packaging according to a communication convention between the protocol stack control request and the mobile phone side proxy client. The processing, by the protocol stack command simulation unit, of the response data to the protocol stack control request specifically includes: and analyzing the response data aiming at the protocol stack control request, and if the response data belongs to the data needing to be processed by the target mobile phone application code, transmitting the response data according to the transmission agreement with the target mobile phone application code.
The protocol stack data simulation unit is used for receiving and processing a protocol stack data request from a target mobile phone application code and sending the protocol stack data request to the mobile phone side proxy client through the PC side communication unit. Meanwhile, the protocol stack data simulation unit also receives response data aiming at the protocol stack data request transmitted back from the mobile phone side agent client through the PC side communication unit, and transmits the response data to the target mobile phone application code after processing. The processing of the protocol stack data request from the target mobile phone application code by the protocol stack data simulation unit specifically comprises the following steps: and analyzing the protocol stack data request, and if the protocol stack data request belongs to a protocol stack which needs to be processed by a real mobile phone, encoding and packaging according to a communication convention between the protocol stack data request and the proxy client at the mobile phone side. The processing, by the protocol stack data simulation unit, of the response data to the protocol stack data request specifically includes: and analyzing the response data aiming at the protocol stack data request, and if the response data belongs to the data needing to be processed by the target mobile phone application code, transmitting the response data according to the transmission agreement with the target mobile phone application code.
The PC side communication unit is used for transmitting a protocol stack control request and response data thereof, and a protocol stack data request and response data thereof.
For the mobile phone side proxy client, the mobile phone side proxy client specifically includes: the system comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit. As described separately below.
The protocol stack command agent unit is used for receiving and processing a protocol stack control request from the PC side simulator and transmitting the protocol stack control request to the real mobile phone protocol stack for processing. Meanwhile, the protocol stack command agent unit also receives response data aiming at the protocol stack control request transmitted back from the real mobile phone protocol stack, and transmits the response data to the PC side simulator through the mobile phone side communication agent unit after processing. The protocol stack command proxy unit is used for processing a protocol stack control request from a PC side simulator and specifically comprises the following steps: and decoding the coded protocol stack control request according to the communication convention of the PC side to obtain a request command. The processing, by the protocol stack command proxy unit, of the response data to the protocol stack control request specifically includes: and coding is carried out according to the communication convention with the PC side.
The protocol stack data agent unit is used for receiving and processing a protocol stack data request from the PC side simulator and transmitting the protocol stack data request to the real mobile phone protocol stack for processing. Meanwhile, the protocol stack data agent unit also receives response data aiming at the protocol stack data request transmitted back from the real mobile phone protocol stack, and transmits the response data to the PC side simulator through the mobile phone side communication agent unit after processing. The processing of the protocol stack data request from the PC side simulator by the protocol stack data proxy unit specifically comprises the following steps: and decoding the coded protocol stack data request according to the communication convention of the PC side to obtain a request data packet. The processing, by the protocol stack data proxy unit, of the response data to the protocol stack data request specifically includes: and coding is carried out according to the communication convention with the PC side.
It can be seen that: the invention mainly starts the PC side simulator and the mobile phone side agent client after the mobile phone developer completes the development and compilation of the target mobile phone application code. When a mobile phone developer runs a target mobile phone application code through the system and performs service simulation, a PC side simulator and a mobile phone side agent client communicate with each other to transmit service control commands and data between the PC side and the mobile phone side, and the service control commands and data are interacted with a real mobile phone protocol stack, so that service flow of upper application can be guaranteed to be consistent with a real mobile phone environment to the maximum extent, the aim of directly using a real wireless environment is achieved, and the times of upper board debugging are reduced to improve development efficiency.
The invention is illustrated below.
The embodiment of the system is as follows:
the simulation system of the invention is shown in fig. 1, and comprises a PC side simulator and a mobile phone side proxy client. The PC side simulator is used for supporting and operating application codes developed by mobile phone developers and providing various simulations of equipment, an OS and a protocol stack required by the operation of the mobile phone.
The PC side simulator comprises a virtual equipment simulation unit, an OS simulation unit, a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit, wherein the description of each unit is as follows:
the virtual device emulation unit is used to provide emulation of access to devices by handset codes, including but not limited to: keyboard, LCD, backlight, clock, camera, microphone, charger, sound card, etc.
The OS simulation unit is used for providing simulation of the access of the mobile phone code to the operating system, and comprises: file systems, process threads, memory management, etc.
The protocol stack command simulation unit is used for receiving a protocol stack command request from a mobile phone application code, and is usually an AT command, if the real mobile phone protocol stack also adopts the AT command, the protocol stack command simulation unit only performs simple transparent transmission and sends the real mobile phone protocol stack to the mobile phone side proxy client through the PC side communication unit, otherwise, the protocol stack command simulation unit processes and encapsulates the real mobile phone protocol stack into a corresponding command of the real mobile phone protocol stack and then transmits the corresponding command to the mobile phone side proxy client. The protocol stack command simulation unit at least comprises two parts of PS simulation and command conversion. Wherein, the meaning of passing through means: the transfer is direct without format conversion. PS simulations include AT and/or ATI. Wherein, AT command is a language used for communicating with modem, and is a character type command; PS is a shorthand for Protocol stack; ATI is a command in the form of a message that functions the same as an AT command. Some protocol stacks do not support AT mode, only control in message form.
The protocol stack data simulation unit provides a standard Socket (Socket) interface for the application code of the mobile phone to use, a TCP/IP protocol stack and a point-to-point protocol (PPP) Client (Client) are arranged inside the protocol stack data simulation unit, and when the protocol stacks on the PC side and the mobile phone side transmit data, the data are packaged/unpacked through the PPP protocol and then enter the TCP/IP package, so that the Socket interface is realized. The protocol stack data simulation unit at least comprises three parts of a Socket, a TCP/IP protocol stack and a PPP Client.
The PC side communication unit provides an interface for the communication between the PC side simulator and the mobile phone side proxy client, and is used for transmitting commands and data between the PC side simulator and the mobile phone side proxy client. The PC side communication unit can be any interface form of a serial port, a USB and an Ethernet, as long as the interface form is equal to that of the mobile phone side proxy client.
The mobile phone side proxy client comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit, and the description of each unit is as follows:
the protocol stack command agent unit receives the command request from the PC side through the mobile phone side communication agent unit and transmits the command request to the real protocol stack of the mobile phone side for processing, and when the real protocol stack of the mobile phone side returns the response data aiming at the command request, the protocol stack command agent unit transmits the response data to the protocol stack command simulation unit of the PC side through the mobile phone side communication agent unit. The protocol stack command proxy unit is composed of at least two parts, namely a PS interface and a command conversion part.
The protocol stack data proxy unit internally comprises a PPP Server (Server), and when the PC side simulator transmits data to the mobile phone side protocol stack data proxy unit, the data is unpacked through the PPP protocol and then transmitted to a real protocol stack at the mobile phone side. Conversely, when the real protocol stack at the mobile phone side has data to report, the protocol stack data proxy unit packs the reported data through the PPP protocol and then transmits the data to the PC side protocol stack data simulation unit through the mobile phone side communication proxy unit. The protocol stack data proxy unit is composed of at least two parts of protocol stack data, TCP/IP protocol stack and PPP Server.
The mobile phone side communication agent unit provides an interface for communicating with the PC side simulator and is used for data transmission between the PC side simulator and the mobile phone side agent client. The mobile phone side communication agent unit can be any interface form of serial port, USB and Ethernet, as long as the interface form is equivalent to that of the PC side simulator.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (10)
1. A simulation system, characterized in that the simulation system comprises: a PC side simulator and a mobile phone side proxy client; wherein,
the PC side simulator is used for obtaining the wireless network capability same as the real mobile phone environment through message interaction with the mobile phone side proxy client during simulation;
the mobile phone side agent client is used for enabling the PC side simulator to obtain the wireless network capacity same as the real mobile phone environment through message interaction with the PC side simulator; and the mobile phone side proxy client is positioned in the real mobile phone environment and is connected with a real mobile phone protocol stack.
2. The simulation system of claim 1, wherein the PC-side simulator is further configured to send a protocol stack service control command request message and a protocol stack data request message to the mobile phone-side proxy client during simulation; the PC side simulator receives a response aiming at a protocol stack service control command request message and a response aiming at a protocol stack data request message, which are returned by the mobile phone side agent client;
the mobile phone side proxy client is further used for sending the protocol stack service control command request message and the protocol stack data request message to the real mobile phone protocol stack; and the mobile phone side proxy client receives the response of the protocol stack service control command request message and the response of the protocol stack data request message from the real mobile phone protocol stack and returns the response to the PC side simulator.
3. The simulation system of claim 2, wherein the PC-side simulator further comprises: the system comprises a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit; wherein,
the protocol stack command simulation unit is used for receiving the protocol stack service control command request message and sending the protocol stack service control command request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response of the protocol stack service control command request message transmitted back by the mobile phone side proxy client through the PC side communication unit;
the protocol stack data simulation unit is used for receiving the protocol stack data request message and sending the protocol stack data request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response aiming at the protocol stack data request message transmitted back by the mobile phone side agent client through the PC side communication unit;
and the PC side communication unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
4. The simulation system of claim 2, wherein the mobile-side proxy client further comprises: the system comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit; wherein,
the protocol stack command proxy unit is used for receiving the protocol stack service control command request message from the PC side simulator and sending the protocol stack service control command request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; a protocol stack command agent unit receives the response of the protocol stack service control command request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit;
the protocol stack data proxy unit is used for receiving the protocol stack data request message from the PC side simulator and sending the protocol stack data request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; the protocol stack data agent unit receives the response aiming at the protocol stack data request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit;
and the mobile phone side communication agent unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
5. The PC side simulator is characterized by being used for obtaining the wireless network capability identical to the real mobile phone environment through message interaction with a mobile phone side proxy client during simulation.
6. The PC-side simulator of claim 5, further configured to send a protocol stack service control command request message and a protocol stack data request message to the mobile phone-side proxy client during simulation; and the PC side simulator receives a response aiming at the protocol stack service control command request message and a response aiming at the protocol stack data request message returned by the mobile phone side proxy client.
7. The PC-side simulator of claim 6, further comprising: the system comprises a protocol stack command simulation unit, a protocol stack data simulation unit and a PC side communication unit; wherein,
the protocol stack command simulation unit is used for receiving the protocol stack service control command request message and sending the protocol stack service control command request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response of the protocol stack service control command request message transmitted back by the mobile phone side proxy client through the PC side communication unit;
the protocol stack data simulation unit is used for receiving the protocol stack data request message and sending the protocol stack data request message to the mobile phone side proxy client through the PC side communication unit; the protocol stack command simulation unit receives the response aiming at the protocol stack data request message transmitted back by the mobile phone side agent client through the PC side communication unit;
and the PC side communication unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
8. A mobile phone side agent client is characterized in that the mobile phone side agent client is used for enabling a PC side simulator to obtain the same wireless network capability as a real mobile phone environment through message interaction with the PC side simulator; and the mobile phone side proxy client is positioned in the real mobile phone environment and is connected with a real mobile phone protocol stack.
9. The mobile phone-side proxy client of claim 8, wherein the mobile phone-side proxy client is further configured to send the protocol stack service control command request message and the protocol stack data request message to the real mobile phone protocol stack; and the mobile phone side proxy client receives the response of the protocol stack service control command request message and the response of the protocol stack data request message from the real mobile phone protocol stack and returns the response to the PC side simulator.
10. The mobile-phone-side proxy client of claim 9, wherein the mobile-phone-side proxy client further comprises: the system comprises a protocol stack command proxy unit, a protocol stack data proxy unit and a mobile phone side communication proxy unit; wherein,
the protocol stack command proxy unit is used for receiving the protocol stack service control command request message from the PC side simulator and sending the protocol stack service control command request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; a protocol stack command agent unit receives the response of the protocol stack service control command request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit;
the protocol stack data proxy unit is used for receiving the protocol stack data request message from the PC side simulator and sending the protocol stack data request message to the real mobile phone protocol stack through the mobile phone side communication proxy unit; the protocol stack data agent unit receives the response aiming at the protocol stack data request message transmitted back by the real mobile phone protocol stack and transmits the response to the PC side simulator through the mobile phone side communication agent unit; and the mobile phone side communication agent unit is used as a transmission medium for message interaction between the PC side simulator and the mobile phone side agent client.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010102811.4A CN101800910B (en) | 2010-01-25 | 2010-01-25 | Simulation system, PC side simulator and mobile phone side agent client |
PCT/CN2010/072438 WO2011088644A1 (en) | 2010-01-25 | 2010-05-04 | Simulation system, pc side simulator and agent client at mobile terminal side |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010102811.4A CN101800910B (en) | 2010-01-25 | 2010-01-25 | Simulation system, PC side simulator and mobile phone side agent client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101800910A true CN101800910A (en) | 2010-08-11 |
CN101800910B CN101800910B (en) | 2014-04-09 |
Family
ID=42596361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010102811.4A Expired - Fee Related CN101800910B (en) | 2010-01-25 | 2010-01-25 | Simulation system, PC side simulator and mobile phone side agent client |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101800910B (en) |
WO (1) | WO2011088644A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102393821A (en) * | 2011-06-24 | 2012-03-28 | 四川创立信息科技有限责任公司 | Simulator supporting various mobile internet devices |
WO2014048215A1 (en) * | 2012-09-29 | 2014-04-03 | 中兴通讯股份有限公司 | Development, compiling and debugging method and device for application |
CN104007983A (en) * | 2014-06-18 | 2014-08-27 | 北京金和软件股份有限公司 | Method and device for displaying real browsing effect of mobile phone interface through PC |
CN108200170A (en) * | 2018-01-02 | 2018-06-22 | 武汉斗鱼网络科技有限公司 | Message treatment method, device and readable storage medium storing program for executing |
CN111343261A (en) * | 2020-02-20 | 2020-06-26 | 大连睿海信息科技有限公司 | Mobile phone data backup method based on wireless hotspot transmission |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103248709B (en) * | 2013-05-23 | 2016-03-16 | 网宿科技股份有限公司 | Wireless signal automation simulation method and system |
US11637907B2 (en) * | 2016-11-16 | 2023-04-25 | Verizon Patent And Licensing Inc. | Systems and methods for tracking device IDs for virtualized applications |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1522086A (en) * | 2003-02-12 | 2004-08-18 | 华冠通讯股份有限公司 | Automatic testing system and method for mobile phone functions |
US7324588B2 (en) * | 2003-06-30 | 2008-01-29 | Nokia Corporation | Apparatus, and associated method, for testing a mobile terminal in test conditions that emulate an operating environment |
CN100568829C (en) * | 2005-12-29 | 2009-12-09 | 中兴通讯股份有限公司 | Mobile terminal protocol method of testing and system thereof |
CN100568994C (en) * | 2006-03-09 | 2009-12-09 | 中兴通讯股份有限公司 | A kind of protocol software testing system and method |
-
2010
- 2010-01-25 CN CN201010102811.4A patent/CN101800910B/en not_active Expired - Fee Related
- 2010-05-04 WO PCT/CN2010/072438 patent/WO2011088644A1/en active Application Filing
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102393821A (en) * | 2011-06-24 | 2012-03-28 | 四川创立信息科技有限责任公司 | Simulator supporting various mobile internet devices |
WO2014048215A1 (en) * | 2012-09-29 | 2014-04-03 | 中兴通讯股份有限公司 | Development, compiling and debugging method and device for application |
CN103713889A (en) * | 2012-09-29 | 2014-04-09 | 三亚中兴软件有限责任公司 | Method and device for developing, compiling and debugging application |
CN103713889B (en) * | 2012-09-29 | 2018-07-13 | 三亚中兴软件有限责任公司 | A kind of exploitation of application, compiling and adjustment method and device |
CN104007983A (en) * | 2014-06-18 | 2014-08-27 | 北京金和软件股份有限公司 | Method and device for displaying real browsing effect of mobile phone interface through PC |
CN108200170A (en) * | 2018-01-02 | 2018-06-22 | 武汉斗鱼网络科技有限公司 | Message treatment method, device and readable storage medium storing program for executing |
CN108200170B (en) * | 2018-01-02 | 2020-01-03 | 武汉斗鱼网络科技有限公司 | Message processing method and device and readable storage medium |
CN111343261A (en) * | 2020-02-20 | 2020-06-26 | 大连睿海信息科技有限公司 | Mobile phone data backup method based on wireless hotspot transmission |
Also Published As
Publication number | Publication date |
---|---|
WO2011088644A1 (en) | 2011-07-28 |
CN101800910B (en) | 2014-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101800910B (en) | Simulation system, PC side simulator and mobile phone side agent client | |
CN102917095B (en) | A kind of method of the terminal test based on android system and device | |
US8254903B2 (en) | System and method for remotely operating a wireless device using a server and client architecture | |
CN102541795A (en) | Method and system for USB (universal serial bus) dynamic real-time control based on Android system | |
CN103577320A (en) | Testing method and system of remote terminals | |
CN101505339B (en) | Implementation method for directly deploying mobile phone application program from computer onto mobile phone | |
CN106487847B (en) | Information processing method and transfer server | |
CN109460280B (en) | Method and terminal for running program | |
CN1320842C (en) | Real-time simulation developing method and system for SIM toolkit | |
CN101364200A (en) | A Breakpoint Realization Method of Embedded MIDlet Debugging Software | |
CN101917780B (en) | Function implementation method and device of wireless communication terminal network equipment | |
CN106569972A (en) | USB interface-based JTAG one-chip microcomputer wireless emulator and method | |
CN106648805A (en) | Intelligent device, intelligent system, and method for intelligently installing application | |
CN108307286B (en) | Method and system for realizing communication between android devices based on NFC | |
CN101510179B (en) | Signal transmission apparatus and method | |
CN104618481A (en) | Thing networking APP (application) development method and device and thing networking system | |
CN117707439A (en) | Log printing method and related device | |
CN102567070A (en) | Mobile phone software debugging method and simulator for mobile phone software | |
CN111431973B (en) | UART-based program online downloading system and method for practical teaching of computer system | |
CN101349989A (en) | Step-by-Step Realization Method of Embedded MIDlet Remote Debugging Software | |
CN112367362A (en) | Data processing method, device and equipment and computer storage medium | |
CN108628683B (en) | Data transmission method and device | |
CN110018959B (en) | Embedded application debugging method and system | |
CN101876937B (en) | Method for simulating information interaction of smart card | |
Auletta et al. | A J2ME transparent middleware to support HTTP connections over Bluetooth |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140409 Termination date: 20180125 |
|
CF01 | Termination of patent right due to non-payment of annual fee |