CN107562500A - Debugging apparatus, method and apparatus - Google Patents

Debugging apparatus, method and apparatus Download PDF

Info

Publication number
CN107562500A
CN107562500A CN201710758788.6A CN201710758788A CN107562500A CN 107562500 A CN107562500 A CN 107562500A CN 201710758788 A CN201710758788 A CN 201710758788A CN 107562500 A CN107562500 A CN 107562500A
Authority
CN
China
Prior art keywords
account
debugging apparatus
debugging
module
active user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710758788.6A
Other languages
Chinese (zh)
Other versions
CN107562500B (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710758788.6A priority Critical patent/CN107562500B/en
Publication of CN107562500A publication Critical patent/CN107562500A/en
Application granted granted Critical
Publication of CN107562500B publication Critical patent/CN107562500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure is directed to a kind of debugging apparatus, method and apparatus.The debugging apparatus includes:First processing module and the communication module and interface module being connected respectively with the first processing module;The communication module, it is configured as the communication connection established between the first processing module and terminal;The interface module, it is configured as providing the interface being connected with equipment to be debugged to the first processing module;The first processing module, the program file for receiving the terminal by the communication module and sending is configured as, and described program file is passed through into the interface module programming to the equipment to be debugged.The disclosure improves the flexibility of programming.

Description

Debugging apparatus, method and apparatus
Technical field
This disclosure relates to debugging technique, more particularly to a kind of debugging apparatus, method and apparatus.
Background technology
Debugging is essential link during embedded systemic software development.Debugging is broadly divided into simulation hardware debugging Debugged with software emulation.Wherein, simulation hardware debugging relies on actual hardware device, and program actual motion is at the place of hardware device Manage in device.
In correlation technique, developer is when carrying out simulation hardware debugging, it is necessary to which will to debug the terminal that uses (such as desk-top Machine, notebook computer etc.) be connected with fever writes by serial ports, by the program file that developer is developed by fever writes to Equipment to be debugged carries out programming, for example, read-only storage (ROM, Read-Only Memory) of the programming to equipment to be debugged.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of debugging apparatus, method and apparatus.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of debugging apparatus, including:First processing module and difference The communication module and interface module being connected with the first processing module;
The communication module, it is configured as the communication connection established between the first processing module and terminal;
The interface module, it is configured as providing the interface being connected with equipment to be debugged to the first processing module;
The first processing module, the program file for receiving the terminal by the communication module and sending is configured as, and should Program file passes through the interface module programming to the equipment to be debugged.
The technical scheme provided by this disclosed embodiment can include the following benefits:Include first by debugging apparatus Processing module and the communication module and interface module being connected respectively with first processing module, wherein, communication module establish this Communication connection between one processing module and terminal, interface module provide what is be connected with equipment to be debugged to the first processing module Interface, first processing module receive the program file of terminal transmission by the communication module, and the program file is passed through into this Interface module programming is to the equipment to be debugged so that terminal can be by carrying out telecommunication, by program file with debugging apparatus Programming improves the flexibility of programming to equipment to be debugged.
Optionally, the debugging apparatus also includes:Second processing module, the data for inputting the interface module are configured as, Sent by the communication module to the terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:Second processing module is by interface mould The data of block input are sent to the terminal by communication module so that terminal runs the mistake of the program file in equipment to be debugged The data that equipment to be debugged is exported can be obtained in journey so that long-range developer can understand to be debugged set by terminal Standby working condition
Optionally, the debugging apparatus also includes:3rd processing module, it is configured as receiving the terminal by the communication module The debugging instruction of transmission, and the debugging instruction is exported by the interface module.
The technical scheme provided by this disclosed embodiment can include the following benefits:3rd processing module is logical by this Letter module receives the debugging instruction of terminal transmission, and the debugging instruction is exported by the interface module so that terminal The debugging instruction of transmission can be received by equipment to be debugged so that long-range developer can be by terminal to equipment to be debugged Send debugging instruction.
Optionally, the first processing module and the interface module are integrated in fever writes.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of method of debugging, including:
After detecting active user's account, dress is debugged according to corresponding to the current user account determines the current user account Put;
Establish and communicate to connect with the debugging apparatus;
To the debugging apparatus transmission program file, the program file is used for the debugging apparatus by the program file programming to treating Commissioning device.
The technical scheme provided by this disclosed embodiment can include the following benefits:By detecting active user's account After number, the debugging apparatus according to corresponding to the current user account obtains the current user account, establish and communicate with the debugging apparatus Connect and to the debugging apparatus transmission program file, the program file is used for the debugging apparatus by the program file programming to waiting to adjust Try equipment so that user can carry out telecommunication, by program after using terminal login account by terminal and debugging apparatus File programming improves the flexibility of programming to equipment to be debugged.
Optionally, after this detects active user's account, the current user account pair is obtained according to the current user account The debugging apparatus answered, including:
According to the account information of input, it is determined that detecting active user's account;
According to the current user account, the mark of debugging apparatus corresponding to the current user account is obtained from server;
According to the mark, debugging apparatus corresponding to the current user account is determined.
The technical scheme provided by this disclosed embodiment can include the following benefits:By being believed according to the account of input Breath determination detects active user's account, according to the current user account, obtains debugging apparatus corresponding to the current user account Mark, and the debugging apparatus according to corresponding to the mark determines the current user account realizes and detects active user's account Afterwards, the debugging apparatus according to corresponding to the current user account determines the current user account.
Optionally, multiple debugging apparatus corresponding to the current user account;
It should establish and communicate to connect with the debugging apparatus, including:
Obtain the modulating device of the current user account selected in the plurality of debugging apparatus;
Establish and communicate to connect with selected debugging apparatus.
The technical scheme provided by this disclosed embodiment can include the following benefits:By obtaining active user's account Modulating device number selected in the plurality of debugging apparatus, establish and communicate to connect with selected debugging apparatus so that terminal It can establish and communicate to connect with the debugging apparatus selected by user so that user can select used debugging apparatus, improve Flexibility.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device of debugging, including:
Determining module, it is configured as after detecting active user's account, the current use is determined according to the current user account Debugging apparatus corresponding to the account of family;
Communication module, it is configured as establishing communication connection with the debugging apparatus;
Sending module, being configured as will for the debugging apparatus to the debugging apparatus transmission program file, the program file The program file programming is to equipment to be debugged.
The technical scheme provided by this disclosed embodiment can include the following benefits:Detected and worked as by determining module After preceding user account, the debugging apparatus according to corresponding to the current user account obtains the current user account, communication module is with being somebody's turn to do Debugging apparatus establishes communication connection, and sending module fills to the debugging apparatus transmission program file, the program file for the debugging Put the program file programming to equipment to be debugged so that user, can be by terminal with adjusting after using terminal login account Carry out telecommunication is put in trial assembly, by program file programming to equipment to be debugged, improves the flexibility of programming.
Optionally, the determining module includes:
First determination sub-module, the account information according to input is configured as, it is determined that detecting active user's account;
First acquisition submodule, is configured as according to the current user account, and the current user account is obtained from server Corresponding debugging apparatus;
Second determination sub-module, it is configured as according to the mark, determines debugging apparatus corresponding to the current user account.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pass through the first determination sub-module root Determine to detect active user's account according to the account information of input, the first acquisition submodule obtains according to the current user account The mark of debugging apparatus corresponding to the current user account, the second determination sub-module determine the current user account according to the mark Corresponding debugging apparatus, realize after detecting active user's account, active user's account is determined according to the current user account Debugging apparatus corresponding to number.
Optionally, multiple debugging apparatus corresponding to the current user account;The communication module includes:
Second acquisition submodule, it is configured as obtaining the tune of the current user account selected in the plurality of debugging apparatus Device processed;
Submodule is connected, is configured as establishing communication connection with selected debugging apparatus.
The technical scheme provided by this disclosed embodiment can include the following benefits:Obtained by the second acquisition submodule The modulating device of the current user account selected in the plurality of debugging apparatus is taken, connection submodule fills with selected debugging Set up vertical communication connection so that terminal can be established with the debugging apparatus selected by user and communicated to connect so that user can select Used debugging apparatus is selected, improves flexibility.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of debugging system, including:Any one of above-mentioned first aspect institute The debugging apparatus stated, and the device of the debugging described in above-mentioned any one of the third aspect.
According to the 5th of the embodiment of the present disclosure the aspect, there is provided a kind of terminal, including:
Processor and the memory for storing computer instruction;The processor runs the computer instruction and performed Method described in above-mentioned any one of second aspect.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of computer-readable recording medium, be stored thereon with calculating Machine instructs, and the computer instruction realizes the method described in above-mentioned any one of second aspect when being executed by processor.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of block diagram of debugging apparatus according to an exemplary embodiment;
Fig. 2 is a kind of block diagram of debugging apparatus according to another exemplary embodiment;
Fig. 3 is a kind of block diagram of debugging apparatus according to further example embodiment;
Fig. 4 is a kind of flow chart of the method for debugging according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of the method for debugging according to another exemplary embodiment;
Fig. 6 is a kind of flow chart of the method for debugging according to further example embodiment;
Fig. 7 is a kind of block diagram of the device of debugging according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of the device of debugging according to another exemplary embodiment;
Fig. 9 is a kind of block diagram of the device of debugging according to further example embodiment;
Figure 10 is a kind of block diagram of the device of debugging according to further example embodiment;
Figure 11 is a kind of block diagram of the terminal 800 of debugging according to further example embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of block diagram of debugging apparatus according to an exemplary embodiment.Reference picture 1, the debugging apparatus bag Include:First processing module 101 and the communication module 102 and interface module 103 being connected respectively with the first processing module 101. Wherein, the communication module 102, it is configured as the communication connection established between the first processing module 101 and terminal;The interface mould Block 103, it is configured as providing the interface being connected with equipment to be debugged to the first processing module 101;The first processing module 101, the program file for receiving the terminal by the communication module 102 and sending is configured as, and the program file is connect by this The programming of mouth mold block 103 is to the equipment to be debugged.
Wherein, the terminal can be terminal used in developer, such as desktop computer, notebook computer etc..This waits to adjust The hardware device that examination equipment to the program developed can relied on during simulation hardware debugging by developer, developer The program burn writing developed to equipment to be debugged can be subjected to simulation hardware debugging.The communication module 102 for example can be Wireless Fidelity (Wireless Fidelity, WiFi) module, ethernet module etc. can provide the communication mould of far-distance communication service Block.The interface module 103 is such as can be serial port module, RS232 modules.The program file is specifically as follows developer's volume The file that can be run by the processor of equipment to be debugged finished writing.
The communication that first processing module 101 is included due to debugging apparatus and is connected respectively with first processing module 101 Module 102 and interface module 103, wherein, the communication link that communication module 102 is established between the first processing module 101 and terminal Connect, interface module 103 provides the interface being connected with equipment to be debugged to the first processing module 101, and first processing module 101 is logical Cross the communication module 102 receive the terminal send program file, and by the program file by the programming of interface module 103 extremely The equipment to be debugged so that terminal can be set program file programming to be debugged by carrying out telecommunication with debugging apparatus It is standby, improve the flexibility of programming.
The debugging apparatus that the present embodiment provides, first processing module is included by debugging apparatus and handled respectively with first The communication module and interface module of module connection, wherein, the communication that communication module is established between the first processing module and terminal Connection, interface module provide the interface being connected with equipment to be debugged to the first processing module, and first processing module is logical by this Letter module receives the program file of terminal transmission, and the program file to be debugged is set to this by the interface module programming It is standby so that terminal, by program file programming to equipment to be debugged, can improve burning by carrying out telecommunication with debugging apparatus The flexibility write.
Fig. 2 is a kind of block diagram of debugging apparatus according to another exemplary embodiment.Reference picture 2, the debugging apparatus On the basis of block diagram shown in Fig. 1, optionally, it can also include:Second processing module 104.
Second processing module 104, be configured as the data for inputting interface module 103, by communication module 102 send to The terminal.
Wherein, the data can be exported for the processor of the equipment to be debugged during the program file is run For indicating the data of the equipment working state to be debugged, daily record (log) can also be called.
The debugging apparatus that the present embodiment provides, Second processing module send out the data that interface module inputs by communication module Deliver to the terminal so that it is defeated that terminal can obtain equipment institute to be debugged during equipment to be debugged runs the program file The data gone out so that long-range developer can understand the working condition of equipment to be debugged by terminal.
Fig. 3 is a kind of block diagram of debugging apparatus according to further example embodiment.Reference picture 3, the debugging apparatus On the basis of block diagram shown in Fig. 1, optionally, it can also include:3rd processing module 105.
3rd processing module 105, the debugging instruction for receiving the terminal by the communication module 102 and sending is configured as, and The debugging instruction is exported by the interface module 103.
Wherein, the debugging instruction is such as can be operation suspension, single step run, set breakpoint.3rd processing module After the debugging instruction is exported by interface module, because interface module is connected with equipment to be debugged, therefore terminal is sent Debugging instruction can be received by equipment to be debugged.Further, equipment to be debugged can refer to according to the debugging that terminal device is sent Order performs.
The debugging apparatus that the present embodiment provides, the 3rd processing module receive the debugging of terminal transmission by the communication module Instruction, and the debugging instruction is exported by the interface module so that the debugging instruction that terminal is sent can be to be debugged Equipment receives so that long-range developer can send debugging instruction by terminal to equipment to be debugged.
Fig. 4 is a kind of flow chart of the method for debugging according to an exemplary embodiment, the executive agent of this method It can be terminal.As shown in figure 4, comprise the following steps:
In step 401, after detecting active user's account, the current user account is determined according to the current user account Corresponding debugging apparatus.
In this step, the current user account is specifically as follows used in user's login and the supporting software of debugging apparatus Account.Optionally, the mark of adjusting apparatus corresponding to the current user account can be obtained, and determines that this is current according to the mark Debugging apparatus corresponding to user account.Wherein, the mark of debugging apparatus can be stored in terminal corresponding to the current user account It is local, the mark of debugging apparatus corresponding to active user's frame number can be obtained by way of inquiring about local storage space;Or Person, the mark of debugging apparatus can also be stored in server corresponding to the current user account, can be obtained from the server.Its In, the mark of debugging apparatus corresponding to the current user account of terminal local storage can be that terminal is protected after server acquisition Local is stored to, or can also be by user configuration to the terminal.In this step, the debugging apparatus is specific as shown in Figure 1-Figure 3 Described in embodiment.
In step 402, establish and communicate to connect with the debugging apparatus.
In this step, communicated to connect specifically, terminal can be established by communication module and the debugging apparatus.The communication mould Block is such as can be WiFi module or ethernet module.It should be noted that the communication module and debugging apparatus in terminal Communication module should be identical, such as communication module in communication module and debugging apparatus in terminal is all WiFi module.Need Illustrate, after terminal establishes communication connection with the debugging apparatus, can be carried out between the terminal and the debugging apparatus long-range Communication.
In step 403, to the debugging apparatus transmission program file, the program file is used for the debugging apparatus by the program File programming is to equipment to be debugged.
In this step, what the program file was specifically as follows that developer writes can be by the processing of the equipment to be debugged The file of device operation.Terminal sends the program file to the debugging apparatus, by the debugging apparatus by the program file programming extremely The equipment to be debugged.Specifically, what can be inputted according to user is used for the burning of the program file programming to the equipment to be debugged Write command, the program file is sent to the device to be debugged.
The method of the debugging of the present embodiment, after detecting active user's account, obtained according to the current user account Debugging apparatus corresponding to the current user account, communicated to connect with debugging apparatus foundation and literary to the debugging apparatus transmission program Part, the program file are used for the debugging apparatus by the program file programming to equipment to be debugged so that user steps in using terminal After recording account, telecommunication can be carried out by terminal and debugging apparatus, by program file programming to equipment to be debugged, improved The flexibility of programming.
Fig. 5 is a kind of flow chart of the method for debugging according to another exemplary embodiment.The present embodiment is in Fig. 4 institutes Show after essentially describing on the basis of embodiment and detecting active user's account, the current use is determined according to the current user account A kind of optional implementation of debugging apparatus corresponding to the account of family.As shown in figure 5, comprise the following steps:
In step 501, according to the account information of input, it is determined that detecting active user's account.
In this step, when user inputs account information in the login interface of the software supporting with debugging apparatus, Ke Yigen Determine to detect active user's account according to the account information of input.Wherein, user's account can be included in the account information of the input Number, included user account is active user's account in the account information.
In step 502, according to the current user account, the mark of debugging apparatus corresponding to the current user account is obtained Know.
In this step, optionally, the current user account can be sent to server, and receive server return The mark of debugging apparatus corresponding to the current user account.Due to user usually required when logging in software input account information and Password, and the account information of input and password are sent to server and verified, therefore server after a successful authentication may be used So that the mark of debugging apparatus corresponding to the user account in account information is returned into terminal.
In step 503, according to the mark, debugging apparatus corresponding to the current user account is determined.
The method of the debugging of the present embodiment, by being determined to detect active user's account, root according to the account information of input According to the current user account, the mark of debugging apparatus corresponding to the current user account is obtained, and determines to deserve according to the mark Debugging apparatus corresponding to preceding user account, realize after detecting active user's account, being determined according to the current user account should Debugging apparatus corresponding to active user's account.
Fig. 6 is a kind of flow chart of the method for debugging according to further example embodiment.The present embodiment is in Fig. 4 institutes Show and essentially describe a kind of optional implementation during multiple debugging apparatus corresponding to active user's account on the basis of embodiment. As shown in fig. 6, comprise the following steps:
In step 601, the modulating device of the current user account selected in the plurality of debugging apparatus is obtained.
In this step, dynamic debugging device selected by the user can be one in the plurality of debugging apparatus or more It is individual.Before step 601, it can also include:Multiple debugging apparatus corresponding to the current user account are shown to user.Specifically, It may be displayed in the interface of the software supporting with debugging apparatus.
Step 602 and selected debugging apparatus, which are established, to be communicated to connect.
The method of the debugging of the present embodiment, by obtaining the current user account selected in the plurality of debugging apparatus Modulating device, establish and communicate to connect with selected debugging apparatus so that terminal can be built with the debugging apparatus selected by user Vertical communication connection so that user can select used debugging apparatus, improve flexibility.
Optionally, on the basis of Fig. 4-embodiment illustrated in fig. 6, can also include after step 403:Filled by the debugging Put to the equipment to be debugged and send debugging instruction.Here, the debugging apparatus can future self terminal debugging instruction be pass-through to this Equipment to be debugged.Debugging instruction is sent to the device to be debugged by the equipment to be debugged by terminal so that what terminal was sent Debugging instruction can be received by equipment to be debugged so that long-range developer can be sent to equipment to be debugged by terminal and be adjusted Examination instruction.
Optionally, on the basis of Fig. 4-embodiment illustrated in fig. 6, can also include after step 403:It is to be debugged to receive this The data that equipment is sent by the debugging apparatus.Here, the debugging apparatus can be by the data penetration transmission from the equipment to be debugged To the terminal.The data that the equipment to be debugged sent by the debugging apparatus are received by terminal so that terminal is set to be debugged The data that equipment to be debugged is exported can be obtained during the received shipment row program file so that long-range developer can The working condition of equipment to be debugged is understood by terminal.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 7 is a kind of block diagram of the device of debugging according to an exemplary embodiment.The device can by software, Hardware or both is implemented in combination with as some or all of of terminal.Reference picture 7, the device include:Determining module 701, Communication module 702 and sending module 703.Wherein,
Determining module 701, it is configured as after detecting active user's account, determines that this is current according to the current user account Debugging apparatus corresponding to user account;
Communication module 702, it is configured as establishing communication connection with the debugging apparatus that determining module 701 determines;
Sending module 703, it is configured as establishing the debugging apparatus transmission program text of communication connection to communication module 702 Part, the program file are used for the debugging apparatus by the program file programming to equipment to be debugged.
In summary, the device for the debugging that the embodiment of the present disclosure provides, active user's account is detected by determining module Afterwards, debugging apparatus, communication module are built with the debugging apparatus according to corresponding to the current user account obtains the current user account Vertical communication connection, for sending module to the debugging apparatus transmission program file, the program file is used for the debugging apparatus by the program File programming is to equipment to be debugged so that user can pass through terminal and be carried out with debugging apparatus after using terminal login account Telecommunication, by program file programming to equipment to be debugged, improve the flexibility of programming.
Fig. 8 is a kind of block diagram of the device of debugging according to another exemplary embodiment.Reference picture 8, the device exist On the basis of block diagram shown in Fig. 7, optionally, the determining module 701 can include:First determination sub-module 7011, first obtains The determination sub-module 7013 of submodule 7012 and second.Wherein,
First determination sub-module 7011, is configured as the account information according to input, it is determined that detecting active user's account;
First acquisition submodule 7012, it is configured as according to the current user account, it is corresponding obtains the current user account Debugging apparatus mark;
Second determination sub-module 7013, it is configured as according to the mark, determines debugging dress corresponding to the current user account Put.
In summary, the device for the debugging that the embodiment of the present disclosure provides, the account by the first determination sub-module according to input Number information determines to detect active user's account, and the first acquisition submodule obtains the active user according to the current user account The mark of debugging apparatus corresponding to account, the second determination sub-module are debugged according to corresponding to the mark determines the current user account Device, realize after detecting active user's account, the tune according to corresponding to the current user account determines the current user account Trial assembly is put.
Fig. 9 is a kind of block diagram of the device of debugging according to further example embodiment.Reference picture 9, the device exist On the basis of block diagram shown in Fig. 7, optionally, multiple debugging apparatus corresponding to the current user account;The communication module 702 is wrapped Include:Second acquisition submodule 7021 and connection submodule 7022.
Second acquisition submodule 7021, it is configured as obtaining the current user account selected in the plurality of debugging apparatus Modulating device;
Submodule 7022 is connected, is configured as establishing communication connection with selected debugging apparatus.
It should be noted that the above-mentioned He of second acquisition submodule 7021 can also be included on the basis of block diagram shown in Fig. 8 Connect submodule 7022.
In summary, the device for the debugging that the embodiment of the present disclosure provides, the current use is obtained by the second acquisition submodule Modulating device of the family account selected in the plurality of debugging apparatus, connection submodule are established with selected debugging apparatus and communicated Connection so that terminal can be established with the debugging apparatus selected by user and communicated to connect so that used in user can select Debugging apparatus, improve flexibility.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 10 is a kind of block diagram of terminal according to further example embodiment, and as shown in Figure 10, the terminal can be with Including:Processor 1001 and the memory 1002 for storing computer instruction.
Wherein, processor 1001 runs the computer instruction and performs following methods:
After detecting active user's account, dress is debugged according to corresponding to the current user account determines the current user account Put;
Establish and communicate to connect with the debugging apparatus;
To the debugging apparatus transmission program file, the program file is used for the debugging apparatus by the program file programming to treating Commissioning device.
Optionally, after this detects active user's account, the current user account pair is determined according to the current user account The debugging apparatus answered, including:
According to the account information of input, it is determined that detecting active user's account;
According to the current user account, the mark of debugging apparatus corresponding to the current user account is obtained;
According to the mark, debugging apparatus corresponding to the current user account is determined.
Optionally, multiple debugging apparatus corresponding to the current user account;
It should establish and communicate to connect with the debugging apparatus, including:
Obtain the modulating device of the current user account selected in the plurality of debugging apparatus;
Establish and communicate to connect with selected debugging apparatus.
Figure 11 is a kind of block diagram of terminal 800 according to further example embodiment.For example, terminal 800 can be Mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
Reference picture 11, terminal 800 can include following one or more assemblies:Processing component 802, memory 804, electric power Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
Processing component 802 generally controls the integrated operation of terminal 800, is such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application program or method for being operated in terminal 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of terminal 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for terminal 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the terminal 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when terminal 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for terminal 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of equipment 800, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 800, and sensor cluster 814 can be with 800 1 components of detection terminal 800 or terminal Position change, the existence or non-existence that user contacts with terminal 800, the orientation of terminal 800 or acceleration/deceleration and terminal 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned Fig. 4, Fig. 5 or Fig. 6 institute The method shown.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of terminal 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the computing device of terminal When so that terminal is able to carry out a kind of method of debugging, and this method includes:
After detecting active user's account, dress is debugged according to corresponding to the current user account determines the current user account Put;
Establish and communicate to connect with the debugging apparatus;
To the debugging apparatus transmission program file, the program file is used for the debugging apparatus by the program file programming to treating Commissioning device.
Optionally, after this detects active user's account, the current user account pair is determined according to the current user account The debugging apparatus answered, including:
According to the account information of input, it is determined that detecting active user's account;
According to the current user account, the mark of debugging apparatus corresponding to the current user account is obtained;
According to the mark, debugging apparatus corresponding to the current user account is determined.
Optionally, multiple debugging apparatus corresponding to the current user account;
It should establish and communicate to connect with the debugging apparatus, including:
Obtain the modulating device of the current user account selected in the plurality of debugging apparatus;
Establish and communicate to connect with selected debugging apparatus.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit will by right Book is asked to point out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims System.

Claims (11)

  1. A kind of 1. debugging apparatus, it is characterised in that including:First processing module and it is connected respectively with the first processing module Communication module and interface module;
    The communication module, it is configured as the communication connection established between the first processing module and terminal;
    The interface module, it is configured as providing the interface being connected with equipment to be debugged to the first processing module;
    The first processing module, the program file for receiving the terminal by the communication module and sending is configured as, and will Described program file passes through the interface module programming to the equipment to be debugged.
  2. 2. debugging apparatus according to claim 1, it is characterised in that the debugging apparatus also includes:Second processing module, The data for inputting the interface module are configured as, are sent by the communication module to the terminal.
  3. 3. debugging apparatus according to claim 1, it is characterised in that the debugging apparatus also includes:3rd processing module, The debugging instruction for receiving the terminal by the communication module and sending is configured as, and the debugging instruction is connect by described Mouth mold block is exported.
  4. 4. according to the debugging apparatus described in claim any one of 1-3, it is characterised in that the first processing module and described connect Mouth mold block is integrated in fever writes.
  5. A kind of 5. method of debugging, it is characterised in that including:
    After detecting active user's account, dress is debugged according to corresponding to active user's account determines active user's account Put;
    Establish and communicate to connect with the debugging apparatus;
    To the debugging apparatus transmission program file, described program file is used for the debugging apparatus by described program file programming To equipment to be debugged.
  6. 6. according to the method for claim 5, it is characterised in that it is described detect active user's account after, according to it is described work as Preceding user account determines debugging apparatus corresponding to active user's account, including:
    According to the account information of input, it is determined that detecting active user's account;
    According to active user's account, the mark of debugging apparatus corresponding to active user's account is obtained;
    According to the mark, debugging apparatus corresponding to active user's account is determined.
  7. 7. the method according to claim 5 or 6, it is characterised in that multiple debugging dresses corresponding to active user's account Put;
    Described established with the debugging apparatus communicates to connect, including:
    Obtain modulating device of the active user's account selected in the multiple debugging apparatus;
    Establish and communicate to connect with selected debugging apparatus.
  8. A kind of 8. device of debugging, it is characterised in that including:
    Determining module, it is configured as after detecting active user's account, the current use is determined according to active user's account Debugging apparatus corresponding to the account of family;
    Communication module, it is configured as establishing communication connection with the debugging apparatus;
    Sending module, it is configured as being used for the debugging apparatus to the debugging apparatus transmission program file, described program file By described program file programming to equipment to be debugged.
  9. 9. device according to claim 8, it is characterised in that the determining module includes:
    First determination sub-module, the account information according to input is configured as, it is determined that detecting active user's account;
    First acquisition submodule, it is configured as according to active user's account, obtains and adjusted corresponding to active user's account The mark that trial assembly is put;
    Second determination sub-module, it is configured as according to the mark, determines debugging apparatus corresponding to active user's account.
  10. 10. device according to claim 8 or claim 9, it is characterised in that multiple debugging dresses corresponding to active user's account Put;The communication module includes:
    Second acquisition submodule, it is configured as obtaining tune of the active user's account selected in the multiple debugging apparatus Device processed;
    Submodule is connected, is configured as establishing communication connection with selected debugging apparatus.
  11. A kind of 11. terminal, it is characterised in that including:
    Processor and the memory for storing computer instruction;The processor runs the computer instruction perform claim It is required that the method described in any one of 5-7.
CN201710758788.6A 2017-08-29 2017-08-29 Debugging device, method and equipment Active CN107562500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710758788.6A CN107562500B (en) 2017-08-29 2017-08-29 Debugging device, method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710758788.6A CN107562500B (en) 2017-08-29 2017-08-29 Debugging device, method and equipment

Publications (2)

Publication Number Publication Date
CN107562500A true CN107562500A (en) 2018-01-09
CN107562500B CN107562500B (en) 2021-07-13

Family

ID=60977572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710758788.6A Active CN107562500B (en) 2017-08-29 2017-08-29 Debugging device, method and equipment

Country Status (1)

Country Link
CN (1) CN107562500B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334453A (en) * 2018-02-28 2018-07-27 深圳创维数字技术有限公司 A kind of file adjustment method, device, terminal device and storage medium
CN111338673A (en) * 2020-02-21 2020-06-26 Oppo(重庆)智能科技有限公司 Equipment debugging method and device, electronic equipment and storage medium
CN111831471A (en) * 2019-04-18 2020-10-27 华为终端有限公司 User terminal, debugging equipment and data backup method
CN112478966A (en) * 2020-11-26 2021-03-12 无锡英威腾电梯控制技术有限公司 Elevator, debugging method, debugging platform and debugging terminal thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1752946A (en) * 2005-10-31 2006-03-29 大唐微电子技术有限公司 Debugging method of embedded system and its system
CN102143606A (en) * 2011-03-07 2011-08-03 中国农业大学 Wireless sensor network gateway for farmland information acquisition
CN102820061A (en) * 2012-08-31 2012-12-12 东北大学 Embedded remote device program programmer device and method
CN104298602A (en) * 2014-10-27 2015-01-21 北京神州绿盟信息安全科技股份有限公司 Method and device for debugging application program
CN104320520A (en) * 2014-10-14 2015-01-28 小米科技有限责任公司 Terminal commissioning method and device
CN105094914A (en) * 2015-08-07 2015-11-25 珠海格力电器股份有限公司 Remote online programming method, device and system
CN105550109A (en) * 2015-12-11 2016-05-04 四川长虹电器股份有限公司 Equipment debugging method and electronic equipment
CN105721568A (en) * 2016-02-02 2016-06-29 清华大学 Remote debugging system, method and device
CN105931540A (en) * 2016-04-27 2016-09-07 北京航空航天大学 FPGA-based on-line experiment system and on-line experiment method
CN107015912A (en) * 2017-05-26 2017-08-04 网易(杭州)网络有限公司 Realize system, method, device and the electronic equipment of remote debugging

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1752946A (en) * 2005-10-31 2006-03-29 大唐微电子技术有限公司 Debugging method of embedded system and its system
CN102143606A (en) * 2011-03-07 2011-08-03 中国农业大学 Wireless sensor network gateway for farmland information acquisition
CN102820061A (en) * 2012-08-31 2012-12-12 东北大学 Embedded remote device program programmer device and method
CN104320520A (en) * 2014-10-14 2015-01-28 小米科技有限责任公司 Terminal commissioning method and device
CN104298602A (en) * 2014-10-27 2015-01-21 北京神州绿盟信息安全科技股份有限公司 Method and device for debugging application program
CN105094914A (en) * 2015-08-07 2015-11-25 珠海格力电器股份有限公司 Remote online programming method, device and system
CN105550109A (en) * 2015-12-11 2016-05-04 四川长虹电器股份有限公司 Equipment debugging method and electronic equipment
CN105721568A (en) * 2016-02-02 2016-06-29 清华大学 Remote debugging system, method and device
CN105931540A (en) * 2016-04-27 2016-09-07 北京航空航天大学 FPGA-based on-line experiment system and on-line experiment method
CN107015912A (en) * 2017-05-26 2017-08-04 网易(杭州)网络有限公司 Realize system, method, device and the electronic equipment of remote debugging

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
董武 等: "基于W5300的以太网和串口数据相互转换***设计", 《制造业自动化》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108334453A (en) * 2018-02-28 2018-07-27 深圳创维数字技术有限公司 A kind of file adjustment method, device, terminal device and storage medium
CN108334453B (en) * 2018-02-28 2021-07-20 深圳创维数字技术有限公司 File debugging method and device, terminal equipment and storage medium
CN111831471A (en) * 2019-04-18 2020-10-27 华为终端有限公司 User terminal, debugging equipment and data backup method
CN111831471B (en) * 2019-04-18 2023-03-03 华为终端有限公司 User terminal, debugging equipment and data backup method
US11966299B2 (en) 2019-04-18 2024-04-23 Huawei Technologies Co., Ltd. User terminal, debugging device, and data backup method
CN111338673A (en) * 2020-02-21 2020-06-26 Oppo(重庆)智能科技有限公司 Equipment debugging method and device, electronic equipment and storage medium
CN111338673B (en) * 2020-02-21 2023-12-01 Oppo(重庆)智能科技有限公司 Equipment debugging method and device, electronic equipment and storage medium
CN112478966A (en) * 2020-11-26 2021-03-12 无锡英威腾电梯控制技术有限公司 Elevator, debugging method, debugging platform and debugging terminal thereof

Also Published As

Publication number Publication date
CN107562500B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN106603667A (en) Screen information sharing method and device
CN103944963B (en) Method of data synchronization, device, equipment and system
CN103986969B (en) application management method, device and system
CN105117033B (en) The connection method of external equipment and device
CN107066172A (en) The document transmission method and device of mobile terminal
CN107562500A (en) Debugging apparatus, method and apparatus
CN107204883A (en) Network failure processing method and device
CN106231640A (en) Wireless access point switching method and device
CN105159496A (en) Touch event response method and mobile terminal
CN104468581B (en) The method and device of login application program
CN106204029A (en) The method and apparatus of Quick Response Code payment
CN107371052A (en) Apparatus control method and device
CN106126025A (en) Replicate the exchange method and device pasted
CN107682538A (en) The display methods and device of application interface
CN108108671A (en) Description of product information acquisition method and device
CN107819740A (en) Verification method, terminal device, audio amplifier and the server of terminal device
CN107368280A (en) Method for controlling volume, device and the interactive voice equipment of interactive voice
CN104640062A (en) Method and device for transmitting information
CN104539497B (en) Method for connecting network and device
CN106302116A (en) Message method and device
CN107371222A (en) Virtual card prohibited method and device
CN107819836A (en) The remapping method and device of facility information
CN104836882B (en) The processing method and processing device of contact details
CN106909481A (en) Interface test method, interface test device and electronic equipment
CN106778198A (en) Perform the safety certifying method and device of operation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant