CN102202232B - Device and method for providing program information - Google Patents

Device and method for providing program information Download PDF

Info

Publication number
CN102202232B
CN102202232B CN 201110148958 CN201110148958A CN102202232B CN 102202232 B CN102202232 B CN 102202232B CN 201110148958 CN201110148958 CN 201110148958 CN 201110148958 A CN201110148958 A CN 201110148958A CN 102202232 B CN102202232 B CN 102202232B
Authority
CN
China
Prior art keywords
module
processing module
programme information
request
information
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.)
Expired - Fee Related
Application number
CN 201110148958
Other languages
Chinese (zh)
Other versions
CN102202232A (en
Inventor
彭罗
童南方
吴伟林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WONHE TECHNOLOGY (SHENZHEN) Co Ltd
Original Assignee
WONHE TECHNOLOGY (SHENZHEN) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WONHE TECHNOLOGY (SHENZHEN) Co Ltd filed Critical WONHE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN 201110148958 priority Critical patent/CN102202232B/en
Publication of CN102202232A publication Critical patent/CN102202232A/en
Application granted granted Critical
Publication of CN102202232B publication Critical patent/CN102202232B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a device for providing program information. The device comprises a first storage module, a second storage module, an interface module, a distribution module, a first processing module and a second processing module, wherein the first storage module and the second storage module are used to store the program information; the interface module is used to receive the program information acquisition requests and send the program information to a requestor; the distribution module is used to select a processing module and distribute the program information acquisition requests to the selected processing module for processing, and send the program information received from the selected processing module to the interface module; the first processing module and the second processing module are used to read the program information from the first storage module and the second storage module respectively according to the program information requests and send the program information to the distribution module. The invention also discloses a method for providing program information. The device and the method provided by the invention are applied to triple play.

Description

The device and method of programme information is provided
Technical field
The present invention relates to a kind of device that information is provided, especially a kind of device that programme information is provided; Also relate to a kind of method that information is provided, especially a kind of method that programme information is provided.
Background technology
The Internet Zhong Information Provider can run into such problem usually: can't predict when visit capacity can be suddenlyd change.When visit capacity increases suddenly, equipment needs data volume to be processed often to exceed the load of equipment itself, this has just caused the visitor can't from Information Provider, obtain the information of wanting, in addition, when equipment, for a long time during the state in excess load, can greatly reduce the actual life of equipment.Now Information Provider tends to use the method for the configuration of raising equipment, but the utilance of this equipment but can't increase thereupon.Therefore this is not optimum method.
Summary of the invention
An object of the present invention is to provide a kind of device that programme information is provided, it can tackle neatly according to actual conditions the problem of visit capacity sudden change.
The technical solution adopted for the present invention to solve the technical problems is a kind of device that programme information is provided of structure, comprising: the first memory module and the second memory module, for programs stored information; Interface module, send to the requesting party for the program receiving information acquisition request and by described programme information; Distribution module, for selecting processing module and the request of obtaining of described programme information being distributed to selected processing module and process, and the described programme information that will receive from selected processing module sends to described interface module; The first processing module and the second processing module, ask and read described programme information from described the first memory module and described the second memory module, and described programme information is sent to described distribution module respectively for obtaining according to described programme information.
In the above-mentioned device that programme information is provided, also comprise: the requestor information analysis module, for analyze programme information obtain request the requesting party information and analysis result is sent to described distribution module; Perhaps task amount monitoring modular, for the task amount of monitoring described the first processing module and/or described the second processing module and monitoring result is sent to described distribution module; Perhaps log pattern, process detailed and added up for the task of recording described the first processing module and/or described the second processing module, and statistics is sent to described distribution module; Described distribution module is according to described analysis result or described monitoring result or described statistics selection processing module.
In the above-mentioned device that programme information is provided, described distribution module specifically comprises: time module, for generation of date and time information and/or temporal information and described date and time information and/or temporal information are sent to the first judge module; The first judge module, for judging according to described date and time information and/or temporal information whether the current period belongs to access peak or access low ebb; The task distribution module, be used for receiving the judged result of the request of obtaining of described programme information and described the first judge module transmission and selecting processing module according to described judged result, and the request of obtaining of described programme information distributed to selected processing module and process.
In the above-mentioned device that programme information is provided, described distribution module specifically comprises: the second judge module, whether too much or very few for judging that described programme information that the current task distribution module receives obtains the quantity of request, and judged result is sent to described task distribution module and/or described switch module; Switch module, for starting other processing module according to the described judged result of described the second judge module; The task distribution module, be used for receiving the judged result of the request of obtaining of described programme information and described the second judge module transmission and selecting processing module according to described judged result, and the request of obtaining of described programme information distributed to selected processing module and process.
As to above-mentioned improved a kind of improvement, if it is too much that the described programme information that current described task distribution module receives obtains the quantity of request, described task distribution module all is assigned to described the first processing module and described the second processing module by the request of obtaining of described programme information; If it is very few that the described programme information that current described task distribution module receives obtains the quantity of request, described task distribution module is selected in described the first processing module and described the second processing module and the request of obtaining of described programme information all is assigned to selected processing module.
Another object of the present invention is to provide a kind of method that programme information is provided, comprise the first memory module, the second memory module, interface module, distribution module, the first processing module and the second processing module, said method comprising the steps of: (A) the first memory module and the second memory module programs stored information; (B) interface module receives the programme information request of obtaining of requesting party's transmission and the request of obtaining of described programme information is sent to distribution module; (C) distribution module is selected processing module and the request of obtaining of described programme information is distributed to selected processing module and process, and the described programme information that will receive from selected processing module sends to described interface module; (D) the first processing module and the second processing module are processed the programme information request of obtaining and are read described programme information from described the first memory module and the second memory module, and described programme information is sent to described distribution module respectively.
In the above-mentioned method that programme information is provided, step (B) afterwards and step (C) also comprise before step (E1) or (E2) or (E3), step (E1) comprises the requestor information analysis module, step (E2) comprises the task amount detection module, step (E3) comprises log pattern, step (E1) or (E2) or (E3) specific as follows: (E1) the requestor information analysis module is analyzed programme information and is obtained the information of the requesting party in request and analysis result is sent to described distribution module, and described distribution module is selected processing module according to described analysis result; The perhaps task amount of described the first processing module of (E2) task amount monitoring module monitors and/or described the second processing module monitoring result is sent to described distribution module, described distribution module is selected processing module according to described monitoring result; Perhaps (E3) log pattern records the task processing detail of described the first processing module and/or described the second processing module and is added up, and statistics is sent to described distribution module, and described distribution module is selected processing module according to described statistics.
In the above-mentioned method that programme information is provided, described distribution module specifically comprises time module, the first judge module and task distribution module, and step (C) specifically comprises the following steps: (c1) time module produces date and time information and/or temporal information and described date and time information and/or temporal information is sent to the first judge module; (c2) the first judge module judges according to described date and time information and/or temporal information whether the current period belongs to access peak or access low ebb; (c3) the task distribution module receives the judged result of the request of obtaining of described programme information and described the first judge module transmission and selects processing module according to described judged result, and the request of obtaining of described programme information is distributed to selected processing module and process.
In the above-mentioned method that programme information is provided, described distribution module specifically comprises the second judge module, switch module and task distribution module, step (C) specifically comprises the following steps: (c4) whether the second judge module to judge that described programme information that current described task distribution module receives obtains the quantity of request too much or very few, and judged result is sent to task distribution module and/or switch module; (c5) switch module starts other processing module according to the described judged result of described the second judge module; (c6) the task distribution module receives the judged result of the request of obtaining of described programme information and described the second judge module transmission and selects processing module and the request of obtaining of described programme information distributed to selected processing module and process according to described judged result.
As to above-mentioned improved a kind of improvement, described step (c3) or described step (c6) are also further comprising the steps: if (c7) quantity that described programme information that current described task distribution module receives obtains request is higher than the first set point, described task distribution module all is assigned to described the first processing module and described the second processing module by the request of obtaining of described programme information; (c8) if the quantity that the described programme information that current described task distribution module receives obtains request lower than the second set point, described task distribution module is selected in described the first processing module and described the second processing module and the request of obtaining of described programme information all is assigned to selected processing module.
The invention has the beneficial effects as follows, due to distribution module according to the actual conditions allocating task, in the situation that network access quantity increase suddenly can be in time and process rapidly programme information that the requesting party sends and obtain and ask and feed back to the requesting party, even the task treating capacity has surpassed the data-handling capacity of processing module, the processing module that the present invention can also call other is processed programme information and is obtained request.Situation about increasing suddenly in order to tackle visit capacity, the present invention does not need processing module and the memory module of high configuration, and only use lower processing module and the memory module of configuration to get final product, this greatly reduces the cost of equipment, take full advantage of old or configure low processing module and memory module, being conducive to reduce the generation of electronic waste; The present invention also helps the actual life of extension device.
The accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the block diagram of first embodiment of the device that programme information is provided of the present invention;
Fig. 2 is the block diagram of second embodiment of the device that programme information is provided of the present invention;
Fig. 3 is the block diagram of the 3rd embodiment of the device that programme information is provided of the present invention;
Fig. 4 is the block diagram of first embodiment of distribution module of the present invention;
Fig. 5 is the block diagram of second embodiment of distribution module of the present invention;
Fig. 6 is the flow chart of first embodiment of the method that programme information is provided of the present invention;
Fig. 7 is the flow chart of second embodiment of the method that programme information is provided of the present invention;
Fig. 8 is the flow chart of the 3rd embodiment of the method that programme information is provided of the present invention;
Fig. 9 is that distribution module of the present invention selects processing module to process the flow chart that programme information obtains first embodiment of this step of request;
Figure 10 is that distribution module of the present invention selects processing module to process the flow chart that programme information obtains second embodiment of this step of request.
Embodiment
With reference to figure 1, Fig. 1 is the block diagram of first embodiment of the device that programme information is provided of the present invention.The device of programme information that provides of the present invention comprises interface module 104, requestor information analysis module 106, distribution module 103, the first processing module 102, the second processing module 105, the first memory module 101 and the second memory module 107.In the present embodiment, the first memory module 101 and the second memory module 107 are all external memory storages, and they have stored same programme information.Distribution module 103 is electrically connected with interface module 104, the first processing module 102, the second processing module 105, requestor information analysis module 106 respectively, interface module 104 is electrically connected with requestor information analysis module 106, the first processing module 102 and the first memory module 101 are electrically connected, and the second processing module 105 and the second memory module 107 are electrically connected.Compunication in interface module 104 and the Internet.Interface module 104 receives the programme information request of obtaining of requesting party's transmission and the request of obtaining of this programme information is sent to requestor information analysis module 106, requestor information analysis module 106 obtains requirement analysis requesting party's information according to this programme information, as extracted requesting party's IP address from this request, then according to IP adress analysis requesting party's location, then analysis result is sent to distribution module 103, here said requesting party's IP address can be both the IP address of computer, the IP address that in the time of also can being surfing Internet with cell phone, operator distributes.Distribution module 103 is selected one according to this analysis result from the first processing module 102 and the second processing module 105, as the first processing module 102, the request of obtaining of this programme information is distributed to the first processing module 102 and process.The solicited message that belongs to A, B, C, D province as the IP address will be assigned to the first processing module 102 processing, and the solicited message that the IP address belongs to E, F, G, H province will be assigned to the second processing module 105 processing.The benefit of doing like this is can make the device that programme information is provided of the present invention process the efficiency that programme information obtains request greatly to increase, as long as relations of distribution definition suitably, the task amount of the first processing module 102 and the second processing module 105 is suitable, can reduce the load of the first processing module 102 and the second processing module 105, be conducive to extend the life-span of the first memory module 101, the second memory module 107, reduce the probability of happening of the loss of data caused because of the first memory module 101 and the second memory module 107 damages simultaneously.
With reference to figure 2, Fig. 2 is the block diagram of second embodiment of the device that programme information is provided of the present invention.The device of programme information that provides of the present invention comprises interface module 104, distribution module 103, the first processing module 102, the second processing module 105, the first memory module 101, the second memory module 107 and task amount monitoring modular 201.In the present embodiment, the first memory module 101 and the second memory module 107 are all external memory storages, and they have stored same programme information.Task amount detection module 201 and the first processing module 102, the second processing module 105 and distribution module 103 are electrically connected.The task amount of task amount monitoring modular 201 monitoring the first processing modules 102 and/or the second processing module 105, the situation that takies of the CPU usage of task amount monitoring modular 201 by monitoring the first processing module 102 and the second processing module 105 or internal memory is monitored the task amount of the first processing module 102 and/or the second processing module 105.Task amount detection module 201 can also be electrically connected with the first memory module 101 and the second memory module 107, and task amount detection module 201 detects the task amount of the first processing module 102 and/or the second processing module 105 by the read or write speed of monitoring the first memory module 101 and the second memory module 107.Task amount detection module 201 sends to distribution module 103 by monitoring result, distribution module 103 judges that according to monitoring result the CPU usage of which processing module is lower or EMS memory occupation is less or the read or write speed of which memory module is higher, task amount monitoring modular 201 processing module that the selection CPU usage is lower or EMS memory occupation is less or processing module corresponding to memory module higher with read or write speed, distribute to selected processing module by the programme information request of obtaining.The benefit of doing like this is the task amount relative equilibrium that can make the first processing module 102 and the second processing module 105, and the task amount of the too much another one processing module of task amount of avoiding occurring one of them processing module is very few and affected the efficiency that the requesting party obtains programme information.
With reference to figure 3, Fig. 3 is the block diagram of the 3rd embodiment of the device that programme information is provided of the present invention.The device of programme information that provides of the present invention comprises interface module 104, log pattern 301, distribution module 103, the first processing module 102, the second processing module 105, the first memory module 101 and the second memory module 107.In the present embodiment, the first memory module 101 and the second memory module 107 are all external memory storages, and they have stored same programme information.The task of log pattern 301 record the first processing modules 102 and the second processing module 105 is processed detailed and the task of the first processing module 102 and the second processing module 105 is processed to detail and added up in real time.By the task of recording the first processing module 102 and the second processing module 105, process detailed, log pattern 301 can draw the task amount of the first processing module 102 and the second processing module 105 within the unit interval, if the task amount of the task amount of the first processing module 102 second processing module 105 higher than the first set point is lower than the second set point, log pattern 301 sends to distribution module 103 by statistics so, and distribution module 103 is distributed to the second processing module 105 by the request of obtaining of the current programme information received and processed.
With reference to figure 4, the block diagram of first embodiment that Fig. 4 is distribution module 103 of the present invention.Distribution module 103 of the present invention comprises time module 401, the first judge module 402 and task distribution module 403.The first judge module 402 is electrically connected with time module 401 and task distribution module 403 respectively.Time module 401 produces date signal and/or time signal and this date signal and/or time signal is sent to the first judge module 402.The first judge module 402 judges currently whether arrive access peak period or access low-valley interval and judged result is sent to task distribution module 403 according to date signal and/or time signal, it if current, is access peak period, task distribution module 403 is assigned to the first processing module 102 and the second processing module 105 by the programme information request of obtaining so, it if current, is the access low-valley interval, task distribution module 403 is selected in the first processing modules 102 and the second processing module 105 so, as the first processing module 102, in this low-valley interval, by all programme informations, the request of obtaining all sends to the first processing module 102 to process, the second 105 of processing modules are not processed any task, to allow the second processing module 105 dormancy, at another low-valley interval, 403 of task distribution modules all send to the second processing module 105 to process the request of obtaining of all programme informations, and the first 102 of processing modules are not processed any task, to allow the first processing module 102 dormancy.The benefit of doing like this is according to the task amount of current actual arranged rational the first processing module 102 and the second processing module 105, to be conducive to extend the life-span of the first processing module 102, the second processing module 105, the first memory module 101 and the second memory module 107.
With reference to figure 5, Fig. 5 is the block diagram of second embodiment of the distribution module 103 of the device that programme information is provided of the present invention.In the present embodiment, distribution module 103 comprises the second judge module 502, task distribution module 403 and switch module 501, the second judge module 502 is electrically connected with task distribution module 403 and switch module 501 respectively, and the second judge module 502 is monitored the programme information request of obtaining that task distribution module 403 receives in real time to judge that whether the programme information that task distribution module 403 receives within the unit interval obtains the quantity of request higher than the first set point or lower than the second set point.If higher than the first set point, the second judge module 502 control switch modules 501 start other processing module so, the second judge module 502 sends a triggering signal to task distribution module 403 simultaneously, and task distribution module 403 is distributed to other processing module by the programme information request of obtaining by switch module 501; If lower than the second set point, the second judge module 502 sends to task distribution module 403 by judged result so, task distribution module 403 can think that the current period is the access low-valley interval, thereby one that the request of obtaining of current all programme informations is all distributed in two processing modules is processed, another dormancy.
A kind of prioritization scheme of the device of programme information that provides of the present invention is, then the data-handling capacity of distribution module 103 record the first processing modules 102 and the second processing module 105 is the first processing module 102 and the second processing module 105 allocating tasks according to the data-handling capacity of the first processing module 102 and the second processing module 105.
With reference to figure 6, Fig. 6 is the flow chart of first embodiment of the method that programme information is provided of the present invention.In step 601, the programme information that interface module 104 receives requesting party's transmission from the Internet obtains request, and this request generally comprises requesting party's IP address, address of the date and time of request, the file of request etc.In step 602, interface module 104 sends to requestor information analysis module 106 by the request of obtaining of this programme information.In step 603, requestor information analysis module 106 obtains the information of analysis request side request from this programme information, as analyzes requesting party's IP address, then according to this IP Address Recognition, goes out requesting party's geographical position.In step 604, requestor information analysis module 106 sends to distribution module 103 by analysis result and the request of obtaining of this programme information.In step 605, distribution module 103 is selected in the first processing module 102 and the second processing module 105 according to this analysis result, and selected processing module is distributed in the request of then this programme information being obtained.In step 606, processing module is processed this request and programme information is sent to distribution module 103.In step 607, distribution module 103 program receiving information also send to interface module 104 by this information.In step 608, interface module 104 sends to the requesting party by this programme information.
With reference to figure 7, Fig. 7 is the flow chart of second embodiment of the method that programme information is provided of the present invention.In step 701, the programme information that interface module 104 receives requesting party's transmission from the Internet obtains request.In step 702, interface module 104 sends to distribution module 103 by the request of obtaining of this programme information.In step 703, the task amount of task amount monitoring modular 201 monitoring the first processing modules 102 and the second processing module 105, the read or write speed of the CPU usage of task amount monitoring modular 201 by obtaining the first processing module 102 and the second processing module 105 and/or EMS memory occupation situation information or the first memory module 101 and the second memory module 107 is monitored the task amount of the first processing module 102 and the second processing module 105.In step 704, task amount monitoring modular 201 sends to distribution module 103 by monitoring result.In step 705, distribution module 103 is selected in the first processing module 102 and the second processing module 105 and the request of obtaining of this programme information is distributed to selected processing module and process according to this monitoring result.In step 706, processing module is processed this request and programme information is sent to distribution module 103.In step 707, distribution module 103 sends to interface module 104 by obtained programme information.In step 708, interface module 104 sends to the requesting party by this programme information by the Internet.
With reference to figure 8, Fig. 8 is the flow chart of the 3rd embodiment of the method that programme information is provided of the present invention.In step 801, the programme information that interface module 104 receives requesting party's transmission from the Internet obtains request.In step 802, interface module 104 sends to distribution module 103 by the request of obtaining of this programme information.In step 803, log pattern 301 sends to distribution module 103 by log statistic information.In step 804, distribution module 103 is according to one in this log statistic Information Selection first processing module 102 and the second processing module 105 and the request of obtaining of this programme information is distributed to selected processing module and processed.In step 805, processing module is processed this request and programme information is sent to distribution module 103.In step 806, distribution module 103 sends to interface module 104 by obtained programme information.In step 807, the task of log pattern 301 record processing module is processed detailed and the task of processing module is processed to detail and carry out real-time grading and statistics.In step 808, interface module 104 sends to the requesting party by this programme information by the Internet.
With reference to figure 9, Fig. 9 selects processing module for distribution module in the method that programme information is provided 103 and processes the flow chart that programme information obtains first embodiment of this step of request.In step 901, task distribution module 403 is the program receiving information acquisition request from interface module 104.In step 902, time module 401 produces date and time information and/or temporal information and current date and time information and/or temporal information is sent to the first judge module 402.In step 903, the first judge module 402 judges current access peak period or the access low-valley interval of whether belonging to according to current date and/or time.In step 904, the first judge module 402 sends to task distribution module 403 by judged result.In step 905, belong to if current and access peak period, enter step 907, task distribution module 403 is distributed to two processing modules by the programme information request of obtaining, and does not belong to if current and accesses peak period, enters step 906.In step 906, if belong to the access low-valley interval current, enter step 908, task distribution module 403 is selected one and the request of obtaining of all programme informations is distributed to selected processing module from the first processing module 102 and the second processing module 105, if not, get back to step 903.If all distribute to the first processing module 102 in the request of obtaining of a upper all programme information of access low-valley interval, the second processing module 105 and the second memory module 107 dormancy, so at this low-valley interval, task distribution module 403 is all distributed to the second processing module 105, the first processing modules 102 and the first memory module 101 dormancy by the request of obtaining of all programme informations.
With reference to Figure 10, Figure 10 selects processing module for distribution module in the method that programme information is provided 103 and processes the flow chart that programme information obtains second embodiment of this step of request.In step 1001, the programme information that task distribution module 403 receiving interface modules 104 send obtains request.In step 1002, the programme information that the second judge module 502 judgement current task distribution modules 403 receive obtains the quantity of request.In step 1003, if the programme information that current task distribution module 403 receives obtains the quantity of request higher than the first set point, enter step 1005, the second judge module 502 control switch modules 501 start other processing module, if not, enter step 1004.In step 1004, if the programme information that current task distribution module 403 receives obtains the quantity of request lower than the second set point, enter step 1006, the second judge module 501 sends to task distribution module 403 by judged result, if not, turn back to step 1002.In step 1007, task distribution module 403 distributes to by the partial programme information acquisition request other processing module that switch module 501 starts.In step 1008, task distribution module 403 is all distributed in two processing modules by the request of obtaining of all programme informations, if all distribute to the first processing module 102 in the request of obtaining of a upper all programme information of access low-valley interval, the second processing module 105 and the second memory module 107 dormancy, so at this low-valley interval, task distribution module 403 is all distributed to the second processing module 105, the first processing modules 102 and the first memory module 101 dormancy by the request of obtaining of all programme informations.
In the present invention, due to distribution module 103 according to the actual conditions allocating task, in the situation that network access quantity increase suddenly can be in time and process rapidly programme information that the requesting party sends and obtain and ask and feed back to the requesting party, even the task treating capacity has surpassed the data-handling capacity of processing module, the processing module that the present invention can also call other is processed programme information and is obtained request.Situation about increasing suddenly in order to tackle visit capacity, the present invention does not need processing module and the memory module of high configuration, and only use lower processing module and the memory module of configuration to get final product, this greatly reduces the cost of equipment, take full advantage of old or configure low processing module and memory module, being conducive to reduce the generation of electronic waste.In addition, suppose in the situation that be T1 hour the average actual life of continuous operation the first memory module 101 and the second memory module 107, in the situation that the present invention is T2 hour according to the average actual life of actual conditions allocating task the first memory module 101 and the second memory module, T2>T1, increased the actual life of equipment of the present invention so.
Some embodiments of the present invention have more than been described; to those skilled in the art; under the prerequisite that does not break away from the principle of the invention and spirit; can make some modifications or conversion to the present invention; within modifications more of the present invention or conversion are all dropped on to protection scope of the present invention, provide as of the present invention in the device of programme information and can comprise requestor information analysis module 106 and task amount monitoring modular 201 or log pattern 301 simultaneously.

Claims (4)

1. the device that programme information is provided, is characterized in that, comprising:
The first memory module and the second memory module, for programs stored information;
Interface module, send to the requesting party for the program receiving information acquisition request and by described programme information;
Distribution module, for recording the data-handling capacity of the first processing module and the second processing module, then select processing module and the request of obtaining of described programme information distributed to selected processing module and process according to the data-handling capacity of the first processing module and the second processing module, and the described programme information that will receive from selected processing module sends to described interface module;
The first processing module and the second processing module, ask and read described programme information from described the first memory module and described the second memory module, and described programme information is sent to described distribution module respectively for obtaining according to described programme information;
Described distribution module specifically comprises:
Time module, for generation of date and time information and/or temporal information and described date and time information and/or temporal information are sent to the first judge module;
The first judge module, for judging according to described date and time information and/or temporal information whether the current period belongs to access peak or access low ebb;
The task distribution module, for receiving judged result that the request of obtaining of described programme information and described the first judge module send and selecting processing module and described programme information is obtained and asks to distribute to selected processing module and process according to described judged result;
Perhaps, described distribution module specifically comprises:
The second judge module, whether too much or very few for judging that described programme information that the current task distribution module receives obtains the quantity of request, and judged result is sent to described task distribution module and/or switch module;
Switch module, start described the first processing module and/or described the second processing module for the described judged result according to described the second judge module;
The task distribution module, be used for receiving the judged result of the request of obtaining of described programme information and described the second judge module transmission and selecting processing module according to described judged result, and the request of obtaining of described programme information distributed to selected processing module and process;
If the quantity that the described programme information that current described task distribution module receives obtains request is higher than the first set point, described task distribution module all is assigned to described the first processing module and described the second processing module by the request of obtaining of described programme information; If the quantity that the described programme information that current described task distribution module receives obtains request is lower than the second set point, described task distribution module is selected in described the first processing module and described the second processing module and the request of obtaining of described programme information all is assigned to selected processing module;
If the described programme information that last described task distribution module receives obtains the quantity of request lower than the second set point, described task distribution module has been selected described the first processing module and the request of obtaining of described programme information all has been assigned to described the first processing module, the quantity that the described programme information that this time described task distribution module receives obtains request is during lower than the second set point, and described task distribution module is selected described the second processing module and the request of obtaining of described programme information all is assigned to described the second processing module.
2. the device that programme information is provided according to claim 1, is characterized in that, also comprises:
The requestor information analysis module, for analyze programme information obtain request the requesting party information and analysis result is sent to described distribution module; Perhaps
The task amount monitoring modular, for the task amount of monitoring described the first processing module and/or described the second processing module and monitoring result is sent to described distribution module; Perhaps
Log pattern, process detailed and added up for the task of recording described the first processing module and/or described the second processing module, and statistics is sent to described distribution module;
Described distribution module is according to described analysis result or described monitoring result or described statistics selection processing module.
3. the method that programme information is provided, is characterized in that, said method comprising the steps of:
(A) the first memory module and the second memory module programs stored information;
(B) interface module receives the programme information request of obtaining of requesting party's transmission and the request of obtaining of described programme information is sent to distribution module;
(C) distribution module records the data-handling capacity of the first processing module and the second processing module, then select processing module and the request of obtaining of described programme information distributed to selected processing module and process according to the data-handling capacity of the first processing module and the second processing module, and the described programme information that will receive from selected processing module sends to described interface module;
(D) the first processing module and the second processing module are processed the programme information request of obtaining and are read described programme information from described the first memory module and the second memory module, and described programme information is sent to described distribution module respectively;
Described distribution module specifically comprises time module, the first judge module and task distribution module, and step (C) specifically comprises the following steps:
(c1) time module produces date and time information and/or temporal information and described date and time information and/or temporal information is sent to the first judge module;
(c2) the first judge module judges according to described date and time information and/or temporal information whether the current period belongs to access peak or access low ebb;
(c3) the task distribution module receives the judged result of the request of obtaining of described programme information and described the first judge module transmission and selects processing module according to described judged result, and the request of obtaining of described programme information is distributed to selected processing module and process;
Perhaps, described distribution module specifically comprises the second judge module, switch module and task distribution module, and step (C) specifically comprises the following steps:
(c4) whether the second judge module to judge that described programme information that current described task distribution module receives obtains the quantity of request too much or very few, and judged result is sent to task distribution module and/or switch module;
(c5) switch module starts described the first processing module and/or described the second processing module according to the described judged result of described the second judge module;
(c6) the task distribution module receives the judged result of the request of obtaining of described programme information and described the second judge module transmission and selects processing module and the request of obtaining of described programme information distributed to selected processing module and process according to described judged result;
Wherein, described step (c3) or described step (c6) are also further comprising the steps:
(c7) if the quantity that the described programme information that current described task distribution module receives obtains request higher than the first set point, described task distribution module all is assigned to described the first processing module and described the second processing module by the request of obtaining of described programme information;
(c8) if the quantity that the described programme information that current described task distribution module receives obtains request lower than the second set point, described task distribution module is selected in described the first processing module and described the second processing module and the request of obtaining of described programme information all is assigned to selected processing module;
If the described programme information that last described task distribution module receives obtains the quantity of request lower than the second set point, described task distribution module has been selected described the first processing module and the request of obtaining of described programme information all has been assigned to described the first processing module, the quantity that the described programme information that this time described task distribution module receives obtains request is during lower than the second set point, and described task distribution module is selected described the second processing module and the request of obtaining of described programme information all is assigned to described the second processing module.
4. the method that programme information is provided according to claim 3, it is characterized in that, step (B) afterwards and step (C) also comprise before step (E1) or (E2) or (E3), step (E1) comprises the requestor information analysis module, step (E2) comprises the task amount detection module, step (E3) comprises log pattern, step (E1) or (E2) or (E3) specific as follows:
(E1) requestor information analysis module analysis programme information obtains the information of the requesting party in request and analysis result is sent to described distribution module, and described distribution module is selected processing module according to described analysis result; Perhaps
(E2) task amount of described the first processing module of task amount monitoring module monitors and/or described the second processing module monitoring result is sent to described distribution module, described distribution module is selected processing module according to described monitoring result; Perhaps
(E3) log pattern records the task processing detail of described the first processing module and/or described the second processing module and is added up, and statistics is sent to described distribution module, and described distribution module is selected processing module according to described statistics.
CN 201110148958 2011-06-03 2011-06-03 Device and method for providing program information Expired - Fee Related CN102202232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110148958 CN102202232B (en) 2011-06-03 2011-06-03 Device and method for providing program information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110148958 CN102202232B (en) 2011-06-03 2011-06-03 Device and method for providing program information

Publications (2)

Publication Number Publication Date
CN102202232A CN102202232A (en) 2011-09-28
CN102202232B true CN102202232B (en) 2013-12-25

Family

ID=44662561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110148958 Expired - Fee Related CN102202232B (en) 2011-06-03 2011-06-03 Device and method for providing program information

Country Status (1)

Country Link
CN (1) CN102202232B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741878A (en) * 2016-11-01 2018-02-27 研祥智能科技股份有限公司 Method for scheduling task, apparatus and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
CN101242432A (en) * 2008-02-28 2008-08-13 蓝汛网络科技(北京)有限公司 An Internet content distribution method, system and device
CN101478662A (en) * 2008-01-03 2009-07-08 中兴通讯股份有限公司 File content distributing method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005175788A (en) * 2003-12-10 2005-06-30 Sanyo Electric Co Ltd Program information system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039329A (en) * 2006-12-28 2007-09-19 中兴通讯股份有限公司 Media delivery system of network TV system based on media delivery
CN101478662A (en) * 2008-01-03 2009-07-08 中兴通讯股份有限公司 File content distributing method and apparatus
CN101242432A (en) * 2008-02-28 2008-08-13 蓝汛网络科技(北京)有限公司 An Internet content distribution method, system and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2005-175788A 2005.06.30

Also Published As

Publication number Publication date
CN102202232A (en) 2011-09-28

Similar Documents

Publication Publication Date Title
CN105281981B (en) The data traffic monitoring method and device of network service
CN110493065B (en) Alarm correlation degree analysis method and system for cloud center operation and maintenance
CN110502494A (en) Log processing method, device, computer equipment and storage medium
CN111352806B (en) Log data monitoring method and device
CN102801792A (en) Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
CN105516347A (en) Method and device for load balance allocation of streaming media server
CN111966289B (en) Partition optimization method and system based on Kafka cluster
CN103067297A (en) Dynamic load balancing method and device based on resource consumption prediction
CN111740860A (en) Log data transmission link monitoring method and device
CN106470123A (en) Log collecting method, client, server and electronic equipment
CN109842521A (en) A kind of mobile terminal delay machine forecasting system and method
CN110247816A (en) Index monitoring method and device
CN111818478A (en) Data transmission method, device, storage medium and device for vehicle
CN116016276A (en) Method and device for detecting health state of server
CN113079062B (en) Resource adjusting method and device, computer equipment and storage medium
CN113885794B (en) Data access method and device based on multi-cloud storage, computer equipment and medium
CN114385378A (en) Active data processing method and device for Internet of things equipment and storage medium
CN102202232B (en) Device and method for providing program information
CN102082677A (en) Alarm information processing method, device and system
CN108415765B (en) Task scheduling method and device and intelligent terminal
CN208046653U (en) A kind of electric power monitoring system network security monitoring main website plateform system
CN103401722A (en) System and method for monitoring software resources
CN112328463A (en) Log monitoring method and device
CN100454846C (en) Method and device for reporting alarming information in distributed system
CN112463604A (en) APP detection system based on electric power integration terminal

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

Granted publication date: 20131225

Termination date: 20180603

CF01 Termination of patent right due to non-payment of annual fee