Embodiment
The embodiment of the invention provides a kind of method for processing user configuration information and service report system, is used for the efficient that the raising system handles user configuration information.
Service report system is received from the system management termination and is comprised user profile in the embodiment of the invention, the tables of data of operating right information and data permission information, according to the data in this tables of data user's relevant configuration information being carried out mass handles, simultaneously for the system management end, user profile, operating right information and data permission information are included in the same tables of data, so do not need to switch to other tables of data carrying out different operations, and then improved the efficient that user configuration information is handled.
Describe with instantiation below, corresponding in the example below with the special case of user security configuration information as user configuration information, describe with a kind of situation of template rights information as data permission information:
The process that user configuration information is handled in the embodiment of the invention is divided into two aspects, is introduced respectively below, in the present embodiment:
One, download user configuration information:
See also Fig. 1, method for processing user configuration information first embodiment comprises in the embodiment of the invention:
101, obtain user profile, operating right information and data permission information;
In the present embodiment, when the system management end need carry out Business Processing, send the Business Processing instruction to service report system, service report system obtains this Business Processing instruction user information corresponding, operating right information and data permission information from security information database.
In the present embodiment, the system management end can provide operation interface to the keeper, when for example the keeper presses " download system security configuration " button, then the system management end identifies administrator request and carries out Business Processing, then can send the Business Processing instruction to service report system, the requested service reporting system provides the associated user configuration information.
Operating right is meant which type of operation which user can carry out in the present embodiment; Data permission is meant which template which user have the right to use generate form, may other the definition of operating right and data rights existence not limited concrete definition and the content that comprises in the embodiment of the invention in the concrete business.
102, generate a list item;
According to the user profile that gets access to, operating right information and data permission information generate a list item, and the step of concrete generation list item can comprise following dual mode:
A, the direct information that gets access to of using generate list item:
Service report system at first obtains the tables of data template that presets;
Certain user profile that next will get access to, the operating right information of this user profile correspondence and the data permission information of this user profile correspondence are inserted each corresponding field according to the form of tables of data template can generate a list item.
The information corresponding identification that B, use get access to generates list item:
Service report system at first obtains the tables of data template that presets;
Secondly, inquire about the corresponding operating right sign of operating right information that gets access to according to operating right information and the corresponding relation between the operating right sign, and/or the data permission of inquiring about the data permission information correspondence that gets access to according to the corresponding relation between the data permission information and date authority sign identifies;
Once more, with certain user profile that gets access to, the operating right of this user profile correspondence sign and/or, the data permission sign of this user profile correspondence is inserted each corresponding field according to the form of tables of data template and can be generated a list item.
103, judge whether to satisfy the stop condition that presets, if satisfy, then execution in step 104, if do not satisfy, then repeated execution of steps 102;
In the present embodiment, concrete stop condition can be that all user profile is all processed intact, or the list item number of tables of data reaches threshold value, is understandable that, if in the specific implementation process stop condition is not set, does not then need execution in step 103.
104, the list item that step 102 is generated is combined into tables of data; For example: it is that list item is sorted or puts in order that the combination in this step can be understood as;
105, issue the tables of data that step 104 generates to the system management end, with described tables of data as exporting with this Business Processing instruction corresponding response.Be understandable that step 104 is an optional step, promptly generate a tables of data that comprises some list items after the step 103, step 105 can directly issue the tables of data that step 103 generates.
Be understandable that, if the element that comprises in the list item of this tables of data is operating right sign and/or data permission sign, then service report system also needs to issue related mapping table to the system management end, store corresponding relation between operating right information and the operating right sign and/or the corresponding relation between the data permission information and date authority sign in this mapping table, the system management end can be converted to the sign of the operating right in the list item of tables of data corresponding operating right information and/or the data permission sign is converted to corresponding data permission information according to this mapping table and tables of data.
In the present embodiment, because service report system provides to the system management end and includes user profile, the tables of data of operating right information and data permission information, thereby being convenient to the system management end operates the multiple user configuration information in the same tables of data, be disposable user configuration information in the system is checked and upgraded, for example revise certain user's operating right information and data permission information, and do not need frequent switch data table, switching user interface that more need not be frequent, service report system is handled after receiving this tables of data, realization is to the automatic renewal or the configuration of the user configuration information of system, operate by the instrument instead of manual, reduce system manager's workload, thereby improved the treatment effeciency of system user configuration information; Secondly, owing to can take in the present embodiment to replace operating right information with the operating right sign in tables of data, the mode that identifies the surrogate data method authority information with data permission issues tables of data, thereby reduces the data volume in the tables of data, to save transfer resource.
With an instantiation technique scheme is described in detail below, sees also Fig. 2, the signaling process of the example of method for processing user configuration information first embodiment comprises in the embodiment of the invention:
201, the keeper hits button at the system management end points and sends the Business Processing instruction;
When the keeper need carry out Business Processing, when for example revising user configuration information, can send the Business Processing instruction to service report system by the interface that the system management end provides, this instruction request service report system provides user configuration information, this user configuration information is for including user profile, the tables of data of operating right information and data permission information.
202~204, service report system obtains Business Processing instruction user information corresponding, operating right information and data permission information from security information database;
In the present embodiment, store all users' user profile in the security information database, operating right information and data permission information do not limit in the form present embodiment of concrete storage mode and storage data.
205, service report system writes tables of data with the information that gets access to;
The desired user who obtains information of hypothesis keeper has three in the present embodiment, is respectively A, B, and C, wherein:
Party A-subscriber's operating right information allows to send form for allowing the manual form that generates, and party A-subscriber's data permission information is for allowing to use traffic statistic template monthly;
Party B-subscriber's operating right information allows to send form for allowing to create schedule report, and party B-subscriber's data permission information is for allowing to use call completing rate statistical mask monthly;
C user's operating right information allows to create schedule report for allowing the manual form that generates, and allows to send form, and C user's data authority information allows to use call completing rate statistical mask monthly for allowing to use traffic statistic template monthly.
Comprise operating right sign and data permission in the list item with tables of data in the present embodiment and be designated example and describe, should be understood that: comprise the operating right sign in the list item with tables of data, or the example of data permission sign is suitable equally:
Suppose that the operating right information and the corresponding relation between the operating right sign that preset in the service report system are as shown in the table:
Table 1
Operating right ID |
The operating right title |
001 |
Manual report generates |
002 |
Create schedule report |
Corresponding relation between the data permission information and date authority sign that presets is as shown in the table, describes with the example of template rights as data permission in the present embodiment, be understandable that, can be the data permission of other types equally:
Table 2
Template rights ID |
The template rights title |
001 |
Traffic statistic template monthly |
002 |
Call completing rate statistical mask monthly |
With the user profile that gets access to, operating right sign and data permission sign are merged into a list item to service report system, and be as shown in the table according to the Business Processing instruction that receives:
Table 3
Judge whether to satisfy the stop condition that presets in the process of generation list item, if satisfy, then output packet contains the tables of data of above-mentioned list item, for example, as all user A, B, all processed intact dateout table afterwards of the user profile of C, as shown in the table:
Table 4
User ID |
User name |
Template rights |
Operating right |
001 |
A |
?001;003 |
001 |
002 |
B |
?002;003 |
002 |
003 |
C |
?001;002;003 |
001;002 |
The tables of data that is adopted in the present embodiment is the Excel form, is understandable that, and can be other tables of data, for example Lotus123 equally.
After generating tables of data, the tables of data that generates and related mapping table as the different sheet of an Excel form, are sent to the system management end with same Excel form.The embodiment of the invention is not limited to the form of tables of data to be sent, also can adopt a plurality of Excel forms that are associated;
That introduces above is the flow process of system management end data download table, introduces the flow process of uploading below:
Two, upload user configuration information:
See also Fig. 3, method for processing user configuration information second embodiment comprises in the embodiment of the invention:
301, the system management end obtains a tables of data, includes user profile in the described tables of data, and corresponding operating right information and data permission information;
Specifically can be that the system management end gets access to by aforesaid method and includes user profile, after the tables of data of operating right information and data permission information, revise content corresponding in the tables of data according to actual business requirement, preserving the back and form new tables of data, perhaps also can be the tables of data of manual manufacture.
Be understandable that, the tables of data that the system management end gets access to can be downloaded from service report system by aforementioned manner and obtain, it can also be the tables of data that the system management end directly receives user's input, be that the user imports one and includes user profile, the tables of data of operating right information and data permission information, the source present embodiment of tables of data does not limit, and as the case may be, can be that the user obtains or makes by hand from other equipment.
302, send amended tables of data to service report system;
The system management end is sent to service report system with amended tables of data.
303, service report system is resolved tables of data, obtains relevant information;
In the present embodiment, service report system is resolved the tables of data that receives according to the tables of data template that presets, and obtains the information of diverse location correspondence in the list item of tables of data, concrete analysis mode can for:
According to the unique definite field of the numerical value of row and column in the tables of data, read the content that this field comprises, with the relevant information of this content as correspondence, the content of field that for example reads first row first row is as user profile, the content of field that reads the first row secondary series reads the data permission information of the content of the tertial field of first row as this user profile correspondence as the operating right information of this user profile correspondence.
304, according to the relevant information that obtains the user configuration information of system is carried out Data Update or configuration.
Service report system gets access to user profile from tables of data, after operating right information and the data permission information, to security information database, the request security information database is carried out Data Update according to the new information that gets access to and is promptly upgraded the current security configuration of service report system with these message transmission.Should be understood that: also can adopt embodiment of the invention method that the user configuration information of system is carried out initial configuration.
With an instantiation technique scheme is described in detail below, sees also Fig. 4, method for processing user configuration information second embodiment one example signaling process comprises in the embodiment of the invention:
401, the system management end is revised the data in the tables of data;
The system management end is revised the data in the tables of data that receives according to keeper's indication, be associated with situation in the above-mentioned example, and it is as shown in the table to obtain new tables of data after revising:
Table 5
User ID |
User name |
Template rights |
Operating right |
001 |
A |
?001;003 |
001 |
002 |
B |
?002;003 |
002 |
003 |
C |
?001;002; |
001; |
402, button click sends amended tables of data to service report system;
After tables of data was revised and to be finished, the keeper clicked corresponding button, the function button of for example " uploading the system safety configuration ", and amended tables of data is sent to service report system.
403, service report system is resolved tables of data, obtains associated user's configuration information;
In the present embodiment, tables of data shown in the service report system his-and-hers watches 5 is resolved, can resolve according to the tables of data template that presets, for example: according to the unique definite field of the numerical value of row and column in the tables of data, read the content that this field comprises, with the relevant information of this content as correspondence, the content of field that for example reads first row first row is as user profile, the content of field that reads the first row secondary series reads the data permission information of the content of the tertial field of first row as this user profile correspondence as the operating right information of this user profile correspondence.
Concrete, in this example, obtain three groups of data behind the service report system resolution data table:
(001;A;001,003;001)
(002;B;002,003;002)
(003;C;001,002;001)
404, service report system carries out Data Update according to the relevant information that obtains to the user configuration information in the security information database.Should be understood that, if the current user's configuration of system defaults to sky, for example: user profile in the service report system, operating right information and data permission information are empty, also can adopt embodiment of the invention method that the user configuration information of system is carried out initial configuration.
The related data that service report system obtains after with the resolution data table comprises user profile, and operating right information and data permission information export security information database to, and the request security information database is upgraded the user's of correspondence relevant information or disposed.
Among above-mentioned each embodiment, security information database can be included in the service report system, also can be used as external data base.
Introduce service report system in the embodiment of the invention below, see also Fig. 5, service report system embodiment can issue according to the indication of system management end and include user profile in the embodiment of the invention, the tables of data of operating right information and data permission information, and the tables of data of can the receiving system management end uploading, carry out Data Update or configuration according to the tables of data that receives, specifically comprise:
Tables of data receiving element 507, what be used for that the receiving system management end sends comprises user profile, the tables of data of operating right information and data permission information;
Tables of data resolution unit 508 is used for tables of data is resolved, and obtains user profile, operating right information and the data permission information corresponding with this user profile;
Data processing unit 509 be used for according to the user profile that obtains, and operating right information and the data permission information corresponding with this user profile is handled the user configuration information of system.
When at system initialization or system when not carrying out being provided with of user configuration information, this data processing unit is second data processing unit, be used for according to the user profile that obtains, and the operating right information corresponding with this user profile and data permission information are provided with the user configuration information of system;
In the time need upgrading to the user configuration information of system, this data processing unit is the 3rd data processing unit, be used for according to the user profile that obtains, and the operating right information corresponding with this user profile and data permission information are upgraded the user configuration information of system;
Be understandable that in the present embodiment, service report system can also comprise:
Command reception unit 501 is used for the Business Processing instruction that the receiving system management end sends;
Data capture unit 502, the Business Processing instruction that is used for receiving according to command reception unit 501 is obtained user profile from security information database 503, operating right information and data permission information;
List item generation unit 504 is used for according to the user profile that obtains, and operating right information corresponding with described user profile and the data permission information corresponding with described user profile generate a list item, generates tables of data according to the list item that generates;
List item generates control unit 505, is used for judging whether to satisfy the stop condition that presets in the process that list item generation unit 504 generates list item, if satisfy, then stops to generate list item by list item generation unit 504;
In concrete an application, it is that first list item generates control unit that list item generates control unit 505, be used for judging whether to satisfy the stop condition that presets,, then notify list item generation unit 504 to stop to generate list item if satisfy in the process that list item generation unit 504 generates list item;
Tables of data issues unit 506, and the list item that is used for generating is combined into tables of data, exports the tables of data that generates to the system management end.
Be understandable that tables of data receiving element and tables of data issue the unit can be integrated into a unit realization.
In the present embodiment, security information database 503 is used for storing subscriber information, operating right information and data permission information.Security information database 503 can place among the service report system, also can be served as by external data base.
When this service report system also comprises security information database 503, data processing unit is first data processing unit, be used for according to the user profile that obtains, and the operating right information corresponding with this user profile and data permission information are upgraded the user configuration information in the security information database or are disposed.
In the present embodiment, in the service report system:
Tables of data issues unit 506, also be used for issuing the mapping table that is associated with described tables of data to management end, store corresponding relation between operating right information and the operating right sign and/or the corresponding relation between the data permission information and date authority sign in the described mapping table, be understandable that, this moment tables of data to issue the information that list item comprised in the tables of data that unit 506 issued be user profile, the operating right sign corresponding, and/or the data permission corresponding sign with this user profile with this user profile.
Service report system is received from the system management termination and is comprised user profile in the embodiment of the invention, the tables of data of operating right information and data permission information, carrying out mass according to the data in this tables of data handles, simultaneously for the system management end, user profile, operating right information and data permission information are included in the same tables of data, so do not need to switch to other tables of data carrying out different operations, and then improved the efficient that user configuration information is handled in the service report system.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises the steps: when carrying out
The tables of data that the receiving system management end sends, described tables of data includes user profile, operating right information corresponding with this user profile and the data permission information corresponding with this user profile;
Described tables of data is resolved, obtain user profile, corresponding operating right information and data permission information;
According to the user profile that obtains, operating right information and data permission information are upgraded the user configuration information in the service report system or are disposed.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than a kind of method for processing user configuration information provided by the present invention and service report system are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, in sum, this description should not be construed as limitation of the present invention.