Method and device for processing characters to be escaped in interface message

A technology of escaping characters and escaping methods, which is applied in the field of network communication, can solve the problems of multiple communication errors, manpower consumption, and inability to ensure, and achieve the effects of avoiding communication errors, reducing burdens, and saving manual work

Active Publication Date: 2020-11-24
ADVANCED NEW TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method belongs to after-the-fact repair, which not only requires manpower, but also often causes more communication errors due to the need to escape characters at the beginning of communication between two network nodes, and even after long-term communication, it is still impossible to ensure that no escape characters are required. Undefined characters cause communication errors

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
  • Method and device for processing characters to be escaped in interface message
  • Method and device for processing characters to be escaped in interface message
  • Method and device for processing characters to be escaped in interface message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The embodiment of the present application proposes a new method for processing characters that need to be escaped in interface messages, first generating a set of characters that need to be escaped according to the message body format and / or protocol of the interface message, and then using the set of characters to be escaped to identify The escaped characters in the content of the outbound interface message are processed and processed, so that errors caused by escaped characters can be avoided at any stage of communication between the two systems, and network managers no longer need to manually identify the cause of communication errors , to solve the problems existing in the prior art.

[0017] In the embodiment of the present application, two network nodes communicate through the network using the agreed message body format and protocol. Wherein, a network node may be any device with computing and storage capabilities, such as a mobile phone, a tablet computer, a PC ...

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

This application provides a method for processing characters that need to be escaped in interface messages, including: generating information about characters that need to be escaped according to the message body format and / or protocol of the interface message, and the information about characters that need to be escaped includes The set of escaped characters; the characters in the bearer content of the interface message that belong to the set of characters that need to be escaped are processed according to the predetermined processing policy. Through the technical solution of the application, communication errors caused by the need to escape characters can be avoided, manual work is saved, and the burden of network administrators is lightened.

Description

technical field [0001] The present application relates to the technical field of network communication, in particular to a method and device for processing characters that need to be escaped in interface messages. Background technique [0002] In various programming languages, data format languages, and some communication protocols, some specific characters are often defined as special purposes, such as field separators, the beginning and end of strings or labels, etc. These characters lose their original It has meaning. For example, in HTML (HyperText Markup Language, Hypertext Markup Language), the character "<" is defined as the beginning of the label, if a piece of text as the content of the page contains such content as "a<b", the "<" in it will is seen as the start of a label, not a less-than sign, and an error occurs. Therefore, in HTML, "<" is a character that needs to be escaped, and the defined escape method is to replace "<" with "<" (or in oth...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L29/08
CPCH04L69/08H04L67/565
Inventor 陈田忠
Owner ADVANCED NEW 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