CN104410909B - Application method of the linux system software module in TVOS systems - Google Patents
Application method of the linux system software module in TVOS systems Download PDFInfo
- Publication number
- CN104410909B CN104410909B CN201410701517.3A CN201410701517A CN104410909B CN 104410909 B CN104410909 B CN 104410909B CN 201410701517 A CN201410701517 A CN 201410701517A CN 104410909 B CN104410909 B CN 104410909B
- Authority
- CN
- China
- Prior art keywords
- tvos
- linux
- server
- systems
- client
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4432—Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/241—Operating system [OS] processes, e.g. server setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of application method of linux system software module in TVOS systems, comprise the following steps, establish Linux_TVOS bridges;After the startup of TVOS systems, the TVOS ends server of Linux_TVOS bridges is registered;If succeeding in registration, operation TVOS ends server, Linux ends server, monitoring information;When client call request occur in the TVOS ends or Linux ends that listen to Linux_TVOS bridges, corresponding server receives request;Server carries out protocol analysis to the call request information for receiving client, and result is fed back to the client for sending call request;After TVOS system closedowns, stop and nullify the server of Linux_TVOS bridges.The present invention is realized and mutually called between two kinds of different C java standard libraries under TVOS systems and linux system, is had a good application prospect.
Description
Technical field
The present invention relates to a kind of application method of linux system software module in TVOS systems, belong to Intelligent set top box
Technical field.
Background technology
As information technology quickly develops and extensive use, the information-based notable spy for turning into global economic and social development
Sign, and progressively to comprehensive social change evolution, information security is to need to solve during all trades and professions realize informationization
Matter of utmost importance.
In order to meet intelligent television industry development demand, the safety intelligent that have developed towards TV applications is led by Guang Ke institutes
Can TV operation system(TVOS), and radio, TV and film industries will be applied to.At present, ripe TV set-top box producer is on machine top for many years
In box evolution, largely stable kernel software module and various third party libraries have accumulated under linux system, but due to
The TVOS operating systems of Guang Ke institutes research and development and its bottom (SuSE) Linux OS use different C standards, in bottom linux system
The C storehouses of lower compiling, can not be used in TVOS systems, the module for causing these to be compiled under linux system, in TVOS systems
The lower difficulty of system is had place to show one's prowess, using being inconvenient.
The content of the invention
The purpose of the present invention overcomes the software module done in TV set-top box producer and compiled under traditional linux system,
It can not be used in TVOS systems, the problem of band is many inconvenient.The linux system software module of the present invention is in TVOS systems
Application method, Linxu_TVOS bridges are established, realized mutual between two kinds of different C java standard libraries under TVOS systems and linux system
Call, the software module compiled under the traditional linux system of convenient use, save trouble and labor, there is cross operating system to call, across volume
The characteristics of system is called, reliability is high and stability is high is translated, is had a good application prospect.
In order to achieve the above object, the technical solution adopted in the present invention is:
A kind of application method of linux system software module in TVOS systems, it is characterised in that:Comprise the following steps,
Step(1), the Linux_TVOS bridges that linux system is connected with TVOS systems are established, Linux_TVOS bridges
Linux ends are connected with the server in linux system or client, TVOS ends and corresponding client or clothes in TVOS systems
Business device is connected, and wherein Linux system server is corresponding with TVOS system clients, TVOS system servers and Linux systems
Client of uniting is corresponding;
Step(2), after the startup of TVOS systems, register the TVOS ends server of Linux_TVOS bridges;
Step(3)If succeeding in registration, operation TVOS ends server, start Linux ends server, monitoring information;If registration
Failure, exits TVOS systems;
Step(4), it is right when client call request occur in the TVOS ends or Linux ends that listen to Linux_TVOS bridges
The server answered receives request;
Step(5), corresponding server carries out protocol analysis to the call request information for receiving client, and according to association
View is handled, and result is fed back to the client for sending call request;
Step(6), after TVOS system closedowns, stop and nullify the server of Linux_TVOS bridges.
Application method of the foregoing linux system software module in TVOS systems, it is characterised in that:The step(1)
The process for establishing the Linux_TVOS bridges that linux system is connected with TVOS systems is to establish between client and server
Invocation protocol, invocation protocol is identical with the interface function that the software module under linux system provides, and invocation protocol includes agreement letter
Several ID, each function parameter sequence and return values, the ID of the protocol function, each function parameter sequence are passed through by client
Linux_TVOS bridges are delivered to server, and return value is delivered to client by server, invocation protocol by shared drive from
One end of Linux_TVOS bridges is delivered to the other end.
Application method of the foregoing linux system software module in TVOS systems, it is characterised in that:The step(5)
Server carries out protocol analysis to the client call solicited message of reception, and is handled according to agreement, provided with synchronous and different
Walk two kinds of processing modes:Synchronization process mode, which is that server feeds back to result by return value, sends call request
Client;Under asynchronous process mode, the call request for the client that server passes through this side, result is fed back into offside
Server, the server of offside is to using feedback processing result.
The beneficial effects of the invention are as follows:Application method of the linux system software module of the present invention in TVOS systems, builds
Found Linxu_TVOS bridges, also known as LTTB (Linux To TVOS Bridge, Linux to TVOS bridge), realize TVOS systems and
Mutually called between two kinds of different C java standard libraries under linux system, the software mould compiled under the traditional linux system of convenient use
Block, save trouble and labor, there is the characteristics of cross operating system calling, across compiling system calling, reliability are high and stability is high, have good
Good application prospect.
Brief description of the drawings
Fig. 1 is the flow chart of application method of the linux system software module of the present invention in TVOS systems.
Fig. 2 is the schematic diagram of the server sync processing mode of the present invention.
Fig. 3 is the schematic diagram of the server asynchronous process mode of the present invention.
Embodiment
Below in conjunction with Figure of description, the invention will be further described.Following examples are only used for clearly
Illustrate technical scheme, and can not be limited the scope of the invention with this.
Application method of the linux system software module of the present invention in TVOS systems, establishes Linxu_TVOS bridges, again
Claim LTTB (Linux To TVOS Bridge, Linux to TVOS bridge), realize two kinds of differences under TVOS systems and linux system
Mutually call, the software module compiled under the traditional linux system of convenient use, save trouble and labor, have across behaviour between C java standard libraries
Make the characteristics of system calling, across compiling system calling, reliability are high and stability is high, Linux_TVOS bridges use Linux systems
System shared drive, realizes TVOS systems (operating system established on bottom Linux, data between TVOS systems and linux system
Interaction, reach the purpose using original Linux storehouses), as shown in figure 1, following steps are specifically included,
Step(1), the Linux_TVOS bridges that linux system is connected with TVOS systems are established, Linux_TVOS bridges
Linux ends are connected with the server in linux system or client, TVOS ends and corresponding client or clothes in TVOS systems
Business device is connected, and wherein Linux system server is corresponding with TVOS system clients, TVOS system servers and Linux systems
Client of uniting is corresponding, wherein Linux_TVOS bridges, also known as LTTB (Linux To TVOS Bridge, Linux to TVOS bridge)
It is made up of three parts:The body of a bridge, client and service end, the wherein body of a bridge are responsible for transmitting data between client and service end.Bridge
User and client in homonymy, the user of bridge can be the application in TVOS systems or the mould in linux system
Block, the process for establishing the Linux_TVOS bridges that linux system is connected with TVOS systems are to establish between client and server
Invocation protocol, invocation protocol with linux system software module provide interface function it is identical, invocation protocol includes agreement
The ID of function, each function parameter sequence and return value, the ID of the protocol function, each function parameter sequence are passed through by client
Linux_TVOS bridges are delivered to server, and return value is delivered to client by server, invocation protocol by shared drive from
One end of Linux_TVOS bridges is delivered to the other end;
Step(2), after the startup of TVOS systems, register the TVOS ends server of Linux_TVOS bridges;
Step(3)If succeeding in registration, operation TVOS ends server, start Linux ends server, monitoring information;If registration
Failure, exits TVOS systems;
Step(4), it is right when client call request occur in the TVOS ends or Linux ends that listen to Linux_TVOS bridges
The server answered receives request;
Step(5), corresponding server carries out protocol analysis to the call request information for receiving client, and according to association
View is handled, and result is fed back to the client for sending call request;
Step(6), after TVOS system closedowns, stop and nullify the server of Linux_TVOS bridges.
Wherein, step(5)Service end carries out protocol analysis to the client call solicited message of reception, and is entered according to agreement
Row processing, provided with synchronous and asynchronous two kinds of processing modes, as shown in Fig. 2 synchronization process mode is that server leads to result
Cross return value and feed back to the client for sending call request;As shown in figure 3, under asynchronous process mode, server passes through this side
The call request of client, result is fed back to the server of offside, the server of offside to applying feedback processing result,
Wherein server and client side's is corresponding, and the client of this side is corresponding with the server of offside.
General principle, the main features and advantages of the present invention have been shown and described above.The technical staff of the industry should
Understand, the present invention is not limited to the above embodiments, the original for simply illustrating the present invention described in above-described embodiment and specification
Reason, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes and improvements
It all fall within the protetion scope of the claimed invention.The claimed scope of the invention is by appended claims and its equivalent circle
It is fixed.
Claims (2)
- A kind of 1. application method of linux system software module in TVOS systems, it is characterised in that:Comprise the following steps,Step(1), the Linux_TVOS bridges that linux system is connected with TVOS systems are established, realize TVOS systems and Linux systems Unite and mutually call between lower two kinds different C java standard libraries, the Linux ends of Linux_TVOS bridges and the server in linux system or Client is connected, and TVOS ends are connected with corresponding client in TVOS systems or server, wherein Linux system server Corresponding with TVOS system clients, TVOS system servers are corresponding with linux system client;Step(2), after the startup of TVOS systems, register the TVOS ends server of Linux_TVOS bridges;Step(3)If succeeding in registration, operation TVOS ends server, start Linux ends server, monitoring information;If registration is lost Lose, exit TVOS systems;Step(4), it is corresponding when client call request occur in the TVOS ends or Linux ends that listen to Linux_TVOS bridges Server receives request;Step(5), corresponding server carries out protocol analysis to the call request information for receiving client, and is entered according to agreement Row processing, and result is fed back to the client for sending call request;Step(6), after TVOS system closedowns, stop and nullify the server of Linux_TVOS bridges;The step(1)The process for establishing the Linux_TVOS bridges that linux system is connected with TVOS systems is to establish client Invocation protocol between server, invocation protocol is identical with the interface function that the software module under linux system provides, and calls Agreement includes ID, each function parameter sequence and the return value of protocol function, the ID of the protocol function, each function parameter sequence by Client is delivered to server by Linux_TVOS bridges, and return value is delivered to client by server, and invocation protocol passes through altogether Enjoy internal memory and be delivered to the other end from one end of Linux_TVOS bridges.
- 2. application method of the linux system software module according to claim 1 in TVOS systems, it is characterised in that: The step(5)Server carries out protocol analysis to the client call solicited message of reception, and is handled according to agreement, if There are synchronous and asynchronous two kinds of processing modes:Synchronization process mode, which is that server feeds back to result by return value, to be sent The client of call request;Under asynchronous process mode, the call request for the client that server passes through this side is anti-by result Feed the server of offside, application of the server into TVOS systems of offside or the module feedback processing in linux system As a result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410701517.3A CN104410909B (en) | 2014-11-28 | 2014-11-28 | Application method of the linux system software module in TVOS systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410701517.3A CN104410909B (en) | 2014-11-28 | 2014-11-28 | Application method of the linux system software module in TVOS systems |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104410909A CN104410909A (en) | 2015-03-11 |
CN104410909B true CN104410909B (en) | 2018-01-09 |
Family
ID=52648493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410701517.3A Active CN104410909B (en) | 2014-11-28 | 2014-11-28 | Application method of the linux system software module in TVOS systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104410909B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1470988A (en) * | 2002-07-25 | 2004-01-28 | 梁肇新 | Inter-process calling gate technique |
CN101216814A (en) * | 2007-12-26 | 2008-07-09 | 杭州华三通信技术有限公司 | Communication method and system of multi-nuclear multi-operating system |
CN101847105A (en) * | 2009-03-26 | 2010-09-29 | 联想(北京)有限公司 | Computer and internal memory sharing method of a plurality of operation systems |
CN102110196A (en) * | 2009-12-25 | 2011-06-29 | 中国长城计算机深圳股份有限公司 | Method and system for safely transmitting data among parallel-running multiple user operating systems |
WO2012044558A2 (en) * | 2010-10-01 | 2012-04-05 | Imerj, Llc | Cross-environment communication framework |
CN102999322A (en) * | 2011-09-16 | 2013-03-27 | 深圳市吉阳自动化科技有限公司 | Software interface design method of industrial controller |
-
2014
- 2014-11-28 CN CN201410701517.3A patent/CN104410909B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1470988A (en) * | 2002-07-25 | 2004-01-28 | 梁肇新 | Inter-process calling gate technique |
CN101216814A (en) * | 2007-12-26 | 2008-07-09 | 杭州华三通信技术有限公司 | Communication method and system of multi-nuclear multi-operating system |
CN101847105A (en) * | 2009-03-26 | 2010-09-29 | 联想(北京)有限公司 | Computer and internal memory sharing method of a plurality of operation systems |
CN102110196A (en) * | 2009-12-25 | 2011-06-29 | 中国长城计算机深圳股份有限公司 | Method and system for safely transmitting data among parallel-running multiple user operating systems |
WO2012044558A2 (en) * | 2010-10-01 | 2012-04-05 | Imerj, Llc | Cross-environment communication framework |
CN102999322A (en) * | 2011-09-16 | 2013-03-27 | 深圳市吉阳自动化科技有限公司 | Software interface design method of industrial controller |
Non-Patent Citations (1)
Title |
---|
XenRPC:虚拟机远程过程调用系统研究;彭萃芬;《中国优秀硕士学位论文全文数据库信息科技辑》;20110415;摘要,正文第16页第1行-第19页第31行,第25页第3行-第29行 * |
Also Published As
Publication number | Publication date |
---|---|
CN104410909A (en) | 2015-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7463544B2 (en) | Blockchain message processing method, apparatus, computer device, and computer program | |
EP3223481B1 (en) | Packet processing system and method | |
CN107306263B (en) | Protocol conversion method, platform and protocol conversion gateway | |
CN106101258B (en) | Interface calling method, device and system of hybrid cloud | |
CN110213652B (en) | Audio and video data transmission method and device and storage medium | |
GB2616377A (en) | Intelligent data plane acceleration by offloading to distributed smart network interfaces | |
WO2016127793A1 (en) | Message sending method, apparatus, system, and server | |
CN109246220B (en) | Message pushing system and method | |
WO2020147301A1 (en) | Method and apparatus for implementing multi-tenant service access, and electronic device | |
CN103281359A (en) | Cloud desktop system and operating method | |
CN106230922A (en) | A kind of news subscribing method, message production unit and message reception units | |
CN105528254A (en) | Business processing method and apparatus | |
US20160182440A1 (en) | Terminal Status Subscription Method, Apparatus, and System | |
EP3091712B1 (en) | Smart device for realizing multiple-device collaboration and working method for multiple-device collaboration | |
CN109040178A (en) | Configuration information transmitting method and device | |
CN105005469B (en) | A kind of Non-blocking call method based on Zookeeper and RabbitMQ | |
CN106161652A (en) | Privately owned cloud platform based on Zstack request and dispatching method thereof | |
CN105516250A (en) | Internet-of-things service invoking platform and system | |
CN105407166A (en) | Communication implementation method and system for wearable equipment | |
CN107592554A (en) | Live video retransmission method and device | |
CN104410909B (en) | Application method of the linux system software module in TVOS systems | |
CN108076535B (en) | Method, device, terminal and storage medium for controlling radio resource control connection | |
CN110113298A (en) | Data transmission method, device, signal server and computer-readable medium | |
CN104518988A (en) | Method and system for priority processing of messages | |
US9374391B2 (en) | Composite endpoint mechanism |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |