Embodiment
The embodiment of the present invention provides a kind of processing method of data, can be on the same page progress of a plurality of projects of overview display, be more conducive to the relatively progress of similar projects of user.The embodiment of the present invention also provides corresponding user side and server.Below be elaborated respectively.
Consult Fig. 1, from the angle of user side, an embodiment of the data processing method that the embodiment of the present invention provides comprises:
101, the project bag code that user side reception server sends.
At server end, for similar terms destination data, be all referred in same project bag, give the identity code of code of this project bag as this project bag of identification; In fact, what user side received also comprises PROJECT TIME except project bag code, project bag title etc.
102, to server, send the request of project bag, in the request of described project bag, carry project bag code.
User side will be shown generic a plurality of projects, need to send request to server, because generic project is categorized in a project bag, so the project of transmission bag code is to server, makes server return to the project bag of respective item bag code.
103, obtain needed project bag encapsulation of data while showing, described project bag encapsulated data packet is drawn together the project bag of project bag code and corresponding described code, and described project bag comprises generic a plurality of projects.
Take the whole nation sets up electrical network as a project bag, and it is single project that each province sets up province's net, just comprises that so each province sets up the progress of electrical network in project bag encapsulation of data.
104, show each project in the project bag getting.
The embodiment of the present invention can be by the identical Project Exhibition of milestone progress on same pictures, and each project name is to milestone progress that should project and the multimedia link that this project reports.Can consult Fig. 3 understands, Fig. 3 has shown that a project bag comprises 5 generic projects, the project process of showing in the figure A in Fig. 3 is the project of 4, milestone 3~milestone, and the project process of showing in the figure B in Fig. 3 is the project of 3, milestone 2~milestone; The concrete time that has also shown each milestone point in figure B in Fig. 3, the milestone progress of corresponding this project and the multimedia link that this project reports under each project name.From Fig. 3, the progress of each project in generic project can be clearly found out, the comparison between project can also be carried out.
As 4, milestone 3~milestone in the figure A in Fig. 3 has two dotted lines, this represents sub level milestone point; If understand in detail the situation of 4 sub level milestone points of milestone 3~milestone, can send sub level milestone point and show request, in described sub level milestone point displaying request, carry project bag code and milestone progress; Needed sub level milestone encapsulation of data while obtaining the displaying of sub level milestone point, described sub level milestone encapsulation of data comprises the sub level milestone progress of each project that project bag code is identical with milestone progress; The sub level milestone progress of showing each project that the milestone progress get is identical.
In figure A in Fig. 3 and the figure B in Fig. 3, have 5 regions, milestone progress can be selected in first area; Second area can select whether to show phases-time; The Gantt chart of detailed programs can be selected in the 3rd region, to check the target advance of this project, finds out the contrast of actual progress and target advance simultaneously; The 4th region is the progress data of each project on milestone point; The 5th region is multimedia link, can check the multimedia messages relevant to this project, as the picture of starting building of this project, progress picture or video by clicking multimedia link.
When user clicks the 3rd region, project name region namely, user side can receive initiates Gantt chart and shows operational order; To server, initiate Gantt chart and show request, in described Gantt chart displaying request, carry item code and time parameter; According to the item code receiving and time parameter, needed Gantt chart encapsulation of data when obtaining Gantt chart and showing, described Gantt chart encapsulation of data comprises item code, time parameter and to should item code, the Gantt chart of time parameter; The Gantt chart of showing the project getting.
When user clicks the 5th region, multimedia link area namely, user side can receive initiates multimedia show operational order; To server, initiate multimedia show request, in described multimedia show request, carry item code and time parameter; According to the item code receiving and time parameter, needed multimedia encapsulation of data while obtaining multimedia show, described multimedia encapsulation of data comprises item code, time parameter and corresponding item code, the multimedia messages of time parameter; The multimedia messages of showing the project getting.
In the embodiment of the present invention, the project bag code that adopts user side reception server to send; To server, send the request of project bag, in the request of described project bag, carry project bag code; Obtain needed project bag encapsulation of data while showing, described project bag encapsulated data packet is drawn together the project bag of project bag code and corresponding described code, and described project bag comprises generic a plurality of projects; Show each project in the project bag getting.Compared with prior art, the processing method of the data that the embodiment of the present invention provides, can be on the same page progress of a plurality of projects of overview display, be more conducive to the relatively progress of similar projects of user.And the processing method of the data that provide of the embodiment of the present invention can also show Gantt chart and multimedia messages, enriched displaying content.
Consult Fig. 2, from the angle of server, another embodiment of the data processing method that the embodiment of the present invention provides comprises:
201, send project bag code to user side.
It is multiple that server sends to the data of user side to comprise, is not limited to project bag code, can also comprise PROJECT TIME and project bag title.
202, receive the project bag request that user side sends, in the request of described project bag, carry project bag code.
203, according to the project bag of the corresponding described code of described project bag codelookup.
Various project bags can be unified to be stored in database, a unique corresponding project bag code of project bag meeting, and server is inquired about corresponding project bag according to project bag code in database.
204, the project of described project bag code and correspondence is sealed and is fitted together formation project bag encapsulation of data.
205, send described project bag encapsulation of data to user side.
Transmission project seal dress data to user side after, server can also further receive the sub level milestone progress display request that user side sends, described sub level milestone point is shown in asking and is carried project bag code and milestone progress; According to described project bag code and milestone progress, search corresponding sub level milestone progress; The sub level milestone progress of described project bag code each project identical with milestone progress is packaged together and forms sub level milestone encapsulation of data.
Also the Gantt chart displaying request that user side sends be can receive, in described displaying request, item code and time parameter carried;
According to the inquiry of described item code and time parameter to should item code and the Gantt chart of time parameter;
By described item code, time parameter and to should item code and the Gantt chart of time parameter be packaged together and form Gantt chart encapsulation of data.
The multimedia show request that user side sends be can also receive, in described multimedia show request, item code and time parameter carried;
According to the inquiry of the item code receiving and time parameter to should item code and the multimedia messages of time parameter;
By described item code, time parameter and to should item code and the multimedia messages of time parameter be packaged together and form multimedia encapsulation of data.
In the embodiment of the present invention, send project bag code to user side; Receive the project bag request that user side sends, in the request of described project bag, carry project bag code; According to the project bag of the corresponding described code of described project bag codelookup; Described project bag code and corresponding project are sealed and be fitted together formation project bag encapsulation of data; Send described project bag encapsulation of data to user side.Compared with prior art, by server, carry out encapsulation of data, do not need again between user side installation so the ease for use and the flexibility that have improved system.
Consult Fig. 4, an embodiment of the user side providing in the embodiment of the present invention and server comprises: user side 30 and server 40.
The user side 30 that the embodiment of the present invention provides comprises:
The first receiving element 301, the project bag code sending for reception server;
The first transmitting element 302, for send the request of project bag to server, carries the project bag code that described the first receiving element 301 receives in the request of described project bag;
Acquiring unit 303, for sending after the request of project bag at described the first transmitting element 302, obtain needed project bag encapsulation of data while showing, described project bag encapsulated data packet is drawn together the project bag of project bag code and corresponding described code, and described project bag comprises generic a plurality of projects;
Display unit 304, for showing each project of the project bag that acquiring unit 303 gets.
Described display unit 304, also for by the identical Project Exhibition of milestone progress at same pictures, each project name is to milestone progress that should project and the multimedia link that this project reports.
In the embodiment of the present invention, the project bag code that the first receiving element 301 reception servers send, the first transmitting element 302 sends the request of project bag to server, carries the project bag code that described the first receiving element 301 receives in the request of described project bag; Acquiring unit 303 sends after the request of project bag at described the first transmitting element 302, obtain needed project bag encapsulation of data while showing, described project bag encapsulated data packet is drawn together the project bag of project bag code and corresponding described code, and described project bag comprises generic a plurality of projects; Each project in the project bag that display unit 304 displaying acquiring units 303 get.Compared with prior art, the user side that the embodiment of the present invention provides, can be on the same page progress of a plurality of projects of overview display, be more conducive to the relatively progress of similar projects of user.
Server 40 in the embodiment of the present invention comprises:
The second transmitting element 401, for sending project bag code to user side;
The second receiving element 402, the project bag request of sending for receiving user side, carries project bag code in the request of described project bag;
Query unit 403, for the project bag of the corresponding described code of described project bag codelookup that receives according to the second receiving element 402;
Data encapsulation unit 404, seals and is fitted together formation project bag encapsulation of data for the corresponding project that described project bag code and query unit 403 are inquired;
Described the second transmitting element 401, also for the described project bag encapsulation of data that sends described data encapsulation unit 404 encapsulation to user side.
In the embodiment of the present invention, the second transmitting element 401 sends project bag code to user side, and the second receiving element 402 receives the project bag request that user side sends, and carries project bag code in the request of described project bag; The project bag of the corresponding described code of described project bag codelookup that query unit 403 receives according to the second receiving element 402; The corresponding project that data encapsulation unit 404 inquires described project bag code and query unit 403 is sealed and is fitted together formation project bag encapsulation of data; The described project bag encapsulation of data that described the second transmitting element 401 sends 404 encapsulation of described data encapsulation unit is to user side.The server providing in the embodiment of the present invention, can be used to encapsulation of data, does not need between user side installation so the ease for use and the flexibility that have improved system again.
Consult Fig. 5, on the basis of embodiment corresponding to Fig. 4, another embodiment of the user side that the embodiment of the present invention provides and server comprises: user side 30 and server 40.
User side 30 also comprises:
Described the first transmitting element 302, also shows request for sending sub level milestone point, in described sub level milestone point displaying request, carries project bag code and milestone progress;
Described acquiring unit 303, also for sending sub level milestone point at described the first transmitting element 302, show after request, needed sub level milestone encapsulation of data while obtaining the displaying of sub level milestone point, described sub level milestone encapsulation of data comprises the sub level milestone progress of each project that project bag code is identical with milestone progress;
Described display unit 304, also for showing the sub level milestone progress of each project that milestone progress that acquiring unit 303 gets is identical.
Server 40 in the embodiment of the present invention also comprises:
Described the second receiving element 402, the sub level milestone progress display request also sending for receiving user side, carries project bag code and milestone progress in described sub level milestone point displaying request;
Described query unit 403, also searches corresponding sub level milestone progress for the described project bag code and the milestone progress that receive according to described the second receiving element 402;
Described data encapsulation unit 404, is also packaged together and forms sub level milestone encapsulation of data for the sub level milestone progress of each identical project of milestone progress that described project bag code is found with query unit 403;
Described the second transmitting element 401, also for the sub level milestone encapsulation of data that sends described data encapsulation unit 404 encapsulation to user side.
In the embodiment of the present invention, described the first transmitting element 302 sends sub level milestone point and shows request, in described sub level milestone point displaying request, carries project bag code and milestone progress; Described the second receiving element 402 receives the sub level milestone progress display request that user side sends, and in described sub level milestone point displaying request, carries project bag code and milestone progress; The described project bag code that described query unit 403 receives according to described the second receiving element 402 and milestone progress are searched corresponding sub level milestone progress; The sub level milestone progress of each project that described data encapsulation unit 404 finds described project bag code milestone progress with query unit 403 is identical is packaged together and forms sub level milestone encapsulation of data.The sub level milestone encapsulation of data that described the second transmitting element 401 sends 404 encapsulation of described data encapsulation unit is to user side.Needed sub level milestone encapsulation of data when described acquiring unit 303 obtains the displaying of sub level milestone point, described sub level milestone encapsulation of data comprises the sub level milestone progress of each project that project bag code is identical with milestone progress; Described display unit 304, shows the sub level milestone progress of each project that milestone progress that acquiring unit 303 gets is identical.The introduction that the embodiment of the present invention is detailed sub level milestone encapsulation and displaying process.
Consult Fig. 5, on the basis of embodiment corresponding to Fig. 4, another embodiment of the user side that the embodiment of the present invention provides and server comprises: user side 30 and server 40.
User side 30 also comprises:
Described the first receiving element 301, also initiates Gantt chart displaying operational order for receiving;
Described the first transmitting element 302, also shows after operational order for receive initiation Gantt chart at described the first receiving element 301, initiates Gantt chart show request to server, in described Gantt chart displaying request, carries item code and time parameter;
Described acquiring unit 303, item code and the time parameter for receiving according to described the first receiving element 301 also, needed Gantt chart encapsulation of data while obtaining Gantt chart displaying, described Gantt chart encapsulation of data comprises item code, time parameter and to should item code, the Gantt chart of time parameter;
Described display unit 304, also for showing the Gantt chart of the project that described acquiring unit 303 gets.
Server 40 in the embodiment of the present invention also comprises:
Described the second receiving element 402, the Gantt chart displaying request also sending for receiving user side, carries item code and time parameter in described displaying request;
Described query unit 403, also for the described item code that receives according to described the second receiving element 402 and time parameter inquiry to should item code and the Gantt chart of time parameter;
Described data encapsulation unit 404, also for by described item code, time parameter and described query unit 403 inquire to should item code and the Gantt chart of time parameter be packaged together and form Gantt chart encapsulation of data;
Described the second transmitting element 401, also for the Gantt chart encapsulation of data that sends described data encapsulation unit 404 encapsulation to user side.
In the embodiment of the present invention, described the first receiving element 301 receives initiates Gantt chart displaying operational order, described in described the first transmitting element 302, the first receiving element 301 receives and initiates after Gantt chart displaying operational order, to server, initiate Gantt chart and show request, in described Gantt chart displaying request, carry item code and time parameter; Described the second receiving element 402 receives the Gantt chart displaying request that user side sends, and in described displaying request, carries item code and time parameter; The inquiry of the described item code that described query unit 403 receives according to described the second receiving element 402 and time parameter is to should item code and the Gantt chart of time parameter; Described data encapsulation unit 404 is described item code, time parameter and described query unit 403 inquire to should item code and the Gantt chart of time parameter be packaged together and form Gantt chart encapsulation of data; The Gantt chart encapsulation of data that described the second transmitting element 401 sends 404 encapsulation of described data encapsulation unit is to user side.Described acquiring unit 303 obtains Gantt chart needed Gantt chart encapsulation of data while showing, described Gantt chart encapsulation of data comprises item code, time parameter and to should item code, the Gantt chart of time parameter; Described display unit 304 is shown the Gantt chart of the project that described acquiring unit 303 gets.The introduction that the embodiment of the present invention is detailed the displaying process of Gantt chart.
Consult Fig. 5, on the basis of embodiment corresponding to Fig. 4, another embodiment of the user side that the embodiment of the present invention provides and server comprises: user side 30 and server 40.
User side 30 also comprises:
Described the first receiving element 301, also initiates multimedia show operational order for receiving;
Described the first transmitting element 302, also initiates, after multimedia show operational order, to server, to initiate multimedia show request for receiving at described the first receiving element 301, in described multimedia show request, carries item code and time parameter;
Described acquiring unit 303, item code and the time parameter for receiving according to described the first receiving element 302 also, needed multimedia encapsulation of data while obtaining multimedia show, described multimedia encapsulation of data comprises item code, time parameter and corresponding item code, the multimedia messages of time parameter;
Described display unit 304, also for showing the multimedia messages of the project that acquiring unit 303 gets.
Server 40 in the embodiment of the present invention also comprises:
Described the second receiving element 402, the multimedia show request also sending for receiving user side, carries item code and time parameter in described multimedia show request;
Described query unit 403, also for the item code receiving that receives according to described the second receiving element 402 and time parameter inquiry to should item code and the multimedia messages of time parameter;
Described data encapsulation unit 404, also for by described item code, time parameter and described query unit 403 inquire to should item code and the multimedia messages of time parameter be packaged together and form multimedia encapsulation of data;
Described the second transmitting element 401, also for the multimedia encapsulation of data that sends described data encapsulation unit 404 encapsulation to user side.
In the embodiment of the present invention, described the first receiving element 301 receives initiates multimedia show operational order, and described the second receiving element 402 receives the multimedia show request that user side sends, and in described multimedia show request, carries item code and time parameter; The inquiry of the item code receiving that described query unit 403 receives according to described the second receiving element 402 and time parameter is to should item code and the multimedia messages of time parameter; Described data encapsulation unit 404 is described item code, time parameter and described query unit 403 inquire to should item code and the multimedia messages of time parameter be packaged together and form multimedia encapsulation of data; The multimedia encapsulation of data that described the second transmitting element 401 sends 404 encapsulation of described data encapsulation unit is to user side.Needed multimedia encapsulation of data when described acquiring unit 303 obtains multimedia show, described multimedia encapsulation of data comprises item code, time parameter and corresponding item code, the multimedia messages of time parameter; Described display unit 304 is shown the multimedia messages of the project that acquiring unit 303 gets.The introduction that the embodiment of the present invention is detailed the displaying process of multimedia messages.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the hardware that instruction is relevant to complete by program, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
The processing method of the data that above embodiment of the present invention provided and user side and server are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.