CN102214138A - Network concentrated debugging method for embedded system software - Google Patents
Network concentrated debugging method for embedded system software Download PDFInfo
- Publication number
- CN102214138A CN102214138A CN2011101319063A CN201110131906A CN102214138A CN 102214138 A CN102214138 A CN 102214138A CN 2011101319063 A CN2011101319063 A CN 2011101319063A CN 201110131906 A CN201110131906 A CN 201110131906A CN 102214138 A CN102214138 A CN 102214138A
- Authority
- CN
- China
- Prior art keywords
- file
- debugging
- built
- network
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention relates to a network concentrated debugging method for embedded system software. The method comprises the following steps of: on a server part, establishing a file folder, serving as a special catalog for storing running logs of an embedded terminal, on a system disk; adding the new file folder into network sharing to provide a space for storing the running logs of the embedded terminal; establishing a new system user name so that the embedded terminal logs in the server by using the identity of the user; and opening a reading-writing authority to the new user for debugging the shared file folder; and on an embedded terminal part, adding a network sharing scheme matched with a file sharing protocol of a debugging server; accessing the shared and debugged file folder of the debugging server through a network sharing protocol; establishing a log file with a special name in the shared file folder; opening the log file and writing the debugging information into the file during running; and closing the file and cutting off a sharing link when the embedded system is abnormal. By the method, the tracking and the debugging of the embedded terminal system in a normal working state can be realized.
Description
[technical field]
The present invention relates to a kind of adjustment method of built-in system software, be applicable to computer realm, particularly have a plurality of built-in terminal centralized management systems of network interconnection ability.
[background technology]
Embedded system is normally towards application-specific, and itself does not possess ability to develop independently, and the system resource redundance is less.Since these characteristics of embedded system, the adjustment method commonly used in the PC systems development process, as: running log, single step tracking, debugging acid etc. are difficult to its effect of performance in embedded system.
At present, the debugging of embedded system mainly contains two kinds of methods:
1, obtains Debugging message by reserving the hardware debug mouth: owing to need to reserve hardware interface, and need special-purpose debugging acid trace debug information, this method often is confined in the laboratory or the research and development of products stage, and needs the developer to carry out field adjustable when problem occurs;
2, telecommunication network debugging: this method needs system to be under the experimental state, can't follow the tracks of the error message that product produces under normal operating condition, often be confined to the internal debugging stage, for release product occur unusual, need be on debug machine the reproduction problem to obtain unusual field adjustable information, for more obscure unusual, this process may spend a large amount of time.
The adjustment method of existing embedded system system software all has two bigger restraining factors: Debugging message must on-the-spotly in real time be followed the tracks of, system must be in abnormal operating state.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of efficient height, built-in system software network that cost is low to concentrate adjustment method, this method can realize built-in terminal system trace debug in normal operation, and Debugging message is checked when system exception for the developer when preserving terminal operating by the mode of running log, has solved two the restriction problems of current adjustment method on system running state and information obtain manner simultaneously.
The present invention solves the problems of the technologies described above by the following technical solutions:
A kind of network of built-in system software is concentrated adjustment method, comprises the steps:
Step 10: server section: specifically comprise the steps:
Step 11: on system disk, set up file, as preserving built-in terminal running log private directory;
Step 12: add newly-established file to network and share, provide the space for preserving the built-in terminal running log;
Step 13: set up new system user name, and password is set, built-in terminal uses this user identity logon server;
Step 14: be the access limit of new user's commissioning Shared Folders, make the addressable this document folder of built-in terminal;
Step 20: built-in terminal part: specifically comprise the steps:
Step 21: increase the network shared scheme realization supporting with the debugging server file sharing protocol;
Step 22: share the protocol access debugging server by network and share the debugging file folder;
Step 23: the journal file of under Shared Folders, setting up proprietary name;
Step 24: open journal file, Debugging message writes this document in the time of will moving;
Step 25: this document appears closing when unusual in embedded system, and disconnects and share link.
The invention has the advantages that: this method can realize built-in terminal system trace debug in normal operation, and Debugging message is checked when system exception for the developer when preserving terminal operating by the mode of running log, has solved two the restriction problems of current adjustment method on system running state and information obtain manner simultaneously.The debugging that can be applicable to have the concentrating type built-in terminal software of network inter-transmission function is followed the tracks of.Use this adjustment method, can solve existing adjustment method must real-time follow-up, system must be in these two major defects of abnormal operating state, has reduced the human cost of system failure eliminating work on largely, improves fault removal efficiency, accelerate development progress, improve customer satisfaction.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the concrete workflow diagram of the present invention.
[embodiment]
As shown in Figure 1, a kind of network of built-in system software is concentrated adjustment method, comprises the steps:
Step 10: server section: specifically comprise the steps:
Step 11: on system disk, set up file, as preserving built-in terminal running log private directory;
Step 12: add newly-established file to network and share, provide the space for preserving the built-in terminal running log;
Step 13: set up new system user name, and password is set, built-in terminal uses this user identity logon server;
Step 14: be the access limit of new user's commissioning Shared Folders, make the addressable this document folder of built-in terminal;
Step 20: built-in terminal part: specifically comprise the steps:
Step 21: increase the network shared scheme realization supporting with the debugging server file sharing protocol;
Step 22: share the protocol access debugging server by network and share the debugging file folder;
Step 23: the journal file of under Shared Folders, setting up proprietary name;
Step 24: open journal file, Debugging message writes this document in the time of will moving;
Step 25: this document appears closing when unusual in embedded system, and disconnects and share link.
Be example with the implementation process in the KTV digital entertainment system below, in implementation process, rely on the LAN of KTV system, use the cifs network file to share scheme.This method comprises: 1, debugging server part:
Debugging server uses windows Server2003 operating system, and this system integration supports the cifs network to share scheme.
Step 1: set up file at the C of system dish, name is called my_debug;
Step 2: this document folder is set " shares and safety " attribute, add network to and share;
Step 3: system's " local user and group " is set, a newly-built user, name is called mydebug, and password is 111;
Step 4: my_debug " Share Permissions " attribute is set, adds mydebug user, authority comprises reading and writing.
2, built-in terminal part:
This embodiment built-in terminal partly uses linux operating system, can support cifs in the kernel selection of configuration.
Step 1: the configuration kernel increases the cifs network file and shares support;
Step 2: will share the debugging file folder by the mount order and be mounted under this locality/mnt/debug file;
Step 3: under/mnt/debug file, create journal file with self IP name;
Step 4: open this journal file during running software, operational process produces Debugging message and writes this document;
Step 5: running software occurs when unusual, intercepts and captures abnormal signal, closing journal file, umount carry.
Method of the present invention can realize built-in terminal system trace debug in normal operation, and Debugging message is checked when system exception for the developer when preserving terminal operating by the mode of running log, has solved two the restriction problems of current adjustment method on system running state and information obtain manner simultaneously.The debugging that can be applicable to have the concentrating type built-in terminal software of network inter-transmission function is followed the tracks of.Use this adjustment method, can solve existing adjustment method must real-time follow-up, system must be in these two major defects of abnormal operating state, has reduced the human cost of system failure eliminating work on largely, improves fault removal efficiency, accelerate development progress, improve customer satisfaction.
Claims (1)
1. the network of a built-in system software is concentrated adjustment method, it is characterized in that: comprise the steps:
Step 10: server section: specifically comprise the steps:
Step 11: on system disk, set up file, as preserving built-in terminal running log private directory;
Step 12: add newly-established file to network and share, provide the space for preserving the built-in terminal running log;
Step 13: set up new system user name, and password is set, built-in terminal uses this user identity logon server;
Step 14: be the access limit of new user's commissioning Shared Folders, make the addressable this document folder of built-in terminal;
Step 20: built-in terminal part: specifically comprise the steps:
Step 21: increase the network shared scheme realization supporting with the debugging server file sharing protocol;
Step 22: share the protocol access debugging server by network and share the debugging file folder;
Step 23: the journal file of under Shared Folders, setting up proprietary name;
Step 24: open journal file, Debugging message writes this document in the time of will moving;
Step 25: this document appears closing when unusual in embedded system, and disconnects and share link.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101319063A CN102214138A (en) | 2011-05-19 | 2011-05-19 | Network concentrated debugging method for embedded system software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101319063A CN102214138A (en) | 2011-05-19 | 2011-05-19 | Network concentrated debugging method for embedded system software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102214138A true CN102214138A (en) | 2011-10-12 |
Family
ID=44745457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101319063A Pending CN102214138A (en) | 2011-05-19 | 2011-05-19 | Network concentrated debugging method for embedded system software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102214138A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103057566A (en) * | 2012-12-25 | 2013-04-24 | 卡斯柯信号有限公司 | Debugging method of railway signal maintenance system |
CN103368756A (en) * | 2012-03-29 | 2013-10-23 | 福建星网视易信息系统有限公司 | A management system for monitoring the operation log of an embedded system |
CN104580372A (en) * | 2014-12-12 | 2015-04-29 | 安徽富煌和利时科技股份有限公司 | Method for transmitting status files of electronic station board IPCs (Industrial Personal Computer) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1564137A (en) * | 2004-04-09 | 2005-01-12 | 中兴通讯股份有限公司 | Method of parallel regulating multi-task of imbedding system |
CN101727388A (en) * | 2008-08-15 | 2010-06-09 | 北京北大众志微系统科技有限责任公司 | Remote debugging method and device for system behavior of network computer |
CN102129408A (en) * | 2011-04-14 | 2011-07-20 | 电子科技大学 | Record playback technology-based embedded software debugging device and method |
-
2011
- 2011-05-19 CN CN2011101319063A patent/CN102214138A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1564137A (en) * | 2004-04-09 | 2005-01-12 | 中兴通讯股份有限公司 | Method of parallel regulating multi-task of imbedding system |
CN101727388A (en) * | 2008-08-15 | 2010-06-09 | 北京北大众志微系统科技有限责任公司 | Remote debugging method and device for system behavior of network computer |
CN102129408A (en) * | 2011-04-14 | 2011-07-20 | 电子科技大学 | Record playback technology-based embedded software debugging device and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103368756A (en) * | 2012-03-29 | 2013-10-23 | 福建星网视易信息系统有限公司 | A management system for monitoring the operation log of an embedded system |
CN103368756B (en) * | 2012-03-29 | 2016-08-03 | 福建星网视易信息系统有限公司 | For monitoring the management system of the daily record of operation for embedded system |
CN103057566A (en) * | 2012-12-25 | 2013-04-24 | 卡斯柯信号有限公司 | Debugging method of railway signal maintenance system |
CN103057566B (en) * | 2012-12-25 | 2015-05-20 | 卡斯柯信号有限公司 | Debugging method of railway signal maintenance system |
CN104580372A (en) * | 2014-12-12 | 2015-04-29 | 安徽富煌和利时科技股份有限公司 | Method for transmitting status files of electronic station board IPCs (Industrial Personal Computer) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10735509B2 (en) | Systems and methods for synchronizing microservice data stores | |
US20230138736A1 (en) | Cluster file system-based data backup method and apparatus, and readable storage medium | |
CN103218175B (en) | The cloud storage platform access control system of many tenants | |
CN106156289A (en) | The method of the data in a kind of read-write object storage system and device | |
CN104182288A (en) | Method for automatically testing power consumption of server cluster system | |
CN107247648B (en) | Method, device and system for realizing remote project system supervision based on Docker | |
CN104239166A (en) | Method for realizing file backup for running virtual machine | |
CN107577420B (en) | File processing method and device and server | |
CN104518917A (en) | Automatic server patrol inspection method | |
CN103166785A (en) | Distributed type log analysis system based on Hadoop | |
CN102193807A (en) | Method for upgrading image file, server and computer network system | |
CN103902349A (en) | Virtualization platform storage management server and virtualization platform storage management method | |
CN111143128A (en) | Openstack cloud host data protection method and system | |
EP1684456B1 (en) | A method for data redundancy of HLR | |
CN103226612A (en) | Content management system based on main memory database | |
CN102214138A (en) | Network concentrated debugging method for embedded system software | |
CN107181626B (en) | Method and system for monitoring network bandwidth of distributed storage cluster system | |
US20150212902A1 (en) | Network attached storage device with automatically configured distributed file system and fast access from local computer client | |
CN106612314A (en) | System for realizing software-defined storage based on virtual machine | |
CN110851318A (en) | Serial port log collection method, system and equipment under server management system | |
CN103051060A (en) | Method for collecting and remotely transmitting fault recording file | |
CN111181929A (en) | Heterogeneous hybrid cloud architecture based on shared virtual machine files and management method | |
CN202652266U (en) | Enterprise cloud computing common information service platform core architecture and system application | |
CN109445988A (en) | Isomery disaster recovery method, device, system, server and disaster recovery platform | |
CN201750426U (en) | Intelligent blade server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20111012 |