Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
The present invention is at the newly-increased network equipment of network side, network equipment that should be newly-increased sends to client by the Internet and comprises the parameter setting instruction that parameter is set, perhaps, comprise the parameter setting instruction that parameter is set by a client to another client transmission, here, for convenience of description, the client that sends parameter setting instruction is called the source client, the client that receives parameter setting instruction is called the destination client; After the destination client receives parameter setting instruction, carry out with parameter setting instruction in the corresponding task of parameter that is provided with that comprises.
Comprising by the source client or by the parameter setting instruction that the Internet is sent by network equipment that the destination client receives is provided with parameter, can also comprise the source client id simultaneously.For comprising the situation that parameter and source client id are set simultaneously, can parameter be set in client authority group data storehouse is set, be used to preserve and have the group information that local client is carried out the authority that parameter is provided with; Correspondingly, before the task corresponding with parameter is set carried out in the destination client, the present invention also comprises the method for carrying out the authority judgement: the destination client is provided with in parameter whether inquiry has the authority that parameter is provided with this source client id clients corresponding in the authority group data storehouse according to the source client id, if have, then carry out described destination client and carry out and the described step that the corresponding task of parameter is set, otherwise process ends.In this case, can also parameter be set in client capability database is set, be used to preserve the parameter ability that is provided with that local client has; Correspondingly, before the task corresponding with parameter is set carried out in the destination client, comprise the ability determination methods that parameter is set: the destination client is provided with in parameter whether this destination client of inquiry has and the described corresponding ability of parameter that is provided with in the capability database according to the described parameter that is provided with that parameter setting instruction comprises, if have, then carry out described destination client and carry out and the described step that the corresponding task of parameter is set, otherwise process ends.
The parameter setting instruction that receives when the destination client is during from network equipment, before the destination client receives parameter setting instruction, also comprise the processing procedure of network equipment: after network equipment receives and comprises the parameter setting instruction that parameter and destination client ID are set to parameter setting instruction, according to destination client ID, will comprise that the parameter setting instruction that parameter is set sends to the destination client.
The parameter setting instruction that network equipment receives comprise parameter and destination client are set in, can also comprise the source client id, in this case, network equipment comprises in reception parameter is set, after source client id and the destination client ID, in the group data storehouse, inquire about this source client id clients corresponding according to the source client id and whether have the authority of this destination client being carried out the parameter setting, if have, then in capability database, inquire about this destination client and whether have and the described corresponding ability of parameter that is provided with according to parameter is set, if have, judge then whether this destination client is online, if it is online, then will comprise that by the method for synchronization parameter setting instruction that parameter is set sends to the destination client, if not online, then will comprise that by asynchronous system the parameter setting instruction that parameter and source client id are set sends to the destination client.Described group data storehouse is used to preserve client and has parameter corresponding relation between the group information of authority is set.Described capability database is used to preserve client and corresponding relation between the parameter ability is set.
In the processing procedure of above-mentioned network equipment to parameter setting instruction, can not comprise that also the source client is carried out authority judges, carries out the ability judgement and to the step that online judgement is carried out in the destination client, will comprise that directly the parameter setting instruction that parameter is set sends to the destination client parameter is set.Certainly, in the processing procedure of above-mentioned network equipment to parameter setting instruction, according to actual needs, the source client is carried out authority judges, judges and online judgement is carried out in the destination client the parameter ability of carrying out is set, also can the three select one or three select its two.
Below by Fig. 1, the network equipment that the present invention relates to and the structure of client are described, this client comprises the parameter setting instruction processing module and the parameter Executive Module is set;
Described parameter setting instruction processing module is used for the reception sources client or receives the parameter setting instruction that network equipment sends by the Internet, and described parameter setting instruction comprises parameter is set, and parameter will be set send the described parameter Executive Module that is provided with to;
The described parameter Executive Module that is provided with is used to receive the parameter that is provided with that parameter is provided with the module transmission, carries out the task corresponding with parameter is set.
What alternatively, the parameter setting instruction processing module received also comprises time parameter by the source client or by network equipment by the parameter setting instruction that the Internet sends.Correspondingly, the parameter setting instruction processing module need will be provided with parameter and send to the described parameter Executive Module that is provided with when satisfying the condition of time parameter.According to different needs, this time parameter can be different conditional contents, and for example, this time parameter is provided with parameter for beginning to carry out in a certain appointment moment, and perhaps, this time parameter is only effective in the time period of appointment for carrying out the task that parameter is set, or the like.
When the parameter setting instruction of described parameter setting instruction processing module reception comprises the source client id, described parameter setting instruction processing module comprises that parameter setting instruction parsing module one, parameter are provided with authority group management module one and parameter is provided with module, and this client comprises that parameter is provided with authority group data storehouse;
Described parameter setting instruction parsing module one is used to receive and resolve and comprises the parameter setting instruction that parameter and source client id are set, and be provided with parameter and the source client id that parses sent to parameter authority group management module one is set;
Described parameter is provided with authority group management module one, be used to receive that parameter setting instruction parsing module one transmits that parameter and source client id are set, be provided with in parameter whether this source client of inquiry has the authority that parameter is provided with in the authority group data storehouse according to the source client id, if have, then will comprise the parameter setting instruction that parameter is set and send described parameter to module is set;
Described parameter is provided with authority group data storehouse, is used to preserve have the group information that parameter is provided with authority;
Described parameter is provided with module, is used for that parameter is provided with the parameter setting instruction that parameter is set that comprises that authority group management module one sends and sends the described parameter Executive Module that is provided with to.
Alternatively, this client comprises that parameter is provided with capability database;
Described parameter is provided with authority group management module one, after being further used for inquiring this source client and having the authority that parameter is provided with, be provided with in parameter whether the inquiry local client has and the described corresponding ability of parameter that is provided with in the capability database, if have, then this is comprised the parameter setting instruction that parameter is set and send to described parameter module is set;
Described parameter is provided with capability database, is used to preserve the parameter ability that is provided with that local client has.
Alternatively, this client comprises that group and parameter are provided with the ability setting module, is used for that described parameter is provided with the data that authority group data storehouse and parameter be provided with capability database and manages.Described managing comprises: parameter is provided with the parameter that has of preserving in the authority group data storehouse processing such as ID in the group of authority increases, deletion are set, to what parameter was provided with that the local client preserved in the capability database has processing such as the parameter ability increases, deletion are set.
Alternatively, this client comprises data simultaneous module, is used for described parameter is provided with the data that authority group data storehouse and parameter are provided with capability database, carries out synchronously with the data to should client that network equipment is preserved.This can periodically carry out synchronously, also can be when changing parameter and authority group data storehouse and/or parameter is set data in the capability database are set, and triggering is carried out.
Described network equipment comprises parameter setting instruction parsing module two and instruction sending module;
Described parameter setting instruction parsing module two is used to receive and resolve and comprises the parameter setting instruction that parameter and destination client ID are set, with parse parameter is set and destination client ID sends instruction sending module to;
Described instruction sending module is used to receive that parameter setting instruction parsing module two sends that parameter and destination client ID are set, and according to destination client ID, will comprise that the parameter setting instruction that parameter is set sends to the destination client.
Alternatively, the parameter setting instruction that described parameter setting instruction parsing module two receives also comprises the source client id, and described instruction sending module comprises that online judge module, synchronization parameter are provided with module and asynchronous parameters is provided with module;
Described online judge module, be used to receive that parameter setting instruction parsing module two sends that parameter, source client id and destination client ID are set, whether online according to destination client ID intercept target client, if it is online, parameter and destination client ID will be set to send to synchronization parameter module is set, if not online, parameter, source client id and destination client ID will be set send to asynchronous parameters module is set;
Described synchronization parameter is provided with module, is used to receive that online judge module sends that parameter and destination client ID are set, and according to destination client ID, will comprise that the parameter setting instruction that parameter is set sends to the destination client;
Described asynchronous parameters is provided with module, is used to receive that online judge module sends that parameter, source client id and destination client ID are set, and according to destination client ID, will comprise that the parameter setting instruction that parameter and source client id are set sends to the destination client.
The source client id that the parameter setting instruction that parameter setting instruction parsing module two receives comprises, expression sends the ID in the source of parameter setting instruction to parameter setting instruction parsing module two, the source of this ID correspondence can be any source that can send parameter setting instruction to network equipment, for example, can be a certain cell-phone customer terminal.
Alternatively, this equipment comprises that parameter is provided with authority group management module two and group data storehouse;
Described parameter is provided with the authority group management module, place between parameter setting instruction parsing module two and the online judge module, be used to receive that parameter setting instruction parsing module two sends that parameter, source client id and destination client ID are set, in the group data storehouse, inquire about this source client according to the source client id and whether have the authority of this destination client being carried out the parameter setting, if have, parameter, source client id and destination client ID then will be set send to online judge module;
Described group data storehouse is used to preserve client and has parameter corresponding relation between the group information of authority is set.
Alternatively, this equipment comprises capability database;
Described parameter is provided with authority group management module two, be further used for inquiring this source client have this destination client carried out authority that parameter is provided with after, whether this destination client of inquiry has and the described corresponding ability of parameter that is provided with in capability database, if have, parameter, source client id and destination client ID then will be set send to online judge module;
Described capability database is used to preserve client and corresponding relation between the parameter ability is set.
Described group data storehouse and described capability database can unify to place the parameter setting information database of network side.
Alternatively, this equipment comprises the network data setting module, is used for the data of described group data storehouse and described capability database are managed.Described managing comprises: to the client of preserving in the group data storehouse and have parameter processing such as corresponding relation between the group information of authority is made amendment, increased, deletion are set, parameter is provided with the client of preserving in the capability database and processing such as corresponding relation between the parameter ability is made amendment, increased, deletion are set.
That the group information of authority is set is corresponding for relevant parameters in different client ids and the group data storehouse, and that corresponding setting parameter ability is set in the capability database is corresponding with parameter.
Alternatively, this equipment comprises the network data synchronization module, is used for the data with described group data storehouse and described capability database, carries out synchronously with the corresponding data of corresponding client.This can periodically carry out synchronously, also can be when the data in changing group data storehouse and/or capability database, and triggering is carried out.
Below in conjunction with the structure of Fig. 1, the flow process by Fig. 2 and Fig. 3 describes the method that the present invention carries out the parameter setting to client.
Referring to Fig. 2, for carrying out the method flow diagram example of parameter when being provided with in destination client of the present invention, this example is that the parameter setting instruction that destination client reception sources client or network equipment send comprises the source client id, the situation of parameter and time parameter is set, and the executive condition that satisfies this time parameter is provided with parameter for constantly beginning execution in a certain appointments; And the authority judgement that parameter is provided with was both carried out to the source client in the destination client, also carried out the ability judgement that parameter is provided with to parameter is set.
The method of this example may further comprise the steps:
Step 201, parameter setting instruction parsing module one receives parameter setting instruction, resolves, and obtains the source client id and parameter is set, with the source client id obtained, parameter and time is set sends parameter to authority group management module one is set.
Step 202, parameter is provided with authority group management module one and receives source client id that parameter setting instruction parsing module one sends, parameter and time parameter are set, whether in parameter this source client of inquiry being set in the authority group data storehouse according to the source client id, to carry out the authority that parameter is provided with legal, if, then execution in step 203, otherwise, process ends.
Step 203, parameter are provided with authority group management module one and are provided with in parameter whether the inquiry local client has and the described corresponding ability of parameter that is provided with in the capability database according to parameter is set, if then execution in step 204, otherwise process ends.
Step 204, parameter are provided with authority group management module one and will comprise the parameter setting instruction that parameter and time parameter are set and send to parameter module is set.
Step 205, parameter are provided with module and judge whether current time satisfies the executive condition of time parameter, if, execution in step 206, otherwise, step 205 returned.
If parameter is provided with module and judges the executive condition that current time does not satisfy time parameter, then wait for to the executive condition that satisfies time parameter execution in step 206.
Step 206, parameter are provided with module and parameter will be set send to the parameter Executive Module is set, and the parameter Executive Module is set carries out the task corresponding with parameter is set.
So far, finish parameter setting to client.
Referring to Fig. 3, for network equipment of the present invention carries out the method flow diagram example of parameter when being provided with, in this example, suppose to comprise in the parameter setting instruction that network equipment receives parameter, source client source client id and destination client ID are set, and, this equipment carries out the authority judgement that parameter is provided with to the source client, also carries out the ability judgement that parameter is provided with to parameter is set, and also the destination client is carried out the judgement of online situation.
The method of this example may further comprise the steps:
Step 301, the parameter setting instruction parsing module two of network equipment receives parameter setting instruction, resolve, obtain parameter, source client id and destination client ID are set, be provided with parameter, source client id and the destination client ID that parses sent to parameter authority group management module two is set.
Step 302, parameter is provided with that authority group management module two receives that parameter setting instruction parsing modules two send is provided with parameter, source client id and destination client ID, inquiring about this source client according to the source client id in the group data storehouse, whether the authority that parameter is provided with is carried out in this destination client legal, if, then execution in step 303, otherwise, process ends.
Whether step 303, parameter are provided with authority group management module two and inquire about this destination client have and the described corresponding ability of parameter that is provided with in capability database according to parameter is set, if then execution in step 304, otherwise process ends.
Step 304, parameter are provided with authority group management module two and parameter, source client id and destination client ID will be set send online judge module to.
Step 305, whether online judge module intercept target client is online, if then execution in step 306, otherwise execution in step 307.
Step 306, online judge module will be provided with parameter and destination client ID and send to synchronization parameter module is set, synchronization parameter is provided with module according to destination client ID, to comprise the information channel of parameter setting instruction that parameter is set, send to the destination client by synchronous communication mode by having set up.
Step 307, online judge module will be provided with parameter, source client id and destination client ID and send to asynchronous parameters module is set, asynchronous parameters is provided with module according to destination client ID, will comprise that by asynchronous communication model the parameter setting instruction that parameter and source client id are set sends to the destination client.
Because the destination client is current not online, in the step 302 to the judgement of source client authority only current effectively, and current time to the destination client the online moment during this period of time in, the parameter of destination client is provided with having the group information that parameter is provided with authority and may changing of preserving in the authority group data storehouse, therefore, asynchronous parameters is provided with in the parameter setting instruction that module sends to the destination client and comprises the source client id in this step, is used for online back, destination client the source client is carried out the judgement that parameter is provided with authority.
The present invention does not do concrete the qualification to the form that is sent to the parameter setting instruction of destination client by destination client, source or the Internet, for example can be SMS etc.
In the present invention program, destination client reception sources client sends comprises the parameter setting instruction that parameter is set, and carries out and the described corresponding task of parameter that is provided with; Perhaps, by the parameter setting instruction that parameter is set that comprises of the Internet reception network equipment transmission, carry out and the described corresponding task of parameter that is provided with.Thereby, realized carrying out the parameter setting between the client mutually, perhaps client is carried out the parameter setting by the Internet.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.