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

Coding method for realizing a coupling function based on an interprocess simulation http request interface

A coding method and inter-process technology, which is applied in the field of coding based on the inter-process analog http request interface to realize the coupling function, can solve problems such as prone to BUG, ​​high requirements for coders, and strong code logic, so as to reduce requirements and simplify The effect of coding complexity

Inactive Publication Date: 2019-05-24
SHENZHEN JIXIANG TENGDA TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the existing coding method implements the functional interface, new code needs to be added to avoid coupling between data and functions. At the same time, a large number of branches and error handling need to be written. This part of the code is highly logical and prone to bugs. Strong correlation requires coders to have a good foundation and has higher requirements for coders

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
  • Coding method for realizing a coupling function based on an interprocess simulation http request interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The present invention will be further described below in conjunction with the description of the drawings and specific embodiments.

[0014] Such as figure 1 As shown, a coding method based on inter-process simulation http request interface to realize the coupling function, including: when coding, only need to organize the corresponding data to be configured, and then call the http request to construct the interface, and send it to the http process for processing, the function is Can achieve.

[0015] The coding method for realizing the coupling function based on the inter-process analog http request interface provided by the present invention no longer needs to judge the system state, the coupling of data, branch processing, database processing and more error processing; the coding flow and related analysis work can be obtained simplify.

[0016] Most of the current gateway devices or network devices have implemented http-based web configuration interfaces, and the b...

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 an encoding method for realizing a coupling function based on an interprocess simulation http request interface, which comprises the following steps: S1, data arrangement: arranging data required to be configured during encoding; and S2, constructing an http request, calling an http request construction interface, and sending the arranged data to an http process for processing. The method has the beneficial effects that the http process interface is multiplexed, so that the coding complexity and the code defect rate are greatly simplified, and meanwhile, the requirementson coding personnel can be effectively reduced.

Description

technical field [0001] The invention relates to a coding method, in particular to a coding method for realizing a coupling function based on an inter-process simulated http request interface. Background technique [0002] At present, when the home gateway develops new functional interfaces, implements coupling configuration between modules, or debugs these functions, the general approach can only be to organize the data that needs to be configured, read the current system status, and then perform logic based on this information. Judging, distinguishing the coupling relationship, judging various branches and error handling, and then configuring the related data values ​​and status values ​​into the system or database, and then implementing related functional interfaces to make the configuration take effect. [0003] When the existing coding method implements the functional interface, new code needs to be added to avoid coupling between data and functions. At the same time, a ...

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): G06F8/36
Inventor 刘震彭杰吴晓赵恒杨颂文精明关伟博
Owner SHENZHEN JIXIANG TENGDA TECH
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