CN106775897A - A kind of driver for Set Top Box starts method and system - Google Patents
A kind of driver for Set Top Box starts method and system Download PDFInfo
- Publication number
- CN106775897A CN106775897A CN201710026021.4A CN201710026021A CN106775897A CN 106775897 A CN106775897 A CN 106775897A CN 201710026021 A CN201710026021 A CN 201710026021A CN 106775897 A CN106775897 A CN 106775897A
- Authority
- CN
- China
- Prior art keywords
- driver
- configuration file
- communication apparatus
- top box
- set top
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Start method and system the present invention relates to field of set-top, more particularly to a kind of driver for Set Top Box.The present invention is by S1, the processor model of identification Set Top Box and communication apparatus model;S2, acquisition default driving configuration file corresponding with the processor model, obtain the first driving configuration file;S3, the first end slogan for obtaining connection processor and communication apparatus;First end slogan write-in described first is driven into configuration file, the second driving configuration file is obtained;S4, the value that the described second drive pate parameter for driving configuration file is set according to the communication apparatus model, obtain the 3rd driving configuration file;S5, configuration file is driven to start corresponding with communication apparatus model driver according to the described 3rd.For the Set Top Box with different model processor provides a kind of method of the driver of general automatic loading different model communication apparatus.
Description
Technical field
Start method and system the present invention relates to field of set-top, more particularly to a kind of driver for Set Top Box.
Background technology
Existing Set Top Box generally includes WIFI module and bluetooth module, but a certain specific model often occurs in the market
WIFI module or the not enough situation of the bluetooth module supply of material.Therefore, Set Top Box needs the WIFI module or bluetooth of compatible Multiple Type
Module is meeting the market demand.But, changing a WIFI module or bluetooth module need to simultaneously change software and hardware, during consuming
Between and cost is big.
The content of the invention
The technical problems to be solved by the invention are:For the Set Top Box with different model processor provides a kind of general
The method of the driver of automatic loading different model communication apparatus.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:
The present invention provides a kind of driver for Set Top Box and starts method, including:
S1, the processor model of identification Set Top Box and communication apparatus model;
S2, acquisition default driving configuration file corresponding with the processor model, obtain the first driving configuration file;
S3, the first end slogan for obtaining connection processor and communication apparatus;The first end slogan is write described first
Configuration file is driven, the second driving configuration file is obtained;
S4, the described second drive pate parameter for driving configuration file is set according to the communication apparatus model
Value, obtains the 3rd driving configuration file;
S5, configuration file is driven to start corresponding with communication apparatus model driver according to the described 3rd.
The present invention also provides a kind of driver activation system for Set Top Box, including:
Identification module, processor model and communication apparatus model for recognizing Set Top Box;
Acquisition module, for obtaining default driving configuration file corresponding with the processor model, obtains the first driving
Configuration file;
Writing module, the first end slogan for obtaining connection processor and communication apparatus;The first end slogan is write
Enter described first and drive configuration file, obtain the second driving configuration file;
Setup module, for setting the described second driver road for driving configuration file according to the communication apparatus model
The value of footpath parameter, obtains the 3rd driving configuration file;
Starting module, for driving configuration file to start driving corresponding with the communication apparatus model according to the described 3rd
Program.
The beneficial effects of the present invention are:Processor model and communication apparatus model according to Set Top Box, it is automatic set with
Processor model is corresponding drive in configuration file the communication port numbers parameter value that is communicated with communication apparatus of processor and with communication
The corresponding drive pate parameter value of equipment, corresponding driver is started further according to the configuration file, is embodied as with not
The Set Top Box of same model processor provides a kind of method of the driver of general automatic loading different model communication apparatus, carries
High is the efficiency and convenience that Set Top Box changes different model communication apparatus.
Brief description of the drawings
A kind of flow chart element of the specific embodiment of driving compatibility method for Set Top Box that Fig. 1 is provided for the present invention
Figure;
A kind of structural frames of the specific embodiment of driving compatible system for Set Top Box that Fig. 2 is provided for the present invention
Figure;
Label declaration:
1st, identification module;2nd, acquisition module;3rd, writing module;4th, setup module;5th, starting module.
Specific embodiment
It is to describe technology contents of the invention, the objects and the effects in detail, below in conjunction with implementation method and coordinates attached
Figure is explained.
The design of most critical of the present invention is:Processor model and communication apparatus model according to Set Top Box, automatically configure
Corresponding driving configuration file, corresponding driver is started further according to the driving configuration file.
As shown in figure 1, the present invention provides a kind of driver for Set Top Box starts method, including:
S1, the processor model of identification Set Top Box and communication apparatus model;
S2, acquisition default driving configuration file corresponding with the processor model, obtain the first driving configuration file;
S3, the first end slogan for obtaining connection processor and communication apparatus;The first end slogan is write described first
Configuration file is driven, the second driving configuration file is obtained;
S4, the described second drive pate parameter for driving configuration file is set according to the communication apparatus model
Value, obtains the 3rd driving configuration file;
S5, configuration file is driven to start corresponding with communication apparatus model driver according to the described 3rd.
Further, the first end slogan of connection processor and communication apparatus is obtained, specially:
From the port numbers for increasing traversal Set Top Box since 0, second port number is obtained;
If the type type phase corresponding with the communication apparatus model of the communication apparatus connected with the second port number
Together, then the first end slogan is set for the second port number.Further, the S4 is specially:
Driver in search Set Top Box, obtains Search Results;The Search Results include driver title and the
Two drive pates;
The communication apparatus model and the driver title are matched in the Search Results, if the match is successful,
The value that drive pate corresponding with the driver title is the drive pate parameter is set.
Seen from the above description, the path where obtaining the driver matched with communication apparatus model automatically is realized.
Further, the S5 is specially:
Value according to the drive pate parameter loads corresponding driver.
Seen from the above description, automatic load driver program is realized.
Further, also include:
Add driver and drive configuration file to preset path.
Seen from the above description, by the corresponding driver of existing communication apparatus model, and its driver from it is different
The corresponding configuration file of processor model is stored into preset path.The communication apparatus includes WIFI module and bluetooth module.
With the development of science and technology, text can be configured to adding the corresponding driver of new model communication apparatus in preset path and driving
Part so that expansible Set Top Box can be compatible communication apparatus.
As shown in Fig. 2 the present invention also provides a kind of driver activation system for Set Top Box, including:
Identification module 1, processor model and communication apparatus model for recognizing Set Top Box;
Acquisition module 2, for obtaining default driving configuration file corresponding with the processor model, obtains the first driving
Configuration file;
Writing module 3, the first end slogan for obtaining connection processor and communication apparatus;The first end slogan is write
Enter described first and drive configuration file, obtain the second driving configuration file;
Setup module 4, for setting the described second driver for driving configuration file according to the communication apparatus model
The value of path parameter, obtains the 3rd driving configuration file;
Starting module 5, for driving configuration file to start drive corresponding with the communication apparatus model according to the described 3rd
Dynamic program.
Further, said write module includes:
Traversal Unit, from the port numbers for increasing traversal Set Top Box, second port number is obtained for since 0;
Setting unit, if the type and the communication apparatus model of the communication apparatus for being connected with the second port number
Corresponding type is identical, then set the first end slogan for the second port number.
Further, the setup module includes:
Search unit, for the driver searched in Set Top Box, obtains Search Results;The Search Results include driving
Program name and the second drive pate;
Matching unit, for matching the communication apparatus model and the driver title in the Search Results,
If the match is successful, it is the drive pate parameter to set drive pate corresponding with the driver title
Value.
Further, the starting module includes:
Loading unit, for loading corresponding driver according to the value of the drive pate parameter.
Further, also include:
Add module, for adding driver and driving configuration file to preset path.
Seen from the above description, by the driver activation system provided by the present invention for Set Top Box, basis is realized
The processor model and the corresponding driver of communication apparatus model automatic running of Set Top Box so that the compatible various types of Set Top Box
Number communication apparatus.
Embodiments of the invention one are:
S1, addition driver and configuration file is driven to preset path;
S2, the processor model of identification Set Top Box and communication apparatus model;
S3, acquisition default driving configuration file corresponding with the processor model, obtain the first driving configuration file;
S4, the first end slogan for obtaining connection processor and communication apparatus;The first end slogan is write described first
Configuration file is driven, the second driving configuration file is obtained;Specially:From the port numbers for increasing traversal Set Top Box since 0, the is obtained
Two-port netwerk number;If the type type phase corresponding with the communication apparatus model of the communication apparatus connected with the second port number
Together, then the first end slogan is set for the second port number;
S5, the described second drive pate parameter for driving configuration file is set according to the communication apparatus model
Value, obtains the 3rd driving configuration file;Specially:Driver in search Set Top Box, obtains Search Results;The search knot
Fruit includes driver title and the second drive pate;The communication apparatus model and institute are matched in the Search Results
Driver title is stated, if the match is successful, drive pate corresponding with the driver title is set for the drive
The value of dynamic program path parameter;
S6, configuration file is driven to start corresponding with communication apparatus model driver according to the described 3rd;Specifically
For:Value according to the drive pate parameter loads corresponding driver.
Embodiments of the invention two are:
The bluetooth module of preset AP series different model drives in SDK source codes, including AP6210/BT/
BCM20702.hcd, AP6330/BT/BCM4330.hcd and AP6212/BT/4343.hcd.And copy the driving of above-mentioned bluetooth module
Shellfish to operation fixer system catalogue under system/etc/bluetooth/.CPU models according to different manufacturers, it is preset corresponding
Configuration file is driven extremely to run under fixer system catalogue system/etc/bluetooth/, including Conf/bcm_usb_bt/bt_
Vendor.conf, Conf/moto/bt_vendor.conf and Conf/samsung/bt_vendor.conf.According to Android system
The environmental variance $ (PLATFORM) of system identifies that the processor model of Set Top Box is samsung.Corresponding interface parameter is set, is protected
Card corresponding interface communication is normal (such as uart baud rates), then is set by standard agreement (such as Bluetooth protocol HCI orders) interaction reading
The model BCM4330 of standby bluetooth module.From the port numbers for increasing traversal Set Top Box since 0, equipment is opened using system function, returned
Return value to continue to travel through less than 0, if return value is more than or equal to 0, represent that equipment is present;Device type is read, type character is judged
Content, type is defined as destination port number if meeting (such as bluetooth).By destination port number write-in configuration file Conf/
In samsung/bt_vendor.conf, equipment can be operated according to the destination port number, such as device power is to the equipment
Mode-control bit writes UPIO_BT_POWER_OFF, UPIO_BT_POWER_ON, by bottom control io operation powers.Search peace
All driver files in tall and erect system, and the model BCM4330 according to the bluetooth module for getting and the driving for searching
Program file carries out matching operation, and the value according to matching result configuration driver path parameter is system/etc/
bluetooth/AP6330/BT/BCM4330.hcd.Corresponding power function is called according to configuration file, completion is matched somebody with somebody accordingly
Put, and load corresponding driving BCM4330.hcd.
In sum, a kind of driver for Set Top Box that the present invention is provided starts method, according to the place of Set Top Box
Reason type number and communication apparatus model, processor sets with communication during driving configuration file corresponding with processor model is set automatically
The communication port numbers parameter value and drive pate parameter value corresponding with communication apparatus of standby communication, further according to the configuration file
Start corresponding driver, be embodied as the Set Top Box with different model processor and a kind of general automatic loading difference is provided
The method of the driver of model communication apparatus, improves the efficiency and facility that different model communication apparatus is changed for Set Top Box
Property.Further, realize that dynamic is communication apparatus assignment of port numbers.Further, automatic acquisition and communication apparatus model is realized
Path where the driver of matching.Further, realize what the processor for automatically configuring Set Top Box communicated with communication apparatus
Port numbers, and automatic load driver program.Further, realize expansible Set Top Box can be compatible communication apparatus.
Embodiments of the invention are the foregoing is only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
The equivalents that bright specification and accompanying drawing content are made, or the technical field of correlation is directly or indirectly used in, similarly include
In scope of patent protection of the invention.
Claims (10)
1. a kind of driver for Set Top Box starts method, it is characterised in that including:
S1, the processor model of identification Set Top Box and communication apparatus model;
S2, acquisition default driving configuration file corresponding with the processor model, obtain the first driving configuration file;
S3, the first end slogan for obtaining connection processor and communication apparatus;First end slogan write-in described first is driven
Configuration file, obtains the second driving configuration file;
S4, the value that the described second drive pate parameter for driving configuration file is set according to the communication apparatus model, obtain
Configuration file is driven to the 3rd;
S5, configuration file is driven to start corresponding with communication apparatus model driver according to the described 3rd.
2. the driver for Set Top Box according to claim 1 starts method, it is characterised in that obtain connection treatment
The first end slogan of device and communication apparatus, specially:
From the port numbers for increasing traversal Set Top Box since 0, second port number is obtained;
If the type type corresponding with the communication apparatus model with the communication apparatus that the second port number is connected is identical,
The first end slogan is set for the second port number.
3. the driver for Set Top Box according to claim 1 starts method, it is characterised in that the S4 is specific
For:
Driver in search Set Top Box, obtains Search Results;The Search Results include driver title and the second drive
Dynamic program path;
The communication apparatus model and the driver title are matched in the Search Results, if the match is successful, is set
Drive pate corresponding with the driver title is the value of the drive pate parameter.
4. the driver for Set Top Box according to claim 1 starts method, it is characterised in that the S5 is specific
For:
Value according to the drive pate parameter loads corresponding driver.
5. the driver for Set Top Box according to claim 1 starts method, it is characterised in that also include:
Add driver and drive configuration file to preset path.
6. a kind of driver activation system for Set Top Box, it is characterised in that including:
Identification module, processor model and communication apparatus model for recognizing Set Top Box;
Acquisition module, for obtaining default driving configuration file corresponding with the processor model, obtains the first driving configuration
File;
Writing module, the first end slogan for obtaining connection processor and communication apparatus;The first end slogan is write into institute
The first driving configuration file is stated, the second driving configuration file is obtained;
Setup module, for setting the described second drive pate ginseng for driving configuration file according to the communication apparatus model
Several values, obtains the 3rd driving configuration file;
Starting module, for driving configuration file to start driving journey corresponding with the communication apparatus model according to the described 3rd
Sequence.
7. the driver activation system for Set Top Box according to claim 6, it is characterised in that said write module
Including:
Traversal Unit, from the port numbers for increasing traversal Set Top Box, second port number is obtained for since 0;
Setting unit, if corresponding with the communication apparatus model for the type with the communication apparatus that the second port number is connected
Type it is identical, then the first end slogan is set for the second port number.
8. the driver activation system for Set Top Box according to claim 6, it is characterised in that the setup module
Including:
Search unit, for the driver searched in Set Top Box, obtains Search Results;The Search Results include driver
Title and the second drive pate;
Matching unit, for matching the communication apparatus model and the driver title in the Search Results, if
With success, then the value that drive pate corresponding with the driver title is the drive pate parameter is set.
9. the driver activation system for Set Top Box according to claim 6, it is characterised in that the starting module
Including:
Loading unit, for loading corresponding driver according to the value of the drive pate parameter.
10. the driver activation system for Set Top Box according to claim 6, it is characterised in that also include:
Add module, for adding driver and driving configuration file to preset path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710026021.4A CN106775897B (en) | 2017-01-13 | 2017-01-13 | Method and system for starting driver of set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710026021.4A CN106775897B (en) | 2017-01-13 | 2017-01-13 | Method and system for starting driver of set top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106775897A true CN106775897A (en) | 2017-05-31 |
CN106775897B CN106775897B (en) | 2020-10-13 |
Family
ID=58945839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710026021.4A Expired - Fee Related CN106775897B (en) | 2017-01-13 | 2017-01-13 | Method and system for starting driver of set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775897B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908430A (en) * | 2017-11-01 | 2018-04-13 | 福建新大陆支付技术有限公司 | A kind of method and POS machine of configuration POS file system |
CN108415857A (en) * | 2018-03-01 | 2018-08-17 | 合肥威艾尔智能技术有限公司 | A kind of universal process method of serial data |
CN111954039A (en) * | 2020-07-02 | 2020-11-17 | 深圳市华曦达科技股份有限公司 | Set top box Bluetooth configuration method and device, electronic equipment and storage medium |
CN112148376A (en) * | 2020-09-28 | 2020-12-29 | 上海摩勤智能技术有限公司 | Terminal starting method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100188215A1 (en) * | 2008-10-02 | 2010-07-29 | Certusview Technologies, Llc | Methods and apparatus for generating alerts on a marking device, based on comparing electronic marking information to facilities map information and/or other image information |
CN102413374A (en) * | 2006-08-18 | 2012-04-11 | 索尼株式会社 | Automatically reconfigurable multimedia system with interchangeable personality adapters |
CN103118281A (en) * | 2012-12-28 | 2013-05-22 | 四川九洲电器集团有限责任公司 | Set top box device and control method |
CN103412832A (en) * | 2013-08-27 | 2013-11-27 | 深圳市视维科技有限公司 | Automatic WIFI (Wireless Fidelity) adaptation method |
CN103914315A (en) * | 2012-12-31 | 2014-07-09 | 展讯通信(上海)有限公司 | Configuration method of drivers |
CN104980356A (en) * | 2014-04-09 | 2015-10-14 | 广西大学 | Integrated smart home router and control method |
CN105516239A (en) * | 2015-11-23 | 2016-04-20 | 王丽华 | Router integrated with smart home, and control method |
CN106020837A (en) * | 2016-05-27 | 2016-10-12 | 深圳创维数字技术有限公司 | Method and system for loading set top box drive |
-
2017
- 2017-01-13 CN CN201710026021.4A patent/CN106775897B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413374A (en) * | 2006-08-18 | 2012-04-11 | 索尼株式会社 | Automatically reconfigurable multimedia system with interchangeable personality adapters |
US20100188215A1 (en) * | 2008-10-02 | 2010-07-29 | Certusview Technologies, Llc | Methods and apparatus for generating alerts on a marking device, based on comparing electronic marking information to facilities map information and/or other image information |
CN103118281A (en) * | 2012-12-28 | 2013-05-22 | 四川九洲电器集团有限责任公司 | Set top box device and control method |
CN103914315A (en) * | 2012-12-31 | 2014-07-09 | 展讯通信(上海)有限公司 | Configuration method of drivers |
CN103412832A (en) * | 2013-08-27 | 2013-11-27 | 深圳市视维科技有限公司 | Automatic WIFI (Wireless Fidelity) adaptation method |
CN104980356A (en) * | 2014-04-09 | 2015-10-14 | 广西大学 | Integrated smart home router and control method |
CN105516239A (en) * | 2015-11-23 | 2016-04-20 | 王丽华 | Router integrated with smart home, and control method |
CN106020837A (en) * | 2016-05-27 | 2016-10-12 | 深圳创维数字技术有限公司 | Method and system for loading set top box drive |
Non-Patent Citations (1)
Title |
---|
刘国利: "基于MODBUS的DCS与PLC吹灰程控的通讯实现", 《湖北电力》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908430A (en) * | 2017-11-01 | 2018-04-13 | 福建新大陆支付技术有限公司 | A kind of method and POS machine of configuration POS file system |
CN107908430B (en) * | 2017-11-01 | 2022-08-30 | 福建新大陆支付技术有限公司 | Method for configuring POS file system and POS machine |
CN108415857A (en) * | 2018-03-01 | 2018-08-17 | 合肥威艾尔智能技术有限公司 | A kind of universal process method of serial data |
CN111954039A (en) * | 2020-07-02 | 2020-11-17 | 深圳市华曦达科技股份有限公司 | Set top box Bluetooth configuration method and device, electronic equipment and storage medium |
CN112148376A (en) * | 2020-09-28 | 2020-12-29 | 上海摩勤智能技术有限公司 | Terminal starting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106775897B (en) | 2020-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775897A (en) | A kind of driver for Set Top Box starts method and system | |
CN103853586B (en) | Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer | |
CN103544122B (en) | The cooperative system and its Synergistic method of a kind of interface adaptive matching | |
WO2017202338A1 (en) | Method and system for loading drive to set-top box | |
CN103914324A (en) | Method for automatically burning firmware of embedded equipment, and system thereof | |
CN103761129B (en) | Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer | |
CN109690514A (en) | The pluggable calculating of the host that can be automatically configured | |
CN109947482A (en) | A kind of loading method of USB device, storage medium and smart television | |
CN104133705B (en) | A kind of serial ports loads the system and method for PowerPC System guides files | |
CN107506269A (en) | The USB automated test tools and method of a kind of board | |
CN112181588A (en) | Application containerization method and device, electronic equipment and storage medium | |
CN108845839A (en) | Application page loading method, device and computer readable storage medium | |
CN105653330A (en) | SD card based NorFlash programming system and method | |
US20070168905A1 (en) | Networked linux machine and windows software development system | |
CN114138333B (en) | Program loading method and related device | |
CN109002331A (en) | Starting method, apparatus, computer equipment and the storage medium of touch screen | |
CN105224483B (en) | Data transmission method, electronic equipment and universal serial bus device | |
CN109710320A (en) | A kind of starting guidance BootLoader method of two-stage drive | |
CN110413298A (en) | The method that single-chip microcontroller serially upgrades and debugs is carried out based on Labwindows platform | |
CN107122219A (en) | The acquisition methods and device of installation file | |
CN103440334B (en) | Driver matching method and device of mobile terminal | |
CN104598237A (en) | Method and device for generating user interface in upgrade mode | |
CN110515671A (en) | Initial method, apparatus for initializing, terminal device and readable storage medium storing program for executing | |
CN110414651A (en) | Debug the method and device of smart card | |
CN102193802A (en) | Method for converting models with model subsets of same base class structure |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201013 Termination date: 20220113 |