CN109522219A - A kind of method, commissioning device and the storage medium of debugging operations system - Google Patents

A kind of method, commissioning device and the storage medium of debugging operations system Download PDF

Info

Publication number
CN109522219A
CN109522219A CN201811232325.7A CN201811232325A CN109522219A CN 109522219 A CN109522219 A CN 109522219A CN 201811232325 A CN201811232325 A CN 201811232325A CN 109522219 A CN109522219 A CN 109522219A
Authority
CN
China
Prior art keywords
network interface
commissioning device
information
target
address
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
CN201811232325.7A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811232325.7A priority Critical patent/CN109522219A/en
Publication of CN109522219A publication Critical patent/CN109522219A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface

Abstract

The embodiment of the present application discloses a kind of method of debugging operations system, this method comprises: the status information of commissioning device detection network interface, the network interface are contained in commissioning device;Commissioning device determines that target network interface has cable access, cable is used to connect the server of commissioning device and operating system to be debugged according to the status information of network interface;Commissioning device obtains the network interface information of target network interface, the corresponding targeted internet Protocol IP address of the network interface information;Commissioning device is according to the operating system of the target ip address debugging server.The embodiment of the present application also provides corresponding commissioning device and storage medium.Technical scheme effectively realizes in the presence of without debugging tool or show tools, also being capable of debugging operations system.

Description

A kind of method, commissioning device and the storage medium of debugging operations system
Technical field
This application involves fields of communication technology, and in particular to a kind of method of debugging operations system, commissioning device and deposits Storage media.
Background technique
Operating system, such as: perhaps linux system usually requires to be equipped with debugging tool or display Windows system Tool completes interworking.
When completing the interworking of operating system using these debugging tools or show tools, such as: debugging tool Can be serial ports, show tools can be display etc., but required accordingly using these debugging tools or show tools The support of hardware device, such as: hardware device can be video card, and video card can be used to support display;Serial ports then needs USB to turn Serial ports tool supports debugging.In the prior art, it will usually which collocation just can be carried out tune using debugging tool or show tools etc. Operating system is tried, to complete interworking.
Therefore, in the presence of there is no the tools such as debugging tool or show tools, it will be unable to debugging operations system.
Summary of the invention
The embodiment of the present application provides method, commissioning device and the storage medium of a kind of debugging operations system, effectively Even if, also being capable of debugging operations system in the presence of realizing without debugging tool or show tools.
In view of this, the embodiment of the present application provides following scheme:
The application first aspect provides a kind of method of debugging operations system, and this method may include: commissioning device detection The status information of network interface, the network interface are contained in commissioning device;Commissioning device determines that target network interface has according to the status information of network interface Cable access, cable are used to connect the server of commissioning device and operating system to be debugged;Commissioning device obtains target network interface Network interface information, the corresponding targeted internet Protocol IP address of the network interface information;Commissioning device is debugged according to the target ip address The operating system of server.
Optionally, with reference to the above first aspect, in the first possible implementation, commissioning device is according to the shape of network interface State information determines that target network interface has cable access, may include: that commissioning device obtains the script letter detected for operating system Breath, script information includes the network connection state information of each network interface on commissioning device;Commissioning device determines the net of target network interface Whether network connection status changes;If changing, commissioning device determines that target network interface has cable access.
Optionally, with reference to the above first aspect or first aspect the first possible implementation, possible at second In implementation, network interface information may include network interface title, and commissioning device obtains the network interface information of target network interface, network interface information pair A targeted internet Protocol IP address is answered, may include: the network interface title that commissioning device obtains target network interface, network interface title pair Answer an IP address.
Optionally, with reference to the above first aspect or first aspect the first possible implementation, possible at the third In implementation, network interface information may include network interface mark, and commissioning device obtains the network interface information of target network interface, network interface information pair A targeted internet Protocol IP address is answered, may include: the network interface mark that commissioning device obtains target network interface, network interface title pair Answer an IP address.
Optionally, with reference to the above first aspect or first aspect the first possible implementation, possible at the first In implementation, it may include: the state that commissioning device detects each network interface one by one that commissioning device, which detects the status information of network interface, Mark is first state mark or the second status indicator, wherein first state mark, which is used to indicate corresponding network interface, has cable to connect Enter, the second status indicator, which is used to indicate corresponding network interface, does not have cable access.
The application second aspect provides a kind of commissioning device, which, which has, realizes above-mentioned first aspect or first party The function of the method for any one possible implementation of face.The function can also be executed by hardware realization by hardware Corresponding software realization.The hardware or software include one or more units corresponding with above-mentioned function, module or submodule.
The commissioning device equipment that the application third aspect provides, may include: processor and memory;The memory is used for Program instruction is stored, when equipment operation, which executes the program instruction of memory storage, so that the computer The method that equipment executes the debugging operations system such as any one possible implementation of above-mentioned first aspect or first aspect.
The application fourth aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when run on a computer, allowing computer to execute above-mentioned first aspect or first aspect, any one can The method for being able to achieve the debugging operations system of mode.
Wherein, second aspect, the third aspect, technical effect brought by any implementation can be found in fourth aspect Technical effect brought by different implementations in first aspect, details are not described herein again.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
There is cable access by determining target network interface to obtain the network interface information of target network interface, network interface information corresponds to one Targeted internet Protocol IP address, therefore the operating system of server to be debugged can be debugged according to the target ip address, effectively , also being capable of debugging operations system in the presence of even if ground is realized without debugging tool or show tools.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of the method for debugging operations system provided by the embodiments of the present application;
Fig. 2 is another embodiment schematic diagram of the method for debugging operations system provided by the embodiments of the present application;
Fig. 3 is another embodiment schematic diagram of the method for debugging operations system provided by the embodiments of the present application;
Fig. 4 is one embodiment schematic diagram of commissioning device provided by the embodiments of the present application;
Fig. 5 is another embodiment schematic diagram of commissioning device provided by the embodiments of the present application;
Fig. 6 is one schematic diagram of hardware configuration of the communication device in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.
The embodiment of the present application provides method, commissioning device and the storage medium of a kind of debugging operations system, effectively Even if, also being capable of debugging operations system in the presence of realizing without debugging tool or show tools.
The description and claims of this application and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.Those of ordinary skill in the art are it is found that with the differentiation of figure Computational frame and new The appearance of application scenarios, technical solution provided in an embodiment of the present invention are equally applicable for similar technical problem.
Fig. 1 is one embodiment schematic diagram of the method for debugging operations system provided by the embodiments of the present application.
As shown in Figure 1, one embodiment of the method for debugging operations system provided by the embodiments of the present application includes:
101, the status information of commissioning device detection network interface.
In the present embodiment, mentioned network interface is contained in the commissioning device, and may exist one or more Network interface, each network interface are corresponding with the status information of respective network interface, and the status information of respective network interface is for detecting respective net Whether mouth has cable access.In practical applications, for the number of network interface, specifically herein without limitation.
102, commissioning device determines that target network interface has cable access according to the status information of network interface.
In this implementation, since cable is the operating system of debugging required for the commissioning device and the commissioning device in succession Server determines target network interface by the status information of network interface, that is to say, that if the status information of which network interface occurs to turn Becoming, i.e., network interface is transformed into the state for having cable to access from the state that no cable accesses, the network interface is just determined as target network interface, and And determine that the target network interface has cable access.
103, commissioning device obtains the network interface information of target network interface, and network interface information is with corresponding to a targeted internet protocol IP Location.
In this implementation, is preset since the network interface information of each network interface is corresponding and be equipped with an IP address, the IP address Only need first time use when be arranged, behind need no longer be provided with using when the IP address, it is therefore desirable to adjust Equipment is tried by the network interface information of acquisition target network interface, the corresponding IP address of target network interface can be got.
104, commissioning device is according to the operating system of target ip address debugging server.
In the present embodiment, since target ip address has unique identification, it is present in accessed target network interface Network interface information in, the target network interface be have the server for being connected to the commissioning device and operating system to be debugged cable access Network interface, therefore commissioning device can go the operating system of debugging server according to the target ip address.
There is cable access by determining target network interface to obtain the network interface information of target network interface, network interface information corresponds to one Targeted internet Protocol IP address, therefore the operating system of server to be debugged can be debugged according to the target ip address, effectively , also being capable of debugging operations system in the presence of even if ground is realized without debugging tool or show tools.
It in the technical scheme, can be right since network interface information may include a variety of for showing the parameter of network interface Network interface information divides, and the scheme of debugging operations system provided by the embodiments of the present application is described in detail respectively.
1, network interface information includes network interface title;
2, network interface information includes network interface mark;
It should be noted that 2 above-mentioned schemes are provided to that debugging operations provided by the embodiments of the present application are described in detail The scheme of system.
1, network interface information includes network interface title
Referring to Fig. 2, Fig. 2 is another embodiment signal of the method for debugging operations system provided by the embodiments of the present application Figure.
As shown in Fig. 2, another embodiment of the method for debugging operations system provided by the embodiments of the present application includes:
201, it is first state mark or the second status indicator that commissioning device detects the status indicator of each network interface one by one.
In this implementation, the purpose of commissioning device detects the status indicator of each network interface one by one is the state letter in order to detect network interface Breath;It should be noted that first state mark is used to indicate corresponding network interface and has cable access, the second status indicator is used to indicate Corresponding network interface does not have cable access.
Such as: assuming that commissioning device has 4 network interfaces, respectively A, B, C, D;Assuming that first state mark is indicated with " 1 ", the Two-state mark with " 0 " indicate, if at this time commissioning device detect this four network interfaces of A, B, C, D status indicator be respectively " 0 ", " 0 ", " 0 ", " 0 " also indicate that the state that this four network interfaces are accessed in no cable at this time.In practical applications, there are many more Similar to " 0 ", " 1 " such mark, it is also possible to including other network interfaces, specifically herein without limitation.
202, commissioning device obtains the script information for operating system detection after the status indicator detected.
In the present embodiment, script information includes the network connection state information of each network interface on commissioning device, the network interface Connection state information is commissioning device for detecting whether the information for having cable to access.
Such as: network interface connection status information can be the status indicator of A, B, C, D this four network interfaces in above-mentioned steps 201 Information " 0 ", " 0 ", " 0 ", " 0 ".In practical applications, there are many more be similar to identification information as " 0 ", " 1 ", it is also possible to wrap Other network interfaces are included, specifically herein without limitation.
203, commissioning device determines whether the network connection state of target network interface changes.
In the present embodiment, after the network connection state information for obtaining each network interface in script information, commissioning device It can determine that the network connection state of which network interface occurs according to the network connection state information of acquired each network interface Change.
204, commissioning device determines that target network interface has cable when the network connection state for determining target network interface changes Access.
In the present embodiment, the network connection state of network interface changes, and also indicates that cable is in disconnect and either connects State, it is the state for belonging to cable and being in connection that network connection state indicated by the application, which changes,.
Such as: the network connection state of A, B, C, D this four network interfaces in step 202 is respectively " 0 ", " 0 ", " 0 ", " 0 ", If the network connection of A network interface is changed at this time, become first state mark " 1 ", remaining there is no variation, still for "0".Commissioning device is assured that target network interface A has cable access at this time.
205, commissioning device obtains the network interface title of the target network interface, the corresponding targeted internet agreement of network interface title IP address.
In this implementation, the network interface information of network interface may include the parameter that network interface title etc. is used to identify network interface, and due to every Corresponding preset of the network interface title of a network interface is equipped with an IP address, which only needs to set when using first time Set, behind need no longer be provided with using when the IP address, it is therefore desirable to commissioning device by obtain target network interface Network interface title, the corresponding IP address of target network interface can be got.
206, commissioning device is according to the operating system of target ip address debugging server.
In the present embodiment, since target ip address has unique identification, it is present in accessed target network interface Network interface title in, the target network interface be have the server for being connected to the commissioning device and operating system to be debugged cable access Network interface, therefore commissioning device can go the operating system of debugging server according to the target ip address.
There is cable access by determining target network interface to obtain the network interface title of target network interface, network interface title corresponds to one Targeted internet Protocol IP address, therefore the operating system of server to be debugged can be debugged according to the target ip address, effectively , also being capable of debugging operations system in the presence of even if ground is realized without debugging tool or show tools.
2, network interface information includes network interface title
Referring to Fig. 3, Fig. 3 is another embodiment signal of the method for debugging operations system provided by the embodiments of the present application Figure.
As shown in figure 3, another embodiment of the method for debugging operations system provided by the embodiments of the present application includes:
301, it is first state mark or the second status indicator that commissioning device detects the status indicator of each network interface one by one.
302, commissioning device obtains the script information for operating system detection after the status indicator detected.
303, commissioning device determines whether the network connection state of target network interface changes.
304, commissioning device determines that target network interface has cable when the network connection state for determining target network interface changes Access.
Step 301-304 is similar with the step 201-204 in Fig. 2 in this implementation, does not repeat them here specifically.
305, commissioning device obtains the network interface mark of the target network interface, and network interface identifies a corresponding targeted internet agreement IP address.
In this implementation, the network interface information of network interface may include network interface mark etc. for identifying the parameter of network interface, and due to every The network interface of a network interface identifies corresponding preset and is equipped with an IP address, which only needs to set when using first time Set, behind need no longer be provided with using when the IP address, it is therefore desirable to commissioning device by obtain target network interface Network interface mark, the corresponding IP address of target network interface can be got.
306, commissioning device is according to the operating system of target ip address debugging server.
In the present embodiment, since target ip address has unique identification, it is present in accessed target network interface Network interface mark in, the target network interface be have the server for being connected to the commissioning device and operating system to be debugged cable access Network interface, therefore commissioning device can go the operating system of debugging server according to the target ip address.
By determining that target network interface has cable access to identify to obtain the network interface of target network interface, network interface title corresponds to one Targeted internet Protocol IP address, therefore the operating system of server to be debugged can be debugged according to the target ip address, effectively , also being capable of debugging operations system in the presence of even if ground is realized without debugging tool or show tools.
It is above-mentioned that mainly scheme provided by the embodiments of the present application is described from unilateral angle.It can be understood that being Realization above-mentioned function contains and executes the corresponding hardware configuration of each function and/or software module.Those skilled in the art answer This is readily appreciated that, module described in conjunction with the examples disclosed in the embodiments of the present disclosure and algorithm steps, the application energy The combining form with hardware or hardware and computer software is reached to realize.Some function is driven actually with hardware or computer software The mode of dynamic hardware executes, the specific application and design constraint depending on technical solution.Professional technician can be right Each specific application is to use different methods to achieve the described function, but this realization is it is not considered that exceed the application Range.
The embodiment of the present application can carry out the division of functional module according to above method example to commissioning device, for example, can With each functional module of each function division of correspondence, two or more functions can also be integrated in a processing module In.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It needs It is noted that be schematical, only a kind of logical function partition to the division of module in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 4 is one embodiment schematic diagram of commissioning device provided by the embodiments of the present application.
As shown in figure 4, commissioning device 40 provided by the embodiments of the present application includes detection unit 401, determination unit 402, obtains Take unit 403, debugging unit 404;
Detection unit 401, for detecting the status information of network interface, network interface is contained in commissioning device;
Determination unit 402, the status information of the network interface for being detected according to detection unit 401 determine that target network interface has net Line access, cable are used to connect the server of commissioning device and operating system to be debugged;
Acquiring unit 403 determines the network interface information for the target network interface for having cable to access, net for obtaining determination unit 402 Message ceases a corresponding targeted internet Protocol IP address;
Debugging unit 404, the operating system of the target ip address debugging server for being obtained according to acquiring unit 403.
There is cable access by the determining target network interface of determination unit 402 to obtain the network interface information of target network interface, network interface letter Breath corresponds to a targeted internet Protocol IP address, therefore can be debugged according to the target ip address using debugging unit 404 The operating system of server to be debugged effectively realizes in the presence of without debugging tool or show tools, can also debug Operating system.
Fig. 5 is another embodiment schematic diagram of commissioning device provided by the embodiments of the present application.
As shown in figure 5, commissioning device 50 provided by the embodiments of the present application includes detection unit 501, determination unit 502, obtains Unit 503, debugging unit 504 are taken, it is similar with the function of above-mentioned 401-404;
Determination unit 502 in the present embodiment may include:
First obtains module 5021, and for obtaining the script information for being used for operating system detection, script information includes debugging The network connection state information of each network interface in equipment;
First determining module 5022, the network connection shape of the target network interface for determining the first acquisition acquisition of module 5021 Whether state changes;
Second determining module 5023, for determining that the network connection state of target network interface occurs when the first determining module 5022 When transformation, determine that target network interface has cable access.
Further, in this embodiment acquiring unit 503 may include:
Second obtains module 5031, for obtaining the network interface title of target network interface when network interface information includes network interface title, The corresponding IP address of the network interface title.
There is cable access by the determining target network interface of the second determining module 5023 to obtain the network interface title of target network interface, net Mouth title corresponds to a targeted internet Protocol IP address, therefore can use debugging unit 504 according to the target ip address The operating system for debugging server to be debugged effectively realizes in the presence of without debugging tool or show tools, also can Debugging operations system.
It should be noted that embodiment of the specific implementation when network interface information includes network interface mark, is referred to Fig. 5 progress Understand, does not repeat them here specifically.
The commissioning device in the embodiment of the present application is described from the angle of modular functionality entity above, below from hard The commissioning device in the embodiment of the present application is described in the angle of part processing.Fig. 6 is the communication device in the embodiment of the present application One schematic diagram of hardware configuration.As shown in fig. 6, the communication device may include:
The communication device includes at least one processor 601, communication line 607, memory 603 and at least one communication Interface 604.
Processor 601 can be a general central processor (central processing unit, CPU), micro process Device, application-specific integrated circuit (application-specific integrated circuit, server I C) or one Or it is multiple for controlling the integrated circuit of application scheme program execution.
Communication line 607 may include an access, and information is transmitted between said modules.
Communication interface 604, using the device of any transceiver one kind, for other devices or communication, such as Ethernet, wireless access network (radio access network, RAN), WLAN (wireless local area Networks, WLAN) etc..
Memory 603 can be read-only memory (read-only memory, ROM) or can store static information and instruction Other kinds of static memory, random access memory (random access memory, RAM) or letter can be stored The other kinds of dynamic storage device of breath and instruction, memory, which can be, to be individually present, and communication line 607 and processor are passed through It is connected.Memory can also be integrated with processor.
Wherein, memory 603 be used for store execution application scheme computer executed instructions, and by processor 601 Control executes.Processor 601 is for executing the computer executed instructions stored in memory 603, to realize that the application is above-mentioned The method for the debugging operations system that embodiment provides.
Optionally, the computer executed instructions in the embodiment of the present application can also be referred to as application code, the application Embodiment is not especially limited this.
In the concrete realization, as one embodiment, communication device may include multiple processors, such as the place in Fig. 6 Manage device 601 and processor 602.Each of these processors can be monokaryon (single-CPU) processor, can also To be multicore (multi-CPU) processor.Here processor can refer to one or more devices, circuit, and/or be used for Handle the processing core of data (such as computer program instructions).
In the concrete realization, as one embodiment, communication device can also include output device 605 and input unit 606.Output device 605 and processor 601 communicate, and can show information in many ways.Input unit 606 and processor 601 communications, can receive the input of user in many ways.For example, input unit 606 can be mouse, touch panel device or Sensing device etc..
Above-mentioned communication device can be a fexible unit either dedicated unit.In the concrete realization, it communicates Device can be desktop computer, portable computer, network server, wireless terminal device, embedded equipment or have similar knot in Fig. 6 The device of structure.The embodiment of the present application does not limit the type of communication device.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
It is apparent to those skilled in the art that for convenience and simplicity of description, the debugging of foregoing description The specific work process of equipment and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the embodiment of commissioning device described above is only schematical, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of module or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of method of debugging operations system characterized by comprising
Commissioning device detects the status information of network interface, and the network interface is contained in the commissioning device;
The commissioning device determines that target network interface has cable access, the cable is for connecting according to the status information of the network interface Connect the server of the commissioning device and operating system to be debugged;
The commissioning device obtains the network interface information of the target network interface, the corresponding targeted internet agreement of the network interface information IP address;
The commissioning device debugs the operating system of the server according to the target ip address.
2. the method according to claim 1, wherein status information of the commissioning device according to the network interface, Determine that target network interface has cable access, comprising:
The commissioning device obtains the script information for operating system detection, and the script information includes that the debugging is set The network connection state information of standby each network interface;
The commissioning device determines whether the network connection state of the target network interface changes;
If changing, the commissioning device determines that target network interface has cable access.
3. method according to claim 1 or 2, which is characterized in that the network interface information includes network interface title, the debugging Equipment obtains the network interface information of the target network interface, the corresponding targeted internet Protocol IP address of the network interface information, comprising:
The commissioning device obtains the network interface title of the target network interface, the corresponding IP address of the network interface title.
4. method according to claim 1 or 2, which is characterized in that the network interface information includes network interface mark, the debugging Equipment obtains the network interface information of the target network interface, the corresponding targeted internet Protocol IP address of the network interface information, comprising:
The commissioning device obtains the network interface mark of the target network interface, and the network interface identifies a corresponding IP address.
5. method according to claim 1 or 2, which is characterized in that the status information of the commissioning device detection network interface, packet It includes:
The status indicator that the commissioning device detects each network interface one by one is first state mark or the second status indicator, wherein The first state mark, which is used to indicate corresponding network interface, cable access, and second status indicator is used to indicate corresponding net Mouth is accessed without cable.
6. a kind of commissioning device characterized by comprising
Detection unit, for detecting the status information of network interface, the network interface is contained in the commissioning device;
Determination unit, the status information of the network interface for being detected according to the detection unit determine that target network interface has cable Access, the cable are used to connect the server of the commissioning device and operating system to be debugged;
Acquiring unit determines the network interface information for the target network interface for having cable to access for obtaining the determination unit, described Network interface information corresponds to a targeted internet Protocol IP address;
Debugging unit, the target ip address for being obtained according to the acquiring unit debug the operation system of the server System.
7. commissioning device according to claim 6, which is characterized in that the determination unit includes:
First obtains module, and for obtaining the script information for being used for operating system detection, the script information includes described The network connection state information of each network interface on commissioning device;
First determining module, for determine it is described first obtain module obtain the target network interface network connection state whether Change;
Second determining module, for determining that the network connection state of the target network interface changes when first determining module When, determine that target network interface has cable access.
8. commissioning device according to claim 6 or 7, which is characterized in that the acquiring unit includes:
Second obtains module, for obtaining the network interface title of the target network interface when the network interface information includes network interface title, The corresponding IP address of the network interface title.
9. a kind of commissioning device, which is characterized in that the commissioning device includes: input/output (I/O) interface, processor and deposits Reservoir,
Program instruction is stored in the memory;
The processor executes such as side as claimed in any one of claims 1 to 5 for executing the program instruction stored in memory Method.
10. a kind of computer readable storage medium, including instruction, which is characterized in that when described instruction is transported on a computing device When row, so that the computer equipment executes method according to any one of claims 1 to 5.
CN201811232325.7A 2018-10-22 2018-10-22 A kind of method, commissioning device and the storage medium of debugging operations system Pending CN109522219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811232325.7A CN109522219A (en) 2018-10-22 2018-10-22 A kind of method, commissioning device and the storage medium of debugging operations system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811232325.7A CN109522219A (en) 2018-10-22 2018-10-22 A kind of method, commissioning device and the storage medium of debugging operations system

Publications (1)

Publication Number Publication Date
CN109522219A true CN109522219A (en) 2019-03-26

Family

ID=65772995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811232325.7A Pending CN109522219A (en) 2018-10-22 2018-10-22 A kind of method, commissioning device and the storage medium of debugging operations system

Country Status (1)

Country Link
CN (1) CN109522219A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124891A (en) * 2019-12-02 2020-05-08 腾讯科技(深圳)有限公司 Access state detection method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019270A1 (en) * 2007-07-13 2009-01-15 Digi International Inc. Embedded device program debug control
CN103077046A (en) * 2012-12-21 2013-05-01 太仓市同维电子有限公司 Method for replacing serial port by internet access in computer system
CN103442250A (en) * 2013-07-30 2013-12-11 Tcl光电科技(惠州)有限公司 System and method for debugging television
CN107846330A (en) * 2017-12-18 2018-03-27 深圳创维数字技术有限公司 A kind of network fault detecting method, terminal and computer-readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019270A1 (en) * 2007-07-13 2009-01-15 Digi International Inc. Embedded device program debug control
CN103077046A (en) * 2012-12-21 2013-05-01 太仓市同维电子有限公司 Method for replacing serial port by internet access in computer system
CN103442250A (en) * 2013-07-30 2013-12-11 Tcl光电科技(惠州)有限公司 System and method for debugging television
CN107846330A (en) * 2017-12-18 2018-03-27 深圳创维数字技术有限公司 A kind of network fault detecting method, terminal and computer-readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贾钢: "基于Nios II的SGMII接口千兆以太网的实现", 《计算机与网络》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124891A (en) * 2019-12-02 2020-05-08 腾讯科技(深圳)有限公司 Access state detection method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN110719345B (en) Virtual machine MAC address generation method, system, equipment and computer medium
CN110875850A (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN114024884B (en) Test method, test device, electronic equipment and storage medium
CN104270204A (en) Testing method and testing equipment for wireless communication module
CN106686545B (en) A kind of application method and device of Wireless Fidelity national code
US20160173349A1 (en) Simulator for testing a gateway device
CN109271273A (en) A kind of method, abnormal restoring equipment and storage medium that communication abnormality restores
CN113890879A (en) Load balancing method and device for data access, computer equipment and medium
CN101964923A (en) Configuration system and method for interactive commands
CN109522219A (en) A kind of method, commissioning device and the storage medium of debugging operations system
CN112235300B (en) Cloud virtual network vulnerability detection method, system, device and electronic equipment
CN107168760B (en) The variable detection method and device of language
CN108965403A (en) O&M monitors establishment of connection method and terminal device
US8402312B2 (en) Method and system for testing an application
CN107294812B (en) Network detecting method, network detection device and intelligent terminal
CN110532032A (en) A kind of booting file system detection method and relevant device
CN113660134B (en) Port detection method, device, electronic device and storage medium
CN113391931B (en) Remote control method and device based on Bluetooth, computer equipment and storage medium
CN105930224B (en) Dump operation control method, device and terminal
CN104679687B (en) A kind of method and device for identifying interrupt source
CN114064804A (en) Data interaction method, device, equipment and storage medium
CN109003031A (en) A kind of method, equipment and the storage medium of scheduling and planning product
CN113032040B (en) Method, apparatus, device, medium, and article for processing tasks
CN105677614B (en) A kind of more host controllers, more host control methods and system
CN113032659B (en) Information processing method for device information, electronic device and medium

Legal Events

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

Application publication date: 20190326