CN104077240A - Method and device for calling gate data with internal and external networks being isolated - Google Patents

Method and device for calling gate data with internal and external networks being isolated Download PDF

Info

Publication number
CN104077240A
CN104077240A CN201410295296.4A CN201410295296A CN104077240A CN 104077240 A CN104077240 A CN 104077240A CN 201410295296 A CN201410295296 A CN 201410295296A CN 104077240 A CN104077240 A CN 104077240A
Authority
CN
China
Prior art keywords
image data
data
cache
picture
intranet
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
CN201410295296.4A
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.)
GUILIN CHANGHAI DEVELOPMENT Co Ltd
Original Assignee
GUILIN CHANGHAI DEVELOPMENT 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 GUILIN CHANGHAI DEVELOPMENT Co Ltd filed Critical GUILIN CHANGHAI DEVELOPMENT Co Ltd
Priority to CN201410295296.4A priority Critical patent/CN104077240A/en
Publication of CN104077240A publication Critical patent/CN104077240A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to the field of computer and communication, and particularly relates to a method and device for calling gate data with internal and external networks being isolated. The method comprises the following steps: S101, acquiring gate data of the internal network, wherein the gate data comprise text data and picture data; S102, screening external network text data according to the type of the gate data, synchronizing the screened text data to the internal network in real time and backing up; S103, judging whether a calling request exists in the picture data or not by using a picture proxy server, calling the picture data to the internal network based on cache levels according to the calling request, and backing up. Under the condition that the internal and external networks are isolated, the gate data are classified, the text data are synchronized and transmitted in real time by using a boundary access gateway, and the picture data are accessed as required and cached on a plurality of levels by using the picture proxy server, thereby solving the problem of resource waste due to occupation of a large number of transmission bandwidths and repeated access of pictures in the real-time data transmission process of gate picture data.

Description

A kind of method and device of the bayonet socket data call for intranet and extranet isolation
Technical field
The invention belongs to Computers and Communication field, relate in particular to a kind of method and device of the bayonet socket data call for intranet and extranet isolation.
Background technology
Gate System full name is road vehicle intelligent monitoring and recording system, automatic monitoring, identification and the record of all motor vehicle information of the key sections such as highway, urban road, charge station is mainly used in passing through, system can provide the information such as the number plate, vehicle, the speed of a motor vehicle, running time, place of on-the-spot vehicle in real time automatically, and Ke command centre unifies bayonet socket or optionally deploys to ensure effective monitoring and control of illegal activities.Public security system has been built public security net and video private network at present, Gate System is built at video private network, but it is to carry out in public security net that system is used, therefore must realize bayonet socket data by border access platform enters public security net, for the user in public security net or operation system.
But, the following way of available technology adopting: all build respectively a set of bayonet socket platform at video private network and public security net, bayonet socket platform in video private network is synchronized to public security net platform bayonet socket data in real time, at public security net and video private network, all store respectively a bayonet socket data, the data that the user in two cover networks or operation system are used respectively place network.Because the data volume of picture is larger, in the process of transmission, the bandwidth resources of the border access platform of great amount of cost costliness will be taken, meanwhile, bayonet socket picture utilization rate and storage cell value ratio are lower, so repeated storage also will cause a large amount of fund input wastes.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method and device of the bayonet socket data call for intranet and extranet isolation, be intended to solve video private network in public security net synchrodata, since the large occupied bandwidth resource of data volume of the image data of transmission, the crowded wasting of resources problem producing with repeated access image data of channel causing.
The embodiment of the present invention is achieved in that a kind of method of the bayonet socket data call for intranet and extranet isolation, and described method comprises the steps:
Step S101, obtain the bayonet socket data of outer net, described bayonet socket data comprise text data and image data;
Step S102, according to the type screening outer net text data of bayonet socket data, and by the text data real-time synchronization after screening to Intranet and carry out back-up storage;
Step S103, picture proxy server judge whether described image data exists call request, according to call request, described image data is deployed into Intranet by buffer memory rank, and carry out back-up storage.
Further, screen described text data, and by described text data real-time synchronization to Intranet and carry out back-up storage, specifically comprise:
The text data of screening outer net, and described text data is carried out to back-up storage by border access gateway synchronous transmission to the storage system of Intranet.
Further, described Intranet is public security net, and described outer net is video private network.
Further, in picture proxy server, comprise picture and act on behalf of index, described picture is acted on behalf of index and is comprised that picture acts on behalf of concordance list and memory cache queue, it is the image data record sheet that local cache completes that described picture is acted on behalf of concordance list, and described memory cache queue is the image data of picture proxy server memory buffer;
Picture proxy server judges whether described image data exists call request, according to call request, described image data is deployed into Intranet by picture proxy server, specifically comprises:
Picture proxy server judges whether described image data exists call request, if so, according to the pictorial information title of image data, at picture, acts on behalf of and in index, searches picture storage address.If not, inoperation.
Further, the cache mode of described picture proxy server comprises memory cache and local cache,
Judge whether described image data carries out buffer memory, if there is the buffer memory of carrying out, according to the mode of buffer memory, be confirmed to be memory cache or local cache, if local cache, first image data is added to memory cache queue, then by memory cache, read described image data, if memory cache directly reads the image data in memory cache; If do not carry out buffer memory, need picture proxy server to read the image data of outer net, and the memory cache queue that image data is added to.
Further, in memory cache queue, the image data of buffer memory surpasses its setting threshold values, takes FIFO or LRU cache policy to store the image data of buffer memory in internal memory into local cache;
In local cache, the image data of buffer memory surpasses its setting threshold values, takes FIFO or LRU cache policy will delete the data of local cache.
The device that another object of the present invention is to provide a kind of bayonet socket data call for intranet and extranet isolation, comprising:
Acquiring unit, for obtaining bayonet socket data from outer net;
Screening unit, for according to the type screening outer net text data of bayonet socket data, and by the text data real-time synchronization after screening to Intranet and carry out back-up storage;
Judging unit, for judging whether Intranet sends the call request of image data, transfers and stores image data by multi-level buffer mode according to call request picture proxy server.
Described judging unit specifically comprises:
The first judging unit, judges whether image data exists call request, if so, starts the index of acting on behalf of of picture proxy server inquiry image data, if not, and inoperation;
The second judging unit, judges whether buffer memory of image data, if so, continues to judge that whether cache way is memory cache, if not, transfers image data by outer net platform, and described image data is transferred to Intranet buffer memory;
The 3rd judging unit, judges whether the mode of image data buffer memory is memory cache, if so, reads memory cache, if not, reads local image data, and described image data is called in to memory cache.
Further, described judging unit specifically comprises:
Scheduling unit, surpasses it for the image data when memory cache queue buffer memory and sets threshold values, takes FIFO or LRU cache policy to store the image data of buffer memory in internal memory into local cache;
Delete cells, surpasses it for the image data when local cache buffer memory and sets threshold values, takes FIFO or LRU cache policy to delete the data of local cache.
Beneficial effect of the present invention is: in the situation that intranet and extranet are isolated, by bayonet socket Data classification, utilize border access gateway real-time synchronization transmission text data, utilize the picture proxy server image data to be taked to the mode of access as required and multi-level buffer, solved the wasting of resources problem that bayonet socket image data takies a large amount of transmission bandwidths and repeated access picture in real-time data transmission process.
Accompanying drawing explanation
Fig. 1 shows the realization flow figure of the method for data call of the present invention;
Fig. 2 shows bayonet socket data call process flow diagram flow chart of the present invention;
Fig. 3 shows the structure drawing of device of data call of the present invention;
Fig. 4 shows judging unit concrete structure figure of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The in the situation that the embodiment of the present invention being isolated at intranet and extranet, by bayonet socket Data classification, utilize border access gateway real-time synchronization transmission text data, utilize the picture proxy server image data to be taked to the mode of access as required and multi-level buffer, solved the wasting of resources problem that bayonet socket image data takies a large amount of transmission bandwidths and repeated access picture in real-time data transmission process.
As shown in Figure 1, be a kind of realization flow figure of the bayonet socket data call for intranet and extranet isolation.
In step S101, obtain the bayonet socket data of outer net, described bayonet socket data comprise text data and image data;
In this example, the bayonet socket data of outer net comprise text data and image data, and Intranet need to be obtained the bayonet socket data of outer net, need bayonet socket Intranet platform to be connected with bayonet socket outer net platform, the mode connecting is not only and adopts border access gateway, also increased the carrying out that picture proxy server is transferred to bayonet socket Intranet to bayonet socket outer net and preferentially screened.
In step S102, according to the type screening outer net text data of bayonet socket data, and by the text data real-time synchronization after screening to Intranet and carry out back-up storage;
In this example, described Intranet is public security net, described outer net is video private network, image data and text data that bayonet socket outer net platform obtains respectively by high definition bayonet socket camera and bayonet socket platform, filter out the directly storage system to Intranet bayonet socket platform by border access gateway real-time synchronization of text data.
In step S103, picture proxy server judges whether described image data exists call request, according to call request, described image data is deployed into Intranet by buffer memory rank, and carries out back-up storage.
In this example, picture agency service judges whether described image data exists call request, if existed, start the index of acting on behalf of of picture proxy server inquiry image data, according to the address of acting on behalf of index and confirming that image data is deposited, the address of depositing specifically comprises: in described picture proxy server, comprise picture and act on behalf of index, described picture is acted on behalf of index and is comprised picture and act on behalf of concordance list and memory cache queue, it is the image data record sheet that local cache completes that described picture is acted on behalf of concordance list, described memory cache queue is the image data of picture proxy server memory buffer, according to multi-level buffer mode, image data is carried out to internal memory and read, if not, inoperation.
Further, the cache mode of described picture proxy server comprises memory cache and local cache; Wherein according to multi-level buffer mode, image data is carried out to internal memory and reads, specifically comprise:
In this example, judge whether described image data carries out buffer memory, if there is the buffer memory of carrying out, according to the mode of buffer memory, be confirmed to be memory cache or local cache, if local cache first adds memory cache queue image data, then by memory cache, read described image data, if memory cache directly reads the image data in memory cache; If do not carry out buffer memory, need picture proxy server to read the image data of outer net, and the memory cache queue that image data is added to.
Fig. 2 shows bayonet socket data call process flow diagram flow chart of the present invention.
In step S201, read bayonet socket text message;
In step S202, check whether image data exists to call needs;
In step S203, check that the picture of image data is acted on behalf of index;
In step S204, check whether image data exists buffer memory;
In step S2041, bayonet socket outer net platform is transferred picture, and is transferred to Intranet buffer memory;
In step S205, determine whether memory cache;
In step S2051, read local picture, and picture is called in to memory cache;
In step S206, internal memory reads picture.
As shown in Figure 3, be the structure drawing of device of data call of the present invention.
Acquiring unit 31, for obtaining bayonet socket data from outer net;
In this example, the bayonet socket that outer net carries by bayonet socket outer net platform divides platform and high definition bayonet socket collected by camera bayonet socket data, and described bayonet socket divides platform to gather text data, described high definition bayonet socket collected by camera image data; And store the bayonet socket data of collection into outer net bayonet socket storage system.
Screening unit 32, for screening the text data of bayonet socket data, and stores by border access gateway real-time synchronization described text data to Intranet;
In this example, outer net screens text data wherein according to the type of bayonet socket data, and the text data after screening is passed through to border access gateway real-time synchronization to the storage system of bayonet socket Intranet.
Judging unit 33, for judging whether Intranet sends the call request of image data, transfers and stores image data by multi-level buffer mode according to call request picture proxy server.
As shown in Figure 4, be judging unit concrete structure figure of the present invention.
Described judging unit specifically comprises:
The first judging unit 331, judges whether image data exists call request, if so, starts the index of acting on behalf of of picture proxy server inquiry image data, if not, and inoperation;
The second judging unit 332, judges whether buffer memory of image data, if so, continues to judge that whether cache way is memory cache, if not, transfers image data by outer net platform, and described image data is transferred to Intranet buffer memory;
The 3rd judging unit 333, judges whether the mode of image data buffer memory is memory cache, if so, reads memory cache, if not, reads local image data, and described image data is called in to memory cache.
Scheduling unit 334, surpasses it for the image data when memory cache queue buffer memory and sets threshold values, takes FIFO or LRU cache policy to store the image data of buffer memory in internal memory into local cache;
Delete cells 335, surpasses it for the image data when local cache buffer memory and sets threshold values, takes FIFO or LRU cache policy to delete the data of local cache.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computing machine or embedded device readable storage system, the above-mentioned storage system of mentioning can be ROM (read-only memory), and it is any that disk, hard disk, FLASH etc. form.
In the situation that intranet and extranet are isolated, by bayonet socket Data classification, utilize border access gateway real-time synchronization transmission text data, utilize the picture proxy server image data to be taked to the mode of access as required and multi-level buffer, solved the wasting of resources problem that bayonet socket image data takies a large amount of transmission bandwidths and repeated access picture in real-time data transmission process.
Above a kind of method and device calling for intranet and extranet bayonet socket isolated data provided by the present invention is described in detail, for one of ordinary skill in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (9)

1. a method for the bayonet socket data call of isolating for intranet and extranet, is characterized in that, comprising:
Step S101, obtain the bayonet socket data of outer net, described bayonet socket data comprise text data and image data;
Step S102, according to the type screening outer net text data of bayonet socket data, and by the text data real-time synchronization after screening to Intranet and carry out back-up storage;
Step S103, picture proxy server judge whether described image data exists call request, according to call request, described image data is deployed into Intranet by buffer memory rank, and carry out back-up storage.
2. the method for a kind of bayonet socket data call for intranet and extranet isolation according to claim 1, is characterized in that, described step S102 specifically comprises:
According to the type screening outer net text data of bayonet socket data, and the text data after screening is carried out to back-up storage by border access gateway synchronous transmission to the storage system of Intranet.
3. the method for a kind of bayonet socket data call for intranet and extranet isolation according to claim 1, is characterized in that,
Described Intranet is public security net, and described outer net is video private network.
4. the method for a kind of bayonet socket data call for intranet and extranet isolation according to claim 1, it is characterized in that, picture proxy server judges whether described image data exists call request, according to call request, described image data is deployed into Intranet by buffer memory rank, specifically comprises:
In picture proxy server, comprise picture and act on behalf of index, described picture is acted on behalf of index and is comprised that picture acts on behalf of concordance list and memory cache queue, it is the image data record sheet that local cache completes that described picture is acted on behalf of concordance list, and described memory cache queue is the image data of picture proxy server memory buffer;
Picture proxy server judges whether described image data exists call request, if so, according to the pictorial information title of image data, at picture, acts on behalf of and in index, searches picture storage address; If not, inoperation.
5. the method for a kind of bayonet socket data call for intranet and extranet isolation according to claim 4, is characterized in that, the cache mode of described picture proxy server comprises memory cache and local cache,
Judge whether described image data carries out buffer memory, if there is the buffer memory of carrying out, according to the mode of buffer memory, be confirmed to be memory cache or local cache, if local cache, first image data is added to memory cache queue, then by memory cache, read described image data, if memory cache directly reads the image data in memory cache; If do not carry out buffer memory, need picture proxy server to read the image data of outer net, and the memory cache queue that image data is added to.
6. the method for a kind of bayonet socket data call for intranet and extranet isolation according to claim 4, is characterized in that,
In memory cache queue, the image data of buffer memory surpasses its setting threshold values, takes FIFO or LRU cache policy to store the image data of buffer memory in internal memory into local cache;
In local cache, the image data of buffer memory surpasses its setting threshold values, takes FIFO or LRU cache policy will delete the data of local cache.
7. for a bayonet socket data call device for intranet and extranet isolation, it is characterized in that, described device comprises:
Acquiring unit, for obtaining bayonet socket data from outer net;
Screening unit, for according to the type screening outer net text data of bayonet socket data, and by the text data real-time synchronization after screening to Intranet and carry out back-up storage;
Judging unit, for judging whether Intranet sends the call request of image data, transfers and stores image data by multi-level buffer mode according to call request picture proxy server.
8. a kind of bayonet socket data call device for intranet and extranet isolation according to claim 7, is characterized in that, described judging unit specifically comprises:
The first judging unit, judges whether image data exists call request, if so, starts the index of acting on behalf of of picture proxy server inquiry image data, if not, and inoperation;
The second judging unit, judges whether buffer memory of image data, if so, continues to judge that whether cache way is memory cache, if not, transfers image data by outer net platform, and described image data is transferred to Intranet buffer memory;
The 3rd judging unit, judges whether the mode of image data buffer memory is memory cache, if so, reads memory cache, if not, reads local image data, and described image data is called in to memory cache.
9. a kind of bayonet socket data call device for intranet and extranet isolation according to claim 7, is characterized in that, described judging unit specifically comprises:
Scheduling unit, surpasses it for the image data when memory cache queue buffer memory and sets threshold values, takes FIFO or LRU cache policy to store the image data of buffer memory in internal memory into local cache;
Delete cells, surpasses it for the image data when local cache buffer memory and sets threshold values, takes FIFO or LRU cache policy to delete the data of local cache.
CN201410295296.4A 2014-06-26 2014-06-26 Method and device for calling gate data with internal and external networks being isolated Pending CN104077240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410295296.4A CN104077240A (en) 2014-06-26 2014-06-26 Method and device for calling gate data with internal and external networks being isolated

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410295296.4A CN104077240A (en) 2014-06-26 2014-06-26 Method and device for calling gate data with internal and external networks being isolated

Publications (1)

Publication Number Publication Date
CN104077240A true CN104077240A (en) 2014-10-01

Family

ID=51598507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410295296.4A Pending CN104077240A (en) 2014-06-26 2014-06-26 Method and device for calling gate data with internal and external networks being isolated

Country Status (1)

Country Link
CN (1) CN104077240A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750808A (en) * 2015-03-27 2015-07-01 安徽四创电子股份有限公司 Crossroad data border-crossing implementation method based on Hadoop big data platform
CN106027358A (en) * 2016-07-12 2016-10-12 上海厚泽信息技术有限公司 Network security management and control system for accessing social video networks to video private network
CN106909690A (en) * 2017-03-07 2017-06-30 四川驹马企业管理有限公司 Network data caching method
CN107070991A (en) * 2017-03-08 2017-08-18 四川驹马企业管理有限公司 Network data buffer storage and system
CN110147792A (en) * 2019-05-22 2019-08-20 齐鲁工业大学 The Key works Drug packing character high-speed detection system and method optimized based on memory
CN111371763A (en) * 2020-02-26 2020-07-03 高新兴科技集团股份有限公司 Network penetration access method and system for pictures, storage medium and electronic equipment
CN113472801A (en) * 2021-07-12 2021-10-01 中国人民解放军陆军勤务学院 Physically isolated network communication method and module

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750808A (en) * 2015-03-27 2015-07-01 安徽四创电子股份有限公司 Crossroad data border-crossing implementation method based on Hadoop big data platform
CN104750808B (en) * 2015-03-27 2018-01-19 安徽四创电子股份有限公司 Bayonet socket data based on Hadoop big data platforms cross border implementation
CN106027358A (en) * 2016-07-12 2016-10-12 上海厚泽信息技术有限公司 Network security management and control system for accessing social video networks to video private network
CN106909690A (en) * 2017-03-07 2017-06-30 四川驹马企业管理有限公司 Network data caching method
CN107070991A (en) * 2017-03-08 2017-08-18 四川驹马企业管理有限公司 Network data buffer storage and system
CN110147792A (en) * 2019-05-22 2019-08-20 齐鲁工业大学 The Key works Drug packing character high-speed detection system and method optimized based on memory
CN111371763A (en) * 2020-02-26 2020-07-03 高新兴科技集团股份有限公司 Network penetration access method and system for pictures, storage medium and electronic equipment
CN111371763B (en) * 2020-02-26 2022-07-05 高新兴科技集团股份有限公司 Network penetration access method and system for pictures, storage medium and electronic equipment
CN113472801A (en) * 2021-07-12 2021-10-01 中国人民解放军陆军勤务学院 Physically isolated network communication method and module
CN113472801B (en) * 2021-07-12 2022-10-14 中国人民解放军陆军勤务学院 Physically isolated network communication method and module

Similar Documents

Publication Publication Date Title
CN104077240A (en) Method and device for calling gate data with internal and external networks being isolated
CN113726846A (en) Edge cloud system, resource scheduling method, equipment and storage medium
WO2018001144A1 (en) Base station, and method, apparatus and system for responding to access request
CN106453572B (en) Method and system based on Cloud Server synchronous images
CN105279163A (en) Buffer memory data update and storage method and system
CN108121783A (en) A kind of automatic cleaning method, device, computer and storage medium for storing data
CN105245842A (en) Mass video monitoring system based on automobile data recorders
CN102387172A (en) Method and device for providing or obtaining contents of network resources for mobile equipment
CN108415962A (en) A kind of cloud storage system
CN103995807A (en) Massive data query and secondary processing method based on Web architecture
US20230176929A1 (en) Resource allocation method and apparatus based on edge computing
CN106331075A (en) Method for storing files, metadata server and manager
CN106686148A (en) Method and system for increasing uploading speed of objects in object storage system
CN106487856A (en) A kind of method and system of network file storage
CN115934303A (en) Shared operation method and shared operation device
CN117278628A (en) Data transmission method, device, system, computer equipment and storage medium
CN104486391B (en) A kind of method and system for realizing mobile content distribution
CN101552797B (en) System for realizing network system structure of service-oriented provision
CN106130880A (en) The gathering method of network mail data and system
CN103064793B (en) Simplify configuration capacity recovery method and system
CN105872634A (en) Video data sharing method and device
CN102868747A (en) Resource information management method and resource information management device
CN109376099A (en) A kind of method and device of the bayonet data call for tertiary-structure network
CN114640485B (en) Centralized access method, device, equipment and storage medium for service data
CN104301452A (en) Method and system for distinguishing host access position and inner gateway device

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: 20141001

RJ01 Rejection of invention patent application after publication