Background technology
Development along with communication network technology and digital television techniques; People can make up one by server junctor top box in home-ranges; Connect each home appliance such as personal computer (PC in the family through STB again; Personal Computer), notebook computer, printer, DTV, mobile phone, personal digital assistant (PDA; Personal Digital Assistant), the digital home network of intelligent refrigerator, digital camera, MP3 player, CD/DVD, PMC (PMC, Portable Media Center), personal video recorder (PVR, Personal Video Recorder); Interconnect and content sharing between the home appliance in order to realizing, make things convenient for the user diversified business and application to be provided to the management of family digital equipment and for the user.
Fig. 1 is the structural representation of existing digital home network; Comprise that with home appliance PC, DTV, intelligent refrigerator and mobile phone are example, referring to Fig. 1, this system comprises: server, STB, PC, DTV, intelligent refrigerator and mobile phone; Wherein
PC links to each other with STB respectively through wired or wireless mode with DTV, and intelligent refrigerator links to each other with STB respectively through wireless mode with mobile phone, and server links to each other with STB through wired mode.Downloading flow process that multimedia code stream (for example, TV programme, audio, video data, communication data etc.) play through STB from server for each home appliance describes and can repeat no more at this referring to relevant technical literature.
Fig. 2 is the structural representation of existing STB; Referring to Fig. 2, this STB comprises: power supply power supply unit and board unit, wherein; Board unit comprises: communication module, tuner module, descrambling/demultiplexing module, processor module, decoder module, front panel module and modulation module
The power supply power supply unit is the board unit power supply,
Communication module links to each other with processor module, tuner module, decoder module and modulation module respectively, according to the control of processor module, receives the multimedia code stream from server, exports tuner module to; Receive the digital signal of decoder module output and the analog signal of modulation module output, export outside corresponding home appliance to;
Tuner module, the multimedia code stream of received communication module output amplifies, after the frequency conversion, demodulation process, exports descrambling/demultiplexing module to;
Descrambling/demultiplexing module links to each other with processor module, tuner module and decoder module respectively, according to the control of processor module, the output of tuner module is carried out exporting decoder module to after descrambling conciliates multiplexing process;
Decoder module links to each other with processor module and modulation module respectively, according to the control of processor module, and after the output of descrambling/demultiplexing module decoded, output digital signal to communication module and modulation module;
Modulation module is used for the digital signal of decoder module output is modulated into analog signal, exports communication module to;
The front panel module links to each other with processor module, receives remote signal, demonstration time, and information such as channel, controls for processor module.
In the practical application, structure, function and the workflow of relevant STB also can be referring to relevant technical literatures.
Cloud computing (Cloud computing) network technology is based on the supercomputing pattern of the Internet; It is the development of parallel computation (Parallel Computing), Distributed Calculation (Distributed Computing) and grid computing (Grid Computing) technology; The bulk information and the processor resource that are used for being stored on the home appliance concentrate in together, and collaborative work is to improve the utilization ratio of each household electrical appliances.
Be applied in family's cloud computing system at Fig. 1, Fig. 2 above-mentioned; Can form family's cloud computing system based on STB; Different with existing digital home network is; The data that processing module in the STB can also be handled the application need of self or other home appliance (collaborative work) (graphics calculations, add descrambling, encryption and decryption, add decoding and local game data etc.) are calculated, and export result of calculation to corresponding home appliance through communication module then.
But in existing family cloud computing system; Because processing module (center processor) frequency generally lower (generally being lower than 300HZ) in the existing STB; Thereby, cause its computational speed slower, it is long to calculate the required time; Can not satisfy the amount of calculation of large-scale application such as graphics calculations, audio frequency and video, music decoding, make that the computational efficiency of family's cloud computing system is low; Further; A lot of home appliances are connected with STB in the family; Though also have the center processor of oneself, only be responsible for calculating self inner data, ordinary circumstance all is idle; Its center calculating resource of processor is not fully used, and causes the resource utilization of family's cloud computing system lower.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of family cloud computing method based on STB, improves the computational efficiency and the resource utilization of family's cloud computing system.
Another object of the present invention is to provide a kind of STB, improve the computational efficiency and the resource utilization of family's cloud computing system.
For achieving the above object; The invention provides a kind of STB; Comprise: power supply power supply unit, communication module, tuner module, descrambling/demultiplexing module, processor module, decoder module, front panel module and modulation module; This STB also comprises: calculated data parsing module, calculated data are cut apart module, data computation module, calculated data merging module, memory module, wherein
Communication module links to each other with the calculated data parsing module, and the data that the request of reception is calculated export the calculated data parsing module to; Also cut apart module and link to each other, receive the sub-calculated data that calculated data is cut apart module output,, export the said first device identification position corresponding equipment to according to the first device identification position that comprises in the sub-calculated data with calculated data; Also merge module and link to each other, receive the result of calculation that calculated data merges module output,, export result of calculation to the said second device identification position corresponding equipment according to the second device identification position of carrying in the result of calculation with calculated data;
The calculated data parsing module merges module with calculated data and links to each other, and the data that the request of received communication module output is calculated are exported to calculated data with the 3rd device identification position of the request calculating that comprises in the data of calculating and merged module; Also link to each other with processor module, the data that request is calculated export processor module to;
Processor module; Link to each other with memory module; The calculation of equipments ability information of storing in advance according to the calculated data size information that receives and memory module; For the equipment with this computing capability divides gamete calculated data capacity respectively, also cut apart module and link to each other with calculated data, export the sub-calculated data capacity information that carries the first device identification position to calculated data and cut apart module;
Calculated data is cut apart module; The sub-calculated data capacity information that carries the first device identification position that the receiving processor module is returned; From calculated data, be partitioned into the sub-calculated data of sub-calculated data amount of capacity; With carrying the application computer programs flag and the sub-calculated data except that the equipment of itself flag exports communication module to, link to each other with data computation module, export the sub-calculated data that carries equipment of itself flag and application computer programs flag to data computation module;
Data computation module; Receive calculated data and cut apart the sub-calculated data of module output; Application computer programs flag operation application computer programs according to comprising in the sub-calculated data is calculated; Merge module with calculated data and link to each other, export sub-calculated data result of calculation to calculated data and merge module;
Calculated data merges module; Receive the sub-calculated data result of calculation of data computation module output and from the sub-calculated data result of calculation of outside; Merge; To be carried at from the 3rd device identification position of calculated data parsing module output in the result of calculation after the merging, export communication module to.
Said STB also comprises: link to each other with memory module with said communication module respectively, export the request of query facility computing capability to communication module; The computing capability of the equipment that inquiry links to each other with STB; According to the calculation of equipments capabilities response information that equipment returns through communication module, the computing capability information of carrying the device identification position is exported to the computing capability enquiry module of memory module.
Said STB also comprises: the application computer programs acquisition module that links to each other with communication module with said computing capability enquiry module respectively,
Said computing capability enquiry module; The calculation of equipments capabilities response information of returning through communication module according to equipment; Compare with the computing capability information of self storing; Obtain the application computer programs that needs are downloaded, export the application computer programs flag of carrying the needs download and the information of device identification position to the application computer programs acquisition module;
The application computer programs acquisition module; Receive the information of computing capability enquiry module output; To the request of communication module output down load application calculation procedure, carry the application computer programs flag, the application computer programs of returning through communication module according to server; Device identification position information is carried in the application computer programs, exports device identification position corresponding equipment to through communication module.
Said STB also comprises: the application computer programs acquisition module that links to each other with communication module with said computing capability enquiry module respectively,
Said computing capability enquiry module; The calculation of equipments capabilities response information of returning through communication module according to equipment; Compare with the computing capability information of self storing; Obtain the application computer programs that needs are downloaded, export the application computer programs flag of carrying the needs download and the information of device identification position to the application computer programs acquisition module;
The application computer programs acquisition module receives the information that the computing capability enquiry module is exported, and to the request of communication module output down load application calculation procedure, carries application computer programs flag and device identification position;
Communication module, the device identification position information of carrying in the application computer programs of returning according to server exports application computer programs to corresponding apparatus flag corresponding equipment.
Said STB also comprises: the application computer programs acquisition module that links to each other with communication module with said computing capability enquiry module respectively,
Said computing capability enquiry module; The calculation of equipments capabilities response information of returning through communication module according to equipment; Compare with the computing capability information of self storing; Obtain the application computer programs that needs are downloaded, export the application computer programs flag of carrying the needs download and the information of device identification position to the application computer programs acquisition module;
The application computer programs acquisition module; Receive the information of computing capability enquiry module output; To the request of communication module output down load application calculation procedure, carry the application computer programs flag, the application computer programs that server is returned through communication module exports memory module to and stores; And device identification position information is carried in the application computer programs, export device identification position corresponding equipment to through communication module.
Said STB also comprises: the application computer programs acquisition module that links to each other with communication module with said computing capability enquiry module respectively,
Said computing capability enquiry module; The calculation of equipments capabilities response information of returning through communication module according to equipment; Compare with the computing capability information of self storing; Obtain the application computer programs that needs are downloaded, export the application computer programs flag of carrying the needs download and the information of device identification position to the application computer programs acquisition module;
The application computer programs acquisition module receives the information that the computing capability enquiry module is exported, and to the request of communication module output down load application calculation procedure, carries application computer programs flag and device identification position;
Communication module, the application computer programs that server is returned exports memory module to and stores, and the device identification position information of carrying in the application computer programs of returning according to server exports application computer programs to corresponding apparatus flag corresponding equipment.
Said STB also comprises: link to each other with said application computer programs acquisition module, the time that is provided with in advance then; Trigger the request that the application computer programs acquisition module carries current application calculation procedure version information through communication module to server output, the application computer programs that request redaction application computer programs is downloaded is upgraded trigger module.
It is one or more processors that said calculated data parsing module, processor module, calculated data are cut apart module, data computation module and calculated data merging module, and said memory module is random asccess memory or flash memory.
A kind of family's fortune computational methods based on STB, this method comprises:
Inquiry inserts all home appliances in family's cloud computing system, obtains the home appliance with external computing capability, and after the application computer programs of the home appliance with external computing capability starts, sets up compute channel;
To ask the initial data of the home appliance needs large-scale calculations of large-scale calculations to be cut apart according to the computing capability of home appliance, and divided data will be exported to the home appliance with external computing capability with external computing capability;
Reception has the results of intermediate calculations that algorithm that basis that the home appliance of external computing capability returns is provided with in advance calculates partition data; All results of intermediate calculations are merged, and amalgamation result is returned to the equipment of described request large-scale calculations.
Said method further comprises:
Do not have external computing capability if inquire the home appliance that inserts in family's cloud computing system, obtain the device systems parameter of said home appliance, and download the application computer programs of said home appliance from external server according to said device systems parameter;
Export the application computer programs of downloading to said home appliance, after this application computer programs of operation maybe was installed in this locality with this application computer programs in internal memory after said home appliance was downloaded, carry out the flow process of setting up compute channel.
Visible by above-mentioned technical scheme; A kind of STB provided by the invention reaches the family cloud computing method based on STB, and comprising: power supply power supply unit, communication module, tuner module, descrambling/demultiplexing module, processor module, decoder module, front panel module and modulation module is characterized in that; This STB also comprises: calculated data parsing module, calculated data are cut apart module, data computation module, calculated data merging module, memory module; Wherein, communication module links to each other with the calculated data parsing module; The data that the request of reception is calculated export the calculated data parsing module to; Also cut apart module and link to each other, receive the sub-calculated data that calculated data is cut apart module output,, export the said first device identification position corresponding equipment to according to the first device identification position that comprises in the sub-calculated data with calculated data; Also merge module and link to each other, receive the result of calculation that calculated data merges module output,, export result of calculation to the said second device identification position corresponding equipment according to the second device identification position of carrying in the result of calculation with calculated data; The calculated data parsing module merges module with calculated data and links to each other, and the data that the request of received communication module output is calculated are exported to calculated data with the 3rd device identification position of the request calculating that comprises in the data of calculating and merged module; Also link to each other with processor module, the data that request is calculated export processor module to; Processor module; Link to each other with memory module; The calculation of equipments ability information of storing in advance according to the calculated data size information that receives and memory module; For the equipment with this computing capability divides gamete calculated data capacity respectively, also cut apart module and link to each other with calculated data, export the sub-calculated data capacity information that carries the first device identification position to calculated data and cut apart module; Calculated data is cut apart module; The sub-calculated data capacity information that carries the first device identification position that the receiving processor module is returned; From calculated data, be partitioned into the sub-calculated data of sub-calculated data amount of capacity; With carrying the application computer programs flag and the sub-calculated data except that the equipment of itself flag exports communication module to, link to each other with data computation module, export the sub-calculated data that carries equipment of itself flag and application computer programs flag to data computation module; Data computation module; Receive calculated data and cut apart the sub-calculated data of module output; Application computer programs flag operation application computer programs according to comprising in the sub-calculated data is calculated; Merge module with calculated data and link to each other, export sub-calculated data result of calculation to calculated data and merge module; Calculated data merges module; Receive the sub-calculated data result of calculation of data computation module output and from the sub-calculated data result of calculation of outside; Merge; To be carried at from the 3rd device identification position of calculated data parsing module output in the result of calculation after the merging, export communication module to.Calculate because STB control is issued to calculated data on the equipment with this computing capability, can make full use of the idle processor ability of equipment in family's cloud computing system, improved the computational efficiency and the resource utilization of family's cloud computing system greatly; And home appliance also can utilize family's cloud computing system to improve the computing capability of oneself.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is done further explain.
The family cloud computing method that the present invention proposes based on STB, STB is the control centre of family's cloud computing system, it calculates with home appliance and server and communicates by letter; Receive the data that request is calculated, control respectively have this computing capability equipment collaboration executions need large-scale calculations: obtain application computer programs from server, be issued to each home appliance; The computation requests of receiving equipment; Calculative data volume is cut apart, and distributed to the equipment that links to each other with self, after equipment receives the data volume of cutting apart; Calculate respectively; Result of calculation is returned to STB, and STB merges the result of calculation that each equipment returns, and exports to the equipment that corresponding request is calculated.
Need to prove; Among the present invention; Home appliance comprises: the intelligent appliance equipment that (can be wherein a kind of or combination in any) such as PC, notebook computer, printer, DTV, mobile phone, PDA, intelligent refrigerator, intelligent air conditions has the simple operations system; Can be through wired or wireless like bluetooth, wifi, GPRS (GPRS; General Packet Radio Service) mode communicates, and possesses the function of interconnection and interflow, and down load application calculation procedure and the ability that can move.
Equipment comprises: home appliance, STB and server; Comprise all devices in family's cloud computing system; What promptly send computation requests can be the arbitrary equipment in family's cloud computing system, and carrying out the equipment of cutting apart calculating can be all devices in family's cloud computing system.
Fig. 3 is the structural representation of family of the present invention cloud computing system, and referring to Fig. 3, this system comprises: server, STB and a plurality of home appliance, wherein,
Server, the storage application computer programs, the down load application calculation procedure request of receiving set up box exports application computer programs to STB; The sub-calculated data of receiving set up box output, according to the corresponding application computer programs of this flag of application computer programs flag operation of carrying in the sub-calculated data, the antithetical phrase calculated data calculates, and sub-calculated data result of calculation is returned to STB;
In the present embodiment, server is to have external computing capability (being the application computer programs that self can install and move except that self acquiescence), thereby, when the allocated calculated data, will consider and be the corresponding sub-calculated data of server-assignment.
STB is inquiring home appliance when not having external computing capability, and to the request of server output down load application calculation procedure, the application computer programs of returning according to server is to the home appliance output that does not have external computing capability; Receive the data that request is calculated, cut apart, and the sub-calculated data that will cut apart distributes to corresponding equipment with this computing capability, carry the application computer programs flag according to the equipment with this computing capability of storage; Receive the result of calculation that said equipment with this computing capability returns, merge, the equipment that the request of exporting to is calculated;
In the present embodiment, computing capability is meant to have and installs and the ability of operation application computer programs and the computational speed of center processor, and the data that request is calculated maybe be from home appliance, also maybe be from self STB or server.Equipment with external computing capability comprises: home appliance, server and STB.Calculated data after just will cutting apart is distributed to center processor and home appliance that links to each other with self and the server of self.
Further; STB can be cut apart according to the data that the computing capability of the equipment of storing with this computing capability is calculated request; For example; If have the computing capability strong (the center processor operating frequency is high) of the equipment of this computing capability, then can cut apart sub-calculated data for this equipment than bulk.
Home appliance, the application computer programs of receiving set up box output is installed the back and is returned the computing capability of self so that the STB storage to STB; Sub-calculated data after the cutting apart of receiving set up box output; According to the corresponding application computer programs of this flag of application computer programs flag operation of carrying in the sub-calculated data; The antithetical phrase calculated data calculates, and sub-calculated data result of calculation is returned to STB; When self need calculate, export calculative data to STB.
In the present embodiment; Because STB is when each equipment is exported sub-calculated data; Carry the application computer programs flag; Make each equipment to calculate the sub-calculated data that receives according to the application computer programs flag, STB just can merge according to sub-calculated data result of calculation, thereby guarantees accuracy, the integrality of result of calculation.
In the practical application; STB in the above-mentioned family cloud computing system can not inquired about the external computing capability of home appliance yet; Directly control according to the computing capability of the equipment of storing; The computing capability of equipment of storage can be when connecting with this equipment, and this equipment gives the correct time on STB and obtains, then:
Server; The sub-calculated data of receiving set up box output; According to the corresponding application computer programs of this flag of application computer programs flag operation of carrying in the sub-calculated data, the antithetical phrase calculated data calculates, and sub-calculated data result of calculation is returned to STB;
STB receives the data that request is calculated, and cut apart according to the equipment with this computing capability of storage, and the sub-calculated data that will cut apart distributes to corresponding equipment with this computing capability, carries the application computer programs flag; Receive the result of calculation that said equipment with this computing capability returns, merge, the equipment that the request of exporting to is calculated;
Home appliance; Sub-calculated data after the cutting apart of receiving set up box output; According to the corresponding application computer programs of this flag of application computer programs flag operation of carrying in the sub-calculated data, the antithetical phrase calculated data calculates, and sub-calculated data result of calculation is returned to STB; When self need calculate, export calculative data to STB.
In the practical application, STB can be provided with sub-calculated data flag for the data of cutting apart, and export to relevant device carrying out data when cutting apart, and then according to the sub-calculated data flag that comprises in the sub-calculated data result of calculation of returning, order merges.Certainly, the situation for not needing order to merge for example, adds up, and then in the sub-calculated data of output, can not carry sub-calculated data flag (certainly, also can carry sub-calculated data flag).In addition; STB is carrying out data when cutting apart; Can also set up the mapping relations table of sub-calculated data and device identification position, sub-calculated data flag; According to the equipment of the sub-calculated data result of calculation of output, the corresponding sub-calculated data flag in this device identification position of inquiry from the mapping relations table, thus merge in proper order according to sub-calculated data flag.
Fig. 4 a is the structural representation of STB of the present invention, and referring to Fig. 4 a, this STB comprises: power supply power supply unit, board unit; Wherein, board unit also comprises except that comprising module shown in Figure 2: calculated data parsing module, calculated data are cut apart module, data computation module, calculated data merging module, memory module; Wherein, The structure that the power supply power supply unit is identical with Fig. 3 with board unit repeats no more at this, describes relating to the module that the present invention is correlated with for follow-up.Communication module is cut apart module with calculated data parsing module, calculated data respectively, calculated data merges module and links to each other; The calculated data parsing module merges module with processor module and calculated data respectively and links to each other; Data computation module is cut apart module with calculated data merging module and calculated data respectively and is linked to each other; Memory module links to each other with processor module.
Communication module, the data that the request of reception is calculated export the calculated data parsing module to; Receive calculated data and cut apart the sub-calculated data of module output, the first device identification position according to comprising in the sub-calculated data exports corresponding equipment to; Receive the result of calculation that calculated data merges module output, the second device identification position according to carrying in the result of calculation exports result of calculation to device identification position corresponding equipment;
In the present embodiment, if the first device identification position is this STB, then that this device identification position is corresponding sub-calculated data exports data computation module to.
The calculated data parsing module, the data that the request of received communication module output is calculated are exported to calculated data merging module with the 3rd device identification position that the request that comprises in the data of calculating is calculated; The data that request is calculated export processor module to;
Processor module; The calculation of equipments ability information of storing in advance according to the calculated data size information that receives and memory module; For the equipment with this computing capability divides gamete calculated data capacity respectively, export the sub-calculated data capacity information that carries the first device identification position to calculated data and cut apart module;
The device identification position comprises: server apparatus flag, identifier of household appliance position or STB flag.
Calculated data is cut apart module; The sub-calculated data capacity information that carries the first device identification position that the receiving processor module is returned; From calculated data, be partitioned into the sub-calculated data of sub-calculated data amount of capacity; With carrying the application computer programs flag and the sub-calculated data except that the equipment of itself flag exports communication module to, export the sub-calculated data that carries equipment of itself flag and application computer programs flag to data computation module;
Data computation module, the sub-calculated data of received communication module output calculates according to the application computer programs flag operation application computer programs that comprises in the sub-calculated data, exports sub-calculated data result of calculation to calculated data and merges module;
Calculated data merges module; Receive the sub-calculated data result of calculation of data computation module output and from the sub-calculated data result of calculation of outside; Merge, will be carried at from the device identification position of calculated data parsing module output in the result of calculation after the merging, export communication module to.
In the present embodiment, be meant the sub-calculated data result of calculation of external equipment (for example, server and home appliance) through communication module output from the sub-calculated data result of calculation of outside.
Fig. 4 b is another structural representation of STB of the present invention.Referring to Fig. 4 b, except that comprising the described module of Fig. 4 a, also comprise like lower module.Wherein, simple and clear in order to illustrate, will omit with the module of the identical annexation of Fig. 4 a, only the annexation to the module that increases describes.
In the present embodiment; STB can further include the computing capability enquiry module; To the request of communication module output query facility computing capability; The computing capability of the equipment that inquiry links to each other with STB, the calculation of equipments capabilities response information according to equipment returns through communication module exports the computing capability information of carrying the device identification position to memory module.
The computing capability enquiry module can be to power on the back to communication module output query facility computing capability information at STB, also can be in follow-up, finds to have new home appliance to insert the back to communication module output query facility computing capability information.
In the present embodiment, STB can further include the application computer programs acquisition module,
The computing capability enquiry module; The calculation of equipments capabilities response information of returning through communication module according to equipment; Compare with the computing capability information of self storing; Obtain the application computer programs that needs are downloaded, export the application computer programs flag of carrying the needs download and the information of device identification position to the application computer programs acquisition module;
The application computer programs acquisition module; Receive the information of computing capability enquiry module output; To the request of communication module output down load application calculation procedure, carry the application computer programs flag, the application computer programs of returning through communication module according to server; Device identification position information is carried in the application computer programs, exports device identification position corresponding equipment to through communication module.
In the present embodiment; The computing capability enquiry module compares according to the computing capability of calculation of equipments capabilities response information and self storage, for instance, if the computing capability of storage comprises five kinds of application computer programs; And calculation of equipments capabilities response information only comprises a kind of application computer programs wherein; Then all the other four kinds of application computer programs are downloaded in request, behind the home appliance installation application calculation procedure, to STB reporting ability information.
In the practical application, the application computer programs acquisition module can export this application computer programs to memory module and store after obtaining application computer programs; In follow-up; When the computing capability enquiry module inquires the equipment of this application computing capability of new needs, (for example, there is in follow-up new home appliance to insert), reads application computer programs from memory module; This application computer programs is exported to the equipment of this application computing capability of corresponding needs through communication module; Like this, need not reduce resource overhead to server output request.
In the practical application; The application computer programs acquisition module is to the request of communication module output down load application calculation procedure the time; Also can carry this device identification position information; Export server to through communication module, the device identification position information of carrying in the application computer programs that communication module is returned according to server exports application computer programs to corresponding apparatus flag corresponding equipment.Certainly, further, communication module can also export the application computer programs that server returns to memory module and store.
In the present embodiment; STB can further include application computer programs and upgrades trigger module; The time that is provided with in advance then; Trigger the request that the application computer programs acquisition module carries current application calculation procedure version information through communication module to server output, request redaction application computer programs is downloaded.
Current application calculation procedure version information can also can obtain from the application computer programs of self installing through from memory module, obtaining.
Certainly, in the practical application, also can be server when getting access to the application computer programs of redaction, initiatively export to STB.
In the present embodiment, communication module can be realized by USB interface;
Calculated data parsing module, processor module, enquiry module, calculated data are cut apart module, data computation module, calculated data merging module, computing capability enquiry module, application computer programs acquisition module, application computer programs is upgraded trigger module can be by one or more processors combination realizations; Memory module can be by realizations such as random asccess memory, flash memories.
Visible by the foregoing description; Family of the present invention cloud computing system; STB is inquiring home appliance when not having external computing capability; To the request of server output down load application calculation procedure,, export to the home appliance that does not have external computing capability according to the application computer programs that server returns; The data that the request of reception is calculated, the data that will ask to calculate according to the equipment with this computing capability of storage are divided into corresponding sub-calculated data, and distribute to corresponding equipment with this external computing capability; Receive the result of calculation that said equipment returns and merge the equipment that the request of exporting to is calculated.Like this; Calculate through calculated data being dispensed in family's cloud computing system in all equipment with this calculated data computing capability; Thereby make that each equipment can be shared computing capability in the system, effectively utilized in the system processor of device free and assisted calculating, promoted the utilance of home appliance processor; Improve the computational efficiency and the resource utilization of family's cloud computing system, satisfied the amount of calculation of large-scale application such as graphics calculations, the decoding of audio frequency and video music.
Lift a specific embodiment below, the calculation process of family's cloud computing system shown in Figure 3 is described.
Fig. 5 is the calculation process sketch map of family of the present invention cloud computing system, and referring to Fig. 5, this flow process comprises:
Step 501, the STB startup powers on, the application program that loading needs;
In this step, application program comprises and this novel relevant application computer programs and other programs such as video reproduction program, browser program, Java Virtual Machine program etc.
Step 502, the STB inquiry inserts all devices in family's cloud computing system;
In this step; After STB starts, through bluetooth, Wifi, GPRS wireless modes such as (GPRS, General Packet Radio Service); Or wired mode scans all home appliances (equipment) in (inquiry) access family cloud computing system; Like mobile phone, computer, blue-ray DVD, intelligent refrigerator, intelligent air condition, television set etc., and through these equipment of interconnection agreement discovery, interconnection agreement comprises plug and play puppy parc (upnp; Universal Plug and Play), IGRS, agreement such as e family is good.
Step 503, STB to the equipment that inquires output connection request and with this equipment passage that connects;
Step 504, behind the passage that connects, whether the equipment that the STB inquiry connects has the ability of external calculating, if do not have, execution in step 505, if having, execution in step 507.
In this step, STB can pass through open service lock road standard (OSGi, Open Service GatewayInitiative) mode to be inquired about the home appliance that connects and whether has the ability of external calculating, specifically can
Referring to the correlation technique document, repeat no more at this.
Step 505, STB require home appliance that the device systems parameter is provided, and download the application computer programs of this home appliance from server according to the system parameters that receives;
In this step; STB requires home appliance that device systems parameter (like type, model, the application computer programs downloaded) is provided; The type that provides according to this home appliance then, model and the application computer programs of having downloaded arrive the program (other application computer programs) that outside service end is downloaded the calculation services client of this home appliance.
Step 506, STB exports the application computer programs of downloading to home appliance, and home appliance is downloaded back this application computer programs of operation in internal memory, maybe this application computer programs is installed in this locality;
Step 507, application computer programs start the back and set up compute channel with STB;
In this step, set up the home appliance and the process that originally have external computing capability comprising of compute channel with STB and download and install the home appliance that has external computing capability after the application computer programs.
Step 508, STB is cut apart the initial data of needs large-scale calculations according to the computing capability of each home appliance;
In this step, when STB need calculate, the initial data that needs large-scale calculations is cut apart, be about to import data and carry out subregion (such as being divided into the M piece), carry out to be distributed on the different home appliances with external computing capability.
Step 509, STB is exported to each home appliance with divided data (sub-calculated data), and requires according to the algorithm that is provided with in advance partition data to be calculated;
In this step, STB is exported to the home appliance that each has external computing capability with divided data, and STB also can participate in calculating except the function of bearing master control, and the algorithm that is provided with in advance can upgrade as required.
Step 510, home appliance calculates the partition data that receives, and results of intermediate calculations (sub-calculated data result of calculation) is exported to STB;
Step 511, STB receives the results of intermediate calculations that each home appliance returns, and all results of intermediate calculations is merged, and amalgamation result is returned to the equipment of request large-scale calculations.
In this step, suppose that STB needs large-scale calculations, then STB returns to amalgamation result the application of large-scale calculations.
So far, this flow process finishes.
In the practical application, STB also can interimly scan home appliance in the operation phase, closes if find the compute channel of certain home appliance, then reduces and cuts apart number; If find to have newly-increased home appliance and should have external computing capability by newly-increased home appliance, then increase and cut apart number, to this newly-increased home appliance output partition data.
If other home appliance also needs large-scale calculations, can send computation requests to STB equally; And, among the present invention, if the processor ability of home appliance high (like mobile phone or computer), can be as STB, execution in step 408~step 411 is accomplished calculating by other home appliance, STB and server; If the processor ability of home appliance lower (like refrigerator); Can cut apart the initial data of the need large-scale calculations of reception by STB; After the calculating through each equipment in family's cloud computing system; Merge by the return results of STB again, and return to this lower home appliance of processor ability each household electrical appliances.
In the above-mentioned example, the postulated mechanism top box need calculate 1 to 1,000,000 add up, if there are ten equipment (not comprise STB; For example, nine home appliances and a station server) insert family's cloud computing system, then STB is (in the present embodiment; STB self does not participate in calculating) can be divided into 10 parts to the need data accumulated, every part 100,000 amount of calculation (like 1-10 ten thousand, 10 ten thousand-200,000); Every equipment (supposing that each home appliance is all identical with the external computing capability of server) calculates 1 part; Last every equipment returns to STB with result of calculation, and STB adds up to result of calculation and obtains accumulation result, thereby accomplishes accumulation calculating.
More than lift preferred embodiment, the object of the invention, technical scheme and advantage have been carried out further explain, institute is understood that; The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle; Any modification of being done, be equal to replacement, improvement etc.; All should be included within protection scope of the present invention, the interest field that the present invention advocated should application range is said to be as the criterion to invent, but not only limits to the foregoing description.