CN109120723A - A kind of method for interchanging data and system based on http protocol - Google Patents
A kind of method for interchanging data and system based on http protocol Download PDFInfo
- Publication number
- CN109120723A CN109120723A CN201811244320.6A CN201811244320A CN109120723A CN 109120723 A CN109120723 A CN 109120723A CN 201811244320 A CN201811244320 A CN 201811244320A CN 109120723 A CN109120723 A CN 109120723A
- Authority
- CN
- China
- Prior art keywords
- data
- service
- request
- client
- switching center
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of method for interchanging data and system based on http protocol, data service request is carried out including being applied to data center's exchange system, the data service request is the following steps are included: request user initiates service list request to data switching center's system by client, data switching center's system issues response, is dealt into client and is shown;Request user judges whether there is required service, and if it is nothing, the response results of no data are back to data switching center's system;If it is having, the data service request serviced needed for obtaining is initiated to data switching center's system, data switching center's system is searched for the corresponding data for searching whether the service in caching, shown if so, being transmitted directly to client;If nothing, the request of data is initiated to operation system, and the data received from operation system response is returned into client.Using the present invention, the seamless shared and exchange of each department's data can be realized.
Description
Technical field
The invention belongs to technical field of the computer network, and in particular to a kind of method for interchanging data based on http protocol and
System.
Background technique
Interaction between enterprises and enterprise becomes more and more frequent, especially the system of enterprises, a large size
Enterprise can use multiple systems not of uniform size, they may be to be write with different language, and operation on different machines, has
Different system platform, but with the development of enterprise starts to need information exchange between them, further, since wisdom political affairs
It is engaged in, the development of smart city, the interaction between department becomes more and more frequent.Therefore it needs to research and develop a kind of based on http protocol
Method for interchanging data and system share the data seamless of each department and exchange.
Summary of the invention
The present invention is in order to solve the above technical problems, provide a kind of method for interchanging data and system based on http protocol.
To achieve the goals above, the technical solution adopted by the present invention is as follows:
Technical solution one:
A kind of method for interchanging data based on http protocol, including be applied to data center's exchange system progress data service and ask
Ask, the data service request specifically includes the following steps:
User is requested to initiate service list request to data switching center's system by client, data switching center's system receives
After request and response is issued, service list is dealt into client and is shown;
Request user judges the required service for whether having the request user itself in the service list obtained, if it is judged that
For nothing, then the response results of no data are back to data switching center's system by client;If it is judged that have, then
The data service request of service needed for obtaining is initiated to data switching center's system by client, data switching center's system is received
After the data service request serviced needed for being obtained to client, clothes needed for search has searched whether the request user in caching
The corresponding data of business, if search the result is that having, the data found are directly sent to by data switching center's system
Client is shown;If finding the result is that nothing, data switching center's system is to described in operation system initiation
Then the data received from operation system response is returned to client by the request of data serviced needed for user.
Further, the operation system receives service needed for the request user of data switching center's system initiation
It is responded after request of data, and response data is packaged, be then sent to data switching center's system, and write out response
Log;After data switching center's system receives the response data that the operation system is sent, issues client and shown
Show.
Further, the operation system needs before being packaged to the response data to the response data
Carry out successively carry out authority checking, write verification Request Log, resolution response data file, verifying signature, decryption, business processing,
Encryption, the operation signed again.
It further, further include being applied to data center's exchange system to carry out Data service registering, the data service note
Volume specifically comprises the following steps:
It registers user and registration service request is initiated to data switching center's system by client, illustrate that registration user can be external
The service content of offer;
Data switching center's system receives registration service request, and updates service list, writes down each registration user client and mentions
The service content of confession.
It further, further include being applied to data center's exchange system to carry out data service cancellation, the data service note
Pin specifically comprises the following steps:
It needs logging off users to initiate to nullify service request to data switching center by client, illustrates what logging off users were externally nullified
Service content,
Data switching center's system receives cancellation service request, and updates service list, writes down each registration user again
The service content that client provides.
Further, the client and data center's exchange system and data center's exchange system and operation system it
Between data transmission be all made of the data file of XML format.
Technical solution two:
A kind of data center systems based on http protocol, including data receipt unit, storage element, search unit, data hair
Send unit;The sound that the data receipt unit is used to receive the service data of client submission and operation system is sent
Answer data;The storage element is for data corresponding to store-service list and each service;Described search unit is used for
Corresponding data are serviced needed for search request user from searching in all service datas of storage;The data transmission unit is used for
Response data is sent to client, the request of data of service needed for sending request user to operation system.
Compared with prior art, obtained by the present invention to have the beneficial effect that:
Using method and system of the invention, shares and exchange with can be realized each department's data seamless.
Detailed description of the invention
Fig. 1 is the flow chart of request data service list in one embodiment of the invention;
Fig. 2 is the flow chart that service data is requested in one embodiment of the invention;
Fig. 3 is the flow chart that service registration is requested in a preferred embodiment of the invention;
Fig. 4 is the flow chart that service deregistration is requested in a preferred embodiment of the invention;
Fig. 5 is the system construction drawing of the data center systems based on http protocol in one embodiment of the invention.
Specific embodiment
Further details of narration is carried out to the present invention with reference to embodiments.
A kind of one embodiment of the method for interchanging data based on http protocol of the present invention shown in Fig. 1 ~ 2, including application
In data center's exchange system carry out data service request, the data service request specifically includes the following steps:
User is requested to initiate service list request to data switching center's system by client, data switching center's system receives
After request and response is issued, service list is dealt into client and is shown;
Request user judges the required service for whether having the request user itself in the service list obtained, if it is judged that
For nothing, then the response results of no data are back to data switching center's system by client;If it is judged that have, then
The data service request of service needed for obtaining is initiated to data switching center's system by client, data switching center's system is received
After the data service request serviced needed for being obtained to client, clothes needed for search has searched whether the request user in caching
The corresponding data of business, if search the result is that having, the data found are directly sent to by data switching center's system
Client is shown;If finding the result is that nothing, data switching center's system is to described in operation system initiation
Then the data received from operation system response is returned to client by the request of data serviced needed for user.
Further, the operation system receives service needed for the request user of data switching center's system initiation
It is responded after request of data, and response data is packaged, be then sent to data switching center's system, and write out response
Log;After data switching center's system receives the response data that the operation system is sent, issues client and shown
Show.
Further, the operation system needs before being packaged to the response data to the response data
Carry out successively carry out authority checking, write verification Request Log, resolution response data file, verifying signature, decryption, business processing,
Encryption, the operation signed again.
Fig. 3 shows an a kind of preferred embodiment of method for interchanging data based on http protocol, further includes being applied to
Data center's exchange system carries out Data service registering, and the Data service registering specifically comprises the following steps:
It registers user and registration service request is initiated to data switching center's system by client, illustrate that registration user can be external
The service content of offer;
Data switching center's system receives registration service request, and updates service list, writes down each registration user client and mentions
The service content of confession.
Fig. 4 shows an a kind of preferred embodiment of method for interchanging data based on http protocol, further includes being applied to
Data center's exchange system carries out data service cancellation, and the data service cancellation specifically comprises the following steps:
It needs logging off users to initiate to nullify service request to data switching center by client, illustrates what logging off users were externally nullified
Service content;
Data switching center's system receives cancellation service request, and updates service list, writes down each registration user again
The service content that client provides.
Further, the client and data center's exchange system and data center's exchange system and operation system it
Between data transmission be all made of the data file of XML format.
To realize the above-mentioned method for interchanging data based on http protocol, the invention also discloses a kind of based on http protocol
Data center systems, as shown in figure 5, including data receipt unit 1, cache unit 2, search unit 3, data transmission unit 4;Institute
State the response data that service data and operation system of the data receipt unit 1 for receiving client submission are sent;Institute
Cache unit 2 is stated for data corresponding to store-service list and each service;Described search unit 3 is used for from storage
All service datas in the corresponding data of service needed for search search request user;The data transmission unit 4 is used for visitor
Family end sends response data, the request of data of service needed for sending request user to operation system.
Embodiment described above is merely a preferred embodiment of the present invention, and the simultaneously exhaustion of the feasible implementation of non-present invention.It is right
For persons skilled in the art, any aobvious to made by it under the premise of without departing substantially from the principle of the invention and spirit and
The change being clear to should be all contemplated as falling within claims of the invention.
Claims (7)
1. a kind of method for interchanging data based on http protocol, which is characterized in that including be applied to data center's exchange system into
Row data service request, the data service request specifically includes the following steps:
User is requested to initiate service list request to data switching center's system by client, data switching center's system receives
After request and response is issued, service list is dealt into client and is shown;
Request user judges the required service for whether having the request user itself in the service list obtained, if it is judged that
For nothing, then the response results of no data are back to data switching center's system by client;If it is judged that have, then
The data service request of service needed for obtaining is initiated to data switching center's system by client, data switching center's system is received
After the data service request serviced needed for being obtained to client, clothes needed for search has searched whether the request user in caching
The corresponding data of business, if search the result is that having, the data found are directly sent to by data switching center's system
Client is shown;If finding the result is that nothing, data switching center's system is to described in operation system initiation
Then the data received from operation system response is returned to client by the request of data serviced needed for user.
2. a kind of method for interchanging data based on http protocol according to claim 1, which is characterized in that the business system
System responds after receiving the request of data serviced needed for the request user of data switching center's system initiation, and will response
Data are packaged, and are then sent to data switching center's system, and write out response log;Data switching center's system connects
After receiving the response data that the operation system is sent, issues client and shown.
3. a kind of method for interchanging data based on http protocol according to claim 2, which is characterized in that the business system
System needs to carry out the response data successively to carry out authority checking, write verification is asked before being packaged the response data
Ask log, resolution response data file, verifying signature, decryption, business processing, encryption, the operation signed again.
4. a kind of method for interchanging data based on http protocol according to claim 1, which is characterized in that further include application
Data service registering is carried out in data center's exchange system, the Data service registering specifically comprises the following steps:
It registers user and registration service request is initiated to data switching center's system by client, illustrate that registration user can be external
The service content of offer;
Data switching center's system receives registration service request, and updates service list, writes down each registration user client and mentions
The service content of confession.
5. a kind of method for interchanging data based on http protocol according to claim 1, which is characterized in that further include application
Data service cancellation is carried out in data center's exchange system, the data service cancellation specifically comprises the following steps:
It needs logging off users to initiate to nullify service request to data switching center by client, illustrates what logging off users were externally nullified
Service content,
Data switching center's system receives cancellation service request, and updates service list, writes down each registration user again
The service content that client provides.
6. a kind of method for interchanging data based on http protocol according to claim 1, which is characterized in that the client
Data transmission between data center's exchange system and data center's exchange system and operation system is all made of XML format
Data file.
7. a kind of data center systems based on http protocol, which is characterized in that including data receipt unit (1), storage element
(2), search unit (3), data transmission unit (4);The service that the data receipt unit (1) is used to receive client submission is asked
The response data for asking data and operation system to send;The storage element (2) is used for store-service list and each clothes
The corresponding data of business;Described search unit (3) is used to search for needed for search request user from all service datas of storage
Service corresponding data;The data transmission unit (4) is used to send response data to client, sends and requests to operation system
The request of data serviced needed for user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811244320.6A CN109120723A (en) | 2018-10-24 | 2018-10-24 | A kind of method for interchanging data and system based on http protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811244320.6A CN109120723A (en) | 2018-10-24 | 2018-10-24 | A kind of method for interchanging data and system based on http protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109120723A true CN109120723A (en) | 2019-01-01 |
Family
ID=64855533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811244320.6A Pending CN109120723A (en) | 2018-10-24 | 2018-10-24 | A kind of method for interchanging data and system based on http protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109120723A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084114A (en) * | 2019-03-21 | 2019-08-02 | 北京旷视科技有限公司 | A kind of data dispatching method, device, system and the storage medium of static state portrait |
CN113691531A (en) * | 2021-08-24 | 2021-11-23 | 深圳市思迪信息技术股份有限公司 | Data transmission method, system, equipment and storage medium based on WebSocket protocol |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686156A (en) * | 2008-09-28 | 2010-03-31 | 北京易路联动技术有限公司 | Terminal and method for realizing local caching of network service data |
CN102013066A (en) * | 2010-06-04 | 2011-04-13 | 西本新干线股份有限公司 | Electronic transaction service platform |
CN102571550A (en) * | 2010-12-30 | 2012-07-11 | 北京亿阳信通软件研究院有限公司 | General information interaction platform and method |
CN103235813A (en) * | 2013-04-25 | 2013-08-07 | 杭州电子科技大学 | Ufida financial core system and activity based costing system data synchronization method |
CN105141452A (en) * | 2015-08-07 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | High-performance service system and method based on CXF |
CN106385435A (en) * | 2016-08-30 | 2017-02-08 | 乐视控股(北京)有限公司 | Service treatment method and system of service system |
CN107196954A (en) * | 2017-06-15 | 2017-09-22 | 网宿科技股份有限公司 | A kind of service access method, apparatus and system |
CN107426323A (en) * | 2017-08-01 | 2017-12-01 | 浪潮天元通信信息系统有限公司 | Distributed resource service and visual monitoring system and method |
CN107634948A (en) * | 2017-09-19 | 2018-01-26 | 金在(北京)金融信息服务有限公司 | Method for interchanging data and system |
-
2018
- 2018-10-24 CN CN201811244320.6A patent/CN109120723A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686156A (en) * | 2008-09-28 | 2010-03-31 | 北京易路联动技术有限公司 | Terminal and method for realizing local caching of network service data |
CN102013066A (en) * | 2010-06-04 | 2011-04-13 | 西本新干线股份有限公司 | Electronic transaction service platform |
CN102571550A (en) * | 2010-12-30 | 2012-07-11 | 北京亿阳信通软件研究院有限公司 | General information interaction platform and method |
CN103235813A (en) * | 2013-04-25 | 2013-08-07 | 杭州电子科技大学 | Ufida financial core system and activity based costing system data synchronization method |
CN105141452A (en) * | 2015-08-07 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | High-performance service system and method based on CXF |
CN106385435A (en) * | 2016-08-30 | 2017-02-08 | 乐视控股(北京)有限公司 | Service treatment method and system of service system |
CN107196954A (en) * | 2017-06-15 | 2017-09-22 | 网宿科技股份有限公司 | A kind of service access method, apparatus and system |
CN107426323A (en) * | 2017-08-01 | 2017-12-01 | 浪潮天元通信信息系统有限公司 | Distributed resource service and visual monitoring system and method |
CN107634948A (en) * | 2017-09-19 | 2018-01-26 | 金在(北京)金融信息服务有限公司 | Method for interchanging data and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084114A (en) * | 2019-03-21 | 2019-08-02 | 北京旷视科技有限公司 | A kind of data dispatching method, device, system and the storage medium of static state portrait |
CN113691531A (en) * | 2021-08-24 | 2021-11-23 | 深圳市思迪信息技术股份有限公司 | Data transmission method, system, equipment and storage medium based on WebSocket protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11349940B2 (en) | Server side data cache system | |
US9626497B2 (en) | Sharing USB key by multiple virtual machines located at different hosts | |
US10187445B2 (en) | System, method and browser client for enabling browser data synchronization | |
TW201836322A (en) | Certificate management method and system | |
CN109087116A (en) | Accumulated point exchanging method, integral transaction system and computer readable storage medium | |
EP3156881A1 (en) | Personal work system capable of dynamic combination and adjustment | |
US20160301758A1 (en) | Generic cloud enabling of stateful applications | |
CN109547512A (en) | A kind of method and device of the distributed Session management based on NoSQL | |
US20070282964A1 (en) | Method and apparatus for processing remote shell commands | |
TW200929950A (en) | Packet forwarding apparatus and method for virtualization switch | |
CN107920138A (en) | A kind of user's unifying identifier generation method, apparatus and system | |
US8924478B2 (en) | Virtual desktop infrastructure (VDI) login acceleration | |
CN109803016A (en) | A kind of method and apparatus using virtual switch forwarding data packet | |
US20160241649A1 (en) | Directory service discovery and/or learning | |
US20110016349A1 (en) | Replication in a network environment | |
US20140059152A1 (en) | Support server for redirecting task results to a wake-up server | |
WO2019242437A1 (en) | Distributed transaction processing method and related device | |
CN110474964A (en) | Method, apparatus, equipment and the computer storage medium of CDN scheduling | |
CN106603594A (en) | Distributed service management method and system | |
CN106572095B (en) | Account registration method, apparatus and system | |
CN110764688B (en) | Method and device for processing data | |
CN109120723A (en) | A kind of method for interchanging data and system based on http protocol | |
CN108702390A (en) | The transfer of the control in configuration source | |
CN114448686A (en) | Cross-network communication device and method based on micro-service | |
WO2016116783A1 (en) | Personal working system available for dynamic combination and adjustment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190101 |