Interface encoding/decoding method and system
A technology of interface code and interface, which is applied in the field of interface encoding/decoding, can solve the problems of inconsistent definition of byte stream, low quality of interface code, and inability to expand the interface, so as to achieve unified message stream transmission format, reduce coupling, reduce The effect of artificial workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0073] refer to figure 1, which shows a flow chart of an interface encoding / decoding method in this embodiment, and this embodiment may specifically include the following steps:
[0074] S101. Determine interface content according to interface requirements;
[0075] The interface requirements are different, and the interface content is different. For example, if the interface requirement is to allow customers to pay for an order, then the content of the interface is to establish a clearly defined interface between the system and the payment clearing center to allow customers to pay for an order. As another example, if the interface requirement is authentication and authorization, the content of the interface is to establish a clearly defined interface between the system and the authentication and authorization system. The purpose is to verify the digital certificate submitted by the customer. Multiple authentication and authorization systems can be supported, and each authent...
Embodiment 2
[0185] refer to figure 2 , shows the interface design flow chart of this embodiment, specifically including the following steps:
[0186] S201. Determine the interface content between subsystems;
[0187] The interface content between subsystems can be determined according to the interface requirements between subsystems. The interface requirements are different, and the content of the interface between the corresponding subsystems is also different. The interface content includes: message content and structure of the interface, and the message structure includes structure name, member name and member type.
[0188] S202. Write an interface file according to the preset unified specification according to the interface content;
[0189] The preset uniform specifications in this embodiment include interface message definition specifications and interface message flow definition specifications during transmission. In this embodiment, the above-mentioned interface file can be ...
Embodiment 3
[0228] like Image 6 As shown, it is a structural block diagram of an interface encoding / decoding system in this embodiment, which specifically includes:
[0229] Interface content determination module 1001, configured to determine interface content according to interface requirements;
[0230] The interface file writing module 1002 is used to write the interface file according to the preset unified specification according to the interface content; the unified specification described in the second embodiment is the same as that described in the first embodiment, so it will not be described in detail, and reference can be made to the implementation A detailed description of the unified specification in Example 1.
[0231] The interface code file generation module 1003 is used to execute the automatic code generation tool, and parse the interface file to automatically generate the interface code file;
[0232] An encoding module 1004 and / or a decoding module 1005, wherein the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
