CN101420312A - Debugging method and system for vehicle mounted apparatus - Google Patents

Debugging method and system for vehicle mounted apparatus Download PDF

Info

Publication number
CN101420312A
CN101420312A CNA2007101673210A CN200710167321A CN101420312A CN 101420312 A CN101420312 A CN 101420312A CN A2007101673210 A CNA2007101673210 A CN A2007101673210A CN 200710167321 A CN200710167321 A CN 200710167321A CN 101420312 A CN101420312 A CN 101420312A
Authority
CN
China
Prior art keywords
mounted device
car
developing engine
engine
developing
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.)
Pending
Application number
CNA2007101673210A
Other languages
Chinese (zh)
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.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzhou CSR Times Electric 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 Zhuzhou CSR Times Electric Co Ltd filed Critical Zhuzhou CSR Times Electric Co Ltd
Priority to CNA2007101673210A priority Critical patent/CN101420312A/en
Publication of CN101420312A publication Critical patent/CN101420312A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses an on-board device debugging method, wherein, the on-board device is connected with an exploitation machine through a network and the method comprises steps that the exploitation machine accesses the on-board device through the Web; the on-board device submits a Socket connection request to the on-board device; the exploitation machine established the connection according to the request, and if the connection is successful, the on-board device is then notified; the on-board device sends interface data to the exploitation machine according to the notice, receives debugging information sent by the exploitation machine, analyzes the debugging information and responds to corresponding events; the exploitation machine sends debugging information to the on-board device, receives interface data sent by the on-board device and analyzes the interface data to display. According to the present invention, on-board devices can be debugged simply and conveniently under the condition that normal working state of the on-board devices can be assured.

Description

The adjustment method of car-mounted device and debug system
Technical field
The present invention relates to the mutual field of teledata, particularly a kind of adjustment method and debug system that is used for the locomotive vehicle-mounted device.
Background technology
In the prior art, for the debugging of locomotive vehicle-mounted apparatus system and application program, adopt two kinds of methods usually, first kind is by external display on car-mounted device, directly debugs on car-mounted device then; Second kind is the debugging acid that adopts the WinCE Integrated Development Environment, and car-mounted device is debugged.
When adopting first kind of adjustment method to debug, need to give the external display of car-mounted device, yet, because the AC power on the locomotive comes from locomotive transformer from the electrical network power taking, and the unsteadiness of line voltage will directly cause the instability of locomotive AC power, in this case, if directly be loaded into AC power on the electronic equipment, can have a strong impact on the useful life of electronic equipment, and have potential safety hazard.Moreover, because locomotive vibration amplitude when operation is very big, thus require display to have stronger shock resistance, and general display can't satisfy this shockproof requirements; In addition, adopt this adjustment method when debugging, need carry display at any time, thereby bring inconvenience to the user.
When adopting second kind of adjustment method to debug, the operating system nucleus that requires car-mounted device is the debugging version, if be the kernel of non-debugging version, developing engine can't connect car-mounted device, but the kernel committed memory of debugging version is big, the speed of service is slow, also need to take network interface card, make network interface card can not be used for other network service, and can only be used for being connected debugging with developing engine, but car-mounted device needs constantly to carry out data interaction with other device in normal operation in practice, so when adopting this adjustment method, car-mounted device can not be realized repertoire, and promptly car-mounted device is in abnormal working position.Moreover, adopt this this adjustment method when carrying out long-range sectional drawing, the static desktop picture of car-mounted device can only be intercepted, and the continuous change procedure of application program forms can not be monitored; In addition, this adjustment method can only intercept the static desktop picture of car-mounted device with the method for long-range sectional drawing and check the window interfaces of application program, and can't realize the operation at user's application programs interface, also just can't give application program with corresponding debug command and data passes.
Therefore, those skilled in the art press for to develop and a kind ofly can guarantee the car-mounted device normal operating conditions, debug the method and system of car-mounted device simply, easily.
Summary of the invention
Technical problem to be solved by this invention provides a kind of adjustment method of car-mounted device, in order to solve in the prior art, can not obtain the interface data of car-mounted device, the problem big to debugging complexity, the limitation of car-mounted device immediately.
The present invention also provides a kind of debug system of car-mounted device, in order to guarantee said method realization and application in practice.
For solving the problems of the technologies described above, the embodiment of the invention discloses a kind of adjustment method of car-mounted device, described car-mounted device is connected by network with developing engine, and described method comprises:
Described developing engine is visited described car-mounted device by web;
Described car-mounted device is submitted the Socket connection request to developing engine;
Described developing engine connects according to described request, sets up successfully if connect, and then notifies described car-mounted device;
Described car-mounted device sends interface data according to described notice to described developing engine, and, receive the Debugging message that described developing engine sends, and resolve described Debugging message, the response events corresponding;
Described developing engine sends Debugging message to described car-mounted device, and, receive the interface data that described car-mounted device sends, and resolve described interface data and show.
Preferably, described car-mounted device has corresponding IP address, and the step of described visit car-mounted device further comprises:
On described developing engine, open web browser;
The IP address of the described car-mounted device of input in the address field of described web browser.
Preferably, described method also comprises:
Judge that whether described visit is the visit of validated user, if not, then refuses described visit.
Preferably, described method also comprises:
Whether the connection status of judging described developing engine and car-mounted device is normal, if not, then interrupts connecting.
Preferably, described car-mounted device is connected to the network of developing engine and utilizes the network of Windows SocketAPI foundation to be connected.
The embodiment of the invention discloses a kind of debug system of car-mounted device, described debug system comprises car-mounted device and the developing engine that connects by network, and described car-mounted device comprises:
Request unit is used for submitting the Socket connection request to developing engine;
Trigger element is used for setting up successful vehicle-mounted transmitting element of notification triggers and vehicle-mounted receiving element according to connecting;
Vehicle-mounted transmitting element is used for interface data is sent to described developing engine;
Vehicle-mounted receiving element is used to receive the Debugging message that described developing engine sends;
The debugging resolution unit is used to resolve described Debugging message, the response events corresponding;
Described developing engine comprises:
Addressed location is used for visiting described car-mounted device by web;
Connect and set up the unit, be used for connecting according to described Socket connection request;
Judging unit is used for judging whether request sets up success, if then notify car-mounted device, and trigger developing engine transmitting element and developing engine receiving element;
Developing engine transmitting element: be used for sending Debugging message to described car-mounted device;
Developing engine receiving element: be used to receive the interface data that described car-mounted device sends;
The interface resolution unit is used to resolve described interface data and shows.
Preferably, described car-mounted device has corresponding IP address, and described addressed location further comprises:
Browser is opened subelement, is used for opening web browser on described developing engine;
Subelement is imported in the address, is used for the IP address of the described car-mounted device of input in the address field of described web browser.
Preferably, described system also comprises:
The access reject unit is used for then refusing described visit when described visit is not the visit of validated user.
Preferably, described system also comprises:
Connect interrupt location, be used for connection status at described developing engine and car-mounted device when unusual, interrupt connection.
Preferably, described car-mounted device is connected by hub with developing engine, and described hub has at least three interfaces, and an interface is used to connect car-mounted device, and an interface is used to connect developing engine, and other interface is used to connect other device.
Compared with prior art, the embodiment of the invention has the following advantages:
Use the embodiment of the invention, do not need the external display of car-mounted device, car-mounted device is connected with developing engine and other device, make the debugging of car-mounted device not be subjected to environmental constraints, all can carry out whenever and wherever possible by network; And, after described developing engine and the car-mounted device successful connection, developing engine constantly sends Debugging message to car-mounted device, and car-mounted device constantly sends interface data to developing engine, make things convenient for the operation at user's application programs interface, and can give application program with debug command and data passes in real time; Moreover the user can realize the direct debugging to car-mounted device by the I/O equipment such as keyboard, mouse, display of operation developing engine, operates very simply, and car-mounted device can realize repertoire, can be in normal operating conditions constantly.At last, the present invention is for the service provider, and technology realizes simple, and no technology barrier does not have special secret algorithm, and cost and risk is lower.
Description of drawings
Fig. 1 is the flow chart of the adjustment method embodiment of a kind of car-mounted device of the present invention;
Fig. 2 is the workflow diagram of a kind of car-mounted device of the present invention in debug process;
Fig. 3 is the workflow diagram of a kind of developing engine of the present invention in debug process;
Fig. 4 is the structured flowchart of the debug system embodiment of a kind of car-mounted device of the present invention;
Fig. 5 uses the flow chart that preferred embodiment shown in Figure 4 carries out the car-mounted device debugging.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
With reference to figure 1, show the flow chart of the adjustment method embodiment of a kind of car-mounted device of the present invention, described car-mounted device is connected by network with developing engine, and described method embodiment specifically can may further comprise the steps:
Step 101, described developing engine are visited described car-mounted device by web;
Step 102, described car-mounted device are submitted the Socket connection request to developing engine;
Step 103, described developing engine connect according to described request, set up successfully if connect, and then notify described car-mounted device;
Step 104a, described car-mounted device send interface data according to described notice to described developing engine, and, receive the Debugging message that described developing engine sends, and resolve described Debugging message, the response events corresponding;
Step 104b, described developing engine send Debugging message to described car-mounted device, and, receive the interface data that described car-mounted device sends, and resolve described interface data and show.
In practice, car-mounted device is realized function corresponding by car-mounted device software, and for example, the service data that locomotive is relevant is noted with the form of file.Car-mounted device software can comprise upper system software, upper application software and bottom application software, wherein, upper system adopts the WinCE embedded OS, because WinCE is the operating system that is suitable for small type mobile devices, its memory management is limited in scope, and ardware feature is also restricted, so can not be with WinCE equipment as comprehensively server running, thereby, make the communication of car-mounted device and developing engine be subjected to certain restriction in practice.And, car-mounted device is installed on the locomotive, can't provide stable AC power on the locomotive, and its jitter amplitude is very big in the locomotive operation process, because this particularity, in fact car-mounted device is connected display and is very inconvenience, therefore, inconvenience very when (especially in locomotive operation) debugged the operating system of car-mounted device and application program at the scene.In addition, the renewal to car-mounted device CONFIG.SYS and application program also is very inconvenient.Though can utilize the remote debugging instrument of WinCE Integrated Development Environment that car-mounted device is carried out serial remote debugging, but there is significant limitation, first, when the operating system nucleus of customization car-mounted device, must adopt the debugging version, can not adopt the kernel of issue version, and version is issued in necessary employing in the practical application; The second, its long-range sectional drawing function can only intercept the static desktop picture of car-mounted device, can not realize continuously dynamic visual effect; The 3rd, can not can't debug the program that needs the man-machine interface operation by long-range to application program input data.Shortcoming at above remote debugging, can draw subject matter to be solved of the present invention is, realize the real-time communication of developing engine and car-mounted device, the display interface of car-mounted device is moved on the developing engine display, directly the operating system of car-mounted device is controlled by the equipment of operation developing engine.
Thereby, what adopt on car-mounted device in embodiments of the present invention is the WinCE kernel of issue version, thereby can guarantee under the prerequisite of car-mounted device normal operating conditions, with network mode developing engine and car-mounted device are coupled together, be that (promptly utilizing the TCP/IP network to carry out remote desktop between Liang Tai is equipped with the PC of Windows XP operating system connects for the remote desktop linkage function of similar two Windows operating systems, just the connected machine of operation on the main frame can connected after the successful connection), the keyboard of developing engine, mouse, the equipment that 1/O equipment such as display are used as car-mounted device uses, promptly can be on developing engine the desktop of direct control car-mounted device, thereby realize the function of debugging.
In practice, can distribute fixed IP addresses to car-mounted device, in this case, the step 101 of described visit car-mounted device may further include following substep:
Substep A1, on described developing engine, open web browser;
Substep A2, in the address field of described web browser the input described car-mounted device the IP address.
For guaranteeing the fail safe of system operation, in the present embodiment, can also comprise step:
Judge that whether described visit is the visit of validated user, if not, then refuses described visit.Promptly only have the validated user identity, for example, under the condition of keeper's identity, just can set up being connected of developing engine and car-mounted device, thereby effectively avoiding other user's malicious operation or be not intended to the risk that operation brings.
Connection status for monitoring developing engine and car-mounted device in the present embodiment, can also comprise step:
Whether the connection status of judging described developing engine and car-mounted device is normal, if not, then interrupts connecting.
Use the embodiment of the invention, car-mounted device can only run application, and not move unnecessary service routine in normal operation, can save the limited memory cost of car-mounted device WinCE embedded OS like this, help improving the speed of service of application program.
Preferably, when debugging, give the external HUB (hub) that at least 3 connectors are arranged of car-mounted device, developing engine is connected into original network.After the network successful connection, operation debug host program on developing engine simultaneously by the web web services technologies, from developing engine visit car-mounted device system, starts the debugging services program of car-mounted device.For example, a kind ofly use present embodiment concrete operations in practice and be:
A. operation debug host program (such as cerhost.exe) on developing engine is visited corresponding car-mounted device system then;
The method of described visit is as open any browser, in the IP address of address field input car-mounted device (for example, Http: // 192.168.0.255/sysadmin), this IP address certain fixed IP addresses for when system kernel customizes, setting as the case may be.
B. move the debugging services program of car-mounted device with the validated user identity.
Wherein, described validated user identity can be confirmed by the mode of username and password, accurate path by specifying the debugging services program that will move and title (such as: windows cerdisp.exe), trigger execution command, can trigger the operation of debugging services program.
In the present embodiment, preferably, car-mounted device and developing engine utilize Windows SocketAPI to set up network communication, with being connected of the remote debugging mainframe program of the debugging services program that realizes car-mounted device and developing engine, in this case, the flow chart debugged of described car-mounted device and developing engine respectively as shown in Figures 2 and 3.
With reference to figure 2, show the workflow diagram of a kind of car-mounted device of the present invention in debug process, specifically can may further comprise the steps:
Step 201, Start-up and Adjustment service routine, each parameter of initialization;
Step 202, send a Socket connection request to developing engine;
Step 203, judge whether to receive the request response message of developing engine, and the notice of successful connection, if then execution in step 204; If not, execution in step 210 then;
Step 204, send interface data, receive the Debugging message that developing engine sends, and resolve described Debugging message, the response events corresponding to developing engine;
Step 205, judge whether described connection is normal, if then return step 204; If not, execution in step 206 then;
Step 206, judge whether to quit a program, if then execution in step 207; If not, execution in step 208 then;
Step 207, withdraw from the debugging services program;
Step 208, judge whether to rebulid connection, if then execution in step 209; If not, execution in step 210 then;
Step 209, reinitialize each parameter, will connect the number of times zero clearing, and return step 202;
Step 210, judge to connect number of times whether surpass preset value (as, 10 times), if then return step 206; If not, execution in step 211 then;
Step 211, will connect number of times and add 1, and return step 202.
With reference to figure 3, show the workflow diagram of a kind of developing engine of the present invention in debug process, specifically can may further comprise the steps:
Step 301, start remote debugging mainframe program, each parameter of initialization;
Step 302, judge whether the Socket connection request that car-mounted device sends, if then execution in step 303; If not, execution in step 306 then;
Whether step 303, judgement connect successfully sets up, if then execution in step 304; If not, execution in step 306 then;
Step 304, send control information, receive the interface data that car-mounted device sends, and resolve described interface data and show to car-mounted device;
Step 305, judge whether described connection is normal, if then return step 304; If not, execution in step 306 then;
Step 306, judge whether to quit a program, if then execution in step 307; If not, execution in step 308 then;
Step 307, withdraw from the debugging services program;
Step 308, reinitialize each parameter, and return step 302.
Need to prove that described Fig. 2 and flow process shown in Figure 3 are corresponding.Wherein, car-mounted device constantly sends to developing engine with interface data, car-mounted device constantly receives the Debugging message on the developing engine simultaneously, described Debugging message can be all kinds of keyboards, mouse action order, data etc. of commissioning staff at the exploitation hands-operation, and these Debugging message are resolved to events corresponding.And developing engine constantly receives the interface data that car-mounted device sends, and resolves to image and show on developing engine, simultaneously Debugging message is sent to car-mounted device.Thereby can on developing engine, intuitively show the desktop of car-mounted device, and can directly operate, realize the debugging of application program car-mounted device.
In addition, in practice, the embodiment of the invention also can be used for revising in remote access mode the registry information of car-mounted device, the configuration car-mounted device.For example, a kind of at needs Remote configuration car-mounted device registration table, utilize the web service to connect, the concrete operations of the configuration of the line correlation of going forward side by side are:
A1. open any browser on developing engine is imported Http: // 192.168.0.255/sysadmin at address field.
Wherein, 192.168.0.255 is the IP address of car-mounted device.
A2. in the dialog box that ejects, input right user name and password and affirmation as requested.
If A3. username and password correctly just enters the sysadmin webpage, enter the registry editor interface then, simple and clear just as under Windows operating system, editing registration table.
And for example, when needs Remote configuration car-mounted device web server, File server, ftp server, Telnet server, utilize the web service to connect, the concrete operations of the line correlation of going forward side by side configuration are:
B1. at first when the custom-built system kernel, add the server characteristics of all kinds of needs to kernel, make car-mounted device possess all kinds of server capabilitys.
B2. open any browser on developing engine is imported Http: // 192.168.0.255/webadmin at address field.
B3. input right user name and password and affirmation as requested.
If B4. username and password correctly just enters the webadmin webpage, enter each connection page then and carry out all kinds of server capabilitys configurations.
In practice, the embodiment of the invention can also be applied to by developing engine to car-mounted device directly upload, file in download, reach remote update car-mounted device file, application program etc.For example, a kind of long-range upload or the concrete operations of file in download are:
C1. open any browser on developing engine is imported Http: // 192.168.0.255/sysadmin at address field;
Wherein, 192.168.0.255 is the IP address of car-mounted device.
C2. input right user name and password and affirmation as requested.
If C3. username and password correctly just enters the sysadmin webpage, enter the file operation page then, if the user name of inputing previously possesses keeper's authority, just can upload and file in download, otherwise can only file in download.In addition, if the file of uploading is bigger, this method may not right-on upload file, and speed is slower, and this is determined by system performance.At this problem, set the function that network folder is shared in addition.On developing engine, open any file like this, then address field input 192.168.0.255 harddisk (wherein harddisk is that configured in advance is the file of sharing).Then operate the harddisk file as the file on the operation developing engine, can be with the Shared Folders of the document copying on the developing engine to car-mounted device, also can delete the file of shared file underedge, the configuration file or the application program of more convenient like this renewal car-mounted device.
In sum, the present invention does not need the external display of car-mounted device, only need an external HUB, its working power is 24 volts of voltages of direct current, just can obtain from car-mounted device itself, so debugging is not subjected to the constraint of environment, can debug whenever and wherever possible, and car-mounted device all is in normal operating conditions when debugging.And adjustment method of the present invention is simple to operate, possesses processing safety simultaneously, be not that anyone can connect car-mounted device and debugs or dispose, the user who has only acquisition to have legal identity (as the keeper) could dispose car-mounted device fully, cause system normally to start with regard to avoiding other people arbitrarily to change the car-mounted device system configuration like this, the local operation interface that will forbid system when customizing kernel later on, like this after the operation of car-mounted device system, can only see Application Program Interface, can't direct control car-mounted device desktop, have only by debugging technique and just can control, the configuration car-mounted device is so that system has higher fail safe.And in practice, as long as move a slight debug host program on developing engine, any portable machine all can be used as developing engine and links to each other with car-mounted device.Thereby effectively overcome in the prior art, utilized the debugging acid debugging of WinCE development platform, any portable machine will just must be installed the WinCE development platform as developing engine, and this is just higher to the configuration requirement of portable machine.In addition, utilize that the phone network card of debugging acid debugging of WinCE development platform is occupied to be debug port, can not carry out normal other network communications, other device (as the TSC1 device) just can't be connected with car-mounted device so, thus the problem that can't debug.
For aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to figure 4, show the structured flowchart of the debug system embodiment of a kind of car-mounted device of the present invention, specifically can comprise with lower unit:
By the car-mounted device 41 and developing engine 42 of network connection,
Be arranged in described car-mounted device 41:
Request unit 411 is used for submitting the Socket connection request to developing engine;
Trigger element 412 is used for setting up successful vehicle-mounted transmitting element of notification triggers and vehicle-mounted receiving element according to connecting;
Vehicle-mounted transmitting element 413 is used for interface data is sent to described developing engine;
Vehicle-mounted receiving element 414 is used to receive the Debugging message that described developing engine sends;
Debugging resolution unit 415 is used to resolve described Debugging message, the response events corresponding.
Be arranged in described developing engine 42:
Addressed location 421 is used for visiting described car-mounted device by web;
Connect and set up unit 422, be used for connecting according to described Socket connection request;
Judging unit 423 is used for judging whether request sets up success, if then notify car-mounted device 41, and trigger developing engine transmitting element 424 and developing engine receiving element 425;
Developing engine transmitting element 424: be used for sending Debugging message to described car-mounted device
Developing engine receiving element 425: be used to receive the interface data that described car-mounted device sends;
Interface resolution unit 426 is used to resolve described interface data and shows.
Preferably, described car-mounted device has corresponding IP address, and in this case, described addressed location 421 may further include following subelement:
Browser is opened subelement, is used for opening web browser on described developing engine;
Subelement is imported in the address, is used for the IP address of the described car-mounted device of input in the address field of described web browser.
Preferably, present embodiment can also comprise the access reject unit, is used for then refusing described visit when described visit is not the visit of validated user.Preferably, described car-mounted device is connected by hub (HUB) with developing engine.Be well known that hub is operated in the ground floor (being physical layer) of OSI, is used for providing transparent binary stream to data link layer, the effect of signal amplification is arranged, and data each port from it is all sent out.The working power of hub is generally 24 volts of voltages of direct current, just can obtain from car-mounted device itself, so can guarantee effectively that debug process is not subjected to the constraint of environment, can debug whenever and wherever possible, and guarantee that effectively car-mounted device is in normal operating conditions.
More preferably, described hub has at least three interfaces, and an interface is used to connect car-mounted device, and an interface is used to connect developing engine, and other interface is used to connect other device.Wherein, described other device refers to need on the locomotive to carry out with car-mounted device the device of data interaction, for example, and TSC1 radio transmitting device etc.In practice, it all is feasible that those skilled in the art use any hub according to connection requirement, and the present invention does not need this to limit.
In the present embodiment, the connection status for monitoring developing engine and car-mounted device can also comprise the connection interrupt location, is used for connection status at described developing engine and car-mounted device when unusual, the interruption connection.。Preferably, described connection interrupt location can be arranged in car-mounted device and/or developing engine.In practice, described car-mounted device is connected with the network of developing engine and can connects for the network that utilizes Windows SocketAPI to set up.
With reference to figure 5, show and use the flow chart that preferred embodiment shown in Figure 4 carries out the car-mounted device debugging, specifically can may further comprise the steps:
The addressed location of step 501, described developing engine is visited described car-mounted device by web;
Preferably, the concrete accessing step of described addressed location can comprise:
Substep B1, browser are opened subelement and open web browser on described developing engines;
Substep B2, address input subelement are imported the IP address of described car-mounted device in the address field of described web browser.
The request unit of step 502, described car-mounted device is submitted the Socket connection request to developing engine;
The connection of step 503, described developing engine is set up the unit and is connected according to described request, whether judgment unit judges connects sets up success, if then notify described car-mounted device execution in step 504a, and trigger developing engine transmitting element and developing engine receiving element execution in step 504b;
The trigger element of step 504a, described car-mounted device sends interface data according to the vehicle-mounted transmitting element of described notification triggers to described developing engine, and, trigger vehicle-mounted receiving element and receive the Debugging message that described developing engine sends, and by the debugging resolution unit resolve described Debugging message, the response events corresponding;
Step 504b, described developing engine transmitting element send Debugging message to described car-mounted device, and described developing engine receiving element receives the interface data that described car-mounted device sends, and resolve described interface data by the interface resolution unit and show.For system embodiment, because it is substantially corresponding to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment (DCE), put into practice the present invention, in these distributed computing environment (DCE), by by communication network connected teleprocessing equipment execute the task.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
More than the adjustment method of a kind of car-mounted device provided by the present invention and a kind of debug system of car-mounted device are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1, a kind of adjustment method of car-mounted device is characterized in that, described car-mounted device is connected by network with developing engine, and described method comprises:
Described developing engine is visited described car-mounted device by web;
Described car-mounted device is submitted the Socket connection request to developing engine;
Described developing engine connects according to described request, sets up successfully if connect, and then notifies described car-mounted device;
Described car-mounted device sends interface data according to described notice to described developing engine, and, receive the Debugging message that described developing engine sends, and resolve described Debugging message, the response events corresponding;
Described developing engine sends Debugging message to described car-mounted device, and, receive the interface data that described car-mounted device sends, and resolve described interface data and show.
2, the method for claim 1 is characterized in that, described car-mounted device has corresponding IP address, and the step of described visit car-mounted device further comprises:
On described developing engine, open web browser;
The IP address of the described car-mounted device of input in the address field of described web browser.
3, method as claimed in claim 2 is characterized in that, also comprises:
Judge that whether described visit is the visit of validated user, if not, then refuses described visit.
4, as claim 1,2 or 3 described methods, it is characterized in that, also comprise:
Whether the connection status of judging described developing engine and car-mounted device is normal, if not, then interrupts connecting.
As claim 1,2 or 3 described methods, it is characterized in that 5, described car-mounted device is connected to the network that utilizes Windows Socket API to set up with the network of developing engine and is connected.
6, a kind of debug system of car-mounted device is characterized in that, described debug system comprises car-mounted device and the developing engine that connects by network,
Described car-mounted device comprises:
Request unit is used for submitting the Socket connection request to developing engine;
Trigger element is used for setting up successful vehicle-mounted transmitting element of notification triggers and vehicle-mounted receiving element according to connecting;
Vehicle-mounted transmitting element is used for interface data is sent to described developing engine;
Vehicle-mounted receiving element is used to receive the Debugging message that described developing engine sends;
The debugging resolution unit is used to resolve described Debugging message, the response events corresponding;
Described developing engine comprises:
Addressed location is used for visiting described car-mounted device by web;
Connect and set up the unit, be used for connecting according to described Socket connection request;
Judging unit is used for judging whether request sets up success, if then notify car-mounted device, and trigger developing engine transmitting element and developing engine receiving element;
Developing engine transmitting element: be used for sending Debugging message to described car-mounted device;
Developing engine receiving element: be used to receive the interface data that described car-mounted device sends;
The interface resolution unit is used to resolve described interface data and shows.
7, system as claimed in claim 6 is characterized in that, described car-mounted device has corresponding IP address, and described addressed location further comprises:
Browser is opened subelement, is used for opening web browser on described developing engine;
Subelement is imported in the address, is used for the IP address of the described car-mounted device of input in the address field of described web browser.
8, system as claimed in claim 7 is characterized in that, also comprises:
The access reject unit is used for then refusing described visit when described visit is not the visit of validated user.
9, as claim 6,7 or 8 described systems, it is characterized in that, also comprise:
Connect interrupt location, be used for connection status at described developing engine and car-mounted device when unusual, interrupt connection.
10, as claim 6,7 or 8 described systems, it is characterized in that, described car-mounted device is connected by hub with developing engine, described hub has at least three interfaces, an interface is used to connect car-mounted device, an interface is used to connect developing engine, and other interface is used to connect other device.
CNA2007101673210A 2007-10-22 2007-10-22 Debugging method and system for vehicle mounted apparatus Pending CN101420312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101673210A CN101420312A (en) 2007-10-22 2007-10-22 Debugging method and system for vehicle mounted apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101673210A CN101420312A (en) 2007-10-22 2007-10-22 Debugging method and system for vehicle mounted apparatus

Publications (1)

Publication Number Publication Date
CN101420312A true CN101420312A (en) 2009-04-29

Family

ID=40630937

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101673210A Pending CN101420312A (en) 2007-10-22 2007-10-22 Debugging method and system for vehicle mounted apparatus

Country Status (1)

Country Link
CN (1) CN101420312A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801752A (en) * 2011-05-26 2012-11-28 株洲南车时代电气股份有限公司 Device and method for monitoring and debugging data of train network equipment in real time
CN102944772A (en) * 2012-10-29 2013-02-27 国家电网公司 Vehicle-mounted electric commissioning device
CN105915367A (en) * 2016-03-30 2016-08-31 青岛海信移动通信技术股份有限公司 Online debugging method, terminal and server
CN106066792A (en) * 2016-05-25 2016-11-02 桂林电子科技大学 A kind of software wireless remote debugging based on WiFi updates system and method
CN106487847A (en) * 2015-08-28 2017-03-08 腾讯科技(深圳)有限公司 A kind of information processing method and transfer server
CN108139741A (en) * 2015-10-12 2018-06-08 费希尔-罗斯蒙特***公司 The field device configuration that I/O is abstracted
CN108965420A (en) * 2018-07-06 2018-12-07 日立楼宇技术(广州)有限公司 A kind of adjustment method of car-mounted terminal, device, equipment and storage medium
CN109165003A (en) * 2018-07-26 2019-01-08 广州市迪声音响有限公司 A kind of control device and control method of audio processor
CN109815135A (en) * 2018-12-31 2019-05-28 深圳市越疆科技有限公司 A kind of monitoring method, device and the intelligent terminal of robot program's operating status
CN111399949A (en) * 2020-04-02 2020-07-10 马瑞利汽车电子(广州)有限公司 Method for starting background debugging function of automobile instrument
CN112492052A (en) * 2021-02-05 2021-03-12 智道网联科技(北京)有限公司 Remote debugging method and device for intelligent networked vehicle data
CN114765576A (en) * 2020-12-31 2022-07-19 宝能汽车集团有限公司 File sharing method, vehicle and storage medium
WO2022206685A1 (en) * 2021-03-30 2022-10-06 华为技术有限公司 Application interface development method and apparatus

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801752A (en) * 2011-05-26 2012-11-28 株洲南车时代电气股份有限公司 Device and method for monitoring and debugging data of train network equipment in real time
CN102944772A (en) * 2012-10-29 2013-02-27 国家电网公司 Vehicle-mounted electric commissioning device
CN106487847B (en) * 2015-08-28 2020-03-17 腾讯科技(深圳)有限公司 Information processing method and transfer server
CN106487847A (en) * 2015-08-28 2017-03-08 腾讯科技(深圳)有限公司 A kind of information processing method and transfer server
CN108139741A (en) * 2015-10-12 2018-06-08 费希尔-罗斯蒙特***公司 The field device configuration that I/O is abstracted
CN105915367A (en) * 2016-03-30 2016-08-31 青岛海信移动通信技术股份有限公司 Online debugging method, terminal and server
CN105915367B (en) * 2016-03-30 2019-12-06 青岛海信移动通信技术股份有限公司 online debugging method, terminal and server
CN106066792A (en) * 2016-05-25 2016-11-02 桂林电子科技大学 A kind of software wireless remote debugging based on WiFi updates system and method
CN106066792B (en) * 2016-05-25 2019-07-05 桂林电子科技大学 A kind of software wireless remote debugging update system and method based on WiFi
CN108965420A (en) * 2018-07-06 2018-12-07 日立楼宇技术(广州)有限公司 A kind of adjustment method of car-mounted terminal, device, equipment and storage medium
CN109165003A (en) * 2018-07-26 2019-01-08 广州市迪声音响有限公司 A kind of control device and control method of audio processor
CN109815135A (en) * 2018-12-31 2019-05-28 深圳市越疆科技有限公司 A kind of monitoring method, device and the intelligent terminal of robot program's operating status
CN111399949A (en) * 2020-04-02 2020-07-10 马瑞利汽车电子(广州)有限公司 Method for starting background debugging function of automobile instrument
CN114765576A (en) * 2020-12-31 2022-07-19 宝能汽车集团有限公司 File sharing method, vehicle and storage medium
CN112492052A (en) * 2021-02-05 2021-03-12 智道网联科技(北京)有限公司 Remote debugging method and device for intelligent networked vehicle data
WO2022206685A1 (en) * 2021-03-30 2022-10-06 华为技术有限公司 Application interface development method and apparatus

Similar Documents

Publication Publication Date Title
CN101420312A (en) Debugging method and system for vehicle mounted apparatus
KR101949998B1 (en) Contextual history of computing objects
CN108345543B (en) Data processing method, device, equipment and storage medium
CN104106048A (en) Using application cache to update resources of installed applications
CN104219080B (en) A kind of website faulty page log recording method
CN101605056A (en) A kind of J2EE server monitoring device and adopt the method for supervising of this device
CN104185836A (en) Method and system for verifying proper operation of computing device after system change
US20180046439A1 (en) Network service providing method and network service station using same
US20210306242A1 (en) Non-intrusive it device monitoring and performing action based on it device state
CN103168301A (en) Exposing resource capabilities to web applications
CN101650659A (en) Device and method for automatically installing and saving Activex control in XPe operating system
CN103186739A (en) Method for secure web browsing
CN101562802A (en) Realization method for mobile Widget release platform
KR20140127824A (en) Sub-device discovery and management
CN103686226A (en) Method and system for monitoring internet access of set top box based on cloud computation and set top box
CN102196027A (en) System and method for implementing mobile cloud service
CN103838799A (en) Method, terminal device, cloud server and system for recommending installing software
CN202799005U (en) Cloud computing based internet monitoring system of set top box and set top box
CN111988292A (en) Method, device and system for accessing internet by intranet terminal
CN101884027A (en) Methods and systems for dynamic code extension
US9087031B2 (en) Method and program for selective suspension of USB device
US20200311003A1 (en) Infrastructure management device
CN103414716B (en) A kind of limiting browser surfs the web the method for website
CN109543420B (en) Permission configuration method and device based on sud, electronic equipment and storage medium
CN103246660A (en) Method and device for achieving extended functions of browser

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090429