CN107196954A - A kind of service access method, apparatus and system - Google Patents
A kind of service access method, apparatus and system Download PDFInfo
- Publication number
- CN107196954A CN107196954A CN201710451026.1A CN201710451026A CN107196954A CN 107196954 A CN107196954 A CN 107196954A CN 201710451026 A CN201710451026 A CN 201710451026A CN 107196954 A CN107196954 A CN 107196954A
- Authority
- CN
- China
- Prior art keywords
- application server
- provider
- service
- consumer
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention discloses a kind of service access method, apparatus and system, and this method includes:Consumer's application server sends the request for the service on provider's application server of subscribing to configuration center;Consumer's application server receives the authentication result that the configuration center is sent, the authentication result is that provider's application server is authenticated generating afterwards to the request, for indicating whether consumer's application server has the authority for accessing the service;When consumer's application server is determined with the authority for accessing the service according to the authentication result, the service on provider's application server is accessed, this method can realize the communication for service problem between heterogeneous system.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of service access method, apparatus and system.
Background technology
As enterprise continues to develop, enterprises system is more and more, and the interaction between system is also more and more frequent, different
System is not only internal, while also externally providing service, different systems is external each via definition exchange format and communication rule
Service is provided, causes the interactive mode between different system more and more, interface specification document also along with variation and is difficult to manage
Solution, some of public basic modules, such as:Interface format definition, communication modes, log recording can not obtain unified definition and
Specification.
In order to solve the interaction problems between system, the present invention provides a kind of service access system, it is possible to achieve heterogeneous system
Between communication issue.
The content of the invention
The embodiment of the present invention provides a kind of service access method, apparatus and system, realizes the communication issue between heterogeneous system.
The inventive method includes a kind of service access method, and this method includes:
Consumer's application server sends the request for the service on provider's application server of subscribing to configuration center;
Consumer's application server receives the authentication result that the configuration center is sent, and the authentication result is described
Provider's application server is authenticated what is generated afterwards to the request, for whether indicating consumer's application server
With the authority for accessing the service;Consumer's application server determines to have according to the authentication result accesses the clothes
During the authority of business, the service on provider's application server is accessed.
Based on same inventive concept, the embodiment of the present invention provides a kind of server, including:
Transmitting element, the request for sending the service on provider's application server of subscribing to configuration center;
Receiving unit, for receiving the authentication result that the configuration center is sent, the authentication result is the provider
Application server is authenticated what is generated afterwards to the request, is visited for indicating whether consumer's application server has
Ask the authority of the service;
Access unit, during for being determined according to the authentication result with the authority for accessing the service, is carried described in access
The service on supplier's application server.
In addition, the embodiment of the present invention also provides a kind of service access system, the system includes:Consumer's application server,
Configuration center, provider's application server;
Consumer's application server, for sending the service subscribed on provider's application server to configuration center
Request;
The configuration center, for the request to be sent to provider's application server;
Provider's application server, for being authenticated according to the request to consumer's application server,
And send the authentication result of generation to the configuration center, the authentication result is used to indicate consumer's application server
Whether there is the authority for accessing the service;
The configuration center, is additionally operable to send the authentication result to consumer's application server;
Consumer's application server, is additionally operable to be determined with the authority for accessing the service according to the authentication result
When, access the service on provider's application server.
By configuration center in the embodiment of the present invention, the configuration center passes through Standard Interface lattice as a serviceization platform
Formula, defines the data interactive mode of each inter-module.Specifically, provider's application server of service is in advance the machine of oneself
Device information and the service registration provided to configuration center, then consumer's application server is in access provider's application server
, it is necessary to first complete certification on configuration center before service on (i.e. provider's application server), i.e., sent to configuration center
The request of the service on provider's application server is subscribed to, configuration center is sent to the result of certification, consumer's application service
Device certification by when, the service on provider's application server could be accessed, this way it is possible to realize consumer should
Interacted with the service in the service on server and provider's application server by configuration center, so as to realize isomery system
Communication issue between system.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of access system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 accesses interaction schematic diagram for a kind of heterogeneous system provided in an embodiment of the present invention;
Fig. 3 is a kind of service access method schematic flow sheet one provided in an embodiment of the present invention;
Fig. 4 is a kind of streaming data packet protocol schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of principle schematic of multiplexed port provided in an embodiment of the present invention;
Fig. 6 is a kind of service access method schematic flow sheet two provided in an embodiment of the present invention;
Fig. 7 is a kind of service access method schematic flow sheet three provided in an embodiment of the present invention;
Fig. 8 is a kind of access mechanism schematic diagram provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step it is described in detail, it is clear that described embodiment is only embodiment of the invention a part of, rather than whole implementation
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of service access system, and the system includes:In consumer's application server, configuration
The heart, provider's application server;Wherein:
Consumer's application server, asking for the service on subscription provider's application server is sent to configuration center
Ask;
The configuration center, the request is sent to provider's application server;
Provider's application server, is authenticated according to the request to consumer's application server, and will
The authentication result of generation is sent to the configuration center, and the authentication result is used for whether indicating consumer's application server
With the authority for accessing the service;
The configuration center, the authentication result is sent to consumer's application server;
Consumer's application server, certification by when, access the service on provider's application server.
Specifically, as shown in figure 1, in the system shown in figure 1, consumer's application server is Consumer-App places
Server be server where Provider-App, configuration center and DNA consoles there is provided square application server
(Design and Architect platform, serviceization platform).Wherein, the function declaration of system components is as follows:
1.DNA consoles:The main issue for being responsible for service, subscription, examination & verification and supplier's management, and timing is flat from big data
Platform forms form after obtaining the data message reported, statistical summaries.The developing instrument of DNA consoles is DNA-SDK, is supported at present
Java and C++, the api interface that developer is provided by SDK with release quickly service or can call the clothes of other components
Business.
2. configuration center:It is main to be responsible for collecting the address information that supplier reports, and the user configuring in DNA consoles
The machine specified is pushed to, supports sdn or http two ways to push configuration at present.
3. big data platform:The collection of main responsible daily record data and alarm data, is to carry out log analysis sum in the later stage
Basis is provided according to statistics.
The interaction of each component of said system is as shown in Fig. 2 comprise the following steps that:
Step a, registration service information:The service that provider's application server is externally provided needs configuration center to be stepped on
Note, main register information has the interface format that Apply Names, service name, version number, and upload service are defined.
Step b, application subscription service:Consumer's application server signs in configuration center, selects to need from configuration center
The service registered using provider's application server, then the user of consumer's application server fill in certain service subscription Shen
Please be single, the request of the service on provider's application server is subscribed in the generation of consumer's application server.
Step c, the subscription for auditing consumer:Provider's application server has the right to decide whether by consumer's application service
The service subscription request of device, and limit the IP address of consumer's access.
Step d, issue supplier's information:The address of service of oneself is published to configuration center by provider's application server,
And configuration center monitors the state of provider's application by heartbeat message in real time, service heartbeat is lost after a period of time, configured
Center can actively reject provider's application server without heartbeat.
Step e, pull configuration information:The authorization message for the service that configuration center subscribes to consumer's application server, carry
Generation configuration information is saved in locally after the address information of supplier's application server is integrated.
Step f, call service:The instrument that consumer's application server is provided by serviceization platform, according to from step e's
Configuration information, can directly access the service that provider's application server is provided.
For the processing procedure of each component being described more fully in the system in Fig. 1 and Fig. 2, the embodiment of the present invention
It is described respectively from consumer's application server side, supplier's application server side and configuration center side.
As shown in figure 3, the embodiment of the present invention provides a kind of service access method schematic flow sheet, specifically implementation method bag
Include:
S101, consumer's application server sends asking for the service on subscription provider's application server to configuration center
Ask.
S102, consumer's application server receives the authentication result that the configuration center is sent, the authentication result
Provider's application server is authenticated generating afterwards to the request, for indicating consumer's application service
Whether device has the authority for accessing the service;Consumer's application server is determined to have and accessed according to the authentication result
During the authority of the service, the service on provider's application server is accessed.
In above-mentioned steps, consumer's application server is that consumer's application server is carried there is provided square application server
Supplier's application server.That is, consumer's application server will access the service of provider's application server, it is necessary to first
Complete to subscribe to, that is, can basis there is provided square application server by being serviced on configuration center subscription provider's application server
Authorization message is authenticated to subscribing to request, and only certification from configuration center by that can obtain provider's application server
Destination address, access request can be sent to provider's application server, and then service is got.
Further, if the destination address of provider's application server is changed, consumer's application server can be with
Configuration file is obtained from the configuration center, the configuration file includes the destination address of provider's application server
The first destination address after changing, and according to first destination address, access on provider's application server
The service.
Specifically, it is assumed that provider's application service is that SaaS (Software-as-a-service, software is service) should
With server, the process of the destination address synchronized update of SaaS application servers is as follows:
The corresponding user of step a, SaaS application server registers consumer at configuration management center by console and carried
The machine address information of donor.
Step b, after the startup of SaaS application servers, by call SDK (Software Development Kit, it is soft
Part development kit) IP address of oneself machine is reported to configuration center by plug-in unit.
When step c, configuration center find that SaaS application server address changes, matching somebody with somebody for consumer is regenerated in time
Confidence ceases, by searching the association machine list being configured, active push configuration data to consumer's application server.
Step d, consumer's application server directly monitor the configuration file of local machine, have generation in discovery configuration file
New configuration file is loaded at once during change, SaaS servers are accessed using the destination address of new configuration file.
Answered it should be noted that consumer's application server successively may access SaaS using the destination address previously remembered
With server, if finding to access failure, the newest mesh of provider's application server just can be further obtained from configuration file
Address information, the purpose for the arrangement is that avoiding consumer's application server from repeatedly reading configuration file, improve access
Efficiency.
In addition, if certification is not over configuration center can send authentification failure to consumer's application server
Authentication result, if certification passes through, configuration center can to consumer's application server send the successful certification of certification
As a result.
Further, daily record of the consumer's application server generation on accessing provider's application server,
And send the daily record to big data platform.
Further, the embodiment of the present invention further provides a kind of multiplexed port logic, consumer's application service
Device sends service access request by the unified port on provider's application server to provider's application server
Message, wherein, the head in the service access request message includes protocol-identifier, and the protocol-identifier is used to indicate described carry
Supplier's application server is parsed using default parsing strategy to the packet, if the protocol-identifier includes encryption
Mark, it indicates that default parsing strategy is encryption stream protocol;If the protocol-identifier includes HTTP http heads
Portion is identified, it indicates that default parsing strategy is http management agreements;If the packet is identified without head, it indicates that default
Parsing strategy is common stream protocol.That is, in the TCP self-defined stream communications protocol in upper strata, supporting a variety of not appositions
The packet simultaneous communications of formula, can be RPC packet communications, data flow communication, http consoles are accessed, SSL encryption is communicated
Integrate, it is not necessary to provide single port, different associations of such consumer in selection supplier for different communication types
Supplier's access port need not be reselected during view, facilitates client to switch different agreement.That is, for different-format
Packet there is corresponding data packet head to make a distinction.
Therefore, when consumer's application server sends streaming data bag to provider's application server,
Because the streaming data bag includes flow data mark, provider's application server can use default streaming
Agreement carries out resolution flow transmission packet, until reading what is generated during the flow data end mark in the streaming data bag
The data for the service to be provided.
Wherein, in streaming data package definition, using special header byte 0A8, the beginning for representing packet.Such as
Shown in Fig. 4, if the data of sender are after SSL encryption, the several bytes in the specific heads of SSL can be produced, these bytes have
Not in specific 0A8 heads, whether data are decrypted so recipient can distinguish according to head, so as to reach multiplexed port
Effect.
Further, the flow chart that the embodiment of the present invention is further provided shown in Fig. 5 illustrates the principle of multiplexed port, tool
Body is as follows:
S201, consumer's application server sends access request message to provider's application server.
S202 is monitored there is provided square application server end and asked, according to the header byte for receiving request, according to data content
Carry out judgement type of data packet.
If step 203 judges that request bag contains encryption overhead there is provided square application server, walk stream encryption agreement and solved
It is close, terminate until reading after the end identifier of stream.
Step 204 judges there is provided square application server if RPC (Remote Procedure Call Protocol,
Remote procedure call protocol) request, then service that request accesses is directly transmitted to consumer's application server.
Step 205, it is decrypted if do not encrypted there is provided square application server using common stream protocol, after decryption
Two application servers send service that request accesses to consumer's application server.
Step 206, packet header is http heads, then walks sdk http console management agreements.
, can completely as needed for correspondence consumer's application server, selection data are connected to clothes after whether encrypting
Business device end, it is not necessary to require in addition that SaaS application servers end provides the SSL whole ciphering process of monitoring service either to clothes
Business device end, or client is all transparent.
Based on identical technical concept, the embodiment of the present invention provides a kind of service access side from provider's application server side
Method schematic flow sheet, shown in Figure 6, specifically implementation method includes:
S301, provider's application server receives subscription provider's application service that the configuration center is sent
The request of service on device, the request is the request that consumer's application server that the configuration center is received is sent;
S302, provider's application server is authenticated to the request, and sends certification to the configuration center
As a result, the authentication result is used to indicate whether consumer's application server has the authority for accessing the service;
S303, provider's application server receives the service access request that consumer's application server is sent,
And the service is sent to consumer's application server, the service access request is that consumer's application server is true
The fixed authentication result is sent when being certification success.
Further, provider's application server is to the configuration center send configuration file, the configuration file bag
Include provider's application server destination address change after the first destination address;
Provider's application server receives consumer's application server and sent according to first destination address
Service access request.
Further, provider's application server is corresponding to the service access request using default parsing strategy
Message parsed, wherein, head in the message includes protocol-identifier, and the protocol-identifier is used to indicate the offer
Square application server is parsed using default parsing strategy to the packet, if the protocol-identifier includes encryption mark
Know, it indicates that default parsing strategy is encryption stream protocol;If the protocol-identifier includes HTTP http heads
Mark, it indicates that default parsing strategy is http management agreements;If the packet is identified without head, it indicates that default solution
Analysis strategy is common stream protocol.
Because the action performed by configuration center is corresponding with the above method, therefore here, specific interaction is repeated no more.
Based on identical technical concept, the embodiment of the present invention provides a kind of service access method flow from configuration center side and shown
It is intended to, shown in Figure 7, specifically implementation method includes:
S401, configuration center receives the service subscribed on provider's application server that consumer's application server is sent
Request;
S402, the configuration center sends authentication result to consumer's application server, and the authentication result is institute
State provider's application server and what is generated afterwards is authenticated to the request, for indicating that consumer's application server is
It is no that there is the authority for accessing the service.
Further, the configuration center receives the configuration file that provider's application server is sent, the configuration text
The destination address of part including provider's application server change after the first destination address;
The configuration center receives the request for the acquisition configuration file that consumer's application server is sent, and will be described
Configuration file is sent to consumer's application server, so that consumer's application server is according in the configuration file
The first destination address access provider's application server.
In addition, the configuration center determines not receiving the heart that provider's application server is sent in setting duration
When jumping message, it is determined that provider's application server breaks down, and stop and provider's application server communication.
So contribute to recognize the provider's application server broken down.
Based on identical technical concept, the embodiment of the present invention also provides a kind of server, and the server can perform above-mentioned disappear
Embodiment of the method performed by the side of expense application server side.Server provided in an embodiment of the present invention as shown in figure 8, including:Hair
Send unit 401, receiving unit 402, access unit 403, wherein:
Transmitting element 401, the request for sending the service on provider's application server of subscribing to configuration center;
Receiving unit 402, for receiving the authentication result that the configuration center is sent, the authentication result is the offer
Square application server is authenticated what is generated afterwards to the request, for indicating whether consumer's application server has
Access the authority of the service;
Access unit 403, during for determining according to the authentication result with the authority for accessing the service, accesses described
The service on provider's application server.
Further also include there is provided square application server:Registration unit 404, on provider's application server
Described service is registered to configuration center, and the address of service that register information includes provider's application server is believed
Breath, and periodically send message to configuration center.
Further, consumer's application server also includes:Also include:Acquiring unit 405, for from the configuration center
Upper acquisition configuration file, the configuration file include provider's application server address of service change after
One destination address;
The access unit 403 specifically for:According to first destination address, provider's application server is accessed
On the service.
Further, the access unit 403 specifically for:Pass through the unified port on provider's application server
Service access request message is sent to provider's application server, wherein, the head in the service access request message
Including protocol-identifier, the protocol-identifier is used to indicate provider's application server using default parsing strategy to described
Packet is parsed, if the protocol-identifier includes encryption identification, it indicates that default parsing strategy is encryption stream protocol;
If the protocol-identifier is identified including HTTP http heads, it indicates that default parsing strategy manages association for http
View;If the packet is identified without head, it indicates that default parsing strategy is common stream protocol.
Further, the server also includes generation unit 406, for generating on accessing provider's application clothes
The daily record of business device, and the daily record is sent to data management server.
Further, configuration center also includes deleting unit 407, for being judged according to the message information periodically sent
Whether the provider application server is deleted.
In summary, by increasing a configuration center newly in the embodiment of the present invention, the configuration center is used as a serviceization
Platform defines the data interactive mode of each inter-module by Standard Interface form.Specifically, provider's server of service
In advance the machine information of oneself and the service registration configuration center provided, then consumer's application server is that consumer should
With before service of the server on provider's server (i.e. provider's application server) is accessed, it is necessary to which elder generation is on configuration center
Certification is completed, i.e., the request for the service on provider's application server of subscribing to is sent to configuration center, configuration center is sent to
Authentication result, the certification of consumer's application server by when, access the service on provider's application server, this
Sample, it is possible to realize that consumer's application server and provider's server are all interacted using configuration center, so as to realize different
Communication for service problem between construction system.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (13)
1. a kind of service access method, it is characterised in that this method includes:
Consumer's application server sends the request for the service on provider's application server of subscribing to configuration center;
Consumer's application server receives the authentication result that the configuration center is sent, and the authentication result is the offer
Square application server is authenticated what is generated afterwards to the request, for indicating whether consumer's application server has
Access the authority of the service;Consumer's application server is determined with the access service according to the authentication result
During authority, the service on provider's application server is accessed.
2. the method as described in claim 1, it is characterised in that provider described in consumer's application server access applies
Before the service on server, in addition to:
The service on provider's application server is registered to configuration center, and register information is applied including the provider
The address of service information of server, and periodically send message to configuration center.
3. method as claimed in claim 2, it is characterised in that provider described in consumer's application server access applies
Before the service on server, in addition to:
Consumer's application server obtains configuration file from the configuration center, and the configuration file includes described carry
The address of service of supplier's application server change after the first destination address;
The service described in consumer's application server access on provider's application server, including:
Consumer's application server accesses described on provider's application server according to first destination address
Service.
4. method as claimed in claim 1 or 2, it is characterised in that provider described in consumer's application server access
The service on application server, including:
Consumer's application server is applied by the unified port on provider's application server to the provider
Server sends service access request message, wherein, the head in the service access request message includes protocol-identifier, described
Protocol-identifier is used to indicate that provider's application server parses the packet using default parsing strategy, if
The protocol-identifier includes encryption identification, it indicates that default parsing strategy is encryption stream protocol;If the protocol-identifier bag
Include HTTP http heads mark, it indicates that default parsing strategy is http management agreements;If the packet
Without head mark, it indicates that default parsing strategy is common stream protocol.
5. method as claimed in claim 1 or 2, it is characterised in that provider described in consumer's application server access
After the service on application server, in addition to:
Consumer's application server generation sends out the daily record on accessing the daily record of provider's application server
Deliver to data management server.
6. method as claimed in claim 2, it is characterised in that the configuration center is according to the message information periodically sent
Determine whether to delete provider's application server.
7. a kind of service access system, it is characterised in that the system includes:Consumer's application server, configuration center, provider
Application server;
Consumer's application server, for sending asking for the service subscribed on provider's application server to configuration center
Ask;
The configuration center, for the request to be sent to provider's application server;
Provider's application server, for being authenticated according to the request to consumer's application server, and will
The authentication result of generation is sent to the configuration center, and the authentication result is used for whether indicating consumer's application server
With the authority for accessing the service;
The configuration center, is additionally operable to send the authentication result to consumer's application server;
Consumer's application server, when being additionally operable to be determined with the authority for accessing the service according to the authentication result,
Access the service on provider's application server.
8. a kind of server, it is characterised in that including:
Transmitting element, the request for sending the service on provider's application server of subscribing to configuration center;
Receiving unit, for receiving the authentication result that the configuration center is sent, the authentication result is provider's application
Server is authenticated what is generated afterwards to the request, and institute is accessed for indicating whether consumer's application server has
State the authority of service;
Access unit, during for determining according to the authentication result with the authority for accessing the service, accesses the provider
The service on application server.
9. server as claimed in claim 8, it is characterised in that also include:
Registration unit, the service on provider's application server is registered to configuration center, and register information includes
The address of service information of provider's application server, and periodically send message to configuration center.
10. server as claimed in claim 8, it is characterised in that also include:
Acquiring unit, for obtaining configuration file from the configuration center, the configuration file includes the provider should
The first destination address after being changed with the address of service of server;
The access unit specifically for:According to first destination address, the institute on provider's application server is accessed
State service.
11. server as claimed in claim 8 or 9, it is characterised in that the access unit specifically for:
Sending service access to provider's application server by the unified port on provider's application server please
Message is sought, wherein, the head in the service access request message includes protocol-identifier, and the protocol-identifier is described for indicating
Provider's application server is parsed using default parsing strategy to the packet, if the protocol-identifier includes adding
Secret mark is known, it indicates that default parsing strategy is encryption stream protocol;If the protocol-identifier includes HTTP http
Head is identified, it indicates that default parsing strategy is http management agreements;If the packet is identified without head, it indicates that default
Parsing strategy be common stream protocol.
12. server as claimed in claim 8 or 9, it is characterised in that also include:
Generation unit, for generating on accessing the daily record of provider's application server, and the daily record is sent to number
According to management server.
13. server as claimed in claim 9, it is characterised in that unit is deleted, for according to the message periodically sent
Information determines whether to delete provider's application server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710451026.1A CN107196954A (en) | 2017-06-15 | 2017-06-15 | A kind of service access method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710451026.1A CN107196954A (en) | 2017-06-15 | 2017-06-15 | A kind of service access method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107196954A true CN107196954A (en) | 2017-09-22 |
Family
ID=59879154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710451026.1A Pending CN107196954A (en) | 2017-06-15 | 2017-06-15 | A kind of service access method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107196954A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120723A (en) * | 2018-10-24 | 2019-01-01 | 南京燚麒智能科技有限公司 | A kind of method for interchanging data and system based on http protocol |
CN109769265A (en) * | 2019-01-08 | 2019-05-17 | 深圳市网心科技有限公司 | A kind of application flow quantity management method, system, device and computer media |
CN111240868A (en) * | 2020-01-22 | 2020-06-05 | 阿里巴巴集团控股有限公司 | Instance processing and calling method, device, system and storage medium |
CN111314315A (en) * | 2020-01-20 | 2020-06-19 | 重庆富民银行股份有限公司 | Open platform multi-dimensional safety control system and method |
CN111813615A (en) * | 2020-06-30 | 2020-10-23 | 光大兴陇信托有限责任公司 | Transaction exception processing method for application system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263809A (en) * | 2010-05-31 | 2011-11-30 | 中国移动通信集团贵州有限公司 | Method for realizing service safety control based on enterprise service bus and apparatus thereof |
CN103188212A (en) * | 2011-12-27 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Security management method and service terminal of electronic wallet, and electronic wallet system |
CN105357233A (en) * | 2014-08-18 | 2016-02-24 | 阿里巴巴集团控股有限公司 | Remote call method and device |
CN106559389A (en) * | 2015-09-28 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of Service Source issue, call method, device, system and cloud service platform |
-
2017
- 2017-06-15 CN CN201710451026.1A patent/CN107196954A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263809A (en) * | 2010-05-31 | 2011-11-30 | 中国移动通信集团贵州有限公司 | Method for realizing service safety control based on enterprise service bus and apparatus thereof |
CN103188212A (en) * | 2011-12-27 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Security management method and service terminal of electronic wallet, and electronic wallet system |
CN105357233A (en) * | 2014-08-18 | 2016-02-24 | 阿里巴巴集团控股有限公司 | Remote call method and device |
CN106559389A (en) * | 2015-09-28 | 2017-04-05 | 阿里巴巴集团控股有限公司 | A kind of Service Source issue, call method, device, system and cloud service platform |
Non-Patent Citations (2)
Title |
---|
杨博雄: "《无线嵌入式互联网》", 1 June 2015 * |
黄山良: "《防控探测预警系统与技术》", 1 November 2015 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120723A (en) * | 2018-10-24 | 2019-01-01 | 南京燚麒智能科技有限公司 | A kind of method for interchanging data and system based on http protocol |
CN109769265A (en) * | 2019-01-08 | 2019-05-17 | 深圳市网心科技有限公司 | A kind of application flow quantity management method, system, device and computer media |
CN111314315A (en) * | 2020-01-20 | 2020-06-19 | 重庆富民银行股份有限公司 | Open platform multi-dimensional safety control system and method |
CN111240868A (en) * | 2020-01-22 | 2020-06-05 | 阿里巴巴集团控股有限公司 | Instance processing and calling method, device, system and storage medium |
CN111240868B (en) * | 2020-01-22 | 2024-04-02 | 阿里巴巴集团控股有限公司 | Instance processing and calling method, device, system and storage medium |
CN111813615A (en) * | 2020-06-30 | 2020-10-23 | 光大兴陇信托有限责任公司 | Transaction exception processing method for application system |
CN111813615B (en) * | 2020-06-30 | 2024-02-23 | 光大兴陇信托有限责任公司 | Transaction exception processing method for application system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107196954A (en) | A kind of service access method, apparatus and system | |
CN108306877B (en) | NODE JS-based user identity information verification method and device and storage medium | |
CN110944330B (en) | MEC platform deployment method and device | |
US20190082026A1 (en) | Interface invocation method and apparatus for hybrid cloud | |
CN109936529B (en) | Method, device and system for secure communication | |
CN105516157B (en) | Network information security input system and method based on independent encryption | |
CN108390881A (en) | A kind of distribution high concurrent real-time messages method for pushing and system | |
CN110995656B (en) | Load balancing method, device, equipment and storage medium | |
CN110557290A (en) | Processing method and device for network acceleration service | |
US20090292767A1 (en) | System, apparatus and method for realizing web service | |
CN110399578A (en) | Page access method and device | |
CN113647113A (en) | Network-based media processing security | |
CN108769743B (en) | Video playing control method, system, node and computer storage medium | |
WO2021227254A1 (en) | Routing access method and apparatus, electronic device, and storage medium | |
CN113364587A (en) | System, method, device, medium and equipment for processing streaming media data | |
CN111404774B (en) | Data monitoring method, device, equipment and storage medium | |
CN106909826B (en) | Password substitution device and system | |
CN110417905B (en) | Contract issuing method, device, equipment and union chain system | |
CN106339623B (en) | Login method and device | |
CN109391473A (en) | A kind of method, apparatus and storage medium of Electronic Signature | |
CN107809681B (en) | It is sliced the method and device of transmission of video | |
CN113613227A (en) | Data transmission method and device of Bluetooth equipment, storage medium and electronic device | |
CN110225135B (en) | Server connection method and device, electronic equipment and storage medium | |
CN110062016A (en) | Method and device for trusted service management | |
EP2630750B1 (en) | Quality of service monitoring device and method of monitoring quality of service |
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 |
Application publication date: 20170922 |
|
RJ01 | Rejection of invention patent application after publication |