CN103595714A - Method using WEB service channel to achieve data transmission - Google Patents

Method using WEB service channel to achieve data transmission Download PDF

Info

Publication number
CN103595714A
CN103595714A CN201310552960.4A CN201310552960A CN103595714A CN 103595714 A CN103595714 A CN 103595714A CN 201310552960 A CN201310552960 A CN 201310552960A CN 103595714 A CN103595714 A CN 103595714A
Authority
CN
China
Prior art keywords
data
request
receiving terminal
buffer memory
web service
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
CN201310552960.4A
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.)
FUJIAN SHITONG OPTICAL NETWORK Co Ltd
Original Assignee
FUJIAN SHITONG OPTICAL NETWORK Co Ltd
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 FUJIAN SHITONG OPTICAL NETWORK Co Ltd filed Critical FUJIAN SHITONG OPTICAL NETWORK Co Ltd
Priority to CN201310552960.4A priority Critical patent/CN103595714A/en
Publication of CN103595714A publication Critical patent/CN103595714A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method using a WEB service channel to achieve data transmission. Data transmission in a data transmission service channel is HTTP protocol transmission and supports string data types and stream data types, the isolating end of the channel carries out authentication on requests every time, and listed identities are logged in at regular. Meanwhile, the data are encrypted in the channel to guarantee data safety. Finally, the required data are compressed, and HTTP requests are optimized, and the data transmission performance is improved. Furthermore, the method can achieve request interflow between different networks and different data request methods.

Description

A kind of method that realizes transfer of data by WEB service channel
Technical field
The present invention relates to the technical field of local area network (LAN), privately owned net, world wide web data exchange channels, relate in particular to a kind of method that realizes transfer of data by WEB service channel.
Background technology
Along with the development of network technology, the data interaction between diverse network is more and more important.For the higher enterprise of security level required, unit, must there is necessity of the privately owned net of isolation and past outer net.When carrying out Network Isolation, if channel isolation security performance, communication efficiency are low, may cause the leakage of private data or the inconvenience of service access.
Summary of the invention
Deficiency for available data transmission service passage in efficiency of transmission and safety, the present invention proposes a kind of method that realizes transfer of data by WEB service channel; In different networks, realize safe and reliable efficient information mutual communication mode; Service request is passed through to service channel transparent transmission to the service terminal of another network, then by the transparent request end that is back to of request return data.
The present invention is achieved in that a kind of method that realizes transfer of data by WEB service channel,
Step 1, between the request end of described WEB service channel and destination end, be provided with receiving terminal, isolation end and forwarding end; Described WEB service channel is outwards unified sets up an access interface, to different service requests, and unitized overall development HttpRest service interface, and set interface parameters transfer mode;
Parameter and request msg that step 2, described receiving terminal import into according to request end, judge whether the service request of request end needs to wait for destination end return data, no, enters step 3; That in request msg, encapsulation needs the sign of return value, and enters step 3;
Step 3, receiving terminal analytic parameter, and generate a unique buffer memory key cachekey and be stored in buffer memory, as the context unique identification of service request, by buffer memory key cachekey, all request msgs and the parameter of receiving terminal are encrypted;
Step 4, isolation end receive the request of receiving terminal, and call to forward and hold the interface service of registering, forwarding termination receives after request, the request msg of encrypting is decrypted, and parameter is resolved separated, parameter state when being reduced to request end and calling, the service interface of invocation target end registration after completing;
Step 5, destination end return results, and forward end and call after result, again login isolation end, and using the result of calling as transmission data, call isolation end data issuing interface; To receiving terminal, push and return results;
Step 6, receiving terminal receive after returning results of propelling movement, send to described request end to complete the transmission of data.
Tool of the present invention has the following advantages: the present invention can carry out the request intercommunication of heterogeneous networks, different pieces of information request mode; And request mode and request number of times are optimized, promote request response time.The present invention adopts internal one-way data to flow, and the mode of external transparent request is carried out channel data management.Channel interior request of data adopts once asks the mode of a data flow direction to carry out safe isolation, external carry out transparent transfer of data for the Http request mode of standard, has improved data transmission security.
Accompanying drawing explanation
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
Transfer of data in data transport service passage of the present invention is all transmitted with http protocol, and supports string data type and stream data type; Isolation end all carries out authentication to each request, and periodic aging listed identity.Channel interior is encrypted data simultaneously, guarantees the safety of data, and the data of request are compressed and HTTP is asked to be optimized, and improves data transmission performance.
Refer to shown in Fig. 1, the present invention is a kind of method that realizes transfer of data by WEB service channel,
Step 1, between the request end of described WEB service channel and destination end, be provided with receiving terminal, isolation end and forwarding end; Described WEB service channel is outwards unified sets up an access interface, to different service requests, and unitized overall development HttpRest service interface, and set interface parameters transfer mode;
Parameter and request msg that step 2, described receiving terminal import into according to request end, judge whether the service request of request end needs to wait for destination end return data, no, enters step 3; That in request msg, encapsulation needs the sign of return value, and enters step 3;
Step 3, receiving terminal analytic parameter, and generate a unique buffer memory key cachekey and be stored in buffer memory, as the context unique identification of service request, by buffer memory key cachekey, all request msgs and the parameter of receiving terminal are encrypted; After encryption, receiving terminal calls isolation end data and submits interface to, if isolation end returns to login-timeout, receiving terminal is login again again;
Step 31, receiving terminal are carried out message management task simultaneously, safeguard the wait list of each request in receiving terminal;
Step 4, isolation end receive the request of receiving terminal, and call to forward and hold the interface service of registering, forwarding termination receives after request, the request msg of encrypting is decrypted, and parameter is resolved separated, parameter state when being reduced to request end and calling, the service interface of invocation target end registration after completing; Isolation end returns to the executing state of whole flow process, does not return to destination end and calls result;
Step 5, destination end return results, and forward end and call after result, again login isolation end, and using the result of calling as transmission data, call isolation end data issuing interface; To receiving terminal, push and return results;
Step 6, receiving terminal receive after returning results of propelling movement, send to described request end to complete the transmission of data; This step is specially: receiving terminal receives after returning results of propelling movement, and the context dependent returning results by the buffer memory key cachekey generating when receiving joins; Receiving terminal upgrades result corresponding to buffer memory key cachekey in buffer memory, and request end receives after the result update notification that buffer memory key cachekey is corresponding, obtains the value after renewal and returns results to request end.
Wherein, described transfer mode is divided into two kinds, and the first is Transfer Parameters in url, in post data, transmits data; The second is with xml form encapsulation parameter and data.
Below in conjunction with a specific embodiment, the invention will be further described:
The data data transmission procedure of WEB of the present invention service channel:
First for different services, Uniting the same access interface, service call mode is divided into two kinds, a kind of is Transfer Parameters in url (parameter as n, i or o), transmits Data subject data in post data; Another kind of mode is with xml form encapsulation parameter and data entity data.
Receiving terminal, after receiving request, parses parameter (parameter is as i), and generates a unique buffer memory key cachekey and store in buffer memory as context unique identification, and this buffer memory is simultaneously for maintenance request return value; Then, receiving terminal formats and ciphered compressed data.
After deal with data completes, receiving terminal calls isolation end data and submits interface to, if isolation end returns to login-timeout, receiving terminal is login again again, avoids each login to reduce performance.
Isolation end receives receiving terminal data, and calls the service that forwards end registration, returns and forwards end service call state to receiving terminal.
Forward termination and receive after the request of isolation end, data are carried out to the processing procedure reverse with receiving terminal processing sequence.And parameter i is resolved separated, the parameter state when being reduced to request end and calling.The service interface of invocation target end registration after completing.
After destination end returns results, forward end re invocation isolation end data issuing interface, to receiving terminal, push request results.
Receiving terminal receives and pushes after result, because the context pushing not is same context with the context of request, therefore need to carry out context relation by the buffer memory key cachekey defining when receiving.Receiving terminal upgrades result corresponding to buffer memory key cachekey in buffer memory, and request receiving termination is received buffer memory key cachekey update notification, obtains the value after renewal and returns results to request end.
In a word, the present invention can carry out the request intercommunication of heterogeneous networks, different pieces of information request mode; And request mode and request number of times are optimized, promote request response time.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.

Claims (5)

1. by WEB service channel, realize a method for transfer of data, it is characterized in that:
Step 1, between the request end of described WEB service channel and destination end, be provided with receiving terminal, isolation end and forwarding end; Described WEB service channel is outwards unified sets up an access interface, to different service requests, and unitized overall development HttpRest service interface, and set interface parameters transfer mode;
Parameter and request msg that step 2, described receiving terminal import into according to request end, judge whether the service request of request end needs to wait for destination end return data, no, enters step 3; That in request msg, encapsulation needs the sign of return value, and enters step 3;
Step 3, receiving terminal analytic parameter, and generate a unique buffer memory key cachekey and be stored in buffer memory, as the context unique identification of service request, by buffer memory key cachekey, all request msgs and the parameter of receiving terminal are encrypted;
Step 4, isolation end receive the request of receiving terminal, and call to forward and hold the interface service of registering, forwarding termination receives after request, the request msg of encrypting is decrypted, and parameter is resolved separated, parameter state when being reduced to request end and calling, the service interface of invocation target end registration after completing;
Step 5, destination end return results, and forward end and call after result, again login isolation end, and using the result of calling as transmission data, call isolation end data issuing interface; To receiving terminal, push and return results;
Step 6, receiving terminal receive after returning results of propelling movement, send to described request end to complete the transmission of data.
2. a kind of method that realizes transfer of data by WEB service channel according to claim 1, is characterized in that:
Described step 3 further comprises: after encryption, receiving terminal calls isolation end data and submits interface to, if isolation end returns to login-timeout, receiving terminal is login again again.
3. a kind of method that realizes transfer of data by WEB service channel according to claim 1, it is characterized in that: between described step 3 and step 4, further comprise: step 31, receiving terminal are carried out message management task simultaneously, safeguard the wait list of each request in receiving terminal.
4. a kind of method that realizes transfer of data by WEB service channel according to claim 1, is characterized in that: described transfer mode is divided into two kinds, and the first is Transfer Parameters in url, in post data, transmits data; The second is with xml form encapsulation parameter and data.
5. a kind of method that realizes transfer of data by WEB service channel according to claim 1, it is characterized in that: described step 6 is specially: receiving terminal receives after returning results of propelling movement, the context dependent returning results by the buffer memory key cachekey generating when receiving joins; Receiving terminal upgrades result corresponding to buffer memory key cachekey in buffer memory, and request end receives after the result update notification that buffer memory key cachekey is corresponding, obtains the value after renewal and returns results to request end.
CN201310552960.4A 2013-11-08 2013-11-08 Method using WEB service channel to achieve data transmission Pending CN103595714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310552960.4A CN103595714A (en) 2013-11-08 2013-11-08 Method using WEB service channel to achieve data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310552960.4A CN103595714A (en) 2013-11-08 2013-11-08 Method using WEB service channel to achieve data transmission

Publications (1)

Publication Number Publication Date
CN103595714A true CN103595714A (en) 2014-02-19

Family

ID=50085696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310552960.4A Pending CN103595714A (en) 2013-11-08 2013-11-08 Method using WEB service channel to achieve data transmission

Country Status (1)

Country Link
CN (1) CN103595714A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833500A (en) * 2018-05-29 2018-11-16 阿里巴巴集团控股有限公司 Service calling method, service providing method, data transferring method and server
CN112653656A (en) * 2019-10-12 2021-04-13 华为技术有限公司 Data communication method and device based on application layer protocol

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093691A1 (en) * 2001-11-13 2003-05-15 Reefedge, Inc., A Delaware Corporation Enabling secure communication in a clustered or distributed architecture
CN1662899A (en) * 2002-04-19 2005-08-31 计算机联合思想公司 Network service agent
CN1860761A (en) * 2003-06-05 2006-11-08 英特特拉斯特技术公司 Interoperable systems and methods for peer-to-peer service orchestration
CN101018259A (en) * 2006-02-08 2007-08-15 中国电信股份有限公司 Telecom integrated information system and method
CN101043512A (en) * 2006-03-21 2007-09-26 环达电脑(上海)有限公司 Electronic mail system
CN101304392A (en) * 2007-05-10 2008-11-12 中国传媒大学 Parallel application service gateway, system and method for medium asset management
US20090067440A1 (en) * 2007-09-07 2009-03-12 Chadda Sanjay Systems and Methods for Bridging a WAN Accelerator with a Security Gateway
US20110264905A1 (en) * 2010-04-21 2011-10-27 Michael Ovsiannikov Systems and methods for split proxying of ssl via wan appliances

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093691A1 (en) * 2001-11-13 2003-05-15 Reefedge, Inc., A Delaware Corporation Enabling secure communication in a clustered or distributed architecture
CN1662899A (en) * 2002-04-19 2005-08-31 计算机联合思想公司 Network service agent
CN1860761A (en) * 2003-06-05 2006-11-08 英特特拉斯特技术公司 Interoperable systems and methods for peer-to-peer service orchestration
CN101018259A (en) * 2006-02-08 2007-08-15 中国电信股份有限公司 Telecom integrated information system and method
CN101043512A (en) * 2006-03-21 2007-09-26 环达电脑(上海)有限公司 Electronic mail system
CN101304392A (en) * 2007-05-10 2008-11-12 中国传媒大学 Parallel application service gateway, system and method for medium asset management
US20090067440A1 (en) * 2007-09-07 2009-03-12 Chadda Sanjay Systems and Methods for Bridging a WAN Accelerator with a Security Gateway
US20110264905A1 (en) * 2010-04-21 2011-10-27 Michael Ovsiannikov Systems and methods for split proxying of ssl via wan appliances

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833500A (en) * 2018-05-29 2018-11-16 阿里巴巴集团控股有限公司 Service calling method, service providing method, data transferring method and server
CN108833500B (en) * 2018-05-29 2021-03-30 创新先进技术有限公司 Service calling method, service providing method, data transmission method and server
CN112653656A (en) * 2019-10-12 2021-04-13 华为技术有限公司 Data communication method and device based on application layer protocol
CN112653656B (en) * 2019-10-12 2022-06-07 华为云计算技术有限公司 Data communication method and device based on application layer protocol

Similar Documents

Publication Publication Date Title
US20230017740A1 (en) Electric Border Gateway Device and Method for Chaining and Storage of Sensing Data Based on the Same
CN103117983B (en) The method for designing of data service request answer method and data, services protocol stack
CN104967595B (en) The method and apparatus that equipment is registered in platform of internet of things
CN103039055B (en) Group security in machine type communication
CN101247407B (en) Network authentication service system and method
CN102624728B (en) Method and system for carrying out whole-network login authentication by utilizing registered website user information
Lai et al. Toward secure large-scale machine-to-machine comm unications in 3GPP networks: chall enges and solutions
CN102761864A (en) Data transmission method, system and device
Fu et al. A privacy‐preserving group authentication protocol for machine‐type communication in LTE/LTE‐A networks
CN113453175B (en) 5G message processing method and device, computer equipment and storage medium
CN103220292A (en) Cross-safe-area data transmission method and system
CN113765713A (en) Data interaction method based on Internet of things equipment acquisition
CN109905409A (en) Things-internet gateway real time bidirectional communication system based on Socket.IO
WO2014180407A1 (en) Pushing method and device therefor
WO2011131093A1 (en) Encryption communication method, apparatus and system
CN109714440A (en) For docking the Wi-Fi mould group and its interconnection method of multiple cloud platforms
CN111342952B (en) Safe and efficient quantum key service method and system
CN109842624A (en) A kind of interchanger security agency communication method and system
CN103856330A (en) Cluster group calling key distribution method based on asymmetric encryption system
Lai et al. AnyCharge: An IoT-based wireless charging service for the public
CN103595714A (en) Method using WEB service channel to achieve data transmission
CN109089299A (en) It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode
CN111064752B (en) Preset secret key sharing system and method based on public network
KR102219018B1 (en) Blockchain based data transmission method in internet of things
CN102137102A (en) Realizing method of service supporting platform for supporting multiclass information publishing modes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20170510