CN104899006B - A kind of multi-process method for parallel processing of multisystem platform - Google Patents

A kind of multi-process method for parallel processing of multisystem platform Download PDF

Info

Publication number
CN104899006B
CN104899006B CN201510269352.1A CN201510269352A CN104899006B CN 104899006 B CN104899006 B CN 104899006B CN 201510269352 A CN201510269352 A CN 201510269352A CN 104899006 B CN104899006 B CN 104899006B
Authority
CN
China
Prior art keywords
function
inspection
function process
subfunction
host
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
Application number
CN201510269352.1A
Other languages
Chinese (zh)
Other versions
CN104899006A (en
Inventor
万海山
朱广传
陈丹伟
任勋益
苗功勋
张璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANDONG ZHONGFU INFORMATION INDUSTRY Co Ltd
Original Assignee
SHANDONG ZHONGFU INFORMATION INDUSTRY 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 SHANDONG ZHONGFU INFORMATION INDUSTRY Co Ltd filed Critical SHANDONG ZHONGFU INFORMATION INDUSTRY Co Ltd
Priority to CN201510269352.1A priority Critical patent/CN104899006B/en
Publication of CN104899006A publication Critical patent/CN104899006A/en
Application granted granted Critical
Publication of CN104899006B publication Critical patent/CN104899006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a kind of technical scheme of the multi-process method for parallel processing of multisystem platform, the method of the program passes through parallel test mode, it can carry out including the typical functional checks such as internet records inspection, USB record checks and file checking, host process passes through local communication pipeline asynchronous communication with multiple function processes, improve efficiency, and user is capable of the species of unrestricted choice inspection, according to the selected situation of user, parallel test mode can judge the quantity for the function process that needs are run automatically.

Description

A kind of multi-process method for parallel processing of multisystem platform
Technical field
The present invention relates to a kind of multi-process method for parallel processing that can be used for multisystem platform.
Background technology
In the prior art, known technology is in current several operation systems platform, for internet records inspection, It is that serialization checks that so not only efficiency is low mostly during the typical functional check such as USB record checks and file checking, and Existing multinuclear, the present situation of multithreading can not be greatly utilized, causes the wasting of resources, this is the deficiency present in prior art Place.
The content of the invention
The purpose of the present invention provides a kind of multi-process of multisystem platform aiming at the deficiency present in prior art Method for parallel processing technical scheme, the method for the program by parallel test mode, can carry out including internet records inspection, The typical functional check such as USB record checks and file checking, host process are different by local communication pipeline with multiple function processes Step communication, improves efficiency, and user is capable of the species of unrestricted choice inspection, according to the selected situation of user, parallel reviewing party Formula can judge the quantity for the function process that needs are run automatically.
This programme is achieved by the following technical measures:A kind of multi-process method for parallel processing of multisystem platform, It is characterized in that comprise the following steps:
1)The species situation of functional check is selected according to user, judges the quantity for the function process that needs are run;
2)Host process is sent to function process according to the selected situation encapsulation parameter information of user;
3)Function process starts multiple threads and performs inspection according to the setting situation of parameter;
4)The main thread of function process collects the inspection result of each inspection thread, once there are inspection result generation, function Process can timely feed back implementation progress and inspection result;
5)Function process in the process of running, responds the control command from host process in time;
6)Function process feeds back to host process after inspection has been performed, by implementation progress, subsequently into resting state, waits Next step command of host process;
7)Host process checks result, and shows user.
Described functional check includes internet records inspection, USB record checks and file checking etc..
Described step 3)In, parameter information is sent to function process by host process by local communication pipeline.
Host process passes through local communication pipeline asynchronous communication with function process.
Described function process is separate.
Described thread is separate.
The protocol format of described control command includes subfunction mark, command control word, parameter information, subfunction mark For refining subfunction again in function process;Command control word determines the type of order, including beginning, suspending/resuming, stops Only etc.;Parameter information corresponding to different function processes is different.
The protocol format of the implementation progress and inspection result includes Function Identification, subfunction mark, type field, sequence Number, total sequence number, result, Function Identification and subfunction mark determine it is which function process is sent;Type field Distinguish whether pure progress feedback is wrapped;Sequence number feeds back current processing progress, and total sequence number then provide need it is to be processed total Number.
The beneficial effect of this programme can be learnt according to the narration to such scheme, because user can be free in this scenario The species checked is selected, according to the selected situation of user, parallel test mode can judge to need the function process run automatically Quantity;During function process initiation, host process can encapsulate necessary parameter information according to the selected situation of user, then pass through this Ground communication pipe is sent to function process, and each function process is separate, can greatly utilize system resource;Function process Operation rely on all kinds of parameters that host process is sent, the difference of parameter can influence the methods of operation of function process.According to parameter Setting situation, function process may start multiple threads and perform inspection, but this is on the premise of multiple threads are separate; Function process in the process of running, can respond the control command from host process in time, for example stop, suspending and continue Deng;Host process asynchronously checks result by local communication pipeline, is stored according to the different classifications of inspect-type, opened up simultaneously Show to client;Host process passes through local communication pipeline asynchronous communication, such control command, implementation progress and inspection with function process Etc. as a result what can be independent of each other is transmitted, and improves efficiency of transmission.As can be seen here, the present invention compared with prior art, has There are prominent substantive distinguishing features and significant progress, its beneficial effect implemented is also obvious.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by an embodiment, this programme is explained State.
The multi-process method for parallel processing of this programme, it is characterized in that comprising the following steps:
1)Selected according to user, the species feelings of the functional check such as internet records inspection, USB record checks and file checking Condition, the quantity for the function process that judgement needs are run, function process are separate;
2)Host process is sent parameter information by local communication pipeline according to the selected situation encapsulation parameter information of user Function process is sent to function process;
3)Function process starts multiple threads and performs inspection, thread is separate according to the setting situation of parameter;
4)The main thread of function process collects the inspection result of each inspection thread, once there are inspection result generation, function Process can feed back implementation progress and inspection result to host process by local communication pipeline in time;
5)Function process in the process of running, responds the control command from host process in time;
6)Function process feeds back to host process after inspection has been performed, by implementation progress, subsequently into resting state, waits Next step command of host process;
7)Host process checks result, and shows user.
Host process passes through local communication pipeline asynchronous communication with function process.
The protocol format of described control command includes subfunction mark, command control word, parameter information, subfunction mark For refining subfunction again in function process;Command control word determines the type of order, including beginning, suspending/resuming, stops Only etc.;Parameter information corresponding to different function processes is different.The protocol format of the implementation progress and inspection result includes work( Energy mark, subfunction mark, type field, sequence number, total sequence number, result, Function Identification and subfunction mark determine What which function process was sent;Type field distinguish whether pure progress
The present invention is not limited in above-mentioned embodiment, essential scope of the those of ordinary skill in the art in the present invention The variations, modifications, additions or substitutions inside made, it should also belong to protection scope of the present invention.

Claims (2)

  1. A kind of 1. multi-process method for parallel processing of multisystem platform, it is characterized in that comprising the following steps:
    1)The species situation of functional check is selected according to user, judges the quantity for the function process that needs are run;Functional check bag Include internet records inspection, USB record checks and file checking;
    2)Host process is sent to function process according to the selected situation encapsulation parameter information of user;Host process is led to function process Cross local communication pipeline asynchronous communication;
    3)Function process starts multiple threads and performs inspection according to the setting situation of encapsulation parameter;Host process passes through local communication Parameter information is sent to function process by pipeline;Function process is separate;Described thread is separate;
    4)The main thread of function process collects the inspection result of each inspection thread, once there is inspection result generation, function process Implementation progress and inspection result can timely be fed back;
    5)Function process in the process of running, responds the control command from host process in time;The association of described control command Discussing form includes the first subfunction mark, command control word, parameter information, and the first subfunction mark again refines function process Into multiple subfunction processes;Command control word determines the type of order, including beginning, suspending/resuming, stopping;Different functions Parameter information corresponding to process is different;
    6)Function process feeds back to host process after inspection has been performed, by implementation progress, subsequently into resting state, waits master to enter Next step command of journey;
    7)Host process checks result, and shows user.
  2. 2. the multi-process method for parallel processing of multisystem platform according to claim 1, it is characterized in that:
    The protocol format of the implementation progress and inspection result includes Function Identification, the second subfunction mark, type field, sequence Number, total sequence number, result, Function Identification and subfunction mark determine which function this implementation progress and inspection result are What process was sent;Type field distinguishes whether this implementation progress and inspection result are progress feedback bag;Sequence number represents current function The quantity of the result of thread inspected is checked in process, and total sequence number then provides and checks that thread needs inspection to be processed in function process Come to an end fruit sum.
CN201510269352.1A 2015-05-25 2015-05-25 A kind of multi-process method for parallel processing of multisystem platform Active CN104899006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510269352.1A CN104899006B (en) 2015-05-25 2015-05-25 A kind of multi-process method for parallel processing of multisystem platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510269352.1A CN104899006B (en) 2015-05-25 2015-05-25 A kind of multi-process method for parallel processing of multisystem platform

Publications (2)

Publication Number Publication Date
CN104899006A CN104899006A (en) 2015-09-09
CN104899006B true CN104899006B (en) 2018-03-30

Family

ID=54031685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510269352.1A Active CN104899006B (en) 2015-05-25 2015-05-25 A kind of multi-process method for parallel processing of multisystem platform

Country Status (1)

Country Link
CN (1) CN104899006B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562597A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 A kind of multi-process monitoring method, device and service system
CN109766191A (en) * 2019-01-17 2019-05-17 山东中孚安全技术有限公司 A kind of single machine puppet distributed document inspection method and system
CN112565359B (en) * 2020-11-25 2023-05-30 上汽通用五菱汽车股份有限公司 Network connection method, system, vehicle-mounted terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692267A (en) * 2009-09-15 2010-04-07 北京大学 Method and system for detecting large-scale malicious web pages
CN102147755A (en) * 2011-04-14 2011-08-10 中国人民解放军国防科学技术大学 Multi-core system fault tolerance method based on memory caching technology
CN103279331A (en) * 2013-05-31 2013-09-04 中国电子科技集团公司第十五研究所 Multi-task concurrent processing method and device for Android system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625654B1 (en) * 1999-12-28 2003-09-23 Intel Corporation Thread signaling in multi-threaded network processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692267A (en) * 2009-09-15 2010-04-07 北京大学 Method and system for detecting large-scale malicious web pages
CN102147755A (en) * 2011-04-14 2011-08-10 中国人民解放军国防科学技术大学 Multi-core system fault tolerance method based on memory caching technology
CN103279331A (en) * 2013-05-31 2013-09-04 中国电子科技集团公司第十五研究所 Multi-task concurrent processing method and device for Android system

Also Published As

Publication number Publication date
CN104899006A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104899006B (en) A kind of multi-process method for parallel processing of multisystem platform
CN104219288B (en) Distributed Data Synchronization method and its system based on multithreading
CN104038373B (en) information early warning and self-repairing system and method
CN104052758A (en) Self-adaptive method of multiple communication protocols of electric energy meter
CN111506345B (en) Non-flash memory instruction combination verification method, system, storage medium and terminal
CN102840992B (en) Satellite-borne self-testing method based on satellite network
CN103761185B (en) A kind of automatization test system and method
CN104613607B (en) Data interaction method and device and air conditioner control system
CN107719153A (en) Collection plate address automatic allocating method and device in battery management system
CN102521122A (en) Dynamic scene oriented method and system for generating test sequence
CN107360233A (en) Method, apparatus, equipment and the readable storage medium storing program for executing that file uploads
CN106253357B (en) A kind of method of supplying power to and power supply unit
CN106560796A (en) Early-warning method and system for internal memory stack abnormity of intranet terminal application program
CN105373549B (en) Data migration method, equipment and back end server
CN103746842B (en) The method and system that a kind of detection line card failure is restarted
CN109272249A (en) A kind of platform area line loss defect elimination method based on platform area identifier
CN106446303B (en) System and method for deploying large-scale cluster file system
CN106897200A (en) A kind of distributed file system performance method of testing based on redis
CN104539044A (en) Power distribution equipment state control method and device
CN108663378A (en) A kind of online product quality detection method
CN106484541A (en) A kind of automatic transmission synchronization method of strange land data based on Script controlling
CN104184732A (en) Hardware implementation method for matching IP address with IP range strategy
CN107291046A (en) The control system and method for digital control system miscellaneous function
CN107465544A (en) A kind of setting fru system and method
CN107995256A (en) A kind of wireless data collection methods, electronic equipment, storage medium, system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Xinluo Avenue high tech Zone of Ji'nan City, Shandong province 250101 No. 1166 orsus Building 2 building 15-16 layer

Applicant after: Shandong Zhongfu Information Industry Co., Ltd.

Address before: Xinluo Avenue high tech Zone of Ji'nan City, Shandong province 250101 No. 1166 orsus Building 2 building 15-16 layer

Applicant before: Shandong Zhongfu Information Industry Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant