Summary of the invention
Technical problem to be solved by this invention is to provide a kind of multimedia share system and method based on wifi network, and guarantee that mobile handheld terminal user does not need to visit again any network address in any wifi network environment that multimedia resource is provided, just can in multimedia player, obtain music sources list, and online play multimedia or download after play again.Improving local area network (LAN) utilance and the better media of existing wifi network shares.
For solving the problems of the technologies described above, the present invention adopts following solution:
A multimedia share system for wifi network, this system comprises:
Multimedia server, it supports wifi focus function, for sharing resource by wifi focus, and the multimedia resource that mobile handheld terminal equipment is set is shared authority;
Mobile handheld terminal equipment, it supports wifi function and multi-media player function, for being connected to described multimedia server by wifi network; Obtain the multimedia resource list on multimedia server, according to above-mentioned multimedia resource list is online, play or download multimedia resource;
Wifi network, the wifi network environment of being set up by multimedia server, the wifi focus that mobile handheld terminal equipment is set up by it is connected with multimedia server, and obtains the IP address that multimedia server distributes.
Preferably, described multimedia server or mobile handheld terminal equipment comprise the server with wifi focus function, mobile communication equipment, and hand-hold electronic equipments.
Preferably, described mobile communication equipment comprises mobile phone, mobile phone, notebook computer, net book, the Portable tablet personal computer of supporting wifi focus function.
Preferably, described hand-hold electronic equipments comprises MP3, MP4, PHP, PDA, Digital Television, e-book.
The present invention also provides a kind of multimedia sharing method based on wifi network, and the method comprises the steps:
Multimedia server is shared its multimedia resource, and the multimedia resource that mobile handheld terminal equipment is set is shared authority;
Mobile handheld terminal equipment obtains multimedia resource list;
Mobile handheld terminal equipment obtains after multimedia resource list, the online broadcasting or download multimedia resource of content showing according to this multimedia resource list.
Preferably, multimedia server is shared its multimedia resource and is comprised the steps:
Described multimedia server is opened wifi focus function;
Multimedia server arranges to open to be shared or to cancel the authority of sharing multimedia resource;
If multimedia server is provided with, open the authority of sharing multimedia resource, open and share the multimedia resource on multimedia server.
Preferably, mobile handheld terminal equipment according to the multimedia resource of multimedia server setting, share that authority is uploaded local multimedia resource or mapping path to multimedia server, by multimedia server, be shared with other users.
Preferably, the method that described mobile handheld terminal equipment obtains multimedia resource list comprises:
Mobile handheld terminal equipment carries out authentication by wifi and is connected with multimedia server, opens multimedia player after connection, at once obtains multimedia resource list; Or
Mobile handheld terminal equipment is wanted querying condition by input on its multimedia player, and sends on multimedia server; Multimedia server generates multimedia resource list and sends to mobile handheld terminal equipment according to querying condition; Mobile handheld terminal equipment obtains above-mentioned multimedia resource list.
Preferably, mobile handheld terminal equipment judges whether multimedia server supports mobile handheld terminal to share multimedia resource, and judges whether mobile handheld terminal has the authority of sharing multimedia resource;
If multimedia server supports mobile handheld terminal to share multimedia resource, and mobile handheld terminal has the authority of sharing multimedia resource, and mobile handheld terminal is shared its local multimedia resource.
The present invention has following beneficial effect:
In the present invention, work as PE, set up the wifi network environment of multimedia server.As on dining room, train, long-distance bus, bus.Mobile handheld terminal user can open wifi and be connected with the focus of Servers installed, opens multimedia player and just can obtain the shared multimedia resource list of server; So just can on mobile handheld terminal, appreciate music and the video on server.For having dinner, bring different enjoyment with road, also make user to being the lifting of public service satisfaction.Meanwhile, as in small home party, at a mobile handheld terminal, provide the wifi network environment of multimedia service, so no matter, as long as other members are connected to this focus in any one corner, just can share music and video in family still in the wild.Also the multimedia resource that can share oneself by multimedia server is given other friends.
Embodiment
Below in conjunction with accompanying drawing and exemplifying embodiment, the present invention is described in further detail.
Multimedia share system based on wifi network provided by the invention, this system comprises:
Multimedia server, it supports wifi focus function, for sharing resource by wifi focus, and the multimedia resource that mobile handheld terminal equipment is set is shared authority.
Mobile handheld terminal equipment, it supports wifi function and multi-media player function, for being connected to described multimedia server by wifi network; Obtain the multimedia resource list on multimedia server, according to above-mentioned multimedia resource list is online, play or download multimedia resource.
Wifi network, the wifi network environment of being set up by multimedia server, the wifi focus that mobile handheld terminal equipment is set up by it is connected with multimedia server, and obtains the IP address that multimedia server distributes.
Described multimedia server or mobile handheld terminal equipment comprise the server with wifi focus function, mobile communication equipment, and hand-hold electronic equipments.
Described mobile communication equipment comprises mobile phone, mobile phone, notebook computer, net book, the Portable tablet personal computer of supporting wifi focus function.
Described hand-hold electronic equipments comprises MP3, MP4, PHP, PDA, Digital Television, e-book.
The present invention also provides a kind of multimedia sharing method based on wifi network, and the method comprises the steps:
Multimedia server is shared its multimedia resource, and the multimedia resource that mobile handheld terminal equipment is set is shared authority;
Mobile handheld terminal equipment obtains multimedia resource list;
Mobile handheld terminal equipment obtains after multimedia resource list, the online broadcasting or download multimedia resource of content showing according to this multimedia resource list.
Multimedia server is shared its multimedia resource and is comprised the steps:
Described multimedia server is opened wifi focus function;
Multimedia server arranges to open to be shared or to cancel the authority of sharing multimedia resource;
If multimedia server is provided with, open the authority of sharing multimedia resource, open and share the multimedia resource on multimedia server.
Mobile handheld terminal equipment according to the multimedia resource of multimedia server setting, share that authority is uploaded local multimedia resource or mapping path to multimedia server, by multimedia server, be shared with other users.
The method that described mobile handheld terminal equipment obtains multimedia resource list comprises:
Mobile handheld terminal equipment carries out authentication by wifi and is connected with multimedia server, opens multimedia player after connection, at once obtains multimedia resource list; Or
Mobile handheld terminal equipment is wanted querying condition by input on its multimedia player, and sends on multimedia server; Multimedia server generates multimedia resource list and sends to mobile handheld terminal equipment according to querying condition; Mobile handheld terminal equipment obtains above-mentioned multimedia resource list.
Mobile handheld terminal equipment judges whether multimedia server supports mobile handheld terminal to share multimedia resource, and judges whether mobile handheld terminal has the authority of sharing multimedia resource;
If multimedia server supports mobile handheld terminal to share multimedia resource, and mobile handheld terminal has the authority of sharing multimedia resource, and mobile handheld terminal is shared its local multimedia resource.
In this exemplifying embodiment, the system that the multimedia of realization based on wifi shared comprises multimedia server, mobile handheld terminal wifi device, mobile handheld terminal multimedia player, the wifi network with wifi focus function;
Wherein, multimedia server with wifi focus function is the mobile communication equipments such as all mobile phones with wifi focus function, mobile phone, notebook computer, net book, Portable tablet personal computer, and as the hand-hold electronic equipments such as MP3, MP4, PHP, PDA, Digital Television, e-book or common server and the synthetic equipment of wifi groups of routers; Mobile handheld terminal wifi device is exactly the wifi of mobile terminal; Mobile handheld terminal multimedia player is exactly the music player that carries of handheld terminal, video player or the multimedia player installed afterwards; Wifi network is exactly the wifi network environment of setting up by multimedia server.In the present embodiment, the method that the multimedia of realization based on wifi shared comprises following several processing procedures:
Wherein equipment comprises:
101, with the multimedia server of wifi focus function, by wifi focus, share the multimedia resources such as music.
102, mobile handheld terminal, is connected on multimedia server by wifi; Open multimedia player and get the multimedia resource list of sharing on multimedia server, according to list is online, plays or download.
As shown in Figure 1, detailed process is as follows for realization flow:
S1, multimedia server are shared multimedia resource.Idiographic flow is as Fig. 2:
201: multimedia server is opened wifi focus function;
202: multimedia resource is set and shares authority, as whether allowed that terminal use shares its multimedia resource;
203: open multimedia and share.
S2, mobile handheld terminal connect multimedia server focus;
S3, multimedia server focus distributing IP are to mobile handheld terminal;
S4, mobile handheld terminal user open multimedia player;
S5, mobile handheld terminal send the multimedia list instruction obtaining on server and arrive multimedia server;
S6, multimedia server transmit multimedia resource list to handheld terminal, and multimedia resource list is content as follows:
| Music A | Storage address 1 | … |
| Video B | Storage address 2 | … |
| Music C | Storage address 3 | … |
| … | … | … |
S7, mobile handheld terminal obtain multimedia resource list, and are shown on multimedia player according to multimedia resource list content, and can be according to the online broadcasting of display list content or down-load music or the video on multimedia player.
What wherein, S2 and S3 can be with accompanying drawings 3 is 301 corresponding; 302 corresponding with accompanying drawing 3 of S4, S5-S7 is corresponding with the 303-305 in accompanying drawing 3.
Mobile handheld terminal has search and the function of sharing multimedia resource:
A) searching multimedia resource function flow process is as shown in Figure 4:
401: the music that input will be inquired about on multimedia player or the condition of video, send on server;
402: server generates list according to querying condition;
403: mobile handheld terminal obtains the list that server generates;
404: on multimedia player, show the content of obtaining.
B) functional sequence of sharing multimedia resource is as shown in Figure 5:
501: judge whether server supports other users to share Multimedia Resource Function, and judgement user has the authority of sharing multimedia resource;
502: the mode of selecting to share multimedia resource.
1) local multimedia resource is uploaded on multimedia server;
2) multimedia resource of user A is still saved in user A this locality, and multimedia path is mapped on server.It is to download from user A that other users obtain multimedia resource.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment, the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can modify or be equal to replacement technical scheme of the present invention, and do not depart from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of claim scope of the present invention.