CN110248395A - Wireless network access method, device, storage medium and computer equipment - Google Patents

Wireless network access method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN110248395A
CN110248395A CN201910374917.0A CN201910374917A CN110248395A CN 110248395 A CN110248395 A CN 110248395A CN 201910374917 A CN201910374917 A CN 201910374917A CN 110248395 A CN110248395 A CN 110248395A
Authority
CN
China
Prior art keywords
animation
wireless network
component content
mark
network identification
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.)
Granted
Application number
CN201910374917.0A
Other languages
Chinese (zh)
Other versions
CN110248395B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910374917.0A priority Critical patent/CN110248395B/en
Publication of CN110248395A publication Critical patent/CN110248395A/en
Application granted granted Critical
Publication of CN110248395B publication Critical patent/CN110248395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • 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
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application involves a kind of wireless network access method, device, storage medium and computer equipments, which comprises obtains wireless network identification corresponding to the wireless network that current geographic position nearby can access;Access wireless network corresponding to the wireless network identification chosen from the wireless network identification;During accessing the wireless network, the corresponding attribute information of the wireless network identification chosen is determined;It calls and the matched virtual resource to be presented of the attribute information;The virtual resource to be presented is played during accessing the wireless network.Scheme provided by the present application can be to avoid the waste of terminal resource.

Description

Wireless network access method, device, storage medium and computer equipment
Technical field
This application involves field of computer technology, more particularly to a kind of wireless network access method, device, storage medium And computer equipment.
Background technique
With the development of computer technology and popularizing for wireless network, terminal can access wireless network, and then pass through nothing The various network-based functions of line network implementations.User can enter wireless access by the connection inlet porting that terminal provides at present The point setting page, is selected, and then connect wireless network in numerous wireless networks that the page is presented.
However, access wireless network needs to consume user's appreciable a period of time, terminal is during this period of time in Wait state, the waste of terminal resource when causing to access wireless network at present.
Summary of the invention
Based on this, it is necessary to which the technical issues of terminal resource wastes when for access wireless network at present provides a kind of nothing Line method for network access, device, storage medium and computer equipment.
A kind of wireless network access method, comprising:
Obtain wireless network identification corresponding to the wireless network that current geographic position nearby can access;
Access wireless network corresponding to the wireless network identification chosen from the wireless network identification;
During accessing the wireless network, the corresponding attribute information of the wireless network identification chosen is determined;
It calls and the matched virtual resource to be presented of the attribute information;
The virtual resource to be presented is played during accessing the wireless network.
In one embodiment, described that configuration file is issued according to the dynamic, it creates corresponding with animation mark Animation component content is simultaneously loaded into buffer queue, comprising:
When the quantity that the animation is issued a notice is more than preset quantity, then
It issuees a notice from the animation middle animation for choosing the preset quantity of issuing a notice;
Issue configuration file according to each animation of selection corresponding dynamic of issuing a notice, creation with choose it is each described Animation corresponding animation of issuing a notice identifies corresponding animation component content and is loaded into buffer queue.
In one embodiment, the method also includes:
When in the presence of dynamic issue the download path of configuration file when, obtain the static default configuration file being locally stored and Configuration file is issued by the dynamic that the download path is downloaded;Each dynamic issues the corresponding animation mark of configuration file Know;
The union of configuration file is issued according to the static default configuration file and the dynamic, under creation and the dynamic Animation corresponding to hair configuration file identifies corresponding animation component content and is loaded into buffer queue.
In one embodiment, it is described according to the static default configuration file and the dynamic issue configuration file and Collection, creation issues the corresponding animation component content of the mark of animation corresponding to configuration file and be loaded into the dynamic caches team Column, comprising:
When in the static default configuration file exist entry-into-force time corresponding with the first animation sub-mark and the dynamic It issues in configuration file there is no when the entry-into-force time corresponding with the first animation sub-mark, is then matched according to the static default Document creation animation component content corresponding with the first animation sub-mark is set, and is loaded into buffer queue;
When entry-into-force time corresponding with the second animation sub-mark and described dynamic is not present in the static default configuration file When state was issued in configuration file in the presence of the entry-into-force time corresponding with the second animation sub-mark, then it is transported to according under the dynamic Document creation animation component content corresponding with the second animation sub-mark is set, and is loaded into buffer queue;
When in the static default configuration file exist entry-into-force time corresponding with third animation sub-mark and the dynamic When issuing in configuration file in the presence of the entry-into-force time corresponding with the third animation sub-mark, then according to the configuration in evening entry-into-force time Document creation animation component content corresponding with the third animation sub-mark, and it is loaded into buffer queue.
A kind of Wireless network connection equipment, comprising:
Module is obtained, for obtaining wireless network mark corresponding to the wireless network that current geographic position nearby can access Know;
AM access module, for accessing wireless network corresponding to the wireless network identification chosen from the wireless network identification Network;
Determining module, for determining the wireless network identification phase chosen during accessing the wireless network The attribute information answered;
Calling module, for calling and the matched virtual resource to be presented of the attribute information;
Playing module plays the virtual resource to be presented during accessing the wireless network.
A kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor executes the step of above-mentioned wireless network access method.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the calculating When machine program is executed by the processor, so that the step of processor executes above-mentioned wireless network access method.
Above-mentioned wireless network access method, device, storage medium and computer equipment, it is attached getting current geographic position It, can be according to the nothing chosen from these wireless network identifications closely after wireless network identification corresponding to accessible wireless network Line network identity accesses its corresponding wireless network, and the wireless network identification chosen is determined during accessing wireless network Corresponding attribute information, and then calling and the matched virtual resource to be presented of the attribute information, in the mistake of access wireless network It is played in journey.Terminal can be made full use of to carry out broadcasting for virtual resource to be presented in the waiting time of access wireless network in this way It puts, avoids the waste of terminal resource.Moreover, the virtual resource to be presented played is determined by the attribute information of wireless access point, It can trigger when accessing the wireless access point of different attribute information and play different virtual resources to be presented, enrich the tool of broadcasting Hold in vivo.
Detailed description of the invention
Fig. 1 is the applied environment figure of wireless network access method in one embodiment;
Fig. 2 is the flow diagram of wireless network access method in one embodiment;
Fig. 3 is the interface schematic diagram that candidate wireless network identification is shown in one embodiment;
Fig. 4 is the interface schematic diagram of playing animation in one embodiment;
Fig. 5 includes the relation schematic diagram between content dynamically to issue configuration file in one embodiment;
Fig. 6 be one embodiment in pre-loaded animation component content to buffer queue schematic diagram;
Fig. 7 be another embodiment in pre-loaded animation component content to buffer queue schematic diagram;
Fig. 8 is the interaction schematic diagram between the client run in server and terminal in one embodiment;
Fig. 9 is the logical schematic of playing animation when accessing wireless network in one embodiment;
Figure 10 is the flow diagram of wireless network access method in another embodiment;
Figure 11 is the structural block diagram of Wireless network connection equipment in one embodiment;
Figure 12 is the structural block diagram of Wireless network connection equipment in another embodiment;
Figure 13 is the structural block diagram of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Fig. 1 is the applied environment figure of wireless network access method in one embodiment.It referring to Fig.1, can in the application scenarios To include terminal 110 and server 120.Specifically, terminal 110 can be used for executing the wireless network access method, in terminal 110 The application program of operation can also be used for executing the wireless network access method.Terminal 110 and server 120 by be connected to the network into Row data interaction.For example, wireless network identification can be sent to server 120 by terminal 110, server 120 is then anti-to terminal 110 Present corresponding attribute information of wireless network identification, etc..When terminal 110 executes the wireless network access side by application program When method, server 120 is server corresponding with the application program.Wherein, terminal 110 specifically can be mobile terminal, mobile Terminal specifically can be at least one of mobile phone, tablet computer, laptop etc..Server 120 can use independent clothes The server cluster of business device either multiple servers composition is realized.
As shown in Fig. 2, in one embodiment, providing a kind of wireless network access method.The present embodiment is mainly with this Method is applied to the terminal 110 in above-mentioned Fig. 1 to illustrate.Referring to Fig. 2, which specifically includes as follows Step:
S202 obtains wireless network identification corresponding to the wireless network that current geographic position nearby can access.
Wherein, wireless network identification is for identifying wireless network.Wireless network can be found by wireless network identification Access point is to access wireless network.Current geographic position refers to the geographical location that terminal is presently in.Near current geographic position Accessible wireless network, refer to range of signal covering terminal be presently in geographical location and terminal currently may search for Wireless network.
Wireless network identification may include respective wireless network wireless network name and respective wireless network corresponding to At least one of physical address of gateway.Wherein, wireless network name can specifically use SSID (Service Set Identifier, service set) it indicates, the physical address of gateway corresponding to wireless network can specifically use BSSID (Basic Service Set Identifier, basic service set identification) indicates.
For example, wireless network identification can be indicated with SSID, such as " city " or " free ";BSSID can be used It indicates, such as " 8c:a6:df:if:7a:3c " or " fc:a6:33:94:a0:3c ";The common table of SSID and BSSID can also be used Show.Wherein, common to indicate including direct splicing or connected by intermediate connector.Such as " city8c:a6:df:if:7a:3c " Or " free-fc:a6:33:94:a0:3c " etc..
In one embodiment, the wireless network search interface that terminal can call operating system to provide searches for current geographic Position obtains the corresponding wireless network identification of these wireless networks nearby for the wireless network of connection.Wherein, it obtains The wireless network identification taken can be all corresponding wireless network identifications of the wireless network for connection, be also possible to portion Divide the corresponding wireless network identification of wireless network for connection.
Specifically, after opening wireless network access function according to user's operation, the included wireless network of terminal connects terminal Enter module can the wireless network search interface that provides of call operation system, search for the terminal accessible wireless network nearby. Certainly, which can also be by running wireless network access plug-in unit at the terminal, wireless network access code or wireless Network management-application executes.Wireless network access plug-in unit, wireless network access code or the wireless network of operation at the terminal Management application, can also terminal carry wireless network AM access module search wireless network get wireless network identification after, Directly read these wireless network identifications.
In a further embodiment, wireless network access plug-in unit, wireless network access code or wireless network management application After needing to be endowed interface calling permission, the wireless network search interface of operating system offer can be just called.Wireless network access After plug-in unit, wireless network access code or wireless network management application need to be endowed reading data permission, terminal just can be read Included wireless network AM access module gets wireless network identification.
In one embodiment, terminal, which can be obtained, carries out the image that screenshot obtains to wireless network set interface.Specifically, The wireless network management application of operation in the terminal can identify the screenshot of wireless network set interface, to obtain the nothing Wireless network identification in gauze network set interface.Wherein, wireless network set interface is provided for showing by operating system The wireless network that searches of wireless network search interface corresponding to wireless network identification.
It should be noted that carrying out the image that screenshot obtains to wireless network set interface, can be to this terminal wireless Network settings interface carries out the image that screenshot obtains, and be also possible to receive sets the wireless network of the terminal except this terminal It sets interface and carries out the image that screenshot obtains, can also be the wireless network set interface for shooting the terminal except this terminal, obtain The image of wireless network set interface.It wherein, include that this terminal is searched in the wireless network that the terminal except this terminal is searched Rope to wireless network in some or all of.
S204, wireless network corresponding to the wireless network identification chosen from wireless network identification.
Specifically, terminal can show the wireless network identification got, detect to the wireless network identification of current presentation Selection instruction, and then access wireless network corresponding to the wireless network identification chosen by selection instruction.It is specific at one In embodiment, the application program run in terminal or terminal can respond user to the selection instruction of the wireless network identification of acquisition, Establish the local network connection with wireless network corresponding to wireless network identification that is choosing.
Wherein, selection instruction is to select the instruction of wireless network identification.Selection instruction can be pressed by touch control operation, to physics Pressing operation, voice-controlled operations or the shaking operation perceived by the motion sensor in terminal of key are triggered. Touch control operation, which can be, to be touched clicking operation, touches long press operation, slide or multi-point touch operation etc..Selection instruction refers to The wireless network for needing to connect is determined, terminal is so as to according to the determining wireless network for needing to connect of selection instruction and connection.
Further, terminal can be in locally lookup and access voucher corresponding to the wireless network identification chosen, thus root It is investigated that wireless network corresponding to the wireless network identification that the access voucher access found is chosen.Terminal can also be by the nothing of selection Line network identity is sent to the equipment (such as server) for having access credential match function, obtains that the equipment returns and chooses The corresponding access voucher of wireless network identification, thus according to receive access voucher access choose wireless network identification institute Corresponding wireless network.
For example, Fig. 3 shows the interface schematic diagram for showing the wireless network identification of acquisition in one embodiment.With reference to Fig. 3, the interface include wireless network identification 310.
In one embodiment, when the wireless network identification of selection is only one, terminal can connect according to what user triggered Enter operation, accesses wireless network corresponding to the wireless network identification of selection;Terminal can also be after choosing wireless network identification, directly It connects and automatically accesses wireless network corresponding to the wireless network identification.If the wireless network identification chosen is more than one, terminal can According to preconfigured strategy, selected from the wireless network identification of selection automatically wireless corresponding to a wireless network identification Network insertion.Preconfigured strategy can be the signal quality scoring according to wireless network corresponding to wireless network identification, And/or wireless network is automatically selected according to the stability of wireless network corresponding to wireless network identification etc..
S206 determines the corresponding attribute information of wireless network identification chosen during accessing wireless network.
Wherein, attribute information refers to the distinctive letter of wireless network corresponding to wireless network identification or wireless network identification Breath.The information can be used for that the wireless network identification is distinguished or clustered with other wireless network identifications, therefore computer is set It is standby to be classified based on the corresponding attribute information of wireless network identification to wireless network identification.Attribute information such as wireless network The signal strength of the character types of network mark, the character length of wireless network identification, wireless network corresponding to wireless network identification Or web tab of wireless network identification etc..
Specifically, it after terminal chooses wireless network identification in the wireless network identification from acquisition, on the one hand can access On the other hand the corresponding wireless network of the wireless network identification can concurrently determine the corresponding attribute letter of the wireless network identification Breath.Certainly, above-mentioned processing step can also by run at the terminal wireless network access plug-in unit, wireless network access code or Wireless network management application executes.
In one embodiment, the corresponding relationship of wireless network identification He its respective attributes information can be stored in terminal. In this way, terminal after choosing wireless network identification, can inquire the corresponding relationship, determine that the wireless network identification chosen is corresponding Attribute information.Certainly, terminal can also analyze the wireless network identification and/or the corresponding nothing of the wireless network identification of selection in real time Gauze network obtains the corresponding attribute information of the wireless network identification.The wireless network identification of selection can be also sent to clothes by terminal Business device, feeds back to terminal after the corresponding attribute information of the wireless network identification is determined by server.
S208 is called and the matched virtual resource to be presented of attribute information.
Wherein, virtual resource to be presented, which refers to, stays in virtual resource shown in terminal interface.Virtual resource is confession under directions meter The media data for calculating machine equipment operation, specifically can be video resource, audio resource, image resource or textual resources etc..Figure As resource may include static images and animation.
The particular content of virtual resource to be presented can be recommendation, wireless network recommended information or promotion message Deng.Recommendation such as news, application program, game or commodity etc..Wireless network recommended information can be wireless network and mention The recommended information etc. of donor.Such as the promotional videos in some hotel.Promotion message can be advertising information, activity notification or electricity Sub- greeting card etc..The information of information, distribution shop that advertising information is such as promoted the sale of goods, the information or public service ads for promoting service Information, activity notification such as advertising campaign notice, administration's activity notification or public welfare activities notice etc..Advertising campaign notice Such as merchandise discount information.
Specifically, the mapping that wireless network identification respective attributes information and virtual resource to be presented can be stored in terminal is closed System.Terminal can inquire the mapping relations, judgement is after determining the corresponding attribute information of wireless network identification chosen in this way It is no to there is the matched virtual resource to be presented of attribute information corresponding with the wireless network identification of selection.When judgement presence and attribute When the virtual resource to be presented of information matches, terminal can call the virtual resource to be presented.
In one embodiment, what is stored in terminal can be the virtual resource to be presented for directly playing.Namely It says, storage is the video file that the data of interface rendering can be directly carried out for interface thread, for example can directly play, audio File or animation file etc..In this way, the wireless network respective attributes information matches that terminal can be called directly and is currently accessed Virtual resource to be presented.Certainly, what is stored in terminal is also possible to the configuration information of virtual resource to be presented, that is to say, that Storage is not that the data for carrying out interface rendering, such as video configuration information, audio configuration information can be used directly in interface thread Or animation configuration information etc..In this way, terminal needs first to call the configuration information of the virtual resource to be presented, confidence is matched according to this Breath generates virtual resource to be presented, to call the virtual resource to be presented.
S210 plays the virtual resource to be presented during accessing wireless network.
Specifically, terminal can play in real time the virtual resource to be presented called during accessing wireless network.This On the one hand sample makes full use of terminal to be currently accessed the waiting time of wireless network, the benefit of terminal resource and time can be improved With rate, on the other hand shows the particular content to match with the attribute information for the wireless network being currently accessed, can be promoted in broadcasting The practicability of appearance.
For example, video is introduced in the service for playing the hotel when accessing the wireless network that hotel provides, user can be convenient The hotel is known more about convenient for user behaviors such as subsequent hotel occupancies.For another example, it is broadcast when accessing the wireless network that dining room provides The vegetable in the hotel Fang Gai introduces video, can be convenient user and knows more about the vegetable in the dining room convenient for subsequent grade users' row of ordering For.It is of course also possible to which playing news when accessing wireless network provides the user with more information, or broadcasting music etc..
For example, the selection instruction that terminal is triggered according to user account, selects wireless network identification shown in Fig. 3 After " xxxfood " access, that is, virtual resource to be presented corresponding with " xxxfood " respective attributes information is played, as shown in Figure 4. Fig. 4 shows the interface schematic diagram that virtual resource to be presented is played in one embodiment.With reference to Fig. 4, it can be seen that terminal utilizes The waiting time for accessing wireless network plays virtual resource to be presented, is sufficiently used terminal resource.
Above-mentioned wireless network access method is being got corresponding to wireless network accessible near current geographic position After wireless network identification, it is corresponding wireless that its can be accessed according to the wireless network identification chosen from these wireless network identifications Network, and during accessing wireless network determine choose the corresponding attribute information of wireless network identification, and then call with The matched virtual resource to be presented of the attribute information, to be played during accessing wireless network.It can make full use of in this way Terminal carries out the broadcasting of virtual resource to be presented in the waiting time of access wireless network, avoids the waste of terminal resource.And And the virtual resource to be presented of broadcasting is determined by the attribute information of wireless access point, in wirelessly connecing for access different attribute information It can trigger when access point and play different virtual resources to be presented, enrich the particular content of broadcasting.
It should be noted that the method and step executed in the embodiment of the present application by terminal, it can be by operating in end Wireless network access plug-in unit, wireless network on end access code or wireless network management application to execute.
In one embodiment, attribute information includes web tab.S202 includes: to obtain local wireless network identification column Table;Filter out in wireless network identification list that there are the wireless network identifications of corresponding network label;The wireless network mark filtered out Knowing corresponding web tab, there are matched virtual resources to be presented;Wireless network is chosen from the wireless network identification filtered out Mark.
Wherein, web tab refers to for reflecting wireless network identification (or wireless network) and other wireless network identifications The label of characteristic and general character between (wireless network).Web tab specifically can be the number of reflection wireless network provider classification According to, such as hotel (Hotel), cuisines (Food) or market (Market) etc..
It should be noted that may exist no corresponding network mark in wireless network identification list in the embodiment of the present application The wireless network identification of label, there may also be the wireless network identifications for having corresponding network label.There is the wireless of corresponding network label Network identity can have a web tab, can also there is more than one web tab.
Wherein, more than one web tab can be grade labelling.For example, level-one label, second level label and three-level mark Label etc..Second level label can be the further division to level-one label, and three-level label then can be to the further of second level label It divides, level is higher, and division is thinner.Such as: level-one label can be " Hotel ", second level label then can be " XXHotel ", three Grade label can be then " XXHotelXXBranch " etc..
Specifically, terminal may search for current geographic position after opening wireless network access function according to user's operation Accessible wireless network nearby, and then the corresponding wireless network identification of these wireless networks is obtained, and the wireless network that will acquire Network mark is stored in local with tabular form, to read when needed.
Further, the corresponding relationship of wireless network identification and web tab can be stored in terminal.Terminal in this way After obtaining local wireless network identification list, according to the corresponding relationship, the wireless network that includes from wireless network identification list In network mark, filter out that there are the wireless network identifications of corresponding network label.
In a further embodiment, the plan that promising wireless network identification distributes web tab in real time can also be stored in terminal Slightly., such terminal can be according to the strategy, and the wireless network identification for including for wireless network identification list in real time distributes network mark Label, to filter out, there are the wireless network identifications of corresponding network label.
It should be noted that if the corresponding web tab of the wireless network identification chosen in S206 is one, terminal It calls directly and the matched virtual resource to be presented of the web tab.If the corresponding network of the wireless network identification chosen in S206 Label is more than one, and terminal successively can carry out matching inquiry from the highest web tab of level according to the level of web tab, directly To inquiring matched virtual resource to be presented.In this case, the quantity for the resource to be presented that terminal inquiry arrives is one.When So, terminal can also inquire each web tab respectively matched virtual resource to be presented, in this way, the resource to be presented that terminal inquiry arrives Quantity it is then more than one.
In one embodiment, the wireless network mark in wireless network identification list there are corresponding network label is filtered out Know, comprising: wireless network identification list is sent to server;Receive server return, in wireless network identification list The corresponding web tab of wireless network identification;Filtering out corresponding network label, there are the wireless networks of matched virtual resource to be presented Network mark.
Specifically, wireless network identification list can be sent to server by terminal, and server can be received wireless network Wireless network identification matching network label in network identification list.
In one embodiment, wireless network identification and corresponding web tab are previously stored in server.Server Wireless network identification in received line list of network identifications can be compared with pre-stored wireless network identification, When the wireless network identification in received line list of network identifications is identical as pre-stored wireless network identification, then can obtain The corresponding web tab of pre-stored wireless network identification is taken, as wireless in the wireless network identification list received The web tab of network identity.
Wherein, the wireless network identification that web tab can be matched in wireless network identification list is one or more than one It is a.The web tab that one wireless network identification is matched to may be one or more than one.It is of course also possible to which there are nothings Wireless network identification in line list of network identifications is not matched to web tab.
In one embodiment, server can be returned only to the web tab being matched to.Specifically, server can be according to wireless The sequence of wireless network identification in list of network identifications feeds back the web tab that corresponding wireless network tag match arrives.Wherein, if When in the presence of the wireless network identification for not being matched to corresponding web tab, then represented corresponding to the wireless network identification with null byte Web tab.Certainly, server can also return to the wireless network identification and web tab for being matched to web tab simultaneously.
Further, terminal is receiving server feedback, wireless network identification phase in wireless network identification list After the web tab answered, there can be the wireless network identification of corresponding network label further to be screened to these.Specifically, eventually End can check the corresponding web tab of these wireless network identifications with the presence or absence of matched virtual resource to be presented;If it exists, Then the wireless network identification is screened;If it does not exist, then the wireless network identification is filtered out.Wireless network remaining in this way Mark may act as the wireless network identification selected, or for choosing wireless network identification again.
Wherein, virtual resource to be presented, which can be, pre-sets, and pre-set virtual resource to be presented with The mapping relations of web tab.For example, virtual resource designer to be presented can when designing virtual resource to be presented, be arranged with The web tab that the virtual resource to be presented matches.Then when server issues virtual resource to be presented to terminal, terminal The available virtual resource to be presented set, and the mapping of the virtual resource to be presented set and web tab are closed System.
In above-described embodiment, when screening wireless network identification, these wireless network identifications are pulled from server in real time Corresponding web tab, avoids for web tab to be stored in pressure is locally stored caused by local, while filtering out corresponding Web tab is there are the wireless network identification of matched virtual resource to be presented, with further screening wireless network identification, this Sample it is subsequent can access these wireless network identifications one of them corresponding to wireless network when, can play accordingly to Virtual resource is shown to avoid the waste of terminal resource.
Further, terminal can from the wireless network identification filtered out, filter out again part wireless network identification without Line network identity.For example, randomly selecting the wireless network identification of preset quantity, or according to corresponding to wireless network identification wirelessly The recommendation score value of network chooses wireless network identification.
Wherein, recommending score value is the degree of the recommended connection of wireless network.Recommend score value higher, indicates that wireless network is pushed away The degree for recommending connection is higher.
Specifically, server can collect the quality of wireless network corresponding to existing wireless network identification from multiple support channels Quantized data.Wherein, quality quantized data refers to the quantized data for measuring quality of wireless network.In one embodiment, quality Quantized data includes connection number, signal strength and signal stabilization of respective wireless network etc..Server can be again using pre- If function obtains the recommendation score value of respective wireless network to the progress operation of quality quantized data, which is reflected wirelessly The quality of network.The quality of wireless network is better, recommends score value higher, the probability that terminal is successfully accessed the wireless network is got over Greatly.
Wherein, preset function can be weighted sum function, and all data for including by quality quantized data is according to corresponding Positive weights weighted sum, obtain the recommendation score value of corresponding wireless network.
In the present embodiment, usually show that the selected probability of forward wireless network identification is big, by by wireless network mark According to recommending score value descending to show when knowledge, so that recommending score value higher, the selected access of the better wireless network of network quality is mentioned High wireless network access efficiency, while the user experience is improved.
It is appreciated that in the present embodiment, virtual resource to be presented that terminal is played when accessing wireless network with currently connect The web tab of the wireless network entered is related.The web tab of wireless network usually can reflect the social ring that user is presently in Border information can then reflect the current social demand of user to a certain extent, so that the virtual money to be presented played Source more meets user demand, is received by user.For example, the web tab that user is currently accessed is the wireless network of cuisines, that User may have the demand of selection cuisines at present, if the virtual resource to be presented played is that cuisines recommend animation, Na Beiyong A possibility that family receives greatly increases.
In above-described embodiment, filtering out corresponding network label, there are the wireless network marks of matched virtual resource to be presented Know, with further screening wireless network identification, it is subsequent in this way can be in the one of institute for accessing these wireless network identifications When corresponding wireless network, corresponding virtual resource to be presented can be played to avoid the waste of terminal resource.
In one embodiment, virtual resource to be presented specifically can be animation.S208 includes when existing and attribute information When matched animation identifies, animation component content corresponding with animation mark is determined.S210 includes: the mistake in access wireless network Cheng Zhong plays animation corresponding with animation mark according to animation component content.
Wherein, animation mark is the data for identifying animation.Animation component content (animation Composition) is to be used for Generate the data of animation.Animation component content may include animation instructions and cartoon material (or cartoon material mark).Animation element Material includes at least one of text material, picture material and audio material etc..Certainly, in a further embodiment, animation group The animation file itself for being also possible to directly to play at content.
Specifically, the mapping relations of the corresponding attribute information of wireless network identification and animation mark can be stored in terminal, Terminal can inquire the corresponding relationship, judge whether after determining the corresponding attribute information of wireless network identification chosen in this way In the presence of the matched animation mark of attribute information corresponding with the wireless network identification of selection.It is matched when determining to exist with attribute information Animation mark when, terminal can continue to determine corresponding with animation mark animation component content;When determining to be not present and attribute When the animation mark of information matches, terminal can then continue to determine the animation component content of local default configuration.
Further, terminal, can be according to determining animation after determining animation component content corresponding with animation mark The mark of material specified by component content obtains cartoon material, then according in instruction set specified by the animation component content determined Drawing for order draws animation according to the cartoon material of acquisition in painting canvas, achievees the effect that playing animation.Certainly, when animation group When at content being the animation file itself that can directly play, terminal directly plays the animation component content and reaches playing animation Effect.
In the present embodiment, virtual resource to be presented is specially animation, and playing animation is more when accessing wireless network for terminal It is easy to be received by user, practicability is stronger.
In one embodiment, terminal can also after the corresponding wireless network of wireless network identification for being successfully accessed selection, It switches to play transition cartoon and jump to user and is intended to the page jumped to.
In one embodiment, animation is identified as animation group mark.Determine animation component content corresponding with animation mark, Comprise determining that animation component content set corresponding with animation group mark;Each animation composition in animation component content set Content corresponds to an animation sub-mark.Animation corresponding with animation mark is played according to animation component content, comprising: follows access The variation of access state when wireless network obtains animation sub-mark corresponding to current access state, and according to the dynamic of acquisition Draw animation component content playing animation corresponding to sub-mark.
Wherein, animation group mark is for identifying one group of animation.The quantity of animation is more than one in one group of animation.One group of animation In each animation respectively correspond an animation sub-mark.Animation group mark and the collaboration of animation sub-mark are used for unique identification one Animation.Since the quantity of animation in one group of animation is more than one, then an animation group identifies a corresponding animation component content Gather, includes the corresponding animation component content of each animation in this group of animation in the set.
In the present embodiment, the corresponding animation group mark of different group animations is different;But different animation in difference group animation Identical animation sub-mark can be corresponded to, different animation sub-marks can also be corresponded to.For example, for example, one group of animation Animation group is identified as Hotel, includes 5 animations in this group of animation, respectively corresponds animation sub-mark: anim1, anim2, anim3, Anim4 and anim5.The animation group of another group of animation is identified as Food, also includes 5 animations in this group of animation, can equally divide Animation sub-mark: anim1, anim2, anim3, anim4 and anim5 is not corresponded to.Certainly, 5 animations for including in this group of animation Animation sub-mark: animA, animB, animC, animD and animE can also be respectively corresponded.
In a specific embodiment, animation group mark can be title suffix.It is considered that each dynamic in one group of animation The title suffix of picture is identical.Animation sub-mark can be name prefix or animation number etc..It is considered that each in one group of animation Name prefix or the animation number of animation are different.
In one embodiment, animation component content set corresponding with animation group mark is determined, comprising: work as buffer queue When middle presence is with animation group mark corresponding animation component content set, then animation component content set is read from buffer queue In animation component content;When in buffer queue there is no with animation component content set, is then identified and corresponded to according to animation group Dynamic issue configuration file, create animation component content collection corresponding with animation group mark and merge and is loaded into buffer queue;From The animation component content in animation component content set is read in buffer queue.
Wherein, buffer queue is in the caching of terminal for storing the storage region of animation component content.It is appreciated that dynamic It draws component content to need first to be loaded in caching, then reads from caching to carry out playing animation as foundation.It is transported under dynamic Setting file is the file for configuring animations that server dynamic issues, the static default configuration file with hereinafter terminal local It is corresponding.
Specifically, there are matched animation groups to identify for terminal attribute information corresponding to the wireless network identification for determining to choose Afterwards, it whether there is animation component content set corresponding with the animation group mark in query caching queue.If being deposited in buffer queue When with animation group mark corresponding animation component content set, then animation component content set is read directly from buffer queue In animation component content.If when in buffer queue there is no with animation component content set, terminal is identified according to animation group Corresponding dynamic issues configuration file, creates animation component content collection merging corresponding with animation group mark and is loaded into caching team Column, then from buffer queue read animation component content set in animation component content.Wherein, terminal can disposably be read dynamic Animation component content all in component content set is drawn, each animation composition in animation component content set can also be read one by one Content.
In one embodiment, server can be used for according to the configuration-direct of the account triggering with configuration permission, generation The dynamic that animation group corresponding with attribute information is configured issues configuration file.Wherein, a dynamic issues configuration file pair An animation group mark is answered, is configured for identifying one group of identified animation to the animation group.This group of animation can be matched It is set to the broadcasting when accessing a kind of wireless network of corresponding attribute information, i.e. animation group mark is configured as and the attribute information Matching.
Certainly, in a further embodiment, a dynamic, which issues configuration file, can also correspond to more than one animation group mark Know.One animation group mark also can be configured as and match with more than one attribute information.A kind of attribute information can also be matched It is set to and is matched with more than one animation group mark.
In addition, server can also configure that dynamic issue configuration file according to configuration-direct issue period and/or hair To user group.In this way, server can then push under dynamic within the period of configuration to the corresponding terminal of the user group of configuration Send out configuration file.
It is appreciated that due to the space restrictive condition of buffer queue in terminal, the part that terminal can be issued according to server Dynamic issues configuration file generation animation component content set and loads into buffer queue, and remaining partial dynamic is issued configuration File directly saves.In this way, terminal during accessing wireless network can referring initially in caching whether animation in need form Properties collection has, and directly reads, no then creation immediately.
In one embodiment, corresponding dynamic is identified according to animation group and issues configuration file, creation is identified with animation group Corresponding animation component content collection merging is loaded into buffer queue, comprising: obtains and is transported under dynamic corresponding with animation group mark Set file;Traversal dynamic issue in configuration file with each animation sub-mark corresponding term of validity;Belong in current time When in traversal term of validity extremely, then create in animation corresponding with animation sub-mark corresponding to traversal term of validity extremely forms Hold;The animation component content of creation is loaded into buffer queue.
Wherein, dynamically issuing in configuration file may include the corresponding animation mark of each animation in its animation group for being configured Knowledge, term of validity, animation configuration file and cartoon material etc..Term of validity can pass through entry-into-force time and out-of-service time collaboration limit It is fixed.Animation configuration file specifically can be JSON file.
Specifically, terminal can traverse dynamic issue in configuration file with each animation sub-mark corresponding term of validity, Current time is compared with traversal term of validity extremely, when current time belonged in the term of validity of traversal extremely, then root According to animation configuration file corresponding to animation sub-mark corresponding to the term of validity of traversal extremely, term of validity of the creation with traversal extremely The corresponding animation component content of corresponding animation sub-mark, is then loaded into buffer queue for the animation component content of creation.
In a specific embodiment, dynamically issuing configuration file may include the following contents:
(1) configured list.It include: that (server can carry out version to animation group to animation configuration version number in the configured list Update), and dynamically issue each corresponding configuration information list name (animation of animation in the animation group that configuration file is configured Configuration 1, animation configuration 2 ...) etc..
(2) each corresponding configuration information list of animation in the animation group that configuration file is configured dynamically is issued.Each It include: animation sub-mark (animation ID can also be used as the filename of corresponding animation JSON file), animation in configuration information list Version number's (server can individually carry out version updating to the animation in animation group), animation entry-into-force time and animation out-of-service time Deng.
(3) animation configuration file packet.It include: that dynamic issues the animation that configuration file is configured in the animation configuration file packet Each corresponding animation configuration file of animation (animation JSON file) and cartoon material in group.
The relationship that dynamic issues between the content that configuration file includes can be with specific reference to Fig. 5.
In above-described embodiment, corresponding animation sub-mark is provided with term of validity, so that animation sub-mark corresponds to animation composition The timeliness of content is strong, is conducive to improve animation diversity;And the corresponding animation group of some animation sub-mark is being created immediately When at content, only belonging in the animation sub-mark corresponding term of validity in current time just allows to create, and ensure that creation Animation component content validity;It also avoids animation not to be loaded into buffer queue to the entry-into-force time, waste storage money Source.
In one embodiment, wireless network access method further include: be not belonging to traverse extremely effective in current time When in the time limit, it is determined that with animation sub-mark corresponding to traversal term of validity extremely;It is corresponding according to determining animation sub-mark Static default configuration file creates animation component content corresponding with the animation sub-mark determined and is loaded into buffer queue.
Specifically, current time is compared by terminal with the term of validity of traversal extremely, is not belonging to traverse in current time When in term of validity extremely, that is to say, that correspond to the animation that current animation sub-mark is configured in the lower configuration file of dynamic and failed Or not to the entry-into-force time, it is determined that with animation sub-mark corresponding to traversal term of validity extremely;According to determining animation mark Know corresponding static default configuration file, create animation component content corresponding with the animation sub-mark determined and is loaded into caching Queue.
It illustrates, it is assumed that dynamically issuing in the configured list of configuration file includes that n configuration information list name (match by animation Set 1, animation configuration 2 ... animation configure i ..., animation configuration n).The corresponding configuration information column of each configuration information list name (such as animation configuration i corresponds to configuration information list i) to table, includes animation corresponding to the animation of configuration in each configuration information list Sub-mark (includes animation sub-mark i) in such as configuration information list i, that is to say, that the dynamic configuration, which is issued the documents, is configured with n Animation.When terminal can successively check the entry-into-force time for including in the corresponding configuration information list of each configuration information list name and failure Between, judge whether current time belongs in term of validity.If current time belonged in term of validity, arranged according to the configuration information The animation that table is configured is within term of validity, then according to the animation configuration file making of cartoon component content of the animation.If current Time was not belonging in term of validity, then had been failed according to the animation that the configuration information list is configured or not yet come into force, then root According to animation configuration file making of cartoon component content corresponding with the animation sub-mark of the animation in static default configuration file.
In the present embodiment, when creating the corresponding animation component content of some animation sub-mark immediately, if current time It is not belonging in the animation sub-mark corresponding term of validity, then creates the animation of default animation according to static default configuration file Component content is unlikely to can play when needing playing animation without animation.
It is appreciated that an animation group identifies the animation component content in corresponding animation component content set, not must Corresponding dynamic must be identified according to the animation group and issues configuration file creation, be also possible to be created according to static default configuration file It builds.But under normal conditions, an animation group identifies corresponding animation component content set or is fully loaded to buffer queue, It is all not added and is downloaded in buffer queue.In this way, the variation playing animation of the subsequent access state when following access wireless network When, it can facilitate the reading of animation component content, and homologous series animation can be played as far as possible, so that animation is not lofty when switching User experience can effectively be promoted.
In above-described embodiment, the caching of part animation component content is carried out by buffer queue, when needing to draw animation, If animation component content in need can be directly read in buffer queue, the resource of frequent making of cartoon component content is avoided Waste.
It is appreciated that terminal is when accessing wireless network, it will usually undergo more than one access state, finally just successfully connect Connect wireless network.Specifically, the access state for accessing wireless network, which can be divided into, establishes connection, verifying identity and inspection network Connectivity etc..Every kind of access state can correspond to one or more than one animation.In this way, terminal can be in the mistake of connection wireless network Cheng Zhong shows corresponding animation according to current connection status.
For example, access state when access wireless network, which can be divided into, establishes connection, verifying identity and inspection net Three connection status of network connectivity." establishing connection " corresponds to animation sub-mark anim1, " verifying identity " corresponding animation sub-mark Anim2, " checking network connectivty " corresponding animation sub-mark anim3.So, when accessing wireless network, it can according to working as Preceding connection status shows corresponding animation, for example, the corresponding animation of playing animation sub-mark anim1 at " establishing connection ", The corresponding animation of playing animation sub-mark anim2, the playing animation sub- mark at " checking network connectivty " at " verifying identity " Know the corresponding animation of anim3.
In one embodiment, terminal can the current access state of real-time monitoring, when access state changes, immediately Stop playing currently playing animation, switching plays animation corresponding to the connection status being currently entering.That is, in this reality It applies in example, when access state changes, animation being played on directly stops playing, and starts to play new animation at once.
Illustrate, it is assumed that monitored during playing animation sub-mark anim1 corresponding animation access state by When " establishing connection " variation is " verifying identity ", that is, stop playing the corresponding animation of anim1, switching broadcasting anim2 is corresponding dynamic It draws.
In one embodiment, terminal can monitor current access state when each animation play finishes, and play current Connection status corresponding to animation.That is, access state does not change, then the corresponding animation of original access state is repeated playing; Access state changes, then plays the corresponding animation of new access state.That is, in the present embodiment, not suspending just In the animation of broadcasting, but after each animation play finishes, the animation for needing to play is determined according to current access state.
It illustrates, it is assumed that at the end of animation sub-mark anim1 corresponding animation play, if current access state is also It is " establishing connection ", then repeats playing the corresponding animation of anim1 (if " establishing connection " corresponding more than one animation, broadcaster Another animation in more than one animation);It is corresponding dynamic that current access state is that " verifying identity " then continues to play anim2 It draws;Continue to play the corresponding animation of anim3 if current access state is " checking network connectivty ".That is, not being The corresponding animation of each access state can be played.
In one embodiment, the switching of animation plays the connection procedure that wireless network can be connected with Dynamic Display.Such as There may be sequence between more than one animation, terminal can sequentially play in order animation according to this, dynamic by what is successively shown Draw the connection procedure to indicate connection wireless network.In the present embodiment, expression be can reflect out by the animation successively shown and connected Connect the progress of wireless network.
In the embodiment of the present application, terminal selects the animation played and the wireless network being currently accessed when accessing wireless network The attribute information of network is related.That is, can be made in this way by configuring compatible animation for different attribute informations The animation played when accessing wireless network is more rationally effective, is received by user.
For example, the signal of the wireless network of access is stronger, access is time-consuming shorter;It so, is signal strength in attribute information When, the animation duration of the more strong corresponding animation of signal strength is shorter;Can be arranged in this way by reasonable duration avoids animation from broadcasting It discharges complete but network to be also not connected with successfully, or is connected to the network the case where successfully animation stops abruptly.For another example, in attribute information It can be the animation of different web tab configuration and its content matching when for web tab.As web tab be hotel when match It sets and is related to the animation of hotel's content, configuration is related to the animation of cuisines content when web tab is cuisines.
In above-described embodiment, when accessing wireless network, each animation in one group of animation is played, playable animation is increased Quantity enriches the content of playable animation, and can also be reflected by the animation successively shown indicates connection wireless network Progress.
In one embodiment, wireless network access method further include: add by the animation component content set of creation When the quantity of the animation component content set cached when being downloaded to buffer queue and in buffer queue reaches preset quantity, then will After animation component content set cached in buffer queue and the most end that sorts removes, by the animation component content collection of creation Close the buffer queue being loaded by delete processing;Wherein, the arrangement of the animation component content set cached in buffer queue Sequentially, related to the broadcasting time of animation component content set and play time.
It is appreciated that in order to alleviate caching pressure and avoiding cache it is excessive cleared up by terminal system, can in buffer queue The limited amount of the animation composition set of caching.When needs will cache team to buffer queue load animation component content set The quantity of the animation component content set cached in column has reached the upper limit, then needs to the animation group cached in buffer queue It is cleared up at properties collection, needs to load the animation component content set into buffer queue to clean out memory space storage.
Wherein, preset quantity is the upper limit of the quantity of the animation component content set cached in buffer queue.Present count Amount can also be arranged by server according to the configuration-direct of the account triggering with configuration permission, can also be by terminal according to user The configuration-direct setting of account triggering.
Specifically, terminal can according to the broadcasting time and play time of animation component content set, in buffer queue The animation component content set of caching is ranked up.Wherein, the broadcasting time of animation component content set can reflect animation quilt The frequency of broadcasting, to reflect the useful degree of animation component content set;The broadcasting time of animation component content set is got over More, the useful degree of the animation component content set is higher.The play time of animation component content set can reflect animation quilt The frequency of broadcasting, to reflect the useful degree of animation component content set;The play time of animation component content set away from Closer from current time, then the useful degree of the animation component content set is higher.The useful degree of animation component content set Higher, sorting position is then more forward, and the priority being retained in buffer queue is higher.
Terminal can respectively distribute corresponding weight to broadcasting time and play time, then press each animation group of weight calculation At the respective comprehensive score of properties collection, descending sort is carried out to animation component content set according still further to comprehensive score.Exist in this way It needs the animation component content set of creation being loaded into the animation component content collection cached in buffer queue but buffer queue It, then can be by animation component content collection cached in buffer queue and the most end that sorts when the quantity of conjunction reaches preset quantity It closes after removing, then the animation component content set of creation is loaded into the buffer queue by delete processing.On the one hand it can incite somebody to action Less removed in time using the cache contents not used even is delayed, and solution caches pressure and avoids caching excessive clear by terminal system Reason;On the other hand spatial cache can also be cleaned out for currently needing data to be used to cache in time.That is, the present embodiment It is middle using LRU (Least Recently Used, least recently used) caching technology, only can cache array animation simultaneously, avoid The too big memory of occupancy, which causes to apply, is recovered memory.
In addition, terminal is when removing animation component content set cached in buffer queue and the most end that sorts.Also The cartoon material that caching corresponding with the animation component content set can be removed provides content cleaning ability, can effectively remove Invalid data in memory.
In a further embodiment, in buffer queue can fixed storage with good grounds static default configuration file creation default Animation component content set.When sorting and removing animation component content set, the animation component content of default can not be considered Set.
In one embodiment, wireless network access method further include: animation group is identified in corresponding animation composition Hold the corresponding broadcasting time of set and play time is counted;Wherein, broadcasting time and play time, for buffer queue In the animation component content set that has cached be ranked up.
Specifically, when terminal can identify the corresponding corresponding broadcasting time of animation component content set and be played to animation group Between recorded.Wherein, the record time can be animation play before, animation play when or animation play after.It can manage Solution, an animation group identifies the animation component content in corresponding animation component content set, usually in an animation play Period is successively played.One animation play period refers to that playing animation is wireless to being successfully accessed since when accessing wireless network Terminate playing animation after network.
In the present embodiment, broadcasting time and play time record are carried out after playing animation, it can secondary based on playing Several and play time is ranked up animation component content set, subsequent in this way in needing to clear up in buffer queue and caching Rong Shi can reasonably delete data according to the sequence and vacate spatial cache.
In one embodiment, according to animation component content playing animation corresponding to the animation sub-mark obtained, comprising: Animation component content corresponding to the animation sub-mark that will acquire is transferred to interface thread;By interface thread, foundation is transferred to Animation component content specified by material mark obtain cartoon material;By interface thread, according to the animation composition being transferred to Drawing for order specified by content draws animation according to the cartoon material of acquisition in painting canvas.
Wherein, interface thread for organizational interface's view and renders.Painting canvas (canvas) can be understood as graphical container, fortune Capable logical code then can by drawing interface on painting canvas the figures such as rendering text, lines, rectangle and circle.Painting canvas can wrap Include screen painting canvas and off screen painting canvas.Upper screen painting canvas has been shown on the screen of terminal and wide contour with screen.Off screen is drawn Cloth is then not yet shown on the screen of terminal.For animation, since a frame animation picture can be understood as a frame image, then broadcasting Putting animation can construct to obtain by drawing cartoon material on painting canvas.
Specifically, terminal can by data thread from buffer queue read animation sub-mark corresponding to animation composition in Hold, the animation component content is then transferred to interface thread.Interface thread is according still further to element specified by the animation component content Material mark obtains cartoon material from cartoon material pond, and according to drawing for order specified by the animation component content, in painting canvas It is middle that animation is formed according to the cartoon material drawing image of acquisition.
In one embodiment, the corresponding interface thread in an interface, allows multiple interface threads to postpone and deposits in queue Read animation component content.Can that is, an animation is not secured on an interface and plays.
In one embodiment, placement position of the different animations in interface can be identical or not identical.Also It is to say, play position of the different animations in interface can be identical or not identical.
In one embodiment, if animation needs when drawing using picture materials, interface thread can be acted on behalf of to picture PROGRAMMED REQUESTS picture materials, the good picture materials of picture broker program return cache to interface thread.
In above-described embodiment, the process for completing playing animation, data thread are cooperateed with by data thread and interface thread It is responsible for reading data and transmitting, interface thread is responsible for drawing cartoon picture, can utilize data thread and interface thread in this way Common playing animation improves animation play efficiency.And data thread is mutually separated with view thread, easily facilitates the reality of thread Now and safeguard.
In one embodiment, wireless network access method further include: receive animation and issue a notice;Each animation issues The corresponding animation mark of notice;The download path downloading dynamic for issuing a notice corresponding from animation issues configuration file;According to Dynamic issues configuration file, creates animation component content corresponding with animation mark and is loaded into buffer queue.
Wherein, animation is issued a notice, and is for prompting dynamic to issue the notice that configuration file updates.Animation issues logical Terminal can be sent to by server by form of message or document form by knowing.Animation, which is issued a notice, specifically can be under animation Bill includes the download path that dynamic issues configuration file in bill under the animation.
One animation, which is issued a notice, corresponds to an animation mark, and it is literary that a corresponding dynamic of animation mark issues configuration Part, expression are updated as unit of animation, i.e., often have an animation to identify corresponding animation and update, then generate one and move Picture is issued a notice.In a specific embodiment, animation be identified as animation group mark, that is to say, that as unit of animation group into Row updates, i.e., updates animation a group by a group.
Specifically, terminal can receive issue one of server or more than one animation is issued a notice.Wherein, each Animation, which is issued a notice, corresponds to an animation mark.The terminal download path downloading that can issue a notice from each animation corresponding in this way The corresponding dynamic of each animation mark issues configuration file, to issue configuration text according to the corresponding dynamic of each animation mark Part creates animation component content corresponding with each animation mark and is loaded into buffer queue.In the present embodiment, by receiving When animation is issued a notice, that is, corresponding animation component content is pre-created and is loaded onto buffer queue.In this way, it is subsequent need into When row animation play, animation component content can be directly read to carry out animation drafting, response efficiency on the one hand can be improved, separately On the one hand since animation play is to draw to realize by animation parameters, committed memory is small, and can come into force multiple groups animation simultaneously.
With reference to Fig. 6, in a specific embodiment, animation is identified as animation group mark, and animation is issued a notice as animation Lower bill.Specifically, terminal after bill, obtains animation group corresponding to bill under the animation and identifies in the case where receiving animation, and It checks in buffer queue with the presence or absence of animation component content set corresponding with the animation group mark.If it exists, then it directly returns Loaded;If it does not exist, then it obtains (history downloading) or downloading dynamic corresponding with the animation group mark issues configuration file, And judge that this dynamically issues whether configuration file needs to decompress.If desired it decompresses, then removes and catalogue is locally decompressed (usually Dynamically to descend the odd numbers of bill to name, belong to history downloading residual) after unzip it, when decompress successfully, traverse decompress Dynamic after contracting issues each list items of configured list in configuration file, and in de-compression failure, feedback decompression is abnormal.If being not required to It decompresses, then directly traverses each list items that dynamic issues configured list in configuration file.Wherein, each list items corresponding one A configuration information list, the corresponding animation sub-mark of a configuration information list.
For traversing list items extremely, whether terminal can determine whether current time in the corresponding configuration information list of the list items Defined by term of validity.If current time is in the term of validity defined by the corresponding configuration information list of the list items, Corresponding local history residual caching is then removed, creates the corresponding animation of corresponding animation sub-mark according to configuration file is dynamically issued Component content, and load after animation component content creates successfully into buffer queue.If current time is not corresponding in the list items Configuration information list defined by term of validity, then remove corresponding local history residual caching, matched according to static default The corresponding animation component content of the corresponding animation sub-mark of document creation is set, and is loaded after animation component content creates successfully into slow Deposit queue.If the animation loaded during the creation of animation component content into content is removed in the creation failure of animation component content Material.Until having traversed each list items that dynamic issues configured list in configuration file, loaded is returned.
In one embodiment, according to configuration file is dynamically issued, animation component content corresponding with animation mark is created And it is loaded into buffer queue, comprising: when the quantity that animation is issued a notice is more than preset quantity, then issue a notice middle choosing from animation The animation of preset quantity is taken to issue a notice;Configuration file is issued according to each animation of selection corresponding dynamic of issuing a notice, is created It issuees a notice with each animation of selection and the corresponding animation component content of corresponding animation mark and is loaded into buffer queue.
It is appreciated that in order to alleviate caching pressure and avoiding cache it is excessive cleared up by terminal system, can in buffer queue The limited amount of the animation composition set of caching.Preset quantity is the animation component content set that can be cached in buffer queue The upper limit of quantity.For example, 3 or 5 equal natures numerical value.
Specifically, when the quantity that animation is issued a notice is more than preset quantity, during terminal is then issued a notice from these animations The animation for choosing preset quantity is issued a notice;Configuration file is issued according to each animation of selection corresponding dynamic of issuing a notice, is created It builds to issue a notice with each animation chosen and the corresponding animation component content of corresponding animation mark and is loaded into buffer queue.When dynamic When drawing the quantity issued a notice and being less than preset quantity, terminal then issues configuration according to these animations corresponding dynamic of issuing a notice File, creation issue a notice with these animations corresponding to the corresponding animation component content of animation mark and be loaded into buffer queue. In the present embodiment, internal memory optimization management has been carried out, the number that can at most load into the animation component content of buffer queue is limited Amount.
In one embodiment, wireless network access method further include: when the downloading for issuing configuration file in the presence of dynamic When path, obtains the static default configuration file being locally stored and configuration file is issued by the dynamic that download path is downloaded; Each dynamic issues the corresponding animation mark of configuration file;Configuration file is issued according to static default configuration file and dynamic Union, creation animation component content corresponding with the mark of animation corresponding to configuration file is dynamically issued simultaneously are loaded into buffer queue.
It is appreciated that terminal can realize the wireless network access method by the client of operation thereon.As the client When end is initialised, the client of the initialization can check whether there is the download path that dynamic issues configuration file.If the road Diameter is not present, then obtains the static default configuration file being locally stored, according to the animation of static default configuration file creation default Component content is simultaneously loaded into buffer queue.If the path exists, obtains the static default configuration file being locally stored and lead to The dynamic for crossing download path downloading issues configuration file;According to static default configuration file and dynamic issue configuration file and Collection, creation animation component content corresponding with the mark of animation corresponding to configuration file is dynamically issued simultaneously are loaded into buffer queue.
In one embodiment, the union that configuration file is issued according to static default configuration file and dynamic creates and dynamic State issues animation corresponding to configuration file and identifies corresponding animation component content and be loaded into buffer queue, comprising: when static state is silent Recognize in configuration file and there is the entry-into-force time corresponding with the first animation sub-mark and dynamic issues in configuration file that there is no with the When one animation sub-mark corresponding entry-into-force time, then created according to static default configuration file corresponding with the first animation sub-mark Animation component content, and it is loaded into buffer queue;When there is no corresponding with the second animation sub-mark in static default configuration file Entry-into-force time and dynamic issue in configuration file when there is the entry-into-force time corresponding with the second animation sub-mark, then according to dynamic State issues configuration file and creates animation component content corresponding with the second animation sub-mark, and is loaded into buffer queue;Work as static state There is the entry-into-force time corresponding with third animation sub-mark in default configuration file and dynamic issues in configuration file and exists and the When three animation sub-marks corresponding entry-into-force time, then according to the creation of the configuration file in evening entry-into-force time and third animation sub-mark pair The animation component content answered, and it is loaded into buffer queue.
With reference to Fig. 7, in a specific embodiment, after terminal initialization client, client can check whether exist Dynamic issues the download path of configuration file.If the path is not present, judge to configure text using the static default being locally stored Part carrys out making of cartoon component content and is loaded into buffer queue.If the path exists, the static state being locally stored is used in combination in judgement Default configuration file and by download path download dynamic issue configuration file, common making of cartoon component content is loaded into slow Deposit queue.
Wherein, client, will be static when static default configuration file is used in combination in judgement and dynamic issues configuration file Default configuration file (ConfigDefault) and dynamic issue configuration file (ConfigNew) and unzip to temp directory (DirTemp).ConfigDefault and ConfigNew after comparison decompression: for having in ConfigNew but The no animation sub-mark of ConfigDefault and within time limit validity period, then generate the animation sub-mark according to ConfigNew Simultaneously buffer queue is written in corresponding animation Composition;For existing dynamic in ConfigNew and ConfigDefault Sub-mark is drawn, then judges the corresponding effective date, which is generated according to the configuration file of effective date relatively the latest Simultaneously buffer queue is written in animation Composition;For animation for having in ConfigDefault but not having in ConfigNew Mark, then generate the corresponding animation Composition of the animation sub-mark according to ConfigDefault and buffer queue be written. After ConfigDefault and ConfigNew is compared, temp directory DirTemp is deleted.
As can be seen that according to dynamically issue configuration file playing animation with according to static default configuration file playing animation not Conflict, can also be according to static default configuration file playing animation when dynamically not issuing configuration file.In this way, sending out in a dynamic state When configuration file malfunctions, it can stop issuing at any time, not influence the animation play of terminal.
In above-described embodiment, in initialization client every time, that is, corresponding animation component content is pre-created and is loaded onto In buffer queue.In this way, it is subsequent need to carry out animation play when, animation component content can be directly read and drawn to carry out animation System, on the one hand can be improved response efficiency, on the other hand since animation play is to draw to realize by animation parameters, committed memory Small, can come into force multiple groups animation simultaneously.
Fig. 8 shows the interaction schematic diagram between the client run on server and terminal in one embodiment.With reference to Fig. 8, in a specific embodiment, server issue bill under animation to client.Client is issued receiving animation Dan Hou issues single corresponding download path downloading dynamic according to animation and issues configuration file and cartoon material.The animation of client The dynamic of management program parsing downloading issues configuration file, and data file (DAT file) is stored to file directory (Files mesh Record), cartoon material and animation configuration file (json file) are stored to animation catalogue (anim catalogue).The animation management program Expired file can also be removed.When user accesses wireless network by client, the animation cache management program root of client Animation component content is loaded according to the wireless network identification of selection, according to the animation component content playing animation.
Further, the process of playing animation can be with specific reference to Fig. 9.As shown in figure 9, client is being determined through user's account Selected by the selection instruction of number triggering after wireless network identification, wireless network corresponding to the wireless network identification of selection is accessed Network concurrently determines the corresponding web tab of wireless network identification (WiFi label) chosen, and checks whether exist and the network The animation group of tag match identifies (animation title suffix).If it exists, then the corresponding animation composition of animation group mark is checked Content (animation Composition)) set whether be buffered in buffer queue.If being buffered in buffer queue, directly postpone Reading animation component content set in queue is deposited, the variation of access state, obtains current access when following access wireless network Animation sub-mark corresponding to state, and animation component content playing animation corresponding to the animation sub-mark according to acquisition.If Uncached then to issue configuration file according to dynamic corresponding with animation group mark in buffer queue, creation is identified with animation group Corresponding animation component content collection merging is loaded into buffer queue, then animation component content set is read from buffer queue, The variation of access state, obtains animation sub-mark corresponding to current access state, and foundation when following access wireless network Animation component content playing animation corresponding to the animation sub-mark of acquisition.If it does not exist with the matched animation group of the web tab Mark, then directly read the animation component content set of default from buffer queue, access state when following access wireless network Variation, obtain animation sub-mark corresponding to current access state, and corresponding to the animation sub-mark according to acquisition move Draw component content playing animation.After being successfully accessed wireless network, client, which can play transition cartoon and jump to, passes through user The specified page of account.
As shown in Figure 10, in a specific embodiment, a kind of wireless network access method is provided.The present embodiment master To be applied to the wireless network management application run in terminal in this way to illustrate.Referring to Fig.1 0, the wireless network Cut-in method specifically comprises the following steps:
S1002 starts the wireless network access function of terminal, obtains the wireless network identification list of the terminal;This is wireless List of network identifications includes the corresponding wireless network identification of wireless network that the terminal nearby can access.
Specifically, mountable in terminal to have wireless network management application.In this way, terminal can run the nothing according to user's operation Line network management-application passes through the wireless network access function of the wireless network management application starting terminal of operation.It is wireless at this When network management-application is endowed reading data permission, the wireless network that wireless network management application obtains the terminal is continued through Network identification list.The wireless network identification list of the terminal, can be by the wireless network AM access module call operation of terminal itself The wireless network search interface that system provides searches for wireless network, stores wireless network corresponding to the wireless network searched Mark obtains.
Wireless network identification list is sent to server by S1004, and receives server return, wireless network identification The corresponding web tab of wireless network identification in list.
Specifically, the wireless network management application run in terminal, the wireless network list that can be will acquire are sent to the nothing The corresponding background server of line network management-application.By the background server come wireless in polling of radio network identification list The corresponding web tab of network identity, and feed back to wireless network management application.
S1006 filters out that there are corresponding network labels from the wireless network identification that wireless network identification list includes Wireless network identification.
Specifically, the wireless network management application run in terminal, can according to background server feed back information inspection without In the wireless network identification that line list of network identifications includes, there are corresponding web tabs for which wireless network identification, to sieve Select that there are the wireless network identifications of corresponding network label.
In a further embodiment, wireless network management application can receive bill under the animation that background server issues.Often A animation issues single pair and answers an animation group mark, and bill is configured with corresponding animation group mark matching under each animation Web tab.In this way, for there are the wireless network identification of corresponding network label, wireless network management application be can also continue to Checking the corresponding web tab of which wireless network identification, there are matched animation groups to identify.Wireless network management is using then in this way Can filter out there are corresponding network label and the web tab there are the wireless network identifications that matched animation group identifies.This reality It applies in example, passes through the multiple screening of wireless network identification, it can be ensured that no matter subsequent user selects which wireless network accessed, There is the matched animation of web tab corresponding with the wireless network for being intended to access that can play.
In a further embodiment, background server, can also be anti-when to wireless network management application feedback network label Present the recommendation score value of each wireless network.In this way, wireless network management application is also based on the recommendation score value of each wireless network, it is right Filter out there are corresponding network label and the web tab there are the wireless network identifications that matched animation group identifies, continue It is screened.For example, filtering out the preset quantity wireless network identification etc. for recommending score value to sort forward.In the present embodiment, lead to The multiple screening of wireless network identification is crossed, the wireless network of better quality can be recommended to user's connection, it is wireless to improve access The efficiency and validity of network.
S1008 shows the wireless network identification filtered out.
S1010, access pass through corresponding to the wireless network identification that selection instruction is chosen from the wireless network identification of displaying Wireless network.
S1012 inquires web tab corresponding to the wireless network identification chosen during accessing wireless network.
S1014 judges that the web tab is identified with the presence or absence of matched animation group;If so, jumping to S1016;If it is not, Then jump to S1030.
S1016 is checked in buffer queue with the presence or absence of animation component content set corresponding with the animation group mark;If It is then to jump to S1018;If it is not, then jumping to S1020.
S1018, from the animation component content read in buffer queue in animation component content set;The animation component content Each animation component content in set respectively corresponds to an animation sub-mark.
Specifically, animation component content set present in buffer queue, can be wireless network management and applies and receiving Under the animation issued to background server after bill, configuration file is issued according to bill downloading dynamic under animation, then according to dynamic State issues configuration file, and combines the static default configuration file being locally stored, and creates animation composition corresponding with animation mark Content is loaded into buffer queue.
Due to the limited amount of animation component content set cacheable in buffer queue, wireless network management application can be with It selectively creates the corresponding animation component content of certain animations marks and is loaded into buffer queue.
S1020 obtains dynamic corresponding with animation group mark and issues configuration file;Traversal dynamic issue in configuration file with Each animation sub-mark corresponding term of validity.
S1022, judges whether current time belonged in the term of validity of traversal extremely;If so, jumping to S1024;If it is not, Then jump to S1026.
S1024, creation animation component content corresponding with animation sub-mark corresponding to term of validity extremely is traversed;It will creation Animation component content be loaded into buffer queue.
S1026 determines and traverses animation sub-mark corresponding to term of validity extremely;It is corresponding according to determining animation sub-mark Static default configuration file, creation is simultaneously loaded into buffer queue with the corresponding animation component content of animation sub-mark of determination.
In addition, wireless network management, which is applied, is loaded into buffer queue for animation component content in S1024 or S1026 When, if the quantity of the animation component content set cached in buffer queue reaches preset quantity, can by buffer queue Caching and sort most end animation component content set remove after, by the animation component content set of creation be loaded by The buffer queue of delete processing.
S1028 judges whether that traversal is completed;If so, jumping to S1018;If it is not, then jumping to S1020.S1030, from The animation component content in the animation component content set of default is read in buffer queue.
S1032, the variation of access state, obtains animation corresponding to current access state when following access wireless network Sub-mark.
S1034, animation component content corresponding to the animation sub-mark that will acquire are transferred to interface thread;Pass through parting line Journey obtains cartoon material according to the mark of material specified by the animation component content being transferred to;By interface thread, according to transmitting Drawing for order specified by animation component content extremely draws animation according to the cartoon material of acquisition in painting canvas.
In addition, wireless network management is applied in playing animation, corresponding animation component content can be also identified to animation group Gather corresponding broadcasting time and play time is counted;Wherein, broadcasting time and play time, for in buffer queue The animation component content set cached is ranked up.
S1036 switches to broadcasting transition cartoon, and jump to target pages when being successfully accessed wireless network.
In the present embodiment, the wireless network management run in terminal is arranged using the wireless network identification of available terminal Table, and to the corresponding web tab of wireless network identification is pulled from the background, filters out that there are the wireless networks of web tab to be supplied to User selects access.In this way, during the wireless network of accessing user's selection, the web tab of inquiry and the wireless network Matched animation group mark, and obtain the animation group and identify corresponding animation component content set;Or in the wireless network When web tab is identified without matched animation group, the animation component content set of default is obtained, in the mistake of access wireless network In journey and animation component content set playing animation.Terminal can be made full use of in the waiting time of access wireless network in this way Animation play is carried out, the waste of terminal resource is avoided.Moreover, the animation played is determined by the web tab of wireless access point, It can trigger when accessing the wireless access point of heterogeneous networks label and play different animations, enrich the particular content of broadcasting, mention The high practicability of animation play.
In addition, wireless network management application is after being initialized, the preloading of animation component content set can also be carried out. Specifically, when in the presence of dynamic issue the download path of configuration file when, wireless network management application can obtain be locally stored it is quiet State default configuration file and by download path download dynamic issue configuration file.Exist when in static default configuration file Entry-into-force time corresponding with the first animation sub-mark and dynamic issue in configuration file there is no with the first animation sub-mark it is corresponding Entry-into-force time when, then corresponding with the first animation sub-mark animation component content is created according to static default configuration file, and It is loaded into buffer queue;When entry-into-force time corresponding with the second animation sub-mark and dynamic is not present in static default configuration file State issue in configuration file exist the entry-into-force time corresponding with the second animation sub-mark when, then according to dynamically issue configuration file wound Animation component content corresponding with the second animation sub-mark is built, and is loaded into buffer queue;It is deposited when in static default configuration file The entry-into-force time corresponding with third animation sub-mark and dynamic issue in configuration file exist with third animation sub-mark it is corresponding Entry-into-force time when, then created in corresponding with third animation sub-mark animation forms according to the configuration file in evening entry-into-force time Hold, and is loaded into buffer queue.
It should be understood that although each step in the flow chart of the various embodiments described above is successively shown according to the instruction of arrow Show, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, this There is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, above-mentioned each implementation At least part step in example may include that perhaps these sub-steps of multiple stages or stage be not necessarily for multiple sub-steps It is to execute completion in synchronization, but can execute at different times, the execution sequence in these sub-steps or stage It is not necessarily and successively carries out, but can be at least part wheel of the sub-step or stage of other steps or other steps Stream alternately executes.
As shown in figure 11, in one embodiment, a kind of Wireless network connection equipment 1100 is provided.Referring to Fig.1 1, it should Wireless network connection equipment 1100 includes: to obtain module 1101, AM access module 1102, determining module 1103 and playing module 1104。
Module 1101 is obtained, for obtaining wireless network corresponding to the wireless network that current geographic position nearby can access Mark.
AM access module 1102, for accessing wireless network corresponding to the wireless network identification chosen from wireless network identification Network.
Determining module 1103, for during accessing wireless network, determining that the wireless network identification chosen is corresponding Attribute information.
Calling module 1104, for calling and the matched virtual resource to be presented of attribute information.
Playing module 1105, for playing the virtual resource to be presented during accessing the wireless network.
In one embodiment, attribute information includes web tab.Obtain module 1101 be also used to obtain it is local wireless List of network identifications;Filter out in wireless network identification list that there are the wireless network identifications of corresponding network label;It filters out There are matched virtual resources to be presented for the corresponding web tab of wireless network identification;It is selected from the wireless network identification filtered out Take wireless network identification.
In one embodiment, module 1101 is obtained to be also used to wireless network identification list being sent to server;It receives Wireless network identification corresponding web tab that server returns, in wireless network identification list;Filter out corresponding network mark There are the wireless network identifications of matched virtual resource to be presented for label.
In one embodiment, virtual resource to be presented is animation.Calling module 1104 is also used to exist and attribute is believed When ceasing matched animation mark, animation component content corresponding with animation mark is determined.Playing module 1105 is also used to accessing During wireless network, animation corresponding with animation mark is played according to animation component content.
In one embodiment, animation is identified as animation group mark.Calling module 1104 is also used to determining and animation group mark Know corresponding animation component content set;The corresponding animation mark of each animation component content in animation component content set Know.It is right to obtain current access state institute for the variation of access state when playing module 1105 is also used to follow access wireless network The animation sub-mark answered, and animation component content playing animation corresponding to the animation sub-mark according to acquisition.
In one embodiment, calling module 1104 is also used to corresponding with animation group mark dynamic when existing in buffer queue When drawing component content set, then from the animation component content read in buffer queue in animation component content set;When caching team When in column there is no with animation component content set, then corresponding dynamic is identified according to animation group and issues configuration file, creation with Animation group identifies corresponding animation component content collection merging and is loaded into buffer queue;Animation component content is read from buffer queue Animation component content in set.
In one embodiment, calling module 1104 is also used to obtain dynamic corresponding with animation group mark and issues configuration text Part;Traversal dynamic issue in configuration file with each animation sub-mark corresponding term of validity;Belong to traversal in current time When in term of validity extremely, then animation component content corresponding with animation sub-mark corresponding to term of validity extremely is traversed is created; The animation component content of creation is loaded into buffer queue.
In one embodiment, calling module 1104 is also used to be not belonging to traverse in term of validity extremely in current time When, it is determined that with animation sub-mark corresponding to traversal term of validity extremely;It is corresponding static silent according to determining animation sub-mark Recognize configuration file, create animation component content corresponding with the animation sub-mark determined and is loaded into buffer queue.
In one embodiment, calling module 1104 is also used to the animation component content set of creation being loaded into caching When the quantity of the animation component content set cached when queue and in buffer queue reaches preset quantity, then by buffer queue In cached and sort most end animation component content set remove after, the animation component content set of creation is loaded into By the buffer queue of delete processing;Wherein, the animation component content set cached in buffer queue puts in order, and dynamic The broadcasting time for drawing component content set is related to play time.
In one embodiment, calling module 1104 is also used to identify animation group corresponding animation component content set phase The broadcasting time and play time answered are counted;Wherein, broadcasting time and play time, for having been cached in buffer queue Animation component content set be ranked up.
In one embodiment, in the composition of animation corresponding to the animation sub-mark that playing module 1105 is also used to will acquire Appearance is transferred to interface thread;By interface thread, obtained according to the mark of material specified by the animation component content being transferred to dynamic Picture element material;By interface thread, according to drawing for order specified by the animation component content being transferred to, according to acquisition in painting canvas Cartoon material draw animation.
As shown in figure 12, in one embodiment, Wireless network connection equipment 1100 further include: preparation module 1106 is used It issuees a notice in receiving animation;Each animation, which is issued a notice, corresponds to an animation mark;From animation issue a notice it is corresponding under It carries path downloading dynamic and issues configuration file;According to configuration file is dynamically issued, animation composition corresponding with animation mark is created Content is simultaneously loaded into buffer queue.
In one embodiment, preparation module 1106 is also used to when the quantity that animation is issued a notice is more than preset quantity, Then from animation issue a notice it is middle choose preset quantity animation issue a notice;It is issued a notice according to each animation of selection corresponding dynamic State issues configuration file, creation and each animation chosen issue a notice the corresponding animation component content of corresponding animation mark and plus It is downloaded to buffer queue.
In one embodiment, preparation module 1106 is also used to when issuing the download path of configuration file in the presence of dynamic, It obtains the static default configuration file being locally stored and configuration file is issued by the dynamic that download path is downloaded;Each dynamic Issue the corresponding animation mark of configuration file;The union of configuration file, wound are issued according to static default configuration file and dynamic It builds animation component content corresponding with the mark of animation corresponding to configuration file is dynamically issued and is loaded into buffer queue.
In one embodiment, preparation module 1106 is also used to exist in the static default configuration file and the first animation It identifies the corresponding entry-into-force time and dynamic issues and the entry-into-force time corresponding with the first animation sub-mark is not present in configuration file When, then animation component content corresponding with the first animation sub-mark is created according to static default configuration file, and be loaded into caching Queue;When the entry-into-force time corresponding with the second animation sub-mark being not present in static default configuration file and dynamic issues configuration When there is the entry-into-force time corresponding with the second animation sub-mark in file, then according to dynamically issuing, configuration file is created and second is dynamic The corresponding animation component content of sub-mark is drawn, and is loaded into buffer queue;It is dynamic with third when existing in static default configuration file It draws the sub-mark corresponding entry-into-force time and dynamic issues and there is the entry-into-force time corresponding with third animation sub-mark in configuration file When, then animation component content corresponding with third animation sub-mark is created according to the configuration file in evening entry-into-force time, and be loaded into Buffer queue.
Above-mentioned Wireless network connection equipment 1100, it is right in the wireless network institute for getting accessible near current geographic position After the wireless network identification answered, it is corresponding its can be accessed according to the wireless network identification chosen from these wireless network identifications Wireless network, and the wireless network identification corresponding attribute information chosen is determined during accessing wireless network, and then adjust With with the matched virtual resource to be presented of the attribute information, to be played during accessing wireless network.It in this way can be abundant The broadcasting for carrying out virtual resource to be presented in the waiting time of access wireless network using terminal, avoids the wave of terminal resource Take.Moreover, the virtual resource to be presented played is determined by the attribute information of wireless access point, in the nothing of access different attribute information It can trigger when line access point and play different virtual resources to be presented, enrich the particular content of broadcasting.
Figure 13 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure Terminal 110 in 1.As shown in figure 13, it includes the place connected by system bus which, which includes the computer equipment, Manage device, memory, network interface, input unit and display screen.Wherein, memory includes non-volatile memory medium and interior storage Device.The non-volatile memory medium of the computer equipment is stored with operating system, can also be stored with computer program, the computer When program is executed by processor, processor may make to realize wireless network access method.Meter can also be stored in the built-in storage Calculation machine program when the computer program is executed by processor, may make processor to execute wireless network access method.Computer is set Standby display screen can be liquid crystal display or electric ink display screen, and the input unit of computer equipment can be display screen The touch layer of upper covering is also possible to the key being arranged on computer equipment shell, trace ball or Trackpad, can also be external Keyboard, Trackpad or mouse etc..It will be understood by those skilled in the art that structure shown in Figure 13, only and the application The block diagram of the relevant part-structure of scheme, does not constitute the restriction for the computer equipment being applied thereon to application scheme, Specific computer equipment may include perhaps combining certain components than more or fewer components as shown in the figure or having Different component layouts.
In one embodiment, Wireless network connection equipment provided by the present application can be implemented as a kind of computer program Form, computer program can be run in computer equipment as shown in fig. 13 that.Group can be stored in the memory of computer equipment At each program module of the Wireless network connection equipment, for example, acquisition module 1101, AM access module 1102 shown in Figure 11, Determining module 1103, calling module 1104 and playing module 1105.The computer program that each program module is constituted to handle Device executes the step in the wireless network access method of each embodiment of the application described in this specification.
For example, computer equipment shown in Figure 13 can be by Wireless network connection equipment 1100 as shown in figure 11 It obtains module 1101 and obtains wireless network identification corresponding to the wireless network that current geographic position nearby can access.Pass through access Module 1102 accesses wireless network corresponding to the wireless network identification chosen from wireless network identification.Pass through determining module 1103 during accessing wireless network, determines the corresponding attribute information of wireless network identification chosen.Pass through calling module 1104 call and the matched virtual resource to be presented of attribute information.Through playing module 1004 during accessing wireless network Play virtual resource to be presented.
In one embodiment, a kind of computer equipment, including memory and processor are provided, memory is stored with meter Calculation machine program, when computer program is executed by processor, so that the step of processor executes above-mentioned wireless network access method.This The step of locating wireless network access method can be the step in the wireless network access method of above-mentioned each embodiment.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer journey are stored with When sequence is executed by processor, so that the step of processor executes above-mentioned wireless network access method.Wireless network access side herein The step of method, can be the step in the wireless network access method of above-mentioned each embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, provided herein Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (15)

1. a kind of wireless network access method, comprising:
Obtain wireless network identification corresponding to the wireless network that current geographic position nearby can access;
Access wireless network corresponding to the wireless network identification chosen from the wireless network identification;
During accessing the wireless network, the corresponding attribute information of the wireless network identification chosen is determined;
It calls and the matched virtual resource to be presented of the attribute information;
The virtual resource to be presented is played during accessing the wireless network.
2. the method according to claim 1, wherein the attribute information includes web tab;The acquisition is worked as Wireless network identification corresponding to the accessible wireless network of preceding geographic vicinity, comprising:
Obtain local wireless network identification list;
Filter out in the wireless network identification list that there are the wireless network identifications of corresponding network label;The nothing filtered out There are matched virtual resources to be presented for the corresponding web tab of line network identity;
Wireless network identification is obtained from the wireless network identification filtered out.
3. according to the method described in claim 2, it is characterized in that, described filter out exists in the wireless network identification list The wireless network identification of corresponding network label, comprising:
The wireless network identification list is sent to server;
Receive the corresponding web tab of wireless network identification in the wireless network identification list that the server returns, described;
Filtering out corresponding network label, there are the wireless network identifications of matched virtual resource to be presented.
4. the method according to claim 1, wherein the virtual resource to be presented includes animation;The calling With the matched virtual resource to be presented of the attribute information, comprising:
When there is animation mark matched with the attribute information, determine in animation composition corresponding with animation mark Hold;
It is described that the virtual resource to be presented is played during accessing the wireless network, comprising:
During accessing the wireless network, played according to the animation component content corresponding with animation mark dynamic It draws.
5. according to the method described in claim 4, it is characterized in that, the animation is identified as animation group mark;The determination with The animation identifies corresponding animation component content, comprising:
Determine animation component content set corresponding with the animation group mark;Each of described animation component content set is dynamic Draw the corresponding animation sub-mark of component content;
It is described to play animation corresponding with animation mark according to the animation component content, comprising:
The variation for following access state when accessing the wireless network, obtains animation mark corresponding to current access state Know, and animation component content playing animation corresponding to the animation sub-mark according to acquisition.
6. according to the method described in claim 5, it is characterized in that, determination animation group corresponding with the animation group mark At properties collection, comprising:
When existing in buffer queue with the corresponding animation component content set of animation group mark, then from the buffer queue The middle animation component content read in the animation component content set;
When in the buffer queue there is no with the animation component content set, then
Corresponding dynamic is identified according to the animation group and issues configuration file, creates animation group corresponding with the animation group mark The buffer queue is loaded at content set merging;
From the animation component content read in the buffer queue in the animation component content set.
7. according to the method described in claim 6, it is characterized in that, described issue according to the corresponding dynamic of animation group mark Configuration file creates animation component content collection merging corresponding with the animation group mark and is loaded into the buffer queue, comprising:
It obtains dynamic corresponding with the animation group mark and issues configuration file;
Traverse the dynamic issue in configuration file with each animation sub-mark corresponding term of validity;
When current time belonged in the term of validity of traversal extremely, then animation mark corresponding to term of validity extremely is created and traverses Know corresponding animation component content;
The animation component content of creation is loaded into the buffer queue.
8. the method according to the description of claim 7 is characterized in that the method also includes:
When current time is not belonging to traverse in term of validity extremely, then
Determine and traverse animation sub-mark corresponding to term of validity extremely;
According to the determining corresponding static default configuration file of the animation sub-mark, creation and the animation sub-mark determined Corresponding animation component content is simultaneously loaded into the buffer queue.
9. according to the method described in claim 6, it is characterized in that, the method also includes:
What is cached when the animation component content set of creation is loaded into the buffer queue and in the buffer queue is dynamic When the quantity of picture component content set reaches preset quantity, then
After animation component content set cached in the buffer queue and the most end that sorts is removed, by the animation of creation Component content set is loaded into the buffer queue by delete processing;
Wherein, the animation component content set cached in the buffer queue puts in order, with the animation component content The broadcasting time of set is related to play time.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
The corresponding broadcasting time of corresponding animation component content set is identified to the animation group and play time counts;Its In, the broadcasting time and the play time, for the animation component content set cached in the buffer queue into Row sequence.
11. according to the method described in claim 5, it is characterized in that, described according to corresponding to the animation sub-mark obtained Animation component content playing animation, comprising:
Animation component content corresponding to the animation sub-mark that will acquire is transferred to interface thread;
By the interface thread, animation element is obtained according to the mark of material specified by the animation component content being transferred to Material;
Pass through the interface thread, according to drawing for order specified by the animation component content being transferred to, the root in painting canvas Animation is drawn according to the cartoon material of acquisition.
12. method according to any one of claims 4 to 11, which is characterized in that the method also includes:
Animation is received to issue a notice;Each animation, which is issued a notice, corresponds to an animation mark;
The download path downloading dynamic for issuing a notice corresponding from the animation issues configuration file;
Configuration file is issued according to the dynamic, create animation component content corresponding with animation mark and is loaded into caching Queue.
13. a kind of Wireless network connection equipment, comprising:
Module is obtained, for obtaining wireless network identification corresponding to the wireless network that current geographic position nearby can access;
AM access module, for accessing wireless network corresponding to the wireless network identification chosen from the wireless network identification;
Determining module, for during accessing the wireless network, determining that the wireless network identification chosen is corresponding Attribute information;
Calling module, for calling and the matched virtual resource to be presented of the attribute information;
Playing module, for playing the virtual resource to be presented during accessing the wireless network.
14. a kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor is executed such as the step of any one of claims 1 to 12 the method.
15. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating When machine program is executed by the processor, so that the processor is executed such as any one of claims 1 to 12 the method Step.
CN201910374917.0A 2019-05-07 2019-05-07 Wireless network access method, device, storage medium and computer equipment Active CN110248395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910374917.0A CN110248395B (en) 2019-05-07 2019-05-07 Wireless network access method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910374917.0A CN110248395B (en) 2019-05-07 2019-05-07 Wireless network access method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN110248395A true CN110248395A (en) 2019-09-17
CN110248395B CN110248395B (en) 2021-11-30

Family

ID=67883804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910374917.0A Active CN110248395B (en) 2019-05-07 2019-05-07 Wireless network access method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110248395B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050400A1 (en) * 2021-09-30 2023-04-06 西门子股份公司 Mobile edge device, connection manager, system, method, apparatus, and medium
CN117118840A (en) * 2023-01-19 2023-11-24 荣耀终端有限公司 Data processing system, method, electronic equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635448A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Message sending method and device
KR20160115079A (en) * 2015-03-25 2016-10-06 (주)멜로다임 Method and system to play multinedia contents in the called standby status of smartphone
CN106375991A (en) * 2016-10-21 2017-02-01 上海斐讯数据通信技术有限公司 Wireless network access method for mobile terminal and wireless network
CN106714271A (en) * 2016-06-14 2017-05-24 腾讯科技(深圳)有限公司 Wireless network access method and device
CN107548125A (en) * 2017-08-23 2018-01-05 腾讯科技(深圳)有限公司 Wireless network access, processing method, device, storage medium and computer equipment
CN108900469A (en) * 2018-05-31 2018-11-27 上海掌门科技有限公司 Connect progress page methods of exhibiting, terminal device and computer-readable medium
CN108966316A (en) * 2018-06-20 2018-12-07 上海连尚网络科技有限公司 Show the method, device and equipment of multimedia resource, prediction connection waiting time
CN109246699A (en) * 2017-05-24 2019-01-18 上海连尚网络科技有限公司 A kind of connection method and equipment
CN109451499A (en) * 2018-12-06 2019-03-08 连尚(新昌)网络科技有限公司 A kind of method and apparatus connecting wireless access point

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160115079A (en) * 2015-03-25 2016-10-06 (주)멜로다임 Method and system to play multinedia contents in the called standby status of smartphone
CN105635448A (en) * 2015-12-25 2016-06-01 小米科技有限责任公司 Message sending method and device
CN106714271A (en) * 2016-06-14 2017-05-24 腾讯科技(深圳)有限公司 Wireless network access method and device
CN106375991A (en) * 2016-10-21 2017-02-01 上海斐讯数据通信技术有限公司 Wireless network access method for mobile terminal and wireless network
CN109246699A (en) * 2017-05-24 2019-01-18 上海连尚网络科技有限公司 A kind of connection method and equipment
CN107548125A (en) * 2017-08-23 2018-01-05 腾讯科技(深圳)有限公司 Wireless network access, processing method, device, storage medium and computer equipment
CN108900469A (en) * 2018-05-31 2018-11-27 上海掌门科技有限公司 Connect progress page methods of exhibiting, terminal device and computer-readable medium
CN108966316A (en) * 2018-06-20 2018-12-07 上海连尚网络科技有限公司 Show the method, device and equipment of multimedia resource, prediction connection waiting time
CN109451499A (en) * 2018-12-06 2019-03-08 连尚(新昌)网络科技有限公司 A kind of method and apparatus connecting wireless access point

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023050400A1 (en) * 2021-09-30 2023-04-06 西门子股份公司 Mobile edge device, connection manager, system, method, apparatus, and medium
CN117118840A (en) * 2023-01-19 2023-11-24 荣耀终端有限公司 Data processing system, method, electronic equipment and medium

Also Published As

Publication number Publication date
CN110248395B (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN109032738A (en) Control method for playing multimedia, device, terminal and storage medium
CN102812452B (en) Be used for system, server, terminal, the method for display buffer webpage and record the computer readable recording medium storing program for performing of the method
US7634484B2 (en) Metadata distribution management system, apparatus, and method, and computer program therefore
CN102340529B (en) Page generating system and page generating method based on WAP (Wireless Application Protocol) platform
CN110245069B (en) Page version testing method and device and page display method and device
CN103685528B (en) Information displaying method and device
CN107251525A (en) For supporting the predictive content of mobile device user to prefetch the distributed server architecture of service
CN102968428B (en) For the method and system extracted by the efficient data of remote application
JP2016517592A (en) Intelligent platform for real-time bidding
CN104216698B (en) A kind of registration web page method and relevant apparatus
CN106210127B (en) A kind of information processing method, server and client
CN102771135A (en) Systems and methods for accessing content using an internet content guide
CN104298790A (en) Browser accelerating method and browser device with accelerator
US8005931B2 (en) Service providing apparatus
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
CN110248395A (en) Wireless network access method, device, storage medium and computer equipment
CN102651021A (en) Icon content updating method and device
CN112114849A (en) Resource updating method and device
CN106792222A (en) A kind of IVOD method and its system
CN101379491A (en) Method for selecting and presenting of at least one additional information
CN109618003A (en) A kind of servers' layout method, server and storage medium
CN102955859B (en) Web page content revealing method and device
CN108600780A (en) Method for pushed information
CN113163255B (en) Video playing method, device, terminal and storage medium
CN104166665B (en) Information processor and its control method

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
GR01 Patent grant
GR01 Patent grant