CN106708489A - Debugging method and system of equipment - Google Patents
Debugging method and system of equipment Download PDFInfo
- Publication number
- CN106708489A CN106708489A CN201510791285.XA CN201510791285A CN106708489A CN 106708489 A CN106708489 A CN 106708489A CN 201510791285 A CN201510791285 A CN 201510791285A CN 106708489 A CN106708489 A CN 106708489A
- Authority
- CN
- China
- Prior art keywords
- debugging
- debug command
- command
- server
- line interface
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- 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/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a debugging method and system of equipment. The method comprises the steps that a command line interface server establishes a debugging passage between a remote debugging client-side and a debugging command execution server, wherein the debugging command execution server is used for debugging the equipment to be debugged; the command line interface server receives a debugging command which comes from the remote debugging client-side; after the debugging command passes security certificate, the command line interface server sends the debugging command to the debugging command execution server; the command line interface server feeds back debugging information obtained from the debugging command execution server to the remote debugging client-side. According to the debugging method and the system of equipment, the technical problem that an equipment debugging pattern adopted in related technology is poor in network security is solved.
Description
Technical field
The present invention relates to field of video monitoring, in particular to the adjustment method and system of a kind of equipment.
Background technology
At present, in field of video monitoring, the technology of the equipment debugging for generally being used is set by AccessPort mode pair
Standby to be debugged, it can send debug command by the serial ports for searching to debugged apparatus, and be connect by serial ports
Receive the Debugging message of debugged apparatus feedback.However, the defect of this kind of debud mode is:Made in debugging process
Remote terminal protocol (TELENT) and safety shell protocol (SSH) are subject to malicious attack, and are debugging
By the information of network interaction due to without encryption, easily causing and leaking in journey.Therefore, institute in correlation technique
The internet security of the equipment debugging mode of use is poor.
For above-mentioned problem, effective solution is not yet proposed at present.
The content of the invention
The adjustment method and system of a kind of equipment are the embodiment of the invention provides, at least to solve employed in correlation technique
Equipment debugging mode the poor technical problem of internet security.
A kind of one side according to embodiments of the present invention, there is provided adjustment method of equipment, including:
Command Line Interface server sets up debugging passage between remote debugging client and debug command execute server,
Wherein, debug command execute server is debugged for treating commissioning device;Command Line Interface server is received and come from
In the debug command of remote debugging client;Command Line Interface server will be adjusted after debug command through safety certification
Examination order is sent to debug command execute server;Command Line Interface server will be obtained from debug command execute server
To Debugging message feed back to remote debugging client.
Further, debugging passage includes:First debugging link and the second debugging link, Command Line Interface server exist
Debugging passage is set up between remote debugging client and debug command execute server to be included:Command Line Interface server exists
Receive the debugging linking request for coming from remote debugging client;Command Line Interface server is in debugging linking request
Under triggering, set up the first debugging using virtual terminal and remote debugging client and link and use preset protocol socket
Communication mode and debug command execute server between set up the second debugging and link.
Further, remote debugging client includes:Command Line Interface client and software development kit service end,
Command Line Interface server is received before coming from the debug command of remote debugging client, is also included:Command Line Interface
Client receives the debug command of user input;Software development kit service end sends to Command Line Interface debug command
Server.
Further, debug command is sent to before debug command execute server in Command Line Interface server, also
Including:Safety certificate server receives the debug command for coming from Command Line Interface server;Safety certificate server is tested
Whether card user possesses the authority for sending debug command;If user possesses the authority for sending debug command, safety is recognized
Whether card server authentication debug command belongs to the order in debug command white list;If debug command belongs to debugging life
The order in white list is made, then safety certificate server is then identified through the safety certification to debug command.
Further, debug command is sent to debug command execute server in Command Line Interface server, also
Including:Debug command execute server is packaged to debug command, and the command parameter in debug command is closed
Method and authorization check;If verification passes through, debug command execute server is by performing debug command to be debugged
Equipment is debugged.
Further, the above method also includes:Remote debugging client is according to preset order by debug command and/or feedback
Information record is to journal file, and time to recording to journal file stores.
Further, debug command and/or feedback information are encrypted in communication process using predetermined encryption mode.
Another aspect according to embodiments of the present invention, additionally provides a kind of debugging system of equipment, including:Order line circle
Face server;The Command Line Interface server includes:Module is set up, in remote debugging client and debug command
Debugging passage is set up between execute server, wherein, debug command execute server is adjusted for treating commissioning device
Examination;First receiver module, the debug command of remote debugging client is come from for receiving;Sending module, for
After debug command through safety certification, debug command is sent to debug command execute server;Feedback module, is used for
The Debugging message got from debug command execute server is fed back into remote debugging client.
Further, debugging passage includes:First debugging link and the second debugging link, setting up module includes:Receive
Unit, for receiving the debugging linking request for coming from remote debugging client;Unit is set up, in debugging
Under the triggering of linking request, set up the first debugging using virtual terminal and remote debugging client and link and using default
The second debugging is set up between the communication mode of agreement socket and debug command execute server to link.
Further, said system also includes:Remote debugging client;The remote debugging client includes:Order line
Interface client and software development kit service end;Command Line Interface client, the debugging for receiving user input is ordered
Order;Software development kit service end, for debug command to be sent to Command Line Interface server.
Further, said system also includes:Safety certificate server;The safety certificate server includes:Second connects
Module is received, the debug command of Command Line Interface server is come from for receiving;First authentication module, uses for verifying
Whether family possesses the authority for sending debug command;Second authentication module, the power of debug command is sent for possessing in user
In limited time, whether verifying and debugging order belongs to the order in debug command white list;Module is confirmed, in debug command
When belonging to the order in debug command white list, the safety certification to debug command is identified through.
Further, said system also includes:Debug command execute server;The debug command execute server includes:
Processing module, for being packaged to debug command, and carries out legitimacy and authority to the command parameter in debug command
Verification;Performing module, for when verification passes through, then treats commissioning device by performing debug command and is debugged.
In embodiments of the present invention, replaced using Command Line Interface server by AccessPort mode to local device
The mode debugged, by Command Line Interface server remote debugging client and debug command execute server it
Between set up debugging passage, wherein, debug command execute server is used to treat commissioning device and debugged;Order line circle
Face server receives the debug command for coming from remote debugging client;Command Line Interface server passes through in debug command
After safety certification, debug command is sent to debug command execute server;Command Line Interface server will be ordered from debugging
The Debugging message for making execute server get feeds back to remote debugging client, so as to improve the network of equipment debugging
Security, and then solve the poor technical problem of the internet security of equipment debugging mode employed in correlation technique.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In accompanying drawing
In:
Fig. 1 is the flow chart of the adjustment method of equipment according to embodiments of the present invention;
Fig. 2 is the schematic diagram that SDK service ends according to the preferred embodiment of the invention and CLI servers carry out communication interaction;
Fig. 3 is the flow that log recording is carried out to debug command and/or feedback information according to the preferred embodiment of the invention
Figure;
Fig. 4 is the structured flowchart of the debugging system of equipment according to embodiments of the present invention;
Fig. 5 is the structured flowchart of the debugging system of equipment according to the preferred embodiment of the invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment
The only embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ability
The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, should all belong to
The scope of protection of the invention.
It should be noted that term " first ", " in description and claims of this specification and above-mentioned accompanying drawing
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this
The data that sample is used can be exchanged in the appropriate case, so as to embodiments of the invention described herein can with except
Here the order beyond those for illustrating or describing is implemented.Additionally, term " comprising " and " having " and they
Any deformation, it is intended that covering is non-exclusive to be included, for example, containing process, the side of series of steps or unit
Method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include unclear
List or for these processes, method, product or other intrinsic steps of equipment or unit.
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the adjustment method of equipment, it is necessary to explanation,
Can be performed in the such as one group computer system of computer executable instructions the step of the flow of accompanying drawing is illustrated,
And, although logical order is shown in flow charts, but in some cases, can be with suitable different from herein
Sequence performs shown or described step.
Fig. 1 is the flow chart of the adjustment method of equipment according to embodiments of the present invention, as shown in figure 1, the method includes
Following steps:
Step S102, Command Line Interface (Command Line Interface, referred to as CLI) server is long-range
Debugging passage is set up between debugging client and debug command execute server, wherein, debug command execute server is used
Debugged in commissioning device is treated;
Step S104, Command Line Interface server receives the debug command for coming from remote debugging client;
Step S106, Command Line Interface server is sent to tune debug command after debug command through safety certification
Examination order execute server;
Step S108, Command Line Interface server feeds back to the Debugging message got from debug command execute server
Remote debugging client.
By above-mentioned steps, replaced using Command Line Interface server is carried out by AccessPort mode to local device
The mode of debugging, debug command and Debugging message are forwarded by Command Line Interface server, to shield in debugging process
Used in TELENT and SSH be subjected to malicious attack, so as to improve the internet security of equipment debugging, and then solve
The poor technical problem of the internet security of the equipment debugging mode determined employed in correlation technique.
During being preferable to carry out, above-mentioned debug command and/or feedback information can use predetermined encryption in communication process
Mode is encrypted.
In a preferred embodiment, remote debugging client is sending the communication of debugging instruction to Command Line Interface server
, it is necessary to be encrypted transmission to debugging instruction in journey, and service is performed to debug command in Command Line Interface server
It is also required to be encrypted debugging instruction transmission in the communication process of device transmission debugging instruction, for example:Use superencipherment
Standard (Advanced Encryption Standard, referred to as AES, are follow-on AES standards, its
Advantage is:Speed is fast, and level of security is high, and is symmetrical AES) debug command is transmitted.Together
Reason, it is right to be also required in debug command execute server returns to the communication process of Debugging message to Command Line Interface server
Debugging message is encrypted transmission, and Command Line Interface server to remote debugging client feedback Debugging message
In communication process, need also exist for being encrypted debugging instruction transmission such that it is able to effectively ensure that debugging instruction and tune
The network transmission safety of examination information.
Alternatively, above-mentioned debugging passage can include:First debugging link and the second debugging link, in step S102
In, Command Line Interface server sets up debugging passage between remote debugging client and debug command execute server can
With including following operation:
Step S1, Command Line Interface server is receiving the debugging linking request that comes from remote debugging client;
Step S2, Command Line Interface server uses virtual terminal and remote debugging under the triggering of debugging linking request
Client sets up the first debugging link and the communication mode using preset protocol socket and debug command execute server
Between set up the second debugging link.
In a preferred embodiment, if the user for being responsible for debugging opens outputOpen or errputOpen functions,
Then the standard input/output information in Hicore can be transmitted to CLI clients by CLI servers.In CLI servers
Multiplex application process can be separately operable, one of them main application process is used to carry out debugging services, and CLI takes
Remaining application process of business device can be used for performing regular service (for example:Hicore type informations), the above remaining should
Can be transmitted to the above-mentioned application process for carrying out debugging services by related communication interface with the information transmitted in process.
On the one hand, CLI servers can set up it and believe with the communication of Hicore standard outputs/error using virtual terminal
Road.It should be noted that standard output/the error of Hicore is only supported to be redirected to a CLI server, Hicore
In built-in debug command (for example:Dvrtools etc. is ordered) will not then be limited by CLI server numbers.This
Outward, CLI servers can also set up the communication channel of its dvrtools order built-in with Hicore.On the other hand,
CLI servers pass through the communication mode of preset protocol socket (socket) (for example:TCP socket are added into pol
Poll), and in the case where socket is readable, built with debug command execute server using unix socket modes
Vertical debugging link.
In addition, also, it should be noted that setting can be needed between CLI servers and debug command execute server
Buffering area, with the problem of solving network jitter.If buffer overflow, the Debugging message of follow-up output is abandoned, directly
To the buffering area free time.
Alternatively, above-mentioned remote debugging client includes:Command Line Interface client (i.e. CLI clients) and software
Development kit (Software Development Kit, referred to as SDK) service end (i.e. SDK service ends), in step
Rapid S104, Command Line Interface server is received before coming from the debug command of remote debugging client, can also be included
Following steps:
Step S3, Command Line Interface client receives the debug command of user input;
Step S4, software development kit service end sends to Command Line Interface server debug command.
Fig. 2 is the schematic diagram that SDK service ends according to the preferred embodiment of the invention and CLI servers carry out communication interaction.
As shown in Fig. 2 SDK service ends need to be sent to CLI servers sets up debugging link request, and receive CLI services
The foundation debugging link response of device feedback.CLI client (not shown)s are and long-distance user's directly contact and make
Module, is responsible for receiving the various debug commands of user input.Debug command is input into by CLI clients in user
Afterwards, sent to CLI servers by SDK service ends, and then debug command is forwarded to by CLI servers again and perform service
Device (not shown).Additionally, SDK service ends can also receive the CLI servers of CLI servers return from tune
The Debugging message that receives of examination order execute server is simultaneously formatted treatment, is presented to eventually through CLI clients
User.
Used as a preferred embodiment of the present invention, the above method can also include following operation:
Step S5, remote debugging client is literary to daily record by debug command and/or record of feedback information according to preset order
Part, and time to recording to journal file store.
The debug command that i.e. line by line can be input into user by remote debugging client arrives text according to the sequencing storage of time
In this journal file, while recording the input time of often row debug command.Additionally, remote debugging client can also be by
The Debugging message for exporting line by line of CLI server feedbacks is stored in text log file according to the sequencing of time,
The output time of often row Debugging message is recorded simultaneously.
Fig. 3 is the flow that log recording is carried out to debug command and/or feedback information according to the preferred embodiment of the invention
Figure.As shown in figure 3, the flow can include following process step:
Step S302:Remote debugging client was needed before the debug command that user is input into by CLI clients is sent
Local log record file is initialized;
Step S304:Either remote debugging client is ready for sending the debug command that user is input into by CLI clients
Or remote debugging client prepares to receive the Debugging message that CLI servers are returned, it is required for being set up with CLI servers
Debugging link;
Step S306:Remote debugging client judges whether user is input into debug command by CLI clients;If it is,
Then continue executing with step S308;If it is not, then flow terminates;
Step S308:Remote debugging client sends to CLI servers debug command;
Step S310:Remote debugging client records the debug command and input of user input in log record file
The time of debug command;Return to step S306;
Step S312:Remote debugging client judges whether to receive the Debugging message of CLI servers return;If it is,
Then continue executing with step S314;If it is not, then flow terminates;
Step S314:Remote debugging client receives the Debugging message of CLI servers return and carries out lattice to Debugging message
Formulaization treatment and output;
Step S316:Remote debugging client records Debugging message and the output debugging of output in log record file
The time of order;Return to step S312.
Alternatively, in step S106, Command Line Interface server sends to debug command execute server debug command
Before, following operation can also be included:
Step S6, safety certificate server receives the debug command for coming from Command Line Interface server;
Whether step S7, safety certificate server checking user possesses the authority for sending debug command;
Step S8, if user possesses the authority for sending debug command, safety certificate server verifying and debugging order is
The no order belonged in debug command white list;
Step S9, if debug command belongs to the order in debug command white list, safety certificate server then confirms
By the safety certification to debug command.
In a preferred embodiment, CLI servers can receive the debugging life by encryption of SDK service ends transmission
, then be input into safety certificate server for debug command by order, and whether debug command is verified by safety certificate server
It is legal, wherein it is possible to including but not limited to following verification process:
(1) whether verification user possesses the authority for sending debug command, for example:When verification log in user,
Can determine that the user is domestic consumer or with special access right (example according to information such as the account of user input and passwords
Such as:Administrator right) user, if the login authentication information according to user input can determine that the user possesses tune
The authority of examination equipment, then allow the user to send debug command, otherwise, disables debugging function.It is, of course, also possible to more
Safety certification coefficient is further improved, i.e., is further confirmed with special power by setting multi-level login authentication mode
Whether the user of limit is logged in using highest authentication, and only it is determined that the user is by highest safety
In the case that authentication mode is logged in, just allow the user to send debug command, otherwise, disable debugging function.
Additionally, to prevent from entering remote debugging because of the maloperation of user, so, remote adjusting functid needs user's hand
It is dynamic to open, also, can use remote adjusting functid after to the success of certification password authentication.
(2) it is determined that the user is logged in by highest authentication, it is allowed to which the user enables debugging function
In the case of input debug command, in addition it is also necessary to which whether the debug command for verifying each input of user belongs to setting in white list
Order, if the order in being not belonging to white list, even if the user possess send debug command authority, also not
Allow to perform the debug command.
Further, in step S106, debug command is sent to debug command and performs service by Command Line Interface server
After device, can also comprise the following steps:
Step S10, debug command execute server is packaged to debug command, and to the order ginseng in debug command
Number carries out legitimacy and authorization check;
Step S11, if verification passes through, debug command execute server is set by performing debug command to be debugged
It is standby to be debugged.
In a preferred embodiment, debug command execute server is responsible for performing the debug command received from CLI servers.
Debug command execute server needs to be packaged debug command, and the command parameter in debug command is carried out it is legal
Property and authorization check, to avoid directly using the risk that busybox orders are caused.The debug command execute server
The cmd_server functions in hicore can be directly multiplexed, and unix socket are used between CLI servers
Mode carries out communication interaction.
Fig. 4 is the structured flowchart of the debugging system of equipment according to embodiments of the present invention.As shown in figure 4, the equipment
Debugging system can include:Command Line Interface server 1;The Command Line Interface server 1 can include:Set up mould
Block 10, for setting up debugging passage between remote debugging client and debug command execute server, wherein, debugging
Order execute server is debugged for treating commissioning device;First receiver module 12, comes from remotely for receiving
Debug the debug command of client;Sending module 14, for after debug command through safety certification, by debug command
Send to debug command execute server;Feedback module 16, for the tune that will be got from debug command execute server
Try feedback of the information to remote debugging client.
Further, debugging passage can include:First debugging link and the second debugging link, setting up module 10 can be with
Including:Receiving unit (not shown), for receiving the debugging linking request for coming from remote debugging client;
Unit (not shown) is set up, under the triggering of debugging linking request, using virtual terminal and remote debugging visitor
Family end set up the first debugging link and using preset protocol socket communication mode and debug command execute server it
Between set up the second debugging link.
Further, as shown in figure 5, said system can also include:Remote debugging client 2;The remote debugging
Client 2 can include:Command Line Interface client 20 and software development kit service end 22;Command Line Interface visitor
Family end 20, the debug command for receiving user input;Software development kit service end 22, for debug command to be sent out
Deliver to Command Line Interface server.
Further, as shown in figure 5, said system can also include:Safety certificate server 3;The safety certification
Server 3 can include:Second receiver module 30, the debug command of Command Line Interface server is come from for receiving;
First authentication module 32, for verifying whether user possesses the authority for sending debug command;Second authentication module 34, uses
In when user possesses the authority for sending debug command, whether verifying and debugging order belongs to the life in debug command white list
Order;Confirm module 36, for belonging to debug command white list in debug command in order when, be identified through to debugging
The safety certification of order.
Further, as shown in figure 5, said system can also include:Debug command execute server 4;The debugging
Order execute server 4 can include:Processing module 40, for being packaged to debug command, and to debug command
In command parameter carry out legitimacy and authorization check;Performing module 42, for when verification passes through, then by performing
Debug command is treated commissioning device and is debugged.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can be by other
Mode realize.Wherein, device embodiment described above is only schematical, such as division of described unit,
Can be a kind of division of logic function, there can be other dividing mode when actually realizing, for example multiple units or component
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, institute
Display or the coupling each other for discussing or direct-coupling or communication connection can be by some interfaces, unit or mould
The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to
On multiple units.Some or all of unit therein can be according to the actual needs selected to realize this embodiment scheme
Purpose.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or when using,
Can store in a computer read/write memory medium.Based on such understanding, technical scheme essence
On all or part of the part that is contributed to prior art in other words or the technical scheme can be with software product
Form is embodied, and the computer software product is stored in a storage medium, including some instructions are used to so that one
Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the invention
State all or part of step of method.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improve and moisten
Decorations also should be regarded as protection scope of the present invention.
Claims (12)
1. a kind of adjustment method of equipment, it is characterised in that including:
It is logical that Command Line Interface server sets up debugging between remote debugging client and debug command execute server
Road, wherein, the debug command execute server is debugged for treating commissioning device;
The Command Line Interface server receives the debug command for coming from the remote debugging client;
The Command Line Interface server sends out the debug command after the debug command through safety certification
Deliver to the debug command execute server;
The Debugging message feedback that the Command Line Interface server will get from the debug command execute server
To the remote debugging client.
2. method according to claim 1, it is characterised in that the debugging passage includes:First debugging link and
Second debugging link, the Command Line Interface server is held in the remote debugging client and the debug command
The debugging passage is set up between row server to be included:
The Command Line Interface server receives the debugging linking request for coming from the remote debugging client;
The Command Line Interface server it is described debugging linking request triggering under, using virtual terminal with it is described
Remote debugging client sets up the first debugging link and the communication mode using preset protocol socket and institute
State and set up between debug command execute server the second debugging link.
3. method according to claim 1, it is characterised in that the remote debugging client includes:Order line circle
Face client and software development kit service end, come from described long-range in Command Line Interface server reception
Before debugging the debug command of client, also include:
The Command Line Interface client receives the debug command of user input;
The software development kit service end sends to the Command Line Interface server debug command.
4. method according to claim 3, it is characterised in that in the Command Line Interface server by the debugging
Order is sent to before the debug command execute server, is also included:
Safety certificate server receives the debug command for coming from the Command Line Interface server;
The safety certificate server verifies whether the user possesses the authority for sending the debug command;
If the user possesses the authority for sending the debug command, the safety certificate server verifies institute
State the order during whether debug command belongs to debug command white list;
If the debug command belongs to the order in debug command white list, the safety certificate server is then
It is identified through the safety certification to the debug command.
5. method according to claim 1, it is characterised in that in the Command Line Interface server by the debugging
Order is sent to the debug command execute server, is also included:
The debug command execute server is packaged to the debug command, and in the debug command
Command parameter carries out legitimacy and authorization check;
If verification passes through, the debug command execute server is treated by performing the debug command to described
Commissioning device is debugged.
6. method according to claim 1, it is characterised in that methods described also includes:The remote debugging client
Hold the debug command and/or record of feedback information according to preset order to journal file, and to recording to daily record
The time of file is stored.
7. method according to any one of claim 1 to 6, it is characterised in that the debug command and/or described
Feedback information is encrypted in communication process using predetermined encryption mode.
8. a kind of debugging system of equipment, it is characterised in that including:Command Line Interface server;
The Command Line Interface server includes:
Module is set up, for setting up debugging passage between remote debugging client and debug command execute server,
Wherein, the debug command execute server is debugged for treating commissioning device;
First receiver module, the debug command of the remote debugging client is come from for receiving;
Sending module, for after the debug command through safety certification, the debug command being sent to institute
State debug command execute server;
Feedback module, it is described for the Debugging message got from the debug command execute server to be fed back to
Remote debugging client.
9. system according to claim 8, it is characterised in that the debugging passage includes:First debugging link and
Second debugging link, the module of setting up includes:
Receiving unit, the debugging linking request of the remote debugging client is come from for receiving;
Unit is set up, under the triggering of the debugging linking request, using virtual terminal and the long-range tune
Examination client sets up the first debugging link and the communication mode using preset protocol socket and the debugging
The second debugging link is set up between order execute server.
10. system according to claim 8, it is characterised in that the system also includes:The remote debugging client
End;The remote debugging client includes:Command Line Interface client and software development kit service end;
The Command Line Interface client, the debug command for receiving user input;
The software development kit service end, for the debug command to be sent to the Command Line Interface service
Device.
11. systems according to claim 10, it is characterised in that the system also includes:Safety certificate server;
The safety certificate server includes:
Second receiver module, the debug command of the Command Line Interface server is come from for receiving;
First authentication module, for verifying whether the user possesses the authority for sending the debug command;
Second authentication module, for when the user possesses the authority for sending the debug command, checking to be described
Whether debug command belongs to the order in debug command white list;
Confirm module, for belonging to debug command white list in the debug command in order when, be identified through
To the safety certification of the debug command.
12. systems according to claim 8, it is characterised in that the system also includes:The debug command is performed
Server;
The debug command execute server includes:
Processing module, for being packaged to the debug command, and to the command parameter in the debug command
Carry out legitimacy and authorization check;
Performing module, for when verification passes through, then by performing the debug command to the equipment to be debugged
Debugged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510791285.XA CN106708489B (en) | 2015-11-17 | 2015-11-17 | Debugging method and system of equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510791285.XA CN106708489B (en) | 2015-11-17 | 2015-11-17 | Debugging method and system of equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106708489A true CN106708489A (en) | 2017-05-24 |
CN106708489B CN106708489B (en) | 2020-01-17 |
Family
ID=58932462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510791285.XA Active CN106708489B (en) | 2015-11-17 | 2015-11-17 | Debugging method and system of equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106708489B (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107040777A (en) * | 2017-06-08 | 2017-08-11 | 深圳市创维软件有限公司 | A kind of remote debugging method, set top box and server |
CN107592314A (en) * | 2017-09-20 | 2018-01-16 | 郑州云海信息技术有限公司 | A kind of order line authority control method and device |
CN107703818A (en) * | 2017-10-31 | 2018-02-16 | 北方工业大学 | Wireless programming creative education intelligent controller system based on WiFi |
CN108363667A (en) * | 2018-02-27 | 2018-08-03 | 广州视源电子科技股份有限公司 | Log information snatchs equipment |
CN108491734A (en) * | 2018-03-27 | 2018-09-04 | 南京工业大学 | Online debugging method for computer software |
CN109286654A (en) * | 2018-08-01 | 2019-01-29 | 深圳市德卡科技股份有限公司 | Remote equipment debugging system and method based on serial ports |
CN109413010A (en) * | 2017-08-18 | 2019-03-01 | 深圳兆日科技股份有限公司 | Authentication method, the device and system of terminal |
CN109788033A (en) * | 2018-12-18 | 2019-05-21 | 北京百度网讯科技有限公司 | Unmanned vehicle remote debugging method, device, system and storage medium |
CN110046514A (en) * | 2019-04-12 | 2019-07-23 | 深圳Tcl新技术有限公司 | Tune-up data guard method, device, server and storage medium |
CN110225142A (en) * | 2019-07-10 | 2019-09-10 | 深圳市友华通信技术有限公司 | ONU adjustment method |
CN110457171A (en) * | 2019-08-08 | 2019-11-15 | 浙江大华技术股份有限公司 | A kind of embedded apparatus debugging method and system |
CN111026662A (en) * | 2019-12-06 | 2020-04-17 | 联陆智能交通科技(上海)有限公司 | Remote debugging method, system and medium for terminal equipment of Internet of things |
CN111221605A (en) * | 2019-11-18 | 2020-06-02 | 杭州安恒信息技术股份有限公司 | Method and device for controlling Windows host based on RDP (remote desktop protocol) |
CN112235417A (en) * | 2020-11-09 | 2021-01-15 | 北京百度网讯科技有限公司 | Method and device for sending debugging instruction |
CN112327675A (en) * | 2019-09-30 | 2021-02-05 | 上海华兴数字科技有限公司 | Engineering mechanical equipment debugging method and system |
CN113127823A (en) * | 2021-03-26 | 2021-07-16 | 山东英信计算机技术有限公司 | Method, system and medium for managing local serial port login and authority |
CN113514093A (en) * | 2021-04-21 | 2021-10-19 | 北京锐达仪表有限公司 | Safety instrument debugging terminal |
CN113766024A (en) * | 2021-09-07 | 2021-12-07 | 厦门极致互动网络技术股份有限公司 | Remote instruction management system and method for remote server |
CN114089892A (en) * | 2021-11-25 | 2022-02-25 | 上海豪承信息技术有限公司 | Equipment debugging method and device and electronic equipment |
US20220066858A1 (en) * | 2016-08-03 | 2022-03-03 | Intel Corporation | Remote debugging and management |
CN115150155A (en) * | 2022-06-29 | 2022-10-04 | 北京天融信网络安全技术有限公司 | Security reinforcement method and device for SSH connection |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916283A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Server pressure test system and method |
US8978104B1 (en) * | 2008-07-23 | 2015-03-10 | United Services Automobile Association (Usaa) | Access control center workflow and approval |
CN104967585A (en) * | 2014-04-15 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method for remote debugging of mobile terminal and apparatus thereof |
US9170922B1 (en) * | 2014-01-27 | 2015-10-27 | Google Inc. | Remote application debugging |
-
2015
- 2015-11-17 CN CN201510791285.XA patent/CN106708489B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8978104B1 (en) * | 2008-07-23 | 2015-03-10 | United Services Automobile Association (Usaa) | Access control center workflow and approval |
CN103916283A (en) * | 2012-12-31 | 2014-07-09 | 北京新媒传信科技有限公司 | Server pressure test system and method |
US9170922B1 (en) * | 2014-01-27 | 2015-10-27 | Google Inc. | Remote application debugging |
CN104967585A (en) * | 2014-04-15 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method for remote debugging of mobile terminal and apparatus thereof |
Non-Patent Citations (1)
Title |
---|
黄光红: ""嵌入式软件开发环境中远程调试器的研究与设计"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11921569B2 (en) * | 2016-08-03 | 2024-03-05 | Intel Corporation | Remote debugging and management |
US20220066858A1 (en) * | 2016-08-03 | 2022-03-03 | Intel Corporation | Remote debugging and management |
CN107040777A (en) * | 2017-06-08 | 2017-08-11 | 深圳市创维软件有限公司 | A kind of remote debugging method, set top box and server |
CN109413010B (en) * | 2017-08-18 | 2021-01-05 | 深圳兆日科技股份有限公司 | Terminal authentication method, device and system |
CN109413010A (en) * | 2017-08-18 | 2019-03-01 | 深圳兆日科技股份有限公司 | Authentication method, the device and system of terminal |
CN107592314A (en) * | 2017-09-20 | 2018-01-16 | 郑州云海信息技术有限公司 | A kind of order line authority control method and device |
CN107703818A (en) * | 2017-10-31 | 2018-02-16 | 北方工业大学 | Wireless programming creative education intelligent controller system based on WiFi |
CN108363667A (en) * | 2018-02-27 | 2018-08-03 | 广州视源电子科技股份有限公司 | Log information snatchs equipment |
CN108491734A (en) * | 2018-03-27 | 2018-09-04 | 南京工业大学 | Online debugging method for computer software |
CN109286654A (en) * | 2018-08-01 | 2019-01-29 | 深圳市德卡科技股份有限公司 | Remote equipment debugging system and method based on serial ports |
CN109286654B (en) * | 2018-08-01 | 2021-08-06 | 深圳市德卡科技股份有限公司 | Remote equipment debugging system and method based on serial port |
CN109788033A (en) * | 2018-12-18 | 2019-05-21 | 北京百度网讯科技有限公司 | Unmanned vehicle remote debugging method, device, system and storage medium |
CN109788033B (en) * | 2018-12-18 | 2022-06-03 | 北京百度网讯科技有限公司 | Unmanned vehicle remote debugging method, device and system and storage medium |
CN110046514B (en) * | 2019-04-12 | 2023-05-26 | 深圳Tcl新技术有限公司 | Debug data protection method, device, server and storage medium |
CN110046514A (en) * | 2019-04-12 | 2019-07-23 | 深圳Tcl新技术有限公司 | Tune-up data guard method, device, server and storage medium |
CN110225142A (en) * | 2019-07-10 | 2019-09-10 | 深圳市友华通信技术有限公司 | ONU adjustment method |
CN110457171A (en) * | 2019-08-08 | 2019-11-15 | 浙江大华技术股份有限公司 | A kind of embedded apparatus debugging method and system |
CN112327675A (en) * | 2019-09-30 | 2021-02-05 | 上海华兴数字科技有限公司 | Engineering mechanical equipment debugging method and system |
CN111221605A (en) * | 2019-11-18 | 2020-06-02 | 杭州安恒信息技术股份有限公司 | Method and device for controlling Windows host based on RDP (remote desktop protocol) |
CN111026662A (en) * | 2019-12-06 | 2020-04-17 | 联陆智能交通科技(上海)有限公司 | Remote debugging method, system and medium for terminal equipment of Internet of things |
CN112235417A (en) * | 2020-11-09 | 2021-01-15 | 北京百度网讯科技有限公司 | Method and device for sending debugging instruction |
US11860749B2 (en) | 2020-11-09 | 2024-01-02 | Beijing Baidu Netcom Science and Technology Co., Ltd | Method and apparatus for sending debugging instruction |
CN113127823A (en) * | 2021-03-26 | 2021-07-16 | 山东英信计算机技术有限公司 | Method, system and medium for managing local serial port login and authority |
CN113127823B (en) * | 2021-03-26 | 2022-06-07 | 山东英信计算机技术有限公司 | Method, system and medium for managing local serial port login and authority |
CN113514093A (en) * | 2021-04-21 | 2021-10-19 | 北京锐达仪表有限公司 | Safety instrument debugging terminal |
CN113766024A (en) * | 2021-09-07 | 2021-12-07 | 厦门极致互动网络技术股份有限公司 | Remote instruction management system and method for remote server |
CN113766024B (en) * | 2021-09-07 | 2024-03-22 | 厦门极致互动网络技术股份有限公司 | Remote instruction management system and method for remote server |
CN114089892A (en) * | 2021-11-25 | 2022-02-25 | 上海豪承信息技术有限公司 | Equipment debugging method and device and electronic equipment |
CN114089892B (en) * | 2021-11-25 | 2024-02-23 | 上海豪承信息技术有限公司 | Equipment debugging method and device and electronic equipment |
CN115150155A (en) * | 2022-06-29 | 2022-10-04 | 北京天融信网络安全技术有限公司 | Security reinforcement method and device for SSH connection |
Also Published As
Publication number | Publication date |
---|---|
CN106708489B (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106708489A (en) | Debugging method and system of equipment | |
CN105119939B (en) | The cut-in method and device, providing method and device and system of wireless network | |
CN111783068B (en) | Device authentication method, system, electronic device and storage medium | |
CN104486343B (en) | A kind of method and system of double factor two-way authentication | |
CN106850209A (en) | A kind of identity identifying method and device | |
CN107770182A (en) | The date storage method and home gateway of home gateway | |
CN102638468B (en) | The method of protection information transmission security, transmitting terminal, receiving terminal and system | |
CN106341372A (en) | Terminal authentication processing method and device, and terminal authentication method, device and system | |
CN103888255A (en) | Identity authentication method, device and system | |
CN103780609A (en) | Cloud data processing method and device and cloud data security gateway | |
CN107484152A (en) | The management method and device of terminal applies | |
CN107370765A (en) | A kind of ftp server identity identifying method and system | |
CN109729000B (en) | Instant messaging method and device | |
CN106533677A (en) | User login method, user terminal and server | |
CN203057192U (en) | Cross-platform security audit device | |
CN107911383A (en) | A kind of cryptographic check method and apparatus | |
CN104883341A (en) | Application management device, terminal and application management method | |
CN110602133A (en) | Intelligent contract processing method, block chain management device and storage medium | |
CN107786978B (en) | NFC authentication system based on quantum encryption | |
CN103532979A (en) | Method for generating and verifying multi-conversation verification codes under CGI (common gateway interface) for web | |
CN103384249A (en) | Network access authentication method, device and system and authentication server | |
CN110166471A (en) | A kind of portal authentication method and device | |
CN1921378B (en) | Method and system for negotiating new discrimination key | |
CN114492489A (en) | NFC label verification system based on dynamic data | |
CN114139176A (en) | Industrial internet core data protection method and system based on state secret |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |