CN104461872B - A kind of debugging information processing method and system - Google Patents
A kind of debugging information processing method and system Download PDFInfo
- Publication number
- CN104461872B CN104461872B CN201410664693.4A CN201410664693A CN104461872B CN 104461872 B CN104461872 B CN 104461872B CN 201410664693 A CN201410664693 A CN 201410664693A CN 104461872 B CN104461872 B CN 104461872B
- Authority
- CN
- China
- Prior art keywords
- debugging message
- module
- debugging
- output print
- message
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 11
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000000034 method Methods 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 abstract description 4
- 241000700605 Viruses Species 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of debugging information processing method and system, and the above method comprises the following steps:The Debugging message of acquisition is respectively sent to output print module, Debugging message comparing module by Debugging message management module;The Debugging message comparing module is received after Debugging message, is obtained the Debugging message of the output print module reception from the output print module and is compared, if inconsistent, warning message is sent to the Debugging message management module;The Debugging message management module is received after the warning message, according to preset algorithm selection strategy, selects corresponding algorithm to be encrypted to the Debugging message and send the Debugging message after encryption to the output print module.While the present invention can accurately, the problem of timely exist to operating system be positioned, it is ensured that the safe transmission of tune-up data.
Description
Technical field
The invention belongs to field of information management, more particularly to a kind of debugging information processing method and system.
Background technology
Tide K-UX operating systems are first Chinese independent researches, and the country uniquely passes through national information protection based on security rank
The host operating system of grade III Standard certification, it is controllable to realize crucial main frame application operating system level security, carries finance, electricity
The core business of the key industry such as letter, the energy, government.
In the operating system development phase, the debugging of start-up course is essential link, at present, conventional K-UX operations
The method of system kernel debugging is that tune-up data is output to after serial ports to be printed, and the root of problem is determined according to type information
Source:Concrete methods of realizing is that printk functions are output data in extra buffer, is completed in hardware platform initial phase
Afterwards, the data in buffering area can be just output on serial ports.
If the data occurred before hardware platform initialization of (a) serial ports are good in exception, extra buffer can not be just output to
On serial ports, it can not more be printed, this can bring difficulty to orientation problem.
The content of the invention
The present invention provides a kind of debugging information processing method and system, to solve the above problems.
The present invention provides a kind of debugging information processing method, and the above method comprises the following steps:
The Debugging message of acquisition is respectively sent to output print module, Debugging message and compares mould by Debugging message management module
Block;
The Debugging message comparing module is received after Debugging message, and obtaining the output from the output print module beats
The Debugging message of impression block reception is simultaneously compared, if inconsistent, warning message is sent to the Debugging message management module;
The Debugging message management module is received after the warning message, according to preset algorithm selection strategy, selection correspondence
Algorithm the Debugging message is encrypted and sends the Debugging message after encryption to the output print module.
Present invention also offers a kind of Debugging message processing system, including Debugging message management module, output print module,
Debugging message comparing module;Wherein, the Debugging message management module exports print module, the Debugging message with described respectively
Comparing module is connected;The Debugging message comparing module is connected with the output print module;
Debugging message management module, for the Debugging message of acquisition to be respectively sent into the output print module, described
Debugging message comparing module;
The Debugging message comparing module, for receiving after Debugging message, obtains described from the output print module
The Debugging message of output print module reception is simultaneously compared, if inconsistent, send and reports to the Debugging message management module
Alert information;
The Debugging message management module, for receiving after the warning message, according to preset algorithm selection strategy, selection
Corresponding algorithm is encrypted to the Debugging message and sends the Debugging message after encryption to the output print module.
Compared to prior art, a kind of debugging information processing method and system provided according to the present invention, can accurately and
When while positioning the problem of presence to operating system, it is ensured that the safe transmission of tune-up data.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 show the debugging information processing method flow chart of the embodiment of the present invention 1;
Fig. 2 show the Debugging message processing system structure chart of the embodiment of the present invention 2.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Fig. 1 show the debugging information processing method flow chart of the embodiment of the present invention 1, comprises the following steps:
Step 101:The Debugging message of acquisition is respectively sent to output print module, debugging and believed by Debugging message management module
Cease comparing module;
Step 102:The Debugging message comparing module is received after Debugging message, and institute is obtained from the output print module
State the Debugging message of output print module reception and be compared, if inconsistent, sent to the Debugging message management module
Warning message;
Step 103:The Debugging message management module is received after the warning message, according to preset algorithm selection strategy,
Corresponding algorithm is selected to be encrypted to the Debugging message and send the Debugging message after encryption to the output impression block
Block.
Specifically, the present invention specifically includes following steps:
Step 1:The Debugging message of acquisition is respectively sent to output print module, Debugging message by Debugging message management module
Comparing module;
After K-UX operating system nucleus starts, before hardware platform initialization of (a) serial ports, triggering Debugging message management module is obtained
Take Debugging message.
Step 2:Debugging message comparing module is received after the Debugging message that the Debugging message management module is sent, from institute
Output print module is stated to obtain Debugging message that the output print module receives and be compared, if unanimously, to described defeated
Go out print module and send print command, go to step 3;If inconsistent, warning message is sent to the Debugging message management module,
Nonprint instruction can also be sent to the output print module go to step 4;
Why Debugging message comparison is carried out, be because preventing Debugging message management module from being sent to output print module
Debugging message is tampered (for example:Virus is distorted to Debugging message) or tune-up data partial loss, it is ensured that tune-up data
Safe transmission.
Step 3:The output print module performs the print command, exports print result, goes to step 6;
Step 4:If Debugging message comparing module sends nonprint instruction, the output to the output print module
Print module is performed after the nonprint instruction that the Debugging message comparing module is sent, and abandons the Debugging message received;
The Debugging message management module is received after the warning message that the Debugging message comparing module is sent, according to default
Algorithms selection strategy, selects corresponding algorithm to be encrypted to the Debugging message and send the Debugging message after encryption to institute
State output print module;
Preset algorithm selection strategy includes:Algorithm in stochastic selection algorithm storehouse selects complexity most in algorithms library
High algorithm.For example:Algorithms library includes algorithm 1, algorithm 2, algorithm 3;Algorithm 1, algorithm 2, algorithm 3 are randomly choosed.
Again for example:Algorithms library includes algorithm A, algorithm B, algorithm C;Algorithm A complexity highest, algorithm B complexity be
In, algorithm C complexity it is minimum, then select complexity highest algorithm A.
Step 5:After Debugging message after the encryption that receives is decrypted the output print module, output printing knot
Really;
Step 6:Terminate.
Fig. 2 show the Debugging message processing system structure chart of the embodiment of the present invention 2, including Debugging message management module,
Export print module, Debugging message comparing module;Wherein, the Debugging message management module respectively with the output impression block
Block, the Debugging message comparing module are connected;The Debugging message comparing module is connected with the output print module;
Debugging message management module, for the Debugging message of acquisition to be respectively sent into the output print module, described
Debugging message comparing module;
The Debugging message comparing module, for receiving after Debugging message, obtains described from the output print module
The Debugging message of output print module reception is simultaneously compared, if inconsistent, send and reports to the Debugging message management module
Alert information;
The Debugging message management module, for receiving after the warning message, according to preset algorithm selection strategy, selection
Corresponding algorithm is encrypted to the Debugging message and sends the Debugging message after encryption to the output print module.
Compared to prior art, a kind of debugging information processing method and system provided according to the present invention, can accurately and
When while positioning the problem of presence to operating system, it is ensured that the safe transmission of tune-up data.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (9)
1. a kind of debugging information processing method, it is characterised in that comprise the following steps:
The Debugging message of acquisition is respectively sent to output print module, Debugging message comparing module by Debugging message management module;
The Debugging message comparing module is received after Debugging message, and the output impression block is obtained from the output print module
The Debugging message of block reception is simultaneously compared, if inconsistent, warning message is sent to the Debugging message management module;
The Debugging message management module is received after the warning message, according to preset algorithm selection strategy, selects corresponding calculate
Method is encrypted to the Debugging message and sends the Debugging message after encryption to the output print module.
2. according to the method described in claim 1, it is characterised in that:If inconsistent, the Debugging message comparing module is to described
Export print module and send nonprint instruction.
3. method according to claim 2, it is characterised in that:The output print module performs the Debugging message and compared
After the nonprint instruction that module is sent, the Debugging message received is abandoned.
4. according to the method described in claim 1, it is characterised in that:The output print module is to the tune after the encryption that receives
After examination information is decrypted, print result is exported.
5. according to the method described in claim 1, it is characterised in that:After K-UX operating system nucleus starts, hardware platform serial ports
Before initialization, triggering Debugging message management module obtains Debugging message.
6. according to the method described in claim 1, it is characterised in that:Debugging message comparing module receives the Debugging message pipe
After the Debugging message that reason module is sent, the Debugging message of the output print module reception is obtained simultaneously from the output print module
It is compared, if unanimously, print command is sent to the output print module.
7. method according to claim 6, it is characterised in that:The output print module performs the print command, defeated
Go out print result.
8. according to the method described in claim 1, it is characterised in that:Preset algorithm selection strategy includes:Stochastic selection algorithm storehouse
In algorithm or in algorithms library select complexity highest algorithm.
9. a kind of Debugging message processing system, it is characterised in that including Debugging message management module, output print module, debugging
Information comparison module;Wherein, the Debugging message management module is compared with the output print module, the Debugging message respectively
Module is connected;The Debugging message comparing module is connected with the output print module;
Debugging message management module, for the Debugging message of acquisition to be respectively sent into the output print module, the debugging
Information comparison module;
The Debugging message comparing module, for receiving after Debugging message, the output is obtained from the output print module
The Debugging message of print module reception is simultaneously compared, if inconsistent, alarm signal is sent to the Debugging message management module
Breath;
The Debugging message management module, for receiving after the warning message, according to preset algorithm selection strategy, selection correspondence
Algorithm the Debugging message is encrypted and sends the Debugging message after encryption to the output print module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410664693.4A CN104461872B (en) | 2014-11-19 | 2014-11-19 | A kind of debugging information processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410664693.4A CN104461872B (en) | 2014-11-19 | 2014-11-19 | A kind of debugging information processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461872A CN104461872A (en) | 2015-03-25 |
CN104461872B true CN104461872B (en) | 2017-08-25 |
Family
ID=52907961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410664693.4A Active CN104461872B (en) | 2014-11-19 | 2014-11-19 | A kind of debugging information processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461872B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776303A (en) * | 2016-12-02 | 2017-05-31 | 北京奇虎科技有限公司 | The processing method and processing device of Debugging message |
CN113407434B (en) * | 2020-03-16 | 2024-06-14 | 腾讯科技(深圳)有限公司 | Method and device for processing debug file |
CN112269701A (en) * | 2020-11-11 | 2021-01-26 | 深圳创维-Rgb电子有限公司 | User side debugging method, user side and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067794A (en) * | 2007-06-14 | 2007-11-07 | 中兴通讯股份有限公司 | Multi-nuclear processor and serial port multiplexing method |
CN102289368A (en) * | 2011-06-17 | 2011-12-21 | 中兴通讯股份有限公司 | Method and system for obtaining serial printing information |
CN102662844A (en) * | 2012-04-12 | 2012-09-12 | 深圳市共进电子股份有限公司 | Data tracking method at start time of linux inner core |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012059024A (en) * | 2010-09-09 | 2012-03-22 | Ricoh Co Ltd | Information processor, start-up control method, start-up control program and recording medium |
-
2014
- 2014-11-19 CN CN201410664693.4A patent/CN104461872B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067794A (en) * | 2007-06-14 | 2007-11-07 | 中兴通讯股份有限公司 | Multi-nuclear processor and serial port multiplexing method |
CN102289368A (en) * | 2011-06-17 | 2011-12-21 | 中兴通讯股份有限公司 | Method and system for obtaining serial printing information |
CN102662844A (en) * | 2012-04-12 | 2012-09-12 | 深圳市共进电子股份有限公司 | Data tracking method at start time of linux inner core |
Also Published As
Publication number | Publication date |
---|---|
CN104461872A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE102019129622A1 (en) | EXTENDABLE INTEGRITY-PROTECTED CONNECTION FOR SECURE ACCELERATOR COMMUNICATION | |
US20180212937A1 (en) | Method and Device for Communicating Securely between T-Box Device and ECU Device in Internet of Vehicles System | |
US9432360B1 (en) | Security-aware split-server passcode verification for one-time authentication tokens | |
US10303881B2 (en) | Soft-wired radio (SWR) web machine | |
CN107563112A (en) | A kind of medical information sharing system | |
EP2381615B1 (en) | System and device for protection control instrumentation, and data transmission method | |
CN104461872B (en) | A kind of debugging information processing method and system | |
CN103413094B (en) | A kind of remote measurement encryption system being applicable to spacecraft CTU | |
CN107113180B (en) | Packet transmission device, packet reception device, and storage medium | |
CN105229965A (en) | Equipment identification system and equipment authenticating method | |
CN102111349A (en) | Security certificate gateway | |
CN102932650B (en) | Video data integrity protection and verification method, equipment and system | |
CN105391731B (en) | Wireless electronic license plate, its encryption method and encryption system | |
CN102624726A (en) | Multi-core intelligent network card platform-based ultrahigh-bandwidth network security audit method | |
CN106603561A (en) | Block level encryption method in cloud storage and multi-granularity deduplication method | |
CN105791207A (en) | network security method and network security service system | |
CN112887085B (en) | Method, device and system for generating security key of SSD (solid State disk) main control chip | |
CN102752269A (en) | Cloud computing-based method and system for identity authentication and cloud server | |
EP3713147A1 (en) | Railway signal security encryption method and system | |
CN102014012A (en) | Synchronous alarming method and device | |
CN103825725B (en) | A kind of efficient random physical layer key generation method based on vector quantization | |
CN107426166A (en) | A kind of acquisition methods of information, device and electronic equipment | |
CN109995527B (en) | Key interaction method and device, upper computer, lower computer and storage medium | |
CN105072104B (en) | The switch system and processing method of function are distorted with anti-IEEE1588 | |
US20120272303A1 (en) | Method and device for enhancing security of user security model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |