CN106550024A - The storage of media file and acquisition methods, Portal server and terminal in the Portal pages - Google Patents

The storage of media file and acquisition methods, Portal server and terminal in the Portal pages Download PDF

Info

Publication number
CN106550024A
CN106550024A CN201610933649.8A CN201610933649A CN106550024A CN 106550024 A CN106550024 A CN 106550024A CN 201610933649 A CN201610933649 A CN 201610933649A CN 106550024 A CN106550024 A CN 106550024A
Authority
CN
China
Prior art keywords
media file
sub
wireless aps
portal
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610933649.8A
Other languages
Chinese (zh)
Inventor
乐毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201610933649.8A priority Critical patent/CN106550024A/en
Publication of CN106550024A publication Critical patent/CN106550024A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The invention provides the storage of media file and acquisition methods, Portal server and terminal in a kind of Portal pages, wherein, the storage method includes:S1 obtains the quantity of wireless aps in LAN;S2 determines media file to be cut;Media file is carried out cutting according to the quantity of wireless aps in the LAN and obtains sub- media file by S3;The URLs of the media file is carried out division according to the quantity of wireless aps in the LAN and obtains child resource finger URL by S4;Each sub- media file corresponding child resource finger URL is pointed to its storage location by S5, wherein, each sub- media file is issued in each wireless aps one by one and is stored by cloud controller.So, the big media file that takes up room just successfully can disperse to be placed in the caching of each wireless aps, the performance of single wireless aps be impacted when efficiently solving the problems, such as that media file is excessive in the Portal pages.

Description

The storage of media file and acquisition methods in the Portal pages, Portal server and Terminal
Technical field
The present invention relates to the storage method of media file in communication technical field, more particularly to a kind of Portal pages, one Plant Portal page acquisition methods, a kind of Portal server and a kind of terminal.
Background technology
With increasing for wireless network covering area, using the mobile terminals such as mobile phone connection wireless network access internet With regard to more and more.Portal (door) certification is one of popular technique of wireless network access authentication, when user accesses a certain nothing During gauze network, the meeting automatic spring Portal pages point out user input accounts information, to complete access authentication.Access when simultaneously Customer volume than it is larger when, it will directly affect the performance of Portal certifications, become one impact Consumer's Experience it is important because Element, especially in the big commercial circle of wireless coverage, enterprise et al. the larger place of flow-rate ratio.
In general, all can be solved the above problems by the way of hardware is increased, such as set up independent Portal server Or form the cluster of multiple Portal server.It is of course also possible to solve broadband Portal by way of increasing the network bandwidth Occur the problem of broadband bottleneck during page downloading, but these solutions undoubtedly can all increase cost, consume excessive network money Source.When network size and especially big customer volume, Portal server and broadband will also certainly will be doubled and redoubled, with cost pressure It is increasing, network topology and framework also become increasingly complex.
By the Portal pages or than larger media file, such as picture, GIF animations or video file are stored in wireless aps It is another kind of the more commonly used means that the Flash of (Access Point, access points) is cached.When user is by movement When terminal accesses wireless aps, directly the Portal pages are obtained from the local cache of wireless aps, be sent to so as to substantially reduce the number The request of Portal server.In the technical scheme, as Portal certification pages are in AP local caches and obtain, no longer go up Row is issued from Portal server, is also just reduced the network bandwidth pressure of Portal server, is solved to a certain extent The performance issue of Portal.
But, as in the Portal pages, itself may be wanted comprising some advertisers than larger media file, are particularly Ask the picture and video cartoon of high-resolution, if these media files are too big too many, need wireless aps have bigger internal memory and Flash spaces could cache, and this can undoubtedly cause the cost of wireless aps to be difficult to bear, and become Portal page caches in nothing The local maximum obstructions of line AP.It can be seen that, the acquisition of Portal certification pages how is resolved while wireless aps cost is controlled Become a technical problem for being badly in need of solving.
The content of the invention
For the problems referred to above, the invention provides the storage method of media file, one kind in a kind of Portal pages Portal page acquisition methods, a kind of Portal server and a kind of terminal, efficiently solve Portal page in prior art The technical problem of authentication performance is affected in the acquisition process of face.
The technical scheme that the present invention is provided is as follows:
The storage method of media file in a kind of Portal pages, is applied to Portal server, wraps in same LAN Communicated to connect with each wireless aps and cloud controller containing multiple wireless aps, and the Portal server respectively, the storage method Include:
S1 obtains the quantity of wireless aps in LAN;
S2 determines media file to be cut;
Media file is carried out cutting according to the quantity of wireless aps in the LAN and obtains sub- media file, the sub- matchmaker by S3 Body file is corresponded with wireless aps;
The URLs of the media file is carried out division according to the quantity of wireless aps in the LAN and obtains sub- money by S4 Source finger URL, the child resource finger URL are corresponded with sub- media file;
Each sub- media file corresponding child resource finger URL is pointed to its storage location by S5, wherein, each sub- media file by During cloud controller is issued to each wireless aps one by one and stored.
It is further preferred that in step S2, determining that media file to be cut is specially:According to media text in the Portal pages Part committed memory space size determines media file to be cut.
It is further preferred that in step S3, media file is carried out cutting according to the quantity of wireless aps in the LAN It is specially to sub- media file:Media file is carried out by decile according to the quantity of wireless aps in the LAN and obtains each sub- media text Part.
Present invention also offers a kind of Portal pages acquisition methods, are applied to terminal, the Portal pages acquisition side Method includes above-mentioned storage method, also includes in the Portal pages acquisition methods:
Any one wireless aps in S10 connection LANs, concurrently serve net request;
S20 is redirected the URLs for obtaining and carries out jumping to the Portal pages according to wireless aps based on online request;
S30 obtains the child resource finger URL of each sub- media file according to the URLs, and then obtains from each wireless aps kind Take corresponding sub- media file;
Each sub- media file is carried out splicing and obtains media file by S40, and is shown in the Portal pages.
It is further preferred that also including the step of re-request during any one sub- media file reception failure in step s 30 Suddenly, specifically include:
S31 terminals send son to Portal server according to the corresponding child resource finger URL of sub- media file of reception failure Media file retransmits request;
S32Portal servers point to corresponding sub- media text according to the child resource finger URL in the repeating transmission request for receiving Part, and corresponding sub- media file is responded to terminal;
S33 terminals receive the sub- media file, jump to step S40.
Present invention also offers a kind of Portal server, includes multiple wireless aps in same LAN, and it is described Portal server is communicated to connect with each wireless aps and cloud controller respectively, and the Portal server includes:
Data obtaining module, for obtaining the quantity of wireless aps in LAN;
Media file to be cut confirms module, for determining media file to be cut;
Media file cutting module, the quantity for wireless aps in the LAN that got according to data obtaining module will Media file carries out cutting and obtains sub- media file, and the sub- media file is corresponded with wireless aps;
URLs division module, for the quantity of wireless aps in the LAN that got according to data obtaining module The URLs of the media file is carried out into division and obtains child resource finger URL, the child resource finger URL and sub- media file Correspond;
Information sending module, for each sub- media file is sent to cloud controller;
URLs points to module, for each sub- media file corresponding child resource finger URL is pointed to its storage position Put, wherein, each sub- media file is issued in each wireless aps one by one and is stored by cloud controller.
It is further preferred that in media file to be cut confirms module, being taken according to media file in the Portal pages Memory headroom size determines media file to be cut;And/or,
In media file cutting module, media file is carried out by decile according to the quantity of wireless aps in the LAN and is obtained Each sub- media file.
Present invention also offers a kind of terminal, the terminal is communicated to connect with each wireless aps and Portal server respectively, The terminal includes:
Request sending module, for online request is sent after any one wireless aps in LAN in connection;
Page jump module, is jumped for redirecting the URLs for obtaining based on online request according to wireless aps Turn;
Sub- media file acquisition module, the child resource for each sub- media file is obtained according to the URLs are positioned Symbol, and then corresponding sub- media file is obtained from each media file storage wireless aps kind;
Portal page acquisition modules, obtain media file for each sub- media file is carried out splicing, and Show in the Portal pages.
It is further preferred that in the terminal, also include request repeat module, for according to sub- media file acquisition module The middle corresponding child resource finger URL of sub- media file for obtaining failure sends sub- media file to Portal server and retransmits request;
Sub- media file acquisition module receives the sub- matchmaker that Portal server is re-issued according to the repeating transmission request for receiving Body file;The sub- media file for receiving is carried out splicing with existing sub- media file and obtains matchmaker by Portal page acquisition modules Body file, and show in the Portal pages.
Compared with prior art, the beneficial effects of the present invention is:
In the Portal pages that the present invention is provided in the storage method of media file, do not increasing extra Portal services On the premise of device and other hardware devices, the quantity of wireless aps in LAN counted, and according to the quantity of wireless aps by Portal Take up room in the page big media file, and such as big picture etc. carries out cutting whole into sections, the sub- media for obtaining segmentation afterwards File is respectively stored in each wireless aps.So, the big media file that takes up room just successfully can disperse to be placed on each wireless In the caching of AP, efficiently solve media file in the Portal pages it is excessive when the performance of single wireless aps is impacted ask Topic.
In the Portal page acquisition methods that the present invention is provided, when any one wireless aps in terminal accessing LAN, Portal server issues the Portal pages to terminal, and at the same time, the media file in the Portal pages can be from same local Obtain in each wireless aps local cache of net.It can be seen that, in large-scale access LAN, it is no longer necessary to Portal server The Portal pages are issued in requesting terminal one by one, the user load amount of Portal server are greatly reduced, is improved The loading speed of the Portal pages, so as to improve Consumer's Experience.
Description of the drawings
Below by the way of clearly understandable, preferred embodiment is described with reference to the drawings, to above-mentioned characteristic, technical characteristic, Advantage and its implementation are further described.
Fig. 1 is the storage method schematic flow sheet of media file in the Portal pages in the present invention;
Fig. 2 is Portal page acquisition methods schematic flow sheets in the present invention;
Fig. 3 is Portal server structural representation in the present invention;
Fig. 4 is a kind of embodiment structural representation of terminal in the present invention;
Fig. 5 is terminal another embodiment structural representation in the present invention.
Drawing reference numeral explanation:
100-Portal servers, 110- data obtaining modules, 120- media files to be cut confirm module, 130- media File cutting module, 140- URLs division modules, 150- information sending modules, 160- URLs point to module, 200- terminals, 210- request sending modules, 220- page jump modules, the sub- media file acquisition modules of 230-, 240-Portal Page acquisition module, 250- request repeat modules.
Specific embodiment
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by control description of the drawings The specific embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings Accompanying drawing, and obtain other embodiments.
The storage method schematic flow sheet of media file in the Portal pages of present invention offer is illustrated in figure 1, this is deposited Method for storing is applied to Portal server.Furthermore, it is understood that the storage method is applied in same LAN comprising multiple wireless The situation of AP, such as same LAN include m wireless aps, m >=2, and the Portal server respectively with each wireless aps and Cloud controller is communicated to connect.It can be seen that including in the storage method:S1 obtains the number of wireless aps in LAN Amount;S2 determines media file to be cut;Media file is carried out cutting according to the quantity of wireless aps in the LAN and obtains son by S3 Media file, sub- media file are corresponded with wireless aps;S4 is according to the quantity of wireless aps in the LAN by the media file URLs carry out division and obtain child resource finger URL, child resource finger URL is corresponded with sub- media file;S5 will be each The corresponding child resource finger URL of sub- media file points to its storage location, wherein, each sub- media file by cloud controller one once In being sent to each wireless aps and stored.
Specifically, in step s 2, determined according to media file committed memory space size in the Portal pages to be cut Media file is cut, media file can be the larger picture etc. that takes up room in the Portal pages.In one example, in taking The media file that space is deposited more than 500M (million) is defined as media file to be cut.In another example, by committed memory space Media file more than 1G (omen) is defined as media file to be cut.In other instances, can set as the case may be The value, here are not specifically limited, and the value being set as, 300M, 800M are even more big such as.In a specific embodiment, in step In rapid S3, media file is carried out by decile according to the quantity of wireless aps in the LAN and obtains each sub- media file.In other realities Apply in mode, media file can also be split using other modes, linear partition etc., here are carried out to media file such as It is not specifically limited.
In a specific embodiment, the media file is wireless aps in the larger picture that takes up room, and the LAN Quantity be n, respectively AP1, AP2 ..., APn, management IP (Internet Protocol, the network of the n platform wireless aps Interconnection agreement) address be respectively IP1, IP2 ..., IPn.Based on this, the picture is averagely divided into n by Portal server Block sub-pictures, and carry out the piecemeal sub-pictures that Unified number is obtained, respectively sub-pictures 1, sub-pictures 2 ..., sub-pictures n, Afterwards each sub-pictures being partitioned into are sent to cloud controller.Cloud controller after each sub-pictures are received, by each sub-pictures one One is issued in each wireless aps and stores, i.e., respectively by sub-pictures 1, sub-pictures 2 ..., sub-pictures n be issued to AP1, AP2 ..., in APn.At the same time, Portal server is by the URLs URL (UniformResource of the picture Locator) be divided into n sub- URLs, respectively URL1, URL2 ..., URLn, and respectively with each sub-pictures one One correspondence.After each sub-pictures are issued and are completed by cloud controller, by each child resource finger URL URL1, URL2 ..., URLn Not Zhi Xiang AP1, AP2 ..., the sub-pictures that local resource Locator address is located in APn, i.e. URL1://IP1/ pic1.jpg、URL2://IP2/pic2.jpg、......、URLn://IPn/picn.jpg, is completed to the Portal pages with this The storage of middle media file.
The Portal page acquisition methods schematic flow sheets of present invention offer, the concrete Portal pages are provided Acquisition methods are applied to terminal, and media file is deposited in the Portal page acquisition methods include the above-mentioned Portal pages Method for storing.It can be seen that including in the Portal page acquisition methods:It is any one wireless in S10 connection LANs AP, concurrently serves net request;S20 is redirected the URLs for obtaining and is jumped to according to wireless aps based on online request The Portal pages;S30 obtains the child resource finger URL of each sub- media file according to the URLs, and then from each wireless aps kind Obtain corresponding sub- media file;Each sub- media file is carried out splicing and obtains media file by S40, and is shown in the Portal pages Show.
In a specific embodiment, SSID (Service Set Identifier, the clothes of a certain wireless aps of terminal association Business set identifier) after, wireless aps require that terminal carries out Portal certifications immediately, and first HTTP that highjacking sends is (super Text transfer protocol, Hyper Text Transfer Protocol) Request online requests;Afterwards by the HTTP of user The response message of Request online requests redirects the URL addresses that Portal server is specified.Terminal jumps to the wireless aps weight Portal webpages in the corresponding message of orientation, and this Portal page is opened by local browser, it is at the same time local clear Device of looking at read URLs neutron URLs URL1, URL2 ..., URLn, and then respectively from wireless aps 1, AP2 ..., APn obtain sub-pictures 1, sub-pictures 2 ..., sub-pictures n, be finally spliced into complete picture and Show in the Portal pages.
Above-mentioned embodiment is improved, in the present embodiment, if due to the original such as network delay or wireless aps failure Cause, causes a certain sub- media file reception failure in terminal media file, then also include any one sub- media text in step s 30 During part reception failure the step of re-request, specifically include:Sub- media file corresponding sub- money of the S31 terminals according to reception failure Source finger URL sends sub- media file to Portal server and retransmits request;S32Portal servers are according to the repeating transmission for receiving Child resource finger URL in request points to corresponding sub- media file, and corresponding sub- media file is responded to terminal;S33 ends Termination receives the sub- media file, jumps to step S40.
In a specific embodiment, if due to network delay or wireless aps failure and other reasons, causing terminal receiving certain One sub-pictures reception failure.Now, the terminal is initiated to ask to Portal server again for the sub-pictures, with this Portal Server is responded and response sub-pictures is fed back to terminal.For example, if sub-pictures i time-out do not receive, terminal again to Portal server initiates HTTP URLi requests (includes the child resource finger URL of the sub-pictures, i.e. URLi://ipi/ pici.jpg).After Portal server receives HTTP URLi requests, the sub-pictures are pointed to immediately, and is responded to end End;After terminal receives Portal server HTTPURLi responses, sub-pictures i is obtained, the splicing of picture is completed and at Portal page Show in face.
The structural representation of the Portal server of present invention offer is provided, is wrapped in being applied to same LAN In same LAN, situation containing multiple wireless aps, such as includes that m wireless aps, m >=2, and the Portal server 100 are distinguished Communicate to connect with each wireless aps and cloud controller.Specifically, include in the Portal server:Data obtaining module 110, Media file to be cut confirms that module 120, media file cutting module 130, URLs division module 140, information send Module 150, and URLs point to module 160.
In the course of the work, first, data obtaining module 110 obtains the quantity of wireless aps in LAN, and using to be cut Cut media file and confirm that module 120 determines media file to be cut;Afterwards, media file cutting module 130 is according to acquisition of information In the LAN that module gets, media file is carried out cutting and obtains sub- media file and passed through by the quantity of wireless aps Information sending module 150 is sent into cloud controller, and sub- media file is corresponded with wireless aps;Then, URLs is drawn In the LAN that sub-module 140 is got according to data obtaining module, the quantity of wireless aps is by the Resource orientation of the media file Symbol carries out division and obtains child resource finger URL, and child resource finger URL is corresponded with sub- media file;Finally, URLs refers to Each sub- media file corresponding child resource finger URL is pointed to into its storage location to module 160, wherein, each sub- media file is by cloud During controller is issued to each wireless aps one by one and stored.
Specifically, it is empty according to media file committed memory in the Portal pages in media file to be cut confirms module Between size determine media file to be cut, media file can be the larger picture etc. that takes up room in the Portal pages.One In example, media file of the committed memory space more than 500M (million) is defined as into media file to be cut.In another example, Media file of the committed memory space more than 1G (omen) is defined as into media file to be cut.In other instances, can be with root The value is set according to concrete condition, here is not specifically limited, the value is set as into that 300M, 800M are even more big such as.It is concrete one In embodiment, media file is carried out decile according to the quantity of wireless aps in the LAN and is obtained respectively by media file cutting module Sub- media file.
In a specific embodiment, the media file is the larger picture that takes up room, and data obtaining module is obtained In the LAN, the quantity of wireless aps is n, respectively AP1, AP2 ..., APn, the management ip address of the n platform wireless aps point Not Wei IP1, IP2 ..., IPn.Based on this, media file to be cut is confirmed what module determined by media file cutting module Picture to be cut is averagely divided into n block sub-pictures, and carries out the piecemeal sub-pictures that Unified number is obtained, respectively sub-pictures 1, son Picture 2 ..., sub-pictures n, afterwards information sending module each sub-pictures being partitioned into are sent to cloud controller.Cloud is controlled Device after each sub-pictures are received is issued to each sub-pictures in each wireless aps one by one and stores, i.e., respectively by sub-pictures 1, subgraph Piece 2 ..., sub-pictures n be issued to AP1, AP2 ..., in APn.At the same time, URLs division module should The URLs URL of picture is divided into n sub- URLs, respectively URL1, URL2 ..., URLn, and respectively with Each sub-pictures are corresponded.After each sub-pictures are issued and completed by cloud controller, URLs points to module by each sub- money Source finger URL URL1, URL2 ..., URLn do not point to AP1, AP2 ..., local resource Locator address is located in APn Sub-pictures, i.e. URL1://IP1/pic1.jpg、URL2://IP2/pic2.jpg、......、URLn://IPn/ Picn.jpg, completes the storage to media file in the Portal pages with this.
Be illustrated in figure 4 the present invention offer terminal structure schematic diagram, the terminal 200 respectively with each wireless aps and Portal Server communication connects, it can be seen that including in the terminal 200:Request sending module 210, page jump module 220th, sub- media file acquisition module 230 and Portal page acquisition modules 240, wherein, page jump module 220 and request Sending module 210 connects, and sub- media file acquisition module 230 is connected with page jump module 220, Portal page acquisition modules 240 are connected with sub- media file acquisition module 230 and page jump module 220 respectively.
In the course of the work, terminal 200 is in LAN in connection after any one wireless aps, request sending module 210 Online request is sent to the wireless aps;Afterwards, page jump module 220 redirects obtain based on online request according to wireless aps URLs is redirected;Then, sub- media file acquisition module 230 obtains each sub- media file according to the URLs Child resource finger URL, and then obtain corresponding sub- media file from each media file storage wireless aps kind;Finally, Portal page Each sub- media file is carried out splicing and obtains media file by face acquisition module 240, and is shown in the Portal pages.
In a specific embodiment, terminal 200 associate a certain wireless aps SSID (Service SetIdentifier, Service set) after, wireless aps require that terminal 200 carries out Portal certifications immediately, and kidnap request sending module 210 and send First HTTP Request online request;Afterwards the response message of the HTTP Request online requests of user is redirected The URL addresses that Portal server is specified.Page jump module 220 is jumped in the corresponding message that the wireless aps are redirected Portal webpages, and this Portal page is opened by local browser, at the same time sub- media file acquisition module 230 reads URLs neutron URLs URL1, URL2 ..., URLn, and then respectively from wireless aps 1, AP2 ..., APn obtain sub-pictures 1, sub-pictures 2 ..., sub-pictures n, be finally spliced into complete picture and in the Portal pages show Show.
Above-mentioned embodiment is improved, as shown in figure 5, in the present embodiment, except including in the terminal 200 Request sending module 210, page jump module 220, sub- media file acquisition module 230 and Portal page acquisition modules Outside 240, also including request repeat module 250, for according to the sub- media text that failure is obtained in sub- media file acquisition module The corresponding child resource finger URL of part sends sub- media file to Portal server and retransmits request.
In a specific embodiment, if due to network delay or wireless aps failure and other reasons, causing terminal receiving certain One sub-pictures reception failure.Now, in terminal, request repeat module 250 is initiated to ask to Portal server for the sub-pictures Ask, responded with this Portal server and response sub-pictures are fed back to into terminal.For example, if sub-pictures i time-out is not received, Then request repeat module 250 initiates HTTP URLi requests to Portal server again (includes that the child resource of the sub-pictures is positioned Symbol, i.e. URLi://ipi/pici.jpg).After Portal server receives HTTP URLi requests, the sub-pictures are pointed to immediately, And responded to terminal;After sub- media file acquisition module 230 receives Portal server HTTP URLi responses, son is obtained The sub- media file for receiving is carried out splicing with existing sub- media file and is obtained by picture i, Portal page acquisition module 240 Media file, and show in the Portal pages.
It should be noted that above-described embodiment can independent assortment as needed.The above is only the preferred of the present invention Embodiment, it is noted that for those skilled in the art, in the premise without departing from the principle of the invention Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (9)

1. in a kind of Portal pages media file storage method, it is characterised in that be applied to Portal server, same office Multiple wireless aps are included in the net of domain, and the Portal server is communicated to connect with each wireless aps and cloud controller respectively, it is described Storage method includes:
S1 obtains the quantity of wireless aps in LAN;
S2 determines media file to be cut;
Media file is carried out cutting according to the quantity of wireless aps in the LAN and obtains sub- media file, the sub- media text by S3 Part is corresponded with wireless aps;
The URLs of the media file is carried out division according to the quantity of wireless aps in the LAN and obtains child resource calmly by S4 Position symbol, the child resource finger URL are corresponded with sub- media file;
Each sub- media file corresponding child resource finger URL is pointed to its storage location by S5, wherein, each sub- media file is by cloud control During device processed is issued to each wireless aps one by one and stored.
2. storage method as claimed in claim 1, it is characterised in that in step S2, determine that media file to be cut is specially: Media file to be cut is determined according to media file committed memory space size in the Portal pages.
3. storage method as claimed in claim 1 or 2, it is characterised in that in step S3, according to wireless aps in the LAN Media file is carried out cutting and obtains sub- media file being specially by quantity:It is media are literary according to the quantity of wireless aps in the LAN Part carries out decile and obtains each sub- media file.
4. a kind of Portal pages acquisition methods, it is characterised in that be applied to terminal, wrap in the Portal pages acquisition methods The storage method as described in claim 1-3 any one is included, is also included in the Portal pages acquisition methods:
Any one wireless aps in S10 connection LANs, concurrently serve net request;
S20 is redirected the URLs for obtaining and carries out jumping to the Portal pages according to wireless aps based on online request;
S30 obtains the child resource finger URL of each sub- media file according to the URLs, and then obtains phase from each wireless aps kind The sub- media file answered;
Each sub- media file is carried out splicing and obtains media file by S40, and is shown in the Portal pages.
5. Portal pages acquisition methods as claimed in claim 4, it is characterised in that also include in step s 30 any one During sub- media file reception failure the step of re-request, specifically include:
S31 terminals send sub- media to Portal server according to the corresponding child resource finger URL of sub- media file of reception failure File retransmission is asked;
S32Portal servers point to corresponding sub- media file according to the child resource finger URL in the repeating transmission request for receiving, And corresponding sub- media file is responded to terminal;
S33 terminals receive the sub- media file, jump to step S40.
6. a kind of Portal server, it is characterised in that multiple wireless aps, and Portal services are included in same LAN Device is communicated to connect with each wireless aps and cloud controller respectively, and the Portal server includes:
Data obtaining module, for obtaining the quantity of wireless aps in LAN;
Media file to be cut confirms module, for determining media file to be cut;
Media file cutting module, for wireless aps in the LAN that got according to data obtaining module quantity by media File carries out cutting and obtains sub- media file, and the sub- media file is corresponded with wireless aps;
URLs division module, the quantity for wireless aps in the LAN that got according to data obtaining module should The URLs of media file carries out division and obtains child resource finger URL, and the child resource finger URL is with sub- media file one by one Correspondence;
Information sending module, for each sub- media file is sent to cloud controller;
URLs points to module, for each sub- media file corresponding child resource finger URL is pointed to its storage location, its In, each sub- media file is issued in each wireless aps one by one and is stored by cloud controller.
7. Portal server as claimed in claim 6, it is characterised in that in media file to be cut confirms module, root Media file to be cut is determined according to media file committed memory space size in the Portal pages;And/or,
In media file cutting module, media file is carried out by decile according to the quantity of wireless aps in the LAN and obtains each son Media file.
8. a kind of terminal, it is characterised in that the terminal is communicated to connect with each wireless aps and Portal server respectively, the end End includes:
Request sending module, for online request is sent after any one wireless aps in LAN in connection;
Page jump module, is redirected for redirecting the URLs for obtaining based on online request according to wireless aps;
Sub- media file acquisition module, for the child resource finger URL of each sub- media file is obtained according to the URLs, enters And corresponding sub- media file is obtained from each media file storage wireless aps kind;
Portal page acquisition modules, obtain media file for each sub- media file is carried out splicing, and in Portal Show in the page.
9. terminal as claimed in claim 8, it is characterised in that also include request repeat module in the terminal, for basis The corresponding child resource finger URL of sub- media file that failure is obtained in sub- media file acquisition module is sent to Portal server Sub- media file retransmits request;
Sub- media file acquisition module receives the sub- media text that Portal server is re-issued according to the repeating transmission request for receiving Part;The sub- media file for receiving and existing sub- media file are carried out splicing and obtain media text by Portal page acquisition modules Part, and show in the Portal pages.
CN201610933649.8A 2016-10-24 2016-10-24 The storage of media file and acquisition methods, Portal server and terminal in the Portal pages Pending CN106550024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610933649.8A CN106550024A (en) 2016-10-24 2016-10-24 The storage of media file and acquisition methods, Portal server and terminal in the Portal pages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610933649.8A CN106550024A (en) 2016-10-24 2016-10-24 The storage of media file and acquisition methods, Portal server and terminal in the Portal pages

Publications (1)

Publication Number Publication Date
CN106550024A true CN106550024A (en) 2017-03-29

Family

ID=58392905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610933649.8A Pending CN106550024A (en) 2016-10-24 2016-10-24 The storage of media file and acquisition methods, Portal server and terminal in the Portal pages

Country Status (1)

Country Link
CN (1) CN106550024A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8583835B1 (en) * 2008-08-06 2013-11-12 Siliconsystems, Inc. Command portal for executing non-standard storage subsystem commands
CN103577503A (en) * 2012-08-10 2014-02-12 鸿富锦精密工业(深圳)有限公司 Cloud file storage system and method
CN103729470A (en) * 2014-01-20 2014-04-16 刘强 Secure storage method based on different cloud storage ends
CN104580359A (en) * 2014-11-26 2015-04-29 上海斐讯数据通信技术有限公司 Method for encrypting, storing, backuping and downloading file segments in router with storage function
CN104639661A (en) * 2015-03-13 2015-05-20 华存数据信息技术有限公司 Distributed storage system and storing and reading method for files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8583835B1 (en) * 2008-08-06 2013-11-12 Siliconsystems, Inc. Command portal for executing non-standard storage subsystem commands
CN103577503A (en) * 2012-08-10 2014-02-12 鸿富锦精密工业(深圳)有限公司 Cloud file storage system and method
CN103729470A (en) * 2014-01-20 2014-04-16 刘强 Secure storage method based on different cloud storage ends
CN104580359A (en) * 2014-11-26 2015-04-29 上海斐讯数据通信技术有限公司 Method for encrypting, storing, backuping and downloading file segments in router with storage function
CN104639661A (en) * 2015-03-13 2015-05-20 华存数据信息技术有限公司 Distributed storage system and storing and reading method for files

Similar Documents

Publication Publication Date Title
CN104580192B (en) The treating method and apparatus of the network access request of application program
CN104994079B (en) The treating method and apparatus of access request accelerates server
CN107483609B (en) A kind of Network Access Method, relevant device and system
CN103338252B (en) Realizing method of distributed database concurrence storage virtual request mechanism
CN104038510B (en) The realization method and system of iOS system Transparent Proxy
CN101039309B (en) Link sharing service apparatus and communication method thereof
CN104796396A (en) Network proxy layer for policy-based application proxies
CN101931635A (en) Network resource access method and proxy device
CN102394880B (en) Method and device for processing jump response in content delivery network
CN107391664A (en) Page data processing method and system based on WEB
CN103581765B (en) The method and apparatus that a kind of message forwards
CN102783119A (en) Access control method and system, and access terminal
CN102045403A (en) Method, device and system for processing data of distributed network
CN101662454A (en) Method, device and system for image processing in internet
CN107222561A (en) A kind of transport layer reverse proxy method
CN108390955A (en) Domain Name acquisition method, Website access method and server
CN108881509A (en) A kind of DNS query method and device based on HTTPDNS
CN102307220A (en) Cross-domain webpage information interaction method
CN109962961A (en) A kind of reorientation method and system of content distribution network CDN service node
WO2017107795A1 (en) Method and device for accelerating access to website
CN107633102A (en) A kind of method, apparatus, system and equipment for reading metadata
CN109618004A (en) A kind of message forwarding method and device
CN103686852B (en) A kind of method, equipment and Wireless acceleration system that interaction data is processed
CN106131162A (en) A kind of method realizing network service agent based on IOCP mechanism
CN103181140A (en) Method, media server and terminal device for identifying service request type

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170329

WD01 Invention patent application deemed withdrawn after publication