CN104980394A - Image reception program preventing virus attack method and device - Google Patents

Image reception program preventing virus attack method and device Download PDF

Info

Publication number
CN104980394A
CN104980394A CN201410133062.XA CN201410133062A CN104980394A CN 104980394 A CN104980394 A CN 104980394A CN 201410133062 A CN201410133062 A CN 201410133062A CN 104980394 A CN104980394 A CN 104980394A
Authority
CN
China
Prior art keywords
image
receptive
image file
program
virus
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
CN201410133062.XA
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.)
Guangzhou Lansign Software Technology Co Ltd
Original Assignee
Guangzhou Lansign Software Technology 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 Guangzhou Lansign Software Technology Co Ltd filed Critical Guangzhou Lansign Software Technology Co Ltd
Priority to CN201410133062.XA priority Critical patent/CN104980394A/en
Publication of CN104980394A publication Critical patent/CN104980394A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an image reception program preventing virus attack method and device. The method comprises the following steps of A, receiving an image file sent by a client and storing the image file in a temporary directory; B, determining whether the image field is valid or not, if so, executing a step C, and if not, filtering the image file and executing a step E; C, opening the image file and reading image information; D, filing the read image information and storing the image information to an assigned directory; and E, determining whether to exit an image reception program, if so, exiting the current image reception program, and if not, returning to the step A. The invention also relates to a device for achieving the abovementioned method. The image reception program preventing virus attack method and device provided by the embodiment of the invention have the beneficial effects that the anti-virus attack is achieved, the image reception service is enabled to perform normally, and the efficiency is high.

Description

A kind of method that image-receptive program anti-virus is attacked and device
Technical field
The present invention relates to field of data transmission, the method for particularly a kind of image-receptive program anti-virus attack and device.
Background technology
Traditional PACS system DICOM image-receptive program is only for unit work station, do not consider other Workstations in local area network (LAN), owing to not arranging virus attack defence, usually cause reception program to be closed by abnormal after virus attack, so just cause image-receptive service normally to run.In addition, image filing merit can not normally use, ineffective systems, has a strong impact on hospital's regular traffic running.
Summary of the invention
The technical problem to be solved in the present invention is, there is no virus attack defence for prior art above-mentioned, image-receptive service cannot normally run, defect that efficiency is offset, the method that provide a kind of preventable disease poison to attack, the image-receptive program anti-virus that image-receptive service normally runs, efficiency is higher can be made to attack and device.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of method that image-receptive program anti-virus is attacked, comprise the steps:
A) receive the image file that client transmits, and left in temp directory;
B) judge whether described image file is legitimate files, in this way, perform step C); Otherwise, filter out described image file, perform step e);
C) described image file is opened, and reading images information;
D) image information of described reading is carried out filing the catalogue being stored in and specifying;
E) judge whether to exit image-receptive program, in this way, exit present image reception program; Otherwise, return steps A).
In the method that image-receptive program anti-virus of the present invention is attacked, in described steps A) also comprise pre-treatment step before:
A0) set up Handshake Protocol, receive packet, and judge whether described packet is valid data, in this way, perform steps A); Otherwise, filter out described packet, and perform step e).
In the method that image-receptive program anti-virus of the present invention is attacked, described legitimate files is DICOM image file.
In the method that image-receptive program anti-virus of the present invention is attacked, described step B) in be by judging that to the judgement of technical parameter whether described image file is DICOM image file.
In the method that image-receptive program anti-virus of the present invention is attacked, described Handshake Protocol is the agreement meeting dicom standard.
The invention still further relates to a kind of device realizing the method that above-mentioned image-receptive program anti-virus is attacked, comprising:
File reception unit: for receiving the image file that client transmits, and left in temp directory;
The legal judging unit of image: for judging whether described image file is legitimate files, filters out described image file when not being legitimate files;
Image fetching unit: for described image file is opened, and reading images information;
Profiling unit: file the catalogue being stored in and specifying for the image information of described reading being carried out;
Exiting unit: exit image-receptive program for judging whether, in this way, exiting present image reception program; Otherwise, return.
, also comprise in the device of the method that above-mentioned image-receptive program anti-virus is attacked of the present invention realization:
Handshake elements: for setting up Handshake Protocol, receives packet, and judges whether described packet is valid data, filters out described packet when not being valid data.
Realize in the device of the method that above-mentioned image-receptive program anti-virus is attacked of the present invention, described legitimate files is DICOM image file.
Realizing in the device of the method that above-mentioned image-receptive program anti-virus is attacked of the present invention, is by judging that to the judgement of technical parameter whether described image file is DICOM image file in the legal judging unit of described image.
Realize in the device of the method that above-mentioned image-receptive program anti-virus is attacked of the present invention, described Handshake Protocol is the agreement meeting dicom standard.
Implement method and the device of image-receptive program anti-virus of the present invention attack, there is following beneficial effect: due to after the image file that reception client transmits, left in temp directory; When this image file is legal image file, image file is opened, file after reading images information, when this image file is not legal image file, filter out this image file; System can be ensured so not by virus and network attack, make PACS system high efficiency, stable, safety, guarantee that business runs well; So its preventable disease poison is attacked, can be made that image-receptive service normally runs, efficiency is higher.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of method in the image-receptive program anti-virus of the present invention method of attacking and device embodiment;
Fig. 2 is the structural representation of device in described embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In the method and device embodiment of image-receptive program anti-virus attack of the present invention, the flow chart of the method that its image-receptive program anti-virus is attacked as shown in Figure 1.In Fig. 1, the method that this image-receptive program anti-virus is attacked comprises:
Step S01 sets up Handshake Protocol, receives packet, and judges whether packet is valid data: in this step, set up Handshake Protocol, receive packet, and judge whether packet is valid data, particularly, set up Handshake Protocol according to dicom standard, namely this Handshake Protocol is the agreement meeting dicom standard, after establishing Handshake Protocol, start to receive packet, and judge whether packet is valid data, if the result judged is yes, then perform step S03; Otherwise, perform step S02.
Step S02 filters out above-mentioned packet: if the judged result of above-mentioned steps S01 is no, then perform this step.In this step, because packet is not valid data, then filter out above-mentioned packet, the fail safe of data can be ensured like this.Execute this step, perform step S08.Above-mentioned steps S01 and step S02 is pre-treatment step.
Step S03 receives the image file that client transmits, and is left in temp directory: if the judged result of above-mentioned steps S01 is yes, then perform this step.In this step, the image file that receiving equipment client transmits, and left in temp directory.Execute this step, perform step S04.
Step S04 judges whether above-mentioned image file is legitimate files: in this step, judge whether above-mentioned image file is legitimate files, in the present embodiment, legitimate files is DICOM image file, in this step, be exactly judge whether above-mentioned image file is DICOM image file in fact, if the result judged is yes, then perform step S06; Otherwise, perform step S05.It is worth mentioning that, be by judging that to the judgement of technical parameter whether above-mentioned image file is DICOM image file in the present embodiment.
Step S05 filters out above-mentioned image file: if the judged result of above-mentioned steps S04 is no, then perform this step.In this step, because image file is not legitimate files, then filter out above-mentioned image file.Ensure PACS system not by virus and network attack, efficient, stable, safety, guarantees that business runs well.Execute this step, perform step S08.
Above-mentioned image file is opened by step S06, and reading images information: if the judged result of above-mentioned steps S04 is yes, then perform this step.In this step, open file destination, return the source device of this image; After opening image file, reading images information.
The image information of reading carries out filing the catalogue being stored in and specifying by step S07: in this step, by the image information read, and image filing is stored in the catalogue of specifying.
Step S08 judges whether to exit image-receptive program: in this step, judges whether to exit image-receptive program, if the result judged is yes, then performs step S09; Otherwise, return step S03.
Step S09 exits present image reception program: if the judged result of above-mentioned steps S08 is yes, then perform this step.In this step, exit present image reception program.Owing to employing double filtration, make the image that receives safer, thoroughly ensure that PACS system is not by virus and network attack, efficient, stable, safety, guarantees that business runs well.
It is worth mentioning that, under the certain situation of the present embodiment, such as, when attacking requirement to anti-virus and being not too high, the method that this image-receptive program anti-virus is attacked also can not comprise step S01 and step S02; Directly perform from step S03.Can the anti-virus dynamics of attacking not be too strong although it is so, but owing to eliminating two steps, the benefit brought to save system resource spending.
The present embodiment also relates to a kind of device realizing the method that above-mentioned image-receptive program anti-virus is attacked, and its structural representation as shown in Figure 2.In Fig. 2, this device comprises handshake elements 1, file reception unit 2, the legal judging unit 3 of image, image fetching unit 4, profiling unit 5 and exits unit 6; Wherein, handshake elements 1, for setting up Handshake Protocol, receives packet, and judges whether packet is valid data, filters out packet when not being valid data; The image file that file reception unit 2 transmits for receiving client, and left in temp directory; The legal judging unit 3 of image is for judging whether image file is legitimate files, filters out image file when not being legitimate files; Image fetching unit 4 is for opening image file, and reading images information; Profiling unit 5 files for the image information of reading being carried out the catalogue being stored in and specifying; Exit unit 6 and exit image-receptive program for judging whether, in this way, exit present image reception program; Otherwise, return.It is worth mentioning that, above-mentioned Handshake Protocol is the agreement meeting dicom standard, and legitimate files is DICOM image file.By judging that to the judgement of technical parameter whether image file is DICOM image file in the legal judging unit 3 of above-mentioned image.In the present embodiment, owing to employing double filtration, make the image that receives safer, thoroughly ensure that PACS system is not by virus and network attack, efficient, stable, safety, guarantees that business runs well.
It is worth mentioning that, under the certain situation of the present embodiment, such as, when attacking requirement to anti-virus and being not too high, the method that this image-receptive program anti-virus is attacked also can not comprise handshake elements 1.Can the anti-virus dynamics of attacking not be too strong although it is so, but owing to eliminating a unit, the benefit brought to save system resource spending.
In a word, in the present embodiment, contrast traditional DICOM image-receptive process accepts image, adopt the non-DICOM image of filtration and intelligence to intercept technology and receive image, make DICOM image-receptive program in PACS system can prevent network attack and the invasion of illegal image data, guarantee system is not by virus and network attack, and efficient, stable, safety, guarantees that business runs well simultaneously.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a method for image-receptive program anti-virus attack, is characterized in that, comprise the steps:
A) receive the image file that client transmits, and left in temp directory;
B) judge whether described image file is legitimate files, in this way, perform step C); Otherwise, filter out described image file, perform step e);
C) described image file is opened, and reading images information;
D) image information of described reading is carried out filing the catalogue being stored in and specifying;
E) judge whether to exit image-receptive program, in this way, exit present image reception program; Otherwise, return steps A).
2. the method for image-receptive program anti-virus attack according to claim 1, is characterized in that, in described steps A) also comprise pre-treatment step before:
A0) set up Handshake Protocol, receive packet, and judge whether described packet is valid data, in this way, perform steps A); Otherwise, filter out described packet, and perform step e).
3. the method for image-receptive program anti-virus attack according to claim 2, it is characterized in that, described legitimate files is DICOM image file.
4. the image-receptive program anti-virus according to claim 3 method of attacking, is characterized in that, described step B) in be by judging that to the judgement of technical parameter whether described image file is DICOM image file.
5. the method that the image-receptive program anti-virus according to Claims 1-4 any one is attacked, it is characterized in that, described Handshake Protocol is the agreement meeting dicom standard.
6. realize a device for the method that image-receptive program anti-virus as claimed in claim 1 is attacked, it is characterized in that, comprising:
File reception unit: for receiving the image file that client transmits, and left in temp directory;
The legal judging unit of image: for judging whether described image file is legitimate files, filters out described image file when not being legitimate files;
Image fetching unit: for described image file is opened, and reading images information;
Profiling unit: file the catalogue being stored in and specifying for the image information of described reading being carried out;
Exiting unit: exit image-receptive program for judging whether, in this way, exiting present image reception program; Otherwise, return.
7. the device of the method for image-receptive program anti-virus attack according to claim 6, is characterized in that, also comprise:
Handshake elements: for setting up Handshake Protocol, receives packet, and judges whether described packet is valid data, filters out described packet when not being valid data.
8. the device of the method for image-receptive program anti-virus attack according to claim 7, it is characterized in that, described legitimate files is DICOM image file.
9. the device of method attacked of image-receptive program anti-virus according to claim 8, is characterized in that, is by judging that to the judgement of technical parameter whether described image file is DICOM image file in the legal judging unit of described image.
10. the device of the method that the image-receptive program anti-virus according to claim 6 to 9 any one is attacked, it is characterized in that, described Handshake Protocol is the agreement meeting dicom standard.
CN201410133062.XA 2014-04-02 2014-04-02 Image reception program preventing virus attack method and device Pending CN104980394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410133062.XA CN104980394A (en) 2014-04-02 2014-04-02 Image reception program preventing virus attack method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410133062.XA CN104980394A (en) 2014-04-02 2014-04-02 Image reception program preventing virus attack method and device

Publications (1)

Publication Number Publication Date
CN104980394A true CN104980394A (en) 2015-10-14

Family

ID=54276504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410133062.XA Pending CN104980394A (en) 2014-04-02 2014-04-02 Image reception program preventing virus attack method and device

Country Status (1)

Country Link
CN (1) CN104980394A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020038345A1 (en) * 2000-08-01 2002-03-28 Susumu Takatsuka Communication system, computer program execution device, recording medium, computer program, program information supply method, and program information editing method
CN1671228A (en) * 2004-03-20 2005-09-21 香港理工大学 Mobile telephone access controller for Picture Archiving and Communication Systems (PACS) of enterprises
US20110066671A1 (en) * 2009-09-15 2011-03-17 Hiroomi Motohashi Projector, projector system, and control method
CN102436562A (en) * 2011-09-13 2012-05-02 蒋健 Safe medical image archiving and transmitting method
CN103577699A (en) * 2013-11-14 2014-02-12 哈尔滨工程大学 DICOM medical image displaying and processing method based on Android platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020038345A1 (en) * 2000-08-01 2002-03-28 Susumu Takatsuka Communication system, computer program execution device, recording medium, computer program, program information supply method, and program information editing method
CN1671228A (en) * 2004-03-20 2005-09-21 香港理工大学 Mobile telephone access controller for Picture Archiving and Communication Systems (PACS) of enterprises
US20110066671A1 (en) * 2009-09-15 2011-03-17 Hiroomi Motohashi Projector, projector system, and control method
CN102436562A (en) * 2011-09-13 2012-05-02 蒋健 Safe medical image archiving and transmitting method
CN103577699A (en) * 2013-11-14 2014-02-12 哈尔滨工程大学 DICOM medical image displaying and processing method based on Android platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘自德: "大竹中医院PACS系统研究", 《中国优秀硕士学位论文全文数据库信息科技辑(2008)》 *
王超: "医疗信息集成平台中DICOM中间件及访问控制模型的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑(2013)》 *

Similar Documents

Publication Publication Date Title
US10929538B2 (en) Network security protection method and apparatus
EP3494682B1 (en) Security-on-demand architecture
US20220239687A1 (en) Security Vulnerability Defense Method and Device
US10136324B2 (en) Method and apparatus for reading verification information
EP2944065B1 (en) Rule swapping in a packet network
CN104219200A (en) Device and method for protection from DNS cache attack
CN103313429A (en) Processing method for recognizing fabricated WIFI (Wireless Fidelity) hotspot
US9591021B2 (en) Zero day threat detection using host application/program to user agent mapping
CN106789486B (en) Method and device for detecting shared access, electronic equipment and computer readable storage medium
CN104202206A (en) Message processing device and method
KR20120072120A (en) Method and apparatus for diagnosis of malicious file, method and apparatus for monitoring malicious file
WO2016062113A1 (en) Wireless network access security detection method and terminal
CN105791311A (en) Security protection method and device for cloud platform firewall
CN106411852B (en) Distributed terminal access control method and device
WO2018146553A1 (en) Method and device for providing a security service
CN104363234A (en) Protection method and system for achieving dial-up networking on basis of public network IP and protection device
CN105516200A (en) Cloud system security processing method and device
CN104601578A (en) Recognition method and device for attack message and core device
CN104980394A (en) Image reception program preventing virus attack method and device
WO2015018200A1 (en) Method and apparatus for upgrading detection engine in firewall device
WO2019042164A1 (en) Method, apparatus, and computer storage medium for managing sms messages
EP3079334B1 (en) Device and method for transferring files from a portable storage device
CN114465774A (en) Network intrusion prevention method and device
CN109218315B (en) Safety management method and safety management device
KR101564558B1 (en) Methods for inducing instalation of agent without inducing program of installation of agent

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151014

RJ01 Rejection of invention patent application after publication