CN101800910B - 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 PDF

Info

Publication number
CN101800910B
CN101800910B CN 201010102811 CN201010102811A CN101800910B CN 101800910 B CN101800910 B CN 101800910B CN 201010102811 CN201010102811 CN 201010102811 CN 201010102811 A CN201010102811 A CN 201010102811A CN 101800910 B CN101800910 B CN 101800910B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
side
protocol stack
pc
unit
phone
Prior art date
Application number
CN 201010102811
Other languages
Chinese (zh)
Other versions
CN101800910A (en )
Inventor
徐峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Abstract

本发明公开了一种模拟系统、PC侧模拟器及手机侧代理客户端;其中,该模拟系统中,PC侧模拟器用于通过模拟时与手机侧代理客户端的消息交互,获得与真实手机环境相同的无线网络能力;手机侧代理客户端用于通过与PC侧模拟器的消息交互,使PC侧模拟器获得与真实手机环境相同的无线网络能力;手机侧代理客户端位于真实手机环境中且与真实手机协议栈相连。 The present invention discloses a simulation system, PC and mobile phone side emulator proxy client side; wherein the analog system, PC-side message emulator for simulating the interaction via phone client-side proxy, obtain the same environment as the actual phone wireless networking capabilities; phone-side proxy client for interacting with PC-side message by the simulator, so that the PC side and the actual phone emulator environment to obtain the same wireless network capabilities; phone-side proxy client is a real environment and a mobile phone and actual phone protocol stack is connected. 采用本发明的系统、PC侧模拟器和手机侧代理客户端,大大提高了手机软件的开发效率。 According to the present invention system, PC and mobile phone simulator side client-side proxy, greatly improving the efficiency of the development of mobile phone software.

Description

一种模拟系统、PC侧模拟器及手机侧代理客户端 An analog system, PC and mobile phone simulator side client-side proxy

技术领域 FIELD

[0001] 本发明涉及移动通讯领域,尤其涉及一种应用于手机软件开发的模拟系统、PC侧模拟器及手机侧代理客户端。 [0001] The present invention relates to the field of mobile communications, and particularly to a simulation system software development phone, PC and mobile phone side of the simulator-side proxy client.

背景技术 Background technique

[0002] 随着目前手机市场竞争的白热化,对于手机的开发周期提出了越来越高的要求。 [0002] With the current intense competition in the mobile phone market for mobile phone development cycle of higher and higher requirements. 然而大部分的手机设备制造商(OEM)厂商所涉及到的开发工作都是应用人机交互界面(MMI)部分,传统的开发方式是在PC中将应用界面编写、编译好再通过下载工具下载到手机环境中运行、调试。 However, most mobile phone equipment manufacturer (OEM) vendors involved in the application development work is man-machine interface (MMI) part, the traditional development approach is to write in the application interface in the PC, then download a good compiler tool download run to the phone environment, debugging. 如果发现问题,则再重新在PC上进行上板调试、编译好后再下载,如此往复,效率非常低。 If a problem is found, then re-board debugging on the PC, then download a good compiler, and so forth, the efficiency is very low. 现有手机模拟系统的出现一定程度的解决了以上问题,它能够在PC中模拟出手机环境中的设备及无线网络并运行,这样开发者在PC上设计时就能发现MMI及部分应用流程问题而无需下载到手机环境。 Existing analog phone system appears to solve the above problem to a certain extent, it can simulate a mobile phone in a PC environment, equipment and wireless network up and running, so developers will be able to find part of the application process issues and MMI design on a PC without having to download to a mobile phone environment. 然而,由于现有手机模拟系统不具备在模拟时与真实手机环境进行交互的能力,因此,对无线网络的模拟并不彻底,甚至与真实环境差异很大,从而,往往导致采用现有手机模拟系统在PC上调试没有问题的代码下载到了手机上却出现较多问题,从而导致手机软件的开发人员不得不回到原来的老方法——直接上板调试,如此一来,大大影响了手机软件的开发效率。 However, due to the existing analog phone system does not have the ability to interact in real time with an analog phone environment, therefore, the analog wireless network is not complete, even with a large difference in the real environment, which often leads to the use of existing analog phones on a PC debugging no problem code is downloaded to the phone but there are more problems, leading mobile software developers had to return to the original old-fashioned way - directly on board debugging, thus, greatly affected the mobile phone software the development efficiency.

[0003] 如果能够实现一个手机模拟系统,且该系统在PC上实现的手机模拟器,能具备与真实手机环境一样的无线网络能力,即:在模拟时具备与真实手机环境进行交互的能力,那么就能够减少开发人员上板调试的次数,从而大大提高了手机软件的开发效率,但是目前尚未存在这样的解决方案。 [0003] If we can achieve a cell phone analog system, and the system implemented on the PC phone simulator environment can have a real phone as a wireless network capabilities, namely: the ability to interact with the actual phone in the simulation environment, then you can reduce the number of developers on board debugging, thus greatly improving the efficiency of the development of mobile phone software, but there is not yet such a solution.

发明内容 SUMMARY

[0004] 有鉴于此,本发明的主要目的在于提供一种模拟系统、PC侧模拟器及手机侧代理客户端,在模拟时具备与真实手机环境进行交互的能力,大大提高了手机软件的开发效率。 [0004] In view of this, the main object of the present invention is to provide a simulation system, PC and mobile phone side emulator proxy client side, the ability to interact with the real analog phone environment, greatly improves the development of mobile software effectiveness.

[0005] 为达到上述目的,本发明的技术方案是这样实现的: [0005] To achieve the above object, the technical solution of the present invention is implemented as follows:

[0006] 一种模拟系统,所述模拟系统包括:PC侧模拟器和手机侧代理客户端;其中, [0006] A simulation system, the simulation system comprising: PC side and the side of the phone emulator proxy client; wherein,

[0007] PC侧模拟器,用于通过模拟时与所述手机侧代理客户端的消息交互,获得与真实手机环境相同的无线网络能力; [0007] PC side simulator for simulating message interaction via the handset client-side proxy, obtain the actual phone wireless network environment, the same capacity;

[0008] 手机侧代理客户端,用于通过与所述PC侧模拟器的消息交互,使所述PC侧模拟器获得与真实手机环境相同的无线网络能力;所述手机侧代理客户端位于所述真实手机环境中且与真实手机协议栈相连。 [0008] Mobile client-side proxy, for interaction with the message through PC side simulator, the simulator to obtain the real side PC environment the same mobile phone wireless network capacity; the phone is located in the client-side proxy said actual phone environments and connected to the actual phone protocol stack.

[0009] 其中,所述PC侧模拟器,进一步用于模拟时将协议栈业务控制命令请求消息、和协议栈数据请求消息发送给所述手机侧代理客户端;PC侧模拟器接收所述手机侧代理客户端返回的针对协议栈业务控制命令请求消息的响应、和针对协议栈数据请求消息的响应; [0009] wherein, the PC-side emulator, while the protocol stack is further used to simulate traffic control command request message, and the protocol stack data request message to the mobile phone client-side proxy; simulator receiving the phone side PC Back-side proxy client service control protocol stack for the command response request message, response message and the request for a data protocol stack;

[0010] 所述手机侧代理客户端,进一步用于将所述协议栈业务控制命令请求消息、和所述协议栈数据请求消息发送给所述真实手机协议栈;手机侧代理客户端接收来自于所述真实手机协议栈的所述协议栈业务控制命令请求消息的响应、和针对所述协议栈数据请求消息的响应,并返回给所述PC侧模拟器。 [0010] The phone side proxy client, the protocol stack is further for service control command request message, and the protocol stack data request message to the actual phone protocol stack; phone-side client receives from the proxy the actual phone protocol stack protocol stack of the service control command in response to the message request, and the request response message of the protocol stack for the data, and returns to the side of the PC emulator.

[0011] 其中,所述PC侧模拟器,进一步包括:协议栈命令模拟单元、协议栈数据模拟单元和PC侧通讯单元;其中, [0011] wherein, the PC-side emulator, further comprising: an analog unit commands a protocol stack, the protocol stack data unit and the PC-side analog communication unit; wherein,

[0012] 所述协议栈命令模拟单元,用于接收所述协议栈业务控制命令请求消息,并通过所述PC侧通讯单元发送给所述手机侧代理客户端;协议栈命令模拟单元通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的所述协议栈业务控制命令请求消息的响应; [0012] The simulation unit command protocol stack, the protocol stack for receiving a control command request message service, a mobile phone and sent to the client-side proxy through the PC-side communication unit; stack by means of the command to simulate PC phone-side communication unit receives the client-side proxy passed back to the service control protocol stack in response to a command request message;

[0013] 所述协议栈数据模拟单元,用于接收所述协议栈数据请求消息,并通过所述PC侧通讯单元发送给所述手机侧代理客户端;协议栈数据模拟单元通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的针对所述协议栈数据请求消息的响应; [0013] The simulation unit data protocol stack, the protocol stack for receiving said data request message, and sent to the mobile phone side by the proxy client PC-side communication unit; simulation unit via a data protocol stack of the PC-side Mobile communication unit receives the client-side proxy passed back to the protocol stack data for a request response message;

[0014] 所述PC侧通讯单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间消息交互的传输媒介。 [0014] The PC-side communication means for transmitting the media as the PC phone-side emulator message interaction between the client-side proxy.

[0015] 其中,所述手机侧代理客户端,进一步包括:协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元;其中, [0015] wherein, the phone client-side proxy, further comprising: a command stack agent unit, agent unit and the protocol stack data communications side of the phone agent unit; wherein,

[0016] 所述协议栈命令代理单元,用于接收来自于所述PC侧模拟器的所述协议栈业务控制命令请求消息,并通过所述手机侧通讯代理单元发送给所述真实手机协议栈;协议栈命令代理单元接收所述真实手机协议栈传递回来的所述协议栈业务控制命令请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器; [0016] The protocol stack command broker unit for receiving from the PC-side protocol stack of the service simulator control command request message and sent to the protocol stack by the actual phone handset unit side communication agent ; stack agents command unit receives the actual phone protocol stack protocol stack passed back to the control command request service response message, and transmitted to the PC side by the side of the phone emulator proxy communication unit;

[0017] 所述协议栈数据代理单元,用于接收来自于所述PC侧模拟器的所述协议栈数据请求消息,并通过所述手机侧通讯代理单元发送给所述真实手机协议栈;协议栈数据代理单元接收所述真实手机协议栈传递回来的针对所述协议栈数据请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器; [0017] The protocol stack data proxy unit for receiving from the protocol simulator side of the PC stack data request message, and transmits the actual phone to the phone-side communications protocol stack proxy unit; Protocol proxy unit receives the data stack actual phone protocol stack for data transfer back to the protocol stack request response message, and transmitted to the PC side by the side of the phone emulator proxy communication unit;

[0018] 所述手机侧通讯代理单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间消息交互的传输媒介。 [0018] The phone side communication agent means to the PC as the simulator-side mobile phone transmission media message interaction between the client-side proxy.

[0019] 一种PC侧模拟器,所述PC侧模拟器,用于通过模拟时与手机侧代理客户端的消息交互,获得与真实手机环境相同的无线网络能力。 [0019] A PC-side emulator, the emulator PC side, a message interaction via the analog phone client-side proxy, obtain the real environment the same mobile phone wireless network capabilities.

[0020] 其中,所述PC侧模拟器,进一步用于模拟时将协议栈业务控制命令请求消息、和协议栈数据请求消息发送给所述手机侧代理客户端;PC侧模拟器接收所述手机侧代理客户端返回的针对协议栈业务控制命令请求消息的响应、和针对协议栈数据请求消息的响应。 [0020] wherein, the PC-side emulator, while the protocol stack is further used to simulate traffic control command request message, and the protocol stack data request message to the mobile phone client-side proxy; simulator receiving the phone side PC Back-side proxy client service control protocol stack for the command response request message, response message and the request for a data protocol stack.

[0021] 其中,所述PC侧模拟器,进一步包括:协议栈命令模拟单元、协议栈数据模拟单元和PC侧通讯单元;其中, [0021] wherein, the PC-side emulator, further comprising: an analog unit commands a protocol stack, the protocol stack data unit and the PC-side analog communication unit; wherein,

[0022] 所述协议栈命令模拟单元,用于接收所述协议栈业务控制命令请求消息,并通过所述PC侧通讯单元发送给所述手机侧代理客户端;协议栈命令模拟单元通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的所述协议栈业务控制命令请求消息的响应; [0022] The simulation unit command protocol stack, the protocol stack for receiving a control command request message service, a mobile phone and sent to the client-side proxy through the PC-side communication unit; stack by means of the command to simulate PC phone-side communication unit receives the client-side proxy passed back to the service control protocol stack in response to a command request message;

[0023] 所述协议栈数据模拟单元,用于接收所述协议栈数据请求消息,并通过所述PC侧通讯单元发送给所述手机侧代理客户端;协议栈数据模拟单元通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的针对所述协议栈数据请求消息的响应; [0023] The simulation unit data protocol stack, the protocol stack for receiving said data request message, and sent to the mobile phone side by the proxy client PC-side communication unit; simulation unit via a data protocol stack of the PC-side Mobile communication unit receives the client-side proxy passed back to the protocol stack data for a request response message;

[0024] 所述PC侧通讯单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间消息交互的传输媒介。 [0024] The PC-side communication means for transmitting the media as the PC phone-side emulator message interaction between the client-side proxy.

[0025] 一种手机侧代理客户端,所述手机侧代理客户端,用于通过与PC侧模拟器的消息交互,使所述PC侧模拟器获得与真实手机环境相同的无线网络能力;所述手机侧代理客户端位于所述真实手机环境中且与真实手机协议栈相连。 [0025] A mobile phone-side proxy client, the proxy client side of the phone, a message interaction with the PC side by the simulator, the simulator-side PC environment to obtain the same actual phone wireless network capacity; the said proxy client-side mobile phone is in the real environment and is connected to the phone actual phone protocol stack.

[0026] 其中,所述手机侧代理客户端,进一步用于将所述协议栈业务控制命令请求消息、和所述协议栈数据请求消息发送给所述真实手机协议栈;手机侧代理客户端接收来自于所述真实手机协议栈的所述协议栈业务控制命令请求消息的响应、和针对所述协议栈数据请求消息的响应,并返回给所述PC侧模拟器。 [0026] wherein the side of the phone proxy client, the protocol stack is further for service control command request message, and the protocol stack data request message to the actual phone protocol stack; Mobile client-side proxy receives the traffic from the protocol stack to the actual phone protocol stack in response to the control command request message and a response message for the request of the protocol stack data, and returns to the side of the PC emulator.

[0027] 其中,所述手机侧代理客户端,进一步包括:协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元;其中, [0027] wherein, the phone client-side proxy, further comprising: a command stack agent unit, agent unit and the protocol stack data communications side of the phone agent unit; wherein,

[0028] 所述协议栈命令代理单元,用于接收来自于所述PC侧模拟器的所述协议栈业务控制命令请求消息,并通过所述手机侧通讯代理单元发送给所述真实手机协议栈;协议栈命令代理单元接收所述真实手机协议栈传递回来的所述协议栈业务控制命令请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器; [0028] The protocol stack command broker unit for receiving from the PC-side protocol stack of the service simulator control command request message and sent to the protocol stack by the actual phone handset unit side communication agent ; stack agents command unit receives the actual phone protocol stack protocol stack passed back to the control command request service response message, and transmitted to the PC side by the side of the phone emulator proxy communication unit;

[0029] 所述协议栈数据代理单元,用于接收来自于所述PC侧模拟器的所述协议栈数据请求消息,并通过所述手机侧通讯代理单元发送给所述真实手机协议栈;协议栈数据代理单元接收所述真实手机协议栈传递回来的针对所述协议栈数据请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器;所述手机侧通讯代理单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间消息交互的传输媒介。 [0029] The protocol stack data proxy unit for receiving from the protocol simulator side of the PC stack data request message, and transmits the actual phone to the phone-side communications protocol stack proxy unit; Protocol proxy unit receives the data stack actual phone protocol stack for data transfer back to the protocol stack request response message, and transmitted to the PC side by the side of the phone emulator proxy communication unit; the correspondent side of the phone unit , for transmission media message interaction between the client-side proxy simulator as the PC and the phone side.

[0030] 本发明系统中的PC侧模拟器,通过模拟时与手机侧代理客户端的消息交互,获得与真实手机环境相同的无线网络能力。 [0030] The system of the present invention, a PC emulator side, through message interaction with the analog phone client-side proxy, obtain the real environment the same mobile phone wireless network capabilities.

[0031] 采用本发明,由于系统中的PC侧模拟器在模拟时具备与真实手机环境进行交互的能力,因此,能够减少开发人员上板调试的次数,从而大大提高了手机软件的开发效率。 [0031] According to the present invention, since the system simulator the PC side is the ability to interact with the real analog phone environment, it is possible to reduce the number of developers on the debug panel, thus greatly improving the efficiency of the development of mobile phone software.

附图说明 BRIEF DESCRIPTION

[0032] 图1为本发明系统实施例的示意图。 [0032] FIG. 1 is a schematic example of embodiment of the present inventive system.

具体实施方式 Detailed ways

[0033] 本发明的基本思想是:模拟系统在PC上实现的手机模拟器,通过与手机侧代理客户端的交互,使手机模拟器具备与真实手机环境一样的无线网络能力,相当于在现有模拟系统上增加了与真实手机连接的功能,从而对网络业务提出更好的支持,提高手机软件的开发效率。 [0033] The basic idea of ​​the invention is: an analog system implemented on a PC emulator phone, the mobile phone by the client-side proxy interaction, the phone is provided with a simulator environment actual phone as a wireless network capacity, corresponding to the existing It adds the ability to connect with the real analog phone systems to come up with better support for network services, to improve the efficiency of the development of mobile phone software.

[0034] 下面结合附图对技术方案的实施作进一步的详细描述。 [0034] The following describes embodiments of the technical solutions described in further detail in conjunction.

[0035] 一种模拟系统,该模拟系统包括:PC侧模拟器和手机侧代理客户端。 [0035] A simulation system, the simulation system comprising: PC side and the side of the phone emulator proxy client. 其中,PC侧模拟器用于通过模拟时与手机侧代理客户端的消息交互,获得与真实手机环境相同的无线网络能力。 Where, PC side simulator for interactive news agency and the client side via analog phones, mobile phones get real environment the same wireless network capabilities. 手机侧代理客户端用于通过与PC侧模拟器的消息交互,使PC侧模拟器获得与真实手机环境相同的无线网络能力;手机侧代理客户端位于真实手机环境中且与真实手机协议栈相连。 Mobile client-side proxy for the message by interacting with the simulator-side PC, the PC side so that the actual phone emulator environment to obtain the same capacity of a wireless network; phone-side proxy client is a real environment and is connected to the phone actual phone protocol stack .

[0036] 针对PC侧模拟器而言,PC侧模拟器进一步用于模拟时将协议栈业务控制命令请求消息、和协议栈数据请求消息发送给手机侧代理客户端;PC侧模拟器接收手机侧代理客户端返回的针对协议栈业务控制命令请求消息的响应、和针对协议栈数据请求消息的响应。 [0036] The terms emulator for the PC side, the PC-side emulator further for the analog control command protocol stack service request message, and the protocol stack data request message to the mobile phone client-side proxy; simulator receiving side of the phone side PC proxy client returns control protocol stack for service request message in response to the command, and request response message for the protocol stack data.

[0037] 这里,PC侧模拟器进一步包括:协议栈命令模拟单元、协议栈数据模拟单元和PC侧通讯单元。 [0037] Here, the PC side simulator further comprising: an analog unit commands a protocol stack, the protocol stack data unit and the PC-side analog communication unit.

[0038] 其中,协议栈命令模拟单元用于接收该协议栈业务控制命令请求消息,并通过PC侧通讯单元发送给手机侧代理客户端;协议栈命令模拟单元通过PC侧通讯单元接收手机侧代理客户端传递回来的该协议栈业务控制命令请求消息的响应。 [0038] wherein the protocol stack means for receiving a command to simulate the control command protocol stack service request message, and sent to a mobile phone-side client proxy PC side by the communication unit; means for receiving an analog command protocol stack side of the phone side PC via the proxy communication unit the client passes back the response to the control command protocol stack service request message.

[0039] 协议栈数据模拟单元用于接收该协议栈数据请求消息,并通过PC侧通讯单元发送给手机侧代理客户端;协议栈数据模拟单元通过PC侧通讯单元接收手机侧代理客户端传递回来的针对所述协议栈数据请求消息的响应。 [0039] The protocol stack means for receiving the analog data protocol stack data request message, and sent to a mobile phone-side client proxy PC side by the communication unit; protocol stack data unit receiving analog phone via the PC client side proxy communication unit is passed back side the protocol stack for a data request response message.

[0040] PC侧通讯单元用于作为PC侧模拟器与手机侧代理客户端之间消息交互的传输媒介。 [0040] PC-side communication unit for transmitting a media message interaction between the PC side and the side of the phone emulator proxy client.

[0041] 针对手机侧代理客户端而言,手机侧代理客户端进一步用于将该协议栈业务控制命令请求消息、和该协议栈数据请求消息发送给真实手机协议栈;手机侧代理客户端接收来自于真实手机协议栈的该协议栈业务控制命令请求消息的响应、和针对所述协议栈数据请求消息的响应,并返回给PC侧模拟器。 [0041] For Proxy Mobile client side, the side of the phone is further proxy client protocol stack for the service request message is a control command, and the protocol stack data request message to the actual phone protocol stack; Mobile client-side proxy receives from the actual phone protocol stack protocol stack in response to a control command message service request, and the request response message of the protocol stack for the data, and returns to the side of the PC emulator.

[0042] 这里,手机侧代理客户端进一步包括:协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元。 [0042] Here, the mobile phone client-side proxy further comprising: a command stack agent unit, agent unit and the protocol stack data communications agent side of the phone unit.

[0043] 其中,协议栈命令代理单元用于接收来自于PC侧模拟器的该协议栈业务控制命令请求消息,并通过手机侧通讯代理单元发送给真实手机协议栈;协议栈命令代理单元接收真实手机协议栈传递回来的该协议栈业务控制命令请求消息的响应,并通过手机侧通讯代理单元传递给PC侧模拟器。 [0043] wherein the protocol stack proxy unit for receiving a command from the PC-side protocol stack of the service simulator control command request message and sent to the stack by the actual phone handset unit side communication agent; proxy unit receives the command stack true Mobile passed back to the protocol stack protocol stack in response to a control command service request message, transmitted to the PC and the phone side by side emulator proxy communication unit.

[0044] 协议栈数据代理单元用于接收来自于PC侧模拟器的该协议栈数据请求消息,并通过手机侧通讯代理单元发送给真实手机协议栈;协议栈数据代理单元接收真实手机协议栈传递回来的针对所述协议栈数据请求消息的响应,并通过手机侧通讯代理单元传递给PC侧模拟器。 The stack data [0044] protocol stack proxy unit for receiving the data from the PC-side emulator request message, and sends the actual phone protocol stack by mobile unit side communication agent; agent unit receives a data protocol stack protocol stack transmitting actual phone back to the protocol stack data for a request response message, and transmitted to the PC-side emulator by mobile unit side communication agent.

[0045] 手机侧通讯代理单元用于作为PC侧模拟器与手机侧代理客户端之间消息交互的传输媒介。 [0045] The phone side communication agent means for transmitting a media message interaction between PC and mobile phone side emulator proxy client side.

[0046] —种PC侧模拟器,PC侧模拟器用于通过模拟时与手机侧代理客户端的消息交互,获得与真实手机环境相同的无线网络能力。 [0046] - kind of PC side simulator, simulator for the PC side message exchange via analog and mobile phone client-side proxy, access to real mobile phone environment the same wireless network capabilities.

[0047] 这里,PC侧模拟器进一步用于模拟时将协议栈业务控制命令请求消息、和协议栈数据请求消息发送给手机侧代理客户端;PC侧模拟器接收手机侧代理客户端返回的针对协议栈业务控制命令请求消息的响应、和针对协议栈数据请求消息的响应。 [0047] Here, when the PC-side emulator protocol stack is further used to simulate the traffic control command request message, and the protocol stack data request message to the mobile phone client-side proxy; simulator receiving side of the phone side PC client proxy for return in response to a control command protocol stack service request message, and the protocol stack data for the response request message.

[0048] 这里,PC侧模拟器进一步包括:协议栈命令模拟单元、协议栈数据模拟单元和PC侧通讯单元。 [0048] Here, the PC side simulator further comprising: an analog unit commands a protocol stack, the protocol stack data unit and the PC-side analog communication unit. [0049] 其中,协议栈命令模拟单元用于接收该协议栈业务控制命令请求消息,并通过PC侧通讯单元发送给手机侧代理客户端;协议栈命令模拟单元通过PC侧通讯单元接收手机侧代理客户端传递回来的该协议栈业务控制命令请求消息的响应。 [0049] wherein the protocol stack means for receiving a command to simulate the control command protocol stack service request message, and sent to a mobile phone-side client proxy PC side by the communication unit; means for receiving an analog command protocol stack side of the phone side PC via the proxy communication unit the client passes back the response to the control command protocol stack service request message.

[0050] 协议栈数据模拟单元用于接收该协议栈数据请求消息,并通过PC侧通讯单元发送给手机侧代理客户端;协议栈数据模拟单元通过PC侧通讯单元接收手机侧代理客户端传递回来的针对所述协议栈数据请求消息的响应。 [0050] The protocol stack means for receiving the analog data protocol stack data request message, and sent to a mobile phone-side client proxy PC side by the communication unit; protocol stack data unit receiving analog phone via the PC client side proxy communication unit is passed back side the protocol stack for a data request response message.

[0051] PC侧通讯单元用于作为PC侧模拟器与手机侧代理客户端之间消息交互的传输媒介。 [0051] PC-side communication unit for transmitting a media message interaction between the PC side and the side of the phone emulator proxy client.

[0052] 一种手机侧代理客户端,手机侧代理客户端用于通过与PC侧模拟器的消息交互,使PC侧模拟器获得与真实手机环境相同的无线网络能力;手机侧代理客户端位于真实手机环境中且与真实手机协议栈相连。 [0052] A mobile phone client-side proxy, proxy client for the mobile phone side by side PC message interaction with the simulator, so that the PC side and the actual phone emulator environment to obtain the same capacity of a wireless network; phone-side client proxy is located actual phone environments and connected to the actual phone protocol stack.

[0053] 这里,手机侧代理客户端进一步用于将该协议栈业务控制命令请求消息、和该协议栈数据请求消息发送给真实手机协议栈;手机侧代理客户端接收来自于真实手机协议栈的该协议栈业务控制命令请求消息的响应、和针对所述协议栈数据请求消息的响应,并返回给PC侧模拟器。 [0053] Here, the mobile phone further proxy client-side protocol stack for the service request message is a control command, and the protocol stack data request message to the actual phone protocol stack; phone client-side proxy receives from the actual phone protocol stack the service control protocol stack in response to a command request message and a response message for the request of the protocol stack data, and returns to the side of the PC emulator.

[0054] 这里,手机侧代理客户端进一步包括:协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元。 [0054] Here, the mobile phone client-side proxy further comprising: a command stack agent unit, agent unit and the protocol stack data communications agent side of the phone unit.

[0055] 其中,协议栈命令代理单元用于接收来自于PC侧模拟器的该协议栈业务控制命令请求消息,并通过手机侧通讯代理单元发送给真实手机协议栈;协议栈命令代理单元接收真实手机协议栈传递回来的该协议栈业务控制命令请求消息的响应,并通过手机侧通讯代理单元传递给PC侧模拟器。 [0055] wherein the protocol stack proxy unit for receiving a command from the PC-side protocol stack of the service simulator control command request message and sent to the stack by the actual phone handset unit side communication agent; proxy unit receives the command stack true Mobile passed back to the protocol stack protocol stack in response to a control command service request message, transmitted to the PC and the phone side by side emulator proxy communication unit.

[0056] 协议栈数据代理单元用于接收来自于PC侧模拟器的该协议栈数据请求消息,并通过手机侧通讯代理单元发送给真实手机协议栈;协议栈数据代理单元接收真实手机协议栈传递回来的针对所述协议栈数据请求消息的响应,并通过手机侧通讯代理单元传递给PC侧模拟器。 The stack data [0056] protocol stack proxy unit for receiving the data from the PC-side emulator request message, and sends the actual phone protocol stack by mobile unit side communication agent; agent unit receives a data protocol stack protocol stack transmitting actual phone back to the protocol stack data for a request response message, and transmitted to the PC-side emulator by mobile unit side communication agent.

[0057] 手机侧通讯代理单元用于作为PC侧模拟器与手机侧代理客户端之间消息交互的传输媒介。 [0057] The phone side communication agent means for transmitting a media message interaction between PC and mobile phone side emulator proxy client side.

[0058] 综上所述,本发明是应用于手机软件开发的模拟系统、PC侧模拟器及手机侧代理客户端。 [0058] In summary, the present invention is applied to an analog phone system software development, PC side and the side of the phone emulator proxy client. 其中,该系统至少由PC侧模拟器和手机侧代理客户端构成,通过PC侧模拟器与手机侧代理客户端进行的协议栈业务控制命令和数据信息的交互,使PC侧模拟器具备与真实手机环境相同的无线网络能力,也就是说,系统中的PC侧模拟器具备高业务仿真能力,如此一来,使手机开发者设计的应用处理流程,在PC侧模拟器中运行时与在真实手机环境中运行一样,减少了开发人员上板调试的次数,从而大大提高了手机软件的开发效率。 Wherein the system is composed of at least a mobile phone and a PC-side emulator proxy client-side protocol stack operations performed by the PC side and the side of the phone emulator proxy client interactive control command and data information so that the PC side is provided with the real simulator same phone environment wireless network capability, that is, the PC side of the simulator system with high service emulation capabilities, this way, the application process flow of mobile phone developers to design, run on the PC side of the simulator and in real time phone running in the environment, like reducing the number of developers on board debugging, thus greatly improving the efficiency of the development of mobile phone software.

[0059] 针对系统而言,本发明主要包括以下内容: [0059] For purposes of system, the present invention mainly comprises the following:

[0060] 本发明的这种应用于手机软件开发的模拟系统,包括PC侧模拟器和手机侧代理客户端。 [0060] This invention is applied to mobile phone software development simulation system, including the PC side and the side of the phone emulator proxy client. 其中,PC侧模拟器用于提供手机代码运行所需的设备及操作系统模拟,当进行业务模拟时将协议栈命令及数据信息的请求发送给手机侧代理客户端。 Wherein, PC-side emulator for providing the required equipment and the phone operating system code running simulation, when the simulated traffic transmission request command stack and data information to the mobile phone client-side proxy. 手机侧代理客户端用于接收来自PC侧模拟器的协议栈命令及数据信息的请求,并将其传递给真实手机协议栈;当真实手机协议栈完成与请求的数据信息和协议栈命令相对应的响应操作或得到响应数据时,再由手机侧代理客户端将来自于真实手机协议栈的响应操作或响应数据返回给PC侧模拟器。 Mobile client-side proxy protocol stack for receiving a request command from the PC side and the emulator data information, and passes it to the actual phone protocol stack; when the request corresponding to the completed stack actual phone protocol stack and command data the obtained response operation or the response data, or response data in response to the operation and then by the side of the phone from the proxy client protocol stack on the actual phone side PC is returned to the emulator.

[0061] 针对PC侧模拟器而言,PC侧模拟器具体包括:虚拟设备模拟单元、操作系统(OS)模拟单元、协议栈命令模拟单元、协议栈数据模拟单元和PC侧通讯单元。 [0061] The terms emulator for the PC side, the PC-side emulator comprises: a virtual device simulating unit, the operating system (OS) analog unit, the simulation unit commands a protocol stack, the protocol stack data unit and the PC-side analog communication unit. 以下分别阐述。 The following were elaborated.

[0062] 虚拟设备模拟单元用于模拟真实手机中的各设备接口,包括:键盘、IXD、背光、时钟、摄像头、麦克风、充电器等。 [0062] Each virtual device simulating unit for simulating real interface in the phone, comprising: a keyboard, IXD, backlight, clock, camera, microphone, charger.

[0063] OS模拟单元用于模拟真实手机中的各操作系统接口,包括:文件系统、进程线程、 [0063] OS simulation unit for each operating system interface to simulate real phone, including: file system, process threads,

内存管理等。 Memory management.

[0064] 协议栈命令模拟单元用于接收并处理来自目标手机应用代码的协议栈控制请求,通过PC侧通讯单元发送给手机侧代理客户端。 [0064] Stack analog command unit for receiving and processing a request from the protocol stack of the control target phone application code, is sent to the phone side PC via the client-side proxy communication unit. 同时,协议栈命令模拟单元也通过PC侧通讯单元接收来自手机侧代理客户端传递回来的针对协议栈控制请求的响应数据,处理后将其传递给目标手机应用代码。 Meanwhile, the simulation unit protocol stack also receives commands from the handset protocol for the client-side proxy response data is transmitted back through the PC stack control request side communication unit, after processing, to a target phone application code. 其中,协议栈命令模拟单元处理来自目标手机应用代码的协议栈控制请求具体包括:解析协议栈控制请求,如果属于需要交给真实手机协议栈处理的,则根据与手机侧代理客户端之间的通讯约定进行编码、打包。 Wherein the analog command protocol stack protocol stack processing unit from the target phone application code control request comprises: parsing the protocol stack between the control request, if they are required to the actual phone protocol stack processing, the mobile phone according to the client-side proxy communications agreed to encode, package. 协议栈命令模拟单元处理针对协议栈控制请求的响应数据具体包括:解析针对协议栈控制请求的响应数据,如果属于需要交给目标手机应用代码处理的,根据与目标手机应用代码之间的传送约定进行传递。 An analog processing unit commands a protocol stack for a protocol stack in response to data control request comprises: a protocol stack for parsing response data control request, if they are required to process application code in the target mobile phone, mobile application based on the transmission between the target code conventions for delivery.

[0065] 协议栈数据模拟单元用于接收并处理来自目标手机应用代码的协议栈数据请求,通过PC侧通讯单元发送给手机侧代理客户端。 [0065] protocol stack data unit for receiving and processing analog protocol stack data request from the application target phone code is sent to the phone side PC via the client-side proxy communication unit. 同时,协议栈数据模拟单元也通过PC侧通讯单元接收来自手机侧代理客户端传递回来的针对协议栈数据请求的响应数据,处理后将其传递给目标手机应用代码。 Meanwhile, the protocol stack unit also receives the analog data in response to data from the phone protocol for the client-side proxy stack data requests passed back through the PC-side communication unit, after processing, to a target phone application code. 其中,协议栈数据模拟单元处理来自目标手机应用代码的协议栈数据请求具体包括:解析协议栈数据请求,如果属于需要交给真实手机协议栈处理的,根据与手机侧代理客户端之间的通讯约定进行编码、打包。 Wherein the data request protocol stack, the protocol stack data processing unit from the target analog phone application code comprises: parsing the protocol stack data request, if they are required to the actual phone protocol stack processing, communication between the mobile phone according to the client-side proxy agreed to encoded, packaged. 协议栈数据模拟单元处理针对协议栈数据请求的响应数据具体包括:解析针对协议栈数据请求的响应数据,如果属于需要交给目标手机应用代码处理的,根据与目标手机应用代码之间的传送约定进行传递。 Stack data processing unit for analog data protocol stack in response to the data request comprises: parsing response data protocol stack for the requested data, if they are required to process application code in the target mobile phone, mobile application based on the transmission between the target code conventions for delivery.

[0066] PC侧通讯单元用于传递协议栈控制请求及其响应数据,以及协议栈数据请求及其响应数据。 [0066] PC-side communication means for transmitting the control protocol stack and the response data request, and the protocol stack data request and response data.

[0067] 针对手机侧代理客户端而言,手机侧代理客户端具体包括:协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元。 [0067] For Proxy Mobile client side, the client side of the phone agent comprises: a command stack agent unit, agent unit and the protocol stack data communications agent side of the phone unit. 以下分别阐述。 The following were elaborated.

[0068] 协议栈命令代理单元用于接收并处理来自PC侧模拟器的协议栈控制请求,将其传递给真实手机协议栈处理。 [0068] Command protocol stack proxy unit for receiving and processing the protocol stack from the PC side simulator control request, passes it to the actual phone protocol stack processing. 同时,协议栈命令代理单元也接收来自真实手机协议栈传递回来的针对协议栈控制请求的响应数据,处理后通过手机侧通讯代理单元将其传递给PC侧模拟器。 Meanwhile, the command stack agent unit also receives the response data from the real cell phone protocol stack protocol stack for transmission back control request after processing by mobile unit side communication agent passes it to the PC-side emulator. 其中,协议栈命令代理单元处理来自PC侧模拟器的协议栈控制请求具体包括:根据与PC侧的通讯约定,对已编码的协议栈控制请求进行解码,得出请求命令。 Wherein the protocol stack protocol stack processing proxy unit command control request from the PC side emulator comprises: PC-side communication according to convention, the control protocol stack for decoding coded request, the request command obtained. 协议栈命令代理单元处理针对协议栈控制请求的响应数据具体包括:根据与PC侧的通讯约定,进行编码。 Proxy processing unit commands a protocol stack for a protocol stack in response to data control request comprises: the PC side communication according to convention, to encode.

[0069] 协议栈数据代理单元用于接收并处理来自PC侧模拟器的协议栈数据请求,将其传递给真实手机协议栈处理。 [0069] The data stack proxy unit for receiving and processing from the PC-side emulator protocol stack data request, passes it to the actual phone protocol stack processing. 同时,协议栈数据代理单元也接收来自真实手机协议栈传递回来的针对协议栈数据请求的响应数据,处理后通过手机侧通讯代理单元将其传递给PC侧模拟器。 Meanwhile, the protocol stack data agent unit also receives the response data for the actual phone protocol stack from stack data requests passed back by the mobile phone unit-side communications agent passes it to the PC-side emulator after treatment. 其中,协议栈数据代理单元处理来自PC侧模拟器的协议栈数据请求具体包括:根据与PC侧的通讯约定,对已编码的协议栈数据请求进行解码,得出请求数据包。 Wherein the protocol stack protocol stack data processing proxy unit the data request from the PC side emulator comprises: according to the PC side communication convention, the coded data protocol stack decodes the request, obtain the request packet. 协议栈数据代理单元处理针对协议栈数据请求的响应数据具体包括:根据与PC侧的通讯约定,进行编码。 Stack data processing unit in response to the proxy data requests for stack data comprises: according to the PC side communication conventions, encoding.

[0070] 可见:本发明主要是在手机开发人员完成目标手机应用代码的开发和编译后,启动PC侧模拟器和手机侧代理客户端。 [0070] Visible: After the completion of the present invention is mainly develop and compile application code in the target mobile phone handset developers, start the PC side and the side of the phone emulator proxy client. 当手机开发人员通过本发明的系统运行目标手机应用代码并进行业务模拟时,通过PC侧模拟器与手机侧代理客户端之间的通讯,传递PC侧与手机侧之间的业务控制命令和数据,且该业务控制命令和数据均是与真实的手机协议栈进行交互,这样能够保证上层应用的业务流程与真实手机环境保持最大程度的一致,从而达到直接使用真实无线环境的目的,减少上板调试的次数以提高开发效率。 When the phone service developers to simulate running through the target phone system of the present invention and application code, through communication between the emulator and the phone side PC client-side proxy, traffic transmitted between the PC side and the side of the phone and the control command data and the service control commands and data are interacting with real phone protocol stack that could ensure that the upper layer application business processes consistent with the greatest degree of real mobile phone environment, so as to achieve the purpose of directly using real wireless environment, reducing the board the number of debugging in order to improve development efficiency.

[0071] 以下对本发明进行举例阐述。 [0071] The present invention will be cited as an example.

[0072] 系统实施例: [0072] Example system:

[0073] 本发明的模拟系统如图1所示,该系统包括PC侧模拟器和手机侧代理客户端。 [0073] The simulation system according to the present invention shown in FIG. 1, the system includes a PC-side and the side of the phone emulator proxy client. 其中,PC侧模拟器用于支撑运行手机开发者所开发的应用代码,它提供对手机运行所需的设备、OS、协议栈的各种模拟。 Wherein, PC-side code for supporting an application emulator running mobile developers developed, which provide various analog phones to the desired operation of the device, the OS, the protocol stack.

[0074] PC侧模拟器包括虚拟设备模拟单元、OS模拟单元、协议栈命令模拟单元、协议栈数据模拟单元、PC侧通讯单元,各单元的描述如下: [0074] PC-side simulator comprises,,,,, each unit described virtual device simulating unit OS simulation unit simulating unit commands a protocol stack protocol stack side data communication unit the analog unit PC as follows:

[0075] 虚拟设备模拟单元用于提供手机代码对设备访问的模拟,这些设备包括但不限于:键盘、IXD、背光、时钟、摄像头、麦克风、充电器、声卡等。 [0075] The device simulating unit for providing a virtual phone device access code for simulation of these devices include, but are not limited to: a keyboard, IXD, a backlight, a clock, a camera, a microphone, a charger, a sound card.

[0076] OS模拟单元用于提供手机代码对操作系统访问的模拟,包括:文件系统、进程线 [0076] OS simulation unit for simulating the operating system to provide mobile access code, comprising: a file system, process line

程、内存管理等。 Cheng, memory management.

[0077] 协议栈命令模拟单元用于接收来自手机应用代码的协议栈命令请求,它往往是AT命令,如果真实手机协议栈也是采用AT命令,那么该协议栈命令模拟单元仅做简单的透传,并通过PC侧通讯单元发送给手机侧代理客户端,否则该协议栈命令模拟单元将进行处理、封装成真实手机协议栈的对应命令后再传递到手机侧代理客户端。 [0077] The protocol stack means for receiving a command to simulate the protocol stack from the mobile application command request code, it is often the AT command, if the actual phone protocol stack is an AT command, then the command stack simulation unit to make only a simple pass-through and transmitting-side PC via the communication unit to phone the client-side proxy, or the command stack simulation unit will be processed, packaged into actual phone protocol stack and then passed to the command corresponding to the phone side proxy client. 协议栈命令模拟单元至少由PS模拟和命令转换这两部分组成。 Command Stack analog converter unit is at least partially composed of two PS and analog command. 其中,透传的含义指:无需格式转换直接传递即可。 Wherein the pass-through means meanings: can be passed directly without format conversion. PS模拟包括AT和/或ATI。 AT PS includes analog and / or ATI. 其中,AT命令是与调制解调器进行通讯时采用的语言,是一种字符型的命令;PS是协议栈Protocol stack的简写;ATI是消息形式的命令,与AT命令作用相同。 Wherein, AT command language is used when communicating with a modem, a character command; the PS is short for Protocol stack protocol stack; the ATI message is a command of the form, the same effect of the AT command. 某些协议栈不支持AT方式,只支持消息形式的控制。 Some stack does not support the AT mode only supports messages in the form of control.

[0078] 协议栈数据模拟单元提供了标准套接字(Socket)接口给手机应用代码使用,在其内部将有一个TCP/IP协议栈和点到点协议(PPP)客户端(Client),PC侧和手机侧协议栈传递数据时将先通过PPP协议进行打包/解包,然后进入TCP/IP的封装,从而完成Socket接口的实现。 [0078] The protocol stack data simulation unit provides a standard socket (the Socket) interface to the application code to the mobile phone used in the interior will have a TCP / IP protocol stack and Point to Point Protocol (PPP) client (Client), PC We will conduct when the side and the side of the phone protocol stack data transmission through PPP packing / unpacking, and then enters the TCP / IP package, thereby completing achieve Socket interface. 协议栈数据模拟单元至少由Socket、TCP/IP协议栈和PPP Client这三部分组成。 Stack data simulation unit consists of at least Socket, TCP / IP protocol stack and the PPP Client three parts.

[0079] PC侧通讯单元提供了PC侧模拟器与手机侧代理客户端通讯用的接口,用于PC侧模拟器和手机侧代理客户端之间的命令及数据传递。 [0079] PC-side communication unit provides an interface to the PC side and the side of the phone emulator proxy communication with the client, a command between the PC side and the side of the phone emulator proxy client and data transfer. PC侧通讯单元可以是串口、USB、以太网的任何一种接口形式,只要该接口形式保持与手机侧代理客户端的接口形式对等即可。 PC side communication unit may be serial, USB, Ethernet interface in the form of any kind, as long as the interfaces with the mobile phone side to maintain the form of proxy client interfaces to form the peer.

[0080] 手机侧代理客户端包括协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元,各单元的描述如下: [0080] Mobile client-side proxy agent unit comprises a command protocol stack, the protocol stack data unit and a mobile phone-side communication agent agent unit, each unit described as follows:

[0081] 协议栈命令代理单元通过手机侧通讯代理单元接收来自PC侧的命令请求,并将其传递给手机侧的真实协议栈进行处理,当手机侧的真实协议栈返回针对命令请求的响应数据时,协议栈命令代理单元再通过手机侧通讯代理单元传递给PC侧的协议栈命令模拟单元。 [0081] Command protocol stack proxy unit receives a command from the PC side requests by mobile unit side communication agent, and passes it to the true side of the phone protocol stack for processing, when the real side of the phone protocol stack returns a response to a command request data , the protocol stack command agent unit and then to the PC side of the protocol stack command to simulate unit-side communication through the mobile phone unit transfer agent. 协议栈命令代理单元至少由PS接口和命令转换这两部分组成。 Agents command protocol stack PS interface unit and at least a command into two parts.

[0082] 协议栈数据代理单元内部包含PPP服务器(Server),当PC侧模拟器向手机侧协议栈数据代理单元传递数据时,先通过PPP协议对数据进行解包,然后再传递给手机侧的真实协议栈。 [0082] The internal protocol stack data unit comprises a proxy PPP server (Server), when the PC side to the side of the phone emulator stack data unit transmission protocol proxy data, packet data to be decompressed using PPP, then before being passed to the side of the phone true protocol stack. 反过来,当手机侧的真实协议栈有数据上报时,该协议栈数据代理单元先通过PPP协议将上报的数据打包后,再通过手机侧通讯代理单元传递给PC侧协议栈数据模拟单元。 Conversely, when the real side of the phone protocol stack has reported data, after the data protocol stack proxy unit first reported by the PPP protocol data package, and then transfer data to the PC side of the stack through an analog phone unit side communication agent unit. 协议栈数据代理单元至少由协议栈数据、TCP/IP协议栈和PPP Server这两部分组成。 Agent protocol stack data unit is at least by a data protocol stack, TCP / IP protocol stack and the PPP Server composed of two parts.

[0083] 手机侧通讯代理单元提供了与PC侧模拟器通讯用的接口,用于PC侧模拟器和手机侧代理客户端之间的数据传递。 [0083] Mobile unit side communication agent provides an interface to communicate with the PC side using the simulator, for data transfer between the PC side and the side of the phone emulator proxy client. 手机侧通讯代理单元可以是串口、USB、以太网的任何一种接口形式,只要该接口形式保持与PC侧模拟器的接口形式对等即可。 Phone side communication agent unit can be serial, USB, Ethernet interface in the form of any kind, as long as the interface to the PC side of the form to maintain the simulator interface in the form of a peer can be.

[0084] 以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 [0084] The above are only preferred embodiments of the present invention but are not intended to limit the scope of the present invention.

Claims (3)

  1. 1.一种模拟系统,其特征在于,所述模拟系统包括:PC侧模拟器和手机侧代理客户端;其中, 所述PC侧模拟器包括:协议栈命令模拟单元、协议栈数据模拟单元和PC侧通讯单元;其中, 所述协议栈命令模拟单元,用于接收协议栈业务控制命令请求消息,并通过所述PC侧通讯单元发送给所述手机侧代理客户端;协议栈命令模拟单元,还用于通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的所述协议栈业务控制命令请求消息的响应; 所述协议栈数据模拟单元,用于接收协议栈数据请求消息,并通过所述PC侧通讯单元发送给所述手机侧代理客户端;协议栈数据模拟单元,还用于通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的针对所述协议栈数据请求消息的响应; 所述PC侧通讯单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间 An analog system, characterized in that the simulation system comprising: a mobile phone and a PC-side emulator proxy client side; wherein the PC-side simulator comprising: a simulation unit commands a protocol stack, the protocol stack data unit and the analog PC-side communication unit; wherein the analog command protocol stack unit for receiving a control command protocol stack service request message and sent to the mobile phone side by the proxy client PC-side communication unit; command protocol stack simulation unit, further PC-side communication through said handset unit receives the client-side proxy passed back to the protocol stack of the control command request service response message; said analog data protocol stack unit for receiving a data request message to the protocol stack, and transmitting-side PC via the communication unit to phone the client-side proxy; analog protocol stack data unit is further configured to use the PC-side communication unit to receive the phone client-side proxy passed back to the protocol stack for data request response message; the PC-side communication unit configured as between the emulator and the phone side PC side proxy client 息交互的传输媒介; 所述手机侧代理客户端包括:协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元;其中, 所述协议栈命令代理单元,用于接收来自于所述PC侧模拟器的所述协议栈业务控制命令请求消息,并通过所述手机侧通讯代理单元发送给真实手机协议栈;协议栈命令代理单元,还用于接收所述真实手机协议栈传递回来的所述协议栈业务控制命令请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器; 所述协议栈数据代理单元,用于接收来自于所述PC侧模拟器的所述协议栈数据请求消息,并通过所述手机侧通讯代理单元发送给所述真实手机协议栈;协议栈数据代理单元,还用于接收所述真实手机协议栈传递回来的针对所述协议栈数据请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器; Interactive information transmission medium; phone-side of the proxy client comprising: a command stack agent unit, agent unit and the protocol stack data communications side of the phone agent unit; wherein the command protocol stack proxy unit for receiving from the the simulator-side protocol stack service PC control command request message and sent to the protocol stack by the actual phone handset unit side communication agent; stack agents command unit is further configured to receive the actual phone protocol stack passed back the control command protocol stack service request response message, and transmitted to the PC side by the side of the phone emulator proxy communication unit; the data protocol stack proxy unit for receiving from the PC-side emulator the protocol stack data request message, and sent to the protocol stack by the actual phone handset unit side communication agent; agent protocol stack data unit, further configured to receive the actual phone protocol stack for transmission back to the protocol stack data request response message, and transmitted to the PC side by the side of the phone emulator proxy communication unit; 述手机侧通讯代理单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间消息交互的传输媒介。 Mobile said agent-side communication unit for transmitting media as a simulator with the phone side PC message interaction between the client-side proxy.
  2. 2.一种PC侧模拟器,其特征在于,所述PC侧模拟器包括:协议栈命令模拟单元、协议栈数据模拟单元和PC侧通讯单元;其中, 所述协议栈命令模拟单元,用于接收协议栈业务控制命令请求消息,并通过所述PC侧通讯单元发送给手机侧代理客户端;协议栈命令模拟单元,还用于通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的所述协议栈业务控制命令请求消息的响应; 所述协议栈数据模拟单元,用于接收协议栈数据请求消息,并通过所述PC侧通讯单元发送给所述手机侧代理客户端;协议栈数据模拟单元,还用于通过所述PC侧通讯单元接收所述手机侧代理客户端传递回来的针对所述协议栈数据请求消息的响应; 所述PC侧通讯单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间消息交互的传输媒介。 A simulator PC side, wherein said side PC simulator comprising: a simulation unit commands a protocol stack, the protocol stack data unit and the PC-side analog communication unit; wherein the analog command protocol stack means for receiving a control command protocol stack service request message, and sent to a mobile phone-side of the proxy by the client PC-side communication unit; protocol stack analog command unit is further configured to receive through the communications unit of the mobile phone side PC client-side transfer agent the protocol stack back to a control command request service response message; the data protocol stack simulation unit, the protocol stack for receiving a data request message, and sent to the mobile phone side by the proxy client PC-side communication unit; protocol analog stack data unit is further configured to use the PC-side communication unit to receive the phone client-side proxy response request message is transmitted to the protocol stack for the data back; the PC-side communication unit, as for the PC transmission media message interaction between the mobile phone and the side of the simulator-side proxy client.
  3. 3.—种手机侧代理客户端,其特征在于,所述手机侧代理客户端包括:协议栈命令代理单元、协议栈数据代理单元和手机侧通讯代理单元;其中, 所述协议栈命令代理单元,用于接收来自于PC侧模拟器的协议栈业务控制命令请求消息,并通过所述手机侧通讯代理单元发送给真实手机协议栈;协议栈命令代理单元,还用于接收所述真实手机协议栈传递回来的所述协议栈业务控制命令请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器; 所述协议栈数据代理单元,用于接收来自于所述PC侧模拟器的协议栈数据请求消息,并通过所述手机侧通讯代理单元发送给所述真实手机协议栈;协议栈数据代理单元,还用于接收所述真实手机协议栈传递回来的针对所述协议栈数据请求消息的响应,并通过所述手机侧通讯代理单元传递给所述PC侧模拟器 3.- Mobile species client-side proxy, wherein the proxy client-side mobile phone comprising: a command stack agent unit, agent unit and the protocol stack data communications side of the phone agent unit; wherein the command protocol stack proxy unit for receiving from the PC-side emulator protocol stack service control command request message and sent to the protocol stack by the actual phone handset unit side communication agent; stack agents command unit is further configured to receive the actual phone protocol stack passed back to the control command protocol stack service request response message to the PC side and transmitted through the phone emulator proxy-side communication unit; the data protocol stack proxy unit for receiving from the PC protocol stack side simulator data request message and sent to the protocol stack by the actual phone handset unit side communication agent; agent protocol stack data unit, further configured to receive the actual phone protocol stack for transmission back to the stack data request response message, and transmitted to the PC side by the side of the phone emulator proxy communication unit ; 所述手机侧通讯代理单元,用于作为所述PC侧模拟器与所述手机侧代理客户端之间消息交互的传输媒介。 ; Phone-side of the proxy communication unit for transmitting media as a simulator with the phone side PC message interaction between the client-side proxy.
CN 201010102811 2010-01-25 2010-01-25 Simulation system, PC side simulator and mobile phone side agent client CN101800910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010102811 CN101800910B (en) 2010-01-25 2010-01-25 Simulation system, PC side simulator and mobile phone side agent client

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201010102811 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

Publications (2)

Publication Number Publication Date
CN101800910A true CN101800910A (en) 2010-08-11
CN101800910B true CN101800910B (en) 2014-04-09

Family

ID=42596361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010102811 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393821A (en) * 2011-06-24 2012-03-28 四川创立信息科技有限责任公司 Simulator supporting various mobile internet devices
CN103713889B (en) * 2012-09-29 2018-07-13 三亚中兴软件有限责任公司 The development of applications, compile and debug method and apparatus
CN103248709B (en) * 2013-05-23 2016-03-16 网宿科技股份有限公司 Wireless signal simulation method and system automation
CN104007983B (en) * 2014-06-18 2017-07-21 北京金和软件股份有限公司 pc-real showcase the browser method and a device for mobile phone interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522086A (en) 2003-02-12 2004-08-18 华冠通讯股份有限公司 Automatic test system and method for handset function
WO2005006010A3 (en) 2003-06-30 2005-07-28 Nokia Corp Apparatus, and associated method, for testing a mobile terminal in test conditions that emulate an operating environment
CN1996899A (en) 2005-12-29 2007-07-11 中兴通讯股份有限公司 Testing method of the mobile terminal protocol and its system
CN101035348A (en) 2006-03-09 2007-09-12 中兴通讯股份有限公司 Protocol software testing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522086A (en) 2003-02-12 2004-08-18 华冠通讯股份有限公司 Automatic test system and method for handset function
WO2005006010A3 (en) 2003-06-30 2005-07-28 Nokia Corp Apparatus, and associated method, for testing a mobile terminal in test conditions that emulate an operating environment
CN1996899A (en) 2005-12-29 2007-07-11 中兴通讯股份有限公司 Testing method of the mobile terminal protocol and its system
CN101035348A (en) 2006-03-09 2007-09-12 中兴通讯股份有限公司 Protocol software testing system and method

Also Published As

Publication number Publication date Type
CN101800910A (en) 2010-08-11 application
WO2011088644A1 (en) 2011-07-28 application

Similar Documents

Publication Publication Date Title
US20010011215A1 (en) Network device simulation system and method
CN101500255A (en) Mobile terminal test method and system
CN102158350A (en) Mobile broadband equipment and mobile broadband equipment management method
CN102497397A (en) Home furnishing monitoring system and method
CN102209111A (en) Open cross-platform system for cloud computing mobile network terminal equipment
CN101583072A (en) Middleware product for realizing Mobile Internet and method thereof
CN101626351A (en) Multiprotocol data acquisition gateway
CN102202289A (en) Method and system for remote calling software and hardware resources through mobile terminal
CN1313562A (en) Architectural structure of embedded open platform
US20060023688A1 (en) Mobile exchange infrastructure
CN101754466A (en) Mobile virtualization base installation and mobile virtualization base platform
CN101655823A (en) Realizing method, operating method and system free of installing data card drive
CN101854371A (en) Method and device for calling and processing JavaScript object
CN103077058A (en) Method and device for installing application program
CN102098808A (en) Data card and data card networking method
KR20030072693A (en) Method and apparatus for providing network contents between mobile devices subscribed with another telecommunication service systems
CN101980152A (en) Mobile middleware system and implementation method thereof
CN103023872A (en) Cloud game service platform
CN101931603A (en) Method for realizing remote call on hand-held intelligent terminal
CN102595463A (en) Wireless environment simulation method
CN101820613A (en) Application downloading system and method
CN102024048A (en) Implementation method of mobile terminal and browser thereof
CN1909705A (en) Universal developing platform based on mobile terminal platform
CN103152458A (en) Test mobile phone, remote mobile phone test system, method and device of remote mobile phone test
CN1928857A (en) Device for improving mobile phone wireless networking transmission band width

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted