[go: up one dir, main page]

CN108628690A - Debugging system and method for embedded device - Google Patents

Debugging system and method for embedded device Download PDF

Info

Publication number
CN108628690A
CN108628690A CN201710160591.2A CN201710160591A CN108628690A CN 108628690 A CN108628690 A CN 108628690A CN 201710160591 A CN201710160591 A CN 201710160591A CN 108628690 A CN108628690 A CN 108628690A
Authority
CN
China
Prior art keywords
debugging
computer
embedded device
embedded
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710160591.2A
Other languages
Chinese (zh)
Inventor
张世杰
黄哲彦
张正旻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Primax Electronics Ltd
Original Assignee
Primax Electronics 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 Primax Electronics Ltd filed Critical Primax Electronics Ltd
Priority to CN201710160591.2A priority Critical patent/CN108628690A/en
Publication of CN108628690A publication Critical patent/CN108628690A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0712Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a virtual computing platform, e.g. logically partitioned systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Mathematical Physics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a debugging system and a method thereof for an embedded device, comprising the following steps: the embedded device is provided with a processing unit and a memory unit, wherein the memory unit is provided with a temporary storage area for storing debugging data; the mobile storage device is provided with a debugging data control unit and a storage unit; the computer is electrically connected with the embedded device and the mobile storage device; the debugging data control unit transmits debugging requirement information to the embedded device through the computer, the embedded device returns the debugging data in the temporary storage area to the computer, and the computer transmits the debugging data to the mobile storage device and stores the debugging data in the storage unit.

Description

嵌入式装置排错系统及其方法Embedded device debugging system and method thereof

技术领域technical field

本发明涉及一种嵌入式装置的应用领域,特别涉及一种关于嵌入式装置的排错系统及其方法。The invention relates to the application field of an embedded device, in particular to a debugging system and a method for the embedded device.

背景技术Background technique

嵌入式系统(Embedded System),是一种嵌入机械设备或电气装置且具有特定功能的电脑系统,不同于个人电脑可通过安装各种不同的程序以处理不同的运算需求,嵌入式系统仅能处理并控制单一一种特定的功能,藉此提升该特定功能的可靠性及运行效率。Embedded System (Embedded System) is a computer system embedded in mechanical equipment or electrical devices and has specific functions. Unlike personal computers, which can handle different computing needs by installing various programs, embedded systems can only process And control a single specific function, thereby improving the reliability and operating efficiency of the specific function.

如今,嵌入式的系统或装置已大量地应用于电信系统、消费型电子产品、智慧家电设备及系统、交通及运输系统与医疗设备及系统等。一般的个人电脑于开机时可进行自我测试程序以测试个人电脑中各硬件元件是否可正常运行。若有硬件故障时,可根据不同的测试点输出特定的代码并于显示装置中进行显示,而维修人员便可从显示的代码得知故障的原因以进行后续的维修工作。但嵌入式装置并不同于一般的个人电脑,其通常都不具有键盘、屏幕或硬盘等元件,因此维修人员需要将嵌入式装置内的排错数据通过特殊的排错装置上传至电脑中以进行排错的工作。早期如台湾专利公告第TWI348615号中提出一种排错装置,该排错装置可通过相容于嵌入式装置的界面接口来读取嵌入式装置存储器内所储存的排错信息;近期如台湾专利公告第TWI546660号提出一种排错系统,该排错系统的中的计算机通过内电路仿真器读取嵌入式装置存储器单元内的排错信息。由于嵌入式装置的传输界面接口种类繁多,因此特定的排错装置或内电路仿真器仅能适用于特定的嵌入式装置,如此维修人员在维修嵌入式装置时,需携带多种不同的排错装置或内电路仿真器以读取嵌入式装置内的排错数据,如此可能造成维修上的不便。此外一般嵌入式装置的使用者并不了解排错装置或内电路仿真器的使用方式,因此并无法自行进行检测,当嵌入式装置发生故障时,往往需要将整台嵌入式装置送修或等待维修人员前来进行检修,如此不仅浪费时间亦造成了使用者的不便。Today, embedded systems or devices have been widely used in telecommunication systems, consumer electronics products, smart home appliances and systems, transportation and transportation systems, and medical equipment and systems. A general personal computer can perform a self-test program to test whether each hardware component in the personal computer can operate normally when it is turned on. If there is a hardware failure, specific codes can be output according to different test points and displayed on the display device, and maintenance personnel can learn the cause of the failure from the displayed codes for subsequent maintenance work. However, embedded devices are different from ordinary personal computers. They usually do not have components such as keyboards, screens, or hard disks. Therefore, maintenance personnel need to upload the debugging data in the embedded devices to the computer through a special debugging device for further processing. Troubleshooting work. In the early days, a kind of debugging device was proposed in Taiwan Patent Publication No. TWI348615, which can read the debugging information stored in the memory of the embedded device through an interface interface compatible with the embedded device; Publication No. TWI546660 proposes a debugging system, in which a computer reads debugging information in a memory unit of an embedded device through an in-circuit emulator. Due to the wide variety of transmission interface interfaces of embedded devices, specific debug devices or in-circuit emulators can only be applied to specific embedded devices, so maintenance personnel need to carry a variety of different debug devices when repairing embedded devices Device or in-circuit emulator to read the debug data in the embedded device, which may cause inconvenience in maintenance. In addition, users of general embedded devices do not know how to use debug devices or internal circuit emulators, so they cannot perform testing by themselves. When an embedded device fails, it is often necessary to send the entire embedded device for repair or wait. Maintenance personnel come to carry out maintenance, so not only wasting time but also causing inconvenience to users.

是以,如何简化嵌入式装置的检测程序,且让一般的使用者也可简易地进行检测的工作,为本发明欲解决的技术课题。Therefore, how to simplify the detection procedure of the embedded device and make it easy for ordinary users to perform the detection work is the technical problem to be solved by the present invention.

发明内容Contents of the invention

本发明的主要目的,在于提供一种简化的嵌入式装置检测程序,且一般的使用者亦可简易地使用该排错装置进行嵌入式装置的检测工作。The main purpose of the present invention is to provide a simplified testing program for embedded devices, and ordinary users can easily use the debugging device to test embedded devices.

为达前述的目的,本发明提供一种嵌入式装置排错系统,包括:To achieve the aforementioned purpose, the present invention provides an embedded device debugging system, comprising:

嵌入式装置,具有处理单元及存储器单元,存储器单元具有暂存区用以储存排错数据;The embedded device has a processing unit and a memory unit, and the memory unit has a temporary storage area for storing debugging data;

移动式储存装置,具有排错数据控制单元及储存单元;以及A removable storage device having a debug data control unit and a storage unit; and

计算机,计算机电性连接嵌入式装置及移动式储存装置;Computers, computers are electrically connected to embedded devices and mobile storage devices;

其中,排错数据控制单元通过计算机传送排错需求信息予嵌入式装置,嵌入式装置回传暂存区中的排错数据予计算机,计算机传送排错数据至移动式储存装置并储存于储存单元。Wherein, the debugging data control unit sends the debugging demand information to the embedded device through the computer, and the embedded device returns the debugging data in the temporary storage area to the computer, and the computer sends the debugging data to the mobile storage device and stores them in the storage unit .

于上述优选实施方式中,其中移动式储存装置通过第一传输界面接口与计算机电性连接,第一传输界面接口为通用序列总线界面接口。In the preferred embodiment above, wherein the mobile storage device is electrically connected to the computer through a first transmission interface, and the first transmission interface is a Universal Serial Bus interface.

于上述优选实施方式中,其中计算机通过第二传输界面接口与嵌入式装置电性连接,第二传输界面接口为:RS-232界面接口、通用序列总线界面接口或LPT界面接口。In the preferred embodiment above, the computer is electrically connected to the embedded device through a second transmission interface, and the second transmission interface is: RS-232 interface, Universal Serial Bus interface or LPT interface.

于上述优选实施方式中,其中移动式储存装置包括加密模块,加密模块用以对移动式储存装置进行加密步骤。In the above preferred implementation manner, the removable storage device includes an encryption module, and the encryption module is used to encrypt the removable storage device.

于上述优选实施方式中,其中加密模块用以对储存单元中的排错数据进行加密步骤。In the preferred embodiment above, the encryption module is used to encrypt the debug data in the storage unit.

于上述优选实施方式中,其中计算机为:台式电脑、笔记本电脑、平板或个人数字助理。In the preferred embodiment above, the computer is: a desktop computer, a notebook computer, a tablet or a personal digital assistant.

本发明另提供一种嵌入式装置排错方法,适用于嵌入式装置,嵌入式装置排错方法包括下列步骤:The present invention also provides a method for troubleshooting embedded devices, which is suitable for embedded devices. The method for troubleshooting embedded devices includes the following steps:

(a).计算机判断是否接收到排错需求信息,若否,则继续执行步骤(a),若是,则进行下一步骤;(a). The computer judges whether the troubleshooting request information is received, if not, proceed to step (a), and if so, proceed to the next step;

(b).计算机传送排错需求信息至嵌入式装置;(b). The computer transmits the troubleshooting request information to the embedded device;

(c).嵌入式装置回传存储器单元暂存区的排错数据至计算机;(c). The embedded device returns the debugging data in the temporary storage area of the memory unit to the computer;

(d).计算机传送排错数据至移动式储存装置;以及(d). The computer sends the debug data to the removable storage device; and

(e).移动式储存装置进行加密步骤。(e). The removable storage device performs an encryption step.

于上述优选实施方式中,其中于步骤(d)中,移动式储存装置储存排错数据于储存单元。In the above preferred embodiment, wherein in the step (d), the removable storage device stores the debug data in the storage unit.

于上述优选实施方式中,其中于步骤(e)中,加密步骤用以加密移动式储存装置。In the above preferred embodiment, wherein in the step (e), the encryption step is used to encrypt the removable storage device.

于上述优选实施方式中,其中于步骤(e)中,加密步骤用以加密储存单元中的排错数据。In the above preferred embodiment, wherein in the step (e), the encryption step is used to encrypt the debug data in the storage unit.

附图说明Description of drawings

图1:为本发明所提供的嵌入式装置排错系统;以及Figure 1: The embedded device debugging system provided by the present invention; and

图2:为本发明所提供嵌入式装置排错方法的流程图。FIG. 2 is a flow chart of the debugging method for an embedded device provided by the present invention.

附图说明:Description of drawings:

S100~S104 步骤Steps from S100 to S104

10 移动式储存装置10 removable storage devices

101 按键101 keys

102 排错数据控制单元102 Error data control unit

103 储存单元103 storage units

104 加密模块104 encryption module

20 计算机20 computers

30 嵌入式装置30 Embedded devices

301 处理单元301 processing unit

302 存储器单元302 memory cells

3021 暂存区3021 temporary storage area

40 第一传输界面接口40 The first transmission interface interface

50 第二传输界面接口50 Second transmission interface interface

具体实施方式Detailed ways

本发明的优点及特征以及达到其方法将参照例示性实施例及附图进行更详细的描述而更容易理解。然而,本发明可以不同形式来实现且不应被理解仅限于此处所陈述的实施例。相反地,对所属技术领域技术人员而言,所提供的此些实施例将使本公开更加透彻与全面且完整地传达本发明的实施方式。The advantages and features of the present invention and methods for attaining the same will be more easily understood by more detailed description with reference to exemplary embodiments and accompanying drawings. However, the invention may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, for those skilled in the art, these embodiments are provided to make this disclosure more thorough, comprehensive and fully convey the implementation of the present invention.

首先,请参阅图1所示,图1为本发明所提供的嵌入式装置排错系统,所述的嵌入式装置排错系统包括:移动式储存装置10、计算机20及嵌入式装置30。移动式储存装置10内部设置有:按键101、排错数据控制单元102、储存单元103以及加密模块104。其中,按键101用以驱动并控制排错数据控制单元102传送排错需求信息或用以输入加密模块104所需的密码。计算机20则通过第一传输界面接口40与移动式储存装置10电性连接,并通过第二传输界面接口50与嵌入式装置30电性连接。本发明所述的计算机20可为:台式电脑、笔记本电脑、平板或个人数字助理等,其中第一传输界面接口40为通用序列总线界面接口(Universal Serial Bus,USB);第二传输界面接口50可为:RS-232界面接口、通用序列总线界面接口或LPT界面接口(Line Printer Terminal)。嵌入式装置30包括:处理单元301及存储器单元302,处理单元301用以控制嵌入式装置30的运行及执行侦错程序(未示于图中),并将执行侦错程序所得到的排错数据储存于存储器单元302的暂存区3021之中。First, please refer to FIG. 1 . FIG. 1 is an embedded device debugging system provided by the present invention. The embedded device debugging system includes: a mobile storage device 10 , a computer 20 and an embedded device 30 . The removable storage device 10 is internally provided with: a key 101 , a debug data control unit 102 , a storage unit 103 and an encryption module 104 . Wherein, the button 101 is used to drive and control the debugging data control unit 102 to transmit the debugging request information or to input the password required by the encryption module 104 . The computer 20 is electrically connected to the mobile storage device 10 through the first transmission interface 40 , and is electrically connected to the embedded device 30 through the second transmission interface 50 . The computer 20 of the present invention can be: a desktop computer, a notebook computer, a tablet or a personal digital assistant, etc., wherein the first transmission interface interface 40 is a Universal Serial Bus interface interface (Universal Serial Bus, USB); the second transmission interface interface 50 It can be: RS-232 interface interface, universal serial bus interface interface or LPT interface interface (Line Printer Terminal). The embedded device 30 includes: a processing unit 301 and a memory unit 302. The processing unit 301 is used to control the operation of the embedded device 30 and execute a debug program (not shown in the figure), and execute the debug program obtained by executing the debug program. Data is stored in the temporary storage area 3021 of the memory unit 302 .

请继续参阅图1,在移动式储存装置10、计算机20及嵌入式装置30三者电性连接的状态下,当使用者按下移动式储存装置10的按键101时,排错数据控制单元102随即通过第一传输界面接口40传送排错需求信息予计算机20,计算机20将接收到的排错需求信息转而传送至嵌入式装置30。嵌入式装置30在接收到排错需求信息后,即回传存储器单元302的暂存区3021中的排错数据至计算机20。计算机20将所接收到的排错数据传送至移动式储存装置10,移动式储存装置10随后将所接收到的排错数据储存于储存单元103之中。而为提升排错数据的保密性,移动式储存装置10进一步利用加密模块104对移动式储存装置10进行加密步骤,使用者可通过按键101输入密码对移动式储存装置10进行硬件加密,或加密模块104以RSA演算法方式对储存单元103中所储存的排错数据进行文件加密。移动式储存装置10于加密完成后,于再次使用时需输入密码进行解码以恢复使用权限,方能存取移动式储存装置10或读取储存单元103中所储存的排错数据,加密的设计可避免移动式储存装置10遗失时,嵌入式装置30排错数据的外泄。此外使用者或维修人员可利用计算机20的显示装置(未示于图中)明确得知排错数据传送至移动式储存装置10的传送状态及是否已传送完成,如此便可让使用者或维修人员得知检测程序是否已执行完毕。另一方面,移动式储存装置10可通过按键101的操作以驱动排错数据的传送,让使用者或维修人员毋须再通过计算机20进行额外的操作程序,如此亦可简化嵌入式装置30的检测程序而方便使用者或维修人员使用。Please continue to refer to FIG. 1. In the state where the mobile storage device 10, the computer 20 and the embedded device 30 are electrically connected, when the user presses the button 101 of the mobile storage device 10, the debug data control unit 102 Immediately, the debugging request information is sent to the computer 20 through the first transmission interface 40 , and the computer 20 forwards the received debugging request information to the embedded device 30 . After receiving the debugging request information, the embedded device 30 returns the debugging data in the temporary storage area 3021 of the memory unit 302 to the computer 20 . The computer 20 transmits the received debugging data to the mobile storage device 10 , and the mobile storage device 10 then stores the received debugging data in the storage unit 103 . In order to improve the confidentiality of the debugging data, the mobile storage device 10 further utilizes the encryption module 104 to perform an encryption step on the mobile storage device 10. The user can enter a password through the key 101 to perform hardware encryption on the mobile storage device 10, or encrypt The module 104 performs file encryption on the debug data stored in the storage unit 103 by means of RSA algorithm. After the encryption of the mobile storage device 10 is completed, when it is used again, a password needs to be input for decoding to restore the use authority, so that the mobile storage device 10 can be accessed or the debug data stored in the storage unit 103 can be read. The encrypted design When the removable storage device 10 is lost, the leakage of the debug data of the embedded device 30 can be avoided. In addition, the user or maintenance personnel can use the display device (not shown in the figure) of the computer 20 to clearly know the transmission status of the debugging data to the mobile storage device 10 and whether the transmission has been completed, so that the user or maintenance personnel can Personnel are informed whether the testing procedure has been performed or not. On the other hand, the removable storage device 10 can drive the transmission of the debugging data through the operation of the button 101, so that the user or the maintenance personnel do not need to perform additional operation procedures through the computer 20, which also simplifies the detection of the embedded device 30 program for the convenience of users or maintenance personnel.

请一并参阅图1及图2,图2为本发明所提供嵌入式装置排错方法的流程图。首先,将移动式储存装置10、计算机20及嵌入式装置30三者电性连接,接着计算机20判断是否接收到排错需求信息(步骤S100),于步骤S100中,当移动式储存装置10电性连接计算机20后,若并未接收到排错需求信息,则继续停留于步骤S100检测执行状态;若使用者按下移动式储存装置10上的按键101驱动排错数据控制单元通过第一传输界面接口40传送排错需求信息至计算机20,计算机20在接收到的排错需求信息后,接着通过第二传输界面接口50传送排错需求信息至嵌入式装置30(步骤S101)。嵌入式装置30在接受到排错需求信息后,嵌入式装置30回传存储器单元302暂存区3021的排错数据至计算机20(步骤S102)。计算机20在接收到排错数据后,计算机20传送排错数据至移动式储存装置10(步骤S103),于步骤S103中,移动式储存装置10将所接收到的排错数据储存于储存单元103。最后,移动式储存装置10进行加密步骤(步骤S104),于步骤S104中,使用者可通过移动式储存装置10的按键101输入密码以驱动加密模块104对移动式储存装置10进行硬件加密,或加密模块104可于排错数据储存完毕之后,自动对移动式储存装置10进行硬件加密或以RSA演算法方式对储存单元103中所储存的排错数据进行文件加密。于加密步骤完成后,若需再次使用或存取移动式储存装置10,则需输入密码进行解码以恢复使用权限,方能使用移动式储存装置10或读取储存单元103中所储存的排错数据,如此当移动式储存装置10不小心遗失了,加密的设计亦可避免嵌入式装置30排错数据的外泄。Please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a flow chart of the embedded device troubleshooting method provided by the present invention. First, the mobile storage device 10, the computer 20 and the embedded device 30 are electrically connected, and then the computer 20 judges whether to receive the troubleshooting request information (step S100), in step S100, when the mobile storage device 10 is electronically After being connected to the computer 20, if the debugging request information is not received, it will continue to stay in step S100 to detect the execution status; The interface interface 40 transmits the debugging requirement information to the computer 20, and the computer 20 then transmits the debugging requirement information to the embedded device 30 through the second transmission interface interface 50 after receiving the debugging requirement information (step S101). After the embedded device 30 receives the debug request information, the embedded device 30 returns the debug data in the temporary storage area 3021 of the memory unit 302 to the computer 20 (step S102 ). After the computer 20 receives the debugging data, the computer 20 sends the debugging data to the removable storage device 10 (step S103), and in step S103, the portable storage device 10 stores the received debugging data in the storage unit 103 . Finally, the mobile storage device 10 performs an encryption step (step S104). In step S104, the user can input a password through the key 101 of the mobile storage device 10 to drive the encryption module 104 to perform hardware encryption on the mobile storage device 10, or The encryption module 104 can automatically perform hardware encryption on the removable storage device 10 after the debugging data is stored, or perform file encryption on the debugging data stored in the storage unit 103 by RSA algorithm. After the encryption step is completed, if you need to use or access the removable storage device 10 again, you need to enter the password to decode to restore the use authority, so that you can use the removable storage device 10 or read the debugger stored in the storage unit 103 Data, so when the removable storage device 10 is accidentally lost, the encrypted design can also prevent the leakage of the embedded device 30's faulty data.

相较于现有技术,本发明所提供的移动式储存装置选用一般消费型电子产品常见的通用序列总线界面接口,替使用者或维修人员省去了找寻界面接口适合的排错装置的时间,也让使用者或维修人员毋需再选购或携带不同界面接口的排错装置进行嵌入式装置的检测程序,且利用按键触发排错数据的传送与取得,操作十分地简易及便利。而通过计算机的显示装置可让使用者或维修人员明确得知排错数据是否已传送至移动式储存装置。此外当使用者欲将移动式储存装置寄回维修公司进行排错数据分析时,通过加密模块加密移动式储存装置的设计,亦大大地降低了排错数据外泄的风险;故,本发明实为一极具产业价值的发明。Compared with the prior art, the mobile storage device provided by the present invention adopts the universal serial bus interface common to general consumer electronic products, which saves the time for users or maintenance personnel to find a suitable debugging device for the interface. It also eliminates the need for users or maintenance personnel to purchase or carry debugging devices with different interfaces to perform testing procedures for embedded devices, and uses buttons to trigger the transmission and acquisition of debugging data, which is very simple and convenient to operate. And through the display device of the computer, the user or maintenance personnel can clearly know whether the debugging data has been transmitted to the mobile storage device. In addition, when the user wants to send the mobile storage device back to the maintenance company for troubleshooting data analysis, the design of encrypting the mobile storage device through the encryption module also greatly reduces the risk of leaking the troubleshooting data; therefore, the present invention implements It is an invention with great industrial value.

本发明得由熟悉本技艺的人士任施匠思而为诸般修饰,然皆不脱如附权利要求所欲保护。The present invention can be modified in various ways by those who are familiar with the art, but they are all protected by the appended claims.

Claims (10)

1.一种嵌入式装置排错系统,包括:1. An embedded device debugging system, comprising: 一嵌入式装置,具有一处理单元及一存储器单元,该存储器单元具有一暂存区用以储存一排错数据;An embedded device has a processing unit and a memory unit, and the memory unit has a temporary storage area for storing a debug data; 一移动式储存装置,具有一排错数据控制单元及一储存单元;以及A removable storage device having a data control unit and a storage unit; and 一计算机,该计算机电性连接该嵌入式装置及该移动式储存装置;a computer, the computer is electrically connected to the embedded device and the removable storage device; 其中,该排错数据控制单元通过该计算机传送一排错需求信息予该嵌入式装置,该嵌入式装置回传该暂存区中的该排错数据予该计算机,该计算机传送该排错数据至该移动式储存装置并储存于该储存单元。Wherein, the debugging data control unit sends a debugging request information to the embedded device through the computer, and the embedded device returns the debugging data in the temporary storage area to the computer, and the computer sends the debugging data to the mobile storage device and stored in the storage unit. 2.如权利要求1所述的嵌入式装置排错系统,其中该移动式储存装置通过一第一传输界面接口与该计算机电性连接,该第一传输界面接口为通用序列总线界面接口。2. The debugging system for embedded devices as claimed in claim 1, wherein the removable storage device is electrically connected to the computer through a first transmission interface, and the first transmission interface is a Universal Serial Bus interface. 3.如权利要求1所述的嵌入式装置排错系统,其中该计算机通过一第二传输界面接口与该嵌入式装置电性连接,该第二传输界面接口为:RS-232界面接口、通用序列总线界面接口或LPT界面接口。3. The embedded device debugging system as claimed in claim 1, wherein the computer is electrically connected to the embedded device through a second transmission interface interface, and the second transmission interface interface is: RS-232 interface interface, universal Serial bus interface interface or LPT interface interface. 4.如权利要求1所述的嵌入式装置排错系统,其中该移动式储存装置包括一加密模块,该加密模块用以对该移动式储存装置进行加密步骤。4. The embedded device debugging system as claimed in claim 1, wherein the removable storage device comprises an encryption module, and the encryption module is used for performing the encryption step on the removable storage device. 5.如权利要求4所述的嵌入式装置排错系统,其中该加密模块用以对该储存单元中的该排错数据进行加密步骤。5. The debugging system for embedded devices as claimed in claim 4, wherein the encryption module is used to encrypt the debugging data in the storage unit. 6.如权利要求1所述的嵌入式装置排错系统,其中该计算机为:台式电脑、笔记本电脑、平板或个人数字助理。6. The debugging system for embedded devices as claimed in claim 1, wherein the computer is: a desktop computer, a notebook computer, a tablet or a personal digital assistant. 7.一种嵌入式装置排错方法,适用于一嵌入式装置,该嵌入式装置排错方法包括下列步骤:7. A method for troubleshooting an embedded device, suitable for an embedded device, the method for troubleshooting an embedded device comprises the following steps: (a).一计算机判断是否接收到一排错需求信息,若否,则继续执行步骤(a),若是,则进行下一步骤;(a). A computer judges whether to receive an error request message, if not, then proceed to step (a), if so, then proceed to the next step; (b).该计算机传送该排错需求信息至该嵌入式装置;(b). The computer sends the debugging request information to the embedded device; (c).该嵌入式装置回传存储器单元暂存区的一排错数据至该计算机;(c). The embedded device returns an error data in the temporary storage area of the memory unit to the computer; (d).该计算机传送该排错数据至该移动式储存装置;以及(d). The computer sends the debug data to the removable storage device; and (e).该移动式储存装置进行一加密步骤。(e). The removable storage device performs an encryption step. 8.如权利要求7所述的嵌入式装置排错方法,其中于该步骤(d)中,该移动式储存装置储存该排错数据于一储存单元。8. The debugging method for an embedded device as claimed in claim 7, wherein in the step (d), the removable storage device stores the debugging data in a storage unit. 9.如权利要求7所述的嵌入式装置排错方法,其中于该步骤(e)中,该加密步骤用以加密该移动式储存装置。9. The debugging method for an embedded device as claimed in claim 7, wherein in the step (e), the encrypting step is used to encrypt the removable storage device. 10.如权利要求8所述的嵌入式装置排错方法,其中于该步骤(e)中,该加密步骤用以加密该储存单元中的该排错数据。10. The debugging method for an embedded device as claimed in claim 8, wherein in the step (e), the encrypting step is used to encrypt the debugging data in the storage unit.
CN201710160591.2A 2017-03-17 2017-03-17 Debugging system and method for embedded device Pending CN108628690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710160591.2A CN108628690A (en) 2017-03-17 2017-03-17 Debugging system and method for embedded device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710160591.2A CN108628690A (en) 2017-03-17 2017-03-17 Debugging system and method for embedded device

Publications (1)

Publication Number Publication Date
CN108628690A true CN108628690A (en) 2018-10-09

Family

ID=63686658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710160591.2A Pending CN108628690A (en) 2017-03-17 2017-03-17 Debugging system and method for embedded device

Country Status (1)

Country Link
CN (1) CN108628690A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201497985U (en) * 2009-07-31 2010-06-02 广东浩兆信息科技发展有限公司 Embedded equipment auxiliary failure analytical tool
CN201600686U (en) * 2009-08-11 2010-10-06 深圳市奔凯生物识别技术有限公司 Secure mobile HDD (hard disk drive)
US20110119656A1 (en) * 2009-11-13 2011-05-19 Samsung Electronics Co., Ltd. Computing system, method and computer-readable medium processing debug information in computing system
CN104077203A (en) * 2014-07-16 2014-10-01 合肥联宝信息技术有限公司 Method and device for diagnosing computer hardware through USB interface
CN106326043A (en) * 2015-06-23 2017-01-11 联想(北京)有限公司 USB based diagnosis device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201497985U (en) * 2009-07-31 2010-06-02 广东浩兆信息科技发展有限公司 Embedded equipment auxiliary failure analytical tool
CN201600686U (en) * 2009-08-11 2010-10-06 深圳市奔凯生物识别技术有限公司 Secure mobile HDD (hard disk drive)
US20110119656A1 (en) * 2009-11-13 2011-05-19 Samsung Electronics Co., Ltd. Computing system, method and computer-readable medium processing debug information in computing system
CN104077203A (en) * 2014-07-16 2014-10-01 合肥联宝信息技术有限公司 Method and device for diagnosing computer hardware through USB interface
CN106326043A (en) * 2015-06-23 2017-01-11 联想(北京)有限公司 USB based diagnosis device and method

Similar Documents

Publication Publication Date Title
TWI277904B (en) Method, recording medium and system for protecting information
CN103150514B (en) A kind of trusted module based on mobile device and trusted service method thereof
CN100594505C (en) Multi-computer switcher and related resource sharing equipment and file management method
US20090172705A1 (en) Apparatus and Method for Preservation of USB Keyboard
CN104954131B (en) The verification method and system of identifying code
US20030056151A1 (en) Software evaluation system, software evaluation apparatus, software evaluation method, recording medium, and computer data signal
US20180315024A1 (en) Systems and Methods Enabling Secure Transactions from Terminal Window
KR20150108865A (en) Techniques for securing use of one-time passwords
US20190377863A1 (en) Password input method, computer device and storage medium
US8205095B2 (en) Method and system for remotely debugging a failed computer machine
CN107528829B (en) BMC chip, server side and remote monitoring management method thereof
CN106250884A (en) Fingerprint identification method, device and terminal equipment
TWI615708B (en) Embedded device debugging system and method thereof
US9270455B1 (en) CPU assisted seeding of a random number generator in an externally provable fashion
CN106843693B (en) A kind of information processing method and mobile terminal
CN112363975B (en) Interaction method and interaction system for configuration software and FPGA
TW201027330A (en) Remote hardware inspection system and method
US20190137567A1 (en) Systems and methods for debugging access
CN105391673A (en) Safe access method and device
CN108628690A (en) Debugging system and method for embedded device
CN105933499A (en) Verification method and verification system
JP2015049659A (en) Test execution system, test execution device, test execution method, and test execution program
CN102479302A (en) Password protection system and method
CN116094764A (en) Power grid data storage method, device and equipment of power monitoring system
CN115098312A (en) Debugging equipment device, equipment debugging method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181009