Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Complex format parameter transmission method and device

A technology for transferring devices and parameters, applied in the field of network security, can solve the problems of input parameter verification failure, illegal parameter format, program running failure, etc., and achieve the effect of avoiding unpredictable risks.

Pending Publication Date: 2021-10-29
BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the format requirements for parameters are different, especially when software engineers call functions, they will always encounter unexpected format requirements for parameters. This situation is easy to solve in the functions written by themselves. When this kind of problem is encountered in a program interface that has been used stably, or in a standard method, the input parameter verification often fails due to some special characters in the input parameters, which leads to the failure of the program to run
[0003] In the existing technology, the method of replacing special symbols is generally used. In this case, it is not only complicated to replace one special character with another, because it is impossible to determine the next character, and the parameter format will be illegal and cannot be passed. There are also unpredictable risk

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
  • Complex format parameter transmission method and device
  • Complex format parameter transmission method and device
  • Complex format parameter transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0023] In order to better understand the embodiments of the present invention, first, the technical terms involved in the embodiments of the present invention are explained:

[0024] Json: Json (JavaScript Object Notation, JS Object Notation) is a lightweight data exchange format. It is based on a subset of ECMAScript (the js specification developed by the European Computer Association), and uses a text format that is completely indep...

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 provides a method and a device for transmitting complex format parameters, which are applied to the technical field of network security. The method comprises: determining whether an incoming parameter is a complex format parameter; when the incoming parameter is a complex format parameter, converting the incoming parameter into an encryption parameter by using an SM encryption algorithm; and after the encryption parameter is transmitted to the function, decrypting the encryption parameter read by the function by using an SM encryption algorithm to obtain a decrypted complex format parameter. Complex format parameters are encrypted through the SM encryption algorithm and decrypted after being transmitted into the function, so that format check of the function on the complex format parameters during transmission of the complex format parameters is avoided, and compared with a special symbol replacement method in the prior art, the method is simple and rapid, unpredictable risks caused by the fact that characters cannot be determined are avoided, and the safety is higher.

Description

technical field [0001] The present invention relates to the technical field of network security, and in particular, to a method and device for transmitting complex format parameters. Background technique [0002] When the application is designed and called, parameters are designed to improve the flexibility and scalability of the program. Only modifying the parameters can play different roles and make the program run in the desired direction. However, the format requirements for parameters are not the same, especially when software engineers call functions, they will always encounter unexpected format requirements for parameters. In the functions written by themselves, this situation can be solved. When such a problem is encountered in a program interface that has been used stably, or in a standard method, the input parameter verification is often failed due to some special characters in the input parameter, resulting in the program failure to run. [0003] In the prior art...

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 Applications(China)
IPC IPC(8): H04L9/06
CPCH04L9/0625Y02D30/50
Inventor 朱阿龙田林石慧彪张小乐刘琦张靖羚豆敏娟何聪聪刘宇琦
Owner BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products