Method, device, equipment and storage medium for determining connection relation

文档序号:153075 发布日期:2021-10-26 浏览:58次 中文

阅读说明:本技术 连接关系确定的方法、装置、设备及存储介质 (Method, device, equipment and storage medium for determining connection relation ) 是由 唐健明 陈庆勇 种璟 刘朋 黄铁脉 于 2020-04-26 设计创作,主要内容包括:本发明公开了连接关系确定的方法、装置、设备及存储介质。该方法包括:从预先构建的板卡与硬件之间的映射关系库,确定第一板卡预先配置的第一板槽接口;当第二板卡的接口信息中不包括第二板槽接口时,确定第一板槽接口与第三板卡是否有连接关系;当第二板卡的接口信息中不包括第二板槽接口,且第一板槽接口的连接信息中不包括第一板槽接口与第三板卡的连接关系时,将第一板槽接口确定为第二板卡的第二板槽接口,得到第一板槽接口与第二板卡的连接关系,提高了在通信设备中配置板卡的可扩展性以及可维护性。(The invention discloses a method, a device, equipment and a storage medium for determining a connection relation. The method comprises the following steps: determining a first board slot interface pre-configured by a first board card from a pre-constructed mapping relation library between the board card and hardware; when the interface information of the second board card does not comprise a second board slot interface, determining whether the first board slot interface and the third board card have a connection relation; when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, the first board slot interface is determined as the second board slot interface of the second board card, so that the connection relationship between the first board slot interface and the second board card is obtained, and the expandability and the maintainability of the board card configured in the communication equipment are improved.)

1. A method for connection relationship determination, the method comprising:

determining a first board slot interface pre-configured by a first board card from a pre-constructed mapping relation library between the board card and hardware;

when the interface information of the second board card does not comprise a second board slot interface, determining whether the first board slot interface and a third board card have a connection relation;

when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, determining the first board slot interface as the second board slot interface of the second board card to obtain the connection relationship between the first board slot interface and the second board card.

2. The method of claim 1, further comprising:

and when the interface information of the second board card comprises a second board slot interface and the connection information of the first board slot interface does not comprise the connection relation between the first board slot interface and the third board card, establishing the connection relation between the first board slot interface and the second board slot interface.

3. The method of claim 2, further comprising:

determining a third board slot interface pre-configured by the first board card from a pre-constructed mapping relation library between the board card and the hardware;

and establishing a connection relation between the third plate groove interface and the second plate groove interface.

4. The method of claim 1, further comprising:

when the interface information of the second board card does not include the second board slot interface and the first board slot interface and the third board card have a connection relationship, determining the first board slot interface as the second board slot interface of the second board card according to a pre-constructed board slot interface type database and a pre-constructed interconnection relationship database of slot interfaces, and obtaining the connection relationship between the first board slot interface and the second board card.

5. The method of claim 4, further comprising:

determining a third board slot interface pre-configured by the first board card from a pre-constructed mapping relation library between the board card and the hardware;

and when the connection information of the third board slot interface does not include the connection relationship between the third board slot interface and the third board card, establishing the connection relationship between the third board slot interface and the second board slot interface.

6. An apparatus for connection relationship determination, the apparatus comprising:

the first determining module is used for determining a first board slot interface which is configured in advance by a first board card from a mapping relation library which is constructed in advance between the board card and hardware;

the relationship determining module is used for determining whether the first board slot interface and the third board card have a connection relationship when the interface information of the second board card does not include the second board slot interface;

the second determining module is configured to determine the first board slot interface as the second board slot interface of the second board card to obtain a connection relationship between the first board slot interface and the second board card when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card.

7. The apparatus of claim 6, further comprising a setup module;

the establishing module is configured to establish a connection relationship between the first board slot interface and the second board slot interface when the interface information of the second board card includes the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card.

8. The apparatus according to claim 7, wherein the first determining module is further configured to determine a third socket interface preconfigured by the first board card from a mapping relationship library between the pre-constructed board cards and hardware;

the establishing module is further configured to establish a connection relationship between the third plate slot interface and the second plate slot interface.

9. An electronic device, characterized in that the device comprises: a processor and a memory storing computer program instructions;

the processor, when executing the computer program instructions, implements the method of any of claims 1-5.

10. A computer storage medium having computer program instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-5.

Technical Field

The invention belongs to the technical field of hardware equipment abstraction management, and particularly relates to a method, a device, equipment and a storage medium for determining a connection relation.

Background

The connection relationship between boards in communication equipment is very important in realizing various functions of communication equipment.

At present, connection relations between boards are all fixed in a driver of the board, and if a plurality of boards exist in the communication device, each board needs to deploy the connection relations between the boards in the respective driver, which results in low expandability and maintainability of the boards set in the communication device.

Disclosure of Invention

The method, the device, the equipment and the storage medium for determining the connection relation provided by the embodiment of the invention can improve the expandability and maintainability of the configuration board card in the communication equipment.

In a first aspect, a method for determining a connection relationship is provided, where the method includes:

determining a first board slot interface pre-configured by a first board card from a pre-constructed mapping relation library between the board card and hardware;

when the interface information of the second board card does not comprise a second board slot interface, determining whether the first board slot interface and the third board card have a connection relation;

and when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, determining the first board slot interface as the second board slot interface of the second board card to obtain the connection relationship between the first board slot interface and the second board card.

In one possible implementation, the method further includes:

and when the interface information of the second board card comprises a second board slot interface, establishing the connection relation between the first board slot interface and the second board slot interface.

In one possible implementation, the method further includes:

determining a third board slot interface pre-configured by the first board card from a pre-constructed mapping relation library between the board card and the hardware;

and establishing a connection relation between the third plate groove interface and the second plate groove interface.

In one possible implementation, the method further includes:

and when the interface information of the second board card does not comprise the second board slot interface and the first board slot interface and the third board card have a connection relation, determining the first board slot interface as the second board slot interface of the second board card according to the pre-constructed board slot interface type database and the pre-constructed interconnection relation library of the slot interfaces, and obtaining the connection relation between the first board slot interface and the second board card.

In one possible implementation, the method further includes:

determining a third board slot interface pre-configured by the first board card from a pre-constructed mapping relation library between the board card and the hardware;

and when the connection information of the third board slot interface does not comprise the connection relation between the third board slot interface and the third board card, establishing the connection relation between the third board slot interface and the second board slot interface.

In a second aspect, an apparatus for connection relation determination is provided, the apparatus comprising:

the first determining module is used for determining a first board slot interface which is configured in advance by a first board card from a mapping relation library which is constructed in advance between the board card and hardware;

the relationship determining module is used for determining whether the first board slot interface and the third board card have a connection relationship when the interface information of the second board card does not comprise the second board slot interface;

and the second determining module is used for determining the first board slot interface as the second board slot interface of the second board card to obtain the connection relation between the first board slot interface and the second board card when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relation between the first board slot interface and the third board card.

In one possible implementation, the apparatus further includes an establishing module;

and the establishing module is used for establishing the connection relation between the first board slot interface and the second board slot interface when the interface information of the second board card comprises the second board slot interface.

In a possible implementation manner, the first determining module is further configured to determine a third board slot interface preconfigured by the first board card from a mapping relation library between the board card and the hardware, which is constructed in advance;

and the establishing module is also used for establishing the connection relationship between the third plate slot interface and the second plate slot interface.

In a possible implementation manner, the second determining module is further configured to determine, when the interface information of the second board card does not include the second board slot interface and the first board slot interface has a connection relationship with the third board card, the first board slot interface as the second board slot interface of the second board card according to a pre-established board slot interface type database and a pre-established interconnection relationship library of slot interfaces, so as to obtain the connection relationship between the first board slot interface and the second board card.

In one possible implementation form of the method,

the first determining module is further used for determining a third board slot interface which is configured in advance by the first board card from a mapping relation library which is constructed in advance between the board card and the hardware;

and the establishing module is further used for establishing the connection relation between the third board slot interface and the second board slot interface when the connection information of the third board slot interface does not include the connection relation between the third board slot interface and the third board card.

In a third aspect, an electronic device is provided, the device comprising: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, performs the method as in the first aspect or any possible implementation of the first aspect.

In a fourth aspect, there is provided a computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method as in the first aspect or any possible implementation of the first aspect.

Determining a first board slot interface pre-configured by a first board card through a mapping relation library between the pre-constructed board card and hardware based on the provided method, device, equipment and storage medium for determining the connection relation; when the interface information of the second board card does not comprise a second board slot interface, determining whether the first board slot interface and the third board card have a connection relation; when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, the first board slot interface is determined as the second board slot interface of the second board card, so that the connection relationship between the first board slot interface and the second board card is obtained, and the expandability and the maintainability of the board card configured in the communication equipment are improved.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a schematic flowchart of a method for determining a connection relationship according to an embodiment of the present invention;

fig. 2 is a schematic flowchart of another method for determining a connection relationship according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of an apparatus for determining a connection relationship according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.

It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

There are many types of communication devices, such as a programmable telephone exchange, a router, an exchange, a wireless base station, etc.

Communication equipment typically includes one or more subracks, each subrack having one or more board card modules. The management software module for a communication device is often referred to as a device management subsystem, which is an important subsystem of the overall communication device software.

The device management subsystem can establish a software mapping of the hardware resources and provide the software mapping to interface to other software modules. The other software module can utilize the interface to acquire the resource information of the communication equipment and utilize the resource information to complete the interoperation function with the hardware.

The software mapping module can complete software mapping of the connection relation between the board cards. The connection relationship of the board cards on the board cards of the communication equipment can be various. Many times, the integrated circuit boards are not changed, and only after different connection modes between the integrated circuit boards are changed, the integrated circuit boards can become different integrated circuit boards. This mapping may be used by hardware drivers and other software modules to accomplish the various communication functions.

For example, when a system needs to configure an interconnection interface of a board, another board needs to be interconnected from the software mapping module, and corresponding configuration is completed, so as to ensure normal communication between the boards.

For the board hardware, another important task of software mapping is to map all external connection interfaces, including interfaces inside the system and interfaces outside the system, and to map the user name and user index of the interface with the hardware index.

In the related art, software mapping modules of hardware resources in an equipment management subsystem on communication equipment are all distributed in different board drive modules, and the software mapping of the hardware resources is realized only for one hardware board or a series of hardware boards with small hardware difference. Therefore, the connection relation between the boards is basically not realized clearly and independently, and is basically solidified in the codes of the board hardware. There is a code correspondence for each connection. The mapping of the hardware external connection interface to the board card is generally distributed in the hardware driver related to the interface. The connection relationships among the board cards are all solidified in the operation program of the board cards, so that the expandability and maintainability of the board cards are poor, and meanwhile, the transportability and the adaptability of the board cards are poor.

Therefore, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for determining a connection relationship, which can improve expandability and maintainability of a configuration board in a communication device.

For convenience of understanding the embodiment of the present invention, a method for determining a connection relationship provided in the embodiment of the present invention is first described in detail.

Fig. 1 is a schematic flowchart of a method for determining a connection relationship according to an embodiment of the present invention.

As shown in fig. 1, a method for determining a connection relationship provided in an embodiment of the present invention may include:

s101: and determining a first board slot interface pre-configured by the first board card from a pre-constructed mapping relation library between the board card and the hardware.

The first board may be a device motherboard in the communication device, that is, a core carrier managed in the communication device. Hardware refers to hardware components included in a board card, such as a board slot interface. The mapping relation library between the board card and the hardware comprises a board slot interface corresponding to the board card. And determining a first board slot interface of the first board card from a pre-constructed mapping relation library between the board cards and the hardware.

S102: and when the interface information of the second board card does not comprise the second board slot interface, determining whether the first board slot interface and the third board card have a connection relation.

And acquiring interface information of the second board card from the board card database through the board card identification. The second board card is a board card which needs to be connected with the first board card. When the interface information of the second board card does not include the second board slot interface, it is further required to determine whether the first board slot interface and the third board card have a connection relationship. When the first board slot interface and the third board card have a connection relationship, the first board slot interface and the established connection relationship cannot establish the connection relationship between the second board card and the first board slot interface.

S103: and when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, determining the first board slot interface as the second board slot interface of the second board card to obtain the connection relationship between the first board slot interface and the second board card.

When the interface information of the second board card does not include the second board slot interface, the connection information of the first board slot interface in the first board card can be acquired from the board card database. For example, the connection information of the first board slot interface may be obtained from the board card database through the board identifier of the first board card and the interface code corresponding to the first board slot interface. When the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, the first board slot interface can establish the connection relationship with the second board card. And determining the first board slot interface as a second board slot interface of the second board card to obtain the connection relation between the first board slot interface and the second board card, namely establishing the connection relation between the first board card and the second board card.

In some embodiments, the second board may also be the first board. When the second board card is the first board card, the first board slot interface may be a pre-configured interface, and is not configured on the first board card. Under the condition that the first board slot interface is not connected with other board slots and the second board slot interface is not connected with other board slots, the first board slot interface is determined to be the board slot interface of the first board card, and the connection relation between the first board slot interface on the first board card and other board cards is established.

When the interface information of the second board card includes the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, the connection relationship between the first board slot interface and the second board slot interface can be directly established, so that the connection relationship between the first board card and the second board card can be determined.

In some embodiments, there are a plurality of board slot interfaces of the first board card, and each of the board slot interfaces can establish a connection relationship. The connection relationship between the first board slot interface and the second board slot interface is established, and the third board slot interface of the first board card can be obtained again to establish the connection relationship between the third board slot interface and the second board slot interface.

In some embodiments, when the interface information of the second board card does not include the second board slot interface, and the first board slot interface and the third board card have a connection relationship, the first board slot interface is determined as the second board slot interface of the second board card according to the pre-established board slot interface type database and the pre-established interconnection relationship database of the slot interfaces, so as to obtain the connection relationship between the first board slot interface and the second board card.

In some embodiments, the third socket interface preconfigured by the first board card is determined from a pre-constructed mapping relationship library between the board card and the hardware. And when the connection information of the third board slot interface does not comprise the connection relation between the third board slot interface and the third board card, establishing the connection relation between the third board slot interface and the second board slot interface.

The method for determining the connection relation provided by the embodiment of the invention determines a first board slot interface configured in advance by a first board card through a mapping relation library between the board card and hardware which is constructed in advance; when the interface information of the second board card does not comprise a second board slot interface, determining whether the first board slot interface and the third board card have a connection relation; when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, the first board slot interface is determined as the second board slot interface of the second board card, so that the connection relationship between the first board slot interface and the second board card is obtained, and the expandability and the maintainability of the board card configured in the communication equipment are improved.

In some embodiments, different cards are interconnected by a card-slot interface. The card slot interface is generally composed of a plurality of connectors. The same board card slot interface is physically represented as a container port and a receiving port. The ingress may generally lack several connectors. Each connector will contain several hardware board external interfaces.

Reading board slot interface type information in a pre-configured board slot interface type set, and establishing a board slot interface type database according to the board slot interface type information.

Specifically, the board slot interface information includes information such as a connector type index number, a type name, a number of types of connection ports, a connection port type index number, a name, and a port number.

As an example, { connector type index number, type name, number of types of connection ports, board slot interface type database may be the following information:

[ { connection port type index number, name, port number },

{ connection port type index number, name, port number }, … ]

}

The interconnection relational library of the socket interface may include the following information:

{ card slot interface type index number, name, number of connector types, [ 2 ]

{ connector type index number 1, whether the connector allows missing, number },

{ connector type index number 2, whether the connector allows missing, number },

]}

and reading slot interface interconnection information in a pre-configured board card slot interface type set, and establishing a board card slot interface type database according to the board slot interface type information.

As an example, the slot interface interconnection information includes: the hardware board type index number, the hardware board type name, the board slot interface serial number and the like.

The board card slot interface type database comprises the following information:

{ hardware Board type index number, hardware Board type name, { hardware Board type index number, hardware Board type name [, ]

{0 (serial number of card slot interface, if this board needs to be inserted into other board, serial number 0),

the card slot interface type index number, whether the container mouth is present or not

{0 (connector serial number), whether missing, port [0 ] corresponding to the external hardware interface identification of the board,

port No. 1 corresponds to the card external hardware interface identifier, … ] },

{1 (connector serial number), whether missing, port [0 ] corresponding to the external hardware interface identification of the board,

port No. 1 corresponds to the card external hardware interface identifier, … ] },

]},

{1, card slot interface type index number, whether container mouth is present or not, [ 2 ]

{0, whether it is missing, port No. 0 corresponds to the external hardware interface identifier of the board,

port No. 1 corresponds to the card external hardware interface identifier, … ] },

{1, whether the port [0 ] is missing or not, corresponding to the external hardware interface identifier of the board card,

port No. 1 corresponds to the card external hardware interface identifier, … ] },

]},

]}

fig. 2 is a schematic flowchart of a method for determining a connection relationship according to an embodiment of the present invention.

As shown in fig. 2, a method for determining a connection relationship according to an embodiment of the present invention may include:

s201: reading a pre-configured board card slot interface type set and establishing a board card slot interface type library.

S202: reading a preset board card type interconnection slot interface set, and establishing a board card type interconnection slot interface library.

S203: reading the motherboard hardware, obtaining the type of the 2-slot Ethernet motherboard hardware, and creating the software mapping of the 2-slot Ethernet motherboard hardware.

S204: reading a first board slot interface pre-configured by the motherboard hardware.

S205: whether a board slot interface is present. If yes, go to S206; if not, go to step S208.

S206: a software map of the board slot interface is created.

S207: reading the next board slot interface pre-configured by the motherboard hardware. S205 is performed.

S208: and setting the first board slot interface mapped by the motherboard software as the current board slot interface.

S209: and reading whether the hardware of the current board slot interface exists. If yes, go to S210; if not, go to step S212.

S210: the hardware type of the reading board card can be an electric interface card. And creating corresponding hardware board card software mapping according to the hardware type, and creating software mapping of a hardware board card slot interface. And creating software mapping of the connection relation between the hardware board card slot interface and the motherboard board slot interface.

S211: and taking the next board slot interface mapped by the motherboard software, and executing S209.

S212: and finishing the establishment of the mapping relation.

After the connection relationship of the board card slot interfaces is established, software mapping of the connection relationship of the hardware interfaces between different board cards can be established through the incidence relationship of the board card slot interfaces and the external interfaces of the hardware board cards. Other software modules can utilize the mapping to acquire the connection relation of the hardware components to complete corresponding functions.

In this example, after the board card relationship is established, whether the interface connection of the SOC chip is an electrical interface or an optical interface may be determined according to the connection relationship of the hardware component, and the corresponding relationship between the interface of the hardware chip and the external interface may be specified. The establishment of the mapping relation only needs one code, and the portability and the expandability of the code are very strong, so that each kind of hardware does not need to need one independent code. And the code and the hardware are in a close coupling relationship, so that the workload is greatly reduced, the portability and the expandability of the software are enhanced, and the time for stabilizing and debugging the software is shortened.

Fig. 3 is a schematic structural diagram of an apparatus for determining a connection relationship according to an embodiment of the present invention.

As shown in fig. 3, an apparatus for determining a connection relationship according to an embodiment of the present invention may include: a first determining module 301, a relation determining module 302, and a second determining module 303.

A first determining module 301, configured to determine a first board slot interface preconfigured by a first board card from a mapping relationship library between the board card and hardware that is constructed in advance;

a relationship determining module 302, configured to determine whether a connection relationship exists between the first board slot interface and the third board card when the interface information of the second board card does not include the second board slot interface;

the second determining module 303 is configured to determine the first board slot interface as the second board slot interface of the second board card to obtain the connection relationship between the first board slot interface and the second board card when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card.

Optionally, in some embodiments of the present invention, the apparatus further includes an establishing module;

and the establishing module is used for establishing the connection relation between the first board slot interface and the second board slot interface when the interface information of the second board card comprises the second board slot interface.

Optionally, in some embodiments of the present invention, the first determining module 301 is further configured to determine, from a mapping relationship library between pre-constructed boards and hardware, a third board slot interface pre-configured for the first board;

and the establishing module is also used for establishing the connection relationship between the third plate slot interface and the second plate slot interface.

Optionally, in some embodiments of the present invention, the second determining module 303 is further configured to, when the interface information of the second board card does not include the second board slot interface, and the first board slot interface has a connection relationship with the third board card, determine the first board slot interface as the second board slot interface of the second board card according to a pre-established board slot interface type database and a pre-established interconnection relationship library of slot interfaces, so as to obtain the connection relationship between the first board slot interface and the second board card.

Alternatively, in some embodiments of the present invention,

the first determining module 301 is further configured to determine a third board slot interface preconfigured by the first board card from a mapping relationship library between the board card and the hardware, where the mapping relationship library is constructed in advance;

and the establishing module is further used for establishing the connection relation between the third board slot interface and the second board slot interface when the connection information of the third board slot interface does not include the connection relation between the third board slot interface and the third board card.

The device for determining the connection relationship provided by the embodiment of the invention is used for determining a first board slot interface pre-configured by a first board card from a pre-constructed mapping relationship library between the board card and hardware through a first determination module; the relationship determining module is used for determining whether the first board slot interface and the third board card have a connection relationship when the interface information of the second board card does not comprise the second board slot interface; the second determining module is configured to determine the first board slot interface as the second board slot interface of the second board card when the interface information of the second board card does not include the second board slot interface and the connection information of the first board slot interface does not include the connection relationship between the first board slot interface and the third board card, so as to obtain the connection relationship between the first board slot interface and the second board card, and improve expandability and maintainability of the board card configured in the communication device.

The road condition determining apparatus provided in the embodiment of the present invention executes each step in the method shown in fig. 1 or fig. 2, and can achieve the purpose of improving expandability and maintainability of the configuration board card in the communication device. For brevity, detailed description is omitted here.

Fig. 4 shows a hardware structure diagram of an electronic device according to an embodiment of the present invention.

The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

Specifically, the processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.

Memory 402 may include mass storage for data or instructions. By way of example, and not limitation, memory 402 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 402 may include removable or non-removable (or fixed) media, where appropriate. The memory 402 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.

The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any one of the connection relation determination methods in the embodiments shown in fig. 1 or fig. 2.

In one example, the electronic device may also include a communication interface 403 and a bus 410. As shown in fig. 4, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 to complete communication therebetween.

The communication interface 403 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.

Bus 410 includes hardware, software, or both to couple the components of the electronic device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 410 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.

The electronic device may execute the method for determining the connection relationship in the embodiment of the present invention, so as to implement the method for determining the connection relationship described in conjunction with fig. 1 or fig. 2.

In addition, in combination with the method for determining the connection relationship in the foregoing embodiments, the embodiments of the present invention may be implemented by providing a computer storage medium. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the methods of connection relationship determination described in the above embodiments.

It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.

The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.

It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.

As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:连接关系确定的方法、装置、系统及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!