Client-side access method for server-side service under client-side server mode
A technology of client server and access method, which is applied in the client access field of server service under the client server mode, and can solve problems such as high security risks, high complexity of client programs, and heavy workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] The client access method of the server service in the client server mode of the present invention is realized by two parts: the server service provider and the client service caller.
[0022] as attached figure 1 As shown, the server service provider is composed of four parts: resource service interface, service configuration, service provider and network service.
[0023] The resource service interface defines the resource access operation mode and is the specification of the service capability. The interface specification is as follows:
[0024]
[0025] Service configuration is to define the list of resource access operations that can be provided by the service provider. The main content of the service configuration includes the resource name and the resource service that implements the resource service interface. Its format is as follows:
[0026]
[0027] The service provider provides a unified access interface through the information in the service config...
Embodiment 2
[0039] Scenario: A certain system adopts a client-server structure, and an internet connection is used between the client and the server. The system defines a function: user management. The function of this function is to maintain all users in the system. The corresponding operations include: add, edit, delete, and query. The code uses C# as an example.
[0040] 1. Implement the user's service resource interface
[0041] public class UserService : IResourceService
[0042] {
[0043] / / / Get user information
[0044] public string Get(string[] para)
[0045] {
[0046] / / Get user information logic code
[0047] return "User Information";
[0048] }
[0049] / / / New users
[0050] public string Add(string[] para)
[0051] {
[0052] / / Add user logic code
[0053] return "Result";
[0054] }
[0055] / / / Modify user information
[0056] publ...
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