Movatterモバイル変換


[0]ホーム

URL:


CN105376225A - Software-as-a-service method and device - Google Patents

Software-as-a-service method and device
Download PDF

Info

Publication number
CN105376225A
CN105376225ACN201510733849.4ACN201510733849ACN105376225ACN 105376225 ACN105376225 ACN 105376225ACN 201510733849 ACN201510733849 ACN 201510733849ACN 105376225 ACN105376225 ACN 105376225A
Authority
CN
China
Prior art keywords
service
described service
name
request
communications protocol
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.)
Granted
Application number
CN201510733849.4A
Other languages
Chinese (zh)
Other versions
CN105376225B (en
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.)
Asialnfo Technology (nanjing) Co Ltd
Original Assignee
Asialnfo Technology (nanjing) 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 Asialnfo Technology (nanjing) Co LtdfiledCriticalAsialnfo Technology (nanjing) Co Ltd
Priority to CN201510733849.4ApriorityCriticalpatent/CN105376225B/en
Publication of CN105376225ApublicationCriticalpatent/CN105376225A/en
Application grantedgrantedCritical
Publication of CN105376225BpublicationCriticalpatent/CN105376225B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the invention provides a software-as-a-service (SaaS) method and device, relating to the computer field, and can realize flexible service for a software product. The method comprises: a service referrer sending a service query request to a service registration center; the service referrer receiving the service query return sent by the service registration center; the service referrer analyzing the service query return according to a binary system communication protocol to obtain a service address and a service port corresponding to a service name; the service referrer sending a service invocation request to a service provider; the service referrer receiving the service the service invocation return sent by the service provider; and the service referrer analyzing the service invocation return according to the binary system communication protocol to obtain service contents corresponding to the service name and service descriptions. The SaaS method and device are used for software product service.

Description

A kind of method of software service and device
Technical field
The present invention relates to computer realm, particularly relate to a kind of method and device of software service.
Background technology
Along with the development of Internet technology, application software product is also thereupon constantly ripe.But, between the difference in functionality module of software product, interrelated degree is higher, difference in functionality intermodule interdepends, will have an impact to whole software product to the amendment of simple function, thus the difference in functionality module of software product is to software service evolution, propose the concept of the micro services to software product gradually, the difference in functionality module comprised by software product is split as multiple independently service software product, the micro services of software product also can be described as software service (English full name: Software-as-a-service, English abbreviation: SaaS).
In prior art, can adopt the service of web server (webservice) realization to software product, namely service software product allocation is in different web servers.Web server uses extend markup language (English full name: ExtensibleMarkupLanguage, English abbreviation: XML) as bearing protocol, although XML agreement itself has good readability, but, when carrying out transfer of data based on XML agreement between different service software products, the data volume of transmission is larger, wherein, major part is used to descriptive markup instead of data itself, the code of service software product is also very huge simultaneously, also relatively complicated in the process of testing service software product.Therefore, service flexibly cannot be realized to software product.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of software service, can realize service flexibly to software product.
For achieving the above object, the technical scheme that the embodiment of the present invention adopts is:
First aspect, provides a kind of method of software service, comprising:
Service person who quote sends service-seeking request to service register center; The service-seeking that described service person who quote receives the transmission of described service register center returns; Described service person who quote resolves described service-seeking according to described binary system communications protocol and returns, and obtains address of service corresponding to described Service name and serve port;
Described service person who quote sends service invocation request to ISP; The service call that described service person who quote receives described ISP transmission returns; Described service person who quote resolves described service call according to described binary system communications protocol and returns, and obtains described Service name and service content corresponding to described service describing.
In terms of existing technologies, the method of software service provided by the invention, first, service person who quote, namely need the client obtaining service, binary system communications protocol and service register center is adopted to carry out data interaction, acquisition can provide the address of the ISP of service, then, service person who quote adopts binary system communications protocol and ISP to carry out data interaction, obtain the content of service, and serve person who quote based on JAVA platform, thus service flexibly can be realized to software product.
Second aspect, provides a kind of method of software service, comprising:
Service register center receives the service-seeking request of serving person who quote and sending; Described service register center resolves described service-seeking request according to described binary system communications protocol, obtains described Service name; Described service register center obtains address of service corresponding to described Service name and serve port according to described Service name; Described service register center sends service-seeking to described service person who quote and returns.
In terms of existing technologies, the method of software service provided by the invention, first, service register center, namely store the server of service essential information, after receiving the service-seeking request of serving person who quote's transmission, resolve this service-seeking request according to binary system communications protocol and obtain Service name, the essential information of this service is obtained according to Service name, then, send service-seeking return to serving person who quote, and service register center is based on JAVA platform, thus service flexibly can be realized to software product.
In conjunction with second aspect, can in implementation in the first of second aspect, before described service register center receives and serves service-seeking request that person who quote sends, described method also comprises:
Described service register center receives the service issue request that ISP sends; Described service register center is resolved described service according to described binary system communications protocol and is issued request, obtains described Service name, described service describing, described address of service and described serve port; Described service register center stores described Service name, described service describing, described address of service and described serve port, sends service issue return to described ISP; Described service register center broadcasts described Service name and described service describing.
The third aspect, provides a kind of method of software service, comprising:
ISP receives the service invocation request of serving person who quote and sending; Described ISP resolves described service invocation request according to described binary system communications protocol, obtains described Service name and described service describing; Described ISP obtains described Service name and service content corresponding to described service describing according to described Service name and the inquiry of described service describing;
Described ISP sends service call to described service person who quote and returns.
In terms of existing technologies, the method of software service provided by the invention, first, ISP, namely store the server of service content, after receiving the service invocation request of serving person who quote's transmission, resolve this service invocation request according to binary system communications protocol and obtain Service name, the service content of this service is obtained according to Service name, then, send service call return to serving person who quote, and ISP is based on JAVA platform, thus service flexibly can be realized to software product.
In conjunction with the third aspect, can in implementation in the first of the third aspect, before described ISP receives and serves service invocation request that person who quote sends, described method also comprises:
Described ISP sends service to service register center and issues request, described service issue request comprises Service name, service describing, address of service and serve port, the form that request is issued in described service is the form of described binary system communications protocol, and the service issue receiving the transmission of described service register center returns.
Fourth aspect, provides one to serve person who quote, comprising:
Transmitting element, for sending service-seeking request to service register center;
Receiving element, the service-seeking sent for receiving described service register center returns;
Processing unit, returning for resolving described service-seeking according to described binary system communications protocol, obtaining address of service corresponding to described Service name and serve port;
Described transmitting element, also for sending service invocation request to ISP;
Described receiving element, the service call also sent for receiving described ISP returns;
Described processing unit, also returns for resolving described service call according to described binary system communications protocol, obtains described Service name and service content corresponding to described service describing.
5th aspect, provides a kind of service register center, comprising:
Receiving element, for receiving the service-seeking request of serving person who quote and sending;
Processing unit, for resolving described service-seeking request according to described binary system communications protocol, obtains described Service name and described service describing;
Described processing unit, also for obtaining address of service corresponding to described Service name and serve port according to described Service name;
Transmitting element, returns for sending service-seeking to described service person who quote.
In conjunction with the 5th aspect, the first in the 5th can in implementation,
Described receiving element, request is issued in the service also sent for receiving ISP;
Described processing unit, also issuing request for resolving described service according to described binary system communications protocol, obtaining described Service name, described service describing, described address of service and described serve port;
Described service register center also comprises:
Memory cell, for storing described Service name, described service describing, described address of service and described serve port;
Described transmitting element, also returns for sending service issue to described ISP;
Described transmitting element, also for broadcasting described Service name and described service describing.
6th aspect, provides a kind of ISP, comprising:
Receiving element, for receiving the service invocation request of serving person who quote and sending;
Processing unit, for resolving described service invocation request according to described binary system communications protocol, obtains described Service name and described service describing;
Described processing unit, also for obtaining described Service name and service content corresponding to described service describing according to described Service name and the inquiry of described service describing;
Transmitting element, also returns for sending service call to described service person who quote.
In conjunction with the 6th aspect, the first in the 6th can in implementation,
Described transmitting element, also issues request for sending service to service register center; Described receiving element, the service also sent for receiving described service register center is issued and is returned.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 provides a kind of network architecture schematic diagram for the embodiment of the present invention;
Fig. 2 provides a kind of client-side of the network architecture and the structural representation of server side for the embodiment of the present invention;
Fig. 3 provides a kind of head-coating structure schematic diagram of CEBO communications protocol for the embodiment of the present invention;
Fig. 4 provides a kind of inclusion texture schematic diagram of CEBO communications protocol for the embodiment of the present invention;
Fig. 5 provides the client-side of the another kind of network architecture and the structural representation of server side for the embodiment of the present invention;
Fig. 6 provides a kind of method flow diagram of software service for the embodiment of the present invention;
Fig. 7 provides the method flow diagram of another kind of software service for the embodiment of the present invention;
Fig. 8 provides one to serve person who quote's structural representation for the embodiment of the present invention;
Fig. 9 provides a kind of service register center structural representation for the embodiment of the present invention;
Figure 10 provides another kind of service register center structural representation for the embodiment of the present invention;
Figure 11 provides a kind of ISP's structural representation for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
General principle of the present invention is: based on JAVA platform between different service software products, adopts binary system communications protocol to carry out data interaction, thus can realize service flexibly to software product.
JAVA is a kind of object oriented program language can writing cross-platform program.
Describe embodiments of the present invention in detail below with reference to the accompanying drawings.
The rough schematic view wherein can applying the network architecture of the present invention is shown with reference to figure 1, Fig. 1.The network architecture can comprise client 10, server 11, server 12 and network 13.
Network 13 is in order at server 11, the medium providing communication link between server 12 and client 10.Network 13 can be internetworking protocol (English full name: InternetProtocol, English abbreviation: IP) network, can comprise various connection type, such as wired, wireless communication link or fiber optic cables etc.
Server 12 can be service register center, is provided with the server of service register center service software product, and this service software product comprises the Service name of multiple service, the service describing of this service, address of service and serve port.Service describing is the function of this service specifically for providing, and the content that can provide for user, such as, can provide the data bank of user profile.Address of service is for providing the address of the ISP of this service.Serve port is for providing the port of the ISP of this service.Service software product can be write by JAVA.
Server 11 can be ISP, is provided with the server of service provider servicesization software product, and this service software product comprises the particular content of service.Server 11 can store multiple service provider servicesization software product, and each service provider servicesization software product comprises concrete service content; Or server 11 can store a service provider servicesization software product, this service provider servicesization software product comprises multiple concrete service content, for user provides multiple service specifically.Service software product can be write by JAVA, C or C++.
Client 10 can be serve person who quote, is provided with the terminal equipment of serving person who quote's service software product, and this service software product comprises the Service name of service and the service describing of this service.Such as, the staff of business hall inquires about the client software of customer data.Client 10 can be desktop computer, notebook computer, mobile phone, personal digital assistant etc.Service software product can be write by JAVA, C or C++.Under client 10 may operate in JAVA operating system environment.Client 10 by the service software products application that it is installed, can visit server 12 via network 13, obtains the specific address of service corresponding to Service name, and visits server 11 via network 13, obtain concrete service.Should be appreciated that, the number of the server in Fig. 1, network and client is only schematic.According to realizing needs, Arbitrary Digit destination server, network and client can be had.
Embodiment 1
The client-side of the network architecture according to first embodiment of the invention and the structural representation of server side is shown with reference to figure 2, Fig. 2.
Particularly, as shown in Figure 2, serve person who quote 101 and be positioned at client 10, ISP 111 is arranged in server 11, and service register center 121 is arranged in server 12.ISP 111 sends service to service register center 121 and issues request, service register center 121 analysis service issues request, and information on services is stored into database, information on services comprises the Service name of service, service describing, address of service and serve port, and server 12 comprises database 122.Service register center 121 sends service issue to ISP 111 and returns.User can serve person who quote 101 and sends service-seeking request to the service register center 121 of server 12 by clicking, and service-seeking request comprises Service name, and this Service name is stored in the configuration file 102 of client 10.After receiving this service-seeking request, service register center 121 sends service-seeking return to serving person who quote 101, return corresponding information on services, service person who quote 101 sends service invocation request to ISP 111, ISP 111 sends service call return to serving person who quote 101, return corresponding service content, service content can be stored in database 112, and server 11 comprises database 112.Service register center 121, ISP 111 and serve the mutual based on binary system communications protocol of data between person who quote 101.
Binary system communications protocol is exactly a communication protocol, namely between communicating pair in order to collaborative work realizes information exchange, the rule that communication two party is followed jointly, principle is simple as much as possible to improve transfer rate, has safety transfer of data as much as possible correctly complete.Binary system communications protocol of the present invention can be coding criterion, to specify how all signalings and data pack or unpack, to code and decode and serializing.
Example, suppose that binary system communications protocol specified data handbag draws together data head, data length, data text and verification.It is interior as being AA44050102030405EA that packet comprises, and wherein, data head is AA44, and data length is 05, and data text is 0102030405, is verified as EA.If security request data is high, do not allow packet loss, retransmission mechanism can be added or add data recovering algorithms, add according to earlier data after verification and recover byte stream to recover data.
The invention provides a kind of CEBO binary system communications protocol, this CEBO binary system communications protocol comprises packet header and inclusion, and this CEBO communications protocol is binary system communications protocol.
Concrete, as shown in Figure 3, packet header (PackageHeader) comprising:
Length (LEN) field: for representing message entire length, namely packet header adds the length sum of inclusion, and this length (LEN) field is integer type (Integer), can be 4 fields.
Command Flags (CMD) field: for marking the thing that this communication will be done, this Command Flags (CMD) field is integer type (Integer), can be 4 fields.
Example, Command Flags is that 0x1 represents that request is issued in service, Command Flags is that 0x80000001 represents that service issue returns, Command Flags is that 0x2 represents service-seeking request, Command Flags is that 0x80000002 represents that service-seeking returns, Command Flags is that 0x3 represents service invocation request, and Command Flags is that 0x80000003 represents that service call returns.
Serial number (SEQ) field: for representing that each communication all has unique serial number, this serial number (SEQ) field is integer type (Integer), can be 4 fields.
Example, serial number field comprises:
SN [1]: source ID (SourceID) represents that different senders has different source ID, is integer type (Integer).
SN [2]: timestamp (Timestmp), takes from number of seconds till now from 1970-1-1, is integer type (Integer).
SN [3]: stored count (Count), each request adds one, makes zero, be integer type (Integer) after being incremented to maximum.
Communication type (TYP) field: for identifying the type of communication, this communication type (TYP) field is integer type (Integer), can be 4 fields.
Example, communication type is that 0x1 represents from service register center and sends, and communication type is that 0x2 represents from ISP and sends, and communication type is that 0x3 represents from serving person who quote and sends.
Return code (CODE) field: error coded, this return code (CODE) field is integer type (Integer), can be 4 fields.
Example, 0x0 ~ 0x99-CEBOcode may be used for the mistake representing platform self, and 0x100 ~ 0xFFFFFFFF-Transactioncode may be used for representing user-defined mistake.
Return code (CODE) field is that 0x0 represents that request processes successfully, return code (CODE) field is that 0x1 represents that request command is illegal, employ the order not in command list (CLIST), return code (CODE) field is that 0x2 represents that serial number is illegal, return code (CODE) field is that 0x3 represents that request type is illegal, return code (CODE) field is that 0x4 represents that request bag is illegal, message format is incorrect, and return code (CODE) field is that 0x99 represents system mistake.
Return information (MSG) field: for representing the concrete information content, being character string type (String), can be 255 fields.
It should be noted that, service issue return, service-seeking return with service call return messages in carry return code and return information, and service issue request, service-seeking request and service call request message in do not carry return code and return information.
As shown in Figure 4, inclusion (PackageBody) comprises multiple junior unit, each junior unit comprises the length (LEN) of this unit, type (TYP) and data (STR), and F represents a junior unit, and which junior unit F [1...N] represents.
F [1]-len field: for representing this elements field length, being integer type (Integer), can be 4 fields.
F [1]-TYP field: for representing the type of the data that this unit comprises, F [1]-TYP field is integer type (Integer), can be 4 fields.
F [1]-STR field: for representing data, random length (HEX), data can be just the service content that Service name, service describing, address of service, serve port and/or Service name correspondence are concrete.
In terms of existing technologies; based on JAVA platform between different service software product of the present invention; binary system communications protocol is adopted to carry out data interaction; therefore the functional module in software is achieved separates coupling; uncoupled realization further enhances the robustness of software; entirety can not be caused when simple function module goes wrong to occur exception or system crash simultaneously, thus service flexibly can be realized to software product.
Optionally, as shown in Figure 5, service register center, ISP and to serve person who quote can be an equipment, service register center, ISP and serve between person who quote and realize triangular data interaction by internal interface.
Embodiment 2
The embodiment of the present invention provides a kind of method of software service, as shown in Figure 6, comprising:
Step 201, ISP generate service and issue request.
Service issue request comprises service related information, and service related information comprises Service name, service describing, address of service and serve port.Service describing is the function of this service specifically for providing, and the content that can provide for user, such as, can provide the data bank of user profile.Address of service is for providing the address of the ISP of this service.Serve port is for providing the port of the ISP of this service.The weight of method that service provides and service can also be comprised further.The method that service provides can be increase newly, revise and Query Information etc.Because in whole service system, a service may exist many parts, such as may have three subscriber data inquiry services simultaneously, but the handling capacity of the identical process of service content is different, therefore can decide calling of whose process according to weight more.
Suppose service inquiry by name mobile client information database.Service describing is for providing name, sex, the Proprietary Information such as essential information and customer grade, client's set meal and client's telephone expenses such as age and occupation of each client for user.
ISP generates service based on CEBO binary system communications protocol and issues request, is converted to CEBO binary system communications protocol form by service related information.Service issue request comprises packet header and inclusion, and Command Flags (CMD) field in packet header is that 0x1 represents that request is issued in service, and communication type (TYP) field is that 0x2 represents from ISP and sends; Inclusion F [1]-TYP field comprises Service name, service describing, address of service and serve port.
Step 202, ISP send service to service register center and issue request.
Step 203, service register center receive the service issue request that ISP sends.
Step 204, service register center analysis service issue request, and the service related information that the service request of issuing comprises is stored into database.
Service register center analysis service is issued request and is obtained Service name, service describing, address of service and serve port.
Step 205, service register center send service issue to ISP and return.
Service issue returns and can comprise error code, or error code and error description.Request is issued in service register center success analysis service, obtain service related information, and stores service relevant information, represent that service is issued successfully, service register center sends service issue to ISP and returns, now service is issued and returned the error code comprised is 0, represents that service is issued successfully, does not have error description.Successful analysis service is not had to issue request in service register center, when not getting service related information, represent that service is issued unsuccessfully, service register center sends service issue to ISP and returns, now service is issued and returned the error code comprised is 1, represent that service is issued unsuccessfully, error description can be serve to exist.
Service register center generates service issue and returns, and the service of being about to is issued and returned the form being converted to CEBO binary system communications protocol.
Service issue returns and comprises packet header and inclusion, and Command Flags (CMD) field in packet header is 0x80000001, represents that service issue returns, and communication type (TYP) field is that 0x1 represents from service register center and sends.
Step 206, ISP receive service that service register center sends and issue and return.
Step 207, service register center broadcast service name.
Service register center can by network 13 to each service person who quote broadcast service name.
Embodiment 3
The embodiment of the present invention provides a kind of method of software service, as shown in Figure 7, comprising:
Step 301, serve person who quote and obtain service-seeking request.
User can click and serve person who quote's service software product, serves person who quote and gets service-seeking request.Service person who quote stores configuration file, and configuration file comprises the Service name of service register center broadcast.Service person who quote obtains the Service name of this service-seeking request from configuration file.Service-seeking request is converted to the form of CEBO binary system communications protocol by service person who quote.
Service-seeking request comprises packet header and inclusion, and Command Flags (CMD) field in packet header is that 0x2 represents service-seeking request, and communication type (TYP) field is that 0x3 represents from serving person who quote and sends; Inclusion F [1]-TYP field comprises Service name.
Step 302, serve person who quote and send service-seeking request to service register center.
Step 303, service register center receive the service-seeking request of serving person who quote and sending.
Step 304, service register center analysis service inquiry request, obtain Service name.
Service register center, according to CEBO binary system communications protocol analysis service inquiry request, obtains Service name
Step 305, service register center obtain other relevant informations corresponding to Service name.
Service register center, according to Service name and service describing Query Database, obtains address of service corresponding to this Service name and serve port.
Step 306, service register center send service-seeking return to serving person who quote.
Service register center generates service-seeking and returns, and this service-seeking returns and comprises Service name, service describing, address of service and serve port.Service-seeking is returned the form being converted to CEBO binary system communications protocol by service register center.
Service-seeking returns and comprises packet header and inclusion, and Command Flags (CMD) field in packet header is that 0x80000002 represents that service-seeking returns, and communication type (TYP) field is that 0x1 represents from service register center and sends.
Step 307, serve person who quote receive service register center send service-seeking return.
Step 308, serve person who quote's analysis service inquiry return.
Service person who quote returns according to the inquiry of CEBO binary system communications protocol analysis service, obtains Service name, service describing, address of service and serve port.
Step 309, serve person who quote and send service invocation request to ISP.
Service invocation request comprises Service name, service describing, address of service and serve port.Service invocation request is converted to the form of CEBO binary system communications protocol by service person who quote, sends service invocation request by asynchronous system to ISP.
Service invocation request comprises packet header and inclusion, and Command Flags (CMD) field in packet header is that 0x3 represents service invocation request, and communication type (TYP) field is that 0x3 represents from serving person who quote and sends; Inclusion F [1]-TYP field comprises Service name, service describing, address of service and serve port.
Step 310, ISP receive the service invocation request of serving person who quote and sending.
Step 311, ISP's analysis service call request.
ISP is according to CEBO binary system communications protocol analysis service call request, obtain to obtain Service name and service describing, inquire about particular content corresponding to this Service name according to Service name and service describing, call particular content corresponding to this Service name by the reflection technology of JAVA platform.
Step 312, ISP send service call return to serving person who quote.
Service call is returned the form being converted to CEBO binary system communications protocol by ISP, and sent service call by asynchronous system return to serving person who quote, service call returns and comprises particular content corresponding to Service name.
Service call returns and comprises packet header and inclusion, and Command Flags (CMD) field in packet header is that 0x80000003 represents that service call returns, and communication type (TYP) field is that 0x2 represents from ISP and sends.
Step 313, serve person who quote receive ISP send service call return.
Step 314, serve person who quote's analysis service and call and return.
Service person who quote calls according to CEBO binary system communications protocol analysis service and returns, and obtains Service name and service describing inquires about particular content corresponding to this Service name.
Embodiment 4
The embodiment of the present invention provides one to serve person who quote 40, as shown in Figure 8, comprising:
Transmitting element 401, for sending service-seeking request to service register center, described service-seeking request comprises Service name, and the form of described service-seeking request is the form of binary system communications protocol;
Receiving element 402, the service-seeking sent for receiving described service register center returns, described service-seeking returns and comprises address of service corresponding to described Service name and serve port, and the form that described service-seeking returns is the form of described binary system communications protocol;
Processing unit 403, returning for resolving described service-seeking according to described binary system communications protocol, obtaining address of service corresponding to described Service name and serve port;
Described transmitting element 401, also for sending service invocation request to ISP, described service invocation request comprises described Service name, described service describing, described address of service and described serve port, and the form of described service invocation request is the form of described binary system communications protocol;
Described receiving element 402, the service call also sent for receiving described ISP returns, described service call returns and comprises described Service name and service content corresponding to described service describing, and the form that described service call returns is the form of described binary system communications protocol;
Described processing unit 403, also returns for resolving described service call according to described binary system communications protocol, obtains described Service name and service content corresponding to described service describing.
In terms of existing technologies, the method of software service provided by the invention, first, service person who quote, namely need the client obtaining service, binary system communications protocol and service register center is adopted to carry out data interaction, acquisition can provide the address of the ISP of service, then, service person who quote adopts binary system communications protocol and ISP to carry out data interaction, obtain the content of service, and serve person who quote based on JAVA platform, thus service flexibly can be realized to software product.
Embodiment 5
The embodiment of the present invention provides a kind of service register center 50, as shown in Figure 9, comprising:
Receiving element 501, for receiving the service-seeking request of serving person who quote and sending, described service-seeking request comprises Service name, and the form of described service-seeking request is the form of binary system communications protocol;
Processing unit 502, for resolving described service-seeking request according to described binary system communications protocol, obtains described Service name;
Described processing unit 502, also for obtaining address of service corresponding to described Service name and serve port according to described Service name;
Transmitting element 503, return for sending service-seeking to described service person who quote, described service-seeking returns and comprises address of service corresponding to described Service name and serve port, and the form that described service-seeking returns is the form of described binary system communications protocol.
In terms of existing technologies, the method of software service provided by the invention, first, service register center, namely store the server of service essential information, after receiving the service-seeking request of serving person who quote's transmission, resolve this service-seeking request according to binary system communications protocol and obtain Service name, the essential information of this service is obtained according to Service name, then, send service-seeking return to serving person who quote, and service register center is based on JAVA platform, thus service flexibly can be realized to software product.
Described receiving element 501, request is issued in the service also sent for receiving ISP, described service issue request comprises Service name, service describing, address of service and serve port, and the form that the form of asking is described binary system communications protocol is issued in described service;
Described processing unit 502, also issuing request for resolving described service according to described binary system communications protocol, obtaining described Service name, described service describing, described address of service and described serve port;
As shown in Figure 10, described service register center also comprises:
Memory cell 504, for storing described Service name, described service describing, described address of service and described serve port;
Described transmitting element 503, also returns for sending service issue to described ISP;
Described transmitting element 503, also for broadcasting described Service name and described service describing.
Embodiment 6
The embodiment of the present invention provides a kind of ISP 60, as shown in figure 11, comprising:
Receiving element 601, for receiving the service invocation request of serving person who quote and sending, described service invocation request comprises Service name, service describing, address of service and serve port, and the form of described service invocation request is the form of binary system communications protocol;
Processing unit 602, for resolving described service invocation request according to described binary system communications protocol, obtains described Service name and described service describing;
Described processing unit 602, also for obtaining described Service name and service content corresponding to described service describing according to described Service name and the inquiry of described service describing;
Transmitting element 603, returns for sending service call to described service person who quote, and described service call returns and comprises described Service name and service content corresponding to described service describing, and the form that described service call returns is the form of described binary system communications protocol.
In terms of existing technologies, the method of software service provided by the invention, first, ISP, namely store the server of service content, after receiving the service invocation request of serving person who quote's transmission, resolve this service invocation request according to binary system communications protocol and obtain Service name, the service content of this service is obtained according to Service name, then, send service call return to serving person who quote, and ISP is based on JAVA platform, thus service flexibly can be realized to software product.
Described transmitting element 603, also issue request for sending service to service register center, described service issue request comprises Service name, service describing, address of service and serve port, and the form that the form of asking is described binary system communications protocol is issued in described service;
Described receiving element 601, the service also sent for receiving described service register center is issued and is returned.
It should be noted that, the receiving element described in the present invention can be interface circuit, and transmitting element can be interface circuit; In addition, also receiving element and transmitting element can be integrated formation transceiver interface.Processing unit can be processor.Processor described here can be a central processing unit (CentralProcessingUnit, CPU), or specific integrated circuit (ApplicationSpecificIntegratedCircuit, or be configured to implement one or more integrated circuits of the embodiment of the present invention ASIC).
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: read-only memory (English full name: Read-OnlyMemory, English abbreviation: ROM), random access memory (English full name: Random-AccessMemory, English abbreviation: RAM), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

CN201510733849.4A2015-11-022015-11-02A kind of method and device of software serviceActiveCN105376225B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510733849.4ACN105376225B (en)2015-11-022015-11-02A kind of method and device of software service

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510733849.4ACN105376225B (en)2015-11-022015-11-02A kind of method and device of software service

Publications (2)

Publication NumberPublication Date
CN105376225Atrue CN105376225A (en)2016-03-02
CN105376225B CN105376225B (en)2019-07-26

Family

ID=55378030

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510733849.4AActiveCN105376225B (en)2015-11-022015-11-02A kind of method and device of software service

Country Status (1)

CountryLink
CN (1)CN105376225B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106453288A (en)*2016-09-292017-02-22上海和付信息技术有限公司Asynchronous mode supporting distributed micro service framework system and implementation method thereof
CN106993023A (en)*2017-03-012017-07-28北京交通大学Distributed transaction solution under micro services framework
CN107317830A (en)*2016-04-262017-11-03中兴通讯股份有限公司A kind of processing method and processing device of service discovery
CN107612955A (en)*2016-07-122018-01-19深圳市远行科技股份有限公司Micro services provide method, apparatus and system
CN108650262A (en)*2018-05-092018-10-12聚龙股份有限公司A kind of cloud platform extended method and system based on micro services framework
CN109034743A (en)*2018-07-202018-12-18中软信息系统工程有限公司Crowd's wound development approach, system and device
CN109862051A (en)*2017-11-302019-06-07亿阳信通股份有限公司The realization method and system of multi-tenant under a kind of micro services framework
CN110380936A (en)*2019-07-232019-10-25中国工商银行股份有限公司Test method and device
CN111193720A (en)*2019-12-162020-05-22中国电子科技集团公司第三十研究所Trust service adaptation method based on security agent
CN113515608A (en)*2021-06-152021-10-19微梦创科网络科技(中国)有限公司Intelligent working method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101072116A (en)*2007-04-282007-11-14华为技术有限公司Service selecting method, device, system and client end application server
US20110096762A1 (en)*2008-03-242011-04-28Shoretel, Inc.Cloud voip system with bypass for ip media
CN102821149A (en)*2012-08-032012-12-12中国联合网络通信集团有限公司Method and device for selecting service providing entity
CN102855538A (en)*2011-06-172013-01-02国际商业机器公司Dynamic application adaptation in software-as-a-service platform
CN102918811A (en)*2010-05-112013-02-06知惠创出株式会社 Two-way communication system and server device for the system
CN103124983A (en)*2010-09-212013-05-29电子湾有限公司Providing a marketplace for software services
CN103391294A (en)*2013-07-242013-11-13佳都新太科技股份有限公司Remote method invocation based on service description
CN104541246A (en)*2012-09-072015-04-22甲骨文国际公司 System and method for providing a service management engine for use in a cloud computing environment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101072116A (en)*2007-04-282007-11-14华为技术有限公司Service selecting method, device, system and client end application server
US20110096762A1 (en)*2008-03-242011-04-28Shoretel, Inc.Cloud voip system with bypass for ip media
CN102918811A (en)*2010-05-112013-02-06知惠创出株式会社 Two-way communication system and server device for the system
CN103124983A (en)*2010-09-212013-05-29电子湾有限公司Providing a marketplace for software services
CN102855538A (en)*2011-06-172013-01-02国际商业机器公司Dynamic application adaptation in software-as-a-service platform
CN102821149A (en)*2012-08-032012-12-12中国联合网络通信集团有限公司Method and device for selecting service providing entity
CN104541246A (en)*2012-09-072015-04-22甲骨文国际公司 System and method for providing a service management engine for use in a cloud computing environment
CN103391294A (en)*2013-07-242013-11-13佳都新太科技股份有限公司Remote method invocation based on service description

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107317830B (en)*2016-04-262021-05-18中兴通讯股份有限公司 Method and device for processing service discovery
CN107317830A (en)*2016-04-262017-11-03中兴通讯股份有限公司A kind of processing method and processing device of service discovery
CN107612955A (en)*2016-07-122018-01-19深圳市远行科技股份有限公司Micro services provide method, apparatus and system
CN106453288B (en)*2016-09-292019-06-04上海和付信息技术有限公司A kind of distributed micro services frame system that supporting asynchronous mode and its implementation
CN106453288A (en)*2016-09-292017-02-22上海和付信息技术有限公司Asynchronous mode supporting distributed micro service framework system and implementation method thereof
CN106993023A (en)*2017-03-012017-07-28北京交通大学Distributed transaction solution under micro services framework
CN109862051A (en)*2017-11-302019-06-07亿阳信通股份有限公司The realization method and system of multi-tenant under a kind of micro services framework
CN108650262A (en)*2018-05-092018-10-12聚龙股份有限公司A kind of cloud platform extended method and system based on micro services framework
CN108650262B (en)*2018-05-092020-12-01聚龙股份有限公司Cloud platform expansion method and system based on micro-service architecture
CN109034743A (en)*2018-07-202018-12-18中软信息系统工程有限公司Crowd's wound development approach, system and device
CN110380936A (en)*2019-07-232019-10-25中国工商银行股份有限公司Test method and device
CN110380936B (en)*2019-07-232021-05-14中国工商银行股份有限公司Test method and device
CN111193720A (en)*2019-12-162020-05-22中国电子科技集团公司第三十研究所Trust service adaptation method based on security agent
CN113515608A (en)*2021-06-152021-10-19微梦创科网络科技(中国)有限公司Intelligent working method and system

Also Published As

Publication numberPublication date
CN105376225B (en)2019-07-26

Similar Documents

PublicationPublication DateTitle
CN105376225A (en)Software-as-a-service method and device
CN101375264B (en)Techniques for accounting for multiple transactions in a transport control protocol (TCP) payload
US20040186883A1 (en)Method and apparatus for interfacing web services with mobile terminal applications during a browser or SIP session
CN106657149B (en)Communication protocol conversion method and device
CN101729491B (en)Method, device and system for enhancing application reliability of script-based business
CN110719221B (en)Instant messaging method, device, equipment and storage medium
CN111988418B (en)Data processing method, device, equipment and computer readable storage medium
CN109660451A (en)A kind of method, apparatus and messaging system sending message
US10257671B2 (en)System and method of creating and providing SMS HTTP tagging
CN109922148B (en)Cross-platform service method, device and system
CN107040613A (en)A kind of message transmitting method and system
CN111049813B (en)Message assembling method, message analyzing method, message assembling device, message analyzing device and storage medium
CN114301988B (en) Distributed calling method, device, storage medium and electronic device
KR100738040B1 (en) How to provide API of open mobile business support system
CN108650170A (en)A kind of display methods and device of information
CN108600255A (en)Mock service management method, device, computer equipment and storage medium
CN111400066B (en)Message distribution method and device
CN108040000B (en)A kind of information transferring method and equipment
CN113709177B (en)Method for processing message and external call gateway
JP2003058461A (en)Method and system for transmitting/receiving contents for inputting information
US8176129B2 (en)System and method of sending compressed html messages over telephony protocol
CN113691584A (en)Data transmission method, device and network bridge
CN102891837A (en)Information conversion processing method, bridging device and communication system
CN113347460B (en)Live broadcast system building platform and message transmission method
CN116033023B (en) Data communication method, device, electronic device and storage medium based on blockchain

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp