CN101640673A - Information interactive method between systems - Google Patents

Information interactive method between systems Download PDF

Info

Publication number
CN101640673A
CN101640673A CN200810145214A CN200810145214A CN101640673A CN 101640673 A CN101640673 A CN 101640673A CN 200810145214 A CN200810145214 A CN 200810145214A CN 200810145214 A CN200810145214 A CN 200810145214A CN 101640673 A CN101640673 A CN 101640673A
Authority
CN
China
Prior art keywords
network service
interface
html
markup language
service interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200810145214A
Other languages
Chinese (zh)
Inventor
潘翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200810145214A priority Critical patent/CN101640673A/en
Publication of CN101640673A publication Critical patent/CN101640673A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an information interactive method between systems, comprising the following steps: when a first system calls an interface of a second system, a first interface establishes connection with a network service interface of the second system and transmits a request of supertext transmission protocol information string which is analyzed by the second system according to preset interface protocol and is subjected to corresponding treatment. By adopting the invention, information interaction among a plurality of systems can be realized, thus transparency between systems and share degree between interfaces are improved.

Description

Information interacting method between system
Technical field
The present invention relates to the communications field, and especially, relate to the information interacting method between a kind of system.
Background technology
In a large-scale project, can there be the interface between interface, system and the system between many internal system modules and the module.Usually, because the implementation difference of each module of internal system and each system, cause the information interaction between these interfaces to become insoluble always problem, the programmer expends a large amount of time and efforts on need and safeguarding in the debugging of interface, even needs extra some special modules that add to realize intermediate conversion between the interface.
Network service interface is a kind of interface based on super style host-host protocol, and the system that different technologies is realized is called mutually.And network service interface has multiple published method, adopts the parameter of character string as interactive interfacing, and character string uses good symbol or the mark of interface bilateral agreement to realize cutting apart.
Adopt the mode of network service interface to realize information interaction function between each module or each system, be undoubtedly a kind of good solution.
At first, the network service interface technology can be in the transparency that improves to a greater extent between each module or the system, the developer of A system does not spend basically and is concerned about what language B system, C system adopt, any mode realizes, more do not worried the intermediate conversion between the interface, because network service interface adopts the character string of being supported by multilingual as the interactive interfacing parameter;
Secondly, network service interface technology portability is fine, and this is based on super style host-host protocol because of network service interface, and supports multiple issue form;
Once more, the network service interface technology can improve sharing between the interface, provide a kind of function such as the A system simultaneously for B system and C system, if the implementation of B system and C system is different, very possible A system need provide interface respectively for B, C system, because network service interface transparency height is portable good, can provide shared functional interface for B, C system well fully;
In addition, network service interface technology issue simple light defines brief and concisely, and technology is easy-to-understand.
Although the network service interface technology has above various advantage, yet, do not propose as yet at present to use network service interface to realize the mutual technical scheme of information between several systems.
Summary of the invention
Consider the problems referred to above and make the present invention, for this reason, main purpose of the present invention is to provide the information interacting method between a kind of system, to realize the mutual of information between several systems by network service interface.
According to an aspect of the present invention, provide information interacting method between a kind of system.
Comprise according to the information interacting method between system of the present invention: when the interface of first system call, second system, the network service interface of first interface and second system connects, and sends the request of HTML (Hypertext Markup Language) bit string to network service interface; Second system is according to the request of predetermined interface protocol analysis HTML (Hypertext Markup Language) bit string, and carries out respective handling.
Wherein, first system connects with network service interface by sending connection request to network service interface, and sends the request of HTML (Hypertext Markup Language) bit string under the situation that successful connection is set up.
And, connecting under the situation of setting up failure, network service interface represents to connect overtime information to first system feedback.
In addition, after receiving the request of HTML (Hypertext Markup Language) bit string, this method may further include: the legitimacy of network service interface checking HTML (Hypertext Markup Language) bit string request, and verifying that the result carries out respective handling under the legal situation.
And, be that network service interface is represented the information of malloc failure malloc under the illegal situation to first system feedback in the checking result.
In addition, after having carried out respective handling, this method can further comprise: network service interface sends the HTML (Hypertext Markup Language) bit string response that carries result to first system.
Preferably, after receiving the response of HTML (Hypertext Markup Language) bit string, this method can also comprise: first system obtains result according to the response of predetermined interface protocol analysis HTML (Hypertext Markup Language) bit string.
By technique scheme of the present invention, can realize the information interaction between some systems, improve transparency between each system and the sharing degree between the interface.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the information interacting method between the system of the embodiment of the invention;
Fig. 2 is the flow chart according to the processing example of the information interacting method between the system of the embodiment of the invention.
Embodiment
In embodiments of the present invention, provide information interacting method between a kind of system.
As shown in Figure 1, comprise according to the information interacting method between the system of the embodiment of the invention: step S102, in first system (interface interchange end) when calling the interface of second system, the network service interface of first interface and second system connects, and sends the request of HTML (Hypertext Markup Language) bit string to network service interface; Step S104, second system be according to the request of predetermined interface protocol analysis HTML (Hypertext Markup Language) bit string, and carry out respective handling.
Wherein, first system can connect with network service interface by sending connection request to network service interface, and sends the request of HTML (Hypertext Markup Language) bit string under the situation that successful connection is set up.
Connecting under the situation of setting up failure, network service interface represents to connect overtime information to first system feedback, and this handles failure.
And after receiving the request of HTML (Hypertext Markup Language) bit string, this method can further comprise: the legitimacy of network service interface checking HTML (Hypertext Markup Language) bit string request, and verifying that the result carries out respective handling under the legal situation.
And, be under the illegal situation in the checking result, network service interface is represented the information of malloc failure malloc to first system feedback, this handles failure.
After having carried out respective handling, this method can further comprise: network service interface sends the HTML (Hypertext Markup Language) bit string response that carries result to first system.
After receiving the response of HTML (Hypertext Markup Language) bit string, this method can further comprise: first system obtains result according to the response of predetermined interface protocol analysis HTML (Hypertext Markup Language) bit string.
Below in conjunction with Fig. 2 the present invention is described.As shown in Figure 2, the method processing procedure according to the embodiment of the invention comprises:
When (1) other system need be called by the system of user's use, the interface to other system sent connection request earlier;
(2) judge whether connection is successful, if successful connection is then carried out (3); If connection failure, it is overtime then to return connection, and stops to handle;
(3) after the successful connection, the system that the user uses is packaged with interface protocol with the service request string argument, issues interface by super style host-host protocol afterwards;
(4) interface receives after the request string argument, that is, resolve by interface protocol;
(5) interface carries out the legitimacy judgement to this request, is being judged as execution (6) under the legal situation; Otherwise return malloc failure malloc, and stop to handle;
(6) interface is understood user's service of analysing;
(7) interface is packaged with interface protocol with the service response string argument, sends to the system that the user uses;
(8) system of user's use resolves the service response string argument, thereby obtains response results.
In sum, by means of technical scheme of the present invention, can realize the information interaction between some systems, transparency between each system and the sharing degree between the interface have been improved, make system interface become easy-to-understand, have good professional platform independence, and have and realize advantage simply and easily.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the information interacting method between a system is characterized in that, comprising:
When the interface of first system call, second system, the network service interface of described first interface and described second system connects, and sends the request of HTML (Hypertext Markup Language) bit string to described network service interface;
Described second system is according to the request of the described HTML (Hypertext Markup Language) bit string of predetermined interface protocol analysis, and carries out respective handling.
2. method according to claim 1, it is characterized in that, described first system sets up described the connection by sending connection request to described network service interface with described network service interface, and sends the request of described HTML (Hypertext Markup Language) bit string under the situation that described successful connection is set up.
3. method according to claim 2 is characterized in that, sets up in described connection under the situation of failure, and described network service interface represents to connect overtime information to described first system feedback.
4. method according to claim 1 is characterized in that, after receiving the request of described HTML (Hypertext Markup Language) bit string, further comprises:
Described network service interface is verified the legitimacy of described HTML (Hypertext Markup Language) bit string request, and carries out described respective handling in the checking result under the legal situation.
5. method according to claim 4 is characterized in that, under described checking result was illegal situation, described network service interface was represented the information of malloc failure malloc to described first system feedback.
6. method according to claim 1 is characterized in that, after having carried out described respective handling, further comprises:
Described network service interface sends the HTML (Hypertext Markup Language) bit string response that carries result to described first system.
7. method according to claim 4 is characterized in that, after receiving described HTML (Hypertext Markup Language) bit string response, further comprises:
Described first system obtains described result according to the described HTML (Hypertext Markup Language) bit string response of described predetermined interface protocol analysis.
CN200810145214A 2008-07-30 2008-07-30 Information interactive method between systems Pending CN101640673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810145214A CN101640673A (en) 2008-07-30 2008-07-30 Information interactive method between systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810145214A CN101640673A (en) 2008-07-30 2008-07-30 Information interactive method between systems

Publications (1)

Publication Number Publication Date
CN101640673A true CN101640673A (en) 2010-02-03

Family

ID=41615465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810145214A Pending CN101640673A (en) 2008-07-30 2008-07-30 Information interactive method between systems

Country Status (1)

Country Link
CN (1) CN101640673A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150724A (en) * 2018-07-02 2019-01-04 紫光华山信息技术有限公司 A kind of communication means and network interface card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150724A (en) * 2018-07-02 2019-01-04 紫光华山信息技术有限公司 A kind of communication means and network interface card
CN109150724B (en) * 2018-07-02 2021-06-29 新华三信息技术有限公司 Communication method and network card

Similar Documents

Publication Publication Date Title
US7562352B2 (en) Data format conversion method and equipment, and controller management system using data format conversion equipment
CN101907998B (en) The renewal system and method for embedded system
CN100353714C (en) Method for realizing Web service automatic test
CN101197711B (en) Method, device and system for implementing unified authentication management
CN103338226B (en) The debugging of engineering machinery remote software and upgrade-system and method
CN103716308A (en) Multiprotocol platform communication method and multiprotocol platform
CN104821954A (en) Cross-platform remote procedure call method
CN106412064A (en) Remote upgrade method of power utilization information acquisition terminal
CN101146119A (en) A device and method for browser-cross self-adapted call of local function
CN105808701A (en) Method and system for realizing automatic verification of form and communication among multiple systems
CN100499473C (en) Method for realizing business request and on-line instruction system
CN100502309C (en) Embedded Web network management system and its interaction method
CN101800910B (en) Simulation system, PC side simulator and mobile phone side agent client
CN102609353A (en) Method, device and system for managing program debugging
CN104932452A (en) Method used for aviation bus tester remote control and system used for aviation bus tester remote control
CN104363212B (en) A kind of socket communication semantemes analytic method and application system based on Lua
CN110134380A (en) A kind of code generating method based on template engine, device and electronic equipment
CN101640673A (en) Information interactive method between systems
CN103677854A (en) Design method and design system of OSGI (Open Service Gateway Initiative)-WEB framework applicable to cloud computing environment
CN106550026B (en) Network communication device and method
CN102148869A (en) Method and device for JAVA application to transfer information to local
CN104570967A (en) Android system based remote control method and system
CN108989428A (en) Bluetooth terminal upgrade method, server, computer readable storage medium and system
CN104320483A (en) System and method for assisting application program to be upgraded
CN104572267B (en) A kind of fault-tolerant call method of cloud application Program Interfaces

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100203