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

Context affinity in a remote scripting environment

A context and scripting technology, applied in inter-program communication, multiprogramming device, program control design, etc., can solve the problems of reducing the performance of remote scripting environment and being prone to errors.

Active Publication Date: 2016-03-16
MICROSOFT TECH LICENSING LLC
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these solutions can be error-prone and degrade the performance of the remote scripting environment

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
  • Context affinity in a remote scripting environment
  • Context affinity in a remote scripting environment
  • Context affinity in a remote scripting environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The following detailed description relates to concepts and techniques designed, in various embodiments, to provide contextual relevance in a remote scripting environment. Various configurations of the disclosed subject matter create and manage a pool of runspaces. In some configurations, each runspace connects to a remote computer by executing a global remote session command. When a local computer needs to execute a command on a remote computer that shares a context with each other, the local computer accesses the pool of runspaces and accesses a specific runspace within the pool. Once accessing the runspace, the local computer can execute commands on the remote computer. Because the commands are executed in the same runspace, the commands can share a context.

[0014] A "runspace" provides a way for a hosting application to programmatically execute commands. A "context" may include the environment in which a command is executed in a runspace. Environment variables ...

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

A global context object may be used to create context affinity between two or more commands executed at a remote computer. A local computer may access a connection pool to determine if a runspace exists for a particular context on the remote computer in which the command is to be executed. If the runspace does not exist in the connection pool, the local computer may create a runspace associated with a particular context and add the runspace to the connection pool. The local computer may receive result data of executed commands from a remote computer and store the result data for use by the global context object to create context affinity between two or more commands executed at the remote computer.

Description

Background technique [0001] In some conventional remote scripting environments, the data conveyed from the execution of one command at the remote computer to the execution of subsequent commands is limited or suppressed due to security concerns. Because of these and other limitations in conventional remote scripting environments, the context in which one command is executed at the remote computer is often separate and distinct from the context in which subsequent commands are executed. Thus, in a conventional remote scripting environment, two or more commands may not share a context with each other, and as a result, no affinity is provided between the individual commands. Current solutions to this problem include setting the context of the first command while running the second command. Another solution could be to package the commands. However, these solutions can be prone to errors and reduce the performance of the remote scripting environment. [0002] It is with regard ...

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
IPC IPC(8): G06F9/54
CPCG06F9/547G06F15/16G06F9/44G06F15/173G06F15/17306
Inventor V·萨德夫
Owner MICROSOFT TECH LICENSING LLC
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