Supercharge Your Innovation With Domain-Expert AI Agents!

Asynchronous function flow control method suitable for network target range construction

A process control and function technology, applied in the field of information security, can solve problems such as standardizing program flow, affecting program reliability, and not considering the problem of large-scale concurrent request function and large-scale chain request function process control, so as to ensure reliability, The effect of improving construction efficiency and reliability

Pending Publication Date: 2020-07-10
BEIJING INST OF COMP TECH & APPL
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The Promise / A+ standard does not stipulate the specific implementation mechanism of callback function conversion, and does not give a method for catching exceptions, so the Promise / A+ standard cannot be directly used to standardize the program flow
[0005] 2 At present, many architectures implement the Promise / A+ rule as the parent class. When the Promise / A+ rule implementation class is inherited by the subclass, the subclass can modify the variable value contained in the parent class, which will affect the reliability of the program under certain circumstances.
This modification may conflict with the subsequent Promise / A+ standard, which will cause difficulties for later expansion and maintenance of the program
[0007] 4 In the process of implementing Promise / A+ rules in the existing architecture, the actual needs of network shooting range construction are not considered, and the flow control problems of large-scale concurrent request functions and large-scale chain request functions under asynchronous conditions are not considered

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
  • Asynchronous function flow control method suitable for network target range construction
  • Asynchronous function flow control method suitable for network target range construction
  • Asynchronous function flow control method suitable for network target range construction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0023] The present invention provides an asynchronous function flow control method suitable for the construction of a network shooting range, the flow is:

[0024] 1. Design as figure 1 The class diagram of the asynchronous function flow control mechanism shown includes:

[0025] (1) The "promise" interface defines the reference type of the Promise process. The method names and variable names in the interface are consistent with the Promise / A+ specification, including then, onFulfilled, onRejected, reject, and resolve. The interface defines three constants of waiting, executing, and rejecting, which represent the three states of Promise. Since interfaces cannot be objectified, figure 1 The "promise" class in the ar...

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 relates to an asynchronous function flow control method suitable for network target range construction, and belongs to the technical field of information security. According to the method, the function naming rule in the Promise / A + specification is strictly obeyed, and the Promise / A + specification is expanded and packaged. The method is realized based on a PHP language. The methodis realized by means of an interface characteristic in a PHP language. An implementation method of taking a Promise / A + rule as a parent class is abandoned, so that reliability is ensured; a flow control mechanism for coping with large-scale chain type requests and large-scale concurrent requests in an asynchronous environment is designed according to the actual requirement of network target rangeconstruction, the construction efficiency and reliability of the network target range are improved, and finally a set of complete asynchronous function flow control method suitable for network targetrange construction is achieved.

Description

technical field [0001] The invention belongs to the technical field of information security, and in particular relates to an asynchronous function flow control method applicable to the construction of a network shooting range. Background technique [0002] As an important infrastructure for responding to network security threats, testing network countermeasure technology and equipment, practicing network offensive and defensive tactics, and cultivating and generating network offensive and defensive confrontation capabilities, network shooting ranges are used by many network security departments. At present, the underlying construction of network shooting ranges is mostly based on open source architectures such as OpenStack, CEPH, and OpenVswitch. These open source architectures provide API interfaces based on HTTP requests, such as creating networks, creating storage volumes, and software-defined networks. The construction of the network shooting range needs to call these e...

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): G06F8/30G06F8/20
CPCG06F8/315G06F8/24
Inventor 杨亦松李昆刑元单联强温泉刘康涛夏旸唐舸轩
Owner BEIJING INST OF COMP TECH & APPL
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More