Mention the transmission patent herein, not only refer to receive and dispatch photo, also can receive and dispatch and send video, sound.Computer can be a Microsoft Windows system, also can be that Linux or other have the computer system that can play desktop background.
Summary of the invention
The purpose of this invention is to provide a kind of method and system thereof that utilizes the computer background remotely playing slide photos, its by communication network send and the recipient between provide convenience, timely and safe image sharing file and video file, the user can be the not even people of conference use computer of old man, child, because all are automatic, if both sides are online, so almost be to transmit picture immediately to play then, if both sides are not online simultaneously, so in case online, the program downloading and playing picture that can be dynamically connected certainly.
For reaching above-mentioned purpose, a kind of system that utilizes the computer background remotely playing slide photos of the present invention, comprise the transmission client, server end and reception client, described transmission client is to be used for the sender to set up the terminal that sends information to described server end, described reception client is to be used for the recipient to set up reception sends corresponding information from described server end terminal, described server end is to connect described transmission client and receive client to carry out the terminal from described transmission client and reception client command adapted thereto by communication network, it is characterized in that:
Described transmission client comprises: obtain the logging request module that is connected the pass with described server end, and be used in described transmission client stores and handle the picture/multimedia processing module of all kinds of picture/multimedia files;
Described server end comprises: need the sender to obtain the usufructuary registration authentication module of every function at described server end, be used for storing and handling the picture/multimedia processing module of all kinds of picture/multimedia files at described server end, address book with storage user's various information and picture/multimedia document information, and receive the reception query requests module of picture/multimedia messages being carried out query requests from described client;
Described reception client comprises: obtain the logging request module that is connected the pass with described server end, send the query requests module of picture/multimedia messages being carried out query requests to described server end, to the picture/multimedia processing module of carrying out various processing from the picture/multimedia of described server end transmission, and picture/multimedia playing module of the picture/multimedia file after downloading being browsed broadcast on the desktop background of local computer.
According to above-mentioned conception of the present invention, be preferably, the picture of described transmission client/multimedia processing module comprises: be used for sending the picture storage element that client stores picture/multimedia file, and will be stored in the picture uploading unit that the interior picture/multimedia file of described picture storage element is uploaded to described server end.
According to above-mentioned conception of the present invention, be preferably, the picture of described server end/multimedia processing module comprises: the picture storage element of preserving picture/multimedia file at server end, the picture editor unit that the picture/multimedia file that is kept in the described picture storage element is carried out various edit operations, and the picture transmitting element that the picture that is kept in the described picture storage element is carried out transmit operation.
According to above-mentioned conception of the present invention, be preferably, described picture transmitting element comprises: be used for the time option piece that picture/multimedia label transmitting time is required and the privacy options piece of security requirements when being used for picture/multimedia label sent.
According to above-mentioned conception of the present invention, be preferably, the reception query requests module of described server end comprises: the inquiry receiving element that is used to receive the query requests that described query requests module sends, whether analysis has new picture/multimedia query analysis unit at described server end, and the unit is returned in the inquiry that the Query Result after the described query analysis unit analysis is back to described query requests module.
According to above-mentioned conception of the present invention, be preferably, the picture of described reception client/multimedia processing module comprises: be used for send client store picture/multimedia file at the picture storage element, to will be, and carry out picture/multimedia file is downloaded to picture download unit in the described picture storage element from described server end from the picture analyzing unit that picture/multimedia file that server end is downloaded is analyzed.
According to above-mentioned conception of the present invention, be preferably, described picture/multimedia playing module comprises: the ordinary playing unit that can make the recipient that picture/multimedia is viewed and admired arbitrarily, preserved and duplicates, and can only make the recipient view and admire picture/multimedia and the speical play unit forbidding preserving or duplicate.
According to above-mentioned conception of the present invention, be preferably, described address book is to be ranked with horizontal field by user longitudinally to rank the list of data structures that constitutes.
According to above-mentioned conception of the present invention, be preferably, described field ranks and comprises: password field, buddy list field, blacklist field, picture/multimedia gallery field, time Option Field, privacy options field and other field.
According to above-mentioned conception of the present invention, be preferably, described communication network is any one network in cable network, wireless network or the Internet.
For reaching above-mentioned purpose, a kind of method of utilizing the computer background remotely playing slide photos of the present invention comprises by the interconnected transmission client of communication network, server end and reception client, it is characterized in that, said method comprising the steps of:
(1) sender is connected to described server end by described transmission client and registers or authentication the login of success back;
(2) behind the described server end of login, select picture/multimedia file, and upload and be stored in described server end from described transmission client;
(3) sender selects to send to picture/multimedia file of recipient from described server end;
(4) sender submits the request of transmission to picture/multimedia file of selecting to described server end;
(5) recipient is connected to described server end login by described reception client;
(6) described reception client is carried out query requests to described server end;
(7) described server end returns Query Result to described reception client;
(8) if Query Result is that new picture/multimedia file is arranged, then described reception client is downloaded new picture/multimedia file from server end, if there is not new picture/multimedia file, then returns above-mentioned steps (7);
(9) by described reception client the picture/multimedia file after downloading is browsed and play on the desktop background of recipient's local computer.
According to above-mentioned conception of the present invention, be preferably, described step (1) also comprised with the next stage:
(A) sender is connected to described server end by described transmission client;
(B) after the input sender information, described server end carries out authentication to the sender;
(C) if during stage (B), verify and pass through, then leap to the stage (E), register otherwise the registration authentication module that enters described server end carries out identity to the sender;
(D) fill in sender's log-on message after, submit application for registration to described server end;
(E) register or be proved to be successful the back and allow the sender to login described server end, otherwise return the stage (B).
According to above-mentioned conception of the present invention, be preferably, also comprise with the next stage between described step (3) and (4):
(F) whether the privacy options piece of described server end prompting user selects to maintain secrecy and sends;
(G) when the sender selects to maintain secrecy transmission according to the prompting in above-mentioned stage (F), the privacy options piece will be encrypted the content of picture/multimedia file, go to the stage (I) then;
(H) when the sender selects not maintain secrecy transmission according to the prompting in above-mentioned stage (F), directly go to the stage (I);
(I) address book of described server end is made respective labels to the selection result of privacy options piece with this picture/multimedia file according to the sender;
(J) send this picture/multimedia file immediately;
(K) sender selects to receive this picture/multimedia reception object from the address book of described server end;
(L) the time option piece prompting user of described server end selects to send immediately or timed sending;
(M) address book of described server end is made respective labels to the selection result of time option piece with this picture/multimedia file according to the sender.
According to above-mentioned conception of the present invention, be preferably, described step (2) also comprised with the next stage:
(N) after the sender logins described server end by described transmission client, enter picture/multimedia processing module;
(O) new picture or the multimedia file that need upload from described transmission client selection;
(P) after submitting upload request to, described server end is stored in the picture storage element of described server end.
According to above-mentioned conception of the present invention, be preferably, also comprise with the next stage in the described step (5):
(Q) recipient is receiving client input user profile;
(R) recipient is connected to described server end by described reception client, and the information of recipient's input is verified;
(S) pass through as if in the stage (R), verifying, then allow the recipient to login described server end, otherwise return the stage (Q).
According to above-mentioned conception of the present invention, be preferably: in described step (8), if Query Result is that new picture/multimedia file is arranged, then described reception client also comprised with the next stage before server end is downloaded new picture/multimedia file:
(T) the picture analyzing unit of described reception client carries out information analysis to the sender at picture/multimedia file and the picture/multimedia file of recipient on described reception client that described server end sends;
(U) the picture analyzing unit of described reception client obtains the pictorial information tabulation that will download according to the label information that each field obtains from address book;
(V) the picture download unit of described reception client is encrypted the transmission data that will download from picture/multimedia storage module of server end according to the above-mentioned download list obtained.
According to above-mentioned conception of the present invention, be preferably, described step (9) also comprised with the next stage:
(W) picture/multimedia playing module of described reception client is obtained download pictures to described picture analyzing unit or multimedia label information is judged, whether the label of maintaining secrecy and being provided with was arranged;
(X) if the judged result in above-mentioned stage (W) for not, is then play the picture/multimedia of download by the ordinary playing unit of described reception client;
(Y) if the judged result in above-mentioned stage (W) is for being then to play the picture/multimedia of download by the speical play unit of described reception client.
According to above-mentioned conception of the present invention, be preferably, also comprise with the next stage in the described stage (Y):
(Z1) picture of described reception client/multimedia playing module judges that this document is picture or multimedia file;
(Z2) if the judged result in above-mentioned stage (Z1) is a picture file, the speical play unit of described reception client makes the recipient watch picture on first shield keyboard screen copy key again;
(Z3) if the judged result in above-mentioned stage (Z1) is a multimedia file, the preservation and the copy function of multimedia file will be forbidden in the speical play unit of described reception client, allow the recipient watch multimedia again.
Adopt system and method for the present invention, behind sender's logon server end, the picture that will send uploads to server end, the recipient is by after the reception client of login local, will be connected to automatically on the server end by communication network, picture or multimedia file that other users are sended over download on the local reception client immediately, and then play automatically in desktop background, because everything is that Automatic Program is carried out, the user feels that the sender directly sends to picture or multimedia file on his screen background, because the user does not need to do the action of any download and broadcast, picture or multimedia file are play with regard to downloading to desktop background automatically.Wherein, if the sender selects to maintain secrecy when sending to send, can also protect this picture or multimedia file not to be preserved wantonly or to duplicate, and can only watch, in order to avoid file is illegally propagated for the recipient.
For reaching above-mentioned purpose, system of the present invention can also realize in the following manner, a kind of system that utilizes the computer background remotely playing slide photos, comprise the transmission client, server end and reception client, described transmission client is to be used for the sender to set up the terminal that sends information to described server end, described reception client is to be used for the recipient to set up reception sends corresponding information from described server end terminal, described server end is to connect described transmission client and receive client to carry out the terminal from described transmission client and reception client command adapted thereto by communication network, is characterized in:
Described transmission client comprises: obtain the logging request module that is connected the pass with described server end, and be used in described transmission client stores and handle the picture/multimedia processing module of all kinds of picture/multimedia files;
Described server end comprises: need the sender to obtain the usufructuary registration authentication module of every function at described server end, and the address book with storage user various information;
Described reception client comprises: obtain the logging request module that is connected the pass with described server end, to the picture/multimedia processing module of carrying out various processing from the picture/multimedia of described server end transmission, and picture/multimedia playing module of the picture/multimedia file after downloading being browsed broadcast.
According to above-mentioned conception of the present invention, be preferably, the picture of described transmission client/multimedia processing module comprises: be used for storing in described transmission client the picture storage element of picture/multimedia file, and will be stored in the picture uploading unit that the interior picture/multimedia file of described picture storage element is sent to described reception client.
According to above-mentioned conception of the present invention, be preferably, the picture of described reception client/multimedia processing module comprises: be used for described reception client store picture/multimedia file at the picture storage element, and the picture download unit that receives the picture/multimedia file that sends from described transmission client.
According to above-mentioned conception of the present invention, be preferably, described address book is to be ranked with horizontal field by user longitudinally to rank the list of data structures that constitutes.
According to above-mentioned conception of the present invention, be preferably, described field ranks and comprises fixed field and interim field.
According to above-mentioned conception of the present invention, be preferably, described fixed field comprises: password field, buddy list field, blacklist field and other field.
According to above-mentioned conception of the present invention, be preferably, described interim field comprises: public network IP field, mapped port field and other field.
According to above-mentioned conception of the present invention, be preferably, described communication network is any one network in cable network, wireless network or the Internet.
For reaching above-mentioned purpose, method of the present invention can also realize in the following manner, a kind of method of utilizing the computer background remotely playing slide photos, comprise by the interconnected transmission client of communication network, server end and reception client, be characterized in, said method comprising the steps of:
(1) sender is connected to described server end login by described transmission client, and the recipient is connected to described server end login by described reception client;
(2) described transmission client reads online recipient's information from the address book of described server end, and described reception client reads online sender's information from the address book of described server end;
(3) sender selects picture/multimedia file in described transmission client, before submitting the request of transmission to, will send the checking bag to described reception client and server end;
(4) described server end is notified described reception client to return the checking bag and is given described transmission client;
(5) described transmission client directly is connected by communication network with the reception client;
(6) recipient's picture/multimedia of sending in the described transmission client of described reception client downloads;
(7) by described reception client the picture/multimedia file after downloading is browsed and play on the desktop background of computer.
According to above-mentioned conception of the present invention, be preferably, described step (1) also comprised with the next stage:
(A) sender/recipient is connected to described server end by described transmission client/reception client;
(B) behind input sender/recipient information, described server end carries out authentication to sender/recipient;
(C) if during stage (B), verify and pass through, then leap to the stage (E), register otherwise the registration authentication module that enters described server end carries out identity to sender/recipient;
(D) fill in sender/recipient's log-on message after, submit application for registration to described server end;
(E) register or be proved to be successful the back and allow sender/recipient to login described server end, otherwise return the stage (B).
This shows, utilize and above-mentionedly send as point-to-point mode, the sender can directly select picture or multimedia to send to the recipient from sending client, need not earlier picture or multimedia file be dumped to server end, save time more, concerning server end, can be reduced in the load of the recipient that receives client generation when server end is downloaded greatly.Concerning receiving client, still following server end downloads the same, as long as it is online, picture will receive the local reception client automatically and play in desktop background automatically, and need manually to receive and need play by other software pop-up windows unlike other point-to-point transmission file modes such as MSN, because of the present inventionly play automatically in desktop background that need manually to play by pop-up window with other be to possess diverse impression and mode.
Can see by above-mentioned two kinds of implementation methods, the present invention has very flexible and changeable load mode, both can directly carry out the transmission of picture/multimedia file between sender and the recipient, and also can not use server end to transmit and receive picture/multimedia as terminal by setting up point-to-point connection by point-to-point connected mode.When using point-to-point connected mode, help to send client and receive client by server end earlier and connect, in case after sending client and the reception client having been set up point-to-point the connection, server end just breaks away from and connects, send client and can directly deliver to the desktop that receives client to picture, on recipient's computer desktop background, play then; When adopting server end as the load mode of terminal, the sender only needs to connect with server end, picture is sent on the server end, after recipient's reception client detects, just can play from the server end download pictures and in the desktop background of computer automatically.
Two kinds of execution modes of the present invention, each has something to recommend him, point-to-point mode transmits picture not by server end, saves the delivery time, and the server end load reduces, but must sender and the simultaneously online process that sends and receive of just finishing of recipient; Non-point-to-point mode need utilize server end to store picture or multimedia file as terminal, the operation that sender and recipient send or receive all needs the support of server end, therefore the operating load of server end is bigger, but this mode does not need sender and recipient simultaneously online, the sender is sending picture behind server end, no matter be online or roll off the production line, after as long as the recipient connects the logon server end, whether have new picture send to oneself, download the back then automatically and play on the desktop background of computer if just can inquire about other user automatically.But no matter two kinds of execution modes are to take anyly, receive and show and see picture from sending to the opposing party, and the time interval is very short, and effect is as in real time.
In sum, the present invention wards off its footpath in addition, make full use of the background of computer, because no matter be WINDOWS, LINUX operating system, screen background is all arranged, and, traditional situation be all not with Background as showing picture frame, and it is directly continuous mutually to allow the user pass through network, the function of communicating with each other.The present invention need not eject new window (covering other windows) and watch demonstration, and its unique distinction is arranged, can allow picture and multimedia file transmission and share more conveniently, in time and safety, on desktop background, play and do not influence work to greatest extent.
For further specifying above-mentioned purpose of the present invention, design feature and effect, the present invention is described in detail below with reference to accompanying drawing.
Embodiment
Be the framework schematic diagram that utilizes the system of computer background remotely playing slide photos according to of the present invention as shown in Figure 1, system of the present invention mainly is made up of three parts:server end 1,transmission client 2 andreception client 4.
Above-mentionedserver end 1 physically refers to one group of server that the operation service provider of native system provides, comprise WEB access server and database server, be used to the registered user of native system that services such as user management are provided,server end 1 also can be used to replace each customer account management photo, record to send historical and accepts history or the like, it is a pith that is used to provide system service, storage sends the picture thatclient 2 is sent, and receivesclient 4 receiving under the online situation ofclient 4 picture sent to.
Sending client 2 is to be used for the sender to set up transmission picture or multimedia terminal, receiving client 4 is to be used for the recipient to set up reception sends corresponding signals in transmission client 2 from the sender terminal, the difference of they and server end 1 is, above-mentioned two clients (comprise and send client 2 and receive client 4) are meant all that physically the user of all native systems utilizes the native system transmission or receives the employed various terminal equipments of various picture/multimedia files, can be personal computer, mobile phone, PDA etc.A physics client that is installed on the personal computer both can be that transmission client 2 also can be to receive client 4 on function, that is to say, be equipped with the personal computer that sends client 2 with picture/multimedia file send to receive client 4 after, carry out picture or multimedia broadcast on another personal computer of this reception client 4 being equipped with, simultaneously, on the personal computer that this transmission client 2 is installed, also the reception client can be installed, it can receive picture or the multimedia file that sends from other personal computer that transmission client is installed, this for distinguish and narration convenient, just be divided into sending client 2 and receiving 4 two clients of client and bring in and explain.
Above-mentionedtransmission client 2 andreception client 4, all be to interconnect transmission information withcommunication network 3,communication network 3 can be any network that can connect betweenserver end 1 andclient 2, such as current the Internet all the fashion (Internet), comprise the cable network that utilizes fixed-line phone network or cable television network to connect, perhaps using the wireless network of mobile phone mobile network communication, also can be other communication network of supporting this connection.Network Transmission is the part that is in the bottom, andcharge server end 1 exchanges with the communication and the data that sendclient 2, receive between the client 4.Communication network 3 of the present invention can adopt the Socket on http protocol to realize the major function of following each functional module that will speak of.
HTTP is the protocol specification of a maturation, and the agreement that http protocol is concentrated with other ICP/IP protocol is the same, follows the work of client end/server end model.Communication between ICP/IP protocol collection agreement is finished by Socket, send client and receive client and send host by Socket, url, Accept, direct visit such as User-Agent is in each functional module on the server end, and each functional module is handled association requests by the parameter that obtains, and sends back to the transmission client and receive client, flow process is simple like this, and the functional requirement such as change, upgrading of Control Server end flexibly.Implementation combine simultaneously socket communication in real time, good characteristics such as the encapsulation of quick calcaneus rete network service, coupling, reach preferable Network Transmission mode combinations.Because this network communications technology is the technology of knowing of this area, just seldom give unnecessary details at this.
First embodiment
As shown in Figure 1, it has shown that theserver end 1 in the system of the present invention, the simple and easy framework that sends betweenclient 2,reception client 4 and thecommunication network 3 concern:
(1) sender's (being user A) is connected toserver end 1 by sendingclient 2, bycommunication network 3 with picture or multimedia file is uploaded and share good friend user B, the C that gives oneself;
(2) recipient's (being user B, C) is connected toserver end 1 by receivingclient 4 throughcommunication network 3, checks whether other sender has new picture/multimedia file to send to oneself;
(3) the new picture/multimedia file that will receive fromserver end 1 of recipient's (being user B, C) downloads to and receivesclient 4, and plays on the computer desktop background of user B, C.
With reference to Figure 2 shows that the present invention utilizes the structured flowchart of the system of computer background remotely playing slide photos, comprise:server end 1, sendclient 2 and receiveclient 4,server end 1 all passes throughcommunication network 3 betweenclient 2, thereception client 4 and is connected with sending.Uploading and downloading and other function for picture between realization sender and the recipient or multimedia file,server end 1 andclient 2 need setting to comprise various functional modules and unit, below will be described in detail the various flow processs ofserver end 1,transmission client 2 andreception client 4 in the method for utilizing the computer background remotely playing slide photos about the present invention according to Fig. 2 and in conjunction with Fig. 3 to Fig. 5.
Earlier be depicted as flow chart when being connected with server end according to the transmission client in the method for utilizing the computer background remotely playing slide photos of the present invention with reference to figure 2 and in conjunction with Fig. 3 a-3b.At first, shown in Fig. 3 a, the sender is connected to server end 1 (S301) by the logging request module 21 that sends client 2, because server end 1 is not accepted the user of any anonymity, at input sender's information (such as username and password) back S307, the registration authentication module 12 that server end 1 comprises will carry out authentication S308 to the sender's (or claiming the user) who uses native system, if the sender uses native system for the first time, the sender will enter the registration authentication module 11 of server end 1 earlier and register S302, fill in sender's log-on message S303 on request, comprising some essential informations, such as name, sex, individual Email mailbox etc., submit application for registration S304 to the registration authentication module 11 of server end 1 then, after application for registration finishes, in the Email mailbox that server end 1 meeting transmission one envelope affirmation letter is filled in when the sender registers, the Email mailbox that the sender fills in the time of need opening registration comes excited users number of the account S305, if activate successful S309, then the registration authentication module 1 of server end 1 will allow other module S306 that this user's login and use server end 1 comprise, this moment, server end 1 will be stored in the user profile (comprising information such as username and password) that success is registered in the address book 13, S308 when the user will be connected to server end 1 from now on once more and carries out authentication, whether registration authentication module 11 will be examined this user's input from the data of address book 13 information is complementary with the user profile that is kept in the address book 13, can directly allow user login services device end 1 (S306) after the success.
Above-mentioned saidaddress book 13 is important composition modules ofserver end 1, it is to be ranked with horizontal field by user longitudinally to rank the list of data structures that constitutes, as shown in Figure 5, the name of user name list storage registered users, such as user A, user B ..., user N, corresponding each user name of all kinds of field store such as " password, buddy list, blacklist, picture/multimedia gallery, time option, privacy options " etc., the corresponding one group of corresponding field of each user name, for example " password " field of user A correspondence is Ax, " buddy list " field is A1, A2..., An, " blacklist " field is AH1, AH2..., AHn, " password " field of party B-subscriber's correspondence is Bx, " buddy list " field is B1, B2..., Bn, " blacklist " field is BH1, BH2..., BHn, the rest may be inferred, each user's information and field data all are stored in the list of data structures ofaddress book 13, its in the present invention role will have more detailed description hereinafter.
Then, as Fig. 2 and in conjunction with shown in Fig. 3 b, the sender then can enter and use the picture/multimedia processing module 12 (S403) of server end 1 according to the legal number of the account success logon server end S306 of registration just now.The sender can be by the picture/multimedia in the picture storage element 221 of selecting to be stored in the picture/multimedia processing module 22 that sends client 2, picture/multimedia file that needs are sent is preserved by picture uploading unit 222 end 1 that uploads onto the server, in the picture storage element 122 of picture/multimedia processing module 12 that picture that sends or multimedia file are kept at server end 1, and this picture/multimedia processing module 12 also comprises picture editor unit 121 and picture transmitting element 123.Wherein, preserved all pictures and multimedia file that the sender uploads in the picture storage element 122, can carry out various editors to it by picture editor unit 121 users, such as operations such as interpolation, deletion or modifications.Then the sender can select to continue to upload other new picture/multimedia S404 by picture uploading unit 222, or passing through picture transmitting element 123 sends existing picture in the picture storage elements 122/multimedia S407 to the good friend, it should be noted that, here " transmission " of indication is not that real this picture/multimedia is formed with file sends in another picture storage element of good friend's number of the account place server end on the physical significance, and just this picture/multimedia information has been added in sender's " picture/multimedia gallery " field in the address book 13 of server end 1, and added a label that energy is collected by this good friend for this picture/multimedia file, show that the good friend that this picture/multimedia can the person of being sent out be authorized reads and downloads, such as user A after sending several picture/multimedias, in " picture/multimedia gallery " field respectively with PA1, PA2..., PAnThe expression, in " picture/multimedia gallery " field of user B with PB1, PB2..., PBnExpression, the rest may be inferred, with reference to shown in Figure 5.
Then, in above-mentioned selection step S403, if the user has selected step S404, shown in Fig. 4 b, then in thepicture storage element 221 that sendsclient 2, select required picture/multimedia S405, submit to upload request S406 to upload new picture/multimedia step throughpicture uploading unit 222, be stored in after picture/multimedia is uploaded in thepicture storage element 12 ofserver end 1 to finish.
Especially, system of the present invention propagates the secondary of receiving file in order to stop the recipient, also thepicture transmitting element 123 atserver end 1 is provided withprivacy options piece 1232, so that the fail safe of file propagation improves greatly, because to some picture/multimedia file, the sender only is ready that the recipient watches, and be unwilling picture or the multimedia person of being received carry out secondary and propagate, and system of the present invention is provided withprivacy options piece 1232 backs just can prevent the generation that secondary is propagated fully.After selecting secret the transmission, picture/multimedia that the sender sends can only allow the recipient play, and can not preserve at recipient's local disk, if unclassified transmission, the recipient both can watch also and can preserve the picture/multimedia that sends over so.Therefore, if the user selects step S407, then please refer to shown in Fig. 4 c in above-mentioned selection step S403, whetherprivacy options piece 1232 can the prompting user select the secret S408 of transmission.
If what the user selected is unclassified transmission, " privacy options " field of address book 13 is record and this picture of label/multimedia file S416 earlier, promptly " privacy options " field according to user just now selection result be unclassified transmission with this picture/multimedia file label, enter instant forwarding step S417 then, follow the object that the sender can select this picture/multimedia file to receive from the buddy list field of address book 13, behind the object S418 of selective reception, the time option piece 1231 of picture transmitting element 123 can require the sender to select " sending immediately " or " timed sending " S419, the result who selects carries out label S420 by " time option " field of address book 13 to this picture/multimedia file, promptly " time option " field can write down and the label sender to this picture/multimedia transmitting time requirement, " if immediately send " then this picture/multimedia submit to server end 1 send request S421 after, picture transmitting element 123 can send to the recipient with this picture/multimedia at once, the words of " if timed sending ", then after submitting transmission request S421 to, picture transmitting element 123 can send according to time that time that the sender requires this picture/multimedia (send again such as after spending 1 hour or N hour, or * * time * * minute send).
What the user selected when at step S408 is to maintain secrecy when sending, and then theprivacy options piece 1232 ofserver end 1 will be encrypted S412 to the content of picture or multimedia file earlier.Afterprivacy options piece 1232 has been encrypted picture file or multimedia file, to go to above-mentioned steps S416, " privacy options " field record and this picture of label/multimedia file S416 byaddress book 13, promptly " privacy options " field sends this picture/multimedia file label according to user's just now selection result for maintaining secrecy, enter the series of steps behind the above-mentioned instant forwarding step S417 then, at this repeated description no longer.
Then, again with reference to figure 2 and the flow chart when illustrating shown in Fig. 4 a, the 4b that reception client in the method for utilizing the computer background remotely playing slide photos of the present invention is connected with server end.Earlier with reference to shown in the figure 4a, receive client 4 and include logging request module 41, the logging request module 41 input user profile S501 (such as information such as user name, Email email address and passwords) that the recipient is receiving client 4, logging request module 41 will be pointed out and whether preserve this user profile S502 is set, if the user selects, then when logining, do not need to import user profile next time, all do not need the user to import user profile when then logining at every turn if select.Then, the recipient is after selecting login, and logging request module 41 will be connected to the registration authentication module 11 of server end 1, and the user profile of recipient's input is verified S503.Here need to prove, the recipient is as the user that need be authenticated by whole system, when the registration authentication module 11 that is connected to server end 1 is verified, it must also be to send the authenticated user (shown in the flow process among Fig. 3 a) that client 2 can be connected to server end 1 as the sender, that is to say, if being connected to from transmission client 2, the sender can sign in to server end 1 after server end 1 is registered or is proved to be successful, it just can be connected to server end 1 from reception client 4 as the recipient and verify login, and this recipient has also preserved a series of fields of oneself in the address book 13 of server end 1.Like this, in step S503 just now, the registration authentication module 11 of server end 1 will read the field data that is complementary with this checking user from address book 13, whether mate this user is verified such as checking user name and " password " field, if password and user name coupling then checking are passed through, thereby allow recipient's logon server end 1, otherwise turn back to step S501 again.After checking is passed through, the query requests module 42 that reception client 4 comprises will be sent query requests S504 to server end 1, and include in the reception query requests module 14 of server end 1: unit 143 is returned in inquiry receiving element 141, query analysis unit 142, inquiry.Inquiry receiving element 141 is used to receive the query requests that the query requests module 42 of above-mentioned reception client 4 is sent, and this request gone to query analysis unit 442, query analysis unit 142 can be verified this user right S505 according to the user profile of input just now, then send to the own query requests module 42 (S506) that receives client 4 that also this Query Result is back to except whether other user the listed user of " blacklist " field has new picture this recipient of inquiry in the list of data structures of address book 13, that is to say, query analysis unit 142 successively each user name in the inquire address book 13 (recipient is listed in except the user on " blacklist " field) whether corresponding " picture/multimedia gallery " field has licenses to the new pictorial information that the recipient reads and downloads, simultaneously with these pictorial informations and recipient picture storage element 433 (if PC in the picture/multimedia processing module 43 that receives client 4, then be exactly local disk) in picture carry out information relatively, if both information is identical, just show that the recipient has had identical picture/multimedia, then query analysis unit 142 thinks that with regard to judging this picture/multimedia is not new picture/multimedia, for example user C is the recipient, he has added blacklist with user B and user E, query analysis unit 142 is understood inquiring user A successively so, user D, user F, " picture/multimedia gallery " field of user N, and " picture/multimedia gallery " field of inquiring user B and user E no longer.When above-mentioned Query Result returns unit 143 and turns back to the query requests module 42 that receives client 4 from the inquiry of server end 1 after, query requests module 42 will judge whether the recipient has new picture/multimedia S507.If above-mentioned judged result is for denying, just the recipient does not receive new picture, query requests module 42 will be according to idle S518 of a period of time of setting at this moment, receiving client 4 this moment does not just do any action or carries out other step, receive client after leaving unused through a period of time of setting, query requests module 42 is incited somebody to action again the inquiry S504 that the reception query requests module 14 of request server end 1 is carried out new pictorial information again, this step will be gone round and begun again, be connected with server end 1 disconnection up to receiving client 4, perhaps in the Query Result that step S507 judges, there is new pictorial information to return unit 143 and is back to query requests module 42 from inquiry, just go to next step S508, Query Result has comprised new picture/more multimedia attributes and label information, attribute is meant this picture/multimedia file name, type, size, sender's name and time and other incidental information etc., label information is meant the information that this picture/multimedia was once once crossed by some other field record label in " picture/multimedia gallery " field of address book, as by the time option " field label is for belonging to " sending immediately " or " timed sending ", by " privacy options " field label for belonging to " transmission of maintaining secrecy " or " unclassified transmission " etc.
Then, please refer to shown in Fig. 4 b, when the judged result at step S507 is that Query Result has new picture, then queryrequests module 42 new picture/more multimedia attributes that this Query Result is comprised and the label informationpicture analyzing unit 431 that goes to the picture/multimedia processing module 43 that receivesclient 4 carries out pictorial information and analyzes S508, analysis is meant to be discerned incidental attribute of these new picture/multimedias and label information, belonging to " sending immediately " such as this picture/multimedia " time option " field still is " timed sending ", and it still is " unclassified transmission " that " privacy options " field of this picture/multimedia label belongs to " maintain secrecy and send ".Picture analyzing unit 431 can obtain the pictorial information tabulation S509 that will download according to various attributes that obtain from above-mentioned " picture/multimedia gallery " field and label information, follow the transmission data S510 that picturedownload unit 432 will be downloaded according to above-mentioned download list elder generation encryption of obtaining,picture download unit 432 begins to download these new picture/multimedia file S511 more then.
After download finishes, picture/themultimedia playing module 44 ofreception client 4 will be earlier according topicture analyzing unit 431 acquisition download pictures or multimedia various attribute and label information judged whether the sender once selected to maintain secrecy S512 is set when sending picture or multimedia just now before playing these new pictures or multimedia.
If the judged result of above-mentioned steps S512 is for denying, just the sender had not selected to maintain secrecy to this picture/multimedia file and had sent, then picture/multimedia file of downloading by above-mentionedpicture download unit 432 will be kept in thepicture storage element 433 that receivesclient 4, and playing just now picture or the multimedia S513 that downloads byordinary playing unit 441, the recipient can view and admire arbitrarily, preserve and duplicate this picture or multimedia.
If the judged result of above-mentioned steps S512 is for being, just the sender once selected to maintain secrecy to this picture/multimedia file and sent, then before playing, will judge whether this document is multimedia file S514 earlier by speical play unit 442, if judged result is for denying, just this document is picture file rather than multimedia file, for prevent picture by screen copy (such as on the keyboard of computer by carrying out full frame copy by the PrintScreen key), speical play unit 442 is with the function S515 of first shield keyboard screen copy key, play S517 by 442 pairs of these pictures in speical play unit again, make the recipient watch picture and can not preserve or duplicate, thereby prevented that effectively picture from illegally being obtained by undelegated recipient; If the judged result of step S514 is for being; just the sender sends when being multimedia file rather than picture file; for protecting multimedia file without approval by any copy propagation; the preservation and the copy function S516 of multimedia file will be forbidden in speical play unit 442; play this multimedia S517 by speical play unit 442 again; picture or the multimedia file that sends of selecting to maintain secrecy can not be stored in the picture storage element 433 that receives client 4, thereby prevented that the recipient from preserving arbitrarily or duplicating picture or content of multimedia under uncommitted situation yet.
Adopt system and method for the present invention, behind sender's logon server end, the picture that will send uploads to server end, the recipient by the logon server end after, the picture or the multimedia file that will automatically other users be sended over by communication network download on the local reception client, and then play in desktop background.Because everything all is that Automatic Program is carried out, the user feels that similarly being is that the sender directly sends to picture or multimedia file on his screen background, because the user does not need to do the operation of any download and broadcast, picture or multimedia file are play with regard to downloading to desktop background automatically.Wherein, if the sender selects to maintain secrecy when sending to send, can also protect this picture or multimedia file not to be preserved wantonly or to duplicate, and can only watch, in order to avoid file is illegally propagated for the recipient.
In addition, what here will remark additionally is, in the present embodiment, the position that sends client and reception client can exchange, that is to say, as original sender in the transmission client, as long as the reception client has been installed, it also can receive picture/multimedia as the recipient simultaneously, and it is former before this recipient who receives client, as long as the transmission client has been installed, it can send picture/multimedia file as the sender simultaneously, and being not limited to certain user can only be sender or recipient's identity.
Second embodiment
In the description of first embodiment, sender and recipient utilize server end as a terminal with picture or multimedia file transmission and reception, if the sender does not want the picture or the multimedia file that will send are stored into central server, but directly sending to the recipient, system of the present invention also can provide point-to-point send mode.
P-2-P technology comes from LAN-sharing, has now become the irreplaceable a kind of technological means of communication on the internet, and its target is to change the traditional approach of people by the transit server swap file, reaches the purpose of free exchange resource.IBM (IBM) has descended as giving a definition for point-to-point: system is made of the computer of some interconnected cooperations, and have one of following feature at least: system exists with ... the active cooperation of marginalisation (non-central type server) equipment, and each member directly is benefited from other members rather than from the participation of server; The member plays the part of the role of server and client simultaneously in the system; The user of system applies can recognize existence each other, constitutes a virtual or actual colony.Point to point network is the basis of the Internet overall architecture, and the most basic ICP/IP protocol in the Internet does not have the notion of client and server, and in communication process, all equipment all is an end of equality.P-2-P technology has changed the position at " content " place, makes it from " " center " trend " edge " that is to say that not C S pattern is stored in content on the main server for another example, but exists on all users' the PC.
Under point-to-point situation, if send client and receive client simultaneously online, server end can help to send client earlier and receive client and connect, in case after sending client and the reception client successfully having been set up point-to-point the connection, server end just breaks away from and connects, send client and can directly deliver to the desktop that receives client to picture, the specific implementation method is as described below.
Refer now to shown in Figure 6, come in the simple illustration system of the presentinvention server end 1, sendclient 2, receiveclient 4 and the framework schematic diagram ofcommunication network 3 when point-to-point method of attachment:
(1) sender's (being user A) is connected toserver end 1 by sendingclient 2, and whether the good friend's (being user B, C) who inquires about oneself is online;
(2) when recipient's (being user B, C) by receivingclient 4 whencommunication network 3 is connected toserver end 1, sender's (being user A) just can learn that its good friend (being user B, C) is online, and same user B, C can learn that also their good friend user A is also online;
(3) then, when user A will be when user B, C send picture or multimedia,server end 1 will help to set up between them point-to-point connection, after in case point-to-point connection is declared successfully,server end 1 just connects from breaking away between them, this moment, user A did not just pass throughserver end 1 to user B, C transmission picture or multimedia file, but directly send throughcommunication network 3, the picture that the automatic download user A of reception client meeting at user B, C place sends just can be play on the computer desktop background at user B, C after receiving.
Then, illustrate that with reference to structured flowchart shown in Figure 7 the present invention utilizes the method for computer background remotely playing slide photos and the detailed process of system thereof.
Sender's (being called user A down) is connected toserver end 1 by thelogging request module 21 that sendsclient 2, with identical among first embodiment, the process that needs are verified through theregistration authentication module 11 ofserver end 1, can just not give unnecessary details at this with reference to shown in the proof procedure of Fig. 3 a among first embodiment.After being proved to be successful, sendingclient 2 can logonserver end 1 and use other functional module on the server end 1.Then, sendclient 2 and can adopt UDP (a kind of User Datagram Protocol, be the communication protocol of TCP/IP standard, use udp protocol to communicate in the present embodiment, can certainly adopt other agreement to communicate) give out a contract for a project toserver end 1, this UDP has comprised the user profile of userA.Server end 1 can obtain sending the IP and the port ofclient 2 with CSocket::GetPeerName (), but IP that obtains and port should be public network PublicIP and the mapped port NatPort thereof that sends the proxy gateway ofclient 2, and this mapped port is exactly this UDP communication interim Nat port that distribute of the proxy gateway of user A fortransmission client 2.
Server end 1 will send the public network IP of client 2, mapped port, user profile etc. are saved in the list of data structures of address book 15, address book 15 is similar with address book 13 functions in first embodiment, it also is to be ranked with horizontal field by user longitudinally to rank the list of data structures that constitutes, just list slightly variant at horizontal field name, as shown in Figure 8, the name of user name list storage registered users longitudinally, such as user A, user B, user N, and horizontal field name is listed in and is divided into fixed field and interim field in the address book 15 of present embodiment, fixed field comprises compositions such as " passwords; buddy list; blacklist ", after content in its field is stored in address book 15, user login services device end 1 (reaching the standard grade) still is connected (rolling off the production line) with server end 1 disconnection and all can be stored in the address book 15, have only by the user and revise voluntarily just and can change, interim field then comprises compositions such as " public network IP; mapped port ", content in its field is not empty during logon server end 1 (rolling off the production line) the user, have only after the user signs in to server end 1 and (reach the standard grade), will be according to being stored in the interim field after the interim distribution of user's connection situation at that time, in case the user is connected (rolling off the production line) these ephemeral datas with server end 1 disconnection then is cleared.In address book 15, the corresponding user name corresponding of one group of data of each field that is to say the corresponding one group of corresponding field of each user name, and for example " password " field of user A correspondence is Ax, " buddy list " field is A1, A2..., An, " blacklist " field is AH1, AH2..., AHn, " password " field of party B-subscriber's correspondence is Bx, " buddy list " field is B1, B2..., Bn, " blacklist " field is BH1, BH2..., BHn, the rest may be inferred, and each user's information and field data all are stored in the list of data structures of address book 15.Like this, behind the transmission client 2 successful logon server ends 1, public network IP, mapped port and user's out of Memory etc. that server end 1 will send client 2 are saved in the respective field title of address book 15, indicate that like this user A reaches the standard grade.
Then,server end 1 will be positioned at other online user on " buddy list " field ofaddress book 15 of the user A user of success login (is connected withserver end 1 and) information at once and send back to thetransmission client 2 at user A place, comprise these online users' the public network IP of proxy gateway and Nat port etc.,transmission client 2 same these information with the online user are kept in theaddress book 15 and are shown as tabulation, and expects users A makes a choice.
For thereception client 4 at recipient's (calling user B in the following text) place, after loggingrequest module 41 signs in toserver end 1, the process the same with sendingclient 2 arranged equally, just repeat no more at this.
When user A begins to send picture or multimedia to the good friend, elder generation is from thepicture storage element 221 interior picture or the multimedia files that need to select transmission of the picture/multimedia processing module 22 oftransmission client 2, and then the object of selection transmission, to send to online user B such as from " buddy list " field ofaddress book 15, selecting, before picture or multimedia being sent bypicture uploading unit 222, sendclient 2 and at first will send out a checking bag (being the UDP bag) here to the public network IP and the Nat port that receiveclient 4, and send out a checking bag (being the UDP bag) immediately and giveserver end 1, allowserver end 1 go to notify user B place to receiveclient 4,command reception client 4 also sends out a checking bag (UDP bag) for transmission client 2.All preserved port mapping relation separately owing to sendclient 2 and receiveclient 4 gateway separately, be dealt into the data of gateway, gateway can be transmitted to according to these mapping relations and sendclient 2 and receiveclient 4.
After sendingclient 2 and receiving the checking bag (being the UDP bag) thatclient 4 receives respectively that all the other side sends, connect and declare successfully,server end 1 promptly can break away from and send being connected ofclient 2 andreception client 4 at this moment, promptly sendsclient 2 and can directly realize the point-to-point communication that is connected bycommunication network 3 withreception client 4.
Then, sendclient 2 and begin to send picture or multimedia file bypicture uploading unit 222,4picture download units 432 by picture/multimedia processing module 43 of reception client receive picture or multimedia files and are saved in thepicture storage element 433, after downloading successfully, user B just can be by picture/multimedia playing module 44 playing pictures or multimedia file on the desktop background of local computer.
Above-mentioned P-2-P technology has been used the NAT technology of often using in the network service now, below once to the NAT technological overview:
The NAT technology can be carried out transparent relay for the partial information of TCP, UDP and ICMP.NAT technology specific implementation method is to realize the multiplexing of IP address by the IP map addresses.The NAT gateway has served as the role of router, and all network packet of going out all must be routed to the NAT gateway; Equally, all are also necessary through the NAT gateway by the network packet that outer net mails to Intranet.The NAT gateway will be mapped as an Internet legal address by the source address of in-house network in the packet that extranets send, and the destination address in the packet of ecto-entad will be replaced to corresponding Intranet IP address by certain rule.The NAT gateway has interior network interface and outer network interface, and wherein outer network interface links to each other with Internet, must have legitimate ip address, interior network interface then links to each other with Intranet, can distribute an Intranet IP address of any appointment, generally speaking, this IP address is exactly the default gateway of internal host.A private network 10.*.*.* is for example arranged, and Client A is a computer wherein, and the outer net IP of the gateway of this network (NAT device) is 155.99.25.11 (the IP address of an Intranet is such as 10.0.0.10).If certain process among the Client A (this process creation a UDPSocket, this Socket binds 1234 ports) 1235 ports of wanting to visit outer net main frame 18.181.0.31, so at first NAT can change the former IP address of this packet, change 155.99.25.11 into, then NAT can create a Session for this transmission, and distribute a port for this Session, such as 62000, the source port that changes this packet then is 62000.So be that the packet of (10.0.0.1:1234-〉18.181.0.31:1235) has arrived on the Internet and become (155.99.25.11:62000-〉18.181.0.31:1235) originally.In case after NAT had created a Session, what NAT can remember 62000 port correspondences was 1234 ports of 10.0.0.1, later on the data that send to 62000 ports from 18.181.0.31 can be forwarded on the 10.0.0.1 automatically by NAT.(note: be to say that the data that 18.181.0.31 sends to 62000 ports can be forwarded here, other IP sends to the data of this port and will be abandoned by NAT) like this Client A just with Server S1 foundation with one be connected.
This shows, utilize above-mentioned point-to-point mode to send, the sender can directly select picture or multimedia to send to the recipient from sending client, need not earlier picture or multimedia file be dumped to server end, save time more, concerning server end, can be reduced in the load of the recipient that receives client generation when server end is downloaded greatly.Concerning receiving client, still following server end downloads the same, as long as it is online, picture will receive the local reception client automatically and play in desktop background automatically, and need manually to receive and need play by other software pop-up windows unlike other point-to-point transmission file modes such as MSN, because of the present inventionly play automatically in desktop background that need manually to play by pop-up window with other be to possess diverse impression and mode.
In addition, what here will remark additionally is, in the present embodiment, the position that sends client and reception client can exchange, that is to say, former before this at the user A of transmission client as the sender, as long as the reception client has been installed, it also can receive picture file as the recipient simultaneously, and it is former before this at the user B of reception client as the recipient, as long as the transmission client has been installed, it also can send picture as the sender simultaneously, and being not limited to certain user can only be sender or recipient's identity.
Sum up
Can see by two above-mentioned embodiment, the present invention has very flexible and changeable load mode, both can directly carry out the transmission of picture/multimedia file between sender and the recipient, and also can not use server end to transmit and receive picture/multimedia as terminal by setting up point-to-point connection by point-to-point connected mode.When using point-to-point connected mode, help to send client and receive client by server end earlier and connect, in case after sending client and the reception client having been set up point-to-point the connection, server end just breaks away from and connects, send client and can directly deliver to the desktop that receives client to picture, on recipient's computer desktop background, play then; When adopting server end as the load mode of terminal, the sender only needs to connect with server end, picture is sent on the server end, after recipient's reception client detects, just can play from the server end download pictures and in the desktop background of computer automatically.
Two kinds of execution modes of the present invention, each has something to recommend him, point-to-point mode transmits picture not by server end, saves the delivery time, and the server end load reduces, but must sender and the simultaneously online process that sends and receive of just finishing of recipient; Non-point-to-point mode need utilize server end to store picture or multimedia file as terminal, the operation that sender and recipient send or receive all needs the support of server end, therefore the operating load of server end is bigger, but this mode does not need sender and recipient simultaneously online, the sender is sending picture behind server end, no matter be online or roll off the production line, after as long as the recipient connects the logon server end, whether have new picture send to oneself, download the back then automatically and play on the desktop background of computer if just can inquire about other user automatically.But no matter two kinds of execution modes are to take anyly, receive and show and see picture from sending to the opposing party, and the time interval is very short, and effect is as in real time.
In sum, the present invention wards off its footpath in addition, make full use of the background of computer, because no matter be WINDOWS, LINUX operating system, screen background is all arranged, and, traditional situation be all not with Background as showing picture frame, and it is directly continuous mutually to allow the user pass through network, the function of communicating with each other.The present invention need not eject new window (covering other windows) and watch demonstration, and its unique distinction is arranged, can allow picture and multimedia file transmission and share more conveniently, in time and safety, on desktop background, play and do not influence work to greatest extent.
Conveniently refer to: utilize the present invention, the user is after signing in to server end, select oneself to want the photo shared, give the friend of oneself, if it is just in time online to issue those friends, their computer background can show these pictures or multimedia file automatically in the very short time so, is pleasantly surprised unexpectedly to friends.Because be to manifest automatically, do not need manually to do any action, no matter old and young, whether specialty or not, as long as watch is exactly.And for the friend of off-line, as long as they open computer, in case online can be downloaded up-to-date picture and multimedia file automatically just receive client, and play in order on the desktop background of this machine.The benefit of playing on background is exactly not need to eject new file window, can not cover other operation windows, so sensation that can influential work, and, still show the icon of program on the Background, do not influence work, so can an edge work, appreciate the photo newly received on one side.
In time refer to: the sender is as long as send new picture at server end, and recipient's reception client just can be inquired about new picture automatically, and downloads in the shortest time, and the desktop of delivering to the recipient then shows.
And safety refers to: the sender can select to maintain secrecy and send, thereby protects some pictures or multimedia file the person of being received not to preserve arbitrarily or to duplicate, in order to avoid file is propagated by illegal secondary.
The computer background that system and method for the present invention sets off static, single originally conduct, become an opening and give global digital picture frame window, open to being ready open friend in the worldwide, simultaneously computer is also become a digital picture frame, be chosen in that desktop background is play and the function that do not influence computer, not only can play local content continuously with the mode of magic lantern, can also play long-range content in the mode of individual or many magic lanterns, background be can be described as make full use of its always uncared-for function of performance.The sender sent photo on recipient's the screen in the past immediately, received automatically in real time and play, and may bring pleasantly surprised when every day is per to you! At this moment a kind of brand-new intention, brand-new close friend's mode.
Though the present invention describes with reference to current specific embodiment, but those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, under the situation that does not break away from spirit of the present invention, also can make the variation or the replacement of various equivalences, therefore, as long as in connotation scope of the present invention in the scope to the variation of the foregoing description, claims that modification all will drop on the application.
About other correlation technique content among the present invention:
1. technological means:
About receiving the picture/multimedia playing module of client, be the interface that adopts among the Windows Shell API: IactiveDesktop, by operation realizes to the correlation function in this interface; About the network transmission function of utilizing communication network to realize, adopted Socket on http protocol to realize; Program is provided with the aspect, adopts the various menu option of the message function response transmission client of windows; Carry out when in addition, also adopting multithreading to realize each functional module such as broadcast, download.
2. technical scheme and operation principle:
Receive the realization of client in the windows system, can be divided into scheduling controlling, Network Transmission, program setting, involved technical scheme and the operation principle of picture demonstration substantially, now be described as follows:
(1) scheduling controlling
Scheduling controlling is the control centre of whole reception client operation, mainly adopts correlation techniques such as multithreading, message function, priority to control the mutual scheduling of each module.
Multithreading: realize that broadcast, download, cpu busy percentage and mouse state etc. carry out simultaneously;
The message function: the user all by the message transmission, realizes difference in functionality to the operation of all modules of reception client;
Priority: receive the state that client reads CPU on time, judge thread that whether system have other in operation, have wait for that then other threads are finished after, continue to receive the operation of client, avoided phenomenon with other thread preempting resources of system.
(2) Network Transmission
Network Transmission is the part that is in the bottom, and the charge server end exchanges with data with the communication that sends client, receive between the client.System of the present invention can adopt the Socket on http protocol to realize the major function of transport module.
HTTP is the protocol specification of a maturation, and the agreement that http protocol is concentrated with other ICP/IP protocol is the same, follows CLIENT work.Communication between ICP/IP protocol collection agreement is finished by Socket, send client and receive client and send host by socket, url, Accept, direct visit such as User-Agent is in each functional module on the server end, and each functional module is handled association requests by the parameter that obtains, and sends back to the transmission client and receive client, flow process is simple like this, and the functional requirement such as change, upgrading of Control Server end flexibly.Implementation combine simultaneously socket communication in real time, good characteristics such as the encapsulation of quick calcaneus rete network service, coupling, reach preferable Network Transmission mode combinations.
About data transmission, what system of the present invention had adopted current popular also is the md5 encryption algorithm of comparative maturity, has guaranteed the fail safe of sensitive data in the user profile.
(3) program setting
The program setting is the intermediate level that is in the native system operation, and realization is directly mutual with the user's, and therefore a human, easy-operating interface are arranged is the characteristic of key.The main state value that adopts windows message function to obtain button.
When the reception client applies in the windows system, what the menu that is provided with after its each functional module decomposition adopted is the employed pallet display menu of present many remote dialogue instruments mode, and the user is as long as startup reception client set icon in the windows system promptly can be realized the custom configuration to whole system.At with the comparison of other communication softwares and the characteristic of self software, its menu can offer the following several options of user:
1) plays
2) suspend
3) stop (recovery desktop)
4) be provided with (comprise broadcast path, store path, the picture interval (2 seconds, 5 seconds, 10 seconds, 30 seconds, 1 minute), photo pixel (press screen pixel convergent-divergent, show), prompting download the tinkle of bells by former figure, automatically login, the automatically playing new picture shows download message, information displays the play.
5) Play Control (picture is placed in the middle, stretches tiling, F.F., rewind down, time-out, broadcast)
6) show desktop icons
7) hide desktop icons (mouse is hidden desktop icons automatically after static 10 seconds, mouse moves and shows desktop icons)
8) login
9) with new user's login
10) receive history
11) operation instruction (operating procedure of software)
12) about (version number, copyright, current state (online or off-line), login username, connection website, login time)
13) withdraw from (recovering original background picture)
(4) picture shows
Picture show be in the whole procedure directly in the face of user's end interface, the program that the picture/multimedia playing module that promptly receives client is play the picture after downloading or multimedia file also is the main operation module that receives in the client.
Receive client and utilize the computer background remotely playing slide photos, the main technology that adopts is the interface among the WindowsShell API: IActiveDesktop.This interface can be realized the functional requirement of system of the present invention fully, and the developer can customize reduction according to demand.
Function call in this interface com component, need be before calling these functions, initialization com component, AfxOleInit ().
Mainly called the api function of following windows about the effect that Shows Picture:
1) HRESULT SetWallpaper (LPCWSTR pwszWallpaper, DWORD dwReserved) is provided with desktop background;
2)HRESULT?SetWallpaperOptions(LPCWALLPAPEROPT?pwpo,DWORDdwReserved);
3) WALLPAPEROPT wpo is provided with the pattern of desktop background picture by the dwstyle item of wpo;
4) HRESULT ApplyChanges (DWORD dwFlags), the setting of using desktop background;
5) HRESULT GetWallpaper (LPWSTR pwszWallpaper, UINT cchWallpaper, DWORD dwReserved) reads the filename of desktop background and is printed in the debug window.
5. and system coordination
The tight situation that receives the operation of client meeting automatic checkout system is adjusted operation, and purpose is to accomplish not influence other work operation of user.