CN105550109A - Equipment debugging method and electronic equipment - Google Patents
Equipment debugging method and electronic equipment Download PDFInfo
- Publication number
- CN105550109A CN105550109A CN201510923631.5A CN201510923631A CN105550109A CN 105550109 A CN105550109 A CN 105550109A CN 201510923631 A CN201510923631 A CN 201510923631A CN 105550109 A CN105550109 A CN 105550109A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- debugging
- debug
- program
- request instruction
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3644—Software debugging by instrumenting at runtime
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3648—Software debugging using additional hardware
- G06F11/3656—Software debugging using additional hardware using a specific debug interface
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses an equipment debugging method and electronic equipment, and aims to solve the technical problems of the low debugging efficiency and relatively bad timeliness of the electronic equipment. The method comprises the following steps: the first electronic equipment is connected with the second electronic equipment in a wireless communication way to receive a debugging request instruction sent from the second electronic equipment; and the first electronic equipment executes the debugging request instruction and debugs a first program stored in the first electronic equipment, wherein the first program is debugged for eliminating the faults of the first electronic equipment.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of apparatus debugging method and electronic equipment.
Background technology
At present, debugging for some home electronicss (such as refrigerator or air-conditioning) is generally the mode adopting AccessPort, when carrying out AccessPort, staff (such as after sale service personnel or engineering technical personnel) needs the Serial Port Line of the external coupling of serial ports first arranged from electronic equipment, the Special debugging equipment connected by Serial Port Line again carries out manual debugging, that is, staff needs Serial Port Line and the Special debugging equipment of carrying with coupling, utility appliance required for debugging is more, operates also cumbersome.
And, the exception of electronic equipment is caused in order to avoid user to carry out maloperation as far as possible, so serial ports is generally be arranged on the inside (such as in shell) of electronic equipment or be arranged on certain position of electronic equipment bonnet, so, if carry out AccessPort, the shell first opening electronic equipment is needed to carry out tearing machine open, easily like this cause machine breakdown, or because electronic equipment is generally place by wall, if serial ports is the bonnet being arranged on electronic equipment, also need to move electronic equipment to connect Serial Port Line, harder, debug process is cumbersome, the efficiency of debugging is lower, promptness is also poor.
Summary of the invention
The application provides a kind of apparatus debugging method and electronic equipment, the technical matters that the debugging efficiency for solving electronic equipment is lower and promptness is poor.
First aspect, provides a kind of apparatus debugging method, comprising:
First electronic equipment, by being connected with the radio communication between the second electronic equipment, receives the debug request instruction that described second electronic equipment sends;
Described first electronic equipment performs described debug request instruction, debugs the first program stored in described first electronic equipment; Wherein, the fault that described first program exists for getting rid of described first electronic equipment is debugged.
Optionally, at the first electronic equipment by being connected with the radio communication between the second electronic equipment, before receiving the debug request instruction of described second electronic equipment transmission, also comprise:
Described first electronic equipment creates the first cordless communication network according to the communication network of the current access of described first electronic equipment, and using described first electronic equipment as the hotspot in described first cordless communication network;
Described first electronic equipment is set up described radio communication with described second electronic equipment and is connected under described first cordless communication network.
Optionally, described first electronic equipment performs described debug request instruction, debugs, comprising the first program stored in described first electronic equipment:
Described first electronic equipment carries out authentication to described second electronic equipment;
If determine, described second electronic equipment is legal, and described first electronic equipment performs described debug request instruction, debugs described first debugged program.
Optionally, described first electronic equipment carries out authentication to described second electronic equipment, comprising:
Described first electronic equipment according to the device identification of described second electronic equipment, and/or, according to the log-on message of user in described second electronic equipment, authentication is carried out to described second electronic equipment; Wherein, described log-on message is the information obtained by the debug client end in described second electronic equipment, and described debug client end is used for debugging described first electronic equipment.
Optionally, if determine, described second electronic equipment is legal, and described first electronic equipment performs described debug request order, debugs, comprising described first program:
If determine, described second electronic equipment is legal, and described first electronic equipment determines that the debug privilege of described second electronic equipment is the first debug privilege;
If determine, described first debug privilege comprises the authority of debugging described first program, and described first electronic equipment performs described debug request instruction, debugs described first program.
Optionally, after the first program stored in described first electronic equipment is debugged, also comprise:
Described first electronic equipment generates the debugging recording information being used for recording the process that described first program carries out debugging process;
Described debugging recording information is sent to described second electronic equipment by described first electronic equipment.
Optionally, described first electronic equipment performs described debug request instruction, debugs, comprising the first program stored in described first electronic equipment:
The running log file corresponding with described debug request instruction determined by described first electronic equipment; The operation information of operation of described running log file for recording described first electronic equipment and carrying out in operational process, described operation information is used for analyzing described fault;
Described running log file is sent to described second electronic equipment by described first electronic equipment;
Described first electronic equipment receives and performs the debugging control instruction of described second electronic equipment transmission, debugs described first program; Described debugging control instruction is that described second electronic equipment is according to described running log file generated.
Second aspect, provides a kind of electronic equipment, comprising:
Receiver module, for by being connected with the radio communication between the second electronic equipment, receives the debug request instruction that described second electronic equipment sends;
Debugging module, for performing described debug request instruction, debugs the first program stored in described electronic equipment; Wherein debug the fault that described first program exists for getting rid of described electronic equipment.
Optionally, described electronic equipment also comprises:
Network creation module, for being used for by being connected with the radio communication between the second electronic equipment at described receiver module, before receiving the debug request instruction of described second electronic equipment transmission, communication network according to the current access of described electronic equipment creates the first cordless communication network, and using described electronic equipment as the hotspot in described first cordless communication network;
Network sets up module, is connected for setting up described radio communication with described second electronic equipment under described first cordless communication network.
Optionally, described debugging module is used for:
Authentication is carried out to described second electronic equipment;
If determine, described second electronic equipment is legal, then perform described debug request instruction, debugs described first debugged program.
Optionally, described debugging module is used for carrying out authentication to described second electronic equipment, is specially:
According to the device identification of described second electronic equipment, and/or, according to the log-on message of user in described second electronic equipment, authentication is carried out to described second electronic equipment; Wherein, described log-on message is the information obtained by the debug client end in described second electronic equipment, and described debug client end is used for debugging described electronic equipment.
Optionally, if described debugging module is used for determining that described second electronic equipment is legal, then performs described debug request instruction, described first debugged program debugged, is specially:
If determine, described second electronic equipment is legal, determines that the debug privilege of described second electronic equipment is the first debug privilege;
If determine, described first debug privilege comprises the authority of debugging described first program, then perform described debug request instruction, debugs described first program.
Optionally, described electronic equipment also comprises:
Generation module, after being used at described debugging module debugging described first program, generates the debugging recording information being used for recording the process that described first program carries out debugging process;
Sending module, for sending to described second electronic equipment by described debugging recording information.
Optionally, described debugging module is used for:
Determine the running log file corresponding with described debug request instruction; The operation information of operation of described running log file for recording described electronic equipment and carrying out in operational process, described operation information is used for analyzing described fault;
Described running log file is sent to described second electronic equipment;
Receive and perform described second electronic equipment send debugging control instruction, described first program is debugged; Described debugging control instruction is that described second electronic equipment is according to described running log file generated.
In the application, first electronic equipment can by being connected with the radio communication between the second electronic equipment, receive the debug request instruction that the second electronic equipment sends, and then again by performing debug request instruction, to complete the debugging carried out the first program of described first electronic equipment, that is, second electronic equipment can carry out wireless debugging to the first electronic equipment, and no longer need Serial Port Line, so naturally also just can save and such as tear machine open and be connected numerous and diverse operations such as Serial Port Line, and then the time of the required cost of whole debug process can be shortened, to debug in time the first program in the first electronic equipment, thus raising debugging efficiency.
Meanwhile, the wireless debud mode adopting the application to provide, can also save the setting of serial ports, reduces production cost, and electronic equipment can be made to keep complete machine integraty in appearance, strengthens aesthetic feeling.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is the process flow diagram of apparatus debugging method in the embodiment of the present invention;
Fig. 2 is the structured flowchart of electronic equipment in the embodiment of the present invention.
Embodiment
Clearly understand for making the object, technical solutions and advantages of the present invention, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.When not conflicting, the embodiment in the present invention and the feature in embodiment can combination in any mutually.Further, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
In addition, term "and/or" herein, being only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, when not illustrating, general expression forward-backward correlation is to the relation liking a kind of "or".
In the embodiment of the present invention, first electronic equipment can be the electronic equipment that the household electrical appliance such as refrigerator, air-conditioning, TV or other needs carry out debugging, first electronic equipment can have (SuSE) Linux OS, like this can so that user be got rid of the fault that the first electronic equipment exists by the mode of debugged program, second electronic equipment can be the portable electric appts such as mobile phone, PAD (panel computer), notebook computer, Intelligent wearable equipment, for the first electronic equipment and the second electronic equipment specifically which type of equipment the present invention do not limit.
In order to better understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Refer to Fig. 1, the embodiment of the present invention provides a kind of apparatus debugging method, and the method can be applied to the first electronic equipment, that is, in the method, the executive agent of each step can be the first electronic equipment.The flow process of the method is described below.
Step 101: the first electronic equipment, by being connected with the radio communication between the second electronic equipment, receives the debug request instruction that the second electronic equipment sends.
Wherein, it can be such as WIFI (WIreless-Fidelity that radio communication connects, Wireless Fidelity) connect, bluetooth connect, NFC (NearFieldCommunication, near-field communication) connect, Zigbee (purple honeybee) connect, etc., certainly, the wireless communication distance that different radio communication connected modes is corresponding can be different, is connected as long as the second electronic equipment can set up radio communication with the first electronic equipment.
Such as, when personnel A needs to debug the first electronic equipment after sale, debugging control can be carried out to the first electronic equipment by setting up with the first electronic equipment the second electronic equipment that radio communication is connected, that is, can the first electronic equipment be regarded as equipment to be debugged, regard the second electronic equipment as debugging control equipment, when personnel A convex-concave is debugged the first electronic equipment by the second electronic equipment after sale, first debug request instruction can be sent by the second electronic equipment to the first electronic equipment, for request, the first electronic equipment is debugged.
Optionally, second electronic equipment can be the portable terminal such as mobile phone or PAD, can be provided with the debug client end corresponding with the first electronic equipment in the second electronic equipment, commissioning staff can send debug request by this debug client end and carry out concrete debugging control.Debug client end in second electronic equipment can be that the supplier of the first electronic equipment provides, corresponding with the first electronic equipment, and specific aim is comparatively strong, and debug-item and debug resources are also abundanter, are conducive to carrying out fast debugging to the first electronic equipment.
Optionally, at the first electronic equipment by being connected with the radio communication between the second electronic equipment, before receiving the debug request instruction of the second electronic equipment transmission, first electronic equipment can create the first cordless communication network according to the communication network of the current access of the first electronic equipment, and using the first electronic equipment as the hotspot in the first cordless communication network, thus the first electronic equipment can be set up radio communication with the second electronic equipment and is connected under the first cordless communication network.
That is, first electronic equipment can carry out wireless network as a hotspot and share, described first cordless communication network of access so that the second electronic equipment can be situated between, thus make the first electronic equipment under the first cordless communication network, set up radio communication with the second electronic equipment to be connected, the second electronic equipment and the first electronic equipment can be made like this to be in the same network segment all the time, to ensure the synchronous of network as far as possible, reach the object of fast debugging.
Simultaneously, first electronic equipment is when carrying out wireless network and sharing, corresponding wireless network name and access pin can be provided with, such as, only have user oneself, after sale service personnel and engineering technical personnel just to know this access pin, to guarantee accuracy and the security of debugging.
Such as, the WIFI network of its current connection can be shared by the first electronic equipment.
Or the first electronic equipment also can be shared by the communication network corresponding with Internet of things system of its current connection.
Or the first electronic equipment can also by pre-assigned static ip address in the first electronic equipment, access Internet network, then creates the first cordless communication network according to Internet network, and is shared by the first cordless communication network newly created.
Step 102: the first electronic equipment performs debug request instruction, debugs the first program stored in the first electronic equipment.
Wherein, the object of debugging the first program is the fault existed for getting rid of the first electronic equipment, and specifically, fault can refer to software fault, the equipment failure such as caused because program operation makes mistakes, etc.
After the first program is debugged, three kinds of results may be there are: fault is eliminated, fault weakens, fault does not change, that is, although the object of debugging the first program is for discharging fault, but the possibility of result of debugging can not reach the requirement of commissioning staff due to some reasons, so, debugging in the embodiment of the present invention can refer to effective debugging, also invalid debugging can be referred to, such as, after debugging, fault can be eliminated or fault weakens and regards effective debugging as, and fault is not changed regard invalid debugging as.
Optionally, the first electronic equipment performs described debug request instruction, debugs, comprising the first program stored in the first electronic equipment:
The running log file corresponding with debug request instruction determined by first electronic equipment; The operation information of operation of running log file for recording the first electronic equipment and carrying out in operational process, operation information is used for analyzing fault;
Running log file is sent to the second electronic equipment by the first electronic equipment;
First electronic equipment receives and performs the debugging control instruction of the second electronic equipment transmission, debugs the first program; Debugging control instruction is that the second electronic equipment is according to running log file generated.
Such as, first electronic equipment is after the debug request instruction receiving the second electronic equipment transmission, corresponding running log file can be determined, and send it to the second electronic equipment, use the commissioning staff of the second electronic equipment after viewing running log file, can by analyzing running log file to determine that the first electronic equipment produces the reason of fault, that is, running log file can as the analysis of data of the fault of the first electronic equipment.
Optionally, commissioning staff is after determining failure cause according to running log file, just corresponding debugging plan can be determined, and concrete debugging plan is sent to the first electronic equipment in the mode of debugging control instruction, concrete debug process is performed to indicate the first electronic equipment, specifically, such as, be that the first program that instruction first electronic equipment stores himself carries out error correction debugging, etc.
Optionally, the first electronic equipment performs debug request instruction, debugs, comprising the first program stored in the first electronic equipment:
First electronic equipment carries out authentication to the second electronic equipment;
If determine, the second electronic equipment is legal, and the first electronic equipment performs debug request instruction, debugs the first debugged program.
In practice, improperly may cause device damage or paralysis owing to debugging and cannot run, so commissioning staff is generally the specific people with professional debugging capability.In embodiments of the present invention, in order to avoid carrying out mistuning examination to the first electronic equipment, first electronic equipment is before the instruction of execution debug request, first can carry out authentication to the second electronic equipment, to judge the legitimacy of the second electronic equipment, unauthorized access (such as trojan horse) can also be avoided like this, with the safety of guarantee first electronic equipment of trying one's best as far as possible.
Optionally, the first electronic equipment carries out authentication to the second electronic equipment, comprising:
First electronic equipment according to the device identification of the second electronic equipment, and/or, according to the log-on message of user in the second electronic equipment, authentication is carried out to the second electronic equipment; Wherein, log-on message is the information obtained by the debug client end in the second electronic equipment, and debug client end is used for debugging the first electronic equipment.
Wherein, log-on message refers to that commissioning staff is for logging in the login name in the debug client end in the second electronic equipment.In practice, professional is generally needed to carry out owing to debugging, the producer such as producing the first electronic equipment can set up special debugging group, a debugging job number or particular login name can be distributed for each commissioning staff in debugging group simultaneously, and other disabled user is generally ignorant, so authentication can be carried out by the mode of log-on message to the second electronic equipment, to carry out identity validation to use second electronic equipment to the commissioning staff that the first electronic equipment is debugged.
Simultaneously, can also be that the first electronic equipment distributes predetermined debugging control equipment, it is such as manufacturer's distribution of the first electronic equipment, be so that the debugging control equipment that the first electronic equipment distributes generally can have specific device identification, so authentication can also be carried out according to the device identification of the second electronic equipment to the second electronic equipment, to carry out identity validation to use second electronic equipment to the commissioning staff that the first electronic equipment is debugged.
Optionally, if determine, the second electronic equipment is legal, and the first electronic equipment performs debug request order, debugs, comprising the first program:
If determine, the second electronic equipment is legal, and the first electronic equipment determines that the debug privilege of the second electronic equipment is the first debug privilege;
If determine, the first debug privilege comprises the authority of debugging the first program, and the first electronic equipment performs debug request instruction, debugs the first program.
After determining that the second electronic equipment is legal, show that the second electronic equipment has the authority of debugging the first electronic equipment.
Optionally, different debug privileges can also be set for different commissioning staffs.
Such as, the debugging job number of commissioning staff A is 11, the debugging job number look 5641 of commissioning staff B, suppose that debugging job number is less, show that the professional debugging capability of corresponding commissioning staff is stronger, so higher debug privilege can be set for commissioning staff A, so commissioning staff A is after logging in debug client end by " 11 ", more profound or complicated debugging can be carried out to the first electronic equipment, and commissioning staff B is after logging in debug client end by " 5641 ", some conventional debugger can only be carried out to the first electronic equipment, the professional ability due to commissioning staff B can be avoided so not to cause debugging and make mistakes and produce new fault as far as possible, guarantee the accuracy of debugging.
In the embodiment of the present invention, first electronic equipment can by being connected with the radio communication between the second electronic equipment, receive the debug request instruction that the second electronic equipment sends, and then again by performing debug request instruction, to complete the debugging carried out the first program of described first electronic equipment, that is, second electronic equipment can carry out wireless debugging to the first electronic equipment, and no longer need Serial Port Line, so naturally also just can save and such as tear machine open and be connected numerous and diverse operations such as Serial Port Line, and then the time of the required cost of whole debug process can be shortened, to debug in time the first program in the first electronic equipment, thus raising debugging efficiency.
Meanwhile, adopt the wireless debud mode in the embodiment of the present invention, the setting of serial ports can also be saved, reduce production cost, and electronic equipment can be made to keep complete machine integraty in appearance, strengthen aesthetic feeling.
Refer to Fig. 2, based on same inventive concept, the embodiment of the present invention provides a kind of electronic equipment, and this electronic equipment comprises receiver module 201 and debugging module 202.
Receiver module 201, for by being connected with the radio communication between the second electronic equipment, receives the debug request instruction that the second electronic equipment sends;
Debugging module 202, for performing debug request instruction, debugs the first program stored in electronic equipment; Wherein debug the fault that the first program exists for getting rid of electronic equipment.
Optionally, electronic equipment also comprises:
Network creation module, for at receiver module 201 for by being connected with the radio communication between the second electronic equipment, before receiving the debug request instruction of the second electronic equipment transmission, communication network according to the current access of electronic equipment creates the first cordless communication network, and using electronic equipment as the hotspot in the first cordless communication network;
Network sets up module, is connected for setting up radio communication with the second electronic equipment under the first cordless communication network.
Optionally, debugging module 202 for:
Authentication is carried out to the second electronic equipment;
If determine, the second electronic equipment is legal, then perform debug request instruction, debug the first debugged program.
Optionally, debugging module 202, for carrying out authentication to the second electronic equipment, is specially:
According to the device identification of the second electronic equipment, and/or, according to the log-on message of user in the second electronic equipment, authentication is carried out to the second electronic equipment; Wherein, log-on message is the information obtained by the debug client end in the second electronic equipment, and debug client end is used for debugging electronic equipment.
Optionally, if debugging module 202 is legal for determining the second electronic equipment, then performs debug request instruction, the first debugged program debugged, is specially:
If determine, the second electronic equipment is legal, determines that the debug privilege of the second electronic equipment is the first debug privilege;
If determine, the first debug privilege comprises the authority of debugging the first program, then perform debug request instruction, debug the first program.
Optionally, electronic equipment also comprises:
Generation module, at debugging module 202 for after debugging the first program, generate the debugging recording information being used for recording the process that the first program carries out debugging process;
Sending module, for sending to the second electronic equipment by debugging recording information.
Optionally, debugging module 202 for:
Determine the running log file corresponding with debug request instruction; Running log file is used for the operation information of the operation that recorded electronic equipment carries out in operational process, and operation information is used for analyzing fault;
Running log file is sent to the second electronic equipment;
Receive and perform second electronic equipment send debugging control instruction, the first program is debugged; Debugging control instruction is that the second electronic equipment is according to running log file generated.
Because the electronic equipment in the embodiment of the present invention is similar to the principle that the apparatus debugging method in Fig. 1 is dealt with problems, therefore in the embodiment of the present invention, the enforcement of electronic equipment see the enforcement of the apparatus debugging method in Fig. 1, can not repeat them here.
In the embodiment of the present invention, first electronic equipment can by being connected with the radio communication between the second electronic equipment, receive the debug request instruction that the second electronic equipment sends, and then again by performing debug request instruction, to complete the debugging carried out the first program of described first electronic equipment, that is, second electronic equipment can carry out wireless debugging to the first electronic equipment, and no longer need Serial Port Line, so naturally also just can save and such as tear machine open and be connected numerous and diverse operations such as Serial Port Line, and then the time of the required cost of whole debug process can be shortened, to debug in time the first program in the first electronic equipment, thus raising debugging efficiency.
Meanwhile, adopt the wireless debud mode in the embodiment of the present invention, the setting of serial ports can also be saved, reduce production cost, and electronic equipment can be made to keep complete machine integraty in appearance, strengthen aesthetic feeling.
The above, above embodiment is only in order to be described in detail technical scheme of the present invention, but the explanation of above embodiment just understands method of the present invention and core concept thereof for helping, and should not be construed as limitation of the present invention.Those skilled in the art are in the technical scope that the present invention discloses, and the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.
Claims (14)
1. an apparatus debugging method, is characterized in that, described method comprises:
First electronic equipment, by being connected with the radio communication between the second electronic equipment, receives the debug request instruction that described second electronic equipment sends;
Described first electronic equipment performs described debug request instruction, debugs the first program stored in described first electronic equipment; Wherein, the fault that described first program exists for getting rid of described first electronic equipment is debugged.
2. the method for claim 1, is characterized in that, at the first electronic equipment by being connected with the radio communication between the second electronic equipment, before receiving the debug request instruction of described second electronic equipment transmission, also comprises:
Described first electronic equipment creates the first cordless communication network according to the communication network of the current access of described first electronic equipment, and using described first electronic equipment as the hotspot in described first cordless communication network;
Described first electronic equipment is set up described radio communication with described second electronic equipment and is connected under described first cordless communication network.
3. the method for claim 1, is characterized in that, described first electronic equipment performs described debug request instruction, debugs, comprising the first program stored in described first electronic equipment:
Described first electronic equipment carries out authentication to described second electronic equipment;
If determine, described second electronic equipment is legal, and described first electronic equipment performs described debug request instruction, debugs described first debugged program.
4. method as claimed in claim 3, it is characterized in that, described first electronic equipment carries out authentication to described second electronic equipment, comprising:
Described first electronic equipment according to the device identification of described second electronic equipment, and/or, according to the log-on message of user in described second electronic equipment, authentication is carried out to described second electronic equipment; Wherein, described log-on message is the information obtained by the debug client end in described second electronic equipment, and described debug client end is used for debugging described first electronic equipment.
5. method as claimed in claim 3, it is characterized in that, if determine, described second electronic equipment is legal, and described first electronic equipment performs described debug request order, debugs, comprising described first program:
If determine, described second electronic equipment is legal, and described first electronic equipment determines that the debug privilege of described second electronic equipment is the first debug privilege;
If determine, described first debug privilege comprises the authority of debugging described first program, and described first electronic equipment performs described debug request instruction, debugs described first program.
6. the method for claim 1, is characterized in that, after debugging the first program stored in described first electronic equipment, also comprises:
Described first electronic equipment generates the debugging recording information being used for recording the process that described first program carries out debugging process;
Described debugging recording information is sent to described second electronic equipment by described first electronic equipment.
7. the method according to any one of claim 1-6, is characterized in that, described first electronic equipment performs described debug request instruction, debugs, comprising the first program stored in described first electronic equipment:
The running log file corresponding with described debug request instruction determined by described first electronic equipment; The operation information of operation of described running log file for recording described first electronic equipment and carrying out in operational process, described operation information is used for analyzing described fault;
Described running log file is sent to described second electronic equipment by described first electronic equipment;
Described first electronic equipment receives and performs the debugging control instruction of described second electronic equipment transmission, debugs described first program; Described debugging control instruction is that described second electronic equipment is according to described running log file generated.
8. an electronic equipment, is characterized in that, comprising:
Receiver module, for by being connected with the radio communication between the second electronic equipment, receives the debug request instruction that described second electronic equipment sends;
Debugging module, for performing described debug request instruction, debugs the first program stored in described electronic equipment; Wherein debug the fault that described first program exists for getting rid of described electronic equipment.
9. electronic equipment as claimed in claim 8, it is characterized in that, described electronic equipment also comprises:
Network creation module, for being used for by being connected with the radio communication between the second electronic equipment at described receiver module, before receiving the debug request instruction of described second electronic equipment transmission, communication network according to the current access of described electronic equipment creates the first cordless communication network, and using described electronic equipment as the hotspot in described first cordless communication network;
Network sets up module, is connected for setting up described radio communication with described second electronic equipment under described first cordless communication network.
10. electronic equipment as claimed in claim 8, it is characterized in that, described debugging module is used for:
Authentication is carried out to described second electronic equipment;
If determine, described second electronic equipment is legal, then perform described debug request instruction, debugs described first debugged program.
11. electronic equipments as claimed in claim 10, is characterized in that, described debugging module is used for carrying out authentication to described second electronic equipment, is specially:
According to the device identification of described second electronic equipment, and/or, according to the log-on message of user in described second electronic equipment, authentication is carried out to described second electronic equipment; Wherein, described log-on message is the information obtained by the debug client end in described second electronic equipment, and described debug client end is used for debugging described electronic equipment.
12. electronic equipments as claimed in claim 10, is characterized in that, if described debugging module is used for determining that described second electronic equipment is legal, then performs described debug request instruction, debug, be specially described first debugged program:
If determine, described second electronic equipment is legal, determines that the debug privilege of described second electronic equipment is the first debug privilege;
If determine, described first debug privilege comprises the authority of debugging described first program, then perform described debug request instruction, debugs described first program.
13. electronic equipments as claimed in claim 8, it is characterized in that, described electronic equipment also comprises:
Generation module, after being used at described debugging module debugging described first program, generates the debugging recording information being used for recording the process that described first program carries out debugging process;
Sending module, for sending to described second electronic equipment by described debugging recording information.
14. electronic equipments according to any one of claim 8-13, it is characterized in that, described debugging module is used for:
Determine the running log file corresponding with described debug request instruction; The operation information of operation of described running log file for recording described electronic equipment and carrying out in operational process, described operation information is used for analyzing described fault;
Described running log file is sent to described second electronic equipment;
Receive and perform described second electronic equipment send debugging control instruction, described first program is debugged; Described debugging control instruction is that described second electronic equipment is according to described running log file generated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510923631.5A CN105550109A (en) | 2015-12-11 | 2015-12-11 | Equipment debugging method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510923631.5A CN105550109A (en) | 2015-12-11 | 2015-12-11 | Equipment debugging method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105550109A true CN105550109A (en) | 2016-05-04 |
Family
ID=55829303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510923631.5A Pending CN105550109A (en) | 2015-12-11 | 2015-12-11 | Equipment debugging method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105550109A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106288139A (en) * | 2016-07-22 | 2017-01-04 | 广东美的暖通设备有限公司 | The adjustment method of air-conditioning equipment and system |
CN106526501A (en) * | 2016-12-02 | 2017-03-22 | 福建龙净环保股份有限公司 | Debugging method for high-frequency high-voltage power supply equipment and terminal |
CN106568168A (en) * | 2016-10-27 | 2017-04-19 | 珠海格力电器股份有限公司 | Debugging method, debugger and system |
CN107273722A (en) * | 2017-06-21 | 2017-10-20 | 厦门盈趣汽车电子有限公司 | A kind of platform application auto-destruct system and method |
CN107562500A (en) * | 2017-08-29 | 2018-01-09 | 北京小米移动软件有限公司 | Debugging apparatus, method and apparatus |
CN108259430A (en) * | 2016-12-29 | 2018-07-06 | 航天信息股份有限公司 | A kind of equipment remote debugging method and system based on secure communication means |
CN110895030A (en) * | 2018-09-12 | 2020-03-20 | 珠海格力电器股份有限公司 | Debugging method, terminal and controlled equipment |
CN112423129A (en) * | 2020-10-26 | 2021-02-26 | 四川长虹电器股份有限公司 | Voice debugging system and method for smart television |
CN113132961A (en) * | 2021-03-15 | 2021-07-16 | 深圳市有方科技股份有限公司 | Internet of things complete equipment debugging method and device, computer equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7620802B2 (en) * | 2005-05-27 | 2009-11-17 | Panasonic Corporation | Instruction execution device, debugging method, debugging device, and debugging program |
CN201993902U (en) * | 2011-01-04 | 2011-09-28 | 康佳集团股份有限公司 | Light-emitting diode (LED) display screen wireless remote control debugging system |
CN102542961A (en) * | 2011-12-12 | 2012-07-04 | 西安诺瓦电子科技有限公司 | Hand-held wireless LED (light-emitting diode) display screen debugging device and method |
CN103135532A (en) * | 2013-01-30 | 2013-06-05 | 陈海波 | Device and method for wireless debugging fault diagnosis |
CN103472790A (en) * | 2013-09-06 | 2013-12-25 | 苏州汇川技术有限公司 | System and method for debugging elevator and smart phone |
CN103634817A (en) * | 2013-11-13 | 2014-03-12 | 国家电网公司 | Wireless debugging method for power distribution terminal based on WIFI (Wireless Fidelity) |
CN104202878A (en) * | 2014-09-04 | 2014-12-10 | 浙江生辉照明有限公司 | Illumination control system |
CN104378781A (en) * | 2013-08-16 | 2015-02-25 | 中兴通讯股份有限公司 | Method for detecting faults of mobile terminals and mobile terminals |
-
2015
- 2015-12-11 CN CN201510923631.5A patent/CN105550109A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7620802B2 (en) * | 2005-05-27 | 2009-11-17 | Panasonic Corporation | Instruction execution device, debugging method, debugging device, and debugging program |
CN201993902U (en) * | 2011-01-04 | 2011-09-28 | 康佳集团股份有限公司 | Light-emitting diode (LED) display screen wireless remote control debugging system |
CN102542961A (en) * | 2011-12-12 | 2012-07-04 | 西安诺瓦电子科技有限公司 | Hand-held wireless LED (light-emitting diode) display screen debugging device and method |
CN103135532A (en) * | 2013-01-30 | 2013-06-05 | 陈海波 | Device and method for wireless debugging fault diagnosis |
CN104378781A (en) * | 2013-08-16 | 2015-02-25 | 中兴通讯股份有限公司 | Method for detecting faults of mobile terminals and mobile terminals |
CN103472790A (en) * | 2013-09-06 | 2013-12-25 | 苏州汇川技术有限公司 | System and method for debugging elevator and smart phone |
CN103634817A (en) * | 2013-11-13 | 2014-03-12 | 国家电网公司 | Wireless debugging method for power distribution terminal based on WIFI (Wireless Fidelity) |
CN104202878A (en) * | 2014-09-04 | 2014-12-10 | 浙江生辉照明有限公司 | Illumination control system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106288139A (en) * | 2016-07-22 | 2017-01-04 | 广东美的暖通设备有限公司 | The adjustment method of air-conditioning equipment and system |
CN106568168A (en) * | 2016-10-27 | 2017-04-19 | 珠海格力电器股份有限公司 | Debugging method, debugger and system |
CN106526501A (en) * | 2016-12-02 | 2017-03-22 | 福建龙净环保股份有限公司 | Debugging method for high-frequency high-voltage power supply equipment and terminal |
CN108259430A (en) * | 2016-12-29 | 2018-07-06 | 航天信息股份有限公司 | A kind of equipment remote debugging method and system based on secure communication means |
CN107273722A (en) * | 2017-06-21 | 2017-10-20 | 厦门盈趣汽车电子有限公司 | A kind of platform application auto-destruct system and method |
CN107562500A (en) * | 2017-08-29 | 2018-01-09 | 北京小米移动软件有限公司 | Debugging apparatus, method and apparatus |
CN110895030A (en) * | 2018-09-12 | 2020-03-20 | 珠海格力电器股份有限公司 | Debugging method, terminal and controlled equipment |
CN112423129A (en) * | 2020-10-26 | 2021-02-26 | 四川长虹电器股份有限公司 | Voice debugging system and method for smart television |
CN113132961A (en) * | 2021-03-15 | 2021-07-16 | 深圳市有方科技股份有限公司 | Internet of things complete equipment debugging method and device, computer equipment and storage medium |
CN113132961B (en) * | 2021-03-15 | 2023-11-24 | 深圳市有方科技股份有限公司 | Internet of things complete machine equipment debugging method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105550109A (en) | Equipment debugging method and electronic equipment | |
CN111200535B (en) | Simulation system and method for equipment | |
US20170264451A1 (en) | Intelligent Home Terminal and Control Method of Intelligent Home Terminal | |
WO2016062002A1 (en) | Connection management method and apparatus, electrical device | |
EP3382942A1 (en) | Network service configuration method and network management device | |
EP3132621B1 (en) | Mobile terminal control method, apparatus and system | |
JP2009253811A (en) | Terminal device, network connection method, and program | |
CN105451299B (en) | A kind of method and its electronic equipment controlling WiFi connection | |
CN110740460A (en) | device network access method, device, network device and storage medium | |
CN103699481A (en) | Code debugging method and code debugging system | |
CN101909366A (en) | Wireless LAN apparatus and wireless lan adapter | |
CN104105218A (en) | Method and system for achieving Android system mobile phone hotspot WPS connection | |
CN106294027A (en) | A kind of data back up method, device, carrier server and mobile terminal | |
CN105094506A (en) | Screen unlocking method for intelligent terminal, intelligent terminal and operating platform | |
CN106445182B (en) | Key mouse screen safety switching and isolating method suitable for dual-computer environment | |
CN111400167A (en) | Redfish service compliance verification method, device, equipment and medium | |
CN105992066A (en) | Character input method and character input device applied to intelligent device | |
CN111866083A (en) | Equipment debugging system and method, equipment to be debugged, remote debugging equipment and transfer server | |
CN107548083B (en) | Wireless access point function test method and device | |
CN108885435B (en) | Control method, host, slave, mobile terminal and control system | |
CN111181771A (en) | Security changing abnormity positioning method and device based on fort machine and electronic equipment | |
CN104486662A (en) | Method for remotely controlling TV and TV | |
CN105335192B (en) | A kind of information processing method and electronic equipment | |
CN105792025A (en) | Device information obtaining method and terminal | |
CN104270317A (en) | Control method and system for operating application program on router and router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160504 |