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

A method and system for implementing a general custom interface message

A technology of custom interface and implementation method, applied in the field of general custom interface message implementation method and system, can solve problems such as inflexibility, achieve the effect of strong versatility, high degree of reuse, and easy unified management

Active Publication Date: 2018-11-13
北京思特奇信息技术股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Sun provides a set of API (javax.xml.bind..annotation) that uses annotations to parse xml files, which supports the attribute configuration management of message nodes, but considering that in some cases, due to business changes, it may The content of the message needs to be modified. If the annotation method is used, the java source code needs to be modified and the program republished, which is not flexible enough to a certain extent.

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
  • A method and system for implementing a general custom interface message
  • A method and system for implementing a general custom interface message
  • A method and system for implementing a general custom interface message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0051] Xml is an extensible markup language with good self-definition and self-describing features. The present invention improves traditional messages and designs two general message templates (query message templates and update class message templates). Message template), the assembly method of node + attribute.

[0052] Such as figure 1 As shown, a general custom interface message implementation method includes the following steps:

[0053] Step 1, agree on the message protocol, and determine the content of the message;

[0054] Step 2, configure query message templates and update message templates according to the message protocol;

[0055] Step 3, according to the type of message content, select a correspond...

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 a method for realizing universal custom interface message. The method comprises the following steps of: 1, defining a message protocol, and determining message content; 2, configuring a query type message template and an update type message template according to the message protocol; 3, selecting the message template of corresponding type according to the type of the message content, assembling the message content according to the selected message template, and thereby obtaining the universal custom interface message. The message provided by the invention has strong universality and high reusability, is light-weight and is not dependent on a special API, so that complexity and development workload for interface establishment are reduced greatly, unified management is facilitated, and accurate estimation on workload is helped.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and system for realizing a universal custom interface message. Background technique [0002] For the comprehensive resource management system, it is necessary to provide a large number of resource query interfaces to the peripheral systems, such as the number selection interface of the business system, the resource capability query interface, etc.; but after analysis, it is found that most of the interfaces can be basically divided into two categories: query type and update type ( Including deletion, which can be regarded as a special update operation); and usually when defining interface messages, business actions are taken as the basic unit, a business action corresponds to a set of interface messages, and each message node It is pre-defined after the two parties agree on the interface interaction method. Once there is a change, the program needs to be modified,...

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): H04L12/24
CPCH04L41/0266
Inventor 高建星
Owner 北京思特奇信息技术股份有限公司
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