Analysis method, device and system for quickly adapting to protocol change

A technology of protocol analysis and analysis method, which is applied in the analysis field of rapid adaptation to protocol changes, and can solve the problems of unfavorable application end quickly adapting to protocol changes, not disclosing the differences of network protocol processors in detail, and complicated configuration process, etc. Achieve the effect of improving development efficiency

Inactive Publication Date: 2020-06-26
CHENGDU UNION BIG DATA TECH CO LTD
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The second conventional technology is only applicable to three types of transactions: HTTP, TCP, and UDP; it is divided into external input fields, internal fields, output fields, and configurable transaction processing modules, which makes the configuration process complicated and does not help the application side to quickly adapt to the protocol. The

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Analysis method, device and system for quickly adapting to protocol change
  • Analysis method, device and system for quickly adapting to protocol change
  • Analysis method, device and system for quickly adapting to protocol change

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Embodiment 1: as figure 2 As shown, the present invention is applied to network protocols to keep stable, for example, not limited to protocols such as TCP, UDP, HTTP, etc., in the event of protocol changes, a fast-adapting protocol change analysis system or device includes the following modules:

[0043]Protocol configuration file: This file describes the format of the protocol. According to the definition of the protocol, the protocol configuration file has different description methods. For example, if the content is transmitted in binary format, and different fields occupy different lengths, the example of the protocol configuration file is:

[0044] Field Name Occupied space length (bytes) type of data Message ID 2 value object name 2 text weight 1 value Appearance 1000 image (large object)

[0045] The message format defined by delimiter and formatted text (such as XML) is used as a protocol configuration file in...

Embodiment 2

[0050] Embodiment 2: After the service user receives the external message sent by the service provider, the protocol analysis management module analyzes the external message, such as image 3 As shown, the following is the analysis process:

[0051] The protocol analysis management module analyzes the external message, and sends the external message to the protocol analysis module according to the judgment after analysis;

[0052] The protocol analysis module converts external messages into internal messages according to the specification;

[0053] The protocol analysis module sends internal messages to the business management module;

[0054] The business management module manages one or more business modules, and different business modules need to use different internal messages to complete different business functions. With a properly designed business module, when the protocol of the service provider changes, the change of the business module can be minimized. For exampl...

Embodiment 3

[0056] Embodiment 3: as Figure 5 As shown, plan the configuration file according to the overall situation of the business. For example: a subsystem uses a configuration file, which contains all message format definitions of the subsystem; a configuration file can also be defined for a message, of course, if there are many messages, the number of configuration files is relatively large.

[0057] After the protocol analysis management module obtains the external message from the communication module, it first identifies the message ID of the external message. Usually, this is an agreed behavior in a protocol system, that is, extracts the message ID according to the predetermined protocol, and then finds the message ID according to the message ID. Corresponding protocol configuration file for subsequent processing.

[0058] The advantage of multi-protocol configuration files is that when the protocol is updated, only relevant configuration files need to be modified, and other c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an analysis method, device and system for quickly adapting to protocol change, and solves the problem of rapid adaptation protocol change of a service user. A protocol configuration file and a scheduling configuration file are generated according to a protocol specification, and a protocol analysis management module receives an external message; the protocol analysis management module schedules the protocol analysis module according to the protocol configuration file, extracts message content from an external message according to the protocol configuration file to generate an internal message and sends the internal message to the service management module; and the service management module receives the internal message and schedules the internal message to the corresponding service module according to the content of the scheduling configuration file, and the service module processes the content of the corresponding internal message. The protocol analysis and themessage processing are separated, the influence of the protocol change on the protocol analysis and the message processing is limited within the minimum range, the protocol change can be quickly adapted, and the development efficiency is improved.

Description

technical field [0001] The present invention relates to the field of communication protocols, in particular to an analysis method, device and system for quickly adapting protocol changes. Background technique [0002] Various industries often require the connection between different systems. The internal system uses a processing method, and the system needs to follow certain standards when connecting with the outside, so the problem of protocol analysis arises. Due to changes in requirements, the protocol is also constantly changing. Every time the protocol changes, the service user needs to make a series of changes to adapt. [0003] How to improve the adaptation efficiency of service users, reduce the modification workload, and make the modified system put into production environment as soon as possible is a challenge for service users. [0004] Three conventional techniques and their drawbacks: [0005] The first conventional technique: obtain the field name and field d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06
CPCH04L69/03H04L69/18H04L69/22
Inventor 不公告发明人
Owner CHENGDU UNION BIG DATA TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products