Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2013-02-13
INSPUR COMMON SOFTWARE
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional web services based on HTTP and XML require users to write a large number of services and publish them on the Internet. The workload is heavy, the security risk is high, it is not conducive to management, and it also brings high complexity to the writing of client programs.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Client-side access method for server-side service under client-side server mode
  • Client-side access method for server-side service under client-side server mode
  • Client-side access method for server-side service under client-side server mode

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a client-side access method for a server-side service under a client-side server mode, belonging to the technical field of servers. The client-side access method is implemented by two parts including a server-side service provider and a client-side service caller, wherein the server-side service provider is used for providing a normative server-side service extended mode and a unique external access interface; and the client-side service caller is used for providing the capability of accessing the server-side service and the capability of controlling and processing the access to the server-side service by a client-side application program. Compared with the prior art, the client-side access method disclosed by the invention is good for simplifying the compilation of the server-side service, has the characteristics of strong safety, strong adaptability and the like, and has very good popularization and application values.

Description

technical field [0001] The invention relates to the technical field of servers, in particular to a client access method for server services in a client-server mode. Background technique [0002] Client server technology is an Internet-based application technology. On the client side, the local resources of the client machine can be fully utilized to provide users with a rich user interaction experience. On the server side, powerful data computing and data storage capabilities can be provided. The client server technology uses HTTP and XML-based web service (Web Service) technology to transmit data, which can be accessed based on the Internet. Traditional web services based on HTTP and XML require users to write a large number of services and publish them on the Internet. The workload is heavy, the security risk is high, it is not conducive to management, and it also brings high complexity to the writing of client programs. . Contents of the invention [0003] The techn...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
Inventor 魏亮
Owner INSPUR COMMON SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products