CN109450891A - A kind of private clound Saas service construction method - Google Patents

A kind of private clound Saas service construction method Download PDF

Info

Publication number
CN109450891A
CN109450891A CN201811304368.1A CN201811304368A CN109450891A CN 109450891 A CN109450891 A CN 109450891A CN 201811304368 A CN201811304368 A CN 201811304368A CN 109450891 A CN109450891 A CN 109450891A
Authority
CN
China
Prior art keywords
service
private clound
service process
application
access
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
CN201811304368.1A
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.)
Hangzhou Tongyi Technology Co Ltd
Original Assignee
Hangzhou Tongyi Technology 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 Hangzhou Tongyi Technology Co Ltd filed Critical Hangzhou Tongyi Technology Co Ltd
Priority to CN201811304368.1A priority Critical patent/CN109450891A/en
Publication of CN109450891A publication Critical patent/CN109450891A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of private clound Saas service construction methods, the following steps are included: (a) terminal is after public network access, the reception and distribution of request message, access service process is after receiving the request message of terminal, parse cloud packet header, according to the cloud header data of parsing, message is distributed to actual service processes and is handled.(b) access service is connected to a plurality of types of application service process, application service process realizes the processing and storage of business datum by establishing socket link.(c) after application service process is opened and data exchange service process establishes socket link, convenient for carrying out the business datum that acquisition other application takes process according to business between each application service process group.Multiple types of terminals of the invention facilitates access private clound, realizes distributed storage, while improving the response speed of entire privately owned cloud system, improves system effectiveness, monitor entire privately owned cloud system can, can analyze.

Description

A kind of private clound Saas service construction method
Technical field
The present invention relates to field of cloud computer technology, and in particular to a kind of private clound Saas service construction method.
Background technique
The private clound Saas service currently built, mostly uses greatly http agreement web services, it is difficult to support based on byte stream Customized Transmission Control Protocol and polymorphic type agreement converge use, generally to provide intermediate layer interface research and development and realize that polymorphic type is whole Terminate into, it is difficult to the response time for monitoring various requests and response, and distributed storage is difficult to realize, not only to hardware requirement Height, and the response speed of entire privately owned cloud system is influenced, system effectiveness is low.
Summary of the invention
In view of the above-mentioned deficiencies in the prior art, it is an object of the present invention to a kind of private clound Saas service construction method is provided, this The multiple types of terminals of invention facilitates access private clound, realizes distributed storage, while improving the response speed of entire privately owned cloud system Degree improves system effectiveness, monitor entire privately owned cloud system can, can analyze.
In order to solve the above-mentioned technical problem, it adopts the following technical scheme that
A kind of private clound Saas service construction method, it is characterised in that the following steps are included:
(a) terminal is after public network access, and the reception and distribution of request message, access service process is in the request for receiving terminal After message, cloud packet header is parsed, according to the cloud header data of parsing, message is distributed to actual service processes and is handled.
(b) access service is connected to a plurality of types of application service process, application service process by establishing socket link Realize the processing and storage of business datum.
(c) after application service process is opened and data exchange service process establishes socket link, is convenient for each application service The business datum that acquisition other application takes process is carried out according to business between process group.
Further, in the step (a), the access service process is to the sole inlet serviced outside private clound.
Further, in the step (b), each type application service is a service processes group, a service processes Group is made of multiple service processes, realizes the processing of the business datum of the type.
Further, in the step (b), each service processes can correspond to a physical server or multiple Service a corresponding physical server.
Further, customized Transmission Control Protocol and application layer of the private clound Saas service support based on byte stream Http protocol, File Transfer Protocol converge use.
As a result of the above technical solution, the following beneficial effects are obtained:
The present invention is a kind of private clound Saas service construction method, and multiple types of terminals of the invention facilitates access private clound, It realizes distributed storage, while improving the response speed of entire privately owned cloud system, improve system effectiveness, make entire privately owned cloud system It can monitor, can analyze.Specifically have the effect that
(1) by access service process, it is capable of the reception and response of real-time monitoring terminal message request.
(2) the processing response time of each request can be monitored in real time.
(3) the various states of each application service process can be monitored.
(4) distributed treatment and distributed storage of data are realized according to business datum.
(5) it can satisfy the different types of terminal access in multiple terminals.
(6) http agreement, the File Transfer Protocol etc. of the customized Transmission Control Protocol based on byte stream and application layer can be supported simultaneously Converge use.
Detailed description of the invention
The present invention will be further explained below with reference to the attached drawings:
Fig. 1 is the structural schematic diagram of loading configuration file after the unlatching of access service process in the present invention;
Fig. 2 is the structural schematic diagram for the request message that client is sent in the present invention;
Fig. 3 is access service progress feedback in the present invention to the structural schematic diagram of the response message of client;
Fig. 4 is the structural schematic diagram of application service process configuration file in the present invention;
Fig. 5 is a kind of 1 figure of link embodiment of the socket of private clound in the present invention;
Fig. 6 is a kind of 2 figure of link embodiment of the socket of private clound in the present invention.
Specific embodiment
In order to make the objectives, technical solutions and advantages of the present invention clearer, below by accompanying drawings and embodiments, to this Invention is further elaborated.However, it should be understood that the specific embodiments described herein are merely illustrative of the present invention, The range being not intended to restrict the invention.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to keep away Exempt from unnecessarily to obscure idea of the invention.
A kind of private clound Saas service construction method realizes the distributed storage of private clound data, it is characterised in that including Following steps:
(a) access of all types terminal must all access privately owned cloud system by access service process, access service into Journey is to the sole inlet serviced outside private clound, and all terminals are after public network access, the reception and distribution of request message, access clothes After receiving the request message of terminal, message is distributed to business process by parsing cloud packet header according to the cloud header data of parsing Actual service processes processing.
(b) access service is connected to a plurality of types of application service process, application service process by establishing socket link Realize the processing and storage of business datum.
(c) after application service process is opened and data exchange service process establishes socket link, is convenient for each application service The business datum that acquisition other application takes process is carried out according to business between process group.
Specifically, in the step (a), the access service process is to the sole inlet serviced outside private clound.
Specifically, in the step (b), each type application service is a service processes group, a service processes Group is made of multiple service processes, realizes the processing of the business datum of the type.
Specifically, in the step (b), each service processes can correspond to a physical server or multiple Service a corresponding physical server.
Specifically, the private clound Saas service support multiple types agreement converges use, the type protocol be based on The customized tcp agreement or http agreement, File Transfer Protocol of byte stream.
Specifically, referring to Fig. 1, after access service process is opened, loading configuration file,<system>configuration enters service prison Listen port numbers 31020, it is assumed that configuration foreground client connection pool is 2000, that is, at most can connect 2000 clients It holds,<service>Node deployment application service process, is configured with three application service process, first application service in example Process is configured with a service processes, and port numbers are 80,1 socket connection of Connection Pool Setting;Service processes group ID is 100; The ID of process is 101, and pre=" no " illustrates to establish the link when sending message, break link after having handled, and changes service processes offer Http protocol service;Second service processes is configured with two service processes, and ID is 200, and each process ID is 201 Hes respectively 202, port numbers are all 31222, and 5 socket connections of each process Connection Pool Setting, pre=" yes " access service process opens Socket connection is established when dynamic, if disconnected since network cause connects, detection and application clothes in access service process every five seconds clock The link channel of business process, it is known that until socket link can be re-established;Third service processes group is configured with three clothes Business process, ID are 300, and each process ID is 201,302 and 303 respectively, and the port numbers of each process are 31224, Mei Gejin Journey configuration connection pool all matches 5 connections, is similarly pre-established connection mechanism;After access service process initiation, loading configuration file, And application service process is connected according to the configuration of configuration file.
Specifically, the request message sent referring to Fig. 2, client, message are initiated with an integer, indicate that packet header is long Degree, followed by a short indicate application server identifier, if application server identifier is that group identifies, in the group All application service process will all receive the request of client, identified if it is a determining application service process, then Just only corresponding service identifiers will receive the request message of corresponding client.
Specifically, referring to Fig. 3, for access service progress feedback to the response message of client, the start of message (SOM) is an integer, Indicate entire message length, followed by a short, expression is the application service process quantity of response, if client request Application service mark be a determining application service mark ID, then the packet replied is 1, if the mark of client request Knowledge is the ID of an application service mark group, then the group has several application service process, then it is several for replying quantity just;Fig. 3 Middle return be 2 application service process response message.The specific format of each response message are as follows: the start of message (SOM) is one whole Type indicates the length of response bag, followed by a short indicates the ID of answer service process, followed by an INTEGER representation is answered The processing chronomere for answering service processes is microsecond, subsequent reply data byte stream packet.
Specifically, referring to Fig. 4, application service process configuration file,<system>node is the monitoring for configuring application process Port 31222, the IP of monitoring are 0.0.0.0, and application service process is identified as 101;<swap>Node deployment data exchange service The listening port 10245 of process, IP address 192.168.0.119.
Specifically, referring to Fig. 5, a kind of 1 figure of link embodiment of the socket of private clound is configured with three application clothes in figure Business process group, an access service process, a data exchange process, the beginning of arrow are the linking request end of socket, arrow The end of head is that socket monitors end, and application service process needs other application process numbers according to business when handling data According to by the data of data exchange process acquisition other application service, to be finally completed the processing and preservation of business datum.Access Service processes and data exchange service process do not have data buffer storage and database, and application service process configures oneself as needed Database saves data.
Specifically, referring to Fig. 6, a kind of 2 figure of link embodiment of the socket of private clound is configured with three application clothes in figure Business process group, an access service process, the beginning of arrow are the linking request end of socket, and the end of arrow is socket prison End is listened, application service process itself can handle the processing and preservation of finishing service data when handling data, after the completion of to be processed Directly return to public network.
The above is only specific embodiments of the present invention, but technical characteristic of the invention is not limited thereto.It is any with this hair Based on bright, to solve essentially identical technical problem, essentially identical technical effect is realized, made ground simple change, etc. With replacement or modification etc., all it is covered by among protection scope of the present invention.

Claims (5)

1. a kind of private clound Saas service construction method, it is characterised in that the following steps are included:
(a) terminal is after public network access, and the reception and distribution of request message, access service process is in the request message for receiving terminal Afterwards, cloud packet header is parsed, according to the cloud header data of parsing, message is distributed to actual service processes and is handled;
(b) access service is connected to a plurality of types of application service process, application service process is realized by establishing socket link The processing and storage of business datum;
(c) after application service process is opened and data exchange service process establishes socket link, is convenient for each application service process The business datum that acquisition other application takes process is carried out according to business between group.
2. a kind of private clound Saas service construction method according to claim 1, it is characterised in that: in the step (a) In, the access service process is to the sole inlet serviced outside private clound.
3. a kind of private clound Saas service construction method according to claim 1, it is characterised in that: in the step (b) In, each type application service is a service processes group, and a service processes group is made of multiple service processes, realizes such The processing of the business datum of type.
4. a kind of private clound Saas service construction method according to claim 1, it is characterised in that: in the step (b) In, each service processes can correspond to a physical server or the corresponding physical server of multiple services.
5. a kind of private clound Saas service construction method according to claim 1, it is characterised in that: the private clound Saas Http protocol, the File Transfer Protocol of customized Transmission Control Protocol and application layer of the service support based on byte stream converge use.
CN201811304368.1A 2018-11-04 2018-11-04 A kind of private clound Saas service construction method Pending CN109450891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811304368.1A CN109450891A (en) 2018-11-04 2018-11-04 A kind of private clound Saas service construction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811304368.1A CN109450891A (en) 2018-11-04 2018-11-04 A kind of private clound Saas service construction method

Publications (1)

Publication Number Publication Date
CN109450891A true CN109450891A (en) 2019-03-08

Family

ID=65550763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811304368.1A Pending CN109450891A (en) 2018-11-04 2018-11-04 A kind of private clound Saas service construction method

Country Status (1)

Country Link
CN (1) CN109450891A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN102571792A (en) * 2012-01-06 2012-07-11 西安润基投资控股有限公司 Identity authentication method allowing intelligent mobile wireless terminal to access cloud server
CN104104679A (en) * 2014-07-18 2014-10-15 四川中亚联邦科技有限公司 Data processing method based on private cloud
WO2015106264A1 (en) * 2014-01-13 2015-07-16 Transcirrus Automatic connection of nodes to a cloud cluster
CN106850832A (en) * 2017-03-01 2017-06-13 郑州云海信息技术有限公司 A kind of cloud management system based on micro services framework
CN106961429A (en) * 2017-03-15 2017-07-18 人和未来生物科技(长沙)有限公司 A kind of cooperating service method towards mixing cloud computing platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635635A (en) * 2009-08-25 2010-01-27 北京原力创新科技有限公司 Cloud mode streaming media service platform
CN102571792A (en) * 2012-01-06 2012-07-11 西安润基投资控股有限公司 Identity authentication method allowing intelligent mobile wireless terminal to access cloud server
WO2015106264A1 (en) * 2014-01-13 2015-07-16 Transcirrus Automatic connection of nodes to a cloud cluster
CN104104679A (en) * 2014-07-18 2014-10-15 四川中亚联邦科技有限公司 Data processing method based on private cloud
CN106850832A (en) * 2017-03-01 2017-06-13 郑州云海信息技术有限公司 A kind of cloud management system based on micro services framework
CN106961429A (en) * 2017-03-15 2017-07-18 人和未来生物科技(长沙)有限公司 A kind of cooperating service method towards mixing cloud computing platform

Similar Documents

Publication Publication Date Title
US7945676B2 (en) Processing requests transmitted using a first communication protocol directed to an application that uses a second communication protocol
JP5678198B2 (en) Mobile Internet service realization method, gateway, proxy and system
CN106533845A (en) Long-connection state monitoring method and device
WO2017054576A1 (en) Unicast tunnel building method, apparatus and system
US20050165885A1 (en) Method and apparatus for forwarding data packets addressed to a cluster servers
WO2018010616A1 (en) Link layer based network management
CN112787997A (en) Method for realizing intranet IP communication based on gateway serving as server side
CN103051724B (en) A kind of based on the long socket synchronous method connected
CN107529229A (en) The method of data transfer, apparatus and system
WO2013159492A1 (en) Method and system for reporting and downloading information
US7054321B1 (en) Tunneling ethernet
CN112968965A (en) Metadata service method, server and storage medium for NFV network node
CN109413120A (en) A kind of communication means and device, electronic equipment and server
CN107846609A (en) Control room real-time data transmission methods, devices and systems
CN109450891A (en) A kind of private clound Saas service construction method
WO2022148364A1 (en) Data sending method and apparatus, and method and system for establishing p2p connection
CN105188087A (en) Business communication method and system based on short message gateway
CN112311759B (en) Equipment connection switching method and system under hybrid network
CN112202795B (en) Data processing method, gateway equipment and medium
CN103516795B (en) Distributed network connectivity improving method and distributed network utilizing method
CN109684081B (en) Distribution processing method for load balancing in cluster
CN106878141A (en) A kind of instant communicating method based on msrp agreements
CN110505357A (en) A kind of management method of aerospace VOIP voice terminal
CN105721833B (en) A kind of society&#39;s monitoring resource access method and device
CN110098993A (en) A kind for the treatment of method and apparatus of signaling message

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: 20190308