Patentable/Patents/US-6493719
US-6493719

Method and system for scripting for system management information

PublishedDecember 10, 2002
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

A method and system that simplify the management of enterprise network devices and information through the use of scripts and a scripting object model. An API is provided that transforms scripts passed from a scripting engine into the existing “low-level” COM syntax required for accessing system management object information. A scripting engine interprets a script and works with the API to translate script instructions into the COM method calls needed to directly access properties and methods of CIMOM objects from a script. Other aspects related to scripting are handled, including collections, events, monikers and security. Collections enable a set of objects to be serviced iteratively, for example, to manipulate or retrieve properties for a set of resources in simple loop. Events enable queries to be made asynchronously, such that calls return immediately and complete via event notifications. Monikers enable the simplification of strings in the script, by providing for shorthand definitions to represent a sequence of instructions in a single string. Security is provided, by emulating the ability to set security.

Patent Claims
46 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method for providing access to system information via a centralized manager of the system information, comprising: receiving information corresponding to at least one script instruction from a client process, the information directed to an object and property corresponding to a managed system device; locating an object identifier in response to the received information; generating a property identifier in response to the information, including adding information to the property identifier indicative of a dynamic property; returning the object identifier and the property identifier; receiving a request for accessing system information, the request corresponding to the script and including the object identifier and the property identifier; recognizing from the information added to the property identifier that the request is directed to accessing a dynamic property of a managed system device, translating the request into at least one call for accessing the system information, and via the at least one call, calling an interface of the centralized manager to access the system information; in response to each call, the centralized manager determining at least one provider associated with the managed system device and communicating with each provider to access the system information; and returning data to the client process indicative of the result of the call.

2

2. The method of claim 1 wherein receiving the request for accessing system information includes receiving a request corresponding to a property value of an object, and wherein returning data to the client process includes returning the property value.

3

3. The method of claim 1 wherein receiving the request for accessing system information includes receiving a request corresponding to a property value of an object, and wherein calling an interface of the centralized manager to access the system information includes retrieving the property value.

4

4. The method of claim 1 wherein receiving the request for accessing system information includes receiving a request corresponding to a property value of an object, and wherein calling an interface of the centralized manager to access the system information includes setting the property value.

5

5. The method of claim 1 wherein receiving information from the client process includes receiving a string.

6

6. The method of claim 1 wherein the request for accessing system information corresponds to a request for an object collection.

7

7. The method of claim 1 wherein the request for accessing system information comprises a moniker corresponding to a sequence of operations represented in a single string.

8

8. The method of claim 1 wherein returning data to the client process indicative of the result of the call includes providing an event notification to the client process.

9

9. The method of claim 1 further comprising receiving a request for setting security properties from the client process, the request corresponding to at least one script instruction from the client process.

10

10. The method of claim 1 wherein the script instruction set comprises a moniker corresponding to a sequence of operations represented in a single string.

11

11. A computer-readable medium including computer-readable instructions for performing the method of claim 1 .

12

12. A computer-readable medium including computer-readable instructions, comprising: receiving at least one call from a scripting engine that is interpreting a script, the at least one call providing a first identifier corresponding to a managed object that represents a managed system device and a second identifier corresponding to a dynamic property of the managed object; determining a managed object identifier based on the first identifier; determining a property identifier based on the second identifier; associating the property identifier with information that indicates that the property of the managed object is dynamic; returning the object identifier and the property identifier to the scripting engine; receiving an invoke call from the scripting engine, the invoke call including the object identifier and property identifier; recognizing that the property is dynamic from the information associated with the property identifier; accessing system information from the managed system device by providing translated data corresponding to the object identifier and property identifier to a centralized manager, the centralized manager determining at least one provider of data for the dynamic property based on the translated data and communicating with each provider to access the system information; and returning an access result to the scripting engine.

13

13. The computer-readable medium of claim 12 wherein accessing system information comprises, obtaining a property value of an instance of the managed object from the centralized manager, and wherein returning an access result to the scripting engine includes returning the accessed property value to the scripting engine.

14

14. The computer-readable medium including computer-readable instructions of claim 13 wherein returning an access result to the scripting engine includes providing an event notification thereto.

15

15. The computer-readable medium including computer-readable instructions of claim 13 wherein the system information accessed via each provider comprises a collection object.

16

16. The computer-readable medium including computer-readable instructions of claim 12 wherein accessing system information based on the identifier includes invoking a managed object.

17

17. The computer-readable medium including computer-readable instructions of claim 12 herein accessing system information based on the identifier includes accessing a managed object property.

18

18. The computer-readable medium including computer-readable instructions of claim 12 wherein accessing system information based on the identifier includes accessing a managed object method.

19

19. The computer-readable medium including computer-readable instructions of claim 12 wherein determining the managed object identifier includes accessing a type library to obtain the identifier.

20

20. The computer-readable medium including computer-readable instructions of claim 12 wherein determining the property identifier includes dynamically generating at least part of the property identifier to associate the property identifier with the information indicating that the property is dynamic.

21

21. The computer-readable medium including computer-readable instructions of claim 12 wherein determining the property identifier includes accessing a class schema to obtain the property identifier.

22

22. The computer-readable medium including computer-readable instructions of claim 12 wherein associating the property identifier with information that indicates that the property of the managed object is dynamic further comprises, generating the property identifier by modifying a value obtained from the class schema with the information that indicates that the property is dynamic.

23

23. The computer-readable medium including computer-readable instructions of claim 12 wherein the at least one call provides the first identifier and the second identifier via first and second calls, respectively.

24

24. The computer-readable medium including computer-readable instructions of claim 12 wherein the at least one call provides the first identifier and the second identifier via parameters comprising first and second strings, respectively.

25

25. A system for accessing system information managed by a centralized manager of the system information, the centralized manager arranged for communication via a se t of object interfaces, comprising: a scripting engine configured to interpret a script; an interface component connected to the scripting engine, the scripting engine providing at least one request to the interface component to obtain a property identifier of a property of a managed system object that represents a managed system device corresponding to the system information, the request originating in the script; a mechanism in the interface component that returns an object identifier and the property identifier corresponding to the at least one request to the scripting engine; and the interface component accessing the system information including: 1) receiving the object identifier and the property identifier from the scripting engine in an access request from the scripting engine that originated in the script, 2) recognizing that the access request is directed to a dynamic property of the managed system object, and 3) accessing the property of the managed system object based on the object identifier and the property identifier by providing a translated request to an object interface of the centralized manager, the centralized manager determining a provider therefrom that is associated with the system device corresponding to the managed system object and communicating with the provider to access the system information.

26

26. The system of claim 25 wherein the interface component comprises an application programming interface.

27

27. The system of claim 25 wherein the interface component accesses a dynamic property of the managed system object to set that property to a value originating in the script.

28

28. The system of claim 25 wherein the interface component returns a value for the property of the managed system object.

29

29. The system of claim 25 wherein the interface component accesses a method of the managed system object.

30

30. The system of claim 25 wherein the property identifier includes information indicating that the property is a dynamic property such that the interface component recognizes that the access request is directed to a dynamic property.

31

31. The system of claim 30 wherein the mechanism dynamically generates the property identifier including the information indicating that the property is a dynamic property.

32

32. The system of claim 25 further comprising a type library, wherein the mechanism selectively accesses the type library to obtain the object identifier.

33

33. The system of claim 25 wherein the request comprises a moniker, and wherein the interface component translates the moniker into a sequence of instructions represented in a single string.

34

34. In a computing environment, a method comprising: receiving a script instruction set corresponding to at least one script instruction from a client process, the script instruction set including a first request for an object identifier of a managed system object, and a second request for a value of a property of the managed system object; and processing the script instruction set to satisfy the first and second requests, including: 1) determining that the first request for an object identifier is a request for static data, 2) obtaining the object identifier, 3) determining that the second request is a request for dynamic property data of an object, and 4) accessing the dynamic property data via a centralized manager of a managed system device corresponding to the dynamic property data, including translating the second request into a format understood by the centralized manager.

35

35. The method of claim 34 wherein obtaining the object identifier comprises, accessing a type library to obtain a type identifier, returning the type identifier, receiving an invoke call including the type identifier and data corresponding a managed system device, recognizing that the invoke call is directed to a static object identifier, and communicating the type identifier and the data to an automation library to request the object identifier.

36

36. The method of claim 34 wherein accessing the dynamic property data comprises, obtaining a property identifier corresponding to the dynamic property data.

37

37. The method of claim 36 wherein obtaining the property identifier comprises, generating the property identifier including accessing a class schema to obtain an identifier corresponding to the property and modifying the obtained identifier to indicate that the property identifier corresponds to dynamic property data.

38

38. The method of claim 37 wherein modifying the obtained identifier comprises setting its most significant bit.

39

39. The method of claim 37 wherein determining that the second request is a request for dynamic property data comprises, analyzing the property identifier to ascertain whether the property identifier has been modified to indicate that the property identifier corresponds to dynamic property data.

40

40. The method of claim 34 wherein receiving a script instruction set comprises, receiving first and second calls corresponding to the first and second requests.

41

41. The method of claim 34 wherein the second request for a value of a property comprises an invoke request including the object identifier and the property identifier.

42

42. The method of claim 34 wherein accessing the dynamic property data via a centralized manager comprises, calling an interface of the centralized manager.

43

43. The method of claim 34 wherein receiving the script instruction set comprises receiving a request to set the property of the object, and wherein accessing the dynamic property data via a centralized manager comprises communicating with the centralized manager to set the property value.

44

44. The method of claim 34 wherein the script instruction set comprises a request for accessing an object collection.

45

45. The method of claim 34 wherein receiving the script instruction set comprises receiving a request to set a security property of the object, and wherein accessing the dynamic property data via the centralized manager comprises communicating with the centralized manager to set the security property to a value.

46

46. The method of claim 34 wherein receiving the script instruction set comprises receiving a request to obtain the property value of the object, wherein accessing the dynamic property data via the centralized manager comprises communicating with the centralized manager to obtain the property value, and further comprising, returning the obtained property value in response to the request.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

July 26, 1999

Publication Date

December 10, 2002

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Method and system for scripting for system management information” (US-6493719). https://patentable.app/patents/US-6493719

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.