CN110311970A - A kind of remote debugging system and its method - Google Patents
A kind of remote debugging system and its method Download PDFInfo
- Publication number
- CN110311970A CN110311970A CN201910569240.6A CN201910569240A CN110311970A CN 110311970 A CN110311970 A CN 110311970A CN 201910569240 A CN201910569240 A CN 201910569240A CN 110311970 A CN110311970 A CN 110311970A
- Authority
- CN
- China
- Prior art keywords
- mobile unit
- remote debugging
- address information
- server
- commissioning device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
- H04L63/166—Implementing security features at a particular protocol layer at the transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
- H04L63/168—Implementing security features at a particular protocol layer above the transport layer
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Health & Medical Sciences (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Debugging And Monitoring (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of remote debugging system and method, this method comprises: mobile unit obtains the first address information of corresponding remote debugging server if receiving the trigger action based on remote debugging button;Mobile unit is established first with remote debugging server based on the first address information and is remotely connect;If receiving the identification information of mobile unit and receiving commissioning device and determine request based on the connection of mobile unit corresponding with identification information, remote debugging server generates the second address information for remotely connecting with commissioning device, and the second address information is sent to commissioning device, the second address information is identical as the IP address in the first address information;Commissioning device is established second with remote debugging server based on the second address information and is remotely connect, and based on the first long-range connection and the second remotely connection, carries out remote debugging to mobile unit.The embodiment of the present invention can effective position problem, be conducive to the timely solution of mobile unit problem.
Description
Technical field
The present invention relates to mobile unit field more particularly to a kind of remote debugging system and its methods.
Background technique
The problem of encountering during using mobile unit for quick response user, mobile unit planner can pass through
The function of " key feedback " is touched rapidly up to user, is reached effectively response communication answer user and is met during using mobile unit
To the problem of.
However, still there are some problems due to the limitation of " key feedback " function, it is somebody's turn to do " key feedback " function and is only limited to
Voice;If mobile unit planner, during later period call-on back by phone, user can not also describe to understand the problem of it is encountered, or
Mobile unit has occurred that serious failure, " key feedback " can not be carried out, at this point, mobile unit planner can not understand it
The protocol questions of mobile unit, let alone how to solve the problems, such as.In this way, the traditional solution of mobile unit planner is by vehicle
Carry equipment and post back genuine and analyze, complicated for operation, period operating time is long, be unfavorable for brand quotient or terminal client problem and
When solve.
Summary of the invention
The embodiment of the present invention provides a kind of remote debugging system and its method, not only easy to operate, but also can effectively determine
Position problem is conducive to the timely analysis and solution of mobile unit problem.
In a first aspect, the embodiment of the invention provides a kind of remote debugging system, the system comprises mobile unit, remotely
Debugging server and commissioning device;Wherein,
If receiving trigger action of the user based on remote debugging button, the mobile unit is described vehicle-mounted for obtaining
First address information of the corresponding remote debugging server of equipment;Based on first address information and the remote debugging service
Device establishes the first long-range connection;
The remote debugging server, if identification information for receiving the mobile unit and receiving the tune
The connection that equipment is tried based on mobile unit corresponding with the identification information determines request, generates for remote with the commissioning device
Second address information of journey connection, and second address information is sent to the commissioning device, second address information
It is identical as the IP address in first address information;
The commissioning device, it is long-range for establishing second based on second address information and the remote debugging server
Connection;Based on the described first long-range connection and the second long-range connection, remote debugging is carried out to the mobile unit.
In above scheme, the system also includes certificate servers;Wherein,
The mobile unit, specifically for sending the identification information of the mobile unit to the certificate server;
The certificate server, for carrying out identity to the mobile unit and testing according to the identification information received
Card;If after authentication success, obtaining the first address information of remote debugging server corresponding with the mobile unit, and will
First address information is sent to the mobile unit;
The mobile unit is also used to receive first address information.
In above scheme, the remote debugging server is specifically used for passing through the certificate server for second ground
Location information is sent to the commissioning device.
In above scheme, the mobile unit is also used to remotely connect by described first by the company of each mobile unit
It connects solicited message and is sent to the remote debugging server, the connectivity request message includes the identification information of mobile unit;
The commissioning device is also used to the debugging tool based on Web and receives the remote debugging server based on Web service
The connectivity request message that device is sent, and the connectivity request message is shown on the debugging tool based on Web, for institute
Commissioning device is stated to send and the identification information pair for target connectivity request message, by the debugging tool based on Web
The connection for the mobile unit answered determines request, and the target connectivity request message is the connection request letter for including the identification information
Breath.
In above scheme, the remote debugging server, also particularly useful for the service request of real time monitoring commissioning device;If
The service request received is that the connection of commissioning device mobile unit corresponding with the identification information determines request, is generated
The second address information for remotely being connect with the commissioning device.
Second aspect, the embodiment of the invention also provides a kind of remote debugging methods, are applied to remote debugging system, described
Remote debugging system includes mobile unit, remote debugging server and commissioning device, which comprises
If receiving trigger action of the user based on remote debugging button, the mobile unit obtains the mobile unit pair
First address information of the remote debugging server answered;
The mobile unit is established first with the remote debugging server based on first address information and is remotely connect;
It is based on and the identification information if receiving the identification information of the mobile unit and receiving the commissioning device
The connection of corresponding mobile unit determines request, and the remote debugging server is generated for remotely connecting with the commissioning device
The second address information, and second address information is sent to the commissioning device, second address information with it is described
IP address in first address information is identical;
The commissioning device is established second with the remote debugging server based on second address information and is remotely connect;
The commissioning device is based on the described first long-range connection and the second long-range connection, carries out to the mobile unit long-range
Debugging.
In above scheme, the remote debugging system further includes certificate server, and the mobile unit obtains described vehicle-mounted
First address information of the corresponding remote debugging server of equipment includes:
The mobile unit sends the identification information of the mobile unit to the certificate server;
The certificate server carries out authentication according to the identification information received, to the mobile unit;
If the certificate server obtains remote debugging server corresponding with the mobile unit after authentication success
The first address information, and first address information is sent to the mobile unit.
In above scheme, second address information is sent to the commissioning device packet by the remote debugging server
It includes:
Second address information is sent to the debugging by the certificate server by the remote debugging server
Equipment.
In above scheme, the mobile unit is based on first address information and the remote debugging server and establishes the
After one long-range connection, the method also includes:
The connectivity request message of the mobile unit is sent to institute by the described first long-range connection by the mobile unit
Remote debugging server is stated, the connectivity request message includes the identification information of mobile unit;
The commissioning device is received the remote debugging server based on the debugging tool of Web and is sent based on Web server
Connectivity request message, and the connectivity request message is shown on the debugging tool based on Web, for the debugging
Equipment sends vehicle corresponding with the identification information for target connectivity request message, by the debugging tool based on Web
The connection for carrying equipment determines request, and the target connectivity request message is the connectivity request message for including the identification information.
In above scheme, the remote debugging server generates the second address for remotely connecting with the commissioning device
Before information, which comprises
The service request of the remote debugging server real-time monitoring commissioning device;
If the service request received is that the connection of commissioning device mobile unit corresponding with the identification information is true
Fixed request, executes the step for the second address information that the remote debugging server is generated for remotely connecting with the commissioning device
Suddenly.
The embodiment of the present invention by mobile unit obtain remote debugging server the first address information, make mobile unit with
Remote debugging server establishes the first long-range connection;Then, commissioning device is long-range first by obtaining remote debugging server
Connection has built up and receives under the premise of the commissioning device determines request based on the connection with the mobile unit and generates
The second address information, so that commissioning device is established second with remote debugging server and remotely connect, wherein the first address information and
IP address is identical in second address information.So that commissioning device by remote debugging server indirectly and mobile unit
Connection is established, and based on the described first long-range connection and the second long-range connection, remote debugging is carried out to the mobile unit.This
Sample, mobile unit can cloud authorization commissioning device carry out the crawl of Log journal file, Bug problem it is effective identify and
Courses of action reproduction confirmation etc. remote operation, it is not only easy to operate, and can effective position problem, be conducive to mobile unit and ask
The timely analysis and solution of topic, realize good user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow diagram of remote debugging method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of remote debugging system provided in an embodiment of the present invention;
Fig. 3 is the initial page figure of mobile unit feedback page;
Fig. 4 is the display page figure of debugging tool of the commissioning device based on Web;
Fig. 5 is the specific implementation process schematic of remote debugging method provided in an embodiment of the present invention.
Specific embodiment
The problem of encountering during using mobile unit for quick response user, mobile unit planner can pass through
The function of " key feedback " is touched rapidly up to user, is reached effectively response communication answer user and is met during using mobile unit
To the problem of.
However, still there are some problems due to the limitation of " key feedback " function, it is somebody's turn to do " key feedback " function and is only limited to
Voice;If mobile unit planner, during later period call-on back by phone, user can not also describe to understand the problem of it is encountered, or
Mobile unit has occurred that serious failure, " key feedback " can not be carried out, at this point, mobile unit planner can not understand it
The protocol questions of mobile unit, let alone how to solve the problems, such as.In this way, the traditional solution of mobile unit planner is by vehicle
Carry equipment and post back genuine and analyze, complicated for operation, period operating time is long, be unfavorable for brand quotient or terminal client problem and
When solve.
Based on this, the embodiment of the present invention provides a kind of remote debugging scheme, below in conjunction with attached in the embodiment of the present invention
Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is the present invention
A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
It is the flow diagram of remote debugging method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, as shown in Figure 1, packet
Include following steps:
Step 101, if receiving trigger action of the user based on remote debugging button, the mobile unit obtains the vehicle
Carry the first address information of the corresponding remote debugging server of equipment;
Remote debugging method provided in an embodiment of the present invention is mainly used on remote debugging system, and referring to fig. 2, Fig. 2 is
The structural schematic diagram of remote debugging system provided in an embodiment of the present invention, as shown in Fig. 2, the remote debugging system includes: vehicle
Carry equipment 21, remote debugging server 22 and commissioning device 23.
When user using mobile unit when encountering problems, the feedback page with " remote debugging " function can be opened,
In trigger action of the feedback page based on remote debugging button, commissioning device can be authorized remotely to adjust mobile unit
Examination.
Fig. 3 is the initial page figure of mobile unit feedback page, as shown in figure 3, the touching based on remote debugging button
Hair operation can be the clicking operation of remote debugging button, that is to say, that as long as user clicks the upper right corner " opening remote assistance "
Virtual push button, can cloud authorization commissioning device to the mobile unit carry out remote debugging.
Further, cloud obtains authorization and needs to use certificate server, as shown in Fig. 2, the remote debugging system
It further include certificate server 24, the certificate server 24 is for authenticating the mobile unit, if mobile unit certification is logical
It crosses, can just obtain the authorization of remote debugging.
The first address information that the mobile unit obtains the corresponding remote debugging server of the mobile unit includes:
The mobile unit sends the identification information of the mobile unit to the certificate server;
For the mobile unit by calling authentication module to send authentication information to certificate server, authentication information includes mark
Information, the identification information can be the exclusive identification code SN of mobile unit.
The certificate server carries out authentication according to the identification information received, to the mobile unit;
If the certificate server obtains remote debugging server corresponding with the mobile unit after authentication success
The first address information, and first address information is sent to the mobile unit.
First address information may include IP address and the port Port of the remote debugging server, and from peace
Full property considers that the IP address result returned each time is not unique.
Step 102, the mobile unit is based on first address information and the remote debugging server establishes first
Long-range connection;
The mobile unit finds the remote debugging server by the first address information, and it is long-range to establish first therewith
Connection.In order to guarantee the safety of connection, mobile unit establishes connection using TLS cryptographic protocol.
Described first is remotely connected as the online long-range connection of confirmation mobile unit, therefore, is establishing the first long-range connection
Later, the mobile unit remotely understands active reporting connectivity request message by the connection, which includes described
The identification information of mobile unit determines operation target for commissioning device, finds the mobile unit.
Specifically, the mobile unit is based on first address information and the remote debugging server establishes first far
After journey connection, the method also includes:
The connectivity request message of the mobile unit is sent to institute by the described first long-range connection by the mobile unit
Remote debugging server is stated, the connectivity request message includes the identification information of mobile unit;
The commissioning device is received the remote debugging server based on the debugging tool of Web and is sent based on Web server
Connectivity request message, and the connectivity request message is shown on the debugging tool based on Web, for the debugging
Equipment sends vehicle corresponding with the identification information for target connectivity request message, by the debugging tool based on Web
The connection for carrying equipment determines request, and the target connectivity request message is the connectivity request message for including the identification information.
The remote debugging server vehicle-mounted is set based on each port institute that Web server monitors target ip address is received
Standby connectivity request message, and be sent to the commissioning device based on the debugging tool of Web, the target ip address with it is described
IP address is identical in first address information.
The commissioning device shows the connectivity request message on the debugging tool based on Web, such as Fig. 4 institute
Show, display can be in the form of a list, and each list is a connectivity request message.When commissioning device connects for target
Connect solicited message, connection that mobile unit corresponding with the identification information is sent by the debugging tool based on Web it is true
When requesting surely, the commissioning device, which just starts to establish second with remote debugging server, remotely to be connect.
Step 103, if receive the identification information of the mobile unit and receive the commissioning device be based on it is described
The connection of the corresponding mobile unit of identification information determines request, the remote debugging server generate for the commissioning device
The second address information remotely connected, and second address information is sent to the commissioning device, the second address letter
It ceases identical as the IP address in first address information;
Second address information is different from the port Port in first address information.
Before the remote debugging server generates the second address information for remotely connecting with the commissioning device, institute
The method of stating includes:
The service request of the remote debugging server real-time monitoring commissioning device;
If the service request received is that the connection of commissioning device mobile unit corresponding with the identification information is true
Fixed request, executes the step for the second address information that the remote debugging server is generated for remotely connecting with the commissioning device
Suddenly.
As it can be seen that remote debugging server monitors the different port of same IP address by Web server, it means that this is remote
Journey debugging function can support ten thousand number of stages mobile units while " remote debugging " being requested to service;Meanwhile it being supervised by Web server
The connectivity request message for obtaining each mobile unit is listened, and connectivity request message is sent to the commissioning device in Intranet,
Dynamic generation shows that original list only needs to generate 1 time in this way, so that the program for generating display original list does not just have to protect always
Open state is held, to release the resource of server.Also, there is firewall functionality, the service of being effectively protected is not attacked
It hits.
Second address information is sent to the commissioning device by the remote debugging server
Second address information is sent to the debugging by the certificate server by the remote debugging server
Equipment.
Step 104, the commissioning device is based on second address information and the remote debugging server establishes second
Long-range connection;
Described second is remotely connected as remote debugging connection, and in order to guarantee the safety of information, the commissioning device is in
In Intranet, the described second long-range connection is the connection of outer net to Intranet, and there is the remote debugging server outer net to turn Intranet
Function, have the function of firewall.
Debugging tool based on Web is supported establishing second far in extranet access, commissioning device and remote debugging server
Journey connection after, the debugging tool based on Web, commissioning staff it is seen that all mobile units for establishing connection list.
Step 105, the commissioning device is based on the described first long-range connection and the second long-range connection, to the mobile unit
Carry out remote debugging.
After establishing the first long-range connection and the second long-range connection, commissioning device can be carried out communicating with mobile unit
?.Debugging tool of the commissioning staff based on Web sends debugging instruction to mobile unit, to control the mobile unit, solves institute
The problem of stating mobile unit.
It should be noted that the described first long-range connection and the second long-range connection are established by containment agreement SSH
Connection;The mobile unit is after obtaining the first address information, by the foundation of starting SSH service and the tunnel SSH, with institute
It states remote debugging server and establishes the first long-range connection;The remote debugging server is also based on SSH to generate the second address
Information, and commissioning device is sent to based on Web SSH.In this way, having the characteristics that application firewall, can protect not by web-
The attack of based.
In addition, the described first long-range connection and the second long-range connection are all to keep remotely connecting by heartbeat signal,
When debugging interruption, heartbeat signal disappears, and the mobile unit stops SSH service, and exits remote debugging.
The embodiment of the present invention by mobile unit obtain remote debugging server the first address information, make mobile unit with
Remote debugging server establishes the first long-range connection;Then, commissioning device is long-range first by obtaining remote debugging server
Connection has built up and receives under the premise of the commissioning device determines request based on the connection with the mobile unit and generates
The second address information, so that commissioning device is established second with remote debugging server and remotely connect, wherein the first address information and
IP address is identical in second address information.So that commissioning device by remote debugging server indirectly and mobile unit
Connection is established, and based on the described first long-range connection and the second long-range connection, remote debugging is carried out to the mobile unit.This
Sample, mobile unit can cloud authorization commissioning device carry out the crawl of Log journal file, Bug problem it is effective identify and
Courses of action reproduction confirmation etc. remote operation, it is not only easy to operate, and can effective position problem, be conducive to mobile unit and ask
The timely analysis and solution of topic, realize good user experience.
It will be described in detail the process of the remote debugging method by way of examples below.
Fig. 5 is the specific implementation process schematic of remote debugging method provided in an embodiment of the present invention, as shown in figure 5, first
First, it at mobile unit end, if receiving trigger action of the user based on remote debugging button, that is, receives and opens remote debugging
Instruction calls certificate server to carry out the certification of mobile unit, obtains the authorization of remote debugging, after authenticating successfully, pass through
Certificate server obtains the first address information of remote debugging server, to guarantee that SSH tunnel is established in safety, starting SSH service
Road is established first with remote debugging server and is remotely connect;
Then, in remote debugging server end, if receiving the identification information of the mobile unit and receiving the tune
The connection that equipment is tried based on mobile unit corresponding with the identification information determines request, generates the second address information based on SSH,
Commissioning device is sent to by certificate server;
Finally, at commissioning device end, commissioning device is according to second address information, based on Web SSH and described long-range
Debugging server establishes the second long-range connection;And based on the described first long-range connection and the second long-range connection, vehicle-mounted set to described
It is standby to carry out remote debugging.
The embodiment of the present invention also provides a kind of remote debugging system, as shown in Fig. 2, the system comprises mobile unit 21,
Remote debugging server 22 and commissioning device 23;Wherein,
If receiving trigger action of the user based on remote debugging button, the mobile unit 21, for obtaining the vehicle
Carry the first address information of the corresponding remote debugging server 22 of equipment 21;Based on first address information and the long-range tune
Examination server 22 establishes the first long-range connection;
The remote debugging server 22, if identification information for receiving the mobile unit 21 and receiving institute
State commissioning device 23 based on mobile unit 21 corresponding with the identification information connection determine request, generate for the tune
The second address information that examination equipment 23 remotely connects, and second address information is sent to the commissioning device 23, it is described
Second address information is identical as the IP address in first address information;
The commissioning device 23, for establishing second based on second address information and the remote debugging server 22
Long-range connection;Based on the described first long-range connection and the second long-range connection, remote debugging is carried out to the mobile unit 21.
Optionally, the system also includes certificate servers 24;Wherein,
The mobile unit 21, the mark specifically for sending the mobile unit 21 to the certificate server 24 are believed
Breath;
The certificate server 24, for carrying out body to the mobile unit 21 according to the identification information received
Part verifying;If obtaining the first address of remote debugging server 22 corresponding with the mobile unit 21 after authentication success
Information, and first address information is sent to the mobile unit 21;
The mobile unit 21 is also used to receive first address information.
Optionally, the remote debugging server 22 is specifically used for passing through the certificate server 24 for second ground
Location information is sent to the commissioning device 23.
Optionally, the mobile unit 21 is also used to remotely connect by described first by the company of each mobile unit 21
It connects solicited message and is sent to the remote debugging server 22, the connectivity request message includes the identification information of mobile unit;
The commissioning device 23 is also used to the debugging tool based on Web and receives the remote debugging server 22 based on Web
The connectivity request message that server is sent, and the connectivity request message is shown on the debugging tool based on Web, with
It is sent and the mark for the commissioning device 23 for target connectivity request message, by the debugging tool based on Web
The connection of the corresponding mobile unit 21 of information determines request, and the target connectivity request message is the company for including the identification information
Connect solicited message.
Optionally, the remote debugging server 22, also particularly useful for the service request of real time monitoring commissioning device;If connecing
The service request received is that the connection of the commissioning device 23 mobile unit 21 corresponding with the identification information determines request, raw
At the second address information for remotely being connect with the commissioning device 23.
Remote debugging system provided in an embodiment of the present invention can be realized each process in above method embodiment, to keep away
Exempt to repeat, which is not described herein again.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of remote debugging system, which is characterized in that the system comprises mobile unit, remote debugging server and debugging to set
It is standby;Wherein,
If receiving trigger action of the user based on remote debugging button, the mobile unit, for obtaining the mobile unit
First address information of corresponding remote debugging server;It is built based on first address information and the remote debugging server
Vertical first long-range connection;
The remote debugging server, if identification information for receiving the mobile unit and receiving the debugging and setting
The standby connection based on mobile unit corresponding with the identification information determines request, generates for remotely connecting with the commissioning device
The second address information connect, and second address information is sent to the commissioning device, second address information and institute
The IP address stated in the first address information is identical;
The commissioning device remotely connects for establishing second with the remote debugging server based on second address information
It connects;Based on the described first long-range connection and the second long-range connection, remote debugging is carried out to the mobile unit.
2. system according to claim 1, which is characterized in that the system also includes certificate servers;Wherein,
The mobile unit, specifically for sending the identification information of the mobile unit to the certificate server;
The certificate server, for carrying out authentication to the mobile unit according to the identification information received;If
After authentication success, the first address information of remote debugging server corresponding with the mobile unit is obtained, and will be described
First address information is sent to the mobile unit;
The mobile unit is also used to receive first address information.
3. system according to claim 2, which is characterized in that the remote debugging server is specifically used for by described
Second address information is sent to the commissioning device by certificate server.
4. system according to claim 1, which is characterized in that the mobile unit is also used to long-range by described first
The connectivity request message of each mobile unit is sent to the remote debugging server by connection, and the connectivity request message includes
The identification information of mobile unit;
The commissioning device is also used to the debugging tool based on Web and receives the remote debugging server based on Web server hair
The connectivity request message sent, and the connectivity request message is shown on the debugging tool based on Web, for the tune
Examination equipment sends corresponding with the identification information for target connectivity request message, by the debugging tool based on Web
The connection of mobile unit determines request, and the target connectivity request message is the connectivity request message for including the identification information.
5. system according to claim 4, which is characterized in that the remote debugging server, also particularly useful for real-time prison
Control the service request of commissioning device;If the service request received is that the commissioning device is corresponding with the identification information vehicle-mounted
The connection of equipment determines request, generates the second address information for remotely connecting with the commissioning device.
6. a kind of remote debugging method, is applied to remote debugging system, the remote debugging system includes mobile unit, long-range tune
Try server and commissioning device, which is characterized in that the described method includes:
If receiving trigger action of the user based on remote debugging button, it is corresponding that the mobile unit obtains the mobile unit
First address information of remote debugging server;
The mobile unit is established first with the remote debugging server based on first address information and is remotely connect;
If receiving the identification information of the mobile unit and receiving the commissioning device based on corresponding with the identification information
The connection of mobile unit determine request, the remote debugging server generates for remotely connecting with the commissioning device
Double-address information, and second address information is sent to the commissioning device, second address information and described first
IP address in address information is identical;
The commissioning device is established second with the remote debugging server based on second address information and is remotely connect;
The commissioning device is based on the described first long-range connection and the second long-range connection, is remotely adjusted to the mobile unit
Examination.
7. according to the method described in claim 6, it is characterized in that, the remote debugging system further includes certificate server, institute
It states mobile unit and obtains the first address information of the corresponding remote debugging server of the mobile unit and include:
The mobile unit sends the identification information of the mobile unit to the certificate server;
The certificate server carries out authentication according to the identification information received, to the mobile unit;
If after authentication success, the certificate server obtains the of remote debugging server corresponding with the mobile unit
One address information, and first address information is sent to the mobile unit.
8. the method according to the description of claim 7 is characterized in that the remote debugging server is by second address information
Being sent to the commissioning device includes:
Second address information is sent to the commissioning device by the certificate server by the remote debugging server.
9. according to the method described in claim 6, it is characterized in that, the mobile unit is based on first address information and institute
Remote debugging server is stated to establish after the first long-range connection, the method also includes:
The connectivity request message of the mobile unit is sent to described remote by the mobile unit by the described first long-range connection
Journey debugging server, the connectivity request message include the identification information of mobile unit;
The commissioning device receives the company that the remote debugging server is sent based on Web server based on the debugging tool of Web
Solicited message is connect, and the connectivity request message is shown on the debugging tool based on Web, for the commissioning device
Vehicle-mounted set corresponding with the identification information is sent for target connectivity request message, by the debugging tool based on Web
Standby connection determines request, and the target connectivity request message is the connectivity request message for including the identification information.
10. according to the method described in claim 9, it is characterized in that, the remote debugging server generate for the tune
Before the second address information that examination equipment remotely connects, which comprises
The service request of the remote debugging server real-time monitoring commissioning device;
If the connection determination that the service request received is commissioning device mobile unit corresponding with the identification information is asked
It asks, executes the step of remote debugging server generates the second address information for remotely connecting with the commissioning device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569240.6A CN110311970B (en) | 2019-06-27 | 2019-06-27 | Remote debugging system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569240.6A CN110311970B (en) | 2019-06-27 | 2019-06-27 | Remote debugging system and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110311970A true CN110311970A (en) | 2019-10-08 |
CN110311970B CN110311970B (en) | 2022-05-10 |
Family
ID=68077727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910569240.6A Active CN110311970B (en) | 2019-06-27 | 2019-06-27 | Remote debugging system and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110311970B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110824982A (en) * | 2019-10-23 | 2020-02-21 | 武汉光庭信息技术股份有限公司 | ECU remote debugging method, server and storage medium |
CN111212155A (en) * | 2019-12-30 | 2020-05-29 | 深圳Tcl新技术有限公司 | Log debugging method, television and storage medium |
CN112492052A (en) * | 2021-02-05 | 2021-03-12 | 智道网联科技(北京)有限公司 | Remote debugging method and device for intelligent networked vehicle data |
CN114979230A (en) * | 2022-05-26 | 2022-08-30 | 重庆长安汽车股份有限公司 | Vehicle-mounted terminal remote debugging system and method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179104A (en) * | 2011-12-23 | 2013-06-26 | ***通信集团公司 | Method, system and equipment thereof for accessing remote service |
CN107463499A (en) * | 2017-08-08 | 2017-12-12 | 百度在线网络技术(北京)有限公司 | The long-range connection methods of ADB, device, equipment and storage medium |
CN107800791A (en) * | 2017-10-24 | 2018-03-13 | 海信集团有限公司 | A kind of method and apparatus debugged |
CN107819846A (en) * | 2017-11-07 | 2018-03-20 | 北京三快在线科技有限公司 | A kind of long-range connection method and device |
CN107885187A (en) * | 2017-10-19 | 2018-04-06 | 深圳市元征科技股份有限公司 | A kind of automobile remote diagnostic method, user terminal and server |
CN109660399A (en) * | 2018-12-24 | 2019-04-19 | 苏州思必驰信息科技有限公司 | A kind of method and system of remote debugging |
CN109788033A (en) * | 2018-12-18 | 2019-05-21 | 北京百度网讯科技有限公司 | Unmanned vehicle remote debugging method, device, system and storage medium |
-
2019
- 2019-06-27 CN CN201910569240.6A patent/CN110311970B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179104A (en) * | 2011-12-23 | 2013-06-26 | ***通信集团公司 | Method, system and equipment thereof for accessing remote service |
CN107463499A (en) * | 2017-08-08 | 2017-12-12 | 百度在线网络技术(北京)有限公司 | The long-range connection methods of ADB, device, equipment and storage medium |
CN107885187A (en) * | 2017-10-19 | 2018-04-06 | 深圳市元征科技股份有限公司 | A kind of automobile remote diagnostic method, user terminal and server |
CN107800791A (en) * | 2017-10-24 | 2018-03-13 | 海信集团有限公司 | A kind of method and apparatus debugged |
CN107819846A (en) * | 2017-11-07 | 2018-03-20 | 北京三快在线科技有限公司 | A kind of long-range connection method and device |
CN109788033A (en) * | 2018-12-18 | 2019-05-21 | 北京百度网讯科技有限公司 | Unmanned vehicle remote debugging method, device, system and storage medium |
CN109660399A (en) * | 2018-12-24 | 2019-04-19 | 苏州思必驰信息科技有限公司 | A kind of method and system of remote debugging |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110824982A (en) * | 2019-10-23 | 2020-02-21 | 武汉光庭信息技术股份有限公司 | ECU remote debugging method, server and storage medium |
CN111212155A (en) * | 2019-12-30 | 2020-05-29 | 深圳Tcl新技术有限公司 | Log debugging method, television and storage medium |
CN111212155B (en) * | 2019-12-30 | 2023-03-10 | 深圳Tcl新技术有限公司 | Log debugging method, television and storage medium |
CN112492052A (en) * | 2021-02-05 | 2021-03-12 | 智道网联科技(北京)有限公司 | Remote debugging method and device for intelligent networked vehicle data |
CN114979230A (en) * | 2022-05-26 | 2022-08-30 | 重庆长安汽车股份有限公司 | Vehicle-mounted terminal remote debugging system and method |
CN114979230B (en) * | 2022-05-26 | 2024-02-02 | 重庆长安汽车股份有限公司 | Remote debugging system and method for vehicle-mounted terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110311970B (en) | 2022-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110311970A (en) | A kind of remote debugging system and its method | |
CN108881232B (en) | Sign-on access method, apparatus, storage medium and the processor of operation system | |
CN107211016A (en) | Secure session is divided and application program parser | |
CN104660416B (en) | A kind of working method of voice authentication system and equipment | |
CN105553674B (en) | A kind of interactive system, intelligent cipher key equipment, server and working method | |
CN104917715B (en) | Information processing method, information processing unit, server and electronic equipment | |
CN106341372A (en) | Terminal authentication processing method and device, and terminal authentication method, device and system | |
CN110351228A (en) | Remote entry method, device and system | |
CN106998323B (en) | Application layer network attack simulation method, device and system | |
CN106411950B (en) | Authentication method, apparatus and system based on block chain transaction id | |
CN105812406B (en) | Information transferring method and device based on WEB emulation terminal system | |
CN107623698A (en) | Method and device for remotely debugging network equipment | |
CN106534130A (en) | Method and system for debugging set-top box based on embedded web | |
CN108418799A (en) | Long establishment of connection method and system | |
CN109104475A (en) | Connect restoration methods, apparatus and system | |
CN112948217B (en) | Server repair checking method and device, storage medium and electronic equipment | |
CN110099129A (en) | A kind of data transmission method and equipment | |
CN103179104A (en) | Method, system and equipment thereof for accessing remote service | |
CN110351237A (en) | Honey jar method and device for numerically-controlled machine tool | |
CN107508746B (en) | Good friend's adding method, device and electronic equipment | |
CN109558724A (en) | A kind of software action integrity verification method | |
CN105959295A (en) | Portal escaping method and device | |
CN105827578B (en) | Method and device for processing keystroke characteristic data | |
CN103384246A (en) | Safety supervision system login assistant method | |
CN109150981A (en) | Block chain network network-building method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |