Supercharge Your Innovation With Domain-Expert AI Agents!

Code processing method and device

A code data and processing method technology, applied in the field of code data processing methods and devices, can solve the problems of increasing code generation time, reducing code generation efficiency, reducing code accuracy, etc., so as to reduce generation time, easy to operate, and improve generation efficiency. Effect

Inactive Publication Date: 2015-11-04
无锡感知金服物联网科技有限公司
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by this application is to provide a code data processing method and device to solve the problem of generating REST interface codes in the prior art, requiring developers to perform a large number of repetitive coding work for each interface, which is not only easy Make mistakes, reduce the accuracy of the code, increase the code generation time, and reduce the technical problems of code generation efficiency

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
  • Code processing method and device
  • Code processing method and device
  • Code processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0051] refer to figure 1 , is a flow chart of Embodiment 1 of a code data processing method provided by the present application, wherein the method is applied to an electronic device, and the electronic device may be capable of executing code and has a data connection with a resource node in the network The equipment terminal etc. of described electronic equipment is stored with the XML description file of REST interface, and the multiple attribute information of described REST interf...

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 a code processing method and device, and is applied to electronic equipment. The electronic equipment stores an XML (Extensive Markup Language) description file of each REST interface, and the XML description file comprises the multi-term attribute information of each REST interface. The method comprises the following steps: reading the XML description file in the electronic equipment; and according to a description rule of the XML description file, coding the each-item attribute information of each REST interface in the XML description file, and obtaining the code data of each REST interface. Through the embodiment of the invention, development personnel do not need to manually compile the code data of each REST interface and only need to compile the XML description file, so that the XML description file is subsequently compiled through the code processing method and device, a code generation process of the code processing method and device is unlikely to make mistakes, code generation accuracy is improved, and the code processing method and device has the advantages of being few in process operation flows and simple in operation, shortens code generation time and improves code generation efficiency.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a code data processing method and device. Background technique [0002] REST (REpresentational State Transfer, representational state transfer) refers to: a set of architectural constraints and principles, and the application or design that satisfies these constraints and principles is RESTful. In a RESTful web service, each resource node has a resource address, and the resource node itself is accessed by users or user objects through the REST interface. The corresponding access methods can include HTTP GET, POST, PUT, DELETE, and There may be HEADER and OPTIONS etc. [0003] In the current practical application, each REST interface for resource access is determined by the developer according to the interface's httpMethod and httpHeader specific parameters, data format (such as json, xml), return value, authentication method (such as httpBasicAuth), etc. Manua...

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): G06F9/44
Inventor 崔平
Owner 无锡感知金服物联网科技有限公司
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