CN102929661A - Method and device for processing functional component, and server - Google Patents

Method and device for processing functional component, and server Download PDF

Info

Publication number
CN102929661A
CN102929661A CN2012103801002A CN201210380100A CN102929661A CN 102929661 A CN102929661 A CN 102929661A CN 2012103801002 A CN2012103801002 A CN 2012103801002A CN 201210380100 A CN201210380100 A CN 201210380100A CN 102929661 A CN102929661 A CN 102929661A
Authority
CN
China
Prior art keywords
functional module
pending
module
switch file
pending functional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103801002A
Other languages
Chinese (zh)
Other versions
CN102929661B (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.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210380100.2A priority Critical patent/CN102929661B/en
Publication of CN102929661A publication Critical patent/CN102929661A/en
Application granted granted Critical
Publication of CN102929661B publication Critical patent/CN102929661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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.

Description

A kind of disposal route of functional module, device and server
Technical field
The present invention relates to computer software technology, particularly relate to a kind of disposal route, device and server of functional module.
Background technology
Each function of a software is to realize by the functional module of correspondence, each functional module can comprise a plurality of functional modules again, for example, Instant Messenger (IM) software realizes instant communication function by functional module, comprises the functional modules such as literal communication, voice communication and video communication in this functional module; And for example, realize function of search by functional module in the toolbar of browser, this functional module comprises the functional modules such as picture searching, Webpage search and map search.
Software is when starting, can load each functional module by functional module, but, the functional module that functional module loads just configured before mounting software, be to have configured the functional module that each functional module comprises in the software installation kit, it will start along with the startup of software.
At this moment, if problem has appearred in certain functional module in the software, the user is when using this functional module of software, and the situation of collapsing, can't move can appear in software, and user's use is produced larger impact.Particularly, the problem of functional module general character normally in the software, namely all users when using this functional module of this software, the problem that all software crash can occur, can't move, the problem of a functional module can use its user all to exert an influence to all.
In addition, the functional module that each functional module comprises just configures when mounting software, namely with software binding together, can't control the functional module of functional module, dirigibility is lower.
Therefore, those skilled in the art are urgent, and a technical matters that solves is, proposes a kind of disposal route, device and server of functional module, can carry out flexible and changeable control to each functional module in the functional module.
Summary of the invention
The invention provides the disposal route of functional module, can carry out flexible and changeable control to each functional module in the functional module.
Accordingly, the present invention also provides a kind of disposal route device and server of functional module
In order to address the above problem, the invention discloses a kind of disposal route of functional module, comprising:
Send the startup sign to server, wherein, described startup sign is used for the event of sign software startup;
Obtain server and identify the switch file that returns according to starting;
According to described switch file, determine the state of pending functional module in the pending functional module.
In the embodiment of the invention, described switch file comprises module id and the status indicator of pending functional module in the pending functional module.
In the embodiment of the invention, wherein according to described switch file, determine that the state of pending functional module in the pending functional module comprises: the module id according to pending functional module in the switch file is determined pending functional module; Determine the state of pending functional module according to the status indicator of pending functional module in the switch file.
In the embodiment of the invention, also comprise the component identification of pending functional module in the wherein said switch file; According to described switch file, determine that the state of pending functional module in the pending functional module comprises: the component identification according to pending functional module in the switch file is determined pending functional module.
In the embodiment of the invention, described state comprise following each: open, close, time opening and regularly closing; According to described switch file, determine the state of pending functional module in the pending functional module, comprise following each: according to opening, open or load corresponding functional module; According to closed condition, close or do not load corresponding functional module; According to the time opening state, after reaching timing, open or load described pending functional module; According to the timing closed condition, after reaching timing, close or do not load described pending functional module.
In the embodiment of the invention, also comprise version information in the described switch file, described method also comprises: when the version information of this functional module in the version information that detects pending functional module and the described switch file is inconsistent, functional module corresponding to version information in the lower load switch file, and upgrade local functional module.
Accordingly, the present invention also provides a kind of disposal route of functional module, comprising:
Receive the startup sign of self terminal, described startup sign is used for the event of sign software startup;
Obtain the switch file according to described startup sign;
Send described switch file to this terminal.
In the embodiment of the invention, also comprise the generation method of switch file: according to needing functional module to be processed, the module id of pending functional module is set; According to the processing operation for the treatment of the processing capacity module, the status indicator of described pending functional module is set.
In the embodiment of the invention, the component identification of the functional module under the need functional module to be processed is set to the component identification of pending functional module.
Accordingly, the present invention also provides a kind of disposal route of functional module, comprising:
Terminal sends and starts sign to server, and wherein, described startup sign is used for the event of sign software startup;
Described server receives the described startup sign from described terminal;
Described server obtains the switch file according to described startup sign;
Described server sends described switch file to this terminal;
Described terminal is obtained described server and is identified the switch file that returns according to starting;
Described terminal is determined the state of pending functional module in the pending functional module according to described switch file.
Accordingly, the present invention also provides a kind for the treatment of apparatus of functional module, comprising:
Sending module is suitable for sending the startup sign to server, and wherein, described startup sign is used for the event of sign software startup;
Acquisition module is suitable for obtaining server and identifies the switch file that returns according to starting;
The state determination module is suitable for determining the state of pending functional module in the pending functional module according to described switch file.
In the embodiment of the invention, described switch file comprises module id and the status indicator of pending functional module in the pending functional module.
In the embodiment of the invention, described state determination module comprises: first determines submodule, is suitable for determining pending functional module according to the module id of pending functional module in the switch file; Second determines submodule, is suitable for determining according to the status indicator of pending functional module in the switch file state of pending functional module.
In the embodiment of the invention, also comprise the component identification of pending functional module in the wherein said switch file; Described state determination module also comprises: the 3rd determines submodule, is suitable for determining pending functional module according to the component identification of pending functional module in the switch file.
In the embodiment of the invention, described state comprise following each: open, close, time opening and regularly closing; Described state determination module is suitable for determining the state of pending functional module in the pending functional module according to described switch file, comprise following each: according to opening, open or load corresponding functional module; According to closed condition, close or do not load corresponding functional module; According to the time opening state, after reaching timing, open or load described pending functional module; According to the timing closed condition, after reaching timing, close or do not load described pending functional module.
In the embodiment of the invention, also comprise version information in the described switch file, described device also comprises: update module, be suitable for when the version information of this functional module in the version information that detects pending functional module and the described switch file is inconsistent, functional module corresponding to version information in the lower load switch file, and upgrade local functional module.
Accordingly, a kind of server that the present invention also provides comprises:
Receiver module is suitable for receiving the startup of self terminal to identify, and wherein, described startup sign is used for the event of sign software startup;
Acquisition module is suitable for obtaining the switch file according to described startup sign;
Sending module is suitable for sending described switch file to this terminal.
In the embodiment of the invention, described server also comprises: file generating module, be used for generating the switch file, and described file generating module comprises: first arranges submodule, is suitable for according to needing functional module to be processed the module id of pending functional module being set; Second arranges submodule, is suitable for according to the processing operation for the treatment of the processing capacity module status indicator of described pending functional module being set.
In the embodiment of the invention, described file generating module also comprises: the 3rd arranges submodule, and the component identification that is suitable for the functional module under the need functional module to be processed is set to the component identification of pending functional module.
Compared with prior art, the present invention includes following advantage:
At first, the present invention can obtain the switch file from server, and then according to described switch file, determines the state of pending functional module in the pending functional module.If problem has appearred in certain functional module in the software, just can be configured by the state of switch file to this functional module, method is flexible and changeable.And when using software, can not occur owing to the problem of this functional module causes the collapse of software, the situation that can't move, thereby can user's use not exerted an influence.
Secondly, the module id and the status indicator that comprise pending functional module in the pending functional module in the switch file of the present invention, the component identification that can also comprise pending functional module, by above-mentioned component identification, module id and status indicator, can select easily pending functional module, pending functional module and corresponding state, thereby can determine fast, flexibly the state of pending functional module in the pending functional module, and accelerate the toggle speed of software.
Again, in the prior art, the functional module that each functional module comprises just configures when mounting software, with software binding together, can start along with the startup of software.State comprises opening and closing described in the present invention, also can comprise time opening or regularly closes, and therefore can determine that whether pending functional module loads by state, when load, or when close etc.Thereby can realize treating the control of processing capacity module, make its operation that can not affect software, method very flexibly, and can accelerate the toggle speed of software.
Again, in the prior art, each functional module and the functional module that wherein comprises can be upgraded with software, and therefore the updating speed of software is slow usually.And also comprise version information among the present invention in the switch file, if it is inconsistent to detect the version information of this functional module in the version information of pending functional module and the described switch file, can descend functional module corresponding to version information in the load switch file, and upgrade local functional module.Thereby so that when pending functional module need to be upgraded in the software, can from server, obtain fast pending functional module corresponding to described version information, update method flexibly, fast, save time.
Description of drawings
Fig. 1 is the process flow figure of the described end side functional module of the embodiment of the invention;
Fig. 2 is the process flow figure of the described server side functional module of the embodiment of the invention;
Fig. 3 is the described content distributing network schematic diagram of the optional embodiment of the present invention;
Fig. 4 is the overall flow figure of the disposal route of the described a kind of functional module of the embodiment of the invention;
Fig. 5 is the disposal system structural drawing of the described a kind of functional module of the embodiment of the invention;
Fig. 6 is the treating apparatus structural drawing of functional module in the disposal system of the described a kind of functional module of the optional embodiment of the present invention;
Fig. 7 is the structural drawing of server in the disposal system of the described a kind of functional module of the embodiment of the invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Comprise various all kinds of software in the terminal, and each function of software is to realize by the functional module of correspondence, each functional module can comprise a plurality of functional modules again.Software is when starting, can load each functional module by functional module, but, the functional module that functional module loads just configured before mounting software, be to have configured the functional module that each functional module comprises in the software installation kit, it will start along with the startup of software.
At this moment, if problem has appearred in certain functional module in the software, the user is when using this functional module of software, and the situation of collapsing, can't move can appear in software, and user's use is produced larger impact.Particularly, the problem of functional module general character normally in the software, namely all users when using this functional module of this software, the problem that all software crash can occur, can't move, the problem of a functional module can use its user all to exert an influence to all.
In addition, the functional module that each functional module comprises just configures when mounting software, namely with software binding together, can't control the functional module of functional module, dirigibility is lower.
Therefore, the present invention proposes a kind of disposal route of functional module, can carry out flexible and changeable control to each functional module in the functional module.
With reference to Fig. 1, provided the process flow figure of the described end side functional module of the embodiment of the invention.
Step S110 sends the startup sign to server;
The present invention has preset the switch file, be suitable for controlling the state of pending functional module in the pending functional module, described pending functional module refers in the software for some reason and the functional module of some functional module that will process, and described pending functional module is the functional module under the pending functional module.Leak has appearred in described reason such as certain functional module can cause system crash, and for example the leak of this functional module has been repaired and has been finished etc., therefore server can be according to above-mentioned different reason, configure different switch files, so that pending functional module is in corresponding state in the pending functional module.
Wherein, described startup sign is used for the event of sign software startup, namely in the terminal behind the software startup, can start by starting this software of sign announcement server, described startup sign can be by sending request, and the methods such as Event triggered realize sending, and the present invention does not do restriction to this.Described startup sign can comprise the relevant informations such as the title, sign, version information of the software of current startup.
Then, server receives and starts sign, namely after the event of software startup, can check the switch file that whether has this software, if exist, then returns described switch file.
Step S120 obtains server according to starting sign Returning switch file;
By foregoing as can be known, when receiving, server starts sign, and after viewing the switch file of this software, can the Returning switch file, and then this software can receive the switch file in the counterpart terminal.
Step S130 according to described switch file, determines the state of pending functional module in the pending functional module.
After software receives the switch file, can determine according to described switch file the state of pending functional module in the pending functional module, so that software is when starting, according to pending functional module in the corresponding pending functional module of state configuration.
In sum, the present invention can obtain the switch file from server, and then according to described switch file, determines the state of pending functional module in the pending functional module.If problem has appearred in certain functional module in the software, just can be configured by the state of switch file to this functional module, method is flexible and changeable.And when using software, can not occur owing to the problem of this functional module causes the collapse of software, the situation that can't move, thereby can user's use not exerted an influence.
Optionally, described switch file comprises: the module id of pending functional module and status indicator in the pending functional module.
Because it is a plurality of that the functional module in the functional module often comprises, so the present invention is provided with module id, is used for distinguishing each functional module.Described module id can be numeral number, such as 1,2 Also can be to limit according to function, game component such as functional module, then each functional module may be the shortcut of each game, the module id that limits according to function comprises bird, fish etc., therefore the present invention does not do restriction for module id, as long as described module id can be distinguished each module.Also comprise status indicator among the present invention, be suitable for the state of identification function module.
Therefore, described switch file comprises module id and the status indicator of pending functional module in the pending functional module.
Then in the above-mentioned steps, according to described switch file, determine the state of pending functional module in the pending functional module, comprising:
Module id according to pending functional module in the switch file is determined pending functional module; Determine the state of pending functional module according to the status indicator of pending functional module in the switch file.
Then can obtain the module id of pending functional module in the pending functional module by the switch file, further by the module id of described pending functional module, can the pending functional module of identification place.Then the status indicator of pending functional module in the pending functional module can be obtained by the switch file, further by the status indicator of described pending functional module, the state of pending functional module can be determined.
Optionally, the component identification that also comprises pending functional module in the described switch file;
Functional module in the software also has a lot of, so the present invention is provided with component identification to distinguish different functional modules.The setting of described component identification such as module id repeat no more herein.Therefore, the component identification that also comprises pending functional module in the switch file.
Therefore, according to described switch file, determine that the state of pending functional module in the pending functional module comprises: the component identification according to pending functional module in the switch file is determined pending functional module.
The component identification of pending functional module can be obtained by the switch file, further pending functional module can be determined by described component identification.
In sum, the module id and the status indicator that comprise pending functional module in the pending functional module in the switch file of the present invention, the component identification that can also comprise pending functional module, by above-mentioned component identification, module id and status indicator, can select easily pending functional module, pending functional module and corresponding state, thereby can determine fast, flexibly the state of pending functional module in the pending functional module, and increase the toggle speed of software.
Optionally, described state comprises: opening and closing; According to described switch file, determine the state of pending functional module in the pending functional module, comprise according to functional module corresponding to On/Off state On/Off or loading/do not load.
When certain functional module goes wrong in the software, exert an influence for fear of its operation to software, this functional module can be closed, so that this functional module is not moved during running software; After the problem of this functional module is repaired, can reopen this functional module.Therefore, the state of pending functional module comprises opening and closing.
After receiving the switch file, according to opening, open or load corresponding functional module, even state is for opening the pending functional module that then can load or open described pending functional module in software.According to closed condition, close or do not load corresponding functional module, even state then can not load or close the pending functional module of described pending functional module for closing in software.
Optionally, described state also comprises: time opening and timing are closed,
According to described switch file, determine the state of pending functional module in the pending functional module, also comprise: according to the time opening state, after reaching timing, open or load described pending functional module; According to the timing closed condition, after reaching timing, close or do not load described pending functional module.
Among the present invention, described state also can comprise time opening and regularly close.When finding that certain functional module goes wrong in the software, can close this functional module in the software; The problem of this functional module can reopen this functional module after repairing.But, sometimes may not can process immediately during the problem in the discovery feature module, for example allow this functional module operation a period of time impact to check that it brings, state that therefore can pending functional module is set to regularly close.Sometimes, state that also can pending functional module is set to time opening, for example, estimates the reparation of Completion problem after a hour, then can be after one hour or the longer time open again pending functional module.
After receiving the switch file, if state is time opening, then after reaching timing, can in software, load or open the pending functional module of described pending functional module; If state then after reaching timing, can not load or close the pending functional module of described pending functional module for regularly closing in software.
In sum, in the prior art, the functional module that each functional module comprises just configures when mounting software, with software binding together, can start along with the startup of software.State comprises opening and closing described in the present invention, also can comprise time opening or regularly closes, and therefore can determine that whether pending functional module loads by state, when load, or when close etc.Thereby can realize treating the control of processing capacity module, make its operation that can not affect software, method very flexibly, and can accelerate the toggle speed of software.
Optionally, also comprise version information in the described switch file, described method also comprises: when the version information that detects pending functional module, when inconsistent with the version information of this functional module in the described switch file, functional module corresponding to version information in the lower load switch file, and upgrade local functional module.
Because the variation of the each side such as software function, outward appearance, and will usually upgrade.If therefore software upgrades functional module, can detect need to determine whether the update functions assembly by the switch file.Therefore, can be in the switch file configuration version information, described version information is the version information of pending functional module in the software, at this moment, the functional module that needs in the software to upgrade can be called pending functional module.
After getting access to the switch file, can get access to version information, thereby whether the version information of this pending functional module is consistent in the version information that detects pending functional module and the described switch file: if consistent, illustrate that then pending functional module has upgraded complete in the software; If inconsistent, illustrate that then pending functional module need to upgrade in the software, thereby can from server, descend functional module corresponding to version information in the load switch file, then this pending functional module in the software is upgraded.Can just carry out after download is finished in the implementation and upgrade operation, can upgrade when opening software next time yet, the present invention does not do restriction to this.
In sum, in the prior art, each functional module and the functional module that wherein comprises can be upgraded with software, and therefore the updating speed of software is slow usually.And comprise version information among the present invention in the switch file, thereby so that when pending functional module need to be upgraded in the software, can from server, obtain fast pending functional module corresponding to described version information, update method flexibly, fast, save time.
Optionally, described status indicator is the banner word segment value that presets, a kind of state of a unique corresponding function module of banner word segment value.
In the implementation, Status Flag of the present invention can be the banner word segment value that presets, a kind of state of a unique corresponding function module of identification field values.For example, adopt the flag value, described flag value is the special mark that special data makes marks in the computing machine, can be the special character of 8bit.For example, can configure flag=0 for close, flag=1 for open, flag=2 is time opening etc. for regularly closing with flag=3.
A kind of method in the implementation is, software can judge by the judgement statement that presets when getting access to the banner word segment value, thereby determines the state of pending functional module in the pending functional module.
Can also in software, configure in advance a configuration file in the implementation, can limit corresponding which kind of state of which status indicator in the described configuration file, thereby after obtaining status indicator, can identify by described configuration file the state of pending functional module in the corresponding pending functional module of this status indicator.
Comprise the recognition methods of various states sign in the prior art, for enumerating one by one, should not be understood as limitation of the present invention herein.
Optionally, the method for obtaining the switch file from server has multiple, and wherein a kind of method is to obtain by content distributing network.The introduction of content distributing network is referring to hereinafter content.
With reference to Fig. 2, provided the process flow figure of the described server side functional module of the embodiment of the invention.
Accordingly, the present invention also provides a kind of disposal route of functional module, comprising:
Step S210 receives the startup of self terminal to identify;
Can announcement server when software is opened in the terminal, namely send and start sign to server, then the server correspondence can receive the startup sign of self terminal, and wherein, described startup sign is used for the event of sign software startup.
Described startup sign can comprise the relevant informations such as the title, sign, version information of the software of current startup.Step S220 obtains the switch file according to described startup sign;
Because it is multiple that software category corresponding to server has, also there is multiple different version in each software, and then corresponding pending functional module also may be different with pending functional module.Therefore, need to determine that described software is the sort of software by starting sign, the version of this software, thereby the switch file of definite described correspondence of this software, and then obtain switch file corresponding to described request.
Step S230 sends described switch file to this terminal.
After getting access to the switch file, just can return described switch file to described terminal.
In sum, dispose the switch file in the server of the present invention, therefore can be received from the startup sign to the switch file of terminal, and return corresponding switch file, can be by the state of pending functional module in the pending functional module of switch file configuration so that terminal is follow-up.Thereby can not occur owing to the problem of this functional module causes the collapse of software, the situation that can't move, method is flexible and changeable.
With reference to Fig. 3, provided the described content distributing network schematic diagram of the optional embodiment of the present invention.
Optionally, send described switch file by content distributing network to this terminal.
The present invention adopts CDN(Content Delivery Network, content distributing network), corresponding a plurality of terminals of server among the CDN, be one deck intelligent virtual network on existing Internet basic that consists of by place node server everywhere at network, the CDN system can be in real time leads user's request on the nearest service node of user again according to the connection of network traffics and each node, load state and to integrated informations such as user's distance and response times.
By content distributing network, so that terminal can be by obtaining the switch file on the nearest service node, thereby improved the speed of download of file.
Optionally, the generation method that also comprises the switch file:
According to needing functional module to be processed, the module id of pending functional module is set; According to the processing operation for the treatment of the processing capacity module, the status indicator of described pending functional module is set.
Server end disposes the switch file, so server end also comprises the generation method of switch file, at first determines functional module to be processed in the software to be made as pending functional module, then obtains the module id of described pending functional module.Next step determines the processing operation to described pending functional module again, for example open, close, time opening or regularly close, the status indicator of described pending functional module is set, then described module id and described status indicator is consisted of the switch file jointly.
Preferably, the sign of the functional module under the need functional module to be processed is set to the sign of pending functional module.
Also need to determine the functional module under the pending functional module in the switch file, i.e. pending functional module determines that can obtain corresponding component identification behind the pending functional module adds in the switch file.
Optionally, terminal can also send the request of procotol multicast to server, after server receives the described procotol multicast request of self terminal, can set up server and connect to the multicast between the terminal.
The present invention can adopt the method for IP multicast (IP multicasting), and it is abstract to hardware multicast, is the expansion to standard I P network layer protocol.It, is gathered the main frame of IP data packet transmission to a multicast group (multicast group) according to the principle that maximum is delivered by using specific IP multicast address.Its basic skills is: when a certain user sends data to one group of user, needn't send data to each user, only need data are sent to the group address of a specific reservation, all add the usefulness of this group can receive this piece of data per family.For the sender, data only need send once just can send to all recipients, has greatly alleviated the load of network and sender's burden like this.
Therefore among the present invention, can then can set up server according to described IP multicast request and connect to the multicast between the terminal according to the IP multicast request (being the request of procotol multicast) of terminal, the switch file is sent in the terminal timely.
In the implementation, in order not affect the work of other processes in the software or thread, a network thread can be set, after browser is opened and server communicate, send the IP multicast request, set up multicast and connect, just can obtain fast the switch file by multicast group with regard to terminal, and reduce the burden of server.
Software of the present invention is a series of according to the computer data of particular order tissue and the set of instruction, such as browser, Instant Messenger (IM) software etc.
Below, the disposal route in conjunction with functional module in end side and the server side has provided whole disposal route, and is specific as follows:
With reference to Fig. 4, provided the overall flow figure of the disposal route of the described a kind of functional module of the embodiment of the invention.
The S410 terminal can be in being installed on terminal software startup the time send and start sign to server, wherein, described startup sign is used for the event of sign software startup.
The S420 server can receive the startup sign that comes from terminal.
The S430 server obtains the switch file according to described startup sign.
The S440 server can be to terminal transmit button file.
The S450 terminal is obtained the switch file.
The S460 terminal is determined the state of pending functional module in the pending functional module according to described switch file.
Because in the whole disposal route, the detail content of the disposal route of end side and server side with above discuss basically identically, therefore repeat no more herein.
With reference to Fig. 5, provided the disposal system structural drawing of the described a kind of functional module of the embodiment of the invention.
Accordingly, the present invention also provides a kind of disposal system of functional module, comprises server 1 and terminal 2.
Described terminal 2 comprises the treating apparatus 21 of functional module, and described function treatment device 21 comprises:
Sending module 211 is suitable for sending the startup sign to server 1, and wherein, described startup sign is used for the event of sign software startup;
Acquisition module 212 is suitable for obtaining server 1 and identifies the switch file that returns according to starting;
State determination module 213 is suitable for determining the state of pending functional module in the pending functional module according to described switch file.
Described server 1 comprises:
Receiver module 11 is suitable for receiving the startup of self terminal 2 to identify;
Acquisition module 12 is suitable for obtaining the switch file according to described startup sign;
Sending module 13 is suitable for sending described switch file to this terminal 2.
With reference to Fig. 6, provided the treating apparatus structural drawing of functional module in the disposal system of the described a kind of functional module of the optional embodiment of the present invention.
Optionally, described switch file comprises module id and the status indicator of pending functional module in the pending functional module.
Then described state determination module 213 comprises:
First determines submodule 2131, is suitable for determining pending functional module according to the module id of pending functional module in the switch file;
Second determines submodule 2132, is suitable for determining according to status indicator in the switch file state of pending functional module.
Optionally, the component identification that also comprises pending functional module in the described switch file;
Described state determination module 213 comprises:
The 3rd determines submodule 2133, is suitable for determining pending functional module according to the component identification of pending functional module in the switch file.
Optionally, described state comprise following each: open, timeing closing is opened and regularly close; Described state determination module 213 is suitable for determining the state of pending functional module in the pending functional module according to described switch file, comprise following each: open or load corresponding functional module according to opening; According to closed condition, close or do not load corresponding functional module; According to the time opening state, after reaching timing, open or load described pending functional module; According to the timing closed condition, after reaching timing, close or do not load described pending functional module.。
Optionally, also comprise version information in the described switch file, the treating apparatus 21 of described functional module also comprises:
Update module 214 is suitable for when the version information that detects pending functional module, when inconsistent with the version information of this functional module in the described switch file, and functional module corresponding to version information in the lower load switch file, and upgrade local functional module.
Optionally, described status indicator is the banner word segment value that presets, a kind of state of a unique corresponding function module of banner word segment value.
Optionally, the method for obtaining the switch file in the server is for obtaining by content distributing network.
With reference to Fig. 7, provided the structural drawing of server in the disposal system of the described a kind of functional module of the embodiment of the invention.
Optionally, described server 1 sends described switch file by content distributing network to this terminal.
Described server comprises receiver module 11, acquisition module 12 and the sending module 13 that server 1 comprises in the disposal system of functional module among Fig. 4; Further, described server also comprises: file generating module 10 comprises:
First arranges submodule 101, is suitable for according to needing functional module to be processed the module id of pending functional module being set;
Second arranges submodule 102, is suitable for according to the processing operation for the treatment of the processing capacity module status indicator of described pending functional module being set.
The 3rd arranges submodule 103, and the component identification that is suitable for the functional module under the need functional module to be processed is set to the component identification of pending functional module.
Optionally, described server 1 also comprises:
Link block is suitable for receiving the procotol multicast request of self terminal, and the request of described procotol multicast, sets up server and connects to the multicast between the terminal.
Accordingly, the present invention also provides a kind for the treatment of apparatus of functional module, comprising:
Sending module is suitable for sending the startup sign to server, and wherein, described startup sign is used for the event of sign software startup;
Acquisition module is suitable for obtaining server and identifies the switch file that returns according to starting;
The state determination module is suitable for determining the state of pending functional module in the pending functional module according to described switch file.
The treating apparatus of described functional module, basically identical with the treating apparatus of functional module in the terminal in the disposal system of functional module, repeat no more herein.
Accordingly, the present invention also provides a kind of server, comprising:
Receiver module is suitable for receiving the startup of self terminal to identify, and wherein, described startup sign is used for the event of sign software startup;
Acquisition module is suitable for obtaining the switch file according to described startup sign;
Sending module is suitable for sending described switch file to this terminal.
Described server, basically identical with server in the disposal system of functional module, repeat no more herein.
For system embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
The present invention is that reference is described according to process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, so that the instruction of carrying out by the processor of computing machine or other programmable data processing device produces the device that is suitable for implementation in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computing machine or other programmable devices, thereby provide the step that is suitable for implementation in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame in the instruction that computing machine or other programmable devices are carried out.
At last, also need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operational zone, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, commodity or the equipment of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, commodity or equipment.In the situation that not more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, commodity or the equipment that comprises described key element and also have other identical element.
The treating apparatus of above disposal route to functional module provided by the present invention, a kind of functional module, a kind of server, and a kind of disposal system of functional module, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is suitable for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (19)

1. the disposal route of a functional module comprises:
Send the startup sign to server, wherein, described startup sign is used for the event of sign software startup;
Obtain server and identify the switch file that returns according to starting;
According to described switch file, determine the state of pending functional module in the pending functional module.
2. the method for claim 1, described switch file comprises module id and the status indicator of pending functional module in the pending functional module.
3. method as claimed in claim 2, wherein according to described switch file, determine that the state of pending functional module in the pending functional module comprises:
Module id according to pending functional module in the switch file is determined pending functional module;
Determine the state of pending functional module according to the status indicator of pending functional module in the switch file.
4. method as claimed in claim 2 also comprises the component identification of pending functional module in the wherein said switch file;
According to described switch file, determine that the state of pending functional module in the pending functional module comprises: the component identification according to pending functional module in the switch file is determined pending functional module.
5. the method for claim 1, described state comprise following each: open, close, time opening and regularly closing;
According to described switch file, determine the state of pending functional module in the pending functional module, comprise following each:
According to opening, open or load corresponding functional module;
According to closed condition, close or do not load corresponding functional module;
According to the time opening state, after reaching timing, open or load described pending functional module;
According to the timing closed condition, after reaching timing, close or do not load described pending functional module.
6. the method for claim 1 also comprises version information in the described switch file, and described method also comprises:
When the version information of this functional module in the version information that detects pending functional module and the described switch file is inconsistent, functional module corresponding to version information in the lower load switch file, and upgrade local functional module.
7. the disposal route of a functional module comprises:
Receive the startup sign of self terminal, described startup sign is used for the event of sign software startup;
Obtain the switch file according to described startup sign;
Send described switch file to this terminal.
8. method as claimed in claim 7 also comprises the generation method of switch file:
According to needing functional module to be processed, the module id of pending functional module is set;
According to the processing operation for the treatment of the processing capacity module, the status indicator of described pending functional module is set.
9. method as claimed in claim 8 also comprises:
The component identification of the functional module under the need functional module to be processed is set to the component identification of pending functional module.
10. the disposal route of a functional module comprises:
Terminal sends and starts sign to server, and wherein, described startup sign is used for the event of sign software startup;
Described server receives the described startup sign from described terminal;
Described server obtains the switch file according to described startup sign;
Described server sends described switch file to this terminal;
Described terminal is obtained described server and is identified the switch file that returns according to starting;
Described terminal is determined the state of pending functional module in the pending functional module according to described switch file.
11. the treating apparatus of a functional module comprises:
Sending module is suitable for sending the startup sign to server, and wherein, described startup sign is used for the event of sign software startup;
Acquisition module is suitable for obtaining server and identifies the switch file that returns according to starting;
The state determination module is suitable for determining the state of pending functional module in the pending functional module according to described switch file.
12. device as claimed in claim 11, described switch file comprises module id and the status indicator of pending functional module in the pending functional module.
13. device as claimed in claim 12, described state determination module comprises:
First determines submodule, is suitable for determining pending functional module according to the module id of pending functional module in the switch file;
Second determines submodule, is suitable for determining according to the status indicator of pending functional module in the switch file state of pending functional module.
14. device as claimed in claim 12 also comprises the component identification of pending functional module in the wherein said switch file; Described state determination module also comprises:
The 3rd determines submodule, is suitable for determining pending functional module according to the component identification of pending functional module in the switch file.
15. device as claimed in claim 11, described state comprise following each: open, close, time opening and regularly closing;
Described state determination module is suitable for determining the state of pending functional module in the pending functional module according to described switch file, comprise following each: according to opening, open or load corresponding functional module; According to closed condition, close or do not load corresponding functional module; According to the time opening state, after reaching timing, open or load described pending functional module; According to the timing closed condition, after reaching timing, close or do not load described pending functional module.
16. device as claimed in claim 11 also comprises version information in the described switch file, described device also comprises:
Update module is suitable for when the version information of this functional module in the version information that detects pending functional module and the described switch file is inconsistent, functional module corresponding to version information in the lower load switch file, and upgrade local functional module.
17. a server comprises:
Receiver module is suitable for receiving the startup of self terminal to identify, and wherein, described startup sign is used for the event of sign software startup;
Acquisition module is suitable for obtaining the switch file according to described startup sign;
Sending module is suitable for sending described switch file to this terminal.
18. server as claimed in claim 17 also comprises: file generating module, be used for generating the switch file, described file generating module comprises:
First arranges submodule, is suitable for according to needing functional module to be processed the module id of pending functional module being set;
Second arranges submodule, is suitable for according to the processing operation for the treatment of the processing capacity module status indicator of described pending functional module being set.
19. server as claimed in claim 18, described file generating module also comprises:
The 3rd arranges submodule, and the component identification that is suitable for the functional module under the need functional module to be processed is set to the component identification of pending functional module.
CN201210380100.2A 2012-10-09 2012-10-09 The processing method of a kind of functional unit, device and server Active CN102929661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210380100.2A CN102929661B (en) 2012-10-09 2012-10-09 The processing method of a kind of functional unit, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210380100.2A CN102929661B (en) 2012-10-09 2012-10-09 The processing method of a kind of functional unit, device and server

Publications (2)

Publication Number Publication Date
CN102929661A true CN102929661A (en) 2013-02-13
CN102929661B CN102929661B (en) 2016-09-28

Family

ID=47644471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210380100.2A Active CN102929661B (en) 2012-10-09 2012-10-09 The processing method of a kind of functional unit, device and server

Country Status (1)

Country Link
CN (1) CN102929661B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219243A (en) * 2014-09-12 2014-12-17 广州华多网络科技有限公司 Method and device for managing client function
CN106020843A (en) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 System function updating method and system, terminal device and server
CN108182074A (en) * 2017-12-29 2018-06-19 五八有限公司 Functionally inserting method, device, mobile terminal and the storage medium of application
CN108681471A (en) * 2018-05-15 2018-10-19 北京五八信息技术有限公司 Application control method, device, electronic equipment and readable storage medium storing program for executing
CN109067809A (en) * 2018-10-18 2018-12-21 深信服科技股份有限公司 Authority configuring method, device, equipment and the storage medium of security component
CN112114988A (en) * 2019-06-21 2020-12-22 顺丰科技有限公司 Client starting method, device, terminal and storage medium
CN113259468A (en) * 2021-06-02 2021-08-13 新华三智能终端有限公司 Network equipment configuration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029196A (en) * 1997-06-18 2000-02-22 Netscape Communications Corporation Automatic client configuration system
US6123737A (en) * 1997-05-21 2000-09-26 Symantec Corporation Push deployment of software packages using notification transports
WO2007063414A2 (en) * 2005-12-02 2007-06-07 Nokia Corporation System, apparatus, and method for dynamically customizing and configuring applications
CN101233486A (en) * 2004-11-05 2008-07-30 高通股份有限公司 Method, software and apparatus for activating resident applications
CN102141926A (en) * 2011-03-10 2011-08-03 深圳创维数字技术股份有限公司 Application program management method, device and digital television set top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6123737A (en) * 1997-05-21 2000-09-26 Symantec Corporation Push deployment of software packages using notification transports
US6029196A (en) * 1997-06-18 2000-02-22 Netscape Communications Corporation Automatic client configuration system
CN101233486A (en) * 2004-11-05 2008-07-30 高通股份有限公司 Method, software and apparatus for activating resident applications
WO2007063414A2 (en) * 2005-12-02 2007-06-07 Nokia Corporation System, apparatus, and method for dynamically customizing and configuring applications
CN102141926A (en) * 2011-03-10 2011-08-03 深圳创维数字技术股份有限公司 Application program management method, device and digital television set top box

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219243A (en) * 2014-09-12 2014-12-17 广州华多网络科技有限公司 Method and device for managing client function
CN106020843A (en) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 System function updating method and system, terminal device and server
CN108182074A (en) * 2017-12-29 2018-06-19 五八有限公司 Functionally inserting method, device, mobile terminal and the storage medium of application
CN108681471A (en) * 2018-05-15 2018-10-19 北京五八信息技术有限公司 Application control method, device, electronic equipment and readable storage medium storing program for executing
CN108681471B (en) * 2018-05-15 2022-03-08 北京五八信息技术有限公司 Application program control method and device, electronic equipment and readable storage medium
CN109067809A (en) * 2018-10-18 2018-12-21 深信服科技股份有限公司 Authority configuring method, device, equipment and the storage medium of security component
CN109067809B (en) * 2018-10-18 2021-08-13 深信服科技股份有限公司 Authority configuration method, device, equipment and storage medium of security component
CN112114988A (en) * 2019-06-21 2020-12-22 顺丰科技有限公司 Client starting method, device, terminal and storage medium
CN113259468A (en) * 2021-06-02 2021-08-13 新华三智能终端有限公司 Network equipment configuration method and device
CN113259468B (en) * 2021-06-02 2021-09-21 新华三智能终端有限公司 Network equipment configuration method and device

Also Published As

Publication number Publication date
CN102929661B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN102929661A (en) Method and device for processing functional component, and server
CN102902579A (en) Processing system for functional assembly
CN106557339A (en) The upgrade method and device of equipment firmware
CN103309308A (en) Equipment intelligent control method, device, system and plug-and-play equipment
CN103249027B (en) The method and apparatus that a kind of terminal traffic processes
CN104951456A (en) Method, device and equipment used for obtaining answer information
CN103136342A (en) Searching method, system and searching server of application programs (APP)
US20080153546A1 (en) Methods and apparatuses for sim application toolkit (sat) management
CN104486422A (en) Information push method and device
CN103136024A (en) Method, device and mobile device for reliable unloading of application program
CN106412696A (en) System upgrading method and device for smart television
CN103312489A (en) Method and device for synchronizing terminal and server
CN111464351B (en) Network distribution method and device for intelligent household equipment, terminal equipment and storage medium
CN106055360A (en) Starting method of application background service and mobile terminal
CN111367922A (en) Data updating method and related equipment
CN103079108A (en) Set top box and starting method thereof
CN104793984B (en) A kind of modeling method of equipment, device and cloud platform
CN111726367A (en) User equipment CPE access binding method, device, system and equipment
CN115328520A (en) Remote upgrading method and device, electronic equipment and storage medium
CN106375551A (en) Information interaction method and device, and terminal
CN111107147A (en) Message pushing method and device
CN106302670A (en) A kind of picture update method, communication terminal and server
CN112820273B (en) Wake-up judging method and device, storage medium and electronic equipment
CN106484426A (en) A kind of method of feedback search information, apparatus and system
CN111105795B (en) Method and device for training offline voice firmware of smart home

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240116

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.