CN102929661B - The processing method of a kind of functional unit, device and server - Google Patents

The processing method of a kind of functional unit, device and server Download PDF

Info

Publication number
CN102929661B
CN102929661B CN201210380100.2A CN201210380100A CN102929661B CN 102929661 B CN102929661 B CN 102929661B CN 201210380100 A CN201210380100 A CN 201210380100A CN 102929661 B CN102929661 B CN 102929661B
Authority
CN
China
Prior art keywords
pending
module
functional unit
functional module
switch file
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.)
Active
Application number
CN201210380100.2A
Other languages
Chinese (zh)
Other versions
CN102929661A (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

Abstract

The invention provides the processing method of a kind of functional unit, device and server, functional module each in functional unit can be carried out flexible and changeable control.Described method includes: sends startup and identifies to server, and wherein, the described mark that starts is for identifying the event of software startup;Obtain server according to starting the switch file that mark returns;According to described switch file, determine the state of pending functional module in pending functional unit.

Description

The processing method of a kind of functional unit, device and server
Technical field
The present invention relates to computer software technology, particularly relate to the processing method of a kind of functional unit, dress Put and server.
Background technology
Each function of one software is to be realized by corresponding functional unit, and each functional unit again may be used To include multiple functional module, such as, MSN realizes instant communication function by functional unit, This functional unit includes the functional modules such as word communication, voice communication and video communication;And for example, browse Realizing function of search by functional unit in the toolbar of device, this functional unit includes picture searching, webpage The functional modules such as search and map search.
Software on startup, can load each functional module by functional unit, but, functional unit The functional module loaded was configured before installing software the most, i.e. configured in software installation kit The functional module that each functional unit is comprised, it will start along with the startup of software.
Now, if certain functional module there is a problem in software, user is using this function mould of software During block, software there will be collapse, the situation that cannot run, and large effect is compared in the use generation to user. Particularly, in software, the problem of functional module is typically general character, and the most all users are using this software During this functional module, software crash, the problem that cannot run all can occur, the problem of a functional module, Its user of all uses can be produced impact.
It addition, the functional module that each functional unit is comprised just configures well when installing software, i.e. Together with software binding, it is impossible to being controlled the functional module of functional unit, motility is compared Low.
Therefore, urgently solve one of those skilled in the art technical problem is that, proposes a kind of functional unit Processing method, device and server, can functional module each in functional unit be carried out flexible and changeable Control.
Summary of the invention
The invention provides the processing method of functional unit, functional module each in functional unit can be carried out Flexible and changeable control.
Accordingly, present invention also offers processing method device and the server of a kind of functional unit
In order to solve the problems referred to above, the invention discloses the processing method of a kind of functional unit, including:
Sending to start and identify to server, wherein, the described mark that starts is for identifying the event that software starts;
Obtain server according to starting the switch file that mark returns;
According to described switch file, determine the state of pending functional module in pending functional unit.
In the embodiment of the present invention, described switch file includes pending functional module in pending functional unit Module id and status indicator.
In the embodiment of the present invention, wherein according to described switch file, determine in pending functional unit and wait to locate The state of reason functional module includes: determine according to the module id of pending functional module in switch file Pending functional module;Determine pending according to the status indicator of pending functional module in switch file The state of functional module.
In the embodiment of the present invention, wherein said switch file also includes the assembly mark of pending functional unit Know;According to described switch file, determine that in pending functional unit, the state of pending functional module includes: Pending functional unit is determined according to the assembly mark of pending functional unit in switch file.
In the embodiment of the present invention, described state includes following any one: open, close, time opening and Timing is closed;According to described switch file, determine the shape of pending functional module in pending functional unit State, including following any one: according to opening, open or load the functional module of correspondence;According to pass Closed state, closes or is not loaded with the functional module of correspondence;According to time opening state, when reaching timing After between, open or load described pending functional module;According to timed-shutoff closed state, when reaching timing After between, close or be not loaded with described pending functional module.
In the embodiment of the present invention, described switch file also including, version information, described method also include: When version information and the version of this functional unit in described switch file that pending functional unit detected When information is inconsistent, the functional unit that in lower load switch file, version information is corresponding, and update the merit of this locality Can assembly.
Accordingly, present invention also offers the processing method of a kind of functional unit, including:
Receiving the startup mark of self terminal, the described mark that starts is for identifying the event that software starts;
Switch file is obtained according to the described mark that starts;
Described switch file is sent to this terminal.
In the embodiment of the present invention, also include the generation method switching file: according to needing function mould to be processed Block, arranges the module id of pending functional module;According to the process operation to pending functional module, The status indicator of described pending functional module is set.
In the embodiment of the present invention, it would be desirable to the assembly mark of the functional unit belonging to the functional module of process sets It is set to the assembly mark of pending functional unit.
Accordingly, present invention also offers the processing method of a kind of functional unit, including:
Terminal sends to start and identifies to server, and wherein, the described mark that starts is for identifying what software started Event;
Described server receives the described startup mark from described terminal;
Described server obtains switch file according to the described mark that starts;
Described server sends described switch file to this terminal;
Described terminal obtains described server according to starting the switch file that mark returns;
Described terminal, according to described switch file, determines pending functional module in pending functional unit State.
Accordingly, present invention also offers the processing means of a kind of functional unit, including:
Sending module, is suitable to send startup and identifies to server, and wherein, described startup mark is used for identifying The event that software starts;
Acquisition module, is suitable to obtain server according to starting the switch file that mark returns;
State determining module, is suitable to, according to described switch file, determine in pending functional unit pending The state of functional module.
In the embodiment of the present invention, described switch file includes pending functional module in pending functional unit Module id and status indicator.
In the embodiment of the present invention, described state determining module, including: first determines submodule, is suitable to root Pending functional module is determined according to the module id of pending functional module in switch file;Second determines Submodule, is suitable to determine pending function according to the status indicator of pending functional module in switch file The state of module.
In the embodiment of the present invention, wherein said switch file also includes the assembly mark of pending functional unit Know;Described state determining module, also includes: the 3rd determines submodule, is suitable to treat according in switch file The assembly mark processing functional unit determines pending functional unit.
In the embodiment of the present invention, described state includes following any one: open, close, time opening and Timing is closed;Described state determining module, is suitable to, according to described switch file, determine pending function group The state of pending functional module in part, including following any one: according to opening, opens or loads Corresponding functional module;According to closed mode, close or be not loaded with the functional module of correspondence;According to timing Opening, after reaching timing, opens or loads described pending functional module;According to timing Closed mode, after reaching timing, closes or is not loaded with described pending functional module.
In the embodiment of the present invention, described switch file also including, version information, described device also include: More new module, is suitable to when version information and this merit in described switch file pending functional unit being detected When the version information of energy assembly is inconsistent, the functional unit that in lower load switch file, version information is corresponding, and Update local functional unit.
Accordingly, a kind of server that the present invention also provides for, including:
Receiver module, is suitable to receive the startup mark of self terminal, and wherein, described startup mark is used for marking Know the event that software starts;
Acquisition module, is suitable to obtain switch file according to the described mark that starts;
Sending module, is suitable to send described switch file to this terminal.
In the embodiment of the present invention, described server also includes: file generating module, is used for generating switch File, described file generating module includes: first arranges submodule, is suitable to according to needing function to be processed Module, arranges the module id of pending functional module;Second arranges submodule, is suitable to according to treating place The process operation of reason functional module, arranges the status indicator of described pending functional module.
In the embodiment of the present invention, described file generating module, also include: the 3rd arranges submodule, is suitable to The assembly mark of the functional unit needed belonging to functional module to be processed is set to pending functional unit Assembly mark.
Compared with prior art, the present invention includes advantages below:
First, the present invention can obtain switch file from server, and then according to described switch file, Determine the state of pending functional module in pending functional unit.If certain functional module occurs in software Problem, it is possible to being configured the state of this functional module by switch file, method is flexible and changeable. And when using software, do not have and cause the collapse of software, nothing due to the problem of this functional module The situation that method is run, from without producing impact to the use of user.
Secondly, the present invention switchs file and includes the module of pending functional module in pending functional unit Mark and status indicator, it is also possible to include the assembly mark of pending functional unit, by above-mentioned assembly Mark, module id and status indicator, in that context it may be convenient to select pending functional unit, pending function Module and corresponding state, such that it is able to determine pending merit in pending functional unit quickly, flexibly The state of energy module, and accelerate the toggle speed of software.
Again, in prior art, the functional module that each functional unit is comprised be install software time just Configure, together with software binding, can start along with the startup of software.Heretofore described shape State includes opening and closing, it is also possible to include that time opening or timing are closed, therefore can be true by state Whether fixed pending functional module loads, and when loads, or when closedown etc..Such that it is able to realize treating Processing the control of functional module so that it is do not interfere with the operation of software, method is very flexible, and can To accelerate the toggle speed of software.
Again, in prior art, each functional unit and the functional module wherein comprised can hoist with software one Level, therefore the updating speed of usual software is slow.And breaker in middle file of the present invention also includes that version is believed Breath, if detecting version information and the version of this functional unit in described switch file of pending functional unit This information is inconsistent, can descend the functional unit that in load switch file, version information is corresponding, and update this locality Functional unit.During so that pending functional module needs to update in software, can be quickly from clothes Obtaining, in business device, the pending functional module that described version information is corresponding, update method is flexible, quick, joint Save time.
Accompanying drawing explanation
Fig. 1 is the process flow figure of end side functional unit described in the embodiment of the present invention;
Fig. 2 is the process flow figure of server side functional unit described in the embodiment of the present invention;
Fig. 3 is content distributing network schematic diagram described in alternative embodiment of the present invention;
Fig. 4 is the overall flow figure of the processing method of a kind of functional unit described in the embodiment of the present invention;
Fig. 5 is the processing system structure chart of a kind of functional unit described in the embodiment of the present invention;
Fig. 6 is the place of functional unit in the processing system of a kind of functional unit described in alternative embodiment of the present invention Reason structure drawing of device;
Fig. 7 is the structure chart of server in the processing system of a kind of functional unit described in the embodiment of the present invention.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from The present invention is further detailed explanation with detailed description of the invention.
Terminal comprises various all kinds of software, and each function of software is by corresponding functional unit Realizing, each functional unit can include again multiple functional module.Software on startup, can pass through Functional unit loads each functional module, but, the functional module that functional unit is loaded is soft in installation The most it is configured before part, i.e. software installation kit has been configured with the function that each functional unit is comprised Module, it will start along with the startup of software.
Now, if certain functional module there is a problem in software, user is using this function mould of software During block, software there will be collapse, the situation that cannot run, and large effect is compared in the use generation to user. Particularly, in software, the problem of functional module is typically general character, and the most all users are using this software During this functional module, software crash, the problem that cannot run all can occur, the problem of a functional module, Its user of all uses can be produced impact.
It addition, the functional module that each functional unit is comprised just configures well when installing software, i.e. Together with software binding, it is impossible to being controlled the functional module of functional unit, motility is compared Low.
Therefore, the present invention proposes the processing method of a kind of functional unit, can be to function each in functional unit Module carries out flexible and changeable control.
With reference to Fig. 1, give the process flow figure of end side functional unit described in the embodiment of the present invention.
Step S110, sends and starts mark to server;
The present invention is prefixed switch file, is suitable to control pending functional module in pending functional unit State, described pending functional module refers to some merit carrying out processing in software for some reason The functional module of energy assembly, described pending functional unit is the function group belonging to pending functional module Part.Described reason such as certain functional module occurs in that leak can cause system crash, and for example this functional module Leak is the most repaired to be completed, and therefore server can be according to above-mentioned different reason, differently configured switch File so that in pending functional unit, pending functional module is in corresponding state.
Wherein, the described mark that starts is for identifying the event that software starts, after i.e. in terminal, software starts, Can have been started up by starting this software of identification notification server, described startup mark can be by sending out Sending request, the method such as event triggering realizes sending, and this is not limited by the present invention.Described startup mark can With relevant informations such as the title of software including being currently up, mark, version informations.
Then, server receives startup mark, after the event that i.e. software starts, can check whether to deposit At the switch file of this software, if existing, then return described switch file.
Step S120, obtains server according to starting mark Returning switch file;
By foregoing, when server receives startup mark, and view the switch of this software After file, can be with Returning switch file, then in counterpart terminal, this software can receive switch file.
Step S130, according to described switch file, determines pending function mould in pending functional unit The state of block.
Software receipt to switch file after, pending functional unit can be determined according to described switch file In the state of pending functional module so that software is on startup, pending according to corresponding state configuration Pending functional module in functional unit.
In sum, the present invention can obtain switch file from server, and then according to described switch literary composition Part, determines the state of pending functional module in pending functional unit.If certain functional module in software There is a problem, it is possible to being configured the state of this functional module by switch file, method is flexible Changeable.And when using software, do not have and cause collapsing of software due to the problem of this functional module The situation burst, cannot run, from without producing impact to the use of user.
Optionally, described switch file includes: the module of pending functional module in pending functional unit Mark and status indicator.
Owing to the functional module in functional unit usually contains multiple, therefore the present invention is provided with module mark Know, be used for distinguishing each functional module.Described module id can be numeral numbering, such as 1,2 ...; Can also be based on function to be defined, if functional unit is game component, the most each functional module is probably The shortcut of each game, the module id being defined according to function includes bird, fish etc., therefore originally Invention does not limits for module id, as long as described module id can distinguish each module.This Also include status indicator in bright, be suitable to the state of identification function module.
Therefore, described switch file includes the module id of pending functional module in pending functional unit And status indicator.
Then in above-mentioned steps, according to described switch file, determine pending function in pending functional unit The state of module, including:
Pending functional module is determined according to the module id of pending functional module in switch file;Root The state of pending functional module is determined according to the status indicator of pending functional module in switch file.
The module mark of pending functional module in pending functional unit then can be obtained by switch file Know, further by the module id of described pending functional module, the pending function mould in place can be identified Block.Then the state mark of pending functional module in pending functional unit can be obtained by switch file Know, further by the status indicator of described pending functional module, it may be determined that pending functional module State.
Optionally, described switch file also includes the assembly mark of pending functional unit;
Functional unit in software also has a lot of, and therefore the present invention is provided with assembly mark to distinguish difference Functional unit.The setting such as module id of described assembly mark, here is omitted.Therefore, switch File also includes the assembly mark of pending functional unit.
Therefore, according to described switch file, determine the shape of pending functional module in pending functional unit State includes: determine pending function group according to the assembly mark of pending functional unit in switch file Part.
The assembly that can be obtained pending functional unit by switch file is identified, further by described group Part mark may determine that pending functional unit.
In sum, the present invention switchs file and includes pending functional module in pending functional unit Module id and status indicator, it is also possible to include the assembly mark of pending functional unit, by above-mentioned Assembly mark, module id and status indicator, in that context it may be convenient to select pending functional unit, pending Functional module and corresponding state, such that it is able to determine in pending functional unit quickly, flexibly and wait to locate The state of reason functional module, and increase the toggle speed of software.
Optionally, described state includes: open and close;According to described switch file, determine pending The state of pending functional module in functional unit, including opening according to unlatching/closed mode/close or adding Carry/be not loaded with the functional module of correspondence.
When in software, certain functional module goes wrong, in order to avoid it produces impact to the operation of software, can So that this functional module is closed so that during running software, this functional module is not run;In this functional module After problem is repaired, this functional module can be reopened.Therefore, the state of pending functional module includes Open and close.
After receiving switch file, according to opening, open or load the functional module of correspondence, even State for opening, then can load or open the pending function of described pending functional unit in software Module.According to closed mode, close or be not loaded with the functional module of correspondence, even state for closing, then Can be not loaded with or close the pending functional module of described pending functional unit in software.
Optionally, described state also includes: time opening and timing are closed,
According to described switch file, determine the state of pending functional module in pending functional unit, also Including: according to time opening state, after reaching timing, open or load described pending function Module;According to timed-shutoff closed state, after reaching timing, close or be not loaded with described pending merit Can module.
In the present invention, described state can also include that time opening and timing are closed.Find certain in software When functional module goes wrong, this functional module in software can be closed;The problem of this functional module is repaiied After Fu, this functional module can be reopened.But, it is sometimes found that may during problem in functional module Will not immediately treat, such as, allow this functional module run a period of time to check its impact brought, therefore The state of pending functional module can be set to timing close.Sometimes, it is also possible to by pending function The state of module is set to time opening, such as, it is contemplated that the completeest debatable reparation, then may be used With after one hour or the longer time is then turned on pending functional module.
After receiving switch file, if state is time opening, then after reaching timing, Ke Yi Software loads or opens the pending functional module of described pending functional unit;If state is timed-shutoff Close, then, after reaching timing, can be not loaded with or close described pending functional unit in software Pending functional module.
In sum, in prior art, the functional module that each functional unit is comprised is to install software Time just configure, together with software binding, understand and start along with the startup of software.Institute in the present invention The state of stating includes opening and closing, it is also possible to includes that time opening or timing are closed, therefore can pass through shape State determines that whether pending functional module loads, and when loads, or when closedown etc..Such that it is able to realize Control to pending functional module so that it is do not interfere with the operation of software, method is very flexible, and And the toggle speed of software can be accelerated.
Optionally, also including version information in described switch file, described method also includes: work as detection In the version information of pending functional unit, with described switch file, the version information of this functional unit is not Time consistent, the functional unit that in lower load switch file, version information is corresponding, and update the functional unit of this locality.
Due to the change of each side such as software function, outward appearance, and to be usually updated.If therefore software Functional unit is updated, can carry out detecting to determine the need for updating merit by switch file Can assembly.Therefore, it can configuration version information in switch file, described version information is to treat in software Process the version information of functional unit, now, software needs the functional unit being updated can claim For pending functional unit.
After getting switch file, version information can be got, thus detect pending functional unit Version information is the most consistent with the version information of this pending functional unit in described switch file: if one Cause, then in explanation software, pending functional unit has been updated over complete;If it is inconsistent, then in explanation software Pending functional unit needs to be updated, such that it is able in lower load switch file, version is believed from server The functional unit that breath is corresponding, is then updated this pending functional unit in software.In being embodied as Can be carried out after the download is complete updating operation, it is also possible to be updated when next time opens software, this This is not limited by invention.
In sum, in prior art, each functional unit and the functional module wherein comprised can be with softwares one Playing upgrading, therefore the updating speed of usual software is slow.And breaker in middle file of the present invention includes version Information, during so that pending functional module needs to update in software, can be quickly from server Obtaining the pending functional module that described version information is corresponding, update method is flexible, quick, time-consuming.
Optionally, described status indicator is preset banner word segment value, and a banner word segment value is the most corresponding A kind of state of functional module.
In being embodied as, Status Flag of the present invention can be preset banner word segment value, a mark A kind of state of character learning segment value unique corresponding function module.Such as, using flag value, described flag value is The special mark that in computer, special data makes marks, can be the special character of 8bit.For example, it is possible to Configuration flag=0 is closedown, flag=1 is unlatching, flag=2 is time opening for timing closedown and flag=3 Deng.
A kind of method in being embodied as is, software, can be by preset when getting banner word segment value Judgement statement judge, so that it is determined that the state of pending functional module in pending functional unit.
A configuration file can also be configured the most in software in being embodied as, can in described configuration file To limit which status indicator which kind of state corresponding, thus after obtaining status indicator, can be by described The state of pending functional module in the corresponding pending functional unit of this status indicator of configuration file identification.
Prior art comprises the recognition methods of various states mark, herein for enumerating, should not be understood For being limitation of the present invention.
Optionally, the method obtaining switch file from server has multiple, and one of which method is to pass through Content distributing network obtains.The introduction of content distributing network sees content hereinafter.
With reference to Fig. 2, give the process flow of server side functional unit described in the embodiment of the present invention Figure.
Accordingly, present invention also offers the processing method of a kind of functional unit, including:
Step S210, receives the startup mark of self terminal;
In terminal, software can notify server when opening, and i.e. sends startup and identifies to server, then services Device correspondence can receive the startup mark of self terminal, and wherein, described startup mark is used for identifying software The event started.
Described startup mark can include that the title of software being currently up, mark, version information etc. are correlated with Information.Step S220, obtains switch file according to the described mark that starts;
Owing to the software category that server is corresponding has multiple, each software there is also multiple different version This, then corresponding pending functional unit and pending functional module are likely to difference.Accordingly, it would be desirable to it is logical Cross startup mark to determine that described software is that software, the version of this software, so that it is determined that this software institute State the switch file of correspondence, and then obtain the switch file that described request is corresponding.
Step S230, sends described switch file to this terminal.
After getting switch file, it is possible to return described switch file to described terminal.
In sum, server of the present invention is configured with switch file, therefore can be received from terminal Startup mark to switch file, and return the switch file of correspondence so that SS later can be by opening Close the state of pending functional module in the pending functional unit of file configuration.Thus do not have due to this The problem of functional module and cause the collapse of software, the situation that cannot run, method is flexible and changeable.
With reference to Fig. 3, give content distributing network schematic diagram described in alternative embodiment of the present invention.
Optionally, described switch file is sent by content distributing network to this terminal.
The present invention uses CDN(Content Delivery Network, content distributing network), in CDN The corresponding multiple terminals of one server, be by place that node server constituted everywhere at network existing One layer of intelligent virtual network on some Internet basics, CDN system can be in real time according to network Flow and the connection of each node, load state and will to integrated informations such as the distance of user and response times The request of user is re-directed on the service node that user is nearest.
Pass through content distributing network so that terminal can be by obtaining switch literary composition on nearest service node Part, thus improve the speed of download of file.
Optionally, also include switch file generation method:
According to needing functional module to be processed, the module id of pending functional module is set;According to treating Process the process operation of functional module, the status indicator of described pending functional module is set.
Server end is configured with switch file, and therefore server end also includes the generation method switching file, First determine functional module to be processed in software, be set to pending functional module, then treat described in acquisition Process the module id of functional module.Next step determines that the process to described pending functional module is grasped again Make, such as, open, close, time opening or timing are closed, and arrange the shape of described pending functional module State identifies, and then described module id and described status indicator is collectively formed switch file.
Preferably, it would be desirable to the mark of the functional unit belonging to the functional module of process is set to pending merit The mark of energy assembly.
Switch file also needs to determine the functional unit belonging to pending functional module, the most pending function Assembly, the assembly mark that can obtain correspondence after determining pending functional unit is added in switch file.
Optionally, terminal can also send procotol multicast asks to server, and server receives and arrives After the described procotol multicast request of self terminal, server can be set up and connect to the multicast between terminal Connect.
The present invention can use the method for IP multicast (IP multicasting), and it is to hardware multicast Abstract, it is the extension to standard IP network layer protocol.It, by using specific IP multicast address, is pressed The principle delivered according to maximum, is transferred to a multicast group (multicast group) by IP packet Host complexes.Its basic skills is: when a certain user sends data to one group of user, it is not necessary to often One user sends data, only need to transmit data to the group address of a specific reservation, all adds Enter this group with receiving this number evidence per family.So for sender, data only need to send once Just can be sent to all recipients, significantly reduce the load of network and the burden of sender.
Therefore in the present invention, can according to the IP multicast request (i.e. procotol multicast request) of terminal, Then can set up server according to described IP multicast request to connect to the multicast between terminal, will switch File is sent in terminal timely.
In being embodied as, in order to not affect other processes or the work of thread in software, one can be arranged Network thread, communicates with server after browser is opened, and sends IP multicast request, sets up group Broadcast connection, just can quickly obtain switch file with regard to terminal by multicast group, and decrease service The burden of device.
Software of the present invention is a series of computer data according to particular order tissue and instruction Set, such as browser, MSN etc..
Below, in conjunction with the processing method of functional unit in end side and server side, the place of entirety is given Reason method, specific as follows:
With reference to Fig. 4, give the bulk flow of the processing method of a kind of functional unit described in the embodiment of the present invention Cheng Tu.
S410 terminal can send when the software in being installed on terminal starts to start and identify to server, its In, the described mark that starts is for identifying the event that software starts.
S420 server can receive the startup mark coming from terminal.
S430 server obtains switch file according to the described mark that starts.
S440 server can send switch file to terminal.
S450 terminal obtains switch file.
S460 terminal, according to described switch file, determines pending functional module in pending functional unit State.
Owing to, in overall processing method, the detail content of the processing method of end side and server side is with upper Articles and opinions are stated basically identical, and therefore here is omitted.
With reference to Fig. 5, give the processing system structure chart of a kind of functional unit described in the embodiment of the present invention.
Accordingly, present invention also offers the processing system of a kind of functional unit, including server 1 and end End 2.
Described terminal 2 includes that the processing means 21 of functional unit, described function treatment device 21 include:
Sending module 211, is suitable to send startup and identifies to server 1, and wherein, the described mark that starts is used In the event that mark software starts;
Acquisition module 212, is suitable to obtain server 1 according to starting the switch file that mark returns;
State determining module 213, is suitable to, according to described switch file, determine in pending functional unit and treat Process the state of functional module.
Described server 1, including:
Receiver module 11, is suitable to receive the startup mark of self terminal 2;
Acquisition module 12, is suitable to obtain switch file according to the described mark that starts;
Sending module 13, is suitable to send described switch file to this terminal 2.
With reference to Fig. 6, give merit in the processing system of a kind of functional unit described in alternative embodiment of the present invention The processing means structure chart of energy assembly.
Optionally, described switch file includes the module mark of pending functional module in pending functional unit Know and status indicator.
The most described state determining module 213 includes:
First determines submodule 2131, is suitable to according to the module id of pending functional module in switch file Determine pending functional module;
Second determines submodule 2132, is suitable to determine pending function according to status indicator in switch file The state of module.
Optionally, described switch file also includes the assembly mark of pending functional unit;
Described state determining module 213 includes:
3rd determines submodule 2133, is suitable to according to the assembly mark of pending functional unit in switch file Determine pending functional unit.
Optionally, described state includes following any one: open, timeing closing opens and timing is closed; Described state determining module 213, is suitable to, according to described switch file, determine in pending functional unit and treat Process the state of functional module, including following any one: open according to opening or load corresponding merit Can module;According to closed mode, close or be not loaded with the functional module of correspondence;According to time opening state, After reaching timing, open or load described pending functional module;According to timed-shutoff closed state, After reaching timing, close or be not loaded with described pending functional module..
Optionally, described switch file also includes version information, the processing means 21 of described functional unit Also include:
More new module 214, is suitable to when the version information pending functional unit being detected, with described switch When in file, the version information of this functional unit is inconsistent, the merit that in lower load switch file, version information is corresponding Energy assembly, and update the functional unit of this locality.
Optionally, described status indicator is preset banner word segment value, and a banner word segment value is the most corresponding A kind of state of functional module.
Optionally, the method switching file in server that obtains is for obtain by content distributing network 's.
With reference to Fig. 7, give server in the processing system of a kind of functional unit described in the embodiment of the present invention Structure chart.
Optionally, described server 1 sends described switch file by content distributing network to this terminal.
Described server includes the reception mould that in Fig. 4, in the processing system of functional unit, server 1 is comprised Block 11, acquisition module 12 and sending module 13;Further, described server also includes: file Generation module 10, including:
First arranges submodule 101, is suitable to, according to needing functional module to be processed, arrange pending function The module id of module;
Second arranges submodule 102, is suitable to, according to the process operation to pending functional module, arrange institute State the status indicator of pending functional module.
3rd arranges submodule 103, is suitable to the group of the functional unit needed belonging to functional module to be processed Part mark is set to the assembly mark of pending functional unit.
Optionally, described server 1 also includes:
Link block, is suitable to receive the procotol multicast request of self terminal, and described network protocol suite Broadcast request, set up server and connect to the multicast between terminal.
Accordingly, present invention also offers the processing means of a kind of functional unit, including:
Sending module, is suitable to send startup and identifies to server, and wherein, described startup mark is used for identifying The event that software starts;
Acquisition module, is suitable to obtain server according to starting the switch file that mark returns;
State determining module, is suitable to, according to described switch file, determine in pending functional unit pending The state of functional module.
Functional unit in the processing means of described functional unit, with terminal in the processing system of functional unit Processing means basically identical, here is omitted.
Accordingly, present invention also offers a kind of server, including:
Receiver module, is suitable to receive the startup mark of self terminal, and wherein, described startup mark is used for marking Know the event that software starts;
Acquisition module, is suitable to obtain switch file according to the described mark that starts;
Sending module, is suitable to send described switch file to this terminal.
Described server, basically identical with server in the processing system of functional unit, here is omitted.
For system embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually ?.
Those skilled in the art it should be appreciated that embodiments of the invention can be provided as method, system or Computer program.Therefore, the present invention can use complete hardware embodiment, complete software implementation, Or combine the form of embodiment in terms of software and hardware.And, the present invention can use one or more The computer-usable storage medium wherein including computer usable program code (includes but not limited to disk Memorizer, CD-ROM, optical memory etc.) form of the upper computer program implemented.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know Basic creative concept, then can make other change and amendment to these embodiments.So, appended power Profit requires to be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that flow process can be realized by computer program instructions Stream in each flow process in figure and/or block diagram and/or square frame and flow chart and/or block diagram Journey and/or the combination of square frame.These computer program instructions can be provided to general purpose computer, dedicated computing The processor of machine, Embedded Processor or other programmable data processing device, to produce a machine, makes Must be produced by the instruction that the processor of computer or other programmable data processing device performs and be suitable to reality Now one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame are specified The device of function.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process In the computer-readable memory that equipment works in a specific way so that be stored in the storage of this computer-readable Instruction in device produces the manufacture including command device, and this command device realizes in one flow process of flow chart Or the function specified in multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, Make on computer or other programmable devices, perform sequence of operations step to realize to produce computer Process, thus on computer or other programmable devices perform instruction provide be suitable for implementation in flow process The function specified in one flow process of figure or multiple flow process and/or one square frame of block diagram or multiple square frame Step.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires Or imply relation or the order that there is any this reality between these entities or operation.And, art Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that Must include that the process of a series of key element, method, commodity or equipment not only include those key elements, but also Including other key elements being not expressly set out, or also include for this process, method, commodity or The key element that equipment is intrinsic.In the case of there is no more restriction, statement " including ... " limit Fixed key element, it is not excluded that there is also in including the process of described key element, method, commodity or equipment Other identical element.
Process to the processing method of functional unit provided by the present invention, a kind of functional unit fills above Put, a kind of server, and the processing system of a kind of functional unit, be described in detail, herein Apply specific case principle and the embodiment of the present invention are set forth, the explanation of above example It is suitable only for helping to understand method and the core concept thereof of the present invention;General skill simultaneously for this area Art personnel, according to the thought of the present invention, the most all will change, In sum, this specification content should not be construed as limitation of the present invention.

Claims (17)

1. a processing method for functional unit, including:
When software is opened, sending startup and identify to server, wherein, described startup mark is used for identifying The event that software starts;
Obtaining the switch file that server returns according to startup mark, wherein, described switch file includes treating Process module id and the status indicator of pending functional module in functional unit;
According to described switch file, determine the state of pending functional module in pending functional unit;
Pending functional module in described pending functional unit is configured according to corresponding state.
2. the method for claim 1, wherein according to described switch file, determines pending merit In energy assembly, the state of pending functional module includes:
Pending functional module is determined according to the module id of pending functional module in switch file;
Pending functional module is determined according to the status indicator of pending functional module in switch file State.
3. the method for claim 1, also includes pending function in wherein said switch file The assembly mark of assembly;
According to described switch file, determine the state bag of pending functional module in pending functional unit Include: determine pending functional unit according to the assembly mark of pending functional unit in switch file.
4. the method for claim 1, described state includes following any one: open, close, Time opening and timing are closed;
According to described switch file, determine the state of pending functional module in pending functional unit, bag Include following any one:
According to opening, open or load the functional module of correspondence;
According to closed mode, close or be not loaded with the functional module of correspondence;
According to time opening state, after reaching timing, open or load described pending function mould Block;
According to timed-shutoff closed state, after reaching timing, close or be not loaded with described pending function Module.
5. the method for claim 1, also includes version information in described switch file, described Method also include:
When version information and this functional unit in described switch file that pending functional unit detected When version information is inconsistent, the functional unit that in lower load switch file, version information is corresponding, and update this locality Functional unit.
6. a processing method for functional unit, including:
When software is opened, receiving the startup mark of self terminal, described startup mark is used for identifying software The event started;
Switch file is obtained according to the described mark that starts;
Send described switch file to this terminal, wait to locate so that described terminal determines according to described switch file The state of pending functional module in reason functional unit, and configure in described pending functional unit pending Functional module.
7. method as claimed in claim 6, also includes the generation method switching file:
According to needing functional module to be processed, the module id of pending functional module is set;
According to the process operation to pending functional module, the state mark of described pending functional module is set Know.
8. method as claimed in claim 7, also includes:
The assembly mark of the functional unit needed belonging to functional module to be processed is set to pending function The assembly mark of assembly.
9. a processing method for functional unit, including:
When software is opened, terminal sends to start and identifies to server, and wherein, described startup mark is used for The event that mark software starts;
Described server receives the described startup mark from described terminal;
Described server obtains switch file according to the described mark that starts;
Described server sends described switch file to this terminal;
Described terminal obtains described server according to starting the switch file that mark returns;
Described terminal, according to described switch file, determines pending functional module in pending functional unit State, configures pending functional module in pending functional unit according to corresponding state.
10. a processing means for functional unit, including:
Sending module, is suitable to when software is opened, send start mark to server, wherein, described in open Dynamic mark is for identifying the event that software starts;
Acquisition module, is suitable to obtain the switch file that server returns according to startup mark, wherein, described Switch file includes module id and the status indicator of pending functional module in pending functional unit;
State determining module, is suitable to, according to described switch file, determine in pending functional unit pending The state of functional module, configures pending functional module in pending functional unit according to corresponding state.
11. devices as claimed in claim 10, described state determining module, including:
First determines submodule, is suitable to come really according to the module id of pending functional module in switch file Fixed pending functional module;
Second determines submodule, is suitable to come really according to the status indicator of pending functional module in switch file The state of fixed pending functional module.
12. devices as claimed in claim 10, also include pending function in wherein said switch file The assembly mark of assembly;Described state determining module, also includes:
3rd determines submodule, is suitable to come really according to the assembly mark of pending functional unit in switch file Fixed pending functional unit.
13. devices as claimed in claim 10, described state includes following any one: opens, close Close, time opening and timing close;
Described state determining module, is suitable to, according to described switch file, determine in pending functional unit and treat Process the state of functional module, including following any one: according to opening, open or load correspondence Functional module;According to closed mode, close or be not loaded with the functional module of correspondence;According to time opening shape State, after reaching timing, opens or loads described pending functional module;Shape is closed according to timing State, after reaching timing, closes or is not loaded with described pending functional module.
14. devices as claimed in claim 10, also include version information, institute in described switch file The device stated also includes:
More new module, is suitable to when in the version information pending functional unit being detected and described switch file When the version information of this functional unit is inconsistent, the function group that in lower load switch file, version information is corresponding Part, and update the functional unit of this locality.
15. 1 kinds of servers, including:
Receiver module, is suitable to when software is opened, and receives the startup mark of self terminal, wherein, described Start mark for identifying the event that software starts;
Acquisition module, is suitable to obtain switch file according to the described mark that starts;
Sending module, is suitable to send described switch file to this terminal, so that opening described in described terminal foundation Close file and determine the state of pending functional module in pending functional unit, and configure described pending merit Pending functional module in energy assembly.
16. servers as claimed in claim 15, also include: file generating module, are used for generating Switch file, described file generating module includes:
First arranges submodule, is suitable to, according to needing functional module to be processed, arrange pending functional module Module id;
Second arranges submodule, is suitable to operate according to the process of pending functional module, arrange described in treat Process the status indicator of functional module.
17. servers as claimed in claim 16, described file generating module, also include:
3rd arranges submodule, is suitable to the assembly mark of the functional unit needed belonging to functional module to be processed Know the assembly mark being set to pending functional unit.
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 CN102929661A (en) 2013-02-13
CN102929661B true 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)

Families Citing this family (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
CN108681471B (en) * 2018-05-15 2022-03-08 北京五八信息技术有限公司 Application program control method and device, electronic equipment and readable storage medium
CN109067809B (en) * 2018-10-18 2021-08-13 深信服科技股份有限公司 Authority configuration method, device, equipment and storage medium of security component
CN112114988B (en) * 2019-06-21 2023-03-31 顺丰科技有限公司 Client starting method, device, terminal and storage medium
CN113259468B (en) * 2021-06-02 2021-09-21 新华三智能终端有限公司 Network equipment configuration method and device

Citations (4)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141926A (en) * 2011-03-10 2011-08-03 深圳创维数字技术股份有限公司 Application program management method, device and digital television set top box

Patent Citations (4)

* 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

Also Published As

Publication number Publication date
CN102929661A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102929661B (en) The processing method of a kind of functional unit, device and server
CN104965691B (en) The method, apparatus and system of the page elements of the configuration webpage page
CN104915224B (en) A kind of processing method and processing device of affiliate application
CN105897947B (en) The Network Access Method and device of mobile terminal
CN102946343A (en) Method and system for accessing virtual rooms of audio and video communities
CN102902579B (en) Processing system for functional assembly
CN104809816B (en) Pickup processing method, pickup perform method, pickup method and apparatus and system
CN104268166A (en) Input method, device and electronic device
CN106453216A (en) Malicious website interception method, malicious website interception device and client
US9680719B2 (en) Communication system, client terminal, and server
CN105792002B (en) Video Rendering method and device
CN105094278B (en) A kind of information processing method and device
CN104503995A (en) Realization method and device for input method
CN105635200A (en) Information processing method, electronic equipment, server and information processing system
CN104793984B (en) A kind of modeling method of equipment, device and cloud platform
CN104363261B (en) Information-pushing method, device and server
CN105490913B (en) Instant message processing method and device
CN108182090A (en) Flash plug-in loading methods and device based on blink kernels
CN101674205A (en) Method and device for generating network communication protocol test sequence based on finite-state machine
CN107643858B (en) Information processing method, terminal and server
CN102591707A (en) Vehicle-mounted equipment and display method of background running program of vehicle-mounted equipment
CN101909311A (en) Method for testing wireless networking function of mobile phone
CN106028150B (en) More application switching management methods of TV for linux system
CN112820273B (en) Wake-up judging method and device, storage medium and electronic equipment
CN111901408B (en) Content recommendation method and device in offline state and computer program product

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

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.

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

TR01 Transfer of patent right