Method and system for registering service, method and system for invoking service
A registration service and server-side technology, applied in the computer field, can solve problems such as inability to directly transmit data, multiple data centers are not in the same place, etc., to achieve rapid response to changes in business needs, convenient publishing process, and guaranteed effectiveness.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] This embodiment provides a method for registering services, such as figure 2 shown, including the following steps:
[0042] Step 101, the server sends a registration request to the server agent.
[0043] Step 102, the server agent parses the registration request, records the service information obtained through analysis in the first service list, and sends the service information to the client agent. Wherein, the server agent records the service information in the first service list, which means that the server has registered the service with the server agent.
[0044] Wherein, the service information may include ID, token, name of the service and methods contained in the service. Wherein, the methods included in the service are the functions that the service can realize, such as obtaining the user's mobile phone number through the user's mailbox.
[0045] Step 103, the client agent updates the second service list according to the service information for the client ...
Embodiment 2
[0055] This embodiment provides a method for invoking services, such as image 3 shown, including the following steps:
[0056]Step 201, the client sends an invocation request to the client proxy. Wherein, the client can obtain the information of the service to be invoked by accessing the client agent.
[0057] Step 202, the client agent parses out a token from the invocation request, and forwards the invocation request to the server agent if the token conforms to a preset protocol. Wherein, the preset protocol is a protocol agreed between the client agent and the client, and is used to ensure the security of data transmission.
[0058] Step 203, the server proxy parses out the ID from the call request, queries the corresponding service from the first service list according to the ID, and calls the service to the server.
[0059] In order to intercept invalid and illegal call requests, in an optional implementation manner, step 202 further includes: if the token does not co...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com