CN102571840B - Remote terminal test method and proxy server - Google Patents

Remote terminal test method and proxy server Download PDF

Info

Publication number
CN102571840B
CN102571840B CN201010591044.8A CN201010591044A CN102571840B CN 102571840 B CN102571840 B CN 102571840B CN 201010591044 A CN201010591044 A CN 201010591044A CN 102571840 B CN102571840 B CN 102571840B
Authority
CN
China
Prior art keywords
terminal
proxy server
physical end
screen content
current screen
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.)
Active
Application number
CN201010591044.8A
Other languages
Chinese (zh)
Other versions
CN102571840A (en
Inventor
池垂富
林峣
郑伟平
王勤中
林钧燧
李欣
赵田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aspire Digital Technologies Shenzhen Co Ltd
Original Assignee
Aspire Digital Technologies Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aspire Digital Technologies Shenzhen Co Ltd filed Critical Aspire Digital Technologies Shenzhen Co Ltd
Priority to CN201010591044.8A priority Critical patent/CN102571840B/en
Publication of CN102571840A publication Critical patent/CN102571840A/en
Application granted granted Critical
Publication of CN102571840B publication Critical patent/CN102571840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a remote terminal test method. The method comprises the following steps: a remote terminal test system provides a user with an analog terminal operation interface, as well as various selective analog terminals; when the phenomenon that the user selects at least one analog terminal on the analog terminal operation interface is detected, the remote terminal test system establishes communication connection with a practical terminal corresponding to the selected analog terminal through a proxy server; when the user operates the selected analog terminal, the remote terminal test system acquires the present screen content of the practical terminal in real time through the proxy server according to the operation of the user; and the remote terminal test system displays the acquired present screen content on the analog terminal operation interface in real time, so as to respond to the operation of the user. The invention also discloses a remote terminal test system and a proxy server. By adopting the invention, remote adaption test of various terminals can be realized and the cost is lower.

Description

Terminal remote method of testing and proxy server
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of terminal remote method of testing, system and proxy server.
Background technology
Along with the development of terminal technology, especially mobile terminal (as: mobile phone, PDA(Personal Digital Assistant, personal digital assistant) etc.) development of technology, terminal market also increases day by day to the demand of terminal applies, and the adaptation test of terminal applies just seems particularly important.Traditional terminal test scheme is mainly: each application is assemblied in terminal equipment by application developer, then by using terminal equipment, reaches the test to terminal applies.Current terminal type is on the market thousands of, only the mobile phone of main flow all reaches thousands of kinds, in the face of the terminal type of magnanimity like this, adopts traditional terminal test scheme to need to buy various types of terminal one by one, so inherently cause machine of the purchasing cost of great number, practicality is lower; Meanwhile, owing to being limited to machine of the purchasing cost of terminal equipment, traditional terminal test scheme only may cover extremely limited a few money emphasis terminal types, cannot ensure the quality of terminal applies, also extends the development and testing cycle of terminal applies simultaneously.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of terminal remote method of testing, system and proxy server are provided, remote mode is adopted to test terminal, save the acquisition expenses of terminal, reduce costs, the adaptation test of all kinds terminal can be completed simultaneously expeditiously, ensure the quality of terminal applies.
In order to solve the problems of the technologies described above, embodiments provide a kind of terminal remote method of testing, comprising:
Terminal remote test macro provides terminal simulation operation interface for user, and provides alternative various types of pseudo-terminal on described terminal simulation operation interface;
When detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro is established a communications link by the physical end that proxy server is corresponding with selected pseudo-terminal;
When described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro is by the current screen content of physical end corresponding to the pseudo-terminal selected by described proxy server Real-time Obtaining;
The current screen content of described terminal remote test macro described acquisition of display in real time on described terminal simulation operation interface, to respond the operation of described user.
Wherein, described when detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro is established a communications link by the physical end that proxy server is corresponding with selected pseudo-terminal, comprising:
When detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro sends connection request message to proxy server;
Described proxy server forwards described connection request message to the physical end that selected pseudo-terminal is corresponding, and receives the connection response message that described physical end returns;
Described proxy server forwards described connection response message to described terminal remote test macro, and described terminal remote test macro, according to described connection response message, establishes a communications link with described physical end.
Wherein, it is described when described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro, by the current screen content of physical end corresponding to the pseudo-terminal selected by described proxy server Real-time Obtaining, comprising:
When described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro sends screenshotss request message in real time to described proxy server;
Described terminal remote test macro receives the current screen content that described proxy server returns.
Wherein, described terminal remote test macro, to after proxy server sends connection request message, also comprises:
Described screenshotss request message is forwarded to physical end corresponding to selected pseudo-terminal by described proxy server;
Described physical end, according to described screenshotss request message, intercepts the current screen content of this terminal;
Described physical end carries out coded treatment to described current screen content, the current screen content after coded treatment is stored in the ad-hoc location of this terminal, and sends screenshotss success message to described proxy server;
Described proxy server sends file transfer requests message to described physical end;
After receiving described file transfer requests message, described physical end reads described current screen content from ad-hoc location, and described current screen content is sent to described proxy server;
Described proxy server receives described current screen content, carries out decoding process to described current screen content, and the current screen content after decoding process is returned to described terminal remote test macro.
Wherein, in described physical end, Agent(terminal agent is installed);
Described Agent receives the described connection request message that described proxy server forwards, and returns connection response message to described proxy server;
Described Agent receives the screenshotss request message that described proxy server forwards, and the current screen content of described physical end is intercepted according to described screenshotss request message, coded treatment is carried out to described current screen content, current screen content after coded treatment is stored in the ad-hoc location of described physical end, and sends screenshotss success message to described proxy server.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal remote test macro, comprising:
Terminal emulator, for providing terminal simulation operation interface for user, described terminal simulation operation interface provides alternative various types of pseudo-terminal, and receives the various operations of user on described terminal simulation operation interface;
Content server, for when detecting that user selects at least one pseudo-terminal on the terminal simulation operation interface that described terminal emulator provides, connection request message is sent to proxy server, receive the connection response message that described proxy server returns, and set up the communication connection of the physical end corresponding with selected pseudo-terminal, when detecting that described user operates selected pseudo-terminal, screenshotss request message is sent in real time to described proxy server, and receive the current screen content that described proxy server returns, described current screen content is returned to described terminal emulator, described terminal emulator is made to show described current screen content in real time, to respond the operation of described user.
Wherein, described terminal emulator comprises:
Analogue unit, for providing terminal simulation operation interface for user, described terminal simulation operation interface provides alternative various types of pseudo-terminal;
Operation receiving element, for receiving the various operations on the terminal simulation operation interface that user provides at described analogue unit, the various operations of described user on described terminal simulation operation interface comprise: select at least one pseudo-terminal or operate selected pseudo-terminal;
Display unit, for showing the current screen content that described content server returns in real time, to respond the operation of described user.
Wherein, described content server comprises:
Detecting unit, for the various operations of user on described terminal simulation operation interface received according to described terminal emulator, detects the type of various operation;
Messaging unit, during for detecting that when described detecting unit user selects at least one pseudo-terminal, sends connection request message to described proxy server, and receives the connection response message that described proxy server returns; Or, when described detecting unit detects that described user operates selected pseudo-terminal, according to described operation, send screenshotss request message in real time to described proxy server, and receive the current screen content that described proxy server returns;
Processing unit, for the connection response message received according to described messaging unit, set up the communication connection of the physical end corresponding with selected pseudo-terminal, or the current screen content received by described messaging unit returns to described terminal emulator and shows.
Correspondingly, the embodiment of the present invention additionally provides a kind of proxy server, comprising:
Transmit-Receive Unit, the connection request message sent for receiving terminal remote test system and screenshotss request message, and return connection response message and current screen content to described terminal remote test macro;
Terminal processing units, for the connection request message received according to described Transmit-Receive Unit, determine the physical end that pseudo-terminal selected on the terminal simulation operation interface that user provides at described terminal remote test macro is corresponding, and described connection request message is transmitted to described physical end, and receive the connection response message that described physical end returns, notify that described Transmit-Receive Unit forwards described connection response message to described terminal remote test macro; Screenshotss request message also for being received by described Transmit-Receive Unit is transmitted to described physical end, and receive the screenshotss success message that described physical end returns, after receiving described screenshotss success message, send file transfer requests message to described physical end, and receive the current screen content that described physical end returns;
Decoding unit, the current screen content returned for the described physical end received described terminal processing units carries out decoding process, and the current screen content after decoding process is supplied to described Transmit-Receive Unit, make described Transmit-Receive Unit that described decoded current screen content is returned to described terminal remote test macro.
Wherein, described proxy server also comprises:
Final drive unit, for driving various types of physical end, enabling proxy server identify various types of physical end, various types of physical end is connected to described proxy server;
All Agent is installed in described various types of physical end;
Described Agent receives the described connection request message that described terminal processing units forwards, and returns connection response message to described terminal processing units;
Described Agent receives the screenshotss request message that described terminal processing units forwards, and the current screen content of described physical end is intercepted according to described screenshotss request message, coded treatment is carried out to described current screen content, current screen content after coded treatment is stored in the ad-hoc location of described physical end, and sends screenshotss success message to described terminal processing units.
Implement the embodiment of the present invention, there is following beneficial effect:
The terminal remote test macro of the embodiment of the present invention is that user (as: developer of terminal applies) provides terminal simulation operation interface, and the various types of pseudo-terminals can selected for user are provided, user can select any one or more pseudo-terminal, terminal remote test macro is then according to the selection of user, remote testing is carried out to corresponding physical end, save the acquisition expenses of terminal, reduce cost; In addition, user only needs to carry out simple operations on terminal simulation operation interface, terminal remote test macro can carry out remote testing according to the various operations of user to physical end automatically, complete the adaptation test of all kinds terminal expeditiously, ensure that the quality of terminal applies, shorten the development and testing cycle of terminal applies simultaneously, meet the application demand of terminal market.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the embodiment of terminal remote test macro of the present invention;
Fig. 2 is the structural representation of the embodiment of terminal emulator of the present invention;
Fig. 3 is the structural representation of the embodiment of content server of the present invention;
Fig. 4 is the structural representation of the first embodiment of proxy server of the present invention;
Fig. 5 is the structural representation of the second embodiment of proxy server of the present invention;
Fig. 6 is the flow chart of the first embodiment of terminal remote method of testing of the present invention;
Fig. 7 is the flow chart of the second embodiment of terminal remote method of testing of the present invention;
Fig. 8 is the flow chart of the 3rd embodiment of terminal remote method of testing of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention is applicable to the application testing of various types of terminal, comprise: car-mounted terminal of the PDA of the mobile phone of all kinds or model, all kinds or model, all kinds or model etc., unless otherwise indicated, the terminal described in subsequent embodiment of the present invention is mobile phone.
Referring to Fig. 1, is the structural representation of the embodiment of terminal remote test macro of the present invention; Described system comprises:
Terminal emulator 10, for providing terminal simulation operation interface for user, described terminal simulation operation interface provides alternative various types of pseudo-terminal, and receives the various operations of user on described terminal simulation operation interface.
It should be noted that, the various operations on the terminal simulation operation interface that described user (as: developer of terminal applies) provides in described terminal emulator 10 comprise: select at least one pseudo-terminal or operate selected pseudo-terminal.Be understandable that, the pseudo-terminal that described terminal emulator 10 provides is identical with the function of physical end, comprise each function button and display screen, on the terminal simulation operation interface that user provides in described terminal emulator 10, the button of pseudo-terminal is clicked with mouse, can operate described pseudo-terminal, this operation is identical with the button operation of physical end.
Content server 20, for when detecting that user selects at least one pseudo-terminal on the terminal simulation operation interface that described terminal emulator 10 provides, connection request message is sent to proxy server, receive the connection response message that described proxy server returns, and set up the communication connection of the physical end corresponding with selected pseudo-terminal, when detecting that described user operates selected pseudo-terminal, screenshotss request message is sent in real time to described proxy server, and receive the current screen content that described proxy server returns, described current screen content is returned to described terminal emulator 10, make the described terminal emulator 10 described current screen content of display in real time, to respond the operation of described user.
In specific implementation, described content server 20 is similar with the existing webserver, it is the core devices of the terminal remote test macro of the embodiment of the present invention, be responsible for the various operations according to user, established a communications link by proxy server and physical end, and send various instruction by proxy server to physical end, carry out the mutual of data with physical end, thus realize the remote testing to physical end.
The embodiment of the present invention adopts remote mode to test terminal, saves the acquisition expenses of terminal, reduces cost, can complete the adaptation test of all kinds terminal simultaneously expeditiously, ensure that the quality of terminal applies.
In order to clearer explanation the present invention, describe in detail to each device in terminal remote test macro of the present invention below.
Referring to Fig. 2, is the structural representation of the embodiment of terminal emulator of the present invention; Described terminal emulator 10 comprises:
Analogue unit 101, for providing terminal simulation operation interface for user, described terminal simulation operation interface provides alternative various types of pseudo-terminal.
It should be noted that, the pseudo-terminal that described analogue unit 101 provides is identical with the function of physical end, comprise each function button and display screen, on the terminal simulation operation interface that user provides at described analogue unit 101, the button of pseudo-terminal is clicked with mouse, can operate described pseudo-terminal, this operation is identical with the button operation of physical end.
Operation receiving element 102, for receiving the various operations on the terminal simulation operation interface that user provides at described analogue unit 101.
In specific implementation, the various operations on the terminal simulation operation interface that described user provides at described analogue unit 101 comprise: select at least one pseudo-terminal or operate selected pseudo-terminal.Particularly, when user uses mouse to click certain button on described terminal simulation operation interface, namely described operation receiving element 102 receives the key information of clicked button.
Display unit 103, for showing the current screen content that described content server 20 returns in real time, to respond the operation of described user.
The terminal remote test macro of the embodiment of the present invention is that user (as: developer of terminal applies) provides terminal simulation operation interface, and the various types of pseudo-terminals can selected for user are provided, user can select any one or more pseudo-terminal, terminal remote test macro is then according to the selection of user, remote testing is carried out to corresponding physical end, save the acquisition expenses of terminal, reduce cost.
Referring to Fig. 3, is the structural representation of the embodiment of content server of the present invention; Described content server 20 comprises:
Detecting unit 201, for the various operations of user on described terminal simulation operation interface received according to described terminal emulator 10, detects the type of various operation.
In specific implementation, as aforementioned, the operation on the terminal simulation operation interface that user provides in described terminal emulator 10 comprises: select at least one terminal or operate (as button operation) selected pseudo-terminal; Described detecting unit 201, then which kind of type the operation for detecting described user is specially.As aforementioned, when user clicks certain button by mouse on the terminal simulation interface that described terminal emulator 10 provides, namely described terminal emulator 10 receives described key information, this key information is sent to described detecting unit 201 by described terminal emulator 10, described detecting unit 201 analyzes this key information, determines the action type of user.Be understandable that, various key information and various types of operations corresponding to various key information have been prestored in described content server 20, described detecting unit 201 calls this key information prestored and to compare judgement to the key information that described terminal emulator 10 transmits, thus determines the action type of user.
Messaging unit 202, during for detecting that when described detecting unit 201 user selects at least one pseudo-terminal, sends connection request message to described proxy server, and receives the connection response message that described proxy server returns; Or, when described detecting unit 201 detects that described user operates selected pseudo-terminal, according to described operation, send screenshotss request message in real time to described proxy server, and receive the current screen content that described proxy server returns.
Processing unit 203, for the connection response message received according to described messaging unit 202, set up the communication connection of the physical end corresponding with selected pseudo-terminal, or, the current screen content that described messaging unit 202 receives is returned to described terminal emulator 10 and shows.
It should be noted that, the content server 20 of the embodiment of the present invention is similar with the existing webserver, it is the core devices of terminal remote test macro, be responsible for the various operations according to user, established a communications link by proxy server and physical end, and send various instruction by proxy server to physical end, carry out the mutual of data with physical end, thus realize the remote testing to physical end.In addition, content server 20 of the present invention also should comprise memory, for prestoring various key information and various types of operations corresponding to various key information, calls to be supplied to described detecting unit 201, the function of this memory is same as the prior art, is not repeated herein.
The user of the embodiment of the present invention only needs to carry out simple operations on terminal simulation operation interface, terminal remote test macro can carry out remote testing according to the various operations of user to physical end automatically, complete the adaptation test of all kinds terminal expeditiously, ensure that the quality of terminal applies, shorten the development and testing cycle of terminal applies simultaneously, meet the application demand of terminal market.
In order to be illustrated more clearly in the present invention, will describe in detail to proxy server of the present invention below.
Referring to Fig. 4, is the structural representation of the first embodiment of proxy server of the present invention; Described proxy server comprises:
Transmit-Receive Unit 301, the connection request message sent for receiving terminal remote test system and screenshotss request message, and return connection response message and current screen content to described terminal remote test macro.
In specific implementation, described Transmit-Receive Unit 301 is equivalent to the communication interface of described remote test system and proxy server, for the data transmit-receive between described remote test system and proxy server.
Terminal processing units 302, for the connection request message received according to described Transmit-Receive Unit 301, determine the physical end that pseudo-terminal selected on the terminal simulation operation interface that user provides at described terminal remote test macro is corresponding, and described connection request message is transmitted to described physical end, and receive the connection response message that described physical end returns, notify that described Transmit-Receive Unit 301 forwards described connection response message to described terminal remote test macro; Screenshotss request message also for being received by described Transmit-Receive Unit 301 is transmitted to described physical end, and receive the screenshotss success message that described physical end returns, after receiving described screenshotss success message, send file transfer requests message to described physical end, and receive the current screen content that described physical end returns.
Decoding unit 303, the current screen content returned for the described physical end received described terminal processing units 302 carries out decoding process, and the current screen content after decoding process is supplied to described Transmit-Receive Unit 301, make described Transmit-Receive Unit 301 that described decoded current screen content is returned to described terminal remote test macro.
It should be noted that, if when the described terminal processing units 302 current screen content received from physical end is the current screen content after the process such as compressed, encryption, described decoding unit 303 is also responsible for carrying out the process such as decompress(ion), deciphering to the current screen content that this receives, its concrete process processes corresponding with compression, encryption etc., same as the prior art, be not repeated herein.
The embodiment of the present invention adopts remote mode to test terminal, saves the acquisition expenses of terminal, reduces cost, can complete the adaptation test of all kinds terminal simultaneously expeditiously, ensure that the quality of terminal applies.
Referring to Fig. 5, is the structural representation of the second embodiment of proxy server of the present invention; Identical with a upper embodiment, described proxy server comprises: Transmit-Receive Unit 301, terminal processing units 302 and decoding unit 303.In the present embodiment, described proxy server comprises further:
Final drive unit 304, for driving various types of physical end, enabling proxy server identify various types of physical end, various types of physical end is connected to described proxy server.
It should be noted that, the proxy server of the embodiment of the present invention, is also called Proxy, its access agent conducted interviews to physical end as described terminal remote test macro.In practical application, described proxy server, by various interface, comprising: USB interface, blue tooth interface etc., realizes the access to physical end, and described various interface is provided by described final drive unit 304; Described final drive unit 304 can call the driver required for various types of physical end, drive various types of physical end, proxy server is enable to identify various types of physical end, thus various types of physical end is connected to described proxy server, realize automatic, safety transfering data between physical end and proxy server.For Nokia mobile phone, described final drive unit 304 is the PC(Personal Compute of Nokia mobile phone, personal computer) external member, this PC external member drives Nokia mobile phone, make Nokia mobile phone be connected to proxy server, proxy server then can call the API(Application Programming Interface that this PC external member provides, application programming interface) interface, access Nokia mobile phone, and transfer of data can be carried out with Nokia mobile phone.
In specific implementation, in described various types of physical end, all Agent is installed; Agent is the test agent run in terminal, the various message of Agent Receiving Agent server, and by this message distribution to each functional module in physical end, control each functional module and corresponding operating is carried out to physical end, with the various message of response agent server.Particularly, described Agent receives the described connection request message that described terminal processing units 302 forwards, and returns connection response message to described terminal processing units 302.Described Agent receives the screenshotss request message that described terminal processing units 302 forwards, and the current screen content of described physical end is intercepted according to described screenshotss request message, coded treatment is carried out to described current screen content, current screen content after coded treatment is stored in the ad-hoc location of described physical end, and send screenshotss success message to described terminal processing units 302, afterwards, described proxy server is then by various interfaces that described final drive unit 304 provides, described physical end is conducted interviews, its current screen content of preserving at ad-hoc location is obtained from physical end.It should be noted that, described ad-hoc location is that the storage area of described physical end divides out, for storing the specific memory section of the current screen content of intercepting specially.
The embodiment of the present invention adopts remote mode to test terminal, saves the acquisition expenses of terminal, reduces cost, can complete the adaptation test of all kinds terminal simultaneously expeditiously, ensure that the quality of terminal applies.
In order to clearer explanation the present invention, will describe in detail to terminal remote method of testing of the present invention below.
Referring to Fig. 6, is the flow chart of the first embodiment of terminal remote method of testing of the present invention; Described method comprises:
S101, terminal remote test macro provides terminal simulation operation interface for user, and provides alternative various types of pseudo-terminal on described terminal simulation operation interface.
It should be noted that, the pseudo-terminal that described S101 provides is identical with the function of physical end, comprise each function button and display screen, on the terminal simulation operation interface that user provides at described S101, the button of pseudo-terminal is clicked with mouse, can operate described pseudo-terminal, this operation is identical with the button operation of physical end.
S102, when detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro is established a communications link by the physical end that proxy server is corresponding with selected pseudo-terminal.
S103, when described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro is by the current screen content of physical end corresponding to the pseudo-terminal selected by described proxy server Real-time Obtaining.
S104, the current screen content of described terminal remote test macro described acquisition of display in real time on described terminal simulation operation interface, to respond the operation of described user.
The embodiment of the present invention adopts remote mode to test terminal, saves the acquisition expenses of terminal, reduces cost, can complete the adaptation test of all kinds terminal simultaneously expeditiously, ensure that the quality of terminal applies.
Referring to Fig. 7, is the flow chart of the second embodiment of terminal remote method of testing of the present invention; Described method comprises:
S201, terminal remote test macro provides terminal simulation operation interface for user, and provides alternative various types of pseudo-terminal on described terminal simulation operation interface;
S201 in the present embodiment is identical with the S202 step of a upper embodiment, is not repeated herein.
S202, when detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro sends connection request message to proxy server.
S203, described proxy server forwards described connection request message to the physical end that selected pseudo-terminal is corresponding, and receives the connection response message that described physical end returns.
In this step, the Agent in described physical end receives the described connection request message that described proxy server forwards, and returns connection response message to described proxy server.In specific implementation, terminal agent Agent is installed in described physical end, described Agent is the test agent run in terminal, the various message of this Agent Receiving Agent server, and by this message distribution to each functional module in physical end, control each functional module and corresponding operating is carried out to physical end, with the various message of response agent server.
S204, described proxy server forwards described connection response message to described terminal remote test macro, and described terminal remote test macro, according to described connection response message, sets up communication link with described physical end;
In the present embodiment, S202-S204 is the concrete refinement step of the S102 in a upper embodiment.
S205, when described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro sends screenshotss request message in real time to described proxy server.
S206, described screenshotss request message is forwarded to physical end corresponding to selected pseudo-terminal by described proxy server.
S207, described physical end, according to described screenshotss request message, intercepts the current screen content of this terminal.
S208, described physical end carries out coded treatment to described current screen content, the current screen content after coded treatment is stored in the ad-hoc location of this terminal, and sends screenshotss success message to described proxy server.
In the present embodiment, the executive agent of S207-S208 is the Agent in described physical end, in S207, described Agent receives the screenshotss request message that described proxy server forwards, and the current screen content of described physical end is intercepted according to described screenshotss request message, afterwards, Agent performs S208, coded treatment is carried out to described current screen content, current screen content after coded treatment is stored in the ad-hoc location of described physical end, and sends screenshotss success message to described proxy server.It should be noted that, described ad-hoc location is that the storage area of described physical end divides out, for storing the specific memory section of the current screen content of intercepting specially.
S209, described proxy server sends file transfer requests message to described physical end.
S210, after receiving described file transfer requests message, described physical end reads described current screen content from ad-hoc location, and described current screen content is sent to described proxy server.
In specific implementation, after described Agent performs S208, described proxy server is then by various interface (as: USB interface), described physical end is conducted interviews, by performing S209-S210, described proxy server then can obtain its current screen content of preserving at ad-hoc location from physical end.
S211, described proxy server receives described current screen content, carries out decoding process to described current screen content, and the current screen content after decoding process is returned to described terminal remote test macro.
S212, described terminal remote test macro receives the current screen content that described proxy server returns;
In the present embodiment, S205-S212 is the concrete refinement step of the S103 of a upper embodiment.
S213, the current screen content of described terminal remote test macro described acquisition of display in real time on described terminal simulation operation interface, to respond the operation of described user;
In the present embodiment, S213 is identical with the S104 step of a upper embodiment, is not repeated herein.
The embodiment of the present invention adopts remote mode to test terminal, saves the acquisition expenses of terminal, reduces cost, can complete the adaptation test of all kinds terminal simultaneously expeditiously, ensure that the quality of terminal applies.
Referring to Fig. 8, is the flow chart of the 3rd embodiment of terminal remote method of testing of the present invention; The present embodiment is described in detail for Nokia mobile phone, and described method comprises:
The terminal simulation operation interface that user provides in terminal emulator selects pseudo-terminal, and terminal emulator sends connection request message to content server after receiving the selection operation of user, and to the information of user's display " connecting terminal "; Content server receives the connection request message from terminal emulator, and this connection request message is transmitted to proxy server; Proxy server is according to this connection request message, determine the Nokia mobile phone that user-selected pseudo-terminal is corresponding, then forward this connection request message by the PC external member (as: USB interface that PC external member provides) of Nokia mobile phone to the Nokia mobile phone determined, the Agent in this Nokia mobile phone sends connection response message to proxy server; Proxy server forwards this connection response message to content server; Content server and this Nokia mobile phone determined establish a communications link, and now, described terminal emulator also can show the information of " terminal successful connection " to user.
The terminal simulation operation interface that user provides in terminal emulator operates selected pseudo-terminal, and terminal emulator receives this operation, and the button information of this operation correspondence is sent to content server; Content server determines the action type of user according to receiving key information, send screenshotss request message to proxy server; This screenshotss request message is forwarded to Agent by proxy server; Agent, according to this screenshotss request message, intercepts the current screen content of Nokia mobile phone, and carries out coded treatment to the current screen content intercepted, and is then stored in the ad-hoc location of Nokia mobile phone; Then screenshotss successful information is returned to proxy server; Proxy server sends transfer files request by PC external member to Nokia mobile phone; Nokia mobile phone responds this request, extracts this current screen content from ad-hoc location, and by PC external member, this current screen content is returned to proxy server; Proxy server is decoded the current screen content received, and decoded current screen content is returned to content server; This current screen content is forwarded to terminal emulator by content server, shows current screen content by terminal emulator in real time to user, to respond the operation of user.
The embodiment of the present invention shortens the development and testing cycle of terminal applies, meets the application demand of terminal market.
By the description of above-described embodiment, the terminal remote test macro of the embodiment of the present invention is that user (as: developer of terminal applies) provides terminal simulation operation interface, and the various types of pseudo-terminals can selected for user are provided, user can select any one or more pseudo-terminal, terminal remote test macro is then according to the selection of user, remote testing is carried out to corresponding physical end, saves the acquisition expenses of terminal, reduce cost; In addition, user only needs to carry out simple operations on terminal simulation operation interface, terminal remote test macro can carry out remote testing according to the various operations of user to physical end automatically, complete the adaptation test of all kinds terminal expeditiously, ensure that the quality of terminal applies, shorten the development and testing cycle of terminal applies simultaneously, meet the application demand of terminal market.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (5)

1. a terminal remote method of testing, is characterized in that, comprising:
Terminal remote test macro provides terminal simulation operation interface for user, and provides alternative various types of pseudo-terminal on described terminal simulation operation interface;
When detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro is established a communications link by the physical end that proxy server is corresponding with selected pseudo-terminal;
When described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro is by the current screen content of physical end corresponding to the pseudo-terminal selected by described proxy server Real-time Obtaining, wherein, it is described when described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro is comprised by the current screen content of physical end corresponding to the pseudo-terminal selected by described proxy server Real-time Obtaining:
When described user operates selected pseudo-terminal on described terminal simulation operation interface, according to the operation of described user, described terminal remote test macro sends screenshotss request message in real time to described proxy server;
Described screenshotss request message is forwarded to physical end corresponding to selected pseudo-terminal by described proxy server;
Described physical end, according to described screenshotss request message, intercepts the current screen content of this terminal;
Described physical end carries out coded treatment to described current screen content, the current screen content after coded treatment is stored in the ad-hoc location of this terminal, and sends screenshotss success message to described proxy server;
Described proxy server sends file transfer requests message to described physical end;
After receiving described file transfer requests message, described physical end reads described current screen content from ad-hoc location, and described current screen content is sent to described proxy server;
Described proxy server receives described current screen content, carries out decoding process to described current screen content, and the current screen content after decoding process is returned to described terminal remote test macro;
Described terminal remote test macro receives the current screen content that described proxy server returns;
The current screen content of described terminal remote test macro described acquisition of display in real time on described terminal simulation operation interface, to respond the operation of described user.
2. the method for claim 1, it is characterized in that, described when detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro is established a communications link by the physical end that proxy server is corresponding with selected pseudo-terminal, comprising:
When detecting that user selects at least one pseudo-terminal on described terminal simulation operation interface, described terminal remote test macro sends connection request message to proxy server;
Described proxy server forwards described connection request message to the physical end that selected pseudo-terminal is corresponding, and receives the connection response message that described physical end returns;
Described proxy server forwards described connection response message to described terminal remote test macro, and described terminal remote test macro, according to described connection response message, establishes a communications link with described physical end.
3. method as claimed in claim 2, is characterized in that, be provided with terminal agent Agent in described physical end;
Described Agent receives the described connection request message that described proxy server forwards, and returns connection response message to described proxy server;
Described Agent receives the screenshotss request message that described proxy server forwards, and the current screen content of described physical end is intercepted according to described screenshotss request message, coded treatment is carried out to described current screen content, current screen content after coded treatment is stored in the ad-hoc location of described physical end, and sends screenshotss success message to described proxy server.
4. a proxy server, is characterized in that, comprising:
Transmit-Receive Unit, the connection request message sent for receiving terminal remote test system and screenshotss request message, and return connection response message and current screen content to described terminal remote test macro;
Terminal processing units, for the connection request message received according to described Transmit-Receive Unit, determine the physical end that pseudo-terminal selected on the terminal simulation operation interface that user provides at described terminal remote test macro is corresponding, and described connection request message is transmitted to described physical end, and receive the connection response message that described physical end returns, notify that described Transmit-Receive Unit forwards described connection response message to described terminal remote test macro; Screenshotss request message also for being received by described Transmit-Receive Unit is transmitted to described physical end, and receive the screenshotss success message that described physical end returns, after receiving described screenshotss success message, send file transfer requests message to described physical end, and receive the current screen content that described physical end returns;
Decoding unit, the current screen content returned for the described physical end received described terminal processing units carries out decoding process, and the current screen content after decoding process is supplied to described Transmit-Receive Unit, make described Transmit-Receive Unit that described decoded current screen content is returned to described terminal remote test macro;
Final drive unit, for driving various types of physical end, enabling proxy server identify various types of physical end, various types of physical end is connected to described proxy server.
5. proxy server as claimed in claim 4, is characterized in that, also comprise:
All Agent is installed in described various types of physical end;
Described Agent receives the described connection request message that described terminal processing units forwards, and returns connection response message to described terminal processing units;
Described Agent receives the screenshotss request message that described terminal processing units forwards, and the current screen content of described physical end is intercepted according to described screenshotss request message, coded treatment is carried out to described current screen content, current screen content after coded treatment is stored in the ad-hoc location of described physical end, and sends screenshotss success message to described terminal processing units.
CN201010591044.8A 2010-12-16 2010-12-16 Remote terminal test method and proxy server Active CN102571840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010591044.8A CN102571840B (en) 2010-12-16 2010-12-16 Remote terminal test method and proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010591044.8A CN102571840B (en) 2010-12-16 2010-12-16 Remote terminal test method and proxy server

Publications (2)

Publication Number Publication Date
CN102571840A CN102571840A (en) 2012-07-11
CN102571840B true CN102571840B (en) 2015-04-22

Family

ID=46416313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010591044.8A Active CN102571840B (en) 2010-12-16 2010-12-16 Remote terminal test method and proxy server

Country Status (1)

Country Link
CN (1) CN102571840B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577320A (en) * 2012-08-07 2014-02-12 卓望数码技术(深圳)有限公司 Testing method and system of remote terminals
CN103678096B (en) * 2012-09-03 2018-04-06 腾讯科技(深圳)有限公司 The adaptation method of testing and device of client application
CN103729258B (en) * 2012-10-12 2018-09-04 腾讯科技(深圳)有限公司 A kind of automatic test approach, terminal and system
CN104008043B (en) * 2013-02-21 2017-08-22 腾讯科技(深圳)有限公司 Cross-terminal method of testing, end to be tested and test lead
CN103634165B (en) * 2013-12-05 2017-01-18 北京奇安信科技有限公司 Method, terminal device and system for realizing network testing based on reverse proxy
CN103713982B (en) * 2014-01-26 2016-09-14 飞狐信息技术(天津)有限公司 Remote service is returned the method and apparatus that result is monitored
CN104869133B (en) * 2014-02-21 2018-07-03 华为技术有限公司 A kind of method of data record, system and access server
CN104202372B (en) * 2014-08-21 2018-03-23 浪潮(北京)电子信息产业有限公司 A kind of method and system of touch screen terminal login service device
CN104268039B (en) * 2014-09-16 2017-10-10 小米科技有限责任公司 Mantenance data acquisition methods, apparatus and system
CN104461904B (en) * 2014-12-29 2018-02-09 北京畅游天下网络技术有限公司 The method of testing and device of mobile terminal
CN105893201A (en) * 2015-12-10 2016-08-24 乐视致新电子科技(天津)有限公司 Test method and system of analog terminal equipment
CN105491155A (en) * 2015-12-30 2016-04-13 惠州市德赛西威汽车电子股份有限公司 Vehicle-mounted terminal development simulation system
CN106385464A (en) * 2016-11-04 2017-02-08 珠海金山网络游戏科技有限公司 Method and system for remotely controlling terminal
CN108259253A (en) * 2016-12-28 2018-07-06 深圳市蓝希领地科技有限公司 A kind of test method, simulation car-mounted terminal and test system
CN108304314A (en) * 2017-01-13 2018-07-20 北京畅游天下网络技术有限公司 A kind of mobile terminal test method, system and server end
CN108874651A (en) * 2017-05-09 2018-11-23 北京京东尚科信息技术有限公司 The remote debugging method and device of smart machine
CN107846277B (en) * 2017-09-28 2021-05-18 天津市卓越新中新龙腾科技发展有限公司 Communication method and system based on identity authentication
CN107846276B (en) * 2017-09-28 2020-11-20 江苏热试信息科技有限公司 Communication data encryption method and system in open environment
CN110035284B (en) * 2018-01-11 2021-04-20 华为技术有限公司 STB (set Top Box) debugging method and device
CN108427545B (en) * 2018-02-01 2021-07-09 广州视源电子科技股份有限公司 Screenshot data processing method, device and system, storage medium and processor
CN110597584A (en) * 2019-08-15 2019-12-20 香港乐蜜有限公司 Page adaptation testing method and device, electronic equipment and storage medium
CN110795022B (en) * 2019-11-08 2022-03-15 北京字节跳动网络技术有限公司 Terminal testing method, system and storage medium
CN111158925B (en) * 2019-12-05 2024-02-23 中移(杭州)信息技术有限公司 Remote terminal debugging method, terminal, server and storage medium
CN112052164A (en) * 2020-08-19 2020-12-08 深圳创维-Rgb电子有限公司 Remote debugging method of Android device, storage medium and debugging terminal
CN111966381A (en) * 2020-08-24 2020-11-20 宝牧科技(天津)有限公司 Light business terminal health detection system and method
CN113132183B (en) * 2021-04-20 2022-09-23 北京天融信网络安全技术有限公司 Data transmission test method, device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522723B1 (en) * 1998-06-09 2003-02-18 Tollgrade Communications, Inc. Telephony line test unit and method
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN101815096A (en) * 2010-03-26 2010-08-25 方小祥 Remote-operated mobile phone system and visualized operation method thereof by utilizing webpage
CN101877867A (en) * 2009-04-28 2010-11-03 深圳富泰宏精密工业有限公司 Server and method used for mobile phone remote testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6522723B1 (en) * 1998-06-09 2003-02-18 Tollgrade Communications, Inc. Telephony line test unit and method
CN101060372A (en) * 2007-06-26 2007-10-24 华为技术有限公司 A method and system for rapid creating the automation test script
CN101877867A (en) * 2009-04-28 2010-11-03 深圳富泰宏精密工业有限公司 Server and method used for mobile phone remote testing
CN101815096A (en) * 2010-03-26 2010-08-25 方小祥 Remote-operated mobile phone system and visualized operation method thereof by utilizing webpage

Also Published As

Publication number Publication date
CN102571840A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102571840B (en) Remote terminal test method and proxy server
CN108491275B (en) Program optimization method, device, terminal and storage medium
CN104574057B (en) Online payment method and related equipment and system
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN105824836B (en) Screenshot sharing method and device, and information receiving method and device
CN104750450A (en) File sharing method in IM (Instant Messaging) and terminal
CN104636924A (en) Safe payment method, server and system
CN104394191A (en) Method, control terminal, and system for remotely controlling mobile terminal
CN104469739B (en) A kind of card writing method and client device
CN101930439B (en) The Website processing device of the various model mobile phone of a kind of adaptation and application thereof
CN104142966A (en) Web page displaying method and client
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN111273880B (en) Remote display method and device based on cloud intelligent equipment
CN105376719A (en) Information pushing method and device
CN113435989A (en) Financial data processing method and device
CN104426960B (en) A kind of trial method and device of payment applications
CN104869565A (en) Communication information access method and terminal
CN105471953B (en) Customer terminal webpage dynamic display method, device and system
CN208188814U (en) A kind of embedded device and its remote update system
CN106971298A (en) Method of payment, system, payment conversion method and payment conversion equipment
CN112689012A (en) Cross-network proxy communication method and device
CN106792206A (en) A kind of TV menu adaptive updates method and system
CN105554131A (en) Data processing method and mobile terminal
CN115099930A (en) Financial business data processing method and device
CN104954319B (en) Web information processing method, client and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant