Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN102929661 A
Publication typeApplication
Application numberCN 201210380100
Publication date13 Feb 2013
Filing date9 Oct 2012
Priority date9 Oct 2012
Also published asCN102929661B
Publication number201210380100.2, CN 102929661 A, CN 102929661A, CN 201210380100, CN-A-102929661, CN102929661 A, CN102929661A, CN201210380100, CN201210380100.2
Inventors张菊元, 赵肖勇, 左文平, 任寰
Applicant北京奇虎科技有限公司, 奇智软件(北京)有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Method and device for processing functional component, and server
CN 102929661 A
Abstract
The invention provides a method and a device for processing a functional component, and a server, and aims to flexibly and variably control various functional modules in the functional component. The method comprises the following steps of: transmitting a starting identifier to the server, wherein the starting identifier is used for identifying a software starting event; acquiring a switch file returned by the server according to the starting identifier; and determining a state of the functional module to be processed in the functional modules to be processed according to the switch file.
Claims(19)  translated from Chinese
1. 一种功能组件的处理方法,包括:发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件;获取服务器依据启动标识返回的开关文件;根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 Method for treating functional components, comprising: sending start identification to the server, wherein the triggering event ID is used to identify the software start; obtaining a server based on the switch trigger identification documents returned; according to the switch document, to be determined processing status of functional components to be processed in the function module.
2.如权利要求I所述的方法,所述开关文件包括待处理功能组件中待处理功能模块的模块标识和状态标识。 2. The method of claim I, wherein the switching module comprises a file identification and functional state identification component to be treated in the function block to be processed.
3.如权利要求2所述的方法,其中根据所述开关文件,确定待处理功能组件中待处理功能模块的状态包括:根据开关文件中待处理功能模块的模块标识来确定待处理功能模块;根据开关文件中待处理功能模块的状态标识来确定待处理功能模块的状态。 3. The method of claim 2, wherein the switch according to the file, the status is determined to be pending processing function components function module comprises: determining function module to be processed in accordance with the switching module identification document to be processed in the function module; function to determine the status of the pending state of the switching module according to the file to be processed in the functional module identification.
4.如权利要求2所述的方法,其中所述开关文件中还包括待处理功能组件的组件标根据所述开关文件,确定待处理功能组件中待处理功能模块的状态包括:根据开关文件中待处理功能组件的组件标识来确定待处理功能组件。 4. The method of claim 2, wherein said switch assembly further includes a document processing function to be labeled in accordance with the switch assembly file to determine the state of functional components to be pending processing module comprises: switch according file Pending the functional components of the component identification to determine the functional components to be processed.
5.如权利要求I所述的方法,所述状态包括以下任一项:开启、关闭、定时开启和定时关闭;根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,包括以下任一项:根据开启状态,开启或加载对应的功能模块;根据关闭状态,关闭或不加载对应的功能1吴块;根据定时开启状态,在达到定时时间后,开启或加载所述待处理功能模块;根据定时关闭状态,在达到定时时间后,关闭或不加载所述待处理功能模块。 5. The method of claim I, said state includes any of the following: on, off, timer on and time off; according to the switch file, determine the status of pending functional components to be processed functional modules, including According to off, off, or does not load corresponding function 1 WU block;; the timing turned on, after reaching timing, open or load to be treated according to the open state, open or load the corresponding modules: any one of the following function module; the timing off, after reaching timing, closed or not the load process modules to be.
6.如权利要求I所述的方法,所述开关文件中还包括版本信息,所述的方法还包括:当检测到待处理功能组件的版本信息与所述开关文件中该功能组件的版本信息不一致时,下载开关文件中版本信息对应的功能组件,并更新本地的功能组件。 6. The method of claim I, wherein the switch further includes a file version information, said method further comprising: when it is detected to be the version information processing function components and the file version information of the switching function component inconsistent, download switch file version information corresponding functional components, and update the local functional components.
7. 一种功能组件的处理方法,包括:接收来自终端的启动标识,所述启动标识用于标识软件启动的事件;依据所述启动标识获取开关文件;向该终端发送所述开关文件。 A functional components processing method, comprising: receiving start flag from the terminal, the start ID is used to identify software-initiated event; based on the start switch identifies obtain documents; send to the terminal of the switch file.
8.如权利要求7所述的方法,还包括开关文件的生成方法:依据需要处理的功能模块,设置待处理功能模块的模块标识;依据对待处理功能模块的处理操作,设置所述待处理功能模块的状态标识。 8. The method of claim 7, further comprising a switch file generation method: function module based on the need to deal with, to be set processing module identification module; be treated according to the process operation function block, set the function to be processed state module identification.
9.如权利要求8所述的方法,还包括:将需要处理的功能模块所属的功能组件的组件标识设置为待处理功能组件的组件标识。 9. The method of claim 8, further comprising: identifying functional component modules need to be processed belongs component to component identifies the functional components to be treated.
10. 一种功能组件的处理方法,包括:终端发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件;所述服务器接收来自所述终端的所述启动标识;所述服务器依据所述启动标识获取开关文件;所述服务器向该终端发送所述开关文件; 所述终端获取所述服务器依据启动标识返回的开关文件; 所述终端根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 10. A method of treatment of functional components, comprising: a terminal sends start identification to the server, which is used to identify the start identify software-initiated event; the server receives the start identification from the terminal; the server Get identity based on the start switch file; the server sends to the terminal of the switch file; the terminal server basis to obtain the return of the switch to trigger identification documents; the terminal according to the switch documentation to determine the functional components to be processed the pending state processing function module.
11. 一种功能组件的处理装置,包括: 发送模块,适于发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件; 获取模块,适于获取服务器依据启动标识返回的开关文件; 状态确定模块,适于根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 Processing device 11. A functional components, comprising: a transmission module, adapted to transmit a start identification to the server, which is used to identify the start identify software-initiated event; acquiring module adapted to acquire servers based startup logo return switch file; state determination module adapted to switch the document to be processed to determine the status of the functional components of the functional modules to be treated.
12.如权利要求11所述的装置,所述开关文件包括待处理功能组件中待处理功能模块的模块标识和状态标识。 12. The apparatus of claim 11, wherein said switching module comprises a file identification and functional state identification component to be treated in the function block to be processed.
13.如权利要求12所述的装置,所述状态确定模块,包括: 第一确定子模块,适于根据开关文件中待处理功能模块的模块标识来确定待处理功能模块; 第二确定子模块,适于根据开关文件中待处理功能模块的状态标识来确定待处理功能模块的状态。 Second determining sub-module; a first determination sub-module, adapted to determine the functional modules to be treated in accordance with the switching module identification document to be processed functional modules: 13. The apparatus as claimed in claim 12, wherein said state determination module, comprising adapted to determine the state of the function block to be processed in accordance with the state of the file to be processed in the switching functional module identification.
14.如权利要求12所述的装置,其中所述开关文件中还包括待处理功能组件的组件标识;所述状态确定模块,还包括: 第三确定子模块,适于根据开关文件中待处理功能组件的组件标识来确定待处理功能组件。 14. The apparatus of claim 12, wherein said switch further comprises a document processing component assembly to be identified; the state determination module, further comprising: determining a third sub-module, adapted to be processed in accordance with the switching file component identifies functional components to determine the functional components to be processed.
15.如权利要求11所述的装置,所述状态包括以下任一项:开启、关闭、定时开启和定时关闭; 所述状态确定模块,适于根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,包括以下任一项:根据开启状态,开启或加载对应的功能模块;根据关闭状态,关闭或不加载对应的功能模块;根据定时开启状态,在达到定时时间后,开启或加载所述待处理功能模块;根据定时关闭状态,在达到定时时间后,关闭或不加载所述待处理功能模块。 15. The apparatus of claim 11, wherein said state comprises one of the following: on, off, timer on and time off; the state determination module adapted to the switch files to be processed to determine the functional components Status Pending functional modules, including any of the following: According to the open state, open or load corresponding function module; based on off, off, or does not load corresponding function module; the timing turned on, after reaching timing, open or load processing module said to be; the timing off, after reaching timing, closed or not the load process modules to be.
16.如权利要求11所述的装置,所述开关文件中还包括版本信息,所述的装置还包括: 更新模块,适于当检测到待处理功能组件的版本信息与所述开关文件中该功能组件的版本信息不一致时,下载开关文件中版本信息对应的功能组件,并更新本地的功能组件。 16. The apparatus of claim 11, further comprising the switch file version information, said apparatus further comprising: updating module, adapted to be detected when the processing function components and the version information of the file switch When functional components inconsistent version information, download switch file version information corresponding functional components, and update the local functional components.
17. —种服务器,包括: 接收模块,适于接收来自终端的启动标识,其中,所述启动标识用于标识软件启动的事件; 获取模块,适于依据所述启动标识获取开关文件; 发送模块,适于向该终端发送所述开关文件。 17. - kind of server, comprising: a receiving module, adapted to receive a start identification from the terminal, which is used to identify the start identify software-initiated event; obtaining module, adapted according to the start switch identifies obtain documents; sending module adapted to transmit to the terminal of the switch file.
18.如权利要求17所述的服务器,还包括:文件生成模块,用于生成开关文件,所述文件生成模块包括: 第一设置子模块,适于依据需要处理的功能模块,设置待处理功能模块的模块标识; 第二设置子模块,适于依据对待处理功能模块的处理操作,设置所述待处理功能模块的状态标识。 18. The server of claim 17, further comprising: a file generating module, for generating a switching file, the file generation module comprising: a first setting sub-module, adapted to be processed according to the function module, the processing functions to be provided Module identification module; second setting sub-module, adapted to be treated according to the process operation function block, set the state to be treated functional module identification.
19.如权利要求18所述的服务器,所述文件生成模块,还包括:第三设置子模块,适于将需要处理的功能模块所属的功能组件的组件标识设置为待处理功能组件的组件标识。 19. The server of claim 18, wherein the file generating module, further comprising: a third set sub-module, component identification set of functional components adapted to deal with the function module belongs pending functional components of component identification .
Description  translated from Chinese

—种功能组件的处理方法、装置及服务器技术领域[0001] 本发明涉及计算机软件技术,特别是涉及一种功能组件的处理方法、装置及服务器。 - Treatment functions components, devices and server technology [0001] The present invention relates to computer software technology, particularly to a processing method of functional components, devices and servers. 背景技术[0002] 一个软件的各个功能是通过对应的功能组件实现的,每个功能组件又可以包括多个功能模块,例如,即时通讯软件通过功能组件实现即时通讯功能,该功能组件中包括文字通讯、语音通信和视频通讯等功能模块;又如,浏览器的工具栏中通过功能组件实现搜索功能,该功能组件包括图片搜索、网页搜索和地图搜索等功能模块。 [0002] each function is performed by a software function corresponding component implementation, each functional component and may include a plurality of functional modules, such as instant messaging software to achieve instant messaging functionality through the functional components of the functional components including text communications, voice communications and video communications and other functional modules; another example, a browser toolbar that make searching through functional components, the functional components including image search, web search, and map search and other functional modules. [0003] 软件在启动时,可以通过功能组件加载各个功能模块,但是,功能组件所加载的功能模块是在安装软件之前就已经配置好的,即软件安装包中配置了各个功能组件所包含的功能模块,它就会随着软件的启动而启动。 [0003] software at startup, can be loaded by the functional components of each module, however, the functional components of the loaded function modules before installing the software has been configured, the software package to configure the various functional components included function module, it will start with the software is activated. [0004] 此时,若软件中某个功能模块出现了问题,用户在使用软件的该功能模块时,软件会出现崩溃、无法运行的状况,对用户的使用产生比较大的影响。 [0004] In this case, if a function module software problems, users in the use of the software modules, the software will crash, the situation can not be run, resulting in a relatively large impact on users. 特别是,软件中功能模块的问题通常是共性的,即所有用户在使用该软件的该功能模块时,都会出现软件崩溃、无法运行的问题,一个功能模块的问题,会对所有使用它的用户都产生影响。 In particular, the problem software modules are usually common, that is, all users when using the software modules that will appear software crashes, the problem can not be run, the question of a functional module, will use it for all users have an impact. [0005]另外,各个功能组件所包含的功能模块是在安装软件时就配置好的,即是与软件绑定在一起的,无法对功能组件的功能模块进行控制,灵活性比较低。 [0005] In addition, each functional component modules included when you install the software configured, which is bundled with the software, and can not function module function module is controlled relatively low flexibility. [0006] 因此,本领域技术人员迫切解决的一个技术问题是,提出一种功能组件的处理方法、装置及服务器,可以对功能组件中各功能模块进行灵活多变的控制。 [0006] Thus, a technical problem to be urgently addressed to those skilled in the proposed treatment method, device and server components of a function, the function of the components can each functional module flexible control. 发明内容[0007] 本发明提供了功能组件的处理方法,可以对功能组件中各功能模块进行灵活多变的控制。 SUMMARY [0007] The present invention provides a treatment method of functional components, functional components can each functional module flexible control. [0008] 相应的,本发明还提供了一种功能组件的处理方法装置和服务器[0009] 为了解决上述问题,本发明公开了一种功能组件的处理方法,包括:[0010] 发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件;[0011] 获取服务器依据启动标识返回的开关文件;[0012] 根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0008] Accordingly, the present invention also provides a method of functional components processing device and server [0009] In order to solve the above problems, the present invention discloses a method for processing functional components comprising: [0010] transmit enable identification to server, which is used to identify the start identify software-initiated event; [0011] for the server based on the switch trigger identification documents returned; [0012] the switch file, determine the status of pending pending functional components function module . [0013] 本发明实施例中,所述开关文件包括待处理功能组件中待处理功能模块的模块标识和状态标识。 [0013] The embodiment of the invention, the switch includes a module identification and status documents pending identification of functional components in functional modules to be treated. [0014] 本发明实施例中,其中根据所述开关文件,确定待处理功能组件中待处理功能模块的状态包括:根据开关文件中待处理功能模块的模块标识来确定待处理功能模块;根据开关文件中待处理功能模块的状态标识来确定待处理功能模块的状态。 [0014] In embodiments of the present invention, wherein the switch according to the file, the status is determined to be pending processing function components function module comprises: determining function module to be processed in accordance with the switching module identification document to be processed in the function module; switch according file pending state identification function module to determine the status of the pending function module. [0015] 本发明实施例中,其中所述开关文件中还包括待处理功能组件的组件标识;根据所述开关文件,确定待处理功能组件中待处理功能模块的状态包括:根据开关文件中待处5理功能组件的组件标识来确定待处理功能组件。 [0015] In an embodiment of the present invention, wherein the switch assembly further includes a document processing component to be identified; switch according to the document to be processed to determine the status of the functional components of the functional modules to be treated include: file to be in accordance with the switching 50,000 processing component identifies functional components to determine the functional components to be processed. [0016] 本发明实施例中,所述状态包括以下任一项:开启、关闭、定时开启和定时关闭; 根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,包括以下任一项:根据开启状态,开启或加载对应的功能I吴块;根据关闭状态,关闭或不加载对应的功能I吴块;根据定时开启状态,在达到定时时间后,开启或加载所述待处理功能模块;根据定时关闭状态,在达到定时时间后,关闭或不加载所述待处理功能模块。 [0016] embodiment of the invention, the states include any of the following: on, off, timer on and time off; according to the switch file, determine the status of pending functional components function modules to be treated, including any of the following a: According to the open state, open or load the corresponding function block I Wu; according to the closed state, close or not I Miss load corresponding function block; the timing turned on, after reaching timing, open or load the pending function module; the timing off, after reaching timing, closed or not the load process modules to be. [0017] 本发明实施例中,所述开关文件中还包括版本信息,所述的方法还包括:当检测到待处理功能组件的版本信息与所述开关文件中该功能组件的版本信息不一致时,下载开关文件中版本信息对应的功能组件,并更新本地的功能组件。 Embodiment [0017] In the present invention, the switch further includes a file version information, said method further comprising: when it is detected to be the version information processing function components and the file version information of the switching function component inconsistent Download the switch file version information corresponding functional components, and update the local functional components. [0018] 相应的,本发明还提供了一种功能组件的处理方法,包括:[0019] 接收来自终端的启动标识,所述启动标识用于标识软件启动的事件;[0020] 依据所述启动标识获取开关文件;[0021] 向该终端发送所述开关文件。 [0018] Accordingly, the present invention also provides a method for processing functional components comprising: [0019] receiving start flag from the terminal, the start ID is used to identify software-initiated event; [0020] based on the start Get identity switch file; [0021] send to the terminal of the switch file. [0022] 本发明实施例中,还包括开关文件的生成方法:依据需要处理的功能模块,设置待处理功能模块的模块标识;依据对待处理功能模块的处理操作,设置所述待处理功能模块的状态标识。 [0022] The embodiments of the present invention further comprises a method of generating switch file: function modules based on the needs treatment, setting pending function module module identification; be treated in accordance with the function module processing operation, set the function modules to be treated state identification. [0023] 本发明实施例中,将需要处理的功能模块所属的功能组件的组件标识设置为待处理功能组件的组件标识。 [0023] The functional components of the component ID setting function module embodiment of the present invention, will need to be processed belongs processing component identifies the component. [0024] 相应的,本发明还提供了一种功能组件的处理方法,包括:[0025] 终端发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件;[0026] 所述服务器接收来自所述终端的所述启动标识;[0027] 所述服务器依据所述启动标识获取开关文件;[0028] 所述服务器向该终端发送所述开关文件;[0029] 所述终端获取所述服务器依据启动标识返回的开关文件;[0030] 所述终端根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0024] Accordingly, the present invention also provides a method for processing functional components comprising: [0025] the terminal sends start identification to the server, which is used to identify the start identify software-initiated event; [0026] wherein The server receives the identification start from the terminal; [0027] the server based on the acquired start switch identification document; [0028] The server transmits to the terminal the file switch; [0029] The terminal acquires the said server based on the switch trigger identification documents returned; [0030] the terminal according to the switch file, determine the status of pending pending functional components function modules. [0031] 相应的,本发明还提供了一种功能组件的处理装置,包括:[0032] 发送模块,适于发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件;[0033] 获取模块,适于获取服务器依据启动标识返回的开关文件;[0034] 状态确定模块,适于根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0031] Accordingly, the present invention also provides a functional component processing device, comprising: [0032] sending module, adapted to transmit a start identification to the server, which is used to identify the start identify software-initiated event; [ 0033] obtaining module, adapted to obtain a file server based on the switch trigger identification returned; [0034] status determination module, adapted to the switch file, determine the status of pending pending functional components function modules. [0035] 本发明实施例中,所述开关文件包括待处理功能组件中待处理功能模块的模块标识和状态标识。 [0035] The embodiment of the invention, the switch includes a module identification and status documents pending identification of functional components in functional modules to be treated. [0036] 本发明实施例中,所述状态确定模块,包括:第一确定子模块,适于根据开关文件中待处理功能模块的模块标识来确定待处理功能模块;第二确定子模块,适于根据开关文件中待处理功能模块的状态标识来确定待处理功能模块的状态。 [0036] In an embodiment of the present invention, the state determination module, comprising: a first determining sub-module, adapted to determine the functional modules to be treated in accordance with the switching module identification document to be processed in the function module; determining a second sub-module, adapted According to documents in the state of the switch function module to be processed to determine the status of pending identification function module. [0037] 本发明实施例中,其中所述开关文件中还包括待处理功能组件的组件标识;所述状态确定模块,还包括:第三确定子模块,适于根据开关文件中待处理功能组件的组件标识来确定待处理功能组件。 [0037] The embodiment of the present invention, wherein the switch further comprises a document processing component assembly to be identified; the state determination module, further comprising: determining a third sub-module, adapted to switch files pending processing module The component identifies functional components to be processed is determined. [0038] 本发明实施例中,所述状态包括以下任一项:开启、关闭、定时开启和定时关闭; 所述状态确定模块,适于根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,包括以下任一项:根据开启状态,开启或加载对应的功能模块;根据关闭状态,关闭或不加载对应的功能模块;根据定时开启状态,在达到定时时间后,开启或加载所述待处理功能模块;根据定时关闭状态,在达到定时时间后,关闭或不加载所述待处理功能模块。 [0038] embodiment of the invention, the states include any of the following: on, off, timer on and time off; the state determination module adapted to the switch files to be processed to determine the functional components to be processed state function modules, including any of the following: According to the open state, open or load corresponding function module; according to off, off, or does not load corresponding function module; the timing turned on, after reaching timing, open or load the processing module to be; the timing off, after reaching timing, closed or not loading the processing function module to be. [0039] 本发明实施例中,所述开关文件中还包括版本信息,所述的装置还包括:更新模块,适于当检测到待处理功能组件的版本信息与所述开关文件中该功能组件的版本信息不一致时,下载开关文件中版本信息对应的功能组件,并更新本地的功能组件。 [0039] embodiment of the invention, the switch document also includes version information, said apparatus further comprising: updating module adapted to release information when it is detected and the switch files to be processed in the functional components of the functional components When the version information is inconsistent, download switch file version information corresponding functional components, and update the local functional components. [0040] 相应的,本发明还提供的一种服务器,包括:[0041 ] 接收模块,适于接收来自终端的启动标识,其中,所述启动标识用于标识软件启动的事件;[0042] 获取模块,适于依据所述启动标识获取开关文件;[0043] 发送模块,适于向该终端发送所述开关文件。 [0040] Accordingly, the present invention also provides a server, comprising: [0041] receiving module adapted to receive a start identification from the terminal, which is used to identify the start identify software-initiated event; [0042] Gets module adapted according to the start switch identifies obtain documents; [0043] sending module adapted to send to the terminal of the switch file. [0044] 本发明实施例中,所述的服务器还包括:文件生成模块,用于生成开关文件,所述文件生成模块包括:第一设置子模块,适于依据需要处理的功能模块,设置待处理功能模块的模块标识;第二设置子模块,适于依据对待处理功能模块的处理操作,设置所述待处理功能模块的状态标识。 [0044] In the present embodiment of the invention, said server further comprising: a file generating module, for generating a switching file, the file generation module comprising: a first setting sub-module, adapted to be addressed on the basis of functional modules, to be set Module identification processing module; second setting sub-module, adapted to be treated according to the process operation function block, set the state to be treated functional module identification. [0045] 本发明实施例中,所述文件生成模块,还包括:第三设置子模块,适于将需要处理的功能模块所属的功能组件的组件标识设置为待处理功能组件的组件标识。 [0045] embodiment of the invention, the document generation module, further comprising: a third set sub-module, component identification set of functional components adapted to deal with the function module belongs functional components to be treated component identification. [0046] 与现有技术相比,本发明包括以下优点:[0047] 首先,本发明可以从服务器中获取开关文件,进而根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0046] Compared with the prior art, the present invention includes the following advantages: [0047] First, the switch of the present invention can be obtained from the server file, and then switch according to the document to be processed to determine the status of the functional components of the functional blocks to be processed . 若软件中某个功能模块出现了问题,就可以通过开关文件对该功能模块的状态进行配置,方法灵活多变。 If the software in a function module there is a problem, you can configure the state function module via the switch files by flexible. 并且在使用软件时,不会出现由于该功能模块的问题而导致软件的崩溃、无法运行的状况,从而不会对用户的使用产生影响。 And when using the software, this feature does not occur due to problems caused by the collapse of the module software can not run the situation so as not to have an impact on users. [0048] 其次,本发明开关文件中包括待处理功能组件中待处理功能模块的模块标识和状态标识,还可以包括待处理功能组件的组件标识,通过上述的组件标识、模块标识和状态标识,可以方便的选择待处理功能组件、待处理功能模块和对应的状态,从而可以快速、灵活的确定待处理功能组件中待处理功能模块的状态,并且加快软件的启动速度。 [0048] Secondly, the present invention includes the switching module identification documents and state identification pending functional components to be processing module can also include components to identify the functional components to be processed by the above-mentioned component identification, identification and state identification module, You can easily select the functional components to be processed, to be processed and the corresponding state function module, which can quickly determine the status of pending and flexible functional components function module to be processed, and faster boot software. [0049] 再次,现有技术中,各个功能组件所包含的功能模块是在安装软件时就配置好的, 与软件绑定在一起,会随着软件的启动而启动。 [0049] Again, the prior art, the functional modules included in each functional component is configured when you install the software, and software bundled together, it will start with the software and start. 本发明中所述状态包括开启和关闭,也可以包括定时开启或定时关闭,因此可以通过状态确定待处理功能模块加载与否,何时加载,或何时关闭等。 The present invention includes the state on and off, you can also include regular opening or time off, it can be processed by the state determination function module is loaded or not, when loaded, or when closure. 从而可以实现对待处理功能模块的控制,使其不会影响软件的运行,方法非常的灵活,并且可以加快软件的启动速度。 Thereby enabling treatment control processing function module, it does not affect the operation of the software, the method is very flexible, and can speed up the startup speed of the software. [0050] 再次,现有技术中,各功能组件和其中包含的功能模块会与软件一起升级,因此通常软件的升级速度比较慢。 [0050] Again, the prior art, the functional components and functional modules contained therein will be upgraded with software, the software upgrade speed is usually slower. 而本发明中开关文件中还包括版本信息,若检测到待处理功能组件的版本信息与所述开关文件中该功能组件的版本信息不一致,可以下载开关文件中版本信息对应的功能组件,并更新本地的功能组件。 The present invention also includes a switch file version information, version information to be treated if detected in the functional components of the version information in the file of the functional components of the switch are inconsistent, you can download switch file version information corresponding functional components, and updates Local functional components. 从而使得软件中待处理功能模块需要更新时,可以快速的从服务器中获取所述版本信息对应的待处理功能模块,更新方法灵活、快速、节省时间。 So that when the modules need to be updated to be treated, you can quickly get the version information corresponding to the functional blocks to be processed from the server software, the update method is flexible, fast and save time. 7附图说明[0051] 图I是本发明实施例所述终端侧功能组件的处理方法流程图;[0052] 图2是本发明实施例所述服务器侧功能组件的处理方法流程图;[0053] 图3是本发明可选实施例所述内容分发网络示意图;[0054] 图4是本发明实施例所述一种功能组件的处理方法的整体流程图;[0055] 图5是本发明实施例所述一种功能组件的处理系统结构图;[0056] 图6是本发明可选实施例所述一种功能组件的处理系统中功能组件的处理装置结构图;[0057] 图7是本发明实施例所述一种功能组件的处理系统中服务器的结构图。 BRIEF DESCRIPTION 7 [0051] Figure I is a processing method according to the embodiment of the terminal side functional components of the present invention, a flow diagram; [0052] FIG. 2 is a flowchart of the server-side method according to embodiments of the functional components of the present invention; [0053 ] Figure 3 is a alternative embodiment of the present invention, the content distribution network schematic illustration; [0054] FIG. 4 is a flowchart showing the overall processing method described in Example A functional components of embodiments of the present invention; [0055] FIG. 5 is an embodiment of the present invention Examples of the functional components of a processing system configuration diagram; [0056] FIG. 6 is a processing system according to the present invention is the optional component of a functional configuration diagram of the functional components of the processing apparatus of the embodiment; [0057] FIG. 7 is present processing system according to the functional components of a structural diagram of the embodiment of the invention the server. 具体实施方式[0058] 为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。 DETAILED DESCRIPTION [0058] For the above-mentioned objects, features and advantages of the present invention will be more apparent from the accompanying drawings and the following specific embodiments of the present invention will be further described in detail. [0059] 终端中包含各式各类的软件,而软件的各个功能是通过对应的功能组件实现的, 每个功能组件又可以包括多个功能模块。 [0059] terminal contains a variety of all kinds of software, and each function of the software is realized by a corresponding functional components, each functional component and may include a plurality of functional modules. 软件在启动时,可以通过功能组件加载各个功能模块,但是,功能组件所加载的功能模块是在安装软件之前就已经配置好的,即软件安装包中配置了各个功能组件所包含的功能模块,它就会随着软件的启动而启动。 Software when you start, you can load various functional modules by functional components, however, the functional components of the loaded function modules before installing the software has been configured, the software package to configure the function module contains various functional components, It will start with the software and start. [0060] 此时,若软件中某个功能模块出现了问题,用户在使用软件的该功能模块时,软件会出现崩溃、无法运行的状况,对用户的使用产生比较大的影响。 [0060] In this case, if a function module software problems, users in the use of the software modules, the software will crash, the situation can not be run, resulting in a relatively large impact on users. 特别是,软件中功能模块的问题通常是共性的,即所有用户在使用该软件的该功能模块时,都会出现软件崩溃、无法运行的问题,一个功能模块的问题,会对所有使用它的用户都产生影响。 In particular, the problem software modules are usually common, that is, all users when using the software modules that will appear software crashes, the problem can not be run, the question of a functional module, will use it for all users have an impact. [0061]另外,各个功能组件所包含的功能模块是在安装软件时就配置好的,即是与软件绑定在一起的,无法对功能组件的功能模块进行控制,灵活性比较低。 [0061] In addition, each functional component modules included when you install the software configured, which is bundled with the software, and can not function module function module is controlled relatively low flexibility. [0062] 因此,本发明提出一种功能组件的处理方法,可以对功能组件中各功能模块进行灵活多变的控制。 [0062] Accordingly, the present invention provides a functional component of the treatment method, the functional components of each functional module flexible control. [0063] 参照图1,给出了本发明实施例所述终端侧功能组件的处理方法流程图。 [0063] Referring to Figure 1, shows the processing method according to the present invention, the terminal-side flowchart illustrating functional components. [0064] 步骤S110,发送启动标识给服务器;[0065] 本发明预置了开关文件,适于控制待处理功能组件中待处理功能模块的状态,所述待处理功能模块是指软件中由于某些原因而要进行处理的某些功能组件的功能模块,所述待处理功能组件是待处理功能模块所属的功能组件。 [0064] step S110, the transmit enable identification to the server; [0065] The present invention preset switch document processing functions to be adapted to control the state assembly function module to be processed, the pending function module refers to the software because of a Some reasons to be processed in some functional components of the function module, the processing component is a functional component to be pending function module belongs. 所述原因如某功能模块出现了漏洞会导致系统崩溃,又如该功能模块的漏洞已经修复完成等,因此服务器会依据上述不同的原因,配置不同的开关文件,使得待处理功能组件中待处理功能模块处于相应的状态。 The reason for such a functional module of the vulnerabilities could cause the system to crash, and if the vulnerability of the function module has been restored to like, so the server will be based on different reasons described above, the configuration files of different switches so that the functional components to be treated for disposal function module is in the respective state. [0066] 其中,所述启动标识用于标识软件启动的事件,即终端中软件启动后,可以通过启动标识通知服务器该软件已经启动了,所述启动标识可以通过发送请求,事件触发等方法实现发送,本发明对此不做限定。 [0066] wherein the triggering event ID is used to identify the software startup, after you start the terminal software, you can start to identify the notification server that the software has been started, the promoter may be identified by sending a request, eventing, and other methods to achieve send, the present invention is not limited by this. 所述启动标识可以包括当前启动的软件的名称、标识、版本信息等相关信息。 The promoter identification may include the name of the current startup software, identification, version information, and other relevant information. [0067] 然后,服务器接收到启动标识,即软件启动的事件后,可以查看是否存在该软件的开关文件,若存在,则返回所述开关文件。 [0067] Then, the server receives the startup logo that is software-initiated after the event, the software can switch files to see if there, if there is a switch file is returned. 8[0068] 步骤S120,获取服务器依据启动标识返回开关文件;[0069] 通过上述内容可知,当服务器接收到启动标识,并查看到该软件的开关文件后,可以返回开关文件,则对应终端中该软件可以接收到开关文件。 8 [0068] step S120, obtain server based startup logo return switch file; after [0069] The above shows that when the server receives a start identification, and view the software switch files, you can return switch file, the corresponding terminal This software may receive a file to the switch. [0070] 步骤S130,根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0070] step S130, the switch according to the document to be processed to determine the status of the functional components of the functional blocks to be processed. [0071] 软件接收到开关文件后,可以根据所述开关文件来确定待处理功能组件中待处理功能模块的状态,使得软件在启动时,依据对应的状态配置待处理功能组件中待处理功能模块。 [0071] Upon receiving the switch software file that can be processed to determine the status of the functional components to be treated in accordance with the switching functional module file so that when you start the software, according to the state of the corresponding functional components in the configuration pending pending function module . [0072] 综上所述,本发明可以从服务器中获取开关文件,进而根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0072] In summary, the present invention can be obtained from the file server switch, and then switches according to the document to be processed to determine the status of the functional components of the functional blocks to be processed. 若软件中某个功能模块出现了问题,就可以通过开关文件对该功能模块的状态进行配置,方法灵活多变。 If the software in a function module there is a problem, you can configure the state function module via the switch files by flexible. 并且在使用软件时,不会出现由于该功能模块的问题而导致软件的崩溃、无法运行的状况,从而不会对用户的使用产生影响。 And when using the software, this feature does not occur due to problems caused by the collapse of the module software can not run the situation so as not to have an impact on users. [0073] 可选的,所述开关文件包括:待处理功能组件中待处理功能模块的模块标识和状态标识。 [0073] Optionally, the switch documents include: module identification and status pending the functional components to be processed functional module identification. [0074] 由于功能组件中的功能模块往往包含多个,因此本发明设置了模块标识,用于区分各个功能模块。 [0074] Since the functional components of the functional blocks often contain more than one, the present invention is provided module ID, it is used to distinguish the various functional modules. 所述模块标识可以是数字编号,如1、2……;也可以是依据功能进行限定, 如功能组件是游戏组件,则各功能模块可能是各游戏的快捷键,依据功能进行限定的模块标识包括bird、fish等,因此本发明对于模块标识不做限定,所述模块标识只要可以区分各模块即可。 The identification module may be numbered 1, 2 ......; can also be defined on the basis of functionality, such as functional component is the game component, the functional modules may be each game shortcuts, according to a defined function module identification including bird, fish, etc., the present invention is not limited by the identity module, the module can be as long as the identity distinguish each module. 本发明中还包括状态标识,适于标识功能模块的状态。 The present invention also includes a state identification function adapted to identify the state of the module. [0075] 因此,所述开关文件包括待处理功能组件中待处理功能模块的模块标识和状态标识。 [0075] Thus, the switch document includes a module identification and status pending identification of functional components to be processed in the function module. [0076] 则上述步骤中,根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,包括:[0077] 根据开关文件中待处理功能模块的模块标识来确定待处理功能模块;根据开关文件中待处理功能模块的状态标识来确定待处理功能模块的状态。 [0076] In the above steps, the switch according to the file, the status is determined to be pending processing function component module, comprising: [0077] determining function module to be processed in accordance with the switching module identification document to be processed in the function module; function to determine the status of the pending state of the switching module according to the file to be processed in the functional module identification. [0078] 则通过开关文件可以获取待处理功能组件中待处理功能模块的模块标识,进一步通过所述待处理功能模块的模块标识,可以识别处待处理功能模块。 [0078] through the switch files can be processed to obtain the functional components to be processed in the function module module identification, further processing modules by the module to be identified, can be identified at the pending function module. 然后通过开关文件可以获取待处理功能组件中待处理功能模块的状态标识,进一步通过所述待处理功能模块的状态标识,可以确定待处理功能模块的状态。 Then the file can be obtained through the switch function pending state components identified functional modules to be treated, and further identified by the state of the functional module to be processed can be determined to be state processing function module. [0079] 可选的,所述开关文件中还包括待处理功能组件的组件标识;[0080] 软件中的功能组件也有很多个,因此本发明设置了组件标识以区分不同的功能组件。 [0079] Optionally, the switch document also includes the functional components to be processed component identification; [0080] software also has a number of functional components, the present invention is provided component identification to distinguish different functional components. 所述组件标识的设置如模块标识,此处不再赘述。 Set the assembly identity module of identity, not repeat them here. 因此,开关文件中还包括待处理功能组件的组件标识。 Thus, the switch document also includes the functional components to be processed component identification. [0081] 因此,根据所述开关文件,确定待处理功能组件中待处理功能模块的状态包括:根据开关文件中待处理功能组件的组件标识来确定待处理功能组件。 [0081] Thus, according to the switch file, determine the status of pending pending functional components function module comprising: determining functional components to be treated in accordance with the switching component identification document to be processed functional components. [0082] 通过开关文件可以获取待处理功能组件的组件标识,进一步通过所述组件标识可以确定待处理功能组件。 [0082] can be processed to obtain components to identify the functional components by switching files, pending further functional components can be determined by the component identification. [0083] 综上所述,本发明开关文件中包括待处理功能组件中待处理功能模块的模块标识和状态标识,还可以包括待处理功能组件的组件标识,通过上述的组件标识、模块标识和状态标识,可以方便的选择待处理功能组件、待处理功能模块和对应的状态,从而可以快速、灵活的确定待处理功能组件中待处理功能模块的状态,并且增加软件的启动速度。 [0083] In summary, the present invention includes the switching module identification documents and state identification pending functional components to be processing module can also include components to identify the functional components to be processed by the above-mentioned component identification, module identification and state identification, you can easily select the functional components to be processed, to be processed and the corresponding state function module, which can quickly determine the status of pending and flexible functional components function modules to be treated, and increase startup speed of the software. [0084] 可选的,所述状态包括:开启和关闭;根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,包括根据开启/关闭状态开启/关闭或加载/不加载对应的功能模块。 [0084] Optionally, the states include: opening and closing; according to the switch file, determine the status of pending functional components to be processed functional modules, including on / off or load / no load correspond according to on / off status functional modules. [0085] 软件中某功能模块出现问题时,为了避免其对软件的运行产生影响,可以将该功能模块关闭,使得软件运行时该功能模块不运行;在该功能模块的问题修复后,可以重新开启该功能模块。 [0085] In a functional module software problems, in order to avoid its impact on the operation of the software, you can turn off the function modules, so that the function module does not run the software is running; after the issue of the functional modules of repair, you can re Open the function module. 因此,待处理功能模块的状态包括开启和关闭。 Therefore, the state to be treated includes a functional module on and off. [0086] 接收到开关文件后,根据开启状态,开启或加载对应的功能模块,即若状态为开启,则可以在软件中加载或开启所述待处理功能组件的待处理功能模块。 [0086] After receiving the switch document, according to the open state, open or load corresponding function module, that is, if the status is open, you can load or open processing functions in software components of the functional modules to be pending. 根据关闭状态,关闭或不加载对应的功能模块,即若状态为关闭,则可以在软件中不加载或关闭所述待处理功能组件的待处理功能模块。 According to off, off, or does not load corresponding function module, that is, if the state is off, you can not load or close the pending functional components to be processed in software modules. [0087] 可选的,所述状态还包括:定时开启和定时关闭,[0088] 根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,还包括:根据定时开启状态,在达到定时时间后,开启或加载所述待处理功能模块;根据定时关闭状态, 在达到定时时间后,关闭或不加载所述待处理功能模块。 [0087] Optionally, the state also includes: regular opening and time off, [0088] the switch file, determine the status of pending functional components to be processed functional modules, including: the timing to open state, After reaching timing, open or load processing module said to be; the timing off, after reaching timing, closed or not the load process modules to be. [0089] 本发明中,所述状态也可以包括定时开启和定时关闭。 [0089] The present invention, the state may also include regular opening and timing is off. 发现软件中某个功能模块出现问题时,可以关闭软件中的该功能模块;该功能模块的问题修复后,可以重新开启该功能模块。 It found that the software module is a function problems, you can turn off this feature in the software module; after the issue of the functional modules of repair, you can re-open the function module. 但是,有时发现功能模块中的问题时可能不会立即处理,例如让该功能模块运行一段时间以查看其带来的影响,因此可以将待处理功能模块的状态设置为定时关闭。 Sometimes, however, may not be processed immediately found problems functional modules, such as allowing the modules to run for some time to see its impact, it can be treated to be a state function module is set to time off. 有时,也可以将待处理功能模块的状态设置为定时开启,例如,预计在一小时后完成问题的修复,则可以一小时后或更长时间再开启待处理功能模块。 Sometimes, it can be treated state function module is set to regularly open, for example, fixing the problem is expected to be completed in one hour, one hour, or you can re-open pending longer function module. [0090] 接收到开关文件后,若状态为定时开启,则在达到定时时间后,可以在软件中加载或开启所述待处理功能组件的待处理功能模块;若状态为定时关闭,则在达到定时时间后, 可以在软件中不加载或关闭所述待处理功能组件的待处理功能模块。 [0090] After receiving the file switch, if the timer status is turned on, then after reaching timing can be loaded or open the processing function component modules to be processed in software; the timing when the state is turned off, is reached After the timing may not be loaded or off the processing function component modules to be processed in software. [0091] 综上所述,现有技术中,各个功能组件所包含的功能模块是在安装软件时就配置好的,与软件绑定在一起,会随着软件的启动而启动。 [0091] In summary, the prior art, the functional modules included in each functional component is configured when you install the software, and software bundled together, it will start with the software and start. 本发明中所述状态包括开启和关闭, 也可以包括定时开启或定时关闭,因此可以通过状态确定待处理功能模块加载与否,何时加载,或何时关闭等。 The present invention includes the state on and off, you can also include regular opening or time off, it can be processed by the state determination function module is loaded or not, when loaded, or when closure. 从而可以实现对待处理功能模块的控制,使其不会影响软件的运行, 方法非常的灵活,并且可以加快软件的启动速度。 Thereby enabling treatment control processing function module, it does not affect the operation of the software, the method is very flexible, and can speed up the startup speed of the software. [0092] 可选的,所述开关文件中还包括版本信息,所述的方法还包括:当检测到待处理功能组件的版本信息,与所述开关文件中该功能组件的版本信息不一致时,下载开关文件中版本信息对应的功能组件,并更新本地的功能组件。 [0092] Optionally, the switch document also includes version information, the method further comprises: when detecting functional components to be processed version information, and version information of the functional components of the switch file is inconsistent, Download switch file version information corresponding functional components, and update the local functional components. [0093] 由于软件功能、外观等各方面的变化,而要常常进行更新。 [0093] due to changes in the software function, appearance and other aspects, and to always be updated. 因此若软件对功能组件进行了更新,可以通过开关文件进行检测以确定是否需要更新功能组件。 Therefore, if the software has been updated to the functional components can be detected by a switch file to determine whether to update the functional components. 因此,可以在开关文件中配置版本信息,所述版本信息是软件中待处理功能组件的版本信息,此时,软件中需要进行更新的功能组件都可以称为待处理功能组件。 Thus, the switch can be arranged in file version information, the version information is a function of the software component to be processed version information, at this time, the software needs to be updated functional module can be called a functional component to be treated. [0094] 获取到开关文件后,可以获取到版本信息,从而检测待处理功能组件的版本信息与所述开关文件中该待处理功能组件的版本信息是否一致:若一致,则说明软件中待处理功能组件已经更新完毕;若不一致,则说明软件中待处理功能组件需要进行更新,从而可以从服务器中下载开关文件中版本信息对应的功能组件,然后对软件中该待处理功能组件进行更新。 [0094] After obtaining the file to the switch, you can obtain the version information, thereby detecting the functional components to be processed and the version information in the file to be processed switching function component version information is consistent: if the same, then the software to be treated functional components have been updated; if not, the software has to be processed in the functional components need to be updated, so that you can download switch file version information corresponding functional components from the server, and then to be treated for the software update function components. 具体实施中可以在下载完成后就执行更新操作,也可以在下次开启软件时进行更新,本发明对此不做限定。 Specific embodiments can be performed after the download is complete the update operation, you can turn on when the software update in the next, the present invention is not limited to this. [0095] 综上所述,现有技术中,各功能组件和其中包含的功能模块会与软件一起升级,因此通常软件的升级速度比较慢。 [0095] In summary, the prior art, in which the functional components and functional modules included with the software upgrades, the update speed is usually slower software. 而本发明中开关文件中包括版本信息,从而使得软件中待处理功能模块需要更新时,可以快速的从服务器中获取所述版本信息对应的待处理功能模块,更新方法灵活、快速、节省时间。 The present invention includes a switch file version information, so that the software modules to be processed, you can quickly get the version information corresponding to the functional blocks to be processed from the server, update method is flexible, fast, saving time and when required. [0096] 可选的,所述状态标识为预置的标志字段值,一个标志字段值唯一对应功能模块的一种状态。 Optionally, the state [0096] identified as a symbol of the preset field values, a symbol of a state field value is unique to the function module. [0097] 具体实施中,本发明所述的状态标志可以是预置的标志字段值,一个标识字段值唯一对应功能模块的一种状态。 [0097] In particular embodiments, the state flag of the present invention may be a sign of a preset field values, a state of a field value that uniquely identifies the corresponding function module. 例如,采用flag值,所述flag值是计算机中特殊资料做标记的特别记号,可以是8bit的特殊文字。 For example, the use of flag value, the value of the flag is a special computer data mark a special mark, may be of special characters 8bit. 例如,可以配置flag=0为关闭、flag=l为开启、 flag=2为定时关闭和flag=3为定时开启等。 For example, you can configure flag = 0 is off, flag = l to open, flag = 2 for the time off and flag = 3 is timed to open and so on. [0098] 具体实施中的一种方法是,软件在获取到标志字段值时,可以通过预置的判断语句进行判断,从而确定待处理功能组件中待处理功能模块的状态。 A method [0098] implementations that the software on getting to flag field values can be judged by the pre-execution, in order to determine the status of functional components to be processed pending function module. [0099] 具体实施中还可以预先在软件中配置一份配置文件,所述配置文件中可以限定哪个状态标识对应哪种状态,从而在获取状态标识后,可以通过所述配置文件识别该状态标识对应待处理功能组件中待处理功能模块的状态。 [0099] In particular embodiments may also be a pre-configured profile in the software, the configuration file can be defined to identify which state corresponds to which state, so that after obtaining state identification, you can identify the profile of the state flag Pending the functional components corresponding to the state to be treated in functional modules. [0100] 现有技术中包含多种状态标识的识别方法,此处为一一列举,不应理解为是对本发明的限制。 Recognition Method [0100] prior art includes a variety of state ID, enumerated here should not be construed as limiting the present invention. [0101] 可选的,从服务器中获取开关文件的方法有多种,其中一种方法是通过内容分发网络来获取。 [0101] Alternatively, a variety of files from the server to obtain the switch method, one way is to get through the content distribution network. 内容分发网络的介绍参见后文的内容。 For instructions, see the content after content distribution network packets. [0102] 参照图2,给出了本发明实施例所述服务器侧功能组件的处理方法流程图。 [0102] Referring to Figure 2, shows the processing method according to the present invention, the functional components of a flowchart of server-side implementation. [0103] 相应的,本发明还提供了一种功能组件的处理方法,包括:[0104] 步骤S210,接收来自终端的启动标识;[0105] 终端中软件开启时可以通知服务器,即发送启动标识给服务器,则服务器对应可以接收到来自终端的启动标识,其中,所述启动标识用于标识软件启动的事件。 [0103] Accordingly, the present invention also provides a method for processing functional components comprising: [0104] step S210, the receiving start flag from the terminal; [0105] terminal can be notified when you turn on the server software that sends start Identity to the server, the server can receive the corresponding start to identify from the terminal, which is used to identify the software identifies the start of the event to start. [0106] 所述启动标识可以包括当前启动的软件的名称、标识、版本信息等相关信息。 [0106] The promoter identification may include the name of the current startup software, identification, version information, and other relevant information. 步骤S220,依据所述启动标识获取开关文件;[0107] 由于服务器对应的软件种类有多种,每一种软件也存在多种不同的版本,则对应的待处理功能组件和待处理功能模块也可能不同。 Step S220, based on the start switch identifies obtain documents; [0107] Since the server software corresponding to a variety of species, each of which there are many different software versions, the corresponding functional components to be processed and pending function modules It may be different. 因此,需要通过启动标识来确定所述软件是那种软件,该软件的版本,从而确定该软件所述对应的开关文件,进而获取所述请求对应的开关文件。 Therefore, the need to determine the identity of the software is the kind of software startup, the software version of the software to determine the corresponding switch document, and then obtain the corresponding switch file the request. [0108] 步骤S230,向该终端发送所述开关文件。 [0108] Step S230, the switch transmits the file to the terminal. [0109] 获取到开关文件后,就可以向所述终端返回所述开关文件。 [0109] get to switch files, you can return to the terminal of the switch file. [0110] 综上所述,本发明服务器中配置有开关文件,因此在可以接收自终端的对开关文件的启动标识,并返回对应的开关文件,使得终端后续可以通过开关文件配置待处理功能组件中待处理功能模块的状态。 [0110] In summary, the present invention is configured with a switch file server, so the file can be received on the switch startup logo from the terminal, and returns the corresponding switch files, so that the terminal can be configured to follow the functional components to be processed through the switch file the pending state processing function module. 从而不会出现由于该功能模块的问题而导致软件的崩溃、 无法运行的状况,方法灵活多变。 So as not to appear because of problems caused by the collapse of functional modules of software, the situation can not be run, the method flexible. [0111] 参照图3,给出了本发明可选实施例所述内容分发网络示意图。 [0111] Referring to Figure 3, shows the alternative embodiment of the present invention, the content distribution network schematic embodiment. [0112] 可选的,通过内容分发网络向该终端发送所述开关文件。 [0112] Alternatively, the distribution network to the terminal by sending the switch file contents. [0113] 本发明采用⑶N (Content Delivery Network,内容分发网络),Q)N中一个服务器对应多个终端,是通过在网络各处放置节点服务器所构成的在现有的互联网基础之上的一层智能虚拟网络,CDN系统能够实时地根据网络流量和各节点的连接、负载状况以及到用户的距离和响应时间等综合信息将用户的请求重新导向离用户最近的服务节点上。 [0113] The present invention uses ⑶N (Content Delivery Network, the content distribution network), Q) N corresponding to a plurality of terminals in a server, the server by placing nodes throughout the network posed by the Internet based on the existing one layer intelligent virtual network, CDN system in real time according to redirect connections, network traffic and load status of each node and comprehensive information to the user distance and response time to user requests on service nodes closest to the user. [0114] 通过内容分发网络,使得终端能够通过最近的服务节点上获取开关文件,从而提高了文件的下载速度。 [0114] The content delivery network, so that the terminal can acquire the file switch through the nearest service node, thereby increasing the speed of the download file. [0115] 可选的,还包括开关文件的生成方法:[0116] 依据需要处理的功能模块,设置待处理功能模块的模块标识;依据对待处理功能模块的处理操作,设置所述待处理功能模块的状态标识。 [0115] Optionally, the method further comprising generating switch files: [0116] need to be processed in accordance with the function module, set of modules to be treated functional module identification; be treated according to the process operation function block, provided the function module to be processed The state identification. [0117] 服务器端配置有开关文件,因此服务器端还包括开关文件的生成方法,首先确定软件中要处理的功能模块,设为待处理功能模块,然后获取所述待处理功能模块的模块标识。 [0117] server-side configuration with a switch file, so the server-side switch also includes a method of generating a file, first determine the function module software to be processed, to be treated function module, then get the pending function module module identification. 下一步再确定对所述待处理功能模块的处理操作,例如开启、关闭、定时开启或定时关闭,设置所述待处理功能模块的状态标识,然后将所述模块标识和所述状态标识共同构成开关文件。 The next step to be processed and then determining the functional module processing operations, such as open, close, or open timing of the timing off, set the pending state identification function module, then the module identification and identification constitute the state Switch file. [0118] 优选的,将需要处理的功能模块所属的功能组件的标识设置为待处理功能组件的标识。 [0118] Preferably, the identification of functional components modules need to be processed belongs to the identity of the functional components to be processed. [0119] 开关文件中还需要确定待处理功能模块所属的功能组件,即待处理功能组件,确定待处理功能组件后可以获取对应的组件标识添加到开关文件中。 [0119] switch document also needs to be processed to determine the functional components function module belongs, namely the functional components to be processed, after determining the functional components can be processed to obtain the corresponding component identifies the file added to the switch. [0120] 可选的,终端还可以发送网络协议组播请求给服务器,服务器接收到来自终端的所述网络协议组播请求后,可以建立服务器到终端之间的组播连接。 [0120] Alternatively, the terminal may also transmit network protocol multicast request to the server, the server receives the request from the terminal multicast network protocol, you can establish a multicast connection between the server to the terminal. [0121] 本发明可以采用IP组播(IP multicasting)的方法,它是对硬件组播的抽象,是对标准IP网络层协议的扩展。 [0121] The present invention can employ IP Multicast (IP multicasting) method, which is a hardware multicast abstraction, it is a standard IP network layer protocol extensions. 它通过使用特定的IP组播地址,按照最大投递的原则,将IP 数据包传输到一个组播群组(multicast group)的主机集合。 It does this by using a specific IP multicast address, in accordance with the principle of the best delivery, the transport IP packets to a multicast group (multicast group) set of hosts. 它的基本方法是:当某一用户向一组用户发送数据时,不必向每一个用户都发送数据,只需将数据发送到一个特定的预约的组地址,所有加入该组的用户均可以收到这份数据。 Its basic approach is: when a user sends data to a group of users without having to send data each user, simply send the data to a specific group address appointment, all added to the group of users can be closed to this data. 这样对发送者而言,数据只需发送一次就可以发送到所有接收者,大大减轻了网络的负载和发送者的负担。 Thus the sender, the data is sent only once and can be sent to all recipients, greatly reducing the burden on the network load and the sender. [0122] 因此本发明中,可以依据终端的IP组播请求(即网络协议组播请求),然后可以依据所述IP组播请求建立服务器到终端之间的组播连接,将开关文件及时的发送到终端中。 [0122] Accordingly the present invention, the terminal can be based on IP multicast request (i.e., network protocol multicast request), then multicast connections can be established between the server to the terminal based on the IP multicast request, the file timely switch sent to the terminal. [0123] 具体实施中,为了不影响软件中其他进程或线程的工作,可以设置一个网络线程, 在浏览器开启后与服务器进行通信,发送IP组播请求,建立组播连接,通过组播群组就终端就可以快速的获取开关文件,并且减少了服务器的负担。 [0123] In particular embodiments, in order not to affect the software in other processes or threads of work, you can set up a network of threads, open in the browser communicate with the server to send IP multicast request to establish a multicast connection through a multicast group group on the terminal, you can quickly switch file access, and reducing the burden on the server. [0124] 本发明所述的软件是一系列按照特定顺序组织的计算机数据和指令的集合,例如浏览器、即时通讯软件等。 [0124] software of the present invention is a series set in a particular order organization's computer data and instructions, such as a browser, instant messaging software. [0125] 下面,结合终端侧和服务器侧中功能组件的处理方法,给出了整体的处理方法,具体如下:[0126] 参照图4,给出了本发明实施例所述一种功能组件的处理方法的整体流程图。 [0125] Next, with the terminal side and server-side processing method in functional components, given the overall approach, as follows: Example A functional components implemented [0126] Referring to FIG. 4, the present invention is given overall flowchart of processing method. [0127] S410终端可以在安装于终端中的软件启动时发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件。 [0127] S410 software terminal can be installed in the terminal transmission start at boot logo to the server, which is used to identify the software identifies the start of the event to start. [0128] S420服务器可以接收到来自于终端的启动标识。 [0128] S420 server can receive from start to identify the terminal. [0129] S430服务器依据所述启动标识获取开关文件。 [0129] S430 server based on the start Identity Gets switch files. [0130] S440服务器可以向终端发送开关文件。 [0130] S440 server can send the file to the terminal switch. [0131] S450终端获取开关文件。 [0131] S450 terminal acquires switch files. [0132] S460终端根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0132] S460 terminal according to the switch documentation to determine the status of processing modules to be functional components to be processed. [0133] 由于整体的处理方法中,终端侧和服务器侧的处理方法的细节内容与上文论述基本一致,因此此处不再赘述。 [0133] As the overall approach, the details of the processing method discussed above terminal side and the server side of basically the same, and therefore omitted. [0134] 参照图5,给出了本发明实施例所述一种功能组件的处理系统结构图。 [0134] Referring to FIG. 5, shows the processing system of the present invention is a configuration diagram of the functional components of the embodiment. [0135] 相应的,本发明还提供了一种功能组件的处理系统,包括服务器I和终端2。 [0135] Accordingly, the present invention also provides a processing system functional components, including servers and terminal I 2. [0136] 所述终端2包括功能组件的处理装置21,所述功能处理装置21包括:[0137] 发送模块211,适于发送启动标识给服务器1,其中,所述启动标识用于标识软件启动的事件;[0138] 获取模块212,适于获取服务器I依据启动标识返回的开关文件;[0139] 状态确定模块213,适于根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0136] The terminal 2 includes functional components processing means 21, the function processing device 21 includes: [0137] sending module 211 is adapted to send to the server a start identification, which is used to identify the start identify software startup event; [0138] acquisition module 212 is adapted to switch the file server I get started on the basis of identification returned; [0139] status determination module 213, adapted to the switch documentation to determine the functional components to be processed in the function block to be processed state. [0140] 所述服务器I,包括:[0141] 接收模块11,适于接收来自终端2的启动标识;[0142] 获取模块12,适于依据所述启动标识获取开关文件;[0143] 发送模块13,适于向该终端2发送所述开关文件。 [0140] The server I, comprising: [0141] receiving module 11, adapted to receive from the terminal 2 to start identification; [0142] obtaining module 12, adapted to obtain the switch according to the startup file identification; [0143] transmitting module 13, is adapted to transmit to the terminal 2 of the switch file. [0144] 参照图6,给出了本发明可选实施例所述一种功能组件的处理系统中功能组件的处理装置结构图。 [0144] Referring to FIG. 6, it shows an alternative embodiment of the present invention the processing means processing system configuration diagram of an embodiment of the functional components of the functional components. [0145] 可选的,所述开关文件包括待处理功能组件中待处理功能模块的模块标识和状态标识。 [0145] Optionally, the switch document includes a module identification and status pending identification of functional components to be processed in the function module. [0146] 则所述状态确定模块213包括:[0147] 第一确定子模块2131,适于根据开关文件中待处理功能模块的模块标识来确定待处理功能模块;[0148] 第二确定子模块2132,适于根据开关文件中状态标识来确定待处理功能模块的状态。 [0146] then the state determination module 213 includes: [0147] The first determination sub-module 2131 is adapted to determine the function module to be processed files to be processed in accordance with the switching function module module identification; [0148] The second determination sub-module 2132, adapted to determine the status of the pending function module according to the switching state identification documents. [0149] 可选的,所述开关文件中还包括待处理功能组件的组件标识;[0150] 所述状态确定模块213包括:[0151] 第三确定子模块2133,适于根据开关文件中待处理功能组件的组件标识来确定待处理功能组件。 [0152] 可选的,所述状态包括以下任一项:开启、关闭定时开启和定时关闭;所述状态确定模块213,适于根据所述开关文件,确定待处理功能组件中待处理功能模块的状态,包括以下任一项:根据开启状态开启或加载对应的功能模块;根据关闭状态,关闭或不加载对应的功能模块;根据定时开启状态,在达到定时时间后,开启或加载所述待处理功能模块; 根据定时关闭状态,在达到定时时间后,关闭或不加载所述待处理功能模块。 . [0153] 可选的,所述开关文件中还包括版本信息,所述功能组件的处理装置21还包括:[0154] 更新模块214,适于当检测到待处理功能组件的版本信息,与所述开关文件中该功能组件的版本信息不一致时,下载开关文件中版本信息对应的功能组件,并更新本地的功能组件。 [0155] 可选的,所述状态标识为预置的标志字段值,一个标志字段值唯一对应功能模块的一种状态。 [0156] 可选的,获取服务器中的开关文件的方法为通过内容分发网络来获取的。 [0157] 参照图7,给出了本发明实施例所述一种功能组件的处理系统中服务器的结构图。 [0158] 可选的,所述服务器I通过内容分发网络向该终端发送所述开关文件。 [0159] 所述服务器包括图4中功能组件的处理系统中服务器I所包含的接收模块11、获取模块12以及发送模块13 ;进一步的,所述服务器还包括:文件生成模块10,包括:[0160] 第一设置子模块101,适于依据需要处理的功能模块,设置待处理功能模块的模块标识;[0161] 第二设置子模块102,适于依据对待处理功能模块的处理操作,设置所述待处理功能模块的状态标识。 [0162] 第三设置子模块103,适于将需要处理的功能模块所属的功能组件的组件标识设置为待处理功能组件的组件标识。 [0163] 可选的,所述服务器I还包括:[0164] 连接模块,适于接收来自终端的网络协议组播请求,并所述网络协议组播请求,建立服务器到终端之间的组播连接。 [0165] 相应的,本发明还提供了一种功能组件的处理装置,包括:[0166] 发送模块,适于发送启动标识给服务器,其中,所述启动标识用于标识软件启动的事件;[0167] 获取模块,适于获取服务器依据启动标识返回的开关文件;[0168] 状态确定模块,适于根据所述开关文件,确定待处理功能组件中待处理功能模块的状态。 [0169] 所述功能组件的处理装置,与功能组件的处理系统中终端内的功能组件的处理装置基本一致,此处不再赘述。 [0170] 相应的,本发明还提供了一种服务器,包括:[0171 ] 接收模块,适于接收来自终端的启动标识,其中,所述启动标识用于标识软件启动的事件;[0172] 获取模块,适于依据所述启动标识获取开关文件;[0173] 发送模块,适于向该终端发送所述开关文件。 [0174] 所述服务器,与功能组件的处理系统中服务器基本一致,此处不再赘述。 [0175] 对于系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。 [0176] 本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。 [0177] 本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。 因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Accordingly, the present invention may be entirely hardware embodiment, an entirely software embodiment, or a combination of forms of embodiment of software and hardware aspects.而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 [0178] 尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。 所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 Therefore, the appended claims are intended to fall within the scope of the present invention to explain all changes and modifications as well as including a preferred embodiment. [0179] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood by the computer program instructions, and a combination of the flowchart and / or block diagram each of the processes and / or block flow and / or block diagram of the process and / or box.可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生适于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 [0180] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0181] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供适于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0182] 最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。 [0183] 以上对本发明所提供的功能组件的处理方法、一种功能组件的处理装置、一种服务器,以及一种功能组件的处理系统,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是适于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN101233486A *4 Nov 200530 Jul 2008高通股份有限公司Method, software and apparatus for activating resident applications
CN102141926A *10 Mar 20113 Aug 2011深圳创维数字技术股份有限公司Application program management method, device and digital television set top box
US6029196 *18 Jun 199722 Feb 2000Netscape Communications CorporationAutomatic client configuration system
US6123737 *21 May 199726 Sep 2000Symantec CorporationPush deployment of software packages using notification transports
WO2007063414A2 *27 Nov 20067 Jun 2007Nokia CorporationSystem, apparatus, and method for dynamically customizing and configuring applications
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
CN104219243A *12 Sep 201417 Dec 2014广州华多网络科技有限公司Method and device for managing client function
Classifications
International ClassificationG06F9/445, G06F9/44
Legal Events
DateCodeEventDescription
13 Feb 2013C06Publication
20 Mar 2013C10Entry into substantive examination
28 Sep 2016C14Grant of patent or utility model