Unlock instant, AI-driven research and patent intelligence for your innovation.

Single motherboard multi-version program adaptation method, system and device and storage medium

A multi-version and program technology, applied to general-purpose stored program computers, architectures with a single central processing unit, instruments, etc., to achieve the effect of reducing implementation costs

Inactive Publication Date: 2018-12-07
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There is currently no implementation plan for using a single control board to adapt to multi-version 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
  • Single motherboard multi-version program adaptation method, system and device and storage medium
  • Single motherboard multi-version program adaptation method, system and device and storage medium
  • Single motherboard multi-version program adaptation method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] The following combination figure 1 , figure 1 A flow chart of a method for adapting programs with multiple versions on a single motherboard provided in the embodiment of this application, which specifically includes the following steps:

[0044] S101: Receive the unique identification of the target version program fed back by the GPIO PIN;

[0045] Among them, a preset number of GPIO (General Purpose Input Output, general-purpose input / output) PINs (pins or pins) are reserved on the motherboard, and the motherboard connects N devices that execute programs of different versions through these GPIO PINs. , N≥2, the target version program is the program version to be enabled. That is, different versions of programs are connected to the GPIO PIN in different ways, and the GPIO PIN can finally obtain a unique identification corresponding to each version of the program according to the different signals fed back by each PIN. It can also be said that each version of the program...

Embodiment 2

[0058] The following combination figure 2 , figure 2 The flow chart of another single motherboard multi-version program adaptation method provided by the embodiment of this application. On the basis of the first embodiment, this embodiment provides a GPIO PIN to return high and low level signals and follow a set of presets. The set signal processing method can determine the specific implementation method of the target version program to be enabled, which specifically includes the following steps:

[0059] S201: Receive the high and low level signals returned by each GPIO PIN respectively;

[0060] Among them, the preset rule is that a GPIO PIN returns a high level signal to indicate that it is in the on state, and a return of a low level signal indicates that it is in the off state.

[0061] S202: According to the principle of setting high-level signals to 1 and low-level signals to 0, arrange the high-level and low-level signals according to the preset GPIOPIN sequence to...

Embodiment 3

[0069] This embodiment combines specific application scenarios to provide a specific implementation method, which is divided into three parts: motherboard hardware setting, Bios setting distribution, and SMBios synchronization. The following will describe each part separately:

[0070] 1. Motherboard hardware setting part:

[0071] Reserve a certain number of GPIO PINs on the motherboard, set them as INPUT (input ports), and use them as Board IDs (mainboard numbers). Generally, 5 are reserved, which can be increased or decreased according to different situations;

[0072] 2. BIOS setting part

[0073] (1) Set different version program names according to different Board IDs.

[0074] (2) Execute different code branches according to different version program names, and the code branches contain platform-related string information such as project names.

[0075] 3. SMbios synchronization part

[0076] (1) Use the CreateEvent event function to generate an event object. Suppose ...

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 single motherboard multi-version program adaptation method is disclosed. The method includes the steps of firstly setting aside a certain number of GPIO PINs on a single motherboard, to determine atarget version of the program that will be enabled from the feedback from these GPIO PINs, determining a target SMBios string corresponding to that target version program according to the SMBios string containing each version program and each SMBios string to be synchronized, and finally, synchronizing the target SMBios string into the SMBios structure to enable the code branch corresponding to the target version program. According to the method, the adaption of the multi-version program can be completed on the basis of a single control motherboard. Compared with the prior art which needs thesame number of control motherboards as the number of program versions, the method can effectively reduce the realization cost on the basis of guaranteeing the function realization. At that same time,the application also discloses a single motherboard multi-version program adaptation system and device and a computer-readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the technical field of multi-device control by a single controller, and in particular to a method, system, device and computer-readable storage medium for multi-version program adaptation on a single motherboard. Background technique [0002] In the field of storage product development, in many cases, the hardware system will not be redeveloped, but the upper-layer software needs to be adapted to different functions to form different delivery items, but different delivery items may overlap due to similarities, that is, according to the delivery items Differently, the corresponding code branch will be called at special points of whether some functions are enabled and when they are enabled to complete the functions required by the corresponding delivery project. [0003] Usually, most of the existing technologies use multiple control boards to match multiple delivery projects, and the final subject hardware part is shar...

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): G06F15/78
CPCG06F15/7867
Inventor 邱星萍吕佳鹏
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD