CN114866527B - Data processing methods, devices and systems - Google Patents
Data processing methods, devices and systems Download PDFInfo
- Publication number
- CN114866527B CN114866527B CN202210475068.XA CN202210475068A CN114866527B CN 114866527 B CN114866527 B CN 114866527B CN 202210475068 A CN202210475068 A CN 202210475068A CN 114866527 B CN114866527 B CN 114866527B
- Authority
- CN
- China
- Prior art keywords
- data
- processing
- message
- address information
- target address
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域Technical field
本发明涉及物联网与数据安全领域,尤其涉及一种数据处理方法、装置及系统。The present invention relates to the field of Internet of Things and data security, and in particular, to a data processing method, device and system.
背景技术Background technique
随着大数据、区块链、人工智能等技术的发展,视频监控系统/空间地理信息系统等广泛应用于国防军事、经济金融、生态资源、智慧城市等物联网与数据安全领域,产生海量高维、多源、异构的监控视频数据/时空数据。被认为是物联网“基石”的标识解析系统,广泛应用于物联网的海量标识解析领域。With the development of technologies such as big data, blockchain, and artificial intelligence, video surveillance systems/spatial geographic information systems are widely used in the Internet of Things and data security fields such as national defense and military, economy and finance, ecological resources, and smart cities, generating massive amounts of high-speed Dimensional, multi-source, heterogeneous surveillance video data/spatial-temporal data. The identification parsing system, considered the "cornerstone" of the Internet of Things, is widely used in the field of massive identification analysis of the Internet of Things.
伴随着视频监控系统广泛应用而来的是,以公共视频监控摄像头为跳板的黑客攻击事件频发,海量监控视频数据的隐私保护问题不断引起全球范围内的高度关注;空间地理信息系统则实现了各类数据在统一空间基底下的逻辑集成、可视化表达和挖掘分析等功能,伴随着时空大数据平台、智慧城市建设的广泛开展,针对“基础底板”作用的空间地理信息系统的数据安全威胁越来越严重,海量高维、多源、异构的时空重要数据、视频监控隐私数据以及个人敏感信息的安全保护成为重中之重。同样,针对海量物联网标识跨域移动、数据位置分散、解析请求海量、解析服务高并发等特点,标识解析系统千万量级在线并发解析作用越来越突出。Along with the widespread application of video surveillance systems, hacker attacks using public video surveillance cameras as springboards have occurred frequently. The issue of privacy protection of massive surveillance video data continues to attract global attention; spatial geographic information systems have achieved Functions such as logical integration, visual expression, and mining analysis of various types of data on a unified spatial basis. With the widespread development of spatiotemporal big data platforms and smart city construction, data security threats to spatial geographic information systems that play the role of "basic floor" are becoming increasingly important. As the situation becomes more and more serious, the security protection of massive high-dimensional, multi-source, heterogeneous spatio-temporal important data, video surveillance privacy data and personal sensitive information has become a top priority. Similarly, in view of the characteristics of cross-domain movement of massive IoT identifiers, dispersed data locations, massive parsing requests, and high concurrency of parsing services, the role of tens of millions of online concurrent parsing of the identity parsing system has become increasingly prominent.
一方面,现行数据保护技术通常以密码机(卡)并行方式工作,通过对密码机(卡)进行旁路调用的方式对数据进行加解密,但这种加解密方式数据回路远、调用时间长、导致传输效率低,无法满足高性能的安全存取和传输要求;另一方面,传统的密码机(卡)通讯模式在速度和安全性上均无法满足海量数据吞吐率高,在线并发服务数高等需求,采用高性能密码机(卡)能够提高吞吐量和并发数,从而实现多用户报文并行处理高性能要求。On the one hand, current data protection technology usually works in parallel with cipher machines (cards) and encrypts and decrypts data by bypassing the cipher machines (cards). However, this encryption and decryption method has long data loops and long call time. , leading to low transmission efficiency and being unable to meet high-performance secure access and transmission requirements; on the other hand, the traditional cryptographic machine (card) communication mode cannot meet the requirements of high throughput of massive data and the number of online concurrent services in terms of speed and security. For advanced needs, the use of high-performance cryptographic machines (cards) can increase throughput and concurrency, thereby achieving high-performance requirements for parallel processing of multi-user messages.
发明内容Contents of the invention
本发明提供一种数据处理方法、装置及系统,用以解决现有技术中通讯主路的流转节点以并行旁路应答的方式对数据进行处理,数据回路远、调用时间长而导致传输效率低的缺陷。The present invention provides a data processing method, device and system to solve the problem in the prior art that the circulation node of the main communication path processes data in the form of parallel bypass response. The data loop is far and the calling time is long, resulting in low transmission efficiency. Defects.
本发明提供一种数据处理方法,包括:The invention provides a data processing method, including:
接收以专用协议封装的第一报文,对所述第一报文进行解析得到第一数据和目标地址信息,所述专用协议包括专用协议报头和数据字段,所述第一数据和所述目标地址信息存储于所述数据字段;Receive a first message encapsulated in a dedicated protocol, parse the first message to obtain first data and target address information, the dedicated protocol includes a dedicated protocol header and a data field, the first data and the target address information Address information is stored in the data field;
对所述第一数据进行数据处理,得到第二数据;Perform data processing on the first data to obtain second data;
将所述第二数据发送至所述目标地址信息对应的目标接口。Send the second data to the target interface corresponding to the target address information.
根据本发明提供的一种数据处理方法,所述专用协议报头用于描述数据处理信息,所述数据处理信息包括处理参数、处理初始向量、偏移长度和处理算法类型。According to a data processing method provided by the present invention, the dedicated protocol header is used to describe data processing information, and the data processing information includes processing parameters, processing initial vectors, offset lengths and processing algorithm types.
根据本发明提供的一种数据处理方法,所述数据字段由数据净荷和MAC字段构成;According to a data processing method provided by the present invention, the data field is composed of a data payload and a MAC field;
所述数据净荷包括所述目标地址信息和所述第一数据;The data payload includes the target address information and the first data;
所述目标地址信息包括目的MAC地址、源MAC地址、协议类型、IP头部、TCP头部和HTTP头部;The target address information includes destination MAC address, source MAC address, protocol type, IP header, TCP header and HTTP header;
所述MAC字段用于对所述数据净荷的完整性进行校验。The MAC field is used to verify the integrity of the data payload.
根据本发明提供的一种数据处理方法,所述接收以专用协议封装的第一报文包括:According to a data processing method provided by the present invention, receiving a first message encapsulated in a dedicated protocol includes:
接收数据接口发送的以专用协议封装的所述第一报文;Receive the first message encapsulated in a dedicated protocol sent by the data interface;
所述对所述第一数据进行数据处理,得到第二数据,包括:The step of performing data processing on the first data to obtain the second data includes:
对所述第一数据进行加密,得到密文数据,将所述密文数据作为所述第二数据;Encrypt the first data to obtain ciphertext data, and use the ciphertext data as the second data;
所述将所述第二数据发送至所述目标地址信息对应的目标接口,包括:The sending of the second data to the target interface corresponding to the target address information includes:
将所述密文数据发送至所述目标地址信息对应的存储接口,由所述存储接口对所述密文数据进行存储。The ciphertext data is sent to a storage interface corresponding to the target address information, and the ciphertext data is stored by the storage interface.
根据本发明提供的一种数据处理方法,所述接收以专用协议封装的第一报文,包括:According to a data processing method provided by the present invention, receiving a first message encapsulated in a dedicated protocol includes:
接收存储接口发送的以专用协议封装的所述第一报文;Receive the first message encapsulated in a dedicated protocol and sent by the storage interface;
所述对所述第一数据进行数据处理,得到第二数据,包括:The step of performing data processing on the first data to obtain the second data includes:
对所述第一数据进行解密,得到明文数据,将所述明文数据作为所述第二数据;Decrypt the first data to obtain plaintext data, and use the plaintext data as the second data;
所述将所述第二数据发送至所述目标地址信息对应的目标接口,包括:The sending of the second data to the target interface corresponding to the target address information includes:
将所述明文数据发送至所述目标地址信息对应的数据接口,由所述数据接口对所述明文数据进行解析和封装并发送至终端。The plaintext data is sent to a data interface corresponding to the target address information, and the data interface parses and encapsulates the plaintext data and sends it to the terminal.
根据本发明提供的一种数据处理方法,所述接收以专用协议封装的第一报文,包括:According to a data processing method provided by the present invention, receiving a first message encapsulated in a dedicated protocol includes:
接收数据接口发送的以专用协议封装的所述第一报文;Receive the first message encapsulated in a dedicated protocol sent by the data interface;
所述对所述第一数据进行数据处理,得到第二数据,包括:The step of performing data processing on the first data to obtain the second data includes:
对所述第一数据进行解析,得到对象信息服务器地址,将所述对象信息服务器地址作为所述第二数据;Parse the first data to obtain the object information server address, and use the object information server address as the second data;
所述将所述第二数据发送至所述目标地址信息对应的目标接口,包括:The sending of the second data to the target interface corresponding to the target address information includes:
将所述对象信息服务器地址发送至所述目标地址信息对应的识别接口,由所述识别接口对所述对象信息服务器地址进行访问识别。The object information server address is sent to the identification interface corresponding to the target address information, and the identification interface performs access identification on the object information server address.
根据本发明提供的一种数据处理方法,所述对所述第一数据进行解析,得到对象信息服务器地址,包括:According to a data processing method provided by the present invention, parsing the first data to obtain the object information server address includes:
对所述第一数据进行解析,得到标识识别域名和对象编码;Parse the first data to obtain the identification domain name and object code;
对所述标识识别域名和所述对象编码进行解析,得到对象编码域名;Analyze the identification domain name and the object code to obtain the object code domain name;
对所述对象编码域名进行解析,得到所述对象信息服务器地址。The object encoding domain name is parsed to obtain the object information server address.
本发明还提供一种数据处理装置,包括:The invention also provides a data processing device, including:
接收模块,用于接收以专用协议封装的第一报文,对所述第一报文进行解析得到第一数据和目标地址信息,所述专用协议包括专用协议报头和数据字段,所述第一数据和所述目标地址信息存储于所述数据字段;A receiving module, configured to receive a first message encapsulated in a dedicated protocol, and parse the first message to obtain first data and target address information. The dedicated protocol includes a dedicated protocol header and a data field, and the first Data and the target address information are stored in the data field;
处理模块,用于对所述第一数据进行数据处理,得到第二数据;A processing module, used to perform data processing on the first data to obtain second data;
转发模块,用于将所述第二数据发送至所述目标地址信息对应的目标接口。A forwarding module, configured to send the second data to the target interface corresponding to the target address information.
本发明还提供一种数据处理系统,包括:通讯主路和上述任一种所述数据处理装置,所述数据处理装置以串行的方式接入到所述通讯主路。The present invention also provides a data processing system, including: a main communication channel and any one of the above-mentioned data processing devices, and the data processing device is connected to the main communication channel in a serial manner.
本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述数据处理方法的步骤。The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements any one of the above data processing methods. A step of.
本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述数据处理方法。The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any one of the above data processing methods is implemented.
本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述数据处理方法。The present invention also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements any one of the above data processing methods.
本发明提供的数据处理方法、装置及系统,通过在通讯主路中使用携带有第一数据和目标地址的专用协议进行通讯,实现了对第一数据的串行处理,并将处理后的数据转发至目标接口进行后续处理,减少了数据回路,降低了调用的时间,进而提高了传输的效率。The data processing method, device and system provided by the present invention realize serial processing of the first data by using a special protocol carrying the first data and the target address in the main communication channel, and the processed data Forwarding to the target interface for subsequent processing reduces data loops and call time, thereby improving transmission efficiency.
附图说明Description of the drawings
为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作以简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are of the present invention. For some embodiments of the invention, those of ordinary skill in the art can also obtain other drawings based on these drawings without exerting creative efforts.
图1是本发明提供的数据处理方法的流程示意图;Figure 1 is a schematic flow chart of the data processing method provided by the present invention;
图2是本发明提供的识别数据解析方法的流程示意图;Figure 2 is a schematic flow chart of the identification data analysis method provided by the present invention;
图3是本发明提供的报文数据的报文结构图;Figure 3 is a message structure diagram of message data provided by the present invention;
图4是本发明提供的数据处理装置的结构示意图;Figure 4 is a schematic structural diagram of the data processing device provided by the present invention;
图5是本发明提供的数据处理系统的结构示意图;Figure 5 is a schematic structural diagram of the data processing system provided by the present invention;
图6是本发明提供的数据存取系统的结构示意图;Figure 6 is a schematic structural diagram of the data access system provided by the present invention;
图7是本发明提供的数据存取系统的系统物理逻辑架构图;Figure 7 is a system physical and logical architecture diagram of the data access system provided by the present invention;
图8是本发明提供的数据存取系统的数据存储流程示意图之一;Figure 8 is one of the data storage flow diagrams of the data access system provided by the present invention;
图9是本发明提供的数据存取系统的数据存储流程示意图之二;Figure 9 is the second schematic diagram of the data storage flow of the data access system provided by the present invention;
图10是本发明提供的数据存取系统的数据读取流程示意图之一;Figure 10 is one of the data reading flow diagrams of the data access system provided by the present invention;
图11是本发明提供的数据存取系统的数据读取流程示意图之二;Figure 11 is the second schematic diagram of the data reading flow of the data access system provided by the present invention;
图12是本发明提供的编码解析系统的解析流程示意图;Figure 12 is a schematic diagram of the analysis flow of the encoding analysis system provided by the present invention;
图13是本发明提供的电子设备的结构示意图。Figure 13 is a schematic structural diagram of the electronic device provided by the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention more clear, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention. , not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
目前现有的密码机或者编码解析设备是以旁路的工作方式应用在数据传输过程中,即是以并行的方式在非通讯主路实时的响应通讯主路上某一结点发出的处理请求,并将处理后的数据返回给该节点,再由该节点将处理后的数据传入下一节点,进行后续对该处理后的数据进行下一步处理,但并行的工作方式数据回路远,调用的时间较长,传输效率低,无法满足高性能的数据处理和传输要求。Currently, existing cryptographic machines or code analysis equipment are used in the data transmission process in a bypass mode, that is, in a parallel manner, they respond to processing requests issued by a node on the main communication road in real time on the non-communication main road. And return the processed data to the node, and then the node will pass the processed data to the next node for subsequent processing of the processed data. However, the data loop is far in the parallel working method, and the calling The time is long, the transmission efficiency is low, and it cannot meet the high-performance data processing and transmission requirements.
因此,如何减少数据处理的时间,进而提高传输效率是本领域亟待解决的技术问题。Therefore, how to reduce data processing time and thereby improve transmission efficiency is an urgent technical issue in this field that needs to be solved.
图1是本发明提供的数据处理方法的流程示意图。如图1所示,本发明实施例提供了一种数据处理方法,其执行主体可以是密码机,还可以是编码解析设备,该方法包括:Figure 1 is a schematic flow chart of the data processing method provided by the present invention. As shown in Figure 1, an embodiment of the present invention provides a data processing method, the execution subject of which may be a cryptographic machine or a coding parsing device. The method includes:
步骤110,接收以专用协议封装的第一报文,对第一报文进行解析得到第一数据和目标地址信息,专用协议包括专用协议报头和数据字段,第一数据和目标地址信息存储于所述数据字段;Step 110: Receive the first message encapsulated in a dedicated protocol, parse the first message to obtain first data and target address information. The dedicated protocol includes a dedicated protocol header and data fields, and the first data and target address information are stored in the Described data field;
步骤120,对第一数据进行数据处理,得到第二数据;Step 120: Perform data processing on the first data to obtain second data;
步骤130,将第二数据发送至目标地址信息对应的目标接口。Step 130: Send the second data to the target interface corresponding to the target address information.
考虑到现行的密码机或者编码解析设备是以并行的旁路工作方式进行数据处理,密码机或者编码解析设备会将响应请求后得到的处理后的数据原路返回给发送处理请求的节点,该节点再将处理后的数据发送至通信主路的后续节点进行后续操作,显然这样的工作方式会出现两次对处理后数据的拷贝操作,一次为密码机或者编码解析设备返回给该节点,另一次为该节点将处理后的数据发送给后续节点,从而增加了传输时间,增加了调用时间。因此,本发明实施例将密码机或者编码解析设备以串行的方式接入通信主路,即将密码机或者编码解析设备作为通信主路中的一个节点,此时需要以串行的方式执行数据处理和转发的操作,因此,本发明提供了携带有第一数据和目标地址的专用协议进行通讯。Considering that the current encryption machine or coding analysis equipment processes data in a parallel bypass mode, the encryption machine or coding analysis equipment will return the processed data obtained in response to the request to the node that sent the processing request. The node then sends the processed data to subsequent nodes on the main communication path for subsequent operations. Obviously, this way of working will result in two copy operations of the processed data, one is returned to the node by the cryptographic machine or coding analysis device, and the other is The processed data is sent to the subsequent node once for the node, thereby increasing the transmission time and increasing the calling time. Therefore, in the embodiment of the present invention, the cipher machine or the coding analysis device is connected to the main communication path in a serial manner, that is, the cipher machine or the coding analysis device is used as a node in the main communication path. At this time, the data needs to be executed in a serial manner. Processing and forwarding operations, therefore, the present invention provides a dedicated protocol carrying the first data and the destination address for communication.
具体地,接收通讯主路中由前一节点发送的以专用协议封装的第一报文,并对第一报文进行解析,得到第一数据和目标地址信息,该专用协议包括专用协议报头和数据字段,其中,第一数据和目标地址信息存储于数据字段,然后应用处理信息对第一数据进行数据处理,得到第二数据,并将第二数据发送至目标地址信息对应的目标接口。其中,处理信息可以是预先设定的,还可以是专用协议中携带的,本发明实施例对此不作限制。Specifically, the first message encapsulated in a special protocol sent by the previous node in the main communication path is received, and the first message is parsed to obtain the first data and target address information. The special protocol includes a special protocol header and In the data field, the first data and target address information are stored in the data field, and then the processing information is applied to the first data to obtain the second data, and the second data is sent to the target interface corresponding to the target address information. The processing information may be preset or carried in a dedicated protocol, which is not limited in the embodiment of the present invention.
需要说明的是,应用处理信息对第一数据进行数据处理可以是通过处理信息中携带的加密算法和加密参数(密钥、密钥初始向量)对第一数据进行加密处理,还可以是通过处理信息中携带的解密算法和解密参数(密钥、密钥初始向量)对第一数据进行解密处理,又或者是通过处理信息中携带的解析算法、解析参数和解析初始向量对第一数据进行解析,本发明实施例对此不作限制。目标接口可以是存储接口用于对第二数据进行存储、还可以是数据接口用于对第二数据进行封装并发送至终端,又或者是识别接口用于对第二数据进行访问识别,本发明实施例对此不作限制。It should be noted that applying the processing information to perform data processing on the first data may be to encrypt the first data through the encryption algorithm and encryption parameters (key, key initialization vector) carried in the processing information, or it may be through processing The first data is decrypted using the decryption algorithm and decryption parameters (key, key initial vector) carried in the information, or the first data is parsed by processing the parsing algorithm, parsing parameters and parsing initial vector carried in the information. , the embodiment of the present invention does not limit this. The target interface may be a storage interface used to store the second data, a data interface used to encapsulate the second data and send it to the terminal, or an identification interface used to access and identify the second data. The present invention The embodiment does not limit this.
此外,目标地址信息可以有多个目标地址,每个目标地址会对应一个目标接口,当目标地址有多个时,会将第二数据以并发的方式发送至所有目标地址对应的目标接口,实现了数据处理的高并发。In addition, the target address information can have multiple target addresses, and each target address will correspond to a target interface. When there are multiple target addresses, the second data will be sent to the target interfaces corresponding to all target addresses in a concurrent manner to achieve High concurrency of data processing.
本发明实施例提供的数据处理方法,通过在通讯主路中使用携带有第一数据和目标地址的专用协议进行通讯,实现了对第一数据的串行处理,并将处理后的数据转发至目标接口进行后续处理,减少了数据回路,降低了调用的时间,进而提高了传输的效率。The data processing method provided by the embodiment of the present invention implements serial processing of the first data by using a dedicated protocol carrying the first data and the target address in the main communication path, and forwards the processed data to The target interface performs subsequent processing, reducing data loops and calling time, thus improving transmission efficiency.
基于上述实施例,步骤110中的第一报文进行解析还可以得到处理信息;Based on the above embodiment, processing information can also be obtained by parsing the first message in step 110;
考虑到通讯主路中可以存在多个密码机或者编码解析设备,并且每一个密码机或者编码解析设备对数据进行处理的方式均可以不同,以密码机为例:加密的时候,需要将加密的密文数据发送到存储接口,解密的时候需要将解密的明文数据发送到数据接口,又或者在对加密的待存储数据进行解密的加解密信息和在对数据接口发送的明文数据进行加密的加解密信息不相同。此时通过预设配置的方式对多个发送地址以及多种加密方式进行配置,会使得配置内容很繁琐,并且不灵活。因此,本发明实施例将发送目标地址和处理信息作为第一报文数据中的一部分。Considering that there can be multiple cipher machines or code analysis devices in the main communication channel, and each cipher machine or code analysis device can process data in a different way, take the cipher machine as an example: when encrypting, the encrypted data needs to be The ciphertext data is sent to the storage interface. When decrypting, the decrypted plaintext data needs to be sent to the data interface, or the encryption and decryption information is used to decrypt the encrypted data to be stored and the plaintext data sent to the data interface is encrypted. Decrypting the information is not the same. At this time, configuring multiple sending addresses and multiple encryption methods through preset configuration will make the configuration content very cumbersome and inflexible. Therefore, in this embodiment of the present invention, the sending target address and processing information are included as part of the first message data.
需要说明的是,处理信息可以包括处理参数,处理算法类型等,目标地址信息可以包括目标地址的IP,监听的端口号,通信协议类型等,本发明实施例对此不作限制。It should be noted that the processing information may include processing parameters, processing algorithm types, etc., and the target address information may include the IP of the target address, the listening port number, the communication protocol type, etc., which are not limited in the embodiment of the present invention.
基于上述实施例,专用协议报头用于描述数据处理信息,数据处理信息包括处理参数、处理初始向量、偏移长度和处理算法类型。Based on the above embodiments, the dedicated protocol header is used to describe data processing information, and the data processing information includes processing parameters, processing initial vectors, offset lengths, and processing algorithm types.
需要说明的是,专用协议报头内存空间的末尾内存地址和待处理数据部分内存空间的内存首地址是相邻的内存地址。内存空间相邻表示两个内存空间,首地址小的内存空间的末尾内存地址和首地址大的内存空间的内存首地址相邻,且是连续的内存地址,例如:A的内存空间和B的内存空间相邻,则A的内存空间的内存末尾地址和B的内存空间的内存首地址相邻。专用协议报头中的处理参数的内存空间和处理初始向量的内存空间相邻,处理初始向量内存空间和偏移长度的内存空间相邻,偏移长度的内存空间和处理算法类型的内存空间相邻。It should be noted that the end memory address of the dedicated protocol header memory space and the first memory address of the memory space of the data part to be processed are adjacent memory addresses. Adjacent memory spaces means two memory spaces. The end memory address of the memory space with a small first address is adjacent to the first memory address of the memory space with a large first address, and they are consecutive memory addresses. For example: A's memory space and B's. The memory spaces are adjacent, then the memory end address of A's memory space and the memory first address of B's memory space are adjacent. The memory space for processing parameters in the dedicated protocol header is adjacent to the memory space for processing initial vectors, the memory space for processing initial vectors is adjacent to the memory space for offset length, and the memory space for offset length is adjacent to the memory space for processing algorithm types. .
基于上述实施例,数据字段由数据净荷和MAC字段构成;Based on the above embodiment, the data field consists of a data payload and a MAC field;
数据净荷包括所述目标地址信息和第一数据;The data payload includes the target address information and the first data;
目标地址信息包括目的MAC地址、源MAC地址、协议类型、IP头部、TCP头部和HTTP头部;Destination address information includes destination MAC address, source MAC address, protocol type, IP header, TCP header and HTTP header;
MAC字段用于对数据净荷的完整性进行校验。The MAC field is used to verify the integrity of the data payload.
需要说明的是,待处理数据部分中数据净荷的内存空间和MAC字段的内存空间相邻,数据净荷中的目标地址信息的内存空间和第一数据的内存空间相邻,目标地址信息中的目的MAC地址的内存空间和源MAC地址的内存空间相邻,源MAC地址的内存空间和协议类型的内存空间相邻、协议类型的内存空间和IP头部的内存空间相邻、IP头部的内存空间和TCP头部的内存空间相邻,TCP头部的内存空间和HTTP头部的内存空间相邻。It should be noted that the memory space of the data payload in the data part to be processed is adjacent to the memory space of the MAC field, and the memory space of the target address information in the data payload is adjacent to the memory space of the first data. The memory space of the destination MAC address is adjacent to the memory space of the source MAC address. The memory space of the source MAC address is adjacent to the memory space of the protocol type. The memory space of the protocol type is adjacent to the memory space of the IP header. The IP header The memory space of TCP header is adjacent to the memory space of TCP header, and the memory space of TCP header is adjacent to the memory space of HTTP header.
基于上述实施例,本发明提供一优选实施例,该实施例中将上述实施例中的数据处理方法应用于数据加密中,步骤110中的接收以专用协议封装的第一报文包括:Based on the above embodiments, the present invention provides a preferred embodiment in which the data processing method in the above embodiments is applied to data encryption. The reception of the first message encapsulated in a dedicated protocol in step 110 includes:
接收数据接口发送的以专用协议封装的第一报文;Receive the first message encapsulated in a dedicated protocol sent by the data interface;
步骤120包括:Step 120 includes:
对第一数据进行加密,得到密文数据,将密文数据作为第二数据;Encrypt the first data to obtain ciphertext data, and use the ciphertext data as the second data;
步骤130包括:Step 130 includes:
将密文数据发送至目标地址信息对应的存储接口,由存储接口对密文数据进行存储。Send the ciphertext data to the storage interface corresponding to the target address information, and the storage interface stores the ciphertext data.
具体地,终端将待存储数据流发送至数据接口,数据接口在接收到待存储数据流之后,对该存储数据流进行解析并进行数据重组,得到明文数据,将明文数据以专用协议封装成第一报文。接收到数据接口发送的第一报文后,对第一报文进行解析得到第一数据和目标地址信息,此时处理信息中的处理参数为密钥,处理初始向量为密钥初始向量,以及处理算法类型为加密算法类型,以串行的方式应用处理信息对第一数据进行加密,然后根据目标地址信息,将加密后的密文数据发送到目标地址信息对应的存储接口,其中,存储接口在接收到密文数据之后,将该密文数据进行存储。Specifically, the terminal sends the data stream to be stored to the data interface. After receiving the data stream to be stored, the data interface parses the stored data stream and performs data reorganization to obtain plaintext data, which is encapsulated into the third data stream using a dedicated protocol. One message. After receiving the first message sent by the data interface, the first message is parsed to obtain the first data and target address information. At this time, the processing parameter in the processing information is the key, the processing initial vector is the key initial vector, and The processing algorithm type is an encryption algorithm type, and the processing information is applied in a serial manner to encrypt the first data, and then the encrypted ciphertext data is sent to the storage interface corresponding to the target address information according to the target address information, where the storage interface After receiving the ciphertext data, the ciphertext data is stored.
需要说明的是,数据接口中在进行数据重组之前,可以在待存储数据流是密文的情况下进行解密操作,还可以进行数据完整性校验等操作;在存储接口对密文数据进行存储之前,可以将密文数据进行数据分割后存储,还可以进行建立索引等操作,本发明实施例对此不作限制。It should be noted that before data reorganization in the data interface, decryption operations can be performed when the data stream to be stored is ciphertext, and operations such as data integrity verification can also be performed; ciphertext data can be stored in the storage interface. Previously, the ciphertext data could be divided into data and stored, and operations such as indexing could also be performed. This is not limited in the embodiment of the present invention.
此外,目标地址信息可以有多个目标地址,每个目标地址会对应一个存储接口,当目标地址有多个时,会将密文数据以并发的方式发送至所有目标地址对应的存储接口,实现了数据加密处理的高并发。In addition, the target address information can have multiple target addresses, and each target address will correspond to a storage interface. When there are multiple target addresses, the ciphertext data will be sent to the storage interfaces corresponding to all target addresses in a concurrent manner to achieve High concurrency of data encryption processing.
基于上述实施例,本发明提供一优选实施例,该实施例中将上述实施例中的数据处理方法应用于数据解密中,步骤110中的接收以专用协议封装的第一报文包括:Based on the above embodiments, the present invention provides a preferred embodiment. In this embodiment, the data processing method in the above embodiment is applied to data decryption. The reception of the first message encapsulated in a dedicated protocol in step 110 includes:
接收存储接口发送的以专用协议封装的第一报文;Receive the first message encapsulated in a dedicated protocol sent by the storage interface;
步骤120包括:Step 120 includes:
对第一数据进行解密,得到明文数据,将明文数据作为第二数据;Decrypt the first data to obtain plaintext data, and use the plaintext data as the second data;
步骤130包括:Step 130 includes:
将明文数据发送至目标地址信息对应的存储接口,由对应的数据接口,由数据接口对明文数据进行解析和封装并发送至终端。The plaintext data is sent to the storage interface corresponding to the target address information, and the corresponding data interface parses and encapsulates the plaintext data and sends it to the terminal.
具体地,存储接口在接收到读取请求查询之后,查询得到密文数据,将密文数据以专用协议封装成第一报文。在接收到存储接口发送的第一报文之后,对密文报文进行解析得到第一数据和目标地址信息,此时处理信息中的处理参数为密钥,处理初始向量为密钥初始向量,以及处理算法类型为解密算法类型,以串行的方式应用处理信息对第一数据进行解密,然后根据目标地址信息,将解密后的明文数据发送到目标地址信息对应的数据接口,其中,数据接口在接收到明文数据之后,对该明文数据进行解析和封装后发送至终端。Specifically, after receiving the read request query, the storage interface queries to obtain the ciphertext data, and encapsulates the ciphertext data into a first message using a dedicated protocol. After receiving the first message sent by the storage interface, the ciphertext message is parsed to obtain the first data and target address information. At this time, the processing parameter in the processing information is the key, and the processing initial vector is the key initial vector. and the processing algorithm type is the decryption algorithm type, applying the processing information in a serial manner to decrypt the first data, and then sending the decrypted plaintext data to the data interface corresponding to the target address information according to the target address information, wherein the data interface After receiving the plaintext data, the plaintext data is parsed and encapsulated and sent to the terminal.
需要说明的是,存取接口可以读取密文数据的多个数据块并根据去存储时建立的索引将多个数据块进行拼接,得到第一数据;在数据接口对数据进行解析之后,可以根据与终端的通信协议约定,若需要使用密文数据传输,则可以对明文数据进行加密操作,本发明实施例对此不作限制。It should be noted that the access interface can read multiple data blocks of ciphertext data and splice the multiple data blocks according to the index established when storing to obtain the first data; after the data interface parses the data, it can According to the communication protocol agreement with the terminal, if ciphertext data needs to be transmitted, the plaintext data can be encrypted. This is not limited in the embodiment of the present invention.
此外,目标地址信息可以有多个目标地址,每个目标地址会对应一个数据接口,当目标地址有多个时,会将明文数据以并发的方式发送至所有目标地址对应的数据接口,实现了数据解密处理的高并发。In addition, the target address information can have multiple target addresses, and each target address will correspond to a data interface. When there are multiple target addresses, the plaintext data will be sent to the data interfaces corresponding to all target addresses in a concurrent manner, achieving High concurrency of data decryption processing.
基于上述实施例,本发明提供一优选实施例,该实施例中将上述实施例中的数据处理方法应用于编码解析中,步骤110中的接收以专用协议封装的第一报文包括:Based on the above embodiments, the present invention provides a preferred embodiment. In this embodiment, the data processing method in the above embodiments is applied to encoding analysis. The reception of the first message encapsulated in a dedicated protocol in step 110 includes:
接收数据接口发送的以专用协议封装的第一报文;Receive the first message encapsulated in a dedicated protocol sent by the data interface;
步骤120包括:Step 120 includes:
对第一数据进行解析,得到对象信息服务器地址,将对象信息服务器地址作为第二数据;Parse the first data to obtain the object information server address, and use the object information server address as the second data;
步骤130包括:Step 130 includes:
将对象信息服务器地址发送至目标地址信息对应的识别接口,由识别接口对对象信息服务器地址进行访问识别。The object information server address is sent to the identification interface corresponding to the target address information, and the identification interface accesses and identifies the object information server address.
具体地,终端将待解析数据流发送至数据接口,数据接口在接收到待解析数据流之后,对该待解析数据流进行预处理,得到标识数据,将标识数据(第一数据)以专用协议封装成第一报文。接收到数据接口发送的第一报文后,对明文报文进行解析得到第一数据和目标地址信息,此时处理信息中的处理参数为编码解析参数,处理初始向量为编码解析初始向量,以及处理算法类型为编码解析算法类型,以串行的方式应用处理信息对第一数据进行解析,然后根据目标地址信息,将解析后的对象信息服务器地址发送到目标地址信息对应的识别接口,其中,识别接口在接收到对象信息服务器地址之后,对对象信息服务器地址进行访问识别。Specifically, the terminal sends the data stream to be parsed to the data interface. After receiving the data stream to be parsed, the data interface preprocesses the data stream to be parsed to obtain identification data, and converts the identification data (first data) to a dedicated protocol. Encapsulated into the first message. After receiving the first message sent by the data interface, the plaintext message is parsed to obtain the first data and target address information. At this time, the processing parameters in the processing information are encoding parsing parameters, the processing initial vector is the encoding parsing initial vector, and The processing algorithm type is a coding parsing algorithm type, which applies processing information in a serial manner to parse the first data, and then sends the parsed object information server address to the identification interface corresponding to the target address information according to the target address information, where, After receiving the object information server address, the identification interface performs access identification on the object information server address.
需要说明的是,目标地址信息可以有多个目标地址,每个目标地址会对应一个数据接口,当目标地址有多个时,会将对象信息服务器地址以并发的方式发送至所有目标地址对应的数据接口,实现了数据解析处理的高并发。It should be noted that the target address information can have multiple target addresses, and each target address will correspond to a data interface. When there are multiple target addresses, the object information server address will be sent to all corresponding target addresses in a concurrent manner. The data interface realizes high concurrency in data parsing and processing.
基于上述实施例,图2是本发明提供的识别数据解析方法的流程示意图。如图2所示,对第一数据进行解析,得到对象信息服务器地址,包括:Based on the above embodiments, FIG. 2 is a schematic flowchart of the identification data analysis method provided by the present invention. As shown in Figure 2, the first data is parsed to obtain the object information server address, including:
步骤210,对第一数据进行解析,得到标识识别域名和对象编码;Step 210, parse the first data to obtain the identification domain name and object code;
步骤220,对标识识别域名和对象编码进行解析,得到对象编码域名;Step 220: Parse the identification recognition domain name and object encoding to obtain the object encoding domain name;
步骤230,对对象编码域名进行解析,得到对象信息服务器地址。Step 230: Analyze the object encoding domain name to obtain the object information server address.
考虑到接收到的第一数据可能经过多次编码,此时需要对第一数据进行多次解码得到需要的识别数据。Considering that the received first data may be encoded multiple times, in this case, the first data needs to be decoded multiple times to obtain the required identification data.
具体地,先对第一数据进行解析,得到第一中间结果标识识别域名和对象编码,再将标识识别域名和对象编码作为一个整体进行解析,得到第二中间结果对象编码域名,最后对对象编码域名进行解析,得到对象信息服务地址,即识别数据。Specifically, the first data is first parsed to obtain the first intermediate result identification domain name and object code, and then the identification identification domain name and object code are parsed as a whole to obtain the second intermediate result object code domain name, and finally the object code is The domain name is parsed to obtain the object information service address, that is, the identification data.
需要说明的是,这三个步骤可以在通讯主路的一个节点中完成,还可以在三个节点中完成,本发明实施例对此不作限制。在一个节点中完成时,专用协议中的处理信息中的编码解析参数,编码解析初始向量以及编码解析算法类型所在的内存空间内都分别存有三个编码解析参数,三个编码解析初始向量以及三个编码解析算法类型,以及内存地址由小到大的顺序,形成三组对应关系,分别对第一数据、标识识别域名和对象编码,以及对象编码域名进行解析。在三个节点中完成,则步骤210执行之前接收到的第一报文的中专用协议中的数据为第一数据,以及目标地址为步骤220所在节点的地址信息,在步骤210执行完成之后,将标识识别域名和对象编码作为新的第一数据,以及将步骤230的节点的地址信息作为目标地址信息以专用协议封装到新的第一报文中,其中第一报文中还可以封装步骤220的处理信息,在新的第一报文封装完成后发送到步骤220所在的节点,步骤220接收到步骤210发送的第一报文之后,对接收到的第一报文进行处理,步骤220执行完成之后,将对象编码域名作为新的第一报文,以及将识别接口的地址信息作为目标地址信息以专用协议封装到新的第一报文中,其中第一报文中还可以封装步骤230的处理信息,在新的第一报文封装完成后发送到步骤220所在的节点,步骤230对步骤220发送的第一报文进行处理,得到对象信息服务器地址。It should be noted that these three steps can be completed in one node of the main communication path, or can be completed in three nodes, and the embodiment of the present invention does not limit this. When completed in a node, the memory space where the encoding parsing parameters, the encoding parsing initial vector and the encoding parsing algorithm type are stored in the processing information in the dedicated protocol respectively contains three encoding parsing parameters, three encoding parsing initial vectors and three encoding parsing initial vectors. The encoding parsing algorithm types, and the order of memory addresses from small to large, form three sets of correspondences, which respectively parse the first data, the identification recognition domain name and the object encoding, and the object encoding domain name. Completed in three nodes, then the data in the dedicated protocol of the first message received before step 210 is executed is the first data, and the target address is the address information of the node where step 220 is located. After step 210 is completed, The identification domain name and object encoding are used as the new first data, and the address information of the node in step 230 is used as the target address information and are encapsulated into a new first message using a dedicated protocol, wherein steps may also be encapsulated in the first message. The processing information of step 220 is sent to the node where step 220 is located after the new first message is encapsulated. After receiving the first message sent in step 210, step 220 processes the received first message. Step 220 After the execution is completed, the object encoding domain name is used as the new first message, and the address information identifying the interface is used as the target address information and encapsulated into the new first message using a dedicated protocol, where steps can also be encapsulated in the first message The processing information of step 230 is sent to the node where step 220 is located after the new first message is encapsulated. Step 230 processes the first message sent in step 220 to obtain the object information server address.
基于上述实施例,图3是本发明提供的报文数据的报文结构图。如图3所示,本发明提供一优选实施例,报文数据的报文结构是扩充的UDP协议,其扩充的部分为专用协议部分,在专用协议部分中携带自定义部分,自定义部分包括专用协议报头和待处理数据部分。在专用协议报头携带密钥、密钥IV、偏移长度和加密算法参数,在待处理数据部分为数据净荷和MAC字段,其中数据净荷包括目标地址信息和明文/密文数据,目标地址信息中包含多个目标地址。Based on the above embodiment, FIG. 3 is a message structure diagram of message data provided by the present invention. As shown in Figure 3, the present invention provides a preferred embodiment. The message structure of the message data is an expanded UDP protocol. The expanded part is a dedicated protocol part. The dedicated protocol part carries a custom part, and the custom part includes Private protocol headers and pending data sections. The dedicated protocol header carries the key, key IV, offset length and encryption algorithm parameters. The data to be processed is the data payload and MAC field. The data payload includes target address information and plaintext/ciphertext data. The target address The message contains multiple destination addresses.
具体的,报文的数据帧头部包括目的MAC地址、源MAC地址、类型、IP数据报头部、UDP头部、专用协议报头和待处理数据部分。Specifically, the data frame header of the message includes the destination MAC address, source MAC address, type, IP datagram header, UDP header, dedicated protocol header and the data part to be processed.
专用协议报头包括密钥、密钥IV、偏移长度和加/解密算法。例如:密钥占16字节,密钥IV占16字节,偏移长度占4字节,加/解密算法占4字节。The private protocol header includes the key, key IV, offset length, and encryption/decryption algorithm. For example: the key occupies 16 bytes, the key IV occupies 16 bytes, the offset length occupies 4 bytes, and the encryption/decryption algorithm occupies 4 bytes.
待处理数据部分包括数据净荷(0~1632字节)和MAC字段(16字节),其中,数据净荷包括目标地址信息(0~N字节)和明/密文数据部分(0~(1632-N)字节)。目标地址信息包含多个目标地址,单个目标地址包括目的MAC`地址、源MAC`地址、类型`、IP`头部、TCP头部和HTTP头部。例如:目的MAC地址占6字节,源MAC地址占6字节,类型占2字节,IP头部占20字节,TCP头部占20字节,HTTP头部占(N-54)字节,其中,N表示目标地址信息中多个目标地址所占用的总的字节,N>54字节。The data part to be processed includes the data payload (0~1632 bytes) and the MAC field (16 bytes). The data payload includes the target address information (0~N bytes) and the plain/ciphertext data part (0~ (1632-N) bytes). The destination address information contains multiple destination addresses. A single destination address includes destination MAC address, source MAC address, type, IP header, TCP header and HTTP header. For example: the destination MAC address occupies 6 bytes, the source MAC address occupies 6 bytes, the type occupies 2 bytes, the IP header occupies 20 bytes, the TCP header occupies 20 bytes, and the HTTP header occupies (N-54) words section, where N represents the total number of bytes occupied by multiple target addresses in the target address information, and N>54 bytes.
下面对本发明提供的数据处理装置进行描述,下文描述的数据处理方法可相互对应参照,以及数据处理装置与上文描述的数据处理方法可相互对应参照。The data processing device provided by the present invention is described below. The data processing methods described below can be referred to each other, and the data processing device and the data processing method described above can be referred to each other correspondingly.
图4是本发明提供的数据处理装置的结构示意图。如图4所示,该装置包括:接收模块410、处理模块420和转发模块430;Figure 4 is a schematic structural diagram of the data processing device provided by the present invention. As shown in Figure 4, the device includes: a receiving module 410, a processing module 420 and a forwarding module 430;
其中,in,
接收模块410,用于接收以专用协议封装的第一报文,对第一报文进行解析得到第一数据和目标地址信息,专用协议包括专用协议报头和数据字段,第一数据和目标地址信息存储于数据字段;The receiving module 410 is configured to receive the first message encapsulated in a dedicated protocol, and parse the first message to obtain the first data and target address information. The dedicated protocol includes a dedicated protocol header and data field, the first data and the target address information. Stored in data field;
处理模块420,用于对第一数据进行数据处理,得到第二数据;The processing module 420 is used to perform data processing on the first data to obtain the second data;
转发模块430,用于将第二数据发送至目标地址信息对应的目标接口。The forwarding module 430 is used to send the second data to the target interface corresponding to the target address information.
在本发明实施例中,通过接收模块,用于接收以专用协议封装的第一报文,对第一报文进行解析得到第一数据和目标地址信息,专用协议包括专用协议报头和数据字段,第一数据和目标地址信息存储于数据字段;处理模块,用于对第一数据进行数据处理,得到第二数据;转发模块,用于将第二数据发送至目标地址信息对应的目标接口,实现了对第一数据的串行处理,并将处理后的数据转发至目标接口进行后续处理,减少了数据回路,降低了调用的时间,进而提高了传输的效率。In the embodiment of the present invention, the receiving module is used to receive the first message encapsulated with a dedicated protocol, and parse the first message to obtain the first data and target address information. The dedicated protocol includes a dedicated protocol header and a data field, The first data and target address information are stored in the data field; the processing module is used to perform data processing on the first data to obtain the second data; the forwarding module is used to send the second data to the target interface corresponding to the target address information to achieve The first data is serially processed, and the processed data is forwarded to the target interface for subsequent processing, which reduces data loops, reduces call time, and thereby improves transmission efficiency.
基于上述任一实施例,接收模块410中的专用协议报头用于描述数据处理信息,数据处理信息包括处理参数、处理初始向量、偏移长度和处理算法类型。Based on any of the above embodiments, the dedicated protocol header in the receiving module 410 is used to describe data processing information. The data processing information includes processing parameters, processing initial vectors, offset lengths, and processing algorithm types.
基于上述任一实施例,接收模块410中的数据字段由数据净荷和MAC字段构成;Based on any of the above embodiments, the data field in the receiving module 410 consists of a data payload and a MAC field;
数据净荷包括目标地址信息和第一数据;The data payload includes target address information and first data;
目标地址信息包括目的MAC地址、源MAC地址、协议类型、IP头部、TCP头部和HTTP头部;Destination address information includes destination MAC address, source MAC address, protocol type, IP header, TCP header and HTTP header;
MAC字段用于对数据净荷的完整性进行校验。The MAC field is used to verify the integrity of the data payload.
基于上述任一实施例,当数据处理装置为用于加密的密码机时,接收模块410,用于接收数据接口发送的以专用协议封装的所述第一报文,对所述第一报文进行解析得到第一数据和目标地址信息;Based on any of the above embodiments, when the data processing device is a cryptographic machine used for encryption, the receiving module 410 is configured to receive the first message encapsulated in a dedicated protocol sent by the data interface, and process the first message Perform parsing to obtain the first data and target address information;
处理模块420,用于对第一数据进行加密,得到密文数据,将密文数据作为第二数据;The processing module 420 is used to encrypt the first data to obtain ciphertext data, and use the ciphertext data as the second data;
转发模块430,用于将密文数据发送至目标地址信息对应的存储接口,由存储接口对密文数据进行存储。The forwarding module 430 is used to send the ciphertext data to the storage interface corresponding to the target address information, and the storage interface stores the ciphertext data.
基于上述任一实施例,当数据处理装置为用于解密的密码机时,接收模块410,用于接收存储接口发送的以专用协议封装的所述第一报文,对所述第一报文进行解析得到第一数据和目标地址信息;Based on any of the above embodiments, when the data processing device is a cryptographic machine for decryption, the receiving module 410 is configured to receive the first message encapsulated in a dedicated protocol sent by the storage interface, and process the first message Perform parsing to obtain the first data and target address information;
处理模块420,用于对第一数据进行解密,得到明文数据,将明文数据作为第二数据;The processing module 420 is used to decrypt the first data to obtain plaintext data, and use the plaintext data as the second data;
转发模块430,用于将明文数据发送至目标地址信息对应的数据接口,由数据接口对明文数据进行解析和封装并发送至终端。The forwarding module 430 is used to send the plaintext data to the data interface corresponding to the target address information, and the data interface parses and encapsulates the plaintext data and sends it to the terminal.
基于上述任一实施例,当数据处理装置为用于解析的编码解析设备时,接收模块410,用于接收数据接口发送的以专用协议封装的所述第一报文,对所述第一报文进行解析得到第一数据和目标地址信息;Based on any of the above embodiments, when the data processing device is a coding parsing device for parsing, the receiving module 410 is configured to receive the first message encapsulated in a dedicated protocol sent by the data interface, and process the first message. The text is parsed to obtain the first data and target address information;
处理模块420,用于对第一数据进行解析,得到对象信息服务器地址,将对象信息服务器地址作为第二数据;The processing module 420 is used to parse the first data, obtain the object information server address, and use the object information server address as the second data;
转发模块430,用于对象信息服务器地址发送至目标地址信息对应的识别接口,由识别接口对对象信息服务器地址进行访问识别。The forwarding module 430 is used to send the object information server address to the identification interface corresponding to the target address information, and the identification interface performs access identification on the object information server address.
基于上述实施例,当数据处理装置为用于解析的编码解析设备时,处理模块420包括:Based on the above embodiment, when the data processing device is a coding parsing device for parsing, the processing module 420 includes:
第一解析模块,用于对第一数据进行解析,得到标识识别域名和对象编码;The first parsing module is used to parse the first data to obtain the identification domain name and object code;
第二解析模块,用于对标识识别域名和对象编码进行解析,得到对象编码域名;The second parsing module is used to parse the identification recognition domain name and object encoding to obtain the object encoding domain name;
第三解析模块,用于对对象编码域名进行解析,得到对象信息服务器地址。The third parsing module is used to parse the object encoding domain name and obtain the object information server address.
图5是本发明提供的数据处理系统的结构示意图。如图5所示,该系统包括通讯主路510和上述任一数据处理装置520,数据处理装置以串行的方式接入到通讯主路,图中数据处理装置xN表示数据处理系统中可以有多个数据处理装置以串行的方式接入到通讯主路中,N为自然数。Figure 5 is a schematic structural diagram of the data processing system provided by the present invention. As shown in Figure 5, the system includes a main communication path 510 and any of the above-mentioned data processing devices 520. The data processing device is connected to the main communication path in a serial manner. The data processing device xN in the figure indicates that there can be Multiple data processing devices are connected to the main communication channel in a serial manner, and N is a natural number.
本发明实施例提供的数据处理系统,数据处理装置以串行的方式接入到通讯主路中,实现了通讯主路中数据的串行处理,减少了数据回路,降低了调用的时间,进而提高了传输的效率。In the data processing system provided by the embodiment of the present invention, the data processing device is connected to the main communication path in a serial manner, realizing serial processing of data in the main communication path, reducing data loops, reducing call time, and thus Improved transmission efficiency.
图6是本发明提供的数据存取系统的结构示意图。如图6所示,该系统包括:密码机610、数据接口620和存储接口630;Figure 6 is a schematic structural diagram of the data access system provided by the present invention. As shown in Figure 6, the system includes: a cryptographic machine 610, a data interface 620 and a storage interface 630;
其中,in,
密码机610,用于在接收数据接口620发送的以专用协议封装的第一明文报文,对第一明文报文进行解析得到第一明文数据和第一目标地址信息后,以串行方式对第一明文数据进行加密得到第一密文数据,将第一密文数据发送至第一目标地址信息对应的存储接口630;以及在接收到存储接口630发送的以专用协议封装的第二密文报文,对第二密文报文进行解析得到第二密文数据和第二目标地址信息后,以串行方式对第二密文数据进行解密得到第二明文数据,将第二明文数据发送至第二目标地址信息对应的数据接口620;The encryption machine 610 is configured to receive the first plaintext message encapsulated in a dedicated protocol sent by the data interface 620, parse the first plaintext message to obtain the first plaintext data and the first target address information, and then process the first plaintext message in a serial manner. Encrypt the first plaintext data to obtain the first ciphertext data, send the first ciphertext data to the storage interface 630 corresponding to the first target address information; and receive the second ciphertext encapsulated in a dedicated protocol sent by the storage interface 630 message, after parsing the second ciphertext message to obtain the second ciphertext data and the second target address information, decrypt the second ciphertext data in a serial manner to obtain the second plaintext data, and send the second plaintext data To the data interface 620 corresponding to the second target address information;
数据接口620,用于接收第一终端发送的待存储数据,对待存储数据进行解析和数据重组,得到第一明文数据,对第一明文数据以专用协议进行封装得到第一明文报文,将第一明文报文发送至密码机610;以及用于在接收到密码机610发送的第二明文数据后,对第二明文数据进行解析和封装,并将解析和封装后的数据流发送给第二终端;The data interface 620 is used to receive the data to be stored sent by the first terminal, parse and reorganize the data to be stored, and obtain the first plaintext data. The first plaintext data is encapsulated with a dedicated protocol to obtain the first plaintext message, and the first plaintext message is obtained. Send a plaintext message to the encryption machine 610; and be used to parse and encapsulate the second plaintext data after receiving the second plaintext data sent by the encryption machine 610, and send the parsed and encapsulated data stream to the second terminal;
存储接口630,用于接收密码机610发送的第一密文数据,并对第一密文数据进行存储;以及基于读取请求查询获取第二密文数据,对第二密文数据以专用协议进行封装得到第二密文报文,将第二密文报文发送至密码机610。The storage interface 630 is used to receive the first ciphertext data sent by the encryption machine 610 and store the first ciphertext data; and to obtain the second ciphertext data based on the read request query, and use a dedicated protocol to process the second ciphertext data. The second ciphertext message is obtained by encapsulation, and the second ciphertext message is sent to the encryption machine 610.
基于上述任一实施例,数据接口620包括:安全接入网关621、通信密码机622、数据接入子系统623和第一密码处理组件624;Based on any of the above embodiments, the data interface 620 includes: a secure access gateway 621, a communication cryptographic machine 622, a data access subsystem 623 and a first cryptographic processing component 624;
安全接入网关621,用于接收第一终端发送的待存储数据,并对待存储数据进行解析和校验,并将解析和校验后的解析数据发送至通信密码机622;以及用于接收由通信密码机622发送的目标密文数据,并对目标密文数据进行封装后发送至第二终端;The security access gateway 621 is used to receive the data to be stored sent by the first terminal, parse and verify the data to be stored, and send the parsed and verified parsed data to the communication encryption machine 622; and to receive the data sent by the first terminal. Communicate the target ciphertext data sent by the encryption machine 622, encapsulate the target ciphertext data and send it to the second terminal;
通信密码机622,用于在接收到安全接入网关621发送的解析数据后,使用专用协议以串行方式对解析数据进行解密,得到第一通讯明文数据,并将第一通讯明文数据发送至数据接入系统623;以及用于在接收到数据接入子系统623发送的第二通讯明文数据后,使用专用协议以串行方式对第二通讯明文数据进行加密,得到目标密文数据,并将目标密文数据发送至安全接入网关621;The communication encryption machine 622 is configured to, after receiving the parsed data sent by the secure access gateway 621, decrypt the parsed data in a serial manner using a dedicated protocol to obtain the first communication plaintext data, and send the first communication plaintext data to Data access system 623; and for, after receiving the second communication plaintext data sent by the data access subsystem 623, encrypt the second communication plaintext data in a serial manner using a dedicated protocol to obtain the target ciphertext data, and Send the target ciphertext data to the security access gateway 621;
数据接入子系统623,用于在接收到通信密码机622发送的第一通讯明文数据后,对第一通讯明文数据进行数据重组,得到第一明文数据,将第一明文数据传入第一密码处理组件624;以及用于接收密码机610发送的第二明文数据,对第二明文数据进行解析和封装,得到第二通讯明文数据,将第二通讯明文数据发送至通信密码机622;The data access subsystem 623 is configured to, after receiving the first communication plaintext data sent by the communication encryption machine 622, perform data reorganization on the first communication plaintext data to obtain the first plaintext data, and transfer the first plaintext data to the first The cryptographic processing component 624; and is used to receive the second plaintext data sent by the encryption machine 610, parse and encapsulate the second plaintext data to obtain the second communication plaintext data, and send the second communication plaintext data to the communication encryption machine 622;
第一密码处理组件624,用于对第一明文数据进行加密预处理,得到加密信息,根据第一明文数据和加密信息构建报文数据,将报文数据发送至密码机610。The first cryptographic processing component 624 is used to perform encryption preprocessing on the first plaintext data to obtain encrypted information, construct message data based on the first plaintext data and the encrypted information, and send the message data to the cryptographic machine 610.
需要说明的是,该系统支持异步处理减少中间内存拷贝,将待处理数据采用调用异步接口的方式添加至队列,以供通信密码机622串行调用。It should be noted that the system supports asynchronous processing to reduce intermediate memory copies, and the data to be processed is added to the queue by calling the asynchronous interface for serial calls by the communication cryptographic machine 622.
基于上述任一实施例,存储接口630包括:第二密码处理组件631、存储组件632和云存储子系统633;Based on any of the above embodiments, the storage interface 630 includes: a second password processing component 631, a storage component 632 and a cloud storage subsystem 633;
第二密码处理组件631,用于对第一明文数据进行加密预处理,得到加密信息,根据第一明文数据和加密信息构建报文数据,将报文数据发送至密码机610;The second cryptographic processing component 631 is used to perform encryption preprocessing on the first plaintext data to obtain encrypted information, construct message data based on the first plaintext data and the encrypted information, and send the message data to the cryptographic machine 610;
存储组件632,用于接收密码机610发送的密文数据,对密文数据进行分块,得到第一密文数据块集合,并根据第一密文数据块集合建立索引,将第一密文数据块集合发送至云存储子系统633进行存储;以及用于接收读取请求查询,向从云存储子系统633发送读取查询请求后,接收由云存储子系统633返回的第二密文数据块集合,根据索引将第二密文数据进行拼接,得到第二密文数据,将第二密文数据传入第二密码处理组件631;The storage component 632 is used to receive the ciphertext data sent by the encryption machine 610, divide the ciphertext data into blocks, obtain a first ciphertext data block set, and create an index according to the first ciphertext data block set, and convert the first ciphertext data into blocks. The data block set is sent to the cloud storage subsystem 633 for storage; and is used to receive a read request query, and after sending a read query request to the cloud storage subsystem 633, receive the second ciphertext data returned by the cloud storage subsystem 633. Block set, splice the second ciphertext data according to the index to obtain the second ciphertext data, and pass the second ciphertext data to the second cryptographic processing component 631;
云存储子系统633,用于接收存储组件632发送的第一密文数据块集合并进行分布式存储;以及用于响应从存储组件632发送的读取查询请求,并返回第二密文数据块集合。The cloud storage subsystem 633 is used to receive the first ciphertext data block set sent by the storage component 632 and perform distributed storage; and to respond to the read query request sent from the storage component 632 and return the second ciphertext data block. gather.
基于上述任一实施例,图7是本发明提供的数据存取系统的系统物理逻辑架构图,数据存取系统的系统物理逻辑架构图包括:包括终端层、应用层和数据层,终端层包括有一个或者多个终端,应用层包括安全接入网关、数据接入子系统、第一/第二密码处理组件、通信密码机、密码机和存储组件,数据层包括云存储子系统,其中云存储子系统包括分布式文件系统和多个OSD(Object-based Storage Device,对象存储设备)。Based on any of the above embodiments, Figure 7 is a system physical logical architecture diagram of the data access system provided by the present invention. The system physical logical architecture diagram of the data access system includes: a terminal layer, an application layer and a data layer. The terminal layer includes There are one or more terminals. The application layer includes a secure access gateway, data access subsystem, first/second password processing component, communication cryptographic machine, cryptographic machine and storage component. The data layer includes a cloud storage subsystem, where the cloud The storage subsystem includes a distributed file system and multiple OSDs (Object-based Storage Devices).
与数据存取系统的系统物理逻辑架构图对应的图8是本发明提供的数据存取系统的数据存储流程示意图之一,图9是本发明提供的数据存取系统的数据存储流程示意图之二,图10是本发明提供的数据存取系统的数据读取流程示意图之一,图11是本发明提供的数据存取系统的数据读取流程示意图之二。如图8和图9所示,其数据存储流程包括:Figure 8, which corresponds to the system physical logical architecture diagram of the data access system, is the first data storage flow schematic diagram of the data access system provided by the present invention, and Figure 9 is the second data storage flow schematic diagram of the data access system provided by the present invention. , Figure 10 is the first schematic diagram of the data reading flow of the data access system provided by the present invention, and Figure 11 is the second schematic diagram of the data reading flow of the data access system provided by the present invention. As shown in Figure 8 and Figure 9, its data storage process includes:
步骤810,安全接入网关接收由终端发送的监控视频流/时空数据流(密文)。Step 810: The security access gateway receives the surveillance video stream/spatio-temporal data stream (encrypted text) sent by the terminal.
步骤811,对监控视频流/时空数据流(密文)进行数据包解析操作;Step 811: Perform data packet parsing operations on the surveillance video stream/spatio-temporal data stream (encrypted text);
步骤812,对解析过程中的数据包进行校验重传,保证监控视频流/时空数据流(密文)完整可用;Step 812: Verify and retransmit the data packets in the parsing process to ensure that the surveillance video stream/spatial-temporal data stream (ciphertext) is complete and available;
步骤813,对解析和校验重传后的数据包进行去TLS/SSL协议首部操作,使得进入到通信密码机中的监控视频流/时空数据流(密文)数据帧可直接操作。Step 813: Remove the TLS/SSL protocol header from the parsed, verified and retransmitted data packets, so that the surveillance video stream/spatio-temporal data stream (ciphertext) data frames entering the communication encryption machine can be directly operated.
步骤820,通信密码机通过专用协议实现对安全接入网关传送的监控视频流/时空数据流(密文)进行数据解密和数据转发,将监控视频流/时空数据流(明文)透传给数据接入子系统。Step 820: The communication encryption machine implements data decryption and data forwarding of the surveillance video stream/spatial-temporal data stream (ciphertext) transmitted by the secure access gateway through a dedicated protocol, and transparently transmits the surveillance video stream/spatial-temporal data stream (plaintext) to the data. access subsystem.
需要说明的是,此时专用协议报文的数据帧头部目的MAC地址为通信密码机MAC地址,源MAC地址为安全接入网关MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为通信密码机IP地址,源IP地址为安全接入网关IP地址),UDP头按照标准UDP帧头填充(源端口号为安全接入网关端口号5000,目的端口号为通信密码机端口号6000);专用协议报头密钥为视频/数据解密密钥,由通信密码机提供,加/解密算法为解密算法;目标地址信息目的MAC地址为数据接入子系统MAC地址,源MAC地址为安全接入网关MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为数据接入子系统IP地址,源IP地址为安全接入网关IP地址),TCP头按照标准TCP帧头填充(源端口号为安全接入网关端口号5000,目的端口号为数据接入子系统端口号4000),HTTP头按照标准HTTP帧头填充(下层协议为RTCP/RTSP/RTP协议)。It should be noted that at this time, the destination MAC address of the data frame header of the dedicated protocol message is the MAC address of the communication encryption machine, the source MAC address is the MAC address of the security access gateway, the type is 0x0800, and the IP header is filled according to the standard IP frame header ( The destination IP address is the IP address of the communication cipher machine, the source IP address is the IP address of the security access gateway), and the UDP header is filled in according to the standard UDP frame header (the source port number is the security access gateway port number 5000, and the destination port number is the communication cipher machine Port number 6000); the dedicated protocol header key is the video/data decryption key, which is provided by the communication encryption machine, and the encryption/decryption algorithm is the decryption algorithm; the destination MAC address of the destination address information is the MAC address of the data access subsystem, and the source MAC address It is the MAC address of the security access gateway, the type is 0x0800, the IP header is filled according to the standard IP frame header (the destination IP address is the IP address of the data access subsystem, the source IP address is the IP address of the security access gateway), and the TCP header is filled in according to the standard TCP The frame header is filled (the source port number is the security access gateway port number 5000, the destination port number is the data access subsystem port number 4000), and the HTTP header is filled according to the standard HTTP frame header (the lower layer protocol is RTCP/RTSP/RTP protocol).
步骤830,数据接入子系统对解密后的监控视频流/时空数据流(明文)进行如下操作:Step 830: The data access subsystem performs the following operations on the decrypted surveillance video stream/spatio-temporal data stream (plain text):
步骤831,对解密后的各种视频码流/空间数据类型的编码/组织格式进行统一转换,如统一转换为视频码流格式H.264/时空数据流Tile格式。Step 831: Uniformly convert the encoding/organization formats of various decrypted video streams/spatial data types, such as uniformly converting them to video stream format H.264/spatial-temporal data stream Tile format.
步骤832,将各种视频/数据的封装格式进行转换,实现多种视频/数据格式的兼容性操作。Step 832: Convert various video/data encapsulation formats to achieve compatibility operations of multiple video/data formats.
步骤833,对视频/数据格式转换、转封装后的数据包进行去RTP协议首部操作。由于RTP数据包在TLS/SSL协议payload里面,因此,在本地存储的条件下脱去封装以节约空间。例如:视频码流格式H.264/时空数据流Tile格式。Step 833: Remove the RTP protocol header from the video/data format converted and re-encapsulated data packet. Since the RTP data packet is in the TLS/SSL protocol payload, it is decapsulated under local storage to save space. For example: video stream format H.264/spatio-temporal data stream Tile format.
步骤834,对去头后的数据包进行帧分析操作,提取出I帧、P帧、B帧或Tile帧。Step 834: Perform frame analysis on the header-removed data packet to extract I frames, P frames, B frames or Tile frames.
步骤835,将提取出的I帧、P帧、B帧或Tile帧组装成GOP数据/文件(最小单元)。Step 835: Assemble the extracted I frame, P frame, B frame or Tile frame into GOP data/file (minimum unit).
步骤840,第一密码处理组件对重组的GOP数据/文件(即第一明文数据)做加密前的准备工作,生成加密标识ENCInfo。每个ENCInfo由加密标识(是否加密)、加密密码算法标识(如:SM4、AES)、完整性密码算法标识(如:HAMC、AEAD、Sign)、加密参数(如:GCM算法模式)、EDEK密文和MAC值等组成。Step 840: The first cryptographic processing component performs preparatory work for encryption on the reorganized GOP data/file (ie, the first plaintext data) and generates an encryption identifier ENCInfo. Each ENCInfo consists of encryption identification (whether to encrypt or not), encryption password algorithm identification (such as: SM4, AES), integrity password algorithm identification (such as: HAMC, AEAD, Sign), encryption parameters (such as: GCM algorithm mode), EDEK password It consists of text and MAC value.
步骤850,密码机通过专用协议实现对密码处理组件传送来的第一明文数据进行数据加密和数据转发。Step 850: The cryptographic machine implements data encryption and data forwarding on the first plaintext data transmitted from the cryptographic processing component through a dedicated protocol.
需要说明的是,此时专用协议报文的数据帧头部目的MAC地址为密码机MAC地址,源MAC地址为第一密码处理组件MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为密码机IP地址,源IP地址为第一密码处理组件IP地址),UDP头按照标准UDP帧头填充(源端口号为密码处理组件端口号3000,目的端口号为密码机端口号6000);专用协议报头密钥为视频/数据加密密钥,由KMS密钥管理系统负责分发,加/解密算法为加密算法;目标地址信息目的MAC地址为存储组件MAC地址,源MAC地址为第一密码处理组件MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为存储组件IP地址,源IP地址为第一密码处理组件IP地址),TCP头按照标准TCP帧头填充(源端口号为第一密码处理组件端口号3000,目的端口号为存储组件端口号1000),HTTP头按照标准HTTP帧头填充(下层协议为RTCP/RTSP/RTP协议)。It should be noted that at this time, the destination MAC address of the data frame header of the dedicated protocol message is the cipher machine MAC address, the source MAC address is the MAC address of the first cryptographic processing component, the type is 0x0800, and the IP header is filled according to the standard IP frame header ( The destination IP address is the IP address of the cryptographic machine, the source IP address is the IP address of the first cryptographic processing component), and the UDP header is filled in according to the standard UDP frame header (the source port number is the cryptographic processing component port number 3000, and the destination port number is the cryptographic machine port number 6000); the dedicated protocol header key is the video/data encryption key, which is distributed by the KMS key management system. The encryption/decryption algorithm is the encryption algorithm; the destination MAC address of the target address information is the MAC address of the storage component, and the source MAC address is the MAC address of the storage component. A MAC address of the cryptographic processing component, type 0x0800, the IP header is filled according to the standard IP frame header (the destination IP address is the IP address of the storage component, the source IP address is the IP address of the first cryptographic processing component), and the TCP header is filled according to the standard TCP frame header (The source port number is the first password processing component port number 3000, and the destination port number is the storage component port number 1000). The HTTP header is filled in according to the standard HTTP frame header (the lower layer protocol is RTCP/RTSP/RTP protocol).
步骤860,存储组件对加密后的监控视频流/时空数据流(密文)GOP数据/文件(即第一密文数据)进行如下操作:Step 860: The storage component performs the following operations on the encrypted surveillance video stream/spatial-temporal data stream (ciphertext) GOP data/file (i.e., the first ciphertext data):
步骤861,对第一密文数据进行条带化处理:第一密文数据均分为K个GOP数据块;此处均分生成4个GOP数据块,每个GOP数据块固定为2MB。Step 861, perform striping processing on the first ciphertext data: the first ciphertext data is evenly divided into K GOP data blocks; here, 4 GOP data blocks are evenly generated, and each GOP data block is fixed at 2MB.
步骤862,索引信息由开始时间、结束时间、总大小(2G以内)、编码器ID、Bucket和OneGOPInfo存储位置等组成。其中,多个GOP数据/文件拼接的同时生成每个GOP信息OneGOPInfo,OneGOPInfo包括:记录数据类型、GOP包的时间戳、GOP包的结束时间、GOP包的数据大小和存数据库(磁盘)。Step 862: The index information consists of start time, end time, total size (within 2G), encoder ID, Bucket and OneGOPInfo storage location, etc. Among them, multiple GOP data/files are spliced together to generate each GOP information OneGOPInfo. OneGOPInfo includes: record data type, timestamp of the GOP package, end time of the GOP package, data size of the GOP package, and storage database (disk).
步骤863,对K个GOP数据块做Erasure Code(EC)运算,生成M个冗余校验块。示例为4+2模式,即得到4个EC运算后的数据块Data(D1-D4)、2个EC运算后的冗余校验块Check(C1-C2)。Step 863: Perform Erasure Code (EC) operation on K GOP data blocks to generate M redundant check blocks. The example is 4+2 mode, that is, four data blocks Data (D1-D4) after EC operations and two redundant check blocks Check (C1-C2) after EC operations are obtained.
步骤870,云存储子系统通过分布式文件系统对来自存储组件的K+M个监控视频流/时空数据流(密文)GOP数据块进行如下操作:Step 870: The cloud storage subsystem performs the following operations on the K+M surveillance video streams/spatio-temporal data streams (ciphertext) GOP data blocks from the storage component through the distributed file system:
步骤871,分布式文件系统通过平衡算法,计算负载情况,将来自存储组件的K+M个监控视频流/时空数据流(密文)GOP数据块分散到各OSD中,同时在数据库中记录各GOP数据块的存储位置;建立云存储索引信息,记录磁盘号、磁盘上的偏移(ID号),存数据库(磁盘)。Step 871: The distributed file system calculates the load situation through the balancing algorithm, disperses K+M surveillance video streams/spatial-temporal data stream (ciphertext) GOP data blocks from the storage component to each OSD, and records each in the database at the same time. The storage location of the GOP data block; establish cloud storage index information, record the disk number and offset on the disk (ID number), and store it in the database (disk).
步骤872,OSD接收对象存储数据,此处将K+M个监控视频流/时空数据流(密文)GOP数据块存储到本地磁盘。Step 872: OSD receives object storage data, where K+M surveillance video streams/spatio-temporal data streams (ciphertext) GOP data blocks are stored in the local disk.
如图10和图11所示,其数据读取流程包括:As shown in Figure 10 and Figure 11, the data reading process includes:
步骤1010,经过数据接入子系统调用云存储子系统,云存储子系统通过检索视频索引,查询GOP数据/文件信息。云存储子系统向OSD查询获取满足条件的Set,向分布式文件系统发送GOP数据块获取请求,分布式文件系统通过调用云存储OSD,将本地磁盘存储的监控视频流/时空数据流(密文)GOP数据块返回存储组件。Step 1010: Call the cloud storage subsystem through the data access subsystem, and the cloud storage subsystem queries the GOP data/file information by retrieving the video index. The cloud storage subsystem queries the OSD to obtain a Set that meets the conditions, and sends a GOP data block acquisition request to the distributed file system. The distributed file system transfers the surveillance video stream/spatio-temporal data stream (ciphertext) stored in the local disk by calling the cloud storage OSD. )GOP data block returns the storage component.
具体操作步骤如下:The specific steps are as follows:
步骤1011,OSD读取本地磁盘上存储的监控视频流/时空数据流(密文)GOP数据块。Step 1011, OSD reads the surveillance video stream/spatio-temporal data stream (ciphertext) GOP data block stored on the local disk.
步骤1012,分布式文件系统通过查询数据库中记录着的各GOP数据块的存储位置、磁盘号、磁盘上的偏移(ID号)等云存储索引信息,汇集来自各OSD中的监控视频流/时空数据流(密文)GOP数据块。Step 1012: The distributed file system collects surveillance video streams from each OSD/ Spatiotemporal data stream (ciphertext) GOP data block.
步骤1020,存储组件对监控视频流/时空数据流(密文)GOP数据块进行如下操作Step 1020, the storage component performs the following operations on the surveillance video stream/spatio-temporal data stream (ciphertext) GOP data block
步骤1021,EC运算的逆运算,即丢弃生成的M个冗余校验块,保留K个GOP数据块。示例为4+2模式,即丢弃2个EC运算后的冗余校验块Check(C1-C2),保留4个数据块Data(D1-D4)。Step 1021 is the inverse operation of the EC operation, that is, discarding the generated M redundant check blocks and retaining K GOP data blocks. The example is 4+2 mode, that is, discarding 2 redundant check blocks Check (C1-C2) after EC operation and retaining 4 data blocks Data (D1-D4).
步骤1022,视频/数据检索时,首先通过“时间+编码器ID”在数据库(磁盘)中检索到对应的OneGOPInfo存储位置;其次,通过OneGOPInfo检索到对应的片段GOP数据/文件;最后,返回检索时间范围的GOP数据/文件。Step 1022, during video/data retrieval, first retrieve the corresponding OneGOPInfo storage location in the database (disk) through "time + encoder ID"; secondly, retrieve the corresponding segment GOP data/file through OneGOPInfo; finally, return to the search Time range of GOP data/files.
步骤1023,通过查询视频/数据检索索引信息,将每K个GOP数据块进行拼接还原GOP数据/文件(即第二密文数据)。示例为每4个GOP数据块,每个GOP数据块固定为2MB。Step 1023, by querying the video/data retrieval index information, splicing each K GOP data blocks to restore the GOP data/file (that is, the second ciphertext data). The example is every 4 GOP data blocks, each GOP data block is fixed at 2MB.
步骤1030,第二密码处理组件对第二密文数据进行数据解密预处理,生成解密标识。Step 1030: The second cryptographic processing component performs data decryption preprocessing on the second ciphertext data and generates a decryption identification.
具体包括,数据解密预处理:对第二密文数据进行解密前预处理操作,生成解密标识DECInfo。每个DECInfo由解密标识(是否解密)、解密密码算法标识(如:SM4、AES)、完整性密码算法标识(如:HAMC、AEAD、Sign)、解密参数(如:GCM算法模式)、M明文和MAC值等组成。Specifically, it includes: data decryption preprocessing: preprocessing the second ciphertext data before decryption, and generating a decryption identifier DECInfo. Each DECInfo consists of decryption identification (whether to decrypt), decryption encryption algorithm identification (such as: SM4, AES), integrity encryption algorithm identification (such as: HAMC, AEAD, Sign), decryption parameters (such as: GCM algorithm mode), M plaintext and MAC value.
步骤1040,密码机通过专用协议实现对云存储子系统传送的第二密文数据进行数据解密和数据转发,将监控视频流/时空数据流(即第二明文数据)GOP数据/文件透传给数据接入子系统。Step 1040: The encryption machine implements data decryption and data forwarding of the second ciphertext data transmitted by the cloud storage subsystem through a dedicated protocol, and transparently transmits the surveillance video stream/spatial-temporal data stream (i.e. the second plaintext data) to the GOP data/file. Data access subsystem.
需要说明的是,此时专用协议报文的数据帧头部目的MAC地址为密码机MAC地址,源MAC地址为第二密码处理组件MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为密码机IP地址,源IP地址为第二密码处理组件IP地址),UDP头按照标准UDP帧头填充(源端口号为第二密码处理组件端口号3000,目的端口号为密码机端口号6000);专用协议报头密钥为视频/数据解密密钥,由KMS密钥管理系统负责分发,加/解密算法为解密算法;目标地址信息目的MAC地址为数据接入子系统MAC地址,源MAC地址为密码处理组件MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为数据接入子系统IP地址,源IP地址为第二密码处理组件IP地址),TCP头按照标准TCP帧头填充(源端口号为第二密码处理组件端口号3000,目的端口号为数据接入子系统端口号4000),HTTP头按照标准HTTP帧头填充(下层协议为RTCP/RTSP/RTP协议)。It should be noted that at this time, the destination MAC address of the data frame header of the dedicated protocol message is the MAC address of the encryption machine, the source MAC address is the MAC address of the second encryption processing component, the type is 0x0800, and the IP header is filled according to the standard IP frame header ( The destination IP address is the IP address of the cryptographic machine, the source IP address is the IP address of the second cryptographic processing component), and the UDP header is filled in according to the standard UDP frame header (the source port number is the second cryptographic processing component port number 3000, and the destination port number is the cryptographic machine Port number 6000); the dedicated protocol header key is the video/data decryption key, which is distributed by the KMS key management system. The encryption/decryption algorithm is the decryption algorithm; the destination MAC address of the target address information is the data access subsystem MAC address. The source MAC address is the MAC address of the cryptographic processing component, the type is 0x0800, the IP header is filled according to the standard IP frame header (the destination IP address is the IP address of the data access subsystem, the source IP address is the IP address of the second cryptographic processing component), the TCP header The header is filled according to the standard TCP frame (the source port number is the second password processing component port number 3000, the destination port number is the data access subsystem port number 4000), and the HTTP header is filled according to the standard HTTP frame header (the lower layer protocol is RTCP/RTSP/ RTP protocol).
步骤1050,数据接入子系统进行如下操作:Step 1050, the data access subsystem performs the following operations:
步骤1051,将第二明文数据进行帧分析操作,提取出I帧、P帧、B帧或Tile帧。Step 1051: Perform a frame analysis operation on the second plaintext data to extract an I frame, P frame, B frame or Tile frame.
步骤1052,通过I帧、P帧、B帧或Tile帧还原帧数据包并加RTP头。Step 1052: Restore the frame data packet through I frame, P frame, B frame or Tile frame and add RTP header.
步骤1053,将加RTP头后的帧数据包封装格式进行逆转换,使其对应相应视频码流/空间数据类型的编码/组织格式。Step 1053: Inversely convert the encapsulation format of the frame data packet after adding the RTP header so that it corresponds to the encoding/organization format of the corresponding video stream/spatial data type.
步骤1060,通信密码机通过专用协议实现对数据接入子系统传送的监控视频流/时空数据流(即第二通讯明文数据)进行数据加密和数据转发,将监控视频流/时空数据流(即目标密文数据)透传给安全接入网关。Step 1060: The communication encryption machine performs data encryption and data forwarding on the surveillance video stream/spatial-temporal data stream (i.e., the second communication plaintext data) transmitted by the data access subsystem through a dedicated protocol, and converts the surveillance video stream/spatial-temporal data stream (i.e., the second communication plaintext data) Target ciphertext data) is transparently transmitted to the secure access gateway.
需要说明的是,数据帧头部目的MAC地址为通信密码机MAC地址,源MAC地址为数据接入子系统MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为通信密码机IP地址,源IP地址为数据接入子系统IP地址),UDP头按照标准UDP帧头填充(源端口号为数据接入子系统端口号4000,目的端口号为通信密码机端口号6000);专用协议报头密钥为视频/数据加密密钥,由通信密码机提供,加/解密算法为加密算法;目标地址信息目的MAC地址为安全接入网关MAC地址,源MAC地址为数据接入子系统MAC地址,类型为0x0800,IP头按照标准IP帧头填充(目的IP地址为安全接入网关IP地址,源IP地址为数据接入子系统IP地址),TCP头按照标准TCP帧头填充(源端口号为数据接入子系统端口号4000,目的端口号为安全接入网关端口号5000),HTTP头按照标准HTTP帧头填充(下层协议为RTCP/RTSP/RTP协议)。It should be noted that the destination MAC address of the data frame header is the MAC address of the communication cipher machine, the source MAC address is the MAC address of the data access subsystem, the type is 0x0800, and the IP header is filled in according to the standard IP frame header (the destination IP address is the communication cipher machine IP address, the source IP address is the IP address of the data access subsystem), and the UDP header is filled according to the standard UDP frame header (the source port number is the data access subsystem port number 4000, and the destination port number is the communication encryption machine port number 6000) ; The dedicated protocol header key is the video/data encryption key, which is provided by the communication cipher machine, and the encryption/decryption algorithm is the encryption algorithm; the destination MAC address of the destination address information is the security access gateway MAC address, and the source MAC address is the data access sub- The system MAC address, type is 0x0800, the IP header is filled according to the standard IP frame header (the destination IP address is the IP address of the security access gateway, the source IP address is the IP address of the data access subsystem), and the TCP header is filled according to the standard TCP frame header ( The source port number is the data access subsystem port number 4000, the destination port number is the security access gateway port number 5000), and the HTTP header is filled in according to the standard HTTP frame header (the lower layer protocol is RTCP/RTSP/RTP protocol).
步骤1070,安全接入网关对监控视频流/时空数据流(密文)进行如下操作:Step 1070: The secure access gateway performs the following operations on the surveillance video stream/spatial-temporal data stream (encrypted text):
步骤1071,对监控视频流/时空数据流(密文)数据帧添加TLS/SSL协议首部操作;Step 1071, add the TLS/SSL protocol header operation to the surveillance video stream/spatio-temporal data stream (ciphertext) data frame;
步骤1071,对加TLS/SSL头后的监控视频流/时空数据流(密文)数据包进行完整封装成标准数据包格式并发送给第二终端。Step 1071: Completely encapsulate the surveillance video stream/spatio-temporal data stream (ciphertext) data packet with the TLS/SSL header added into a standard data packet format and send it to the second terminal.
图12是本发明提供的编码解析系统的解析流程示意图。如图12所示,该系统包括:格式转换节点、编码版本解析节点、编码数据结构解析节点、表示码解析节点和识读器。Figure 12 is a schematic diagram of the analysis flow of the encoding analysis system provided by the present invention. As shown in Figure 12, the system includes: format conversion node, coded version parsing node, coded data structure parsing node, representation code parsing node and reader.
其中,in,
格式转换节点在接收到标识数据后转换为统一可解析编码类型URL格式的第一数据,并以专用协议封装成第一报文,其中第一报文中的目标地址信息为编码数据结构解析节点的地址信息,并发送到编码版本解节点。After receiving the identification data, the format conversion node converts it into the first data in a unified parsable encoding type URL format, and encapsulates it into a first message with a dedicated protocol, in which the target address information in the first message is the encoded data structure parsing node. The address information is sent to the encoded version solution node.
编码版本解析节点接收到格式转换节点发送的第一报文之后,对第一报文进行解析得到第一数据和目标地址信息(编码数据结构解析节点的地址信息),对第一数据进行解析,得到标识识别域名和对象编码,并将标识识别域名和对象编码为一个整体作为新的第一数据,以专用协议封装成新的第一报文,其中,新的第一报文中的目标地址信息为标识码解析节点的地址信息,将该新的第一报文发送到目标地址信息对应的编码数据结构解析节点。After receiving the first message sent by the format conversion node, the encoding version parsing node parses the first message to obtain the first data and target address information (the address information of the encoding data structure parsing node), and parses the first data. Obtain the identification domain name and the object code, and combine the identification domain name and the object code into a whole as new first data, and encapsulate it into a new first message with a dedicated protocol, in which the target address in the new first message is The information is the address information of the identification code parsing node, and the new first message is sent to the coded data structure parsing node corresponding to the target address information.
编码数据结构解析节点接收到编码版本解析节点发送的第一报文之后,对第一报文进行解析得到第一数据(标识识别域名和对象编码)和目标地址信息(标识码解析节点的地址信息),对第一数据(标识识别域名和对象编码)进行解析,得到对象编码域名,并将对象编码域名作为第一数据,以专用协议封装成型的第一报文,其中,新的第一报文中的目标地址信息为识读器的地址信息,将该新的第一报文发送到目标地址信息对应的标识码解析节点。After the encoded data structure parsing node receives the first message sent by the encoded version parsing node, it parses the first message to obtain the first data (identification domain name and object code) and target address information (address information of the identification code parsing node). ), parse the first data (identification domain name and object code) to obtain the object code domain name, and use the object code domain name as the first data to encapsulate the first message with a dedicated protocol, in which the new first message The target address information in this article is the address information of the reader, and the new first message is sent to the identification code parsing node corresponding to the target address information.
标识码解析节点接收到编码数据结构解析节点发送的第一报文之后,对第一报文进行解析得到第一数据(对象编码域名)和目标地址信息(识读器的地址信息),对第一数据(对象编码域名)进行解析,得到对象信息服务器地址,并将对象信息服务器地址作为第一数据,以专用协议封装成型的第一报文,其中,新的第一报文中的目标地址信息为空,将该新的第一报文发送到目标地址信息对应的识读器,以供识读器对对象信息服务器地址进行访问。After the identification code parsing node receives the first message sent by the encoded data structure parsing node, it parses the first message to obtain the first data (object encoding domain name) and target address information (reader address information). Parse a data (object encoding domain name) to obtain the object information server address, and use the object information server address as the first data to encapsulate the first message with a dedicated protocol, in which the target address in the new first message If the information is empty, the new first message is sent to the reader corresponding to the target address information, so that the reader can access the object information server address.
图13示例了一种电子设备的实体结构示意图,如图13所示,该电子设备可以包括:处理器(processor)1310、通信接口(Communications Interface)1320、存储器(memory)1330和通信总线1340,其中,处理器1310,通信接口1320,存储器1330通过通信总线1340完成相互间的通信。处理器1310可以调用存储器1330中的逻辑指令,以执行数据处理方法,该方法包括:接收以专用协议封装的第一报文,对第一报文进行解析得到第一数据和目标地址信息,专用协议包括专用协议报头和数据字段,第一数据和目标地址信息存储于所述数据字段;对第一数据进行数据处理,得到第二数据;将第二数据发送至目标地址信息对应的目标接口。Figure 13 illustrates a schematic diagram of the physical structure of an electronic device. As shown in Figure 13, the electronic device may include: a processor (processor) 1310, a communications interface (Communications Interface) 1320, a memory (memory) 1330 and a communication bus 1340. Among them, the processor 1310, the communication interface 1320, and the memory 1330 complete communication with each other through the communication bus 1340. The processor 1310 can call logical instructions in the memory 1330 to execute a data processing method. The method includes: receiving a first message encapsulated in a dedicated protocol, parsing the first message to obtain the first data and target address information, the dedicated The protocol includes a dedicated protocol header and a data field, in which first data and target address information are stored; data processing is performed on the first data to obtain second data; and the second data is sent to a target interface corresponding to the target address information.
此外,上述的存储器1330中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logical instructions in the memory 1330 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的数据处理方法,该方法包括:接收以专用协议封装的第一报文,对第一报文进行解析得到第一数据和目标地址信息,专用协议包括专用协议报头和数据字段,第一数据和目标地址信息存储于所述数据字段;对第一数据进行数据处理,得到第二数据;将第二数据发送至目标地址信息对应的目标接口。On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can Execute the data processing method provided by each of the above methods. The method includes: receiving a first message encapsulated in a dedicated protocol, parsing the first message to obtain the first data and target address information. The dedicated protocol includes a dedicated protocol header and data. field, the first data and target address information are stored in the data field; perform data processing on the first data to obtain the second data; and send the second data to the target interface corresponding to the target address information.
又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的数据处理方法,该方法包括:接收以专用协议封装的第一报文,对第一报文进行解析得到第一数据和目标地址信息,专用协议包括专用协议报头和数据字段,第一数据和目标地址信息存储于所述数据字段;对第一数据进行数据处理,得到第二数据;将第二数据发送至目标地址信息对应的目标接口。On the other hand, the present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. The computer program is implemented when executed by a processor to perform the data processing method provided by each of the above methods. The method includes: Receive a first message encapsulated in a dedicated protocol, parse the first message to obtain first data and target address information, the dedicated protocol includes a dedicated protocol header and a data field, and the first data and target address information are stored in the data field ; Perform data processing on the first data to obtain second data; send the second data to the target interface corresponding to the target address information.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the part of the above technical solution that essentially contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be used Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210475068.XA CN114866527B (en) | 2022-04-29 | 2022-04-29 | Data processing methods, devices and systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210475068.XA CN114866527B (en) | 2022-04-29 | 2022-04-29 | Data processing methods, devices and systems |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114866527A CN114866527A (en) | 2022-08-05 |
| CN114866527B true CN114866527B (en) | 2023-09-15 |
Family
ID=82636384
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210475068.XA Active CN114866527B (en) | 2022-04-29 | 2022-04-29 | Data processing methods, devices and systems |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114866527B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109769043A (en) * | 2019-03-14 | 2019-05-17 | 中国工商银行股份有限公司 | Domain name analytic method, apparatus and system |
| CN110380970A (en) * | 2019-07-22 | 2019-10-25 | 北京邮电大学 | A kind of self-adapting data message forwarding method and device suitable for heterogeneous network |
| CN113438071A (en) * | 2021-05-28 | 2021-09-24 | 荣耀终端有限公司 | Method and device for secure communication |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100596062C (en) * | 2007-08-16 | 2010-03-24 | 杭州华三通信技术有限公司 | Distributed message transmission security protection device and method |
| CN101145904A (en) * | 2007-11-07 | 2008-03-19 | 杭州华三通信技术有限公司 | A method, device and system for data packet transmission |
| CN103929299B (en) * | 2014-04-28 | 2017-05-10 | 王小峰 | Self-securing lightweight network message transmitting method with address as public key |
| CN111614683B (en) * | 2020-05-25 | 2023-01-06 | 成都卫士通信息产业股份有限公司 | Data processing method, device and system and network card |
| CN113452686B (en) * | 2021-06-23 | 2022-10-18 | 中移(杭州)信息技术有限公司 | Data processing method, data processing device, proxy server and storage medium |
-
2022
- 2022-04-29 CN CN202210475068.XA patent/CN114866527B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109769043A (en) * | 2019-03-14 | 2019-05-17 | 中国工商银行股份有限公司 | Domain name analytic method, apparatus and system |
| CN110380970A (en) * | 2019-07-22 | 2019-10-25 | 北京邮电大学 | A kind of self-adapting data message forwarding method and device suitable for heterogeneous network |
| CN113438071A (en) * | 2021-05-28 | 2021-09-24 | 荣耀终端有限公司 | Method and device for secure communication |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114866527A (en) | 2022-08-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111277543B (en) | Information synchronization method, authentication method and device | |
| EP3211852A1 (en) | Ssh protocol-based session parsing method and system | |
| CN113507483B (en) | Instant messaging method, device, server and storage medium | |
| CN111786867B (en) | Data transmission method and server | |
| WO2011060368A9 (en) | Method and apparatus for storing and indexing high-speed network traffic data | |
| CN101764825B (en) | Data transmission method of virtual private network, system thereof, terminal thereof and gateway equipment thereof | |
| CN109743170B (en) | Method and device for logging in streaming media and encrypting data transmission | |
| US10419212B2 (en) | Methods, systems, apparatuses, and devices for securing network communications using multiple security protocols | |
| CN101521667B (en) | Safe data communication method and device | |
| CN104038505A (en) | Method and device for preventing IPSec (internet protocol security) replaying | |
| US20250007833A1 (en) | Secure data routing with channel resiliency | |
| CN111786869B (en) | Data transmission method between servers and server | |
| CN113810397A (en) | Protocol data processing method and device | |
| CN116366740A (en) | Data transmission method, device, system, storage medium and processor | |
| WO2025045112A1 (en) | Private network security authentication method, apparatus and system, and electronic device, storage medium and computer program product | |
| US11991291B1 (en) | Content-based domain name enconding, encryption, and routing system | |
| CN109660568B (en) | Method, equipment and system for realizing network talkback security mechanism based on SRTP | |
| CN111786868B (en) | Data transmission method between servers and strongswan server | |
| CN114500412A (en) | Method and system for processing mirror image flow data | |
| CN114866527B (en) | Data processing methods, devices and systems | |
| CN111641592B (en) | Data transmission method and device based on middleware and computer equipment | |
| CN113179229A (en) | Verification method, verification device, storage medium and electronic equipment | |
| CN111262837B (en) | Data encryption method, data decryption method, system, equipment and medium | |
| CN117579277A (en) | Encryption and decryption method, device and equipment of information and storage medium | |
| CN111835613A (en) | Data transmission method of VPN server and VPN server |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |