TW201107967A - Embedded electronic device and checking method for executing process in embedded electronic device - Google Patents

Embedded electronic device and checking method for executing process in embedded electronic device Download PDF

Info

Publication number
TW201107967A
TW201107967A TW98127973A TW98127973A TW201107967A TW 201107967 A TW201107967 A TW 201107967A TW 98127973 A TW98127973 A TW 98127973A TW 98127973 A TW98127973 A TW 98127973A TW 201107967 A TW201107967 A TW 201107967A
Authority
TW
Taiwan
Prior art keywords
module
program
electronic device
execution
list
Prior art date
Application number
TW98127973A
Other languages
Chinese (zh)
Inventor
Teng-Yu Tsai
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98127973A priority Critical patent/TW201107967A/en
Publication of TW201107967A publication Critical patent/TW201107967A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A checking method for executing process in an embedded electronic device includes the following steps. A sub-process is recorded to a process recording module. The sub-process is processed by a processing module. A system process list in the processing module is received. A monitor module determines if a process record of the sub-process exists in the system process list. If no such process record, the processing module may destroy at least one process relative to the sub-process. A embedded electronic device is also disclosed in this invention. The method of present invention may determine if an error generated when a process is executed and handle the error.

Description

201107967 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一電子裝置及於電子裝置中程式執行之校驗 方法,尤指一種嵌入式電子裝置及於嵌入式電子裝置中 程式執行之校驗方法。 【先前技術】 [匿]隨著消費性電子裝置之普及,人們越來越多之使用消費 性電子裝置,尤係一些有顯示幕具多種娛樂功能之電子 裝置’例如手機、數位相框、電視等^而隨著電子裝置 ξ% 功能之增強’電子裝置有時需要處理大量工作程式,這 樣就會增大不同程式間之工作衝突,增大出現錯誤之幾 率。而該等電子裝置於執行出現錯誤時往往不能很好解 決,或者需要手動重新啟動該電子裝置,影響用戶使用 〇 【發明内容】 [0003] ❹ [0004] 鑒於以上内容,有必要提供一能夠對執行程式進行校驗 嵌入式電子裝置及一種於嵌入式電子裝置中程式執行 之校驗方法。 種於嵌入式電子裝置中程式執行之校驗方法包括:記 子程式模組到一執行程式記錄模組;一系統程式處 *、’·執行該子程式模組;獲取該系統程式處理模組内 〜系统程式列表;一監控模組判斷該子程式模組之執 行"己錄Κ否存在於該系統程式列表中;及如果不存在, 於及系統程式處理模k巾關閉與該子程賴組相關之至 少一相關程式。 098127973 表單編號ΑΟίοι 第3頁/共1〇頁 0982047982-0 201107967 [0005] [0006] [0007] [0008] 098127973 一嵌入式電子裝置包括-系統程式處理模組、一可被該 系統程式處理模組之子程式缝、-監控模組、— 系統程式記_組及-執行料記錄触,該執行程式 記錄模組可於該祕程核理模纟讀行鮮程式模組時 記錄該子程式模組,該系_式記錄模組可獲取該系統 程式處理模組巾-线程式列表,該監浦組可判斷於 該執行程式模㈣之該子程式·之記錄是否存在於該 系統程式列表巾以較該子程式模組是否執行成功。 相對習知技術,本發明之嵌人式電子裝置及於喪入式電 子裳置中程錢行讀驗方法可_執飾式是否出現 錯誤或失效以作出相應之動作。 【實施方式】 請參閱圖1 ’ 一嵌入式電子裝置包括-系統程式處理模組 10、複數可被該系絲式處理模組则之子程式模組3〇 、一執行程式記錄模議、—監控模組70及-系統程式 記錄模組90。 該系統程式處理模組1G裝財ϋ可執行程式列表15 ,該系統可執行程式列表i 5記錄所有子程式模組3 〇以便 被該系統程式處理模組1{)調用。該系統程式處理模組^ 藉由消息管道(plpe Message)之方式訪問該子程式模組 30。該系統程式處理模組1()包括—處理器及—裝栽有複 數系統棺之記憶體。該處理器為—歲人式處理器。該系 統檔為系統之主應用程式,如作業系統程式等。 該執行程式記錄模組5 〇可即時地記錄該系統處理模紐1 〇 將執行之子程式模組3〇之程式名稱並生成一執行記 表單編號A0101 第4頁/共1〇頁 、 0982047982-0 [0009] 201107967 於本實施方式中,該執行程式記錄模組5 〇以日諸權之形 式記錄該執行之子程式模組30。該執行程式記錄模組5〇 為一被模擬為硬碟機之記憶體段Disk)。 [0010] [0011] ο [0012] [0013] [0014] 〇 [0015] [0016] [0017] [0018] 098127973 該系統程式記錄模組9 〇可即時地獲取該系統程式處理模 組w中裝載之一系統程式列表95。 該監控模組70可判斷於該執行程式模組5〇中之該子程式 模組30之執行記錄是否存在於該系統程式列表95中以確 定該子程式模組30是否執行成功。於本實施方式中該 監控模組70讀取該執行程式記錄模組5〇内之日諸樓以獲 取該子程式模組30之執行記錄。 請參閱圖2,於以上實施方式之嵌入式電子裝置中,於該 嵌入式電子裝置中程式執行之校驗方法包括以下步驟: S1〇 :該執行程式記錄模組5G記錄該子程式模細並生成 該執行記錄; S12 :該线程式處理模㈣執行該子程式模組30 ; S14 :該找程式記錄模峨獲取該純程式處理模組10 内之系統程式列表15 ; S16 ··該監控馳7G_該子程式模謂之執行記錄是否 存在於該线«咐如存在,财複步驟训到 S16,如不存在,則到S18 ; S18:於該系統程式處理模組1G中關閉與該子程式模組相 關之相關程式並重新執行該子程式模組3〇。 S20 :延遲5秒’重複步驟㈣到⑽。 表單編號A0101 第5頁/共1〇頁 0982047982-0 201107967 [0019] [0020] [0021] [0022] 本發明實施方式中之嵌入式電子裝置還包括一顯示幕、 一圖形控制器、一記憶體及複數坶邊通訊介面。該電子 裝置安裝有嵌入式作業系統及複數應用軟體,該嵌入式 作業系統可調用本發明實施方式中之各功能模組。該圖 形控制器用於將用戶操作介面顯示到該顯示幕。 綜上所述,本發明係合乎發明專利申請條件,爰依法提 出專利申請。惟,以上所述僅為本發明之較佳實施例, 舉凡熟悉本案技藝之人士其所爰依本案之創作精神所作 之等效修飾或變化,皆應涵蓋於以下之申請專利範圍内 〇 【圖式簡單說明】 圖1為本發明嵌入式電子裝置之較佳實施方式之功能模組 圖。 圖2為本發明程式執行之校驗方法之較佳實施方式之流程 圖。 【主要元件符號說明】 [0023] 系統程式處理 10 系統可執行程 15 模組 式列表 子程式模組 30 執行程式記錄 50 模組 監控模組 70 系統程式記錄 90 模組 系統程式列表 95 098127973 表單編號A0101 第6頁/共10頁 0982047982-0201107967 VI. Description of the Invention: [Technical Field] The present invention relates to an electronic device and a verification method for executing the program in the electronic device, and more particularly to an embedded electronic device and program execution in the embedded electronic device The verification method. [Prior Art] [Hidden] With the popularity of consumer electronic devices, more and more people use consumer electronic devices, especially electronic devices with display screens with various entertainment functions, such as mobile phones, digital photo frames, televisions, etc. ^ With the enhancement of the electronic device's % function, the electronic device sometimes needs to process a large number of work programs, which will increase the work conflict between different programs and increase the probability of errors. The electronic devices are often not well resolved in the execution of an error, or need to manually restart the electronic device, affecting the user's use. [Invention] [0003] [0004] In view of the above, it is necessary to provide a The execution program verifies the embedded electronic device and a verification method for executing the program in the embedded electronic device. The verification method for executing the program in the embedded electronic device includes: recording the program module to an execution program recording module; a system program program*, '· executing the subprogram module; acquiring the system program processing module ~ a list of system programs; a monitoring module determines whether the execution of the subroutine module is recorded in the list of system programs; and if it does not exist, the system program handles the mode and closes the subroutine At least one related program associated with the group. 098127973 Form No. ΑΟίοι Page 3 of 1 0982047982-0 201107967 [0005] [0007] [0008] 098127973 An embedded electronic device includes a system program processing module, and a system program can be processed by the system program. The sub-program seam, the monitoring module, the system program record _ group and the execution material record touch, and the execution program record module can record the sub-module when the secret program is read by the secret program module. a group, the system-type recording module can obtain the system program processing module towel-threaded list, and the monitoring group can determine whether the recording of the sub-program of the execution module (4) exists in the system program list towel Whether the execution of the subroutine module is successful. Compared with the prior art, the embedded electronic device of the present invention and the mid-way money reading method of the smuggling type of electronic device can make an error or failure to make a corresponding action. [Embodiment] Please refer to FIG. 1 'an embedded electronic device includes a system program processing module 10, a plurality of subprogram modules 3 can be used by the silk processing module, an execution program recording module, and monitoring Module 70 and system program recording module 90. The system program processing module 1G loads the executable program list 15 , and the system executable program list i 5 records all the sub program modules 3 〇 to be called by the system program processing module 1 {). The system program processing module accesses the subprogram module 30 by means of a ppl message. The system program processing module 1 () includes a processor and a memory loaded with a plurality of systems. The processor is an aged processor. The system file is the main application of the system, such as the operating system program. The execution program recording module 5 can instantly record the program name of the subroutine module 3 that the system processing module 1 will execute and generate an execution form number A0101 page 4 / total 1 page, 0982047982-0 [0009] 201107967 In the present embodiment, the executive program recording module 5 records the executed subroutine module 30 in the form of a daily right. The executable program recording module 5 is a memory segment (Disk) that is simulated as a hard disk drive. [0011] [0012] [0014] [0014] [0015] [0018] [0018] 098127973 The system program recording module 9 can instantly acquire the system program processing module w Load one of the system program listings 95. The monitoring module 70 can determine whether the execution record of the subroutine module 30 in the execution program module 5 is present in the system program list 95 to determine whether the subprogram module 30 is successfully executed. In the present embodiment, the monitoring module 70 reads the buildings in the execution program recording module 5 to obtain the execution record of the subprogram module 30. Referring to FIG. 2, in the embedded electronic device of the above embodiment, the verification method executed by the program in the embedded electronic device includes the following steps: S1: The execution program recording module 5G records the subroutine module and Generating the execution record; S12: the threaded processing module (4) executes the subroutine module 30; S14: the program search module acquires the system program list 15 in the pure program processing module 10; S16 ··· 7G_ The subroutine model indicates whether the execution record exists in the line «If there is, the financial step is trained to S16, if not, then to S18; S18: Close the sub-system in the system processing module 1G Program related to the program module and re-execute the subroutine module 3〇. S20: Delay 5 seconds 'Repeat steps (4) to (10). Form No. A0101 Page 5 / Total 1 Page 0982047982-0 201107967 [0020] [0022] The embedded electronic device in the embodiment of the present invention further includes a display screen, a graphic controller, and a memory. Body and complex communication interface. The electronic device is equipped with an embedded operating system and a plurality of application software, and the embedded operating system can call each functional module in the embodiment of the present invention. The graphics controller is used to display the user interface to the display. In summary, the present invention is in accordance with the conditions of the invention patent application, and the patent application is filed according to law. However, the above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art to the spirit of the present invention should be included in the following claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a functional block diagram of a preferred embodiment of an embedded electronic device of the present invention. 2 is a flow chart of a preferred embodiment of a verification method for program execution of the present invention. [Main component symbol description] [0023] System program processing 10 System executable program 15 Module list subprogram module 30 Execution program record 50 Module monitoring module 70 System program record 90 Module system program list 95 098127973 Form number A0101 Page 6 of 10 0982047982-0

Claims (1)

201107967 七、申請專利範圍: 1 . 一種於嵌入式電子裝置中程式執行之校驗方法,該方法包 ' 括: 記錄一子程式模組到一執行程式記錄模組; 一系統程式處理模組執行該子程式模組; 獲取該系統程式處理模組内之一系統程式列表; 一監控模組判斷該子程式模組之執行記錄是否存在於該系 統程式列表中; 如果不存在,於該系統程式處理模組中關閉與該子程式模 〇 組相關之至少一相關程式。 2 .如申請專利範圍第1項所述之於嵌入式電子裝置中程式執 行之校驗方法,其中該方法還包括:於關閉與該子程式模 組之至少一相關程式後該系統程式處理模組重新執行該子 程式模組。 3 .如申請專利範圍第1項所述之於嵌入式電子裝置中程式執 行之校驗方法,其中該執行程式記錄模組以日誌檔之形式 記錄該子程式模組,該監控模組讀取該日誌檔以獲取該執 〇 行程式記錄模組之執行記錄。 4 .如申請專利範圍第1項所述之於嵌入式電子裝置中程式執 行之校驗方法,其中該執行程式記錄模組為一被模擬為硬 碟機之記憶體段。 5 .如申請專利範圍第1項所述之於嵌入式電子裝置中程式執 行之校驗方法,其中該系統程式處理模組裝載有一系統可 執行程式列表,該子程式模組記錄於該系統可執行程式列 表中。 098127973 表單編號 A0101 第 7 頁/共 10 頁 0982047982-0 201107967 •如_請專利範圍第i項所述之於嵌入切 行之校驗方法,/式電子裝置令程式執 一裝載有複數系統檔⑽體程核理模組包括—處理器及 ’後入式電子裝置,該嵌入式電 理模組、一可 罝匕括—系統程式處 -監·= 模組調用之子 ,該執行程式= 組及—執行程式記錄模組 程式模組時吃錚料組可於該系統程式處理模組執行該子 取_程式處式:一 ==7式模組__組二=: 如列表中以確定該子程式模組是一 ^ 行程·範圍第7項所述之後入式電子裝置,其中該執 控組一形式記錄該子一 ^ 、、、'讀取该日諸槽以獲取該執行程式記錄模組之執行記 綠0 =申明專利_第7項所狀嵌域解裝i,其中該執 Μ _弋己錄模組為一被模擬為今碟機之記憶體段。 申明專利範圍第7項所述之&入式電子裝置其中該系 統程式處理模組裝載有一系統可執行程式列表’該子程式 d己錄於該系統可執行程式列表中。 11 .如申請專利範圍第7項所述之篏入式電子裝置其中該系 統程式處理模組包括一處理器及一裝載有複數系統標之記 憶體。 098127973 表單編號A0101 第8頁/共10頁 0982047982-0201107967 VII. Patent application scope: 1. A verification method for program execution in an embedded electronic device, the method package includes: recording a subprogram module to an execution program recording module; The subroutine module obtains a list of system programs in the system processing module; a monitoring module determines whether the execution record of the subprogram module exists in the system program list; if not, the system program The processing module closes at least one related program associated with the subroutine module group. 2. The method for verifying execution of a program in an embedded electronic device as described in claim 1, wherein the method further comprises: processing the module after the program is closed with at least one associated program of the subprogram module The group re-executes the subroutine module. 3. The verification method for executing a program in an embedded electronic device as described in claim 1, wherein the execution program recording module records the subprogram module in the form of a log file, and the monitoring module reads The log file is used to obtain an execution record of the execution record recording module. 4. The verification method for executing a program in an embedded electronic device as described in claim 1, wherein the execution program recording module is a memory segment that is simulated as a hard disk drive. 5. The verification method for executing a program in an embedded electronic device as described in claim 1, wherein the system program processing module is loaded with a system executable program list, and the subprogram module is recorded in the system. Execution list in the program. 098127973 Form No. A0101 Page 7 of 10 0982047982-0 201107967 • If the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The physical management module includes a processor and a 'receiving electronic device, and the embedded electrical module, the system module, the system program, the module, the module, and the module - When the program recording module module is executed, the data processing group can execute the sub-fetching program in the system processing module: a ==7 type module __ group two =: as determined in the list The subroutine module is a post-entry electronic device according to item 7 of the stroke and range, wherein the control group records the sub-, ,, and 'read the slots of the day to obtain the execution program recording mode. The implementation of the group records green 0 = a patent _ the seventh item of the embedded domain disassembly i, wherein the _ _ 弋 录 recording module is a memory segment that is simulated as a disc player. The & input electronic device of claim 7 wherein the system program processing module is loaded with a system executable program list. The subprogram d has been recorded in the system executable program list. 11. The immersive electronic device of claim 7, wherein the system program processing module comprises a processor and a memory body loaded with a plurality of system labels. 098127973 Form No. A0101 Page 8 of 10 0982047982-0
TW98127973A 2009-08-20 2009-08-20 Embedded electronic device and checking method for executing process in embedded electronic device TW201107967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98127973A TW201107967A (en) 2009-08-20 2009-08-20 Embedded electronic device and checking method for executing process in embedded electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98127973A TW201107967A (en) 2009-08-20 2009-08-20 Embedded electronic device and checking method for executing process in embedded electronic device

Publications (1)

Publication Number Publication Date
TW201107967A true TW201107967A (en) 2011-03-01

Family

ID=44835460

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98127973A TW201107967A (en) 2009-08-20 2009-08-20 Embedded electronic device and checking method for executing process in embedded electronic device

Country Status (1)

Country Link
TW (1) TW201107967A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9619355B2 (en) 2012-10-26 2017-04-11 Wistron Corporation Booting verification method of computer and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9619355B2 (en) 2012-10-26 2017-04-11 Wistron Corporation Booting verification method of computer and electronic device

Similar Documents

Publication Publication Date Title
CN104246767B (en) Telemetry system for cloud synchronization system
WO2018227822A1 (en) Acquisition method and apparatus for abnormal stack information, and computer readable storage medium
US8566648B2 (en) Automated testing on devices
JP6226394B2 (en) Instantiable gesture object
JP6576940B2 (en) Metadata and photo and / or video animation
US20160307002A1 (en) Method and apparatus for displaying information content
US8996889B2 (en) Portable computing device with methodologies for client-side analytic data collection
CN108509207A (en) The cross-system of WEB application program is installed
JP2007004784A5 (en)
US9123106B2 (en) Watermarking screen capture content
US10802847B1 (en) System and method for reproducing and resolving application errors
US20120254892A1 (en) Uniform Event Handling Across Multiple Computing Devices
US20140207855A1 (en) Cooperative Client And Server Logging
US20120011237A1 (en) Systems and methods for transferring remote context
CN104951714B (en) The method of apparatus bound based on series
WO2012152212A1 (en) Method and device for executing registry operation
US20220229710A1 (en) File upload modifications for client side applications
US8860735B2 (en) Aligning script animations with display refresh
JP2015503804A (en) Input pointer delay
KR20140035380A (en) Navigation user interface in support of page-focused, touch- or gesture-based browsing experience
CN104024991B (en) Different event models are supported using single input source
EP2728472B1 (en) User terminal, reliability management server, and method and program for preventing unauthorized remote operation
US20130083194A1 (en) Video monitoring server and method
US8151279B1 (en) Uniform event handling across multiple computing devices
TW201107967A (en) Embedded electronic device and checking method for executing process in embedded electronic device