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

Method and device for accessing resources

A technology for accessing resources and resources, applied in the field of accessing resources, can solve the problems of inconvenient operation of function boards, changes in the sequence numbers of function cards, affecting the efficiency of application programs, etc., so as to improve portability, improve efficiency, and reduce the workload of modification. Effect

Active Publication Date: 2020-07-31
CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor found in the process of implementing the present invention that it is very inconvenient to mark the function board with the sequence number, because the sequence number determined by the enumeration method is not stable, and many times the function board The sequence number of the card will change. For example, the sequence of bus enumeration is related to the design of CPCI. The sequence of CPCI bus enumeration on different CPCI backplanes may be inconsistent. Therefore, after replacing the backplane, the sequence number of the function card may change.
The instability of the sequence number makes it very inconvenient for the upper layer application to operate the function board, and the application code is often forced to be modified due to the replacement of the backboard, which greatly affects the development efficiency of the application program and reduces the cost of the program code. Portability; in addition, the sequence number of function boards is determined by the system, which often seems to be irregular, and the user cannot interfere, which is not conducive to user applications, which also affects the development, modification or application of the application to a certain extent. Efficiency when transplanting

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
  • Method and device for accessing resources
  • Method and device for accessing resources
  • Method and device for accessing resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0053] In addition to the CPU card and power board, the ECP system can also include functional boards such as acquisition card (DI), driver card (DO), serial port card, CAN card, and LAN board. figure 1 It is the schematic diagram of the backboard of the ECP system. In addition to the CPU card and the power board, multiple function cards can also be inserted on the backboard.

[0054] figure ...

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 provides a resource access method and device. The method comprises the steps that a configuration file is acquired, wherein the configuration file is used for recording a corresponding relation between identifiers and resource addresses; a corresponding relation between the resource addresses and resource handles is acquired; a mapping relation from the identifiers to the resource handles is established according to the configuration file and the corresponding relation between the resource addresses and the resource handles; and when the identifiers appear, resources corresponding to the identifiers are accessed according to the mapping relation. According to the resource access method and device, if the resources serve as slots and the identifiers serve as panel numbers, a technician can self-define the panel numbers to establish the mapping relation between the panel numbers and the corresponding slots. In this way, it is only needed to modify the configuration file incase of change, the modification workload of program codes is reduced, efficiency is improved, and portability of programs is improved. Besides, since the panel numbers are visual, convenient to memorize and capable of being self-defined, it is beneficial for improving the efficiency of application program development, modification or transplantation.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method and device for accessing resources. Background technique [0002] ECP (Embedded Computing Platform, Embedded Computing Platform) is a software and hardware platform for various information applications, and its purpose is to provide an easy-to-use software and hardware operating environment for applications. ECP adopts CPCI (CompactPeripheral Component Interconnect, compact PCI; PCI, external component interconnection standard) bus architecture. In addition to CPU card and power board, ECP system can also include acquisition card (DI), driver card (DO), Serial card, CAN card, LAN board and other functional boards. [0003] In order to correctly access each function board, the application program needs to know the identification (or mark) of each function board to distinguish the function boards. In the prior art, each functional board ca...

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 Patents(China)
IPC IPC(8): G06F13/42G06F13/40
CPCG06F13/404G06F13/4221
Inventor 李强于庆
Owner CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
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