CN107257444B - A kind of host interface adaptive approach and device - Google Patents

A kind of host interface adaptive approach and device Download PDF

Info

Publication number
CN107257444B
CN107257444B CN201710318936.2A CN201710318936A CN107257444B CN 107257444 B CN107257444 B CN 107257444B CN 201710318936 A CN201710318936 A CN 201710318936A CN 107257444 B CN107257444 B CN 107257444B
Authority
CN
China
Prior art keywords
expander
product information
output
input
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710318936.2A
Other languages
Chinese (zh)
Other versions
CN107257444A (en
Inventor
官振住
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Meikai Information Technology Ltd By Share Ltd
Original Assignee
Guangzhou Meikai Information Technology Ltd By Share Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Meikai Information Technology Ltd By Share Ltd filed Critical Guangzhou Meikai Information Technology Ltd By Share Ltd
Priority to CN201710318936.2A priority Critical patent/CN107257444B/en
Publication of CN107257444A publication Critical patent/CN107257444A/en
Application granted granted Critical
Publication of CN107257444B publication Critical patent/CN107257444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Systems (AREA)
  • Studio Circuits (AREA)

Abstract

The invention discloses a kind of host interface adaptive approach and device, method to include:The product information and unique designation code of all expanders are obtained, and the product information of each expander and its unique designation code are bound;By the expander access host arbitrary port, according to the self-defined identification code for generating each expander of the product information of expander and unique designation code, and by the identity assignments to corresponding expander, identification code is bound with the unique designation code of corresponding expander;Judge that the attribute of each expander, the attribute of each expander remain unchanged during the expander access host all of the port according to the identification code of each expander, the attribute of the expander is that vision signal inputs or vision signal exports.The present invention can realize user according to demand by the arbitrary port of host as input or output, and set signal connection will not change, without input and the number of output equity.

Description

A kind of host interface adaptive approach and device
Technical field
The present invention relates to interface identification technology field more particularly to a kind of host interface adaptive approach and device.
Background technology
Video matrix switcher is exclusively for the switching of vision signal and the high-performance smart matrix equipment that designs, and having can The multi-channel video of extension inputs, multi-channel video output.Video matrix switcher on the market supports fixed input and output, such as 32 Go out into 32 and (support 32 road signal inputs and 32 road signal outputs).When the channel of host in the case of certain amount (such as 64), input and output quantity has been fixed, input quantity either the number of output be more than quantity input quantity or the number of output without Extended capability can only replace the host of bigger input and output quantity, increase follow-up operation cost.It is defeated to abandon video matrix switcher Enter or output port when something goes wrong, not only to replace port, and need by host replace configuration could restore original There is signal, this emergency processing is time-consuming and laborious.
Invention content
For overcome the deficiencies in the prior art, it is adaptively square that one of the objects of the present invention is to provide a kind of host interface Method, can not waste host port, and all of the port adaptive can should be input or output.
The second object of the present invention is to provide a kind of host interface self-reacting device, can achieve the object of the present invention it One.
An object of the present invention is realized using following technical scheme:
A kind of host interface adaptive approach, includes the following steps:
S1:Obtain the product information and unique designation code of all expanders;
S2:By the expander access host arbitrary port, made by oneself according to the product information of expander and unique designation code Justice generates the identification code of each expander, and by the identity assignments to corresponding expander, the identification code with it is corresponding Unique designation code and product information the binding storage of expander;
S3:The attribute of each expander is judged according to the identification code of each expander, the attribute of each expander is in the expansion It is remained unchanged during exhibition device access host all of the port, the attribute of the expander is that vision signal inputs or video is believed Number output, wherein vision signal input expander be input expander, vision signal output expander be output extend Device.
Preferably, the product information includes the model of input expander and output expander, software version number.
The second object of the present invention is realized using following technical scheme:
A kind of host interface self-reacting device, including such as lower unit:
Acquiring unit:Product information for obtaining all expanders and unique designation code;
Access unit:For by the expander access host arbitrary port, according to the product information of expander and unique The self-defined identification code for generating each expander of identity code, and by the identity assignments to corresponding expander, the knowledge Other code is bound with the unique designation code and product information of corresponding expander and is stored;
Transmission unit:Attribute for judging each expander according to the identification code of each expander, each expander Attribute remains unchanged during the expander access host all of the port, and the attribute of the expander is that vision signal is defeated Enter or vision signal exports, wherein the expander of vision signal input is input expander, and the expander of vision signal output is Output expander.
Preferably, the product information includes the model of input expander and output expander, software version number.
Compared with prior art, the beneficial effects of the present invention are:
The present invention can realize user according to demand by the arbitrary port of host as input or output, and remember extension The linking relationship of device, without input and the number of output equity, signal transmission is more convenient, host port utilization rate higher.
Description of the drawings
Fig. 1 is a kind of flow chart of host interface adaptive approach of the present invention.
Fig. 2 is the structure chart of the input expander of the present invention.
Fig. 3 is the structure chart of the output expander of the present invention.
Specific implementation mode
In the following, in conjunction with attached drawing and specific implementation mode, the present invention is described further:
Shown in Figure 1, the present invention provides a kind of host interface adaptive approach, and the host is for example attended a banquet cooperation management Host can be applied on video switching apparatus, may be implemented to input multiple-channel output all the way or multichannel input exports all the way.Tool For body, the present invention includes the following steps:
S1:Obtain the product information and unique designation code of all expanders;
There is each expander unique designation code, a status symbol of the unique designation code as expander to pass through Unique designation code can find the model of the hardware product of corresponding expander, software product version number etc., and can be with It realizes the licensing scheme of better software, the configuration and the input expander that access host can also be limited using unique designation code Corresponding computer/server, to improve the safety of system.Expander mentioned here includes that input expander and output are expanded Device is opened up, input expander is all connected with host with output expander.Expander itself all has processor, static memory, can compile Journey logical device etc., when the present invention transmits this field applied to video interface, expander has been also equipped with image interface chip, has regarded The input of frequency signaling interface or the output of video signal interface, it is logical that these modules composition enables expander to be established with host News.As shown in Fig. 2, input expander includes FPGA (i.e. above-mentioned programmable logic device), configuration chip, MCU, image interface core Piece, video signal input module, static memory module, memory modules, network interface and USB interactive units, video signal input module It is connect with FPGA by image interface chip, configuration chip is connect by MCU with FPGA, and static memory module is interacted by USB Unit is connect with FPGA, and memory modules and network interface are connect with FPGA.Equally, as shown in figure 3, output expander includes FPGA (i.e. above-mentioned programmable logic device), configuration chip, MCU, image interface chip, vision signal output module, static memory mould Block, memory modules, network interface and USB interactive units, vision signal output module are connect by image interface chip with FPGA, configuration Chip is connect by MCU with FPGA, and static memory module is connect by USB interactive units with FPGA, and memory modules and network interface are equal It is connect with FPGA.
In this step, host is previously stored with the product information of various expanders, product information and the binding of unique designation code The product information and unique designation code for being equivalent to each expander correspond, and form mapping in host, correspond to Relationship can obtain the product information of the expander by unique designation code immediately.
S2:By the expander access host arbitrary port, made by oneself according to the product information of expander and unique designation code Justice generates the identification code of each expander, and by the identity assignments to corresponding expander, the identification code with it is corresponding Unique designation code and product information the binding storage of expander;
When input expander, output expander and host communication, their unique designation code of main opportunity identification, you can know Version number's (namely product information) of other input expander, the model of output expander, software product, automatic point after identification With the identification code defined to input expander, output expander, signify as its identification exchanged with host, and main Machine is self-defined distribute identification code after can store the identification code, and binding related to the progress of unique designation code.In this step, The case where having included newly-increased expander, that is to say, that when there is newly-increased expander, and first self-defined generation identification Code.Namely during insertion, judge whether to need to redistribute identification code by the unique designation code of expander.
S3:The attribute of each expander is judged according to the identification code of each expander, the attribute of each expander is in the expansion It is remained unchanged during exhibition device access host all of the port, the attribute of the expander is vision signal input video or letter Number output, wherein vision signal input expander be input expander, vision signal output expander be output extend Device.
In this step, after the attribute for judging each expander, a transmission conditions are actually also needed to, according to transmission item Part, that is, relationship is established the link, video link and control link are established automatically.It is the defeated of the expander that signal inputs by attribute Enter the expander that signal transmission to corresponding attribute is signal output to be exported.
Such as to the customized identification code of one of input expander be 1001, to an output expander it is customized Identification code is 3001, and a customized identification code of output expander is 3002, it is assumed that transmission conditions 1001 identification code it is defeated Enter expander and correspond to 3001 and 3,002 two output expanders, then the signal that input expander is inputted is after host, host It distributes to 3001 and 3,002 two output expanders, realizes input two-way output all the way.It is of course possible to be the output of more multichannel, It can also be that the corresponding multiple-channel output of multichannel input or multichannel input correspondence export all the way, only illustrate here, be not to hair Bright done restriction.The all of the port of host realizes that the input of the roads X, the roads Y export, and the numerical value of X and Y can be distributed arbitrarily.
In this way, port all on host adaptive can should be input port or output port, support to appoint What irregular host configuration, without requiring the quantity of the output port of host equal with the quantity of input port, input with it is defeated The combination gone out is more arbitrarily and conveniently.
And when disconnecting expander, and accessing the defeated expander again, the expander is according to its attribute and original biography Defeated condition carries out signal transmission.
Such as identification code be 1001 input expander connect host the ports a when, disconnect the input expander and the ports a Connection, and the input expander is connected to the ports b of host, identification code and unique mark of the host according to the input expander Will code is compared with identification code and the unique designation code of binding in host is had stored in, if it find that there are consistent knowledges Other code and unique designation code, then the connection status before can recovering immediately, if that is, before the input expander in the ports a When connection, the output expander for being 3001 with identification code transmits signal, and when accessing the ports b at this time, which is 1001 Input expander is still transmitted with the output expander that identification code is 3001 and communicates, and the connection of set signal will not occur to appoint What changes, and maintains easily, provides product scalability.
On the other hand, the present invention also provides a kind of host interface self-reacting devices, corresponding with host interface adaptive approach, Including acquiring unit, access unit and transmission unit.Wherein, acquiring unit is used to obtain the product information and only of all expanders One identity code;Access unit is used for the expander access host arbitrary port, according to the product information of expander and uniquely The self-defined identification code for generating each expander of identity code, and by the identity assignments to corresponding expander, the knowledge Other code is bound with the unique designation code of corresponding expander;Transmission unit is used to judge each expand according to the identification code of each expander The attribute of device is opened up, the attribute of each expander remains unchanged during the expander access host all of the port, described The attribute of expander is that vision signal inputs or vision signal exports, wherein the expander of vision signal input is input expanding The expander of device, vision signal output is output expander.
Correspondingly, the said goods information also includes model, the software version number of input expander and output expander.But It is not limited in model and software version number.
It will be apparent to those skilled in the art that technical solution that can be as described above and design, make various other Corresponding change and deformation, and all these changes and deformation should all belong to the protection domain of the claims in the present invention Within.

Claims (4)

1. a kind of host interface adaptive approach, which is characterized in that include the following steps:
S1:Obtain the product information and unique designation code of all expanders;
S2:By the expander access host arbitrary port, according to the product information of expander and the self-defined life of unique designation code At the identification code of each expander, and by the identity assignments to corresponding expander, the identification code and corresponding extension Unique designation code and product information the binding storage of device;
S3:The attribute of each expander is judged according to the identification code of each expander, the attribute of each expander is in the expander It is remained unchanged during access host all of the port, the attribute of the expander is that vision signal inputs or vision signal is defeated Go out, wherein the expander of vision signal input is input expander, and the expander of vision signal output is output expander.
2. host interface adaptive approach as described in claim 1, which is characterized in that the product information includes input expanding The model of device and output expander, software version number.
3. a kind of host interface self-reacting device, which is characterized in that including such as lower unit:
Acquiring unit:Product information for obtaining all expanders and unique designation code;
Access unit:For by the expander access host arbitrary port, according to the product information and unique designation of expander The self-defined identification code for generating each expander of code, and by the identity assignments to corresponding expander, the identification code It binds and stores with the unique designation code and product information of corresponding expander;
Transmission unit:Attribute for judging each expander according to the identification code of each expander, the attribute of each expander Remained unchanged during the expander access host all of the port, the attribute of the expander be vision signal input or Vision signal exports, wherein the expander of vision signal input is input expander, and the expander of vision signal output is output Expander.
4. host interface self-reacting device as claimed in claim 3, which is characterized in that the product information includes input expanding The model of device and output expander, software version number.
CN201710318936.2A 2017-05-08 2017-05-08 A kind of host interface adaptive approach and device Active CN107257444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710318936.2A CN107257444B (en) 2017-05-08 2017-05-08 A kind of host interface adaptive approach and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710318936.2A CN107257444B (en) 2017-05-08 2017-05-08 A kind of host interface adaptive approach and device

Publications (2)

Publication Number Publication Date
CN107257444A CN107257444A (en) 2017-10-17
CN107257444B true CN107257444B (en) 2018-10-09

Family

ID=60027323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710318936.2A Active CN107257444B (en) 2017-05-08 2017-05-08 A kind of host interface adaptive approach and device

Country Status (1)

Country Link
CN (1) CN107257444B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582034A (en) * 2008-05-14 2009-11-18 英业达股份有限公司 Servo device and servo method for sharing basic input-output system
CN105302750A (en) * 2015-09-30 2016-02-03 联想(北京)有限公司 Interface function configuration method and electronic equipment
CN106059796A (en) * 2016-05-17 2016-10-26 中国建设银行股份有限公司 Business extension system and method
CN106161096A (en) * 2016-07-15 2016-11-23 北京奇虎科技有限公司 Port configuration method and device
CN106462678A (en) * 2014-06-11 2017-02-22 戴尔产品有限公司 Systems and methods for providing authentication using a managed input/output port

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842044B (en) * 2000-05-12 2013-06-12 汤姆森特许公司 Apparatus and method for improved device interoperability
CN1225685C (en) * 2003-04-16 2005-11-02 威盛电子股份有限公司 Wireless input device capable of supporting multiple hosts and its relevant method
CN101609442B (en) * 2009-06-17 2011-06-08 成都市华为赛门铁克科技有限公司 Interface self-adapting method, device and system thereof
EP2449417B1 (en) * 2009-06-30 2018-10-17 Telefonaktiebolaget LM Ericsson (publ) Method and arrangement handling pluggable modules and operating modes in a media converter system and pluggable module therefore
CN102098475A (en) * 2009-12-11 2011-06-15 鸿富锦精密工业(深圳)有限公司 Electronic equipment, and method for acquiring connecting relationship between interfaces and external equipment
KR20140053913A (en) * 2011-06-16 2014-05-08 테베오 인터랙티브 게엠베하 Method and device for the authentication of users of a hybrid terminal
CN103647917B (en) * 2013-12-23 2017-02-22 乐视致新电子科技(天津)有限公司 Expansion device of television input/output interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582034A (en) * 2008-05-14 2009-11-18 英业达股份有限公司 Servo device and servo method for sharing basic input-output system
CN106462678A (en) * 2014-06-11 2017-02-22 戴尔产品有限公司 Systems and methods for providing authentication using a managed input/output port
CN105302750A (en) * 2015-09-30 2016-02-03 联想(北京)有限公司 Interface function configuration method and electronic equipment
CN106059796A (en) * 2016-05-17 2016-10-26 中国建设银行股份有限公司 Business extension system and method
CN106161096A (en) * 2016-07-15 2016-11-23 北京奇虎科技有限公司 Port configuration method and device

Also Published As

Publication number Publication date
CN107257444A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN108733681B (en) Information processing method and device
CN105354314B (en) Data migration method and device
CA2386272A1 (en) Collaborative design
CN105955970A (en) Log analysis-based database copying method and device
CN107977396B (en) Method and device for updating data table of KeyValue database
CN103744906A (en) System, method and device for data synchronization
CN104866522A (en) Method and device for providing answer information for questioner
CN102866954B (en) The method of Memory Allocation and device
CN104462121A (en) Data processing method, device and system
CN109508355A (en) A kind of data pick-up method, system and terminal device
CN105450705A (en) Service data processing method and apparatus
CN106155769A (en) A kind of workflow processing method, device and workflow engine
CN108153719A (en) Merge the method and apparatus of electrical form
CN107291925A (en) A kind of examination & approval data intermediate processing based on business model
CN103324713A (en) Data processing method and device in multistage server and data processing system
CN104598293B (en) A kind of method and apparatus of online snapshot
CN115858488A (en) Parallel migration method and device based on data governance and readable medium
CN104123376B (en) A kind of intelligent text collecting method and system based on row template
CN107257444B (en) A kind of host interface adaptive approach and device
CN104063545A (en) Method and system for dynamically displaying process tracing diagram
CN117093619A (en) Rule engine processing method and device, electronic equipment and storage medium
CN104978027A (en) Information processing method and wearable electronic device
CN105991608B (en) Method for processing business, device and the distributed apparatus of distributed apparatus
CN104808970A (en) Method and system for realizing internationalized software
CN114579506A (en) Inter-processor communication method, system, storage medium, and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant