CN102546759A - Method and system for smart TV to realize grid computing, and smart TV - Google Patents
Method and system for smart TV to realize grid computing, and smart TV Download PDFInfo
- Publication number
- CN102546759A CN102546759A CN2011104203374A CN201110420337A CN102546759A CN 102546759 A CN102546759 A CN 102546759A CN 2011104203374 A CN2011104203374 A CN 2011104203374A CN 201110420337 A CN201110420337 A CN 201110420337A CN 102546759 A CN102546759 A CN 102546759A
- Authority
- CN
- China
- Prior art keywords
- grid computing
- intelligent television
- computing server
- calculation
- message
- 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
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000004891 communication Methods 0.000 claims abstract description 26
- 238000004364 calculation method Methods 0.000 claims description 91
- 238000001514 detection method Methods 0.000 claims description 9
- 230000007613 environmental effect Effects 0.000 claims description 8
- 238000007599 discharging Methods 0.000 claims description 7
- 238000011022 operating instruction Methods 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 238000009826 distribution Methods 0.000 description 7
- 238000005457 optimization Methods 0.000 description 4
- 238000011160 research Methods 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 3
- 201000010099 disease Diseases 0.000 description 2
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 2
- 239000003814 drug Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241000725138 Banana bunchy top virus Species 0.000 description 1
- 206010028980 Neoplasm Diseases 0.000 description 1
- 230000008485 antagonism Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 201000011510 cancer Diseases 0.000 description 1
- 238000005336 cracking Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007170 pathology Effects 0.000 description 1
- 238000006116 polymerization reaction Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000012846 protein folding Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention is suitable for the technical field of TV, and provides a method and a system for a smart TV to realize grid computing, and the smart TV. The method comprises the following steps of: detecting the current communication environment; configuring grid computing attribute, wherein the grid computing attribute comprises a grid computing server address and a period of submitting the computed result to the grid computing server; transmitting a request message of applying to join the grid computing to the grid computing server corresponding to the grid computing server address; receiving a computing task allocated by the grid computing server; computing the computing task; and submitting the computed result to the grid computing server according to the preconfigured period. With the method and the system, the smart TV can realize the function of grid computing, the resource of the smart TV is fully used, the efficiency of the smart TV is brought into full play, and greater contribution to the society is made.
Description
Technical field
The invention belongs to TV technology, relate in particular to method, system and intelligent television that a kind of intelligent television is realized grid computing.
Background technology
At present, the popular TV that uses comprises common TV and internet television, and common TV does not possess operating system, generally only possesses the TV programme playing function; Internet television is based on (SuSE) Linux OS, and main the application is and the network interconnection.
Along with TV tech gets into the intelligent television epoch, the intelligent television hardware performance is good, and adopts Android operating system, can on Android operating system basis, increase functions such as grid computing, enriches the use of television set.
Yet; On the intelligent television product, generally only realized various application services such as web search, Internet Protocol Television, BBTV netview, video request program (VOD), digital music, Internet news, network video telephone at present, also do not had to realize the technical application relevant with grid computing.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of intelligent television to realize the method for grid computing, is intended to solve the problem that existing intelligent television does not possess the grid computing function.
The embodiment of the invention is achieved in that a kind of method of intelligent television realization grid computing, and said method comprises the steps:
Detect current communication environment;
When said current communication environment satisfies the threshold values that is provided with in advance, configuration grid computing attribute, said grid computing attribute kit purse rope lattice calculation server address and the cycle of submitting result of calculation to the grid computing server;
Send the request message that grid computing is participated in application to the grid computing server corresponding, comprise log-on message in the described request message with said grid computing server address;
Receive the calculation task of grid computing server-assignment, said calculation task is that grid computing server employing load sharing algorithm is that intelligent television distributes, and log-on message is a reference quantity in the said load sharing algorithm;
Said calculation task is calculated;
Submit result of calculation to the grid computing server according to the pre-configured cycle.
The embodiment of the invention also provides a kind of grid computing device, and said device comprises:
Environmental detection unit is used to detect current communication environment;
The attribute configuration unit; Be used for when said environmental detection unit detects the threshold values of the satisfied setting in advance of current communication environment; Configuration grid computing attribute, said grid computing attribute kit purse rope lattice calculation server address and the cycle of submitting result of calculation to the grid computing server;
The request message transmitting element; Be used for after passing through the good grid computing attribute of attribute configuration configuration of cells; To with said grid computing attribute in the corresponding grid computing server of the grid computing server address that comprises send the request message that grid computing is participated in application, comprise log-on message in the described request message;
The calculation task receiving element is used to receive the calculation task of grid computing server-assignment, said calculation task be the grid computing server to adopt the load sharing algorithm be that intelligent television distributes, log-on message is a reference quantity in the said load sharing algorithm;
Computing unit is used for the calculation task that said calculation task receiving element receives is calculated;
Result of calculation is submitted the unit, is used for submitting to the grid computing server according to the pre-configured cycle result of calculation of said computing unit.
The embodiment of the invention also provides a kind of intelligent television, and said intelligent television comprises aforesaid grid computing device.
The embodiment of the invention also provides a kind of computing system, and said system comprises grid computing server and aforesaid intelligent television.
The embodiment of the invention; Satisfy when carrying out the condition of grid computing at current communication environment; Intelligent television is participated in the grid computing request according to the grid computing attribute of configuration to the application of grid computing server earlier; Accomplish according to the calculation task of grid computing server-assignment again and calculate and submit result of calculation to grid computing server; Realized user's TV reception or with TV entertainment interactive in, intelligent television is participated in the function of grid computing, can effectively utilize the idling-resource of intelligent television to contribute for society.
Description of drawings
Fig. 1 is the realization flow figure that the intelligent television that provides of the embodiment of the invention one is realized the method for grid computing;
Fig. 2 is the grid computing attribute configuration window sketch map that the embodiment of the invention one provides;
Fig. 3 is the realization flow figure that the intelligent television that provides of the embodiment of the invention two is realized the method for grid computing;
Fig. 4 is the realization flow figure that the intelligent television that provides of the embodiment of the invention three is realized the method for grid computing;
Fig. 5 is the realization flow figure that the intelligent television that provides of the embodiment of the invention four is realized the method for grid computing;
Fig. 6 is the realization flow figure that the intelligent television that provides of the embodiment of the invention five is realized the method for grid computing;
Fig. 7 is the structured flowchart of the grid computing device that provides of the embodiment of the invention six;
Fig. 8 is the distribution schematic diagram of grid computing client-side program in the intelligent television system that the embodiment of the invention six provides;
Fig. 9 is the structured flowchart of the grid computing device that provides of the embodiment of the invention seven.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention; Satisfy when carrying out the condition of grid computing at current communication environment; Intelligent television is participated in the grid computing request according to the grid computing attribute of configuration to the application of grid computing server earlier; Accomplish according to the calculation task of grid computing server-assignment again and calculate and submit result of calculation to grid computing server; Realized user's TV reception or with TV entertainment interactive in, intelligent television is participated in the function of grid computing, can effectively utilize the idling-resource of intelligent television to contribute for society.
Below in conjunction with specific embodiment realization of the present invention is described in detail:
Embodiment one
The intelligent television that Fig. 1 shows the embodiment of the invention one to be provided is realized the realization flow figure of the method for grid computing, and this method can be applied in the computing system that comprises intelligent television and grid computing server, and details are as follows for said method:
In step S101, check current communication environment.
The grid computing client-side program of intelligent television is checked current communication environment; Said current communication environment comprises the operating load and the current network UNICOM state of intelligent television system; Satisfy the threshold values that is provided with in advance when said operating load; And current network UNICOM state just often, then execution in step S102.
In the present embodiment, operating load comprises CPU usage and RAM occupancy; Current network UNICOM state comprises (Dynamic Host Configuration Protocol, DHCP) whether IP etc. is obtained in success automatically for eth0 network interface state and DHCP.Such as; In the present embodiment; Be lower than 70% when the grid computing client-side program detects CPU usage, the RAM occupancy is lower than 80%, the eth0 network interface is in good condition, and the DHCP success is just had the ability to grid computing server initiation network connecting request when obtaining IP automatically.
In step S102, when said current communication environment satisfies the threshold values that is provided with in advance, configuration grid computing attribute, said grid computing attribute kit purse rope lattice calculation server address and the cycle of submitting result of calculation to the grid computing server.
When the grid computing client-side program detects the threshold values of the satisfied setting in advance of current communication environment; Provide grid computing attribute configuration window to carry out the grid computing attribute configuration to the user; Said grid computing attribute kit purse rope lattice calculation server address, grid computing Service-Port, domain name system (Domain Name System; DNS) service, gateway and execution cycle etc., as shown in Figure 2.Wherein, execution cycle representes that the grid computing client-side program need submit the cycle that result of calculation is given the grid computing server.
In step S103; Send the request message that grid computing is participated in application to the grid computing server corresponding with said grid computing server address; Comprise log-on message in the described request message, said log-on message comprises the IP of intelligent television, the CPU usage and the RAM occupancy of intelligent television.
Wherein, described request message is to send to the grid computing server with the form that HTTP asks, and wherein carries log-on message and agreement and allows clause, and log-on message comprises the IP of intelligent television, the CPU usage and the RAM occupancy of intelligent television.
In step S104, receive the calculation task of grid computing server-assignment, said calculation task is that grid computing server employing load sharing algorithm is that intelligent television distributes, log-on message is a reference quantity in the said load sharing algorithm.
The grid computing server receives after application that intelligent television sends participates in the request message of grid computing; Therefrom extract the IP of the intelligent television that comprises in the log-on message, the CPU usage and the RAM occupancy of intelligent television; Through the load sharing algorithm said log-on message is analyzed, confirm log-on message whether satisfy the condition of accepting computation requests and when the Distribution Calculation task give the intelligent television of corresponding IP.The concrete general algorithm of load sharing algorithm use prior art is not described at this.
In step S105, said calculation task is calculated.
After the grid computing client-side program of intelligent television receives the calculation task of grid computing server transmission, start the grid computing functional module in the grid computing client-side program, the calculation task that receives is calculated through this module.
In step S106, submit result of calculation to the grid computing server according to the pre-configured cycle.
After intelligent television receives the calculation task of grid computing server transmission; Start the grid computing functional module in the grid computing client-side program; Said calculation task is calculated; And result of calculation is submitted to the grid computing server according to the pre-configured cycle, this cycle disposes when in step S102, disposing the grid computing attribute.
Wherein, in embodiments of the present invention, before step S101, said grid calculating method also comprises the steps:
Step 1, initialization intelligent television system start the local resource relevant with system service.
Step 2, according to the operating instruction of input, operation grid computing client-side program.
Wherein, step 1 comprises:
Step 11, click Power button are opened intelligent television;
Step 12, BootLoader boot are packed the Kernel mirror-image system into to RAM from NOR FLASH ROM assigned address, start Linux Kernel;
Step 13, Linux Kernel start initialization Init process, carry out initial configuration;
Processes such as step 14, Init process initiation service processes Daemons, USB service processes Usbd, debugging bridge service processes Adbd, debugger service processes Debuggerd, radio interface layer service processes Rild, Android application process incubator Zegote.
Wherein, service processes Daemons refers to one section program of linux system running background, is also referred to as system service sometimes.
Step 15, Zegote process are created a Dalik virtual machine instance for system service Daemons, and the start-up system service.
Wherein, the Dalvik virtual machine is the special Java Virtual Machine in the Android system.
Step 16, after the intact all system services of intelligent television system loads, be in wait state, wait for the operating instruction of user's input, move the grid computing client-side program.
In the grid calculating method that the embodiment of the invention provides, the grid computing client-side program of intelligent television satisfies when carrying out the condition of grid computing detecting current communication environment, and the prompting user disposes the grid computing attribute; And with attribute in the grid computing server of appointment connect; Send the request of participating in grid computing, and the calculation task of grid computing server-assignment is calculated, send result of calculation at last and give the grid computing server; Realized the function that intelligent television is participated in grid computing; Make intelligent television play TV programme or when carrying out the TV entertainment interaction, also can participate in ultra-large calculating, for society contributes with the user.
Embodiment two
Fig. 3 shows the flow chart of realization that intelligent television that the embodiment of the invention two provides is realized the method for grid computing; This method can be applied in the computing system that comprises intelligent television and grid computing server, and the grid calculating method that the embodiment of the invention two provides mainly comprises:
Present embodiment two be on the basis of embodiment one to the optimization of grid calculating method, comprise the step S101-S106 of embodiment one, new step of adding is carried out after the step S106 of embodiment one, comprising:
In step S301, initiatively stop to calculate or stop to participate in calculating to the application of grid computing server.
Intelligent television can initiatively be closed the grid computing client-side program; The instruction notification grid computing server of redispatching has stopped participating in calculating; Also can not satisfy when carrying out the condition of grid computing, stop to participate in calculating to the application of grid computing server at the operating load that detects the intelligent television system.
In step S302, receive the message that stops calculation task that the grid computing server returns.
After the grid computing server receives the stop calculation of intelligent television transmission, stop the Distribution Calculation task and give intelligent television, preserve the last computation relevant information, and the message that transmission stops calculation task is to intelligent television.
In step S303, the local resource relevant that starts when discharging initialization intelligent television system with system service.
After intelligent television receives the message that stops calculation task of grid computing server transmission, the local resource relevant that starts when discharging initialization intelligent television system with system service.
In step S304, send the affirmation message that stops to calculate to the grid computing server.
Through present embodiment, when intelligent television stops grid computing, discharge the local resource relevant that starts when participating in grid computing with system service, reduced the waste of intelligent television resource.
Embodiment three
Fig. 4 shows the flow chart of realization that intelligent television that the embodiment of the invention three provides is realized the method for grid computing, and this method can be applied in the computing system that comprises intelligent television and grid computing server, and details are as follows for said method:
1, the grid computing client-side program of intelligent television is checked current communication environment.
2, when said current communication environment satisfies the threshold values that is provided with in advance, configuration grid computing attribute, said grid computing attribute kit purse rope lattice calculation server address and the cycle of submitting result of calculation to the grid computing server.
3, send the request message that grid computing is participated in application to the grid computing server corresponding with said grid computing server address; Comprise log-on message in the described request message, said log-on message comprises the IP of intelligent television, the CPU usage and the RAM occupancy of intelligent television.
4, after the grid computing server received described request message, adopting the load sharing algorithm was intelligent television Distribution Calculation task, and wherein, log-on message is a reference quantity in the said load sharing algorithm.
The grid computing server receives after application that intelligent television sends participates in the request message of grid computing; Therefrom extract the IP of the intelligent television that comprises in the log-on message, the CPU usage and the RAM occupancy of intelligent television; Through the load sharing algorithm said log-on message is analyzed; Confirm log-on message whether satisfy the condition of accepting computation requests and when the Distribution Calculation task give the intelligent television of corresponding IP, distribute calculation task after, send said calculation task to intelligent television.The concrete general algorithm of load sharing algorithm use prior art is not described at this.
5, the grid computing client-side program of intelligent television receives the calculation task of grid computing server-assignment, and said calculation task is that the load sharing algorithm of grid computing server is that intelligent television distributes according to said log-on message.
6, said calculation task is calculated.
7, submit result of calculation according to the pre-configured cycle to the grid computing server.
Embodiment four
Fig. 5 shows the flow chart of realization that intelligent television that the embodiment of the invention four provides is realized the method for grid computing, and this method can be applied in the computing system that comprises intelligent television and grid computing server, and details are as follows for said method:
Present embodiment four be on the basis of embodiment three to the optimization of grid calculating method, comprise the step 1-7 of embodiment three, new step of adding is carried out after the step 7 of embodiment three, comprising:
1, the grid computing of initiatively closing of intelligent television reception input is instructed, and stop grid computing according to said instruction, and transmission stops grid computing message to grid computing server.
The intelligent television user initiatively closes the grid computing client-side program, stops grid computing, and transmission stops grid computing message to grid computing server.
2, the grid computing server stops the Distribution Calculation task to intelligent television according to said instruction, preserves the last computation relevant information, and the message that transmission stops calculation task is to intelligent television.
3, after intelligent television receives the said message that stops calculation task, the local resource relevant that starts when discharging initialization intelligent television system with system service.
4, intelligent television sends the affirmation message that stops to calculate to the grid computing server.
Embodiment five
Fig. 6 shows the flow chart of realization that intelligent television that the embodiment of the invention five provides is realized the method for grid computing, and this method can be applied in the computing system that comprises intelligent television and grid computing server, and details are as follows for said method:
Present embodiment five be on the basis of embodiment three to the optimization of grid calculating method, comprise the step 1-7 of embodiment three, new step of adding is carried out after the step 7 of embodiment three, comprising:
1, intelligent television real-time inspection CPU and RAM behaviour in service in participating in calculation process when CPU or RAM occupancy are higher than the threshold values that is provided with in advance, are sent to the grid computing server and to be stopped computation requests.
If real-time inspection to CPU usage be higher than 70% or the RAM utilization rate be higher than 80%, then stop computation requests to grid computing server transmission.
2, the grid computing server stops the Distribution Calculation task to intelligent television according to described request, preserves the last computation relevant information, and the message that transmission stops calculation task is to intelligent television.
3, after intelligent television receives the said message that stops calculation task, the local resource relevant that starts when discharging initialization intelligent television system with system service.
4, intelligent television sends the affirmation message that stops to calculate to the grid computing server.
Embodiment six
Fig. 7 shows the grid computing device that the embodiment of the invention six proposes, and for the ease of explanation, only shows the part relevant with the embodiment of the invention, and this device can be software unit, hardware cell or the soft or hard combining unit that is built in intelligent television.Wherein, one or more intelligent television that comprises this grid computing device can constitute a computing system with the grid computing server.
In embodiments of the present invention, said intelligent television comprises: environmental detection unit 71, attribute configuration unit 72, request message transmitting element 73, calculation task receiving element 74, computing unit 75 and result of calculation are submitted unit 76.
Wherein, Environmental detection unit 71, attribute configuration unit 72, request message transmitting element 73, calculation task receiving element 74, computing unit 75 and result of calculation submit unit 76 be as one independently Android grid computing client-side program be installed in the grid computing device; The user can be through being provided with after selecting to install the success of Android grid computing client-side program; Select to add grid computing; The grid computing client-side program can be at Android system running background, does not influence other functions such as simulated television ATV that the user normally uses intelligent television, DTV DTV, online video display.Wherein, the grid computing client-side program operates in the TV applications layer of intelligent television, and concrete framework is as shown in Figure 8.
Wherein, environmental detection unit 71 is used to detect current communication environment, and said current communication environment comprises the operating load and the current network UNICOM state of intelligent television system, and said operating load comprises CPU usage and RAM occupancy; Current network UNICOM state comprises whether IP is obtained in success automatically for eth0 network interface state and DHCP;
Request message transmitting element 73 is used for after configuring the grid computing attribute through attribute configuration unit 72; To with said grid computing attribute in the corresponding grid computing server of the grid computing server address that comprises send the request message that grid computing is participated in application; Comprise log-on message in the described request message, said log-on message comprises IP, CPU usage and the RAM occupancy of intelligent television;
Calculation task receiving element 74 is used to receive the calculation task of grid computing server-assignment; Said calculation task is that grid computing server employing load sharing algorithm is that intelligent television distributes, and included log-on message is a reference quantity in the said load sharing algorithm in the request message that request message transmitting element 73 sends;
Result of calculation is submitted the result of calculation that unit 76 is used for submitting to the grid computing server according to the pre-configured cycle said computing unit 75.
In addition, in order to realize the normal operation of grid computing client-side program, said device also comprises: initialization unit 77 and program running unit 78.
Wherein, initialization unit 77 is used for initialization intelligent television system, starts the local resource relevant with system service;
Specifically can repeat no more at this with reference to method embodiment shown in Figure 1.
Embodiment seven
Fig. 9 shows the grid computing device that the embodiment of the invention seven proposes, and for the ease of explanation, only shows the part relevant with the embodiment of the invention, and this device can be software unit, hardware cell or the soft or hard combining unit that is built in intelligent television.Wherein, one or more intelligent television that comprises this grid computing device can constitute a computing system with the grid computing server.
Present embodiment seven is the optimization of embodiment six, and the above grid computing device also comprises on the basis of embodiment six: calculating stops request unit 91, resource releasing unit 92 and calculating and stops confirmation unit 93.
Wherein, calculate and to stop request unit 91 and be used for initiatively stopping to calculate or stopping to participate in calculating to the application of grid computing server;
Calculating stops confirmation unit 93 and is used for sending the affirmation message that stops to calculate to the grid computing server.
Specifically can repeat no more at this with reference to method embodiment shown in Figure 3.
Beneficial effect of the present invention is:
The embodiment of the invention; Satisfy when carrying out the condition of grid computing at current communication environment; Intelligent television is participated in the grid computing request according to the grid computing attribute of configuration to the application of grid computing server earlier; Accomplish according to the calculation task of grid computing server-assignment again and calculate and submit result of calculation to grid computing server; Realized user's TV reception or with TV entertainment interactive in, intelligent television is participated in the function of grid computing, can effectively utilize the idling-resource of intelligent television to contribute for society.Wherein, the grid computing project that intelligent television can be participated in comprises: 1, solve comparatively complex mathematical problem, for example: GIMPS (seeking maximum Mersenne Prime); 2, the safest cryptographic system is sought in research, for example: RC-72 (password cracking); 3, biological pathology research, for example: Foldinghome (the research protein folding is misread, polymerization and the relevant disease that causes thus); 4, the drug research of various disease, for example: UnitedDevices (seeking the effective medicine of antagonism cancer); 5, signal processing, for example: SETIHome (be in and seek alien civilization).In addition, when intelligent television stops grid computing, can discharge, avoid the waste of resource because of carrying out the related resource that grid computing starts when the initialization intelligent television system.
It should be noted that in said apparatus and the system embodiment that each included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize function corresponding; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition; One of ordinary skill in the art will appreciate that all or part of step that realizes in above-mentioned each embodiment method is to instruct relevant hardware to accomplish through program; Corresponding program can be stored in the computer read/write memory medium; Described storage medium is like ROM/RAM, disk or CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the method for an intelligent television realization grid computing is characterized in that said method comprises the steps:
Detect current communication environment;
When said current communication environment satisfies the threshold values that is provided with in advance, configuration grid computing attribute, said grid computing attribute kit purse rope lattice calculation server address and the cycle of submitting result of calculation to the grid computing server;
Send the request message that grid computing is participated in application to the grid computing server corresponding, comprise log-on message in the described request message with said grid computing server address;
Receive the calculation task of grid computing server-assignment, said calculation task is that grid computing server employing load sharing algorithm is that intelligent television distributes, and log-on message is a reference quantity in the said load sharing algorithm;
Said calculation task is calculated;
Submit result of calculation to the grid computing server according to the pre-configured cycle.
2. the method for claim 1 is characterized in that, said current communication environment comprises the operating load and the current network UNICOM state of intelligent television system;
Said operating load comprises CPU usage and RAM occupancy; Current network UNICOM state comprises whether IP is obtained in success automatically for eth0 network interface state and DHCP;
The said threshold values that is provided with in advance is that CPU usage is lower than 70%, the RAM occupancy is lower than 80%, the eth0 network interface is in good condition and IP is obtained in the DHCP success automatically.
3. the method for claim 1 is characterized in that, before the step of the current communication environment of said detection, said method also comprises:
Initialization intelligent television system starts the local resource relevant with system service;
According to the operating instruction of input, operation grid computing client-side program.
4. the method for claim 1 is characterized in that, said according to the pre-configured cycle after the grid computing server is submitted the step of result of calculation, said method also comprises:
Initiatively stop to calculate or stop to participate in calculating to the application of grid computing server;
Receive the message that stops calculation task that the grid computing server returns;
The local resource relevant that starts when discharging initialization intelligent television system with system service;
Send the affirmation message that stops to calculate to the grid computing server.
5. a grid computing device is characterized in that, said device comprises:
Environmental detection unit is used to detect current communication environment;
The attribute configuration unit; Be used for when said environmental detection unit detects the threshold values of the satisfied setting in advance of current communication environment; Configuration grid computing attribute, said grid computing attribute kit purse rope lattice calculation server address and the cycle of submitting result of calculation to the grid computing server;
The request message transmitting element; Be used for after passing through the good grid computing attribute of attribute configuration configuration of cells; To with said grid computing attribute in the corresponding grid computing server of the grid computing server address that comprises send the request message that grid computing is participated in application, comprise log-on message in the described request message;
The calculation task receiving element is used to receive the calculation task of grid computing server-assignment, said calculation task be the grid computing server to adopt the load sharing algorithm be that intelligent television distributes, log-on message is a reference quantity in the said load sharing algorithm;
Computing unit is used for the calculation task that said calculation task receiving element receives is calculated;
Result of calculation is submitted the unit, is used for submitting to the grid computing server according to the pre-configured cycle result of calculation of said computing unit.
6. device as claimed in claim 5 is characterized in that, said current communication environment comprises the operating load and the current network UNICOM state of intelligent television system;
Said operating load comprises CPU usage and RAM occupancy; Current network UNICOM state comprises whether IP is obtained in success automatically for eth0 network interface state and DHCP;
The said threshold values that is provided with in advance is that CPU usage is lower than 70%, the RAM occupancy is lower than 80%, the eth0 network interface is in good condition and IP is obtained in the DHCP success automatically.
7. device as claimed in claim 5 is characterized in that, said device also comprises:
Initialization unit is used for initialization intelligent television system, starts the local resource relevant with system service;
The program running unit is used for the operating instruction according to input, operation grid computing client-side program.
8. device as claimed in claim 5 is characterized in that, said device also comprises:
Calculating stops request unit, is used for initiatively stopping to calculate or stopping to participate in calculating to the application of grid computing server;
The resource releasing unit is used to receive the message that stops calculation task that the grid computing server returns, the local resource relevant with system service that starts when discharging said initialization unit initialization intelligent television system;
Calculating stops confirmation unit, is used for sending the affirmation message that stops to calculate to the grid computing server.
9. an intelligent television is characterized in that, said intelligent television comprises like each described grid computing device of claim 5 to 8.
10. a computing system is characterized in that, said system comprises grid computing server and the described intelligent television of claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110420337.4A CN102546759B (en) | 2011-12-14 | 2011-12-14 | Method and system for smart TV to realize grid computing, and smart TV |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110420337.4A CN102546759B (en) | 2011-12-14 | 2011-12-14 | Method and system for smart TV to realize grid computing, and smart TV |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102546759A true CN102546759A (en) | 2012-07-04 |
CN102546759B CN102546759B (en) | 2014-07-09 |
Family
ID=46352707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110420337.4A Expired - Fee Related CN102546759B (en) | 2011-12-14 | 2011-12-14 | Method and system for smart TV to realize grid computing, and smart TV |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102546759B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106528274A (en) * | 2016-11-03 | 2017-03-22 | 许继集团有限公司 | Electricity consumption information data processing method, electricity consumption information acquisition system and intelligent electric meter |
CN107491351A (en) * | 2016-06-13 | 2017-12-19 | 阿里巴巴集团控股有限公司 | A kind of resource allocation methods based on priority, device and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101715001A (en) * | 2009-10-21 | 2010-05-26 | 南京邮电大学 | Method for controlling execution of grid task |
US20130159376A1 (en) * | 2011-12-15 | 2013-06-20 | Charles Moore | Systems and methods for a computing resource broker agent |
-
2011
- 2011-12-14 CN CN201110420337.4A patent/CN102546759B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101715001A (en) * | 2009-10-21 | 2010-05-26 | 南京邮电大学 | Method for controlling execution of grid task |
US20130159376A1 (en) * | 2011-12-15 | 2013-06-20 | Charles Moore | Systems and methods for a computing resource broker agent |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491351A (en) * | 2016-06-13 | 2017-12-19 | 阿里巴巴集团控股有限公司 | A kind of resource allocation methods based on priority, device and equipment |
US11036553B2 (en) | 2016-06-13 | 2021-06-15 | Alibaba Group Holding Limited | Preempting or traversing allocated resource applications based on job priority and resource demand information |
CN107491351B (en) * | 2016-06-13 | 2021-07-27 | 阿里巴巴集团控股有限公司 | Resource allocation method, device and equipment based on priority |
CN106528274A (en) * | 2016-11-03 | 2017-03-22 | 许继集团有限公司 | Electricity consumption information data processing method, electricity consumption information acquisition system and intelligent electric meter |
Also Published As
Publication number | Publication date |
---|---|
CN102546759B (en) | 2014-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Varghese et al. | Challenges and opportunities in edge computing | |
Shiraz et al. | Energy efficient computational offloading framework for mobile cloud computing | |
Othman et al. | A survey of mobile cloud computing application models | |
CN107231815B (en) | System and method for graphics rendering | |
Bahwaireth et al. | Experimental comparison of simulation tools for efficient cloud and mobile cloud computing applications | |
Jang et al. | Personal clouds: Sharing and integrating networked resources to enhance end user experiences | |
CN106161537A (en) | The processing method of remote procedure call, device, system and electronic equipment | |
Lee et al. | Granular computing | |
TW201303613A (en) | Distributed computing framework | |
CN102333065A (en) | Cloud interaction protocol design | |
US9021008B1 (en) | Managing targeted scripts | |
Lin et al. | Novel algorithms and equivalence optimisation for resource allocation in cloud computing | |
WO2015095421A1 (en) | New application launching | |
CN107040798A (en) | Interaction display control method, system, server, control terminal and playback terminal | |
Xiong et al. | Challenges for building a cloud native scalable and trustable multi-tenant AIoT platform | |
Hasan et al. | Dynamic load balancing model based on server status (DLBS) for green computing | |
CN103139183A (en) | Application virtualization technology based on cloud platform | |
CN102567116A (en) | Cloud computing and virtualization system of digital home | |
CN113312168A (en) | Page access method and electronic equipment | |
Hlavacs et al. | Energy efficient peer-to-peer file sharing | |
CN102546759B (en) | Method and system for smart TV to realize grid computing, and smart TV | |
Cerroni | Network performance of multiple virtual machine live migration in cloud federations | |
Steffenel et al. | Assessing the impact of unbalanced resources and communications in edge computing | |
US9668082B2 (en) | Virtual machine based on a mobile device | |
US20220038444A1 (en) | Cloud device, application processing method, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
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: 20140709 |