CN105993012A - Network resource processing method, device, and terminal - Google Patents

Network resource processing method, device, and terminal Download PDF

Info

Publication number
CN105993012A
CN105993012A CN201480074586.4A CN201480074586A CN105993012A CN 105993012 A CN105993012 A CN 105993012A CN 201480074586 A CN201480074586 A CN 201480074586A CN 105993012 A CN105993012 A CN 105993012A
Authority
CN
China
Prior art keywords
attribute information
network resource
resource data
information
terminal
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
CN201480074586.4A
Other languages
Chinese (zh)
Other versions
CN105993012B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105993012A publication Critical patent/CN105993012A/en
Application granted granted Critical
Publication of CN105993012B publication Critical patent/CN105993012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed in the embodiments of the present invention are a network resource processing method, device, and terminal, said method comprising: a terminal three-dimensional display means, and the attribute information corresponding to each network resource data in at least one network resource data, are obtained; attribute information carrying a three-dimensional identifier is obtained from the attribute information corresponding to each network resource data, and the three-dimensional display means carried in the attribute information carrying the three-dimensional identifier is matched with the three-dimensional display means of the terminal; if attribute information matching the three-dimensional display means of the terminal is present in the attribute information carrying the three-dimensional identifier, then first target attribute information is selected from said matching attribute information in order to load the network resource data corresponding to said first target attribute information, and according to the three-dimensional display means carried in said first target attribute information, the loaded network resource data is displayed. The present invention causes a terminal to display a loaded 3D resource normally.

Description

A kind of network resource processing method, device and terminal Technical field
The present invention relates to communication technical field, more particularly to a kind of network resource processing method, device and terminal.
Background technology
Current 3D (3-dimensional, it is three-dimensional) Display Technique classification is various, but most basic principle is similar, is to receive different pictures respectively using human eye or so, then brain is lived again by being overlapped to image information, constitutes the image of stereo directional effect.Current 3D display modes mainly have two ways:Spectacle and bore hole formula, wherein, spectacle mainly includes aberration formula, polarization type, active-shutter etc., and bore hole formula mainly includes optical barrier type, lens pillar formula, points to light-source type etc..
Some current webpages can provide 3D resources, terminal browser can be loaded directly into the 3D resources that webpage is provided, but the 3D display modes 3D display modes corresponding from the 3D resources loaded that terminal is supported may be different, at this moment may result in terminal can not normally show loaded 3D resources.
The content of the invention
The embodiment of the present invention provides a kind of network resource processing method, device and terminal, and terminal can be made normally to show loaded 3D resources.
First aspect present invention provides a kind of network resource processing method, including:
Obtain terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
In the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, matched with the terminal Three-dimensional Display mode;
When described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, first object attribute information is chosen in the attribute information matched, to load The corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
In the first possible implementation, in addition to:
When described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information is chosen in the attribute information for carrying two dimension mark, and loads network resource data corresponding with second target property information is shown.
With reference to first aspect, in second of possible implementation, during the attribute information for carrying and existing in the attribute information of three-dimensional marking and matching with the terminal Three-dimensional Display mode when described described, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and the step of show loaded network resource data according to Three-dimensional Display mode entrained in the first object attribute information after, in addition to:
Terminal works information is detected, the terminal works information includes at least one in network type, electricity surplus value, interface display state;
When detecting the terminal works information and meeting switching condition, the shown corresponding network resource data of the first object attribute information is switched into the corresponding network resource data of the second target property information;
Wherein, second target property information is selected in the attribute information for carrying two dimension mark.
With reference to first aspect, or the first possible implementation of first aspect, or second of possible implementation of first aspect, in the third possible implementation, during the attribute information for carrying and existing in the attribute information of three-dimensional marking and matching with the terminal Three-dimensional Display mode when described described, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and the step of show loaded network resource data according to Three-dimensional Display mode entrained in the first object attribute information after, also include:
Obtain the corresponding monochrome information of Three-dimensional Display mode and the refresh rate information entrained by the first object attribute information;
According to the brightness of the monochrome information and refresh rate information adjustment terminal screen and refresh rate.
With reference in a first aspect, or first aspect the first possible implementation, or first aspect second Plant possible implementation, or the third possible implementation of first aspect, in the 4th kind of possible implementation, it is described when it is described carry in the attribute information of three-dimensional marking exist match with the terminal Three-dimensional Display mode attribute information when, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information, including:
When described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, the entrained corresponding resolution information of Three-dimensional Display mode in the attribute information matched described in acquisition;
First object attribute information is chosen in the attribute information matched according to the resolution information, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
With reference to second of possible implementation of first aspect, in the 5th kind of possible implementation, in addition to:
Store the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information, in order to obtain corresponding network resource data according to the network address stored in handover network resource data.
Second aspect of the present invention provides a kind of Internet resources processing unit, applied to terminal, including:
First acquisition module, for obtaining terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
Matching module, for in the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, is matched with the terminal Three-dimensional Display mode;
Loaded and displayed module, for when it is described carry in the attribute information of three-dimensional marking exist match with the terminal Three-dimensional Display mode attribute information when, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
In the first possible implementation,
The loaded and displayed module, it is additionally operable to when described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information is chosen in the attribute information for carrying two dimension mark, and loads network resource data corresponding with second target property information is shown.
With reference to second aspect, in second of possible implementation, in addition to:
Detection module, for detecting terminal works information, the terminal works information includes at least one in network type, electricity surplus value, interface display state;
Handover module, for when detecting the terminal works information and meeting switching condition, the shown corresponding network resource data of the first object attribute information to be switched into the corresponding network resource data of the second target property information;
Wherein, second target property information is selected in the attribute information for carrying two dimension mark.
With reference to second of possible implementation of the first possible implementation of second aspect, or second aspect, or second aspect, in the third possible implementation, in addition to:
Second acquisition module, for obtaining the corresponding monochrome information of Three-dimensional Display mode and refresh rate information entrained by the first object attribute information;
Adjusting module, brightness and refresh rate for adjusting terminal screen according to the monochrome information and the refresh rate information.
With reference to the third possible implementation of second of possible implementation of the first possible implementation of second aspect, or second aspect, or second aspect, or second aspect, in the 4th kind of possible implementation, the loaded and displayed module includes:
Resolution ratio acquiring unit, for when it is described carry there is the attribute information matched with the terminal Three-dimensional Display mode in the attribute information of three-dimensional marking when, obtain the corresponding resolution information of Three-dimensional Display mode entrained by the attribute information matched;
Resource loaded and displayed unit, for choosing first object attribute information in the attribute information matched according to the resolution information, and the corresponding network resource data of the first object attribute information is loaded, and show that loaded network is provided according to Three-dimensional Display mode entrained in the first object attribute information Source data.
With reference to second of possible implementation of second aspect, in the 5th kind of possible implementation, in addition to:
Memory module, for storing the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information, in order to which the handover module obtains corresponding network resource data in handover network resource data according to the network address stored.
Third aspect present invention provides a kind of terminal, including:Processor, communication interface and display;
The communication interface, for obtaining terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
The processor, for in the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, is matched with the terminal Three-dimensional Display mode;
The processor, is additionally operable to, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, first object attribute information be chosen in the attribute information matched;
The communication interface, is additionally operable to load the corresponding network resource data of the first object attribute information;
The display, for showing loaded network resource data according to Three-dimensional Display mode entrained in the first object attribute information.
In the first possible implementation,
The processor, is additionally operable to, when described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information be chosen in the attribute information for carrying two dimension mark;
The communication interface, is additionally operable to the corresponding network resource data of loading second target property information;
The display, is additionally operable to the corresponding network resource data of display second target property information.
With reference to the third aspect, in second of possible implementation,
The processor, is additionally operable to detect terminal works information, the terminal works information includes at least one in network type, electricity surplus value, interface display state, and meets when detecting the terminal works information During switching condition, the shown corresponding network resource data of the first object attribute information is switched into the corresponding network resource data of the second target property information;
The communication interface, is additionally operable to the corresponding network resource data of loading second target property information;
The display, is additionally operable to the corresponding network resource data of display second target property information;
Wherein, second target property information is selected in the attribute information for carrying two dimension mark.
With reference to second of possible implementation of the first possible implementation of the third aspect, or the third aspect, or the third aspect, in the third possible implementation,
The processor, is additionally operable to obtain the corresponding monochrome information of Three-dimensional Display mode and refresh rate information entrained by the first object attribute information, and the brightness according to the monochrome information and the refresh rate information adjustment display and refresh rate.
With reference to the third possible implementation of second of possible implementation of the first possible implementation of the third aspect, or the third aspect, or the third aspect, or the third aspect, in the 4th kind of possible implementation,
The processor, it is additionally operable to when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, the entrained corresponding resolution information of Three-dimensional Display mode in the attribute information matched described in obtaining, and first object attribute information is chosen in the attribute information matched according to the resolution information.
With reference to second of possible implementation of the third aspect, in the 5th kind of possible implementation, in addition to:Memory;
The memory, for storing the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information;
The communication interface, specifically for obtaining corresponding network resource data according to the network address stored.
Therefore, the embodiment of the present invention works as the attribute information for carrying three-dimensional marking by obtaining each corresponding attribute information of network resource data in terminal Three-dimensional Display mode and at least one network resource data During the attribute information that middle presence matches with the terminal Three-dimensional Display mode, first object attribute information can be obtained in the attribute information matched, and load the corresponding network resource data of first object attribute information, to ensure that the 3D display modes 3D display modes corresponding with the 3D resources loaded that terminal is supported are identical, so as to so that terminal normally shows loaded 3D resources.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, the required accompanying drawing used in embodiment will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of network resource processing method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another network resource processing method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another network resource processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of Internet resources processing unit provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another Internet resources processing unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of loaded and displayed module provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
The present embodiments relate to terminal can include:The terminal devices such as computer, tablet personal computer, smart mobile phone, notebook computer, palm PC and mobile internet device (MID);Meanwhile, the present embodiments relate to terminal be also equipped with 3D display functions.
Fig. 1 is referred to, is a kind of flow signal of network resource processing method provided in an embodiment of the present invention Figure, methods described can include:
S101, obtains terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
Specifically, browser in terminal is when request of loading includes the page of 3D resources, the terminal can obtain terminal Three-dimensional Display mode by the browser, the terminal Three-dimensional Display mode refers to the supported Three-dimensional Display mode of the terminal, what the terminal Three-dimensional Display mode can be pre-set by the terminal, the form of the terminal Three-dimensional Display mode can be 3D- (display type)-(being particularly shown mode), for example, the terminal Three-dimensional Display mode can include 3D-Glass-Ana, 3D-Glass-Pol, 3D-Glass-Act, 3D-Eye-Bar, 3D-Eye-Len, at least one in 3D-Eye-Dir, wherein, Glass represents spectacle, Eye represents bore hole formula, Ana represents aberration formula, Pol represents polarization type, Act represents active-shutter, Bar represents optical barrier type, Len represents lens pillar formula, Dir represents to point to light-source type.Or, the form of the terminal Three-dimensional Display mode can also be 3D- (display type):(being particularly shown mode), for example, the terminal Three-dimensional Display mode can include 3D-Glass:Ana、3D-Glass:Pol、3D-Glass:Act、3D-Eye:Bar、3D-Eye:Len、3D-Eye:At least one in Dir.
The terminal can also obtain each corresponding attribute information of network resource data at least one network resource data in the page of currently requested loading while the terminal Three-dimensional Display mode is obtained by browser.Wherein, it is interrelated between each network resource data, i.e. described each network resource data belongs to a certain pictures or some video, for example, if the page of institute's request of loading is a pictures, then the picture can be to that should have a multiple network resources data, and form, dimension and other attributes of the picture gone out shown by every kind of network resource data can be with different.In the background server side of webpage, three-dimensional marking or two dimension mark can be added in attribute information in advance, and continue to add specific Three-dimensional Display mode in the attribute information added with three-dimensional marking, wherein described attribute information can be the source elements in HTML (Hyper Text Markup language, HTML) standard.In the background server side of webpage, there can be the following two kinds addition manner to add dimension mark and Three-dimensional Display mode in attribute information:
The first addition manner:Can be by extending Meida Query (media characteristic), to add the Three-dimensional Display mode in Three-dimensional Display mode, Meida Query in the Meida Query in attribute information Form can be identical with the form of the terminal Three-dimensional Display mode, is not discussed here.Further, again by increasing sourcetype attributes in attribute information, to add three-dimensional marking or two dimension mark in sourcetype attributes, it is 3D resources or 2D (2-dimensional, two dimension) resource by adding dimension mark to distinguish the corresponding network resource data of attribute information.For example, the attribute information that the terminal is got can be<Source media=" (min-width:480px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">, wherein, (3D-Eye:Bar it is) the Three-dimensional Display mode added in Meida Query, " 3D " represents to add three-dimensional marking in sourcetype attributes.In another example, the attribute information that the terminal is got can be<Source media=" (max-width:320px) " src=" med.jpg " sourcetype=" 2D ">, wherein " 2D " represents to add two dimension mark in sourcetype attributes, that is, it is 2D resources to represent the corresponding network resource data of the attribute information.
Second of addition manner:ViewedType attributes can be added in attribute information, viewedType attributes are added i.e. in source elements, when viewedType attributes are space-time, expression with the addition of two-dimentional mark in attribute information, to show the corresponding network resource data of the attribute information as 2D resources;When viewedType attributes are not space-time, expression with the addition of three-dimensional marking in attribute information, to show the corresponding network resource data of the attribute information as 3D resources, and the content added in viewedType attributes is Three-dimensional Display mode, the form of Three-dimensional Display mode in viewedType attributes can be 3D (display type) (being particularly shown mode), for example, the form of Three-dimensional Display mode in viewedType attributes can be 3DGlassAna, 3DGlassPol, 3DGlassAct, 3DEyeBar, 3DEyeLen, any one in 3DEyeDir.For example, the attribute information that the terminal is got can be<Source media=" (max-width:320px) " src=" med.jpg " viewedType=" 3DGlassPol ">, wherein, viewedType attributes are not sky, illustrate that the viewedType attributes in the attribute information represent three-dimensional marking, i.e., what the particular content " 3DGlassPol " that the attribute information is carried in three-dimensional marking, viewedType attributes was represented is Three-dimensional Display mode.
S102, in the corresponding attribute information of each network resource data, obtains the attribute information for carrying three-dimensional marking, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, matched with the terminal Three-dimensional Display mode;
Specifically, the terminal is after the corresponding attribute information of each network resource data is got, the terminal can be traveled through by browser to each attribute information, to obtain the attribute information for carrying three-dimensional marking, and extract the Three-dimensional Display mode in the attribute information for carrying three-dimensional marking.Wherein, if each attribute information is configured by the first addition manner in above-mentioned S101, then the browser to each attribute information when traveling through, the sourcetype attributes in each attribute information can be detected, to obtain sourcetype=" 3D " attribute information, the attribute information for carrying three-dimensional marking is obtained, the browser extracts the Three-dimensional Display mode in media query conditional statements in sourcetype=" 3D " attribute information again.If each attribute information is configured by second of addition manner in above-mentioned S101, then the browser to each attribute information when traveling through, whether it is empty that the viewedType attributes in each attribute information can be detected, to obtain viewedType attributes not for empty attribute information, obtain the attribute information for carrying three-dimensional marking, the Three-dimensional Display mode of the browser again in viewedType attributes are read during viewedType attributes are not for empty attribute information.
The browser can be matched Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking with the terminal Three-dimensional Display mode after the Three-dimensional Display mode in getting the attribute information for carrying three-dimensional marking.If for example, in the presence of two attribute informations for carrying three-dimensional marking, the Three-dimensional Display mode in wherein attribute information A is 3D-Eye:Three-dimensional Display mode in Bar, attribute information B is 3D-Glass:Act, the terminal Three-dimensional Display mode is 3D-Eye:Bar, then the match is successful with the terminal Three-dimensional Display mode for the Three-dimensional Display mode in attribute information A, and it fails to match with the terminal Three-dimensional Display mode for the Three-dimensional Display mode in attribute information B.
S103, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information;
Specifically, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, i.e. explanation has the Three-dimensional Display mode at least one attribute information identical with the terminal Three-dimensional Display mode, now, the terminal can choose first object attribute information by the browser in the attribute information matched, and load the corresponding network of the first object attribute information Resource data, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.The corresponding network resource data of the first object attribute information is the 3D resources of basic display condition that is identical with the terminal Three-dimensional Display mode and meeting the terminal.
If the attribute information matched is configured by the first addition manner in above-mentioned S101, the detailed process for obtaining the first object attribute information is:Whether other property values in media query in the attribute information matched described in judging meet the basic display condition of the terminal, and other property values selected in the attribute information matched in media query meet the attribute information of the basic display condition of the terminal, so that as first object attribute information, other property values in the media query include all properties value in media query in addition to Three-dimensional Display mode.When other property values in media query in the attribute information matched meet the quantity of the attribute information of the basic display condition of the terminal more than 1, selection comes the most preceding attribute information for matching and meeting basic display condition as first object attribute information.If for example, some attribute information matched is<Source media=" (min-width:480px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">, then other property values in the media query in the attribute information are (min-width:480px).Wherein, judge whether other property values in the media query in attribute information meet the process of the basic display condition of the terminal for prior art, be not discussed here.
If the attribute information matched is configured by second of addition manner in above-mentioned S101, the detailed process for obtaining the first object attribute information is:Whether the corresponding property values of media query in the attribute information matched described in judging meet the basic display condition of the terminal, and the attribute information that the corresponding property values of media query meet the basic display condition of the terminal is selected in the attribute information matched, to be used as first object attribute information.When the corresponding property values of media query meet the quantity of the attribute information of the basic display condition of the terminal more than 1 in the attribute information matched, selection comes the most preceding attribute information for matching and meeting basic display condition as first object attribute information.If for example, some attribute information matched is<Source media=" (max-width:320px) " src=" med.jpg " viewedType=" 3DGlassPol ">, then the corresponding property values of media query in the attribute information are (max-width:320px), wherein, judge the corresponding property value (max-width of media query:The process for 320px) whether meeting the basic display condition of the terminal is prior art, It is not discussed here.
Alternatively, when described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information is chosen in the attribute information for carrying two dimension mark, and load network resource data corresponding with second target property information is shown, allow the terminal when suitable 3D resources can not be found, 2D resources are loaded and shown;The detailed process for obtaining second target property information is:The basic display the condition whether corresponding property values of media query in the attribute information of two dimension mark meet the terminal is carried described in judging, and the attribute information that the corresponding property values of media query meet the basic display condition of the terminal is selected in the attribute information for carrying two dimension mark, to be used as the second target property information.If for example, some attribute information for carrying two dimension mark is<Source media=" (max-width:320px) " src=" med.jpg " sourcetype=" 2D ">, then the corresponding property values of media query in the attribute information are max-width:320px.Wherein, the process for judging to carry the basic display the condition whether corresponding property values of media query in the attribute information of two dimension mark meet the terminal is prior art, is not discussed here.
For example, the terminal Three-dimensional Display mode is 3D-Eye:Bar, during certain pictures in the request of loading page of the terminal, gets following 4 attribute informations corresponding with the picture:
1、<Source media=" (min-width:480px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">
2、<Source media=" (min-width:540px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">
3、<Source media=" (max-width:320px) " src=" med.jpg " sourcetype=" 2D ">
4、<Source media=" (max-width:180px) " src=" med.jpg " sourcetype=" 2D ">The terminal can be traveled through by browser to this 4 attribute informations, to obtain the attribute information for carrying three-dimensional marking, wherein, because first attribute information and second attribute information include sourcetype=" 3D ", therefore, first attribute information and second attribute information are the attribute information for carrying three-dimensional marking.The browser can extract the Three-dimensional Display mode in the media query of first attribute information and second attribute information, because the Three-dimensional Display mode of first attribute information and second attribute information is 3D-Eye:Bar, so the browser can detect first attribute information and second attribute information Three-dimensional Display mode match with the terminal Three-dimensional Display mode.The browser further detects whether other property values in first attribute information in media query meet the basic display condition of the terminal, that is, detects min-width:Whether 480px meets the basic display condition of the terminal, if meeting, first attribute information is then defined as first object attribute information, to load the corresponding network resource data of first attribute information, and Three-dimensional Display mode according to entrained by first attribute information shows loaded network resource data;If other property values in the first attribute information in media query do not meet the basic display condition of the terminal, then detect whether other property values in second attribute information in media query meet the basic display condition of the terminal, that is, detect min-width:Whether 540px meets the basic display condition of the terminal, if meeting, second attribute information is then defined as first object attribute information, to load the corresponding network resource data of second attribute information, and Three-dimensional Display mode according to entrained by second attribute information shows loaded network resource data;If other property values in the second attribute information in media query do not meet the basic display condition of the terminal, one of them can be then selected in the 3rd attribute information and the 4th attribute information for carrying two dimension mark as the second target property information, and loads network resource data corresponding with second target property information is shown.
Therefore, the embodiment of the present invention is by obtaining each corresponding attribute information of network resource data in terminal Three-dimensional Display mode and at least one network resource data, and when there is the attribute information matched with terminal Three-dimensional Display mode in the attribute information for carrying three-dimensional marking, first object attribute information can be obtained in the attribute information matched, and load the corresponding network resource data of first object attribute information, to ensure that the 3D display modes 3D display modes corresponding with the 3D resources loaded that terminal is supported are identical, so as to so that terminal normally shows loaded 3D resources.
Fig. 2 is referred to again, is the schematic flow sheet of another network resource processing method provided in an embodiment of the present invention, and methods described can include:
S201, obtains terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
S202, in the corresponding attribute information of each network resource data, obtains the attribute information for carrying three-dimensional marking, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, matched with the terminal Three-dimensional Display mode;
S203, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information;
The specific implementation for the step of S201 may refer to the S101 to S103 in above-mentioned Fig. 1 correspondences embodiment to the specific implementation of S203 steps, is not discussed here.
S204, detects terminal works information, and the terminal works information includes at least one in network type, electricity surplus value, interface display state;
Specifically, the terminal is loaded by browser after network resource data corresponding with the first object attribute information is shown, the browser can in real time or periodically detect terminal works information, and the terminal works information includes at least one in network type, electricity surplus value, interface display state.Wherein, the network type can include two kinds of charge network type and free nets type, charge network type can include 2G (2-Generation, Generation Mobile Telecommunication System technology), 3G (3-Generation, 3rd generation mobile communication technology), 4G (4-Generation, forth generation mobile communication technology) etc. charge type network, free nets type can include the free nets such as wifi (WIreless-Fidelity, Wireless Fidelity).The interface display state includes two kinds of full screen display state and non-full screen display state.
S205, when detecting the terminal works information and meeting switching condition, the corresponding network resource data of the second target property information is switched to by the shown corresponding network resource data of the first object attribute information;
Specifically, when the terminal works information is network type, detect whether the network type meets switching condition, detect whether the network type switches to charge network type from free nets type, if detect the network type switches to charge network type from free nets type, represent that the network type meets switching condition, now, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the terminal by browser.Wherein, second target property information is got in the attribute information for carrying two dimension mark, the detailed process for obtaining second target property information may refer to description in above-mentioned Fig. 1 correspondence embodiment to the second target property information, be not discussed here.Alternatively, the browser loads and shows second After the corresponding network resource data of target property information, the browser can continue to detect network type, when detect the network type from charge network type switch back into free nets type when, the network type can also meet switching condition, now, the shown corresponding network resource data of second target property information can be switched back into the corresponding network resource data of first object attribute information by the terminal by browser.
When the terminal works information is electricity surplus value, detect whether the electricity surplus value meets switching condition, detect whether the electricity surplus value is less than default power threshold, if detecting the electricity surplus value less than default power threshold, then represent that the electricity surplus value meets switching condition, now, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the terminal by browser.Alternatively, after the browser loads and shows the corresponding network resource data of the second target property information, the browser can continue to detect electricity surplus value, charged when to the terminal, and when detecting the electricity surplus value and recovering to default power threshold, the electricity surplus value can also meet switching condition, now, the shown corresponding network resource data of second target property information can be switched back into the corresponding network resource data of first object attribute information by the terminal by browser.
When the terminal works information is interface display state, detect whether the interface display state meets switching condition, detect whether the interface display state switches to non-full screen display state from full screen display state, if detect the interface display state switches to non-full screen display state from full screen display state, then represent that the interface display state meets switching condition, now, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the terminal by browser.Alternatively, after the browser loads and shows the corresponding network resource data of the second target property information, the browser can continue to detect the interface display state, when detecting the interface display state and switching back into full screen display state from non-full screen display state, the interface display state can also meet switching condition, now, the shown corresponding network resource data of second target property information can be switched back into the corresponding network resource data of first object attribute information by the terminal by browser.
Preferably, the terminal works information can include network type, electricity surplus value and interface display state simultaneously, be less than when the browser detects network type for charge network type, or electricity surplus value Default power threshold, or interface display state be non-full screen display state when, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the browser.When the browser detects network type for free nets type, and electricity surplus value is more than default power threshold, and interface display state be full screen display state when, the shown corresponding network resource data of second target property information can be switched to the corresponding network resource data of first object attribute information.
Alternatively, before S201 steps, the browser can start to detect the terminal works information, it is free nets type when detecting the network type in the terminal works information, and electricity surplus value is more than default power threshold, and interface display state be full screen display state when, the browser just start execution S201 the step of;It is charge network type when detecting the network type in terminal works information, or electricity surplus value is less than default power threshold, or interface display state be non-full screen display state when, the browser directly chooses the second target property information in the attribute information for carrying two dimension mark, and load network resource data corresponding with second target property information is shown, when the terminal works information meets switching condition, the shown corresponding network resource data of second target property information is switched to the corresponding network resource data of first object attribute information by the browser again.
Alternatively, the browser can store the network address corresponding to the corresponding network resource data of the first object attribute information in the corresponding network resource data of the loading first object attribute information;Similarly, the browser is in the corresponding network resource data of loading second target property information, the network address corresponding to the corresponding network resource data of second target property information can be stored, in order to obtain corresponding network resource data according to the network address stored in handover network resource data.For example, the browser by the shown corresponding network resource data of second target property information before the corresponding network resource data of first object attribute information is switched to, the browser can first check the network address whether terminal has been stored with corresponding to the corresponding network resource data of the first object attribute information, if there is storage, then the browser can be according to the network address corresponding to the corresponding network resource data of the first object attribute information stored, obtain the corresponding network resource data of the first object attribute information, so that the browser in the attribute information for carry three-dimensional marking without obtaining first object attribute information again again, so that the browser can be cut between 2D resources and 3D resources faster Change.
Therefore, the embodiment of the present invention is by obtaining each corresponding attribute information of network resource data in terminal Three-dimensional Display mode and at least one network resource data, and when there is the attribute information matched with terminal Three-dimensional Display mode in the attribute information for carrying three-dimensional marking, first object attribute information can be obtained in the attribute information matched, and load the corresponding network resource data of first object attribute information, to ensure that the 3D display modes 3D display modes corresponding with the 3D resources loaded that terminal is supported are identical, so as to so that terminal normally shows loaded 3D resources;Simultaneously, by detecting network type, electricity surplus value and interface display state, terminal can be made to be switched in different situations to 2D resources and 3D resources, terminal is allowd to save flow, improve operational efficiency, and by storing the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information, the terminal can also be made to be switched over faster between 2D resources and 3D resources.
Fig. 3 is referred to again, is the schematic flow sheet of another network resource processing method provided in an embodiment of the present invention, and methods described can include:
S301, obtains terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
S302, in the corresponding attribute information of each network resource data, obtains the attribute information for carrying three-dimensional marking, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, matched with the terminal Three-dimensional Display mode;
The specific implementation for the step of S301 may refer to the S101 to S102 in above-mentioned Fig. 1 correspondences embodiment to the specific implementation of S302 steps, is not discussed here.
S303, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, the entrained corresponding resolution information of Three-dimensional Display mode in the attribute information matched described in acquisition;
Specifically, the terminal can be previously stored with the list that each Three-dimensional Display mode produces the corresponding relation of influence on picture, the list may refer to such as table 1 below:
Display mode Brightness Resolution ratio Refresh rate
Aberration formula It is constant It is constant /
Polarization type Picture brightness is reduced Resolution ratio halves Need higher refresh rate
Active-shutter It is constant It is constant Need higher refresh rate
Optical barrier type Picture brightness is reduced It is constant /
Lens pillar formula It is constant Resolution ratio halves /
Point to light-source type It is constant It is constant /
Table 1
Wherein, as it can be seen from table 1 the Three-dimensional Display mode of aberration formula will not be on picture brightness and resolution ratio produce influence, to refresh rate also without particular requirement;The Three-dimensional Display mode of polarization type can reduce picture brightness, and can halve resolution ratio, and also need to higher refresh rate;The Three-dimensional Display mode of active-shutter will not be on picture brightness and resolution ratio produce influence, but need higher refresh rate;Optical barrier type can reduce picture brightness, but not influence is produced on resolution ratio, and to refresh rate also without particular requirement;Lens pillar formula will not produce influence to the brightness of picture, but can halve resolution ratio, and to refresh rate also without particular requirement;Brightness and resolution ratio generation influence that light-source type will not be on picture are pointed to, to refresh rate also without particular requirement.
During the attribute information for carrying and existing in the attribute information of three-dimensional marking and matching with the terminal Three-dimensional Display mode when described, the browser of the terminal can be obtained in the table 1 described in the corresponding resolution information of Three-dimensional Display mode entrained by the attribute information that matches.For example, if entrained Three-dimensional Display mode is polarization type in the attribute information matched, the corresponding resolution information of polarization type can then be got for " resolution ratio halves ", i.e., entrained Three-dimensional Display mode can halve screen resolution in the attribute information matched described in explanation;If entrained Three-dimensional Display mode is aberration formula in the attribute information matched, the corresponding resolution information of aberration formula can then be got for " constant ", i.e., entrained Three-dimensional Display mode will not produce influence to the resolution ratio of picture in the attribute information matched described in explanation.
S304, first object attribute information is chosen in the attribute information matched according to the resolution information, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information;
Specifically, the browser of the terminal gets three-dimensional entrained in the attribute information matched After the corresponding resolution information of display mode, first object attribute information can be chosen in the attribute information matched according to the resolution information, and load the corresponding network resource data of the first object attribute information.When the resolution information is " constant ", the terminal can correspond to the acquisition methods to first object attribute information in the S103 steps in embodiment according to above-mentioned Fig. 1, first object attribute information is chosen in the attribute information matched, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
When the resolution information is " resolution ratio halves ", the browser of the terminal can first select at least one attribute information for matching and meeting basic display condition in the attribute information matched, match and meet at least one again and the maximum attribute information of the corresponding resolution ratio of network resource data is selected in the attribute information of basic display condition as first object attribute information, and compress the corresponding network resource data of the first object attribute information, to load the network resource data after compression, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information, the terminal is loaded by the 3D resources for selecting resolution ratio larger, the influence that " resolution ratio halves " is brought can largely be made up.Wherein, the detailed process for selecting at least one attribute information for matching and meeting basic display condition may refer to S103 in above-mentioned Fig. 1 correspondence embodiment, be not discussed here.
S305, obtains the corresponding monochrome information of Three-dimensional Display mode and refresh rate information entrained by the first object attribute information;
Specifically, the browser of the terminal, can be further to obtain the corresponding monochrome information of Three-dimensional Display mode and the refresh rate information entrained by the first object attribute information while first object attribute information corresponding network resource data is loaded from the table 1.
S306, brightness and the refresh rate of terminal screen are adjusted according to the monochrome information and the refresh rate information;
Specifically, when the monochrome information that the browser of the terminal is got is " picture brightness reduction ", the browser of the terminal can increase the brightness of terminal screen by calling terminal system interface;When the monochrome information that the browser of the terminal is got is " constant ", the browser of the terminal is adjusted without the brightness to terminal screen;The refresh rate information got when the browser of the terminal During for " needing higher refresh rate ", the browser of the terminal can improve the refresh rate of terminal screen by calling terminal system interface;When the refresh rate information that the browser of the terminal is got is "/", the browser of the terminal is adjusted without the refresh rate to terminal screen.
Alternatively, when 3D resources, which lose focus, or stop loading playing, the browser of the terminal can be by calling terminal system interface to recover the brightness of terminal screen and refresh rate to original state.
Alternatively, while S305 and S306 is performed, the S204 and S205 in above-mentioned Fig. 2 correspondences embodiment can also be performed in the lump, the browser of i.e. described terminal can be not only adjusted according to the corresponding monochrome information of Three-dimensional Display mode and refresh rate information to terminal, 2D resources and 3D resources can also be switched over according to the terminal works information.
Therefore, the embodiment of the present invention is by obtaining each corresponding attribute information of network resource data in terminal Three-dimensional Display mode and at least one network resource data, and when there is the attribute information matched with terminal Three-dimensional Display mode in the attribute information for carrying three-dimensional marking, first object attribute information can be obtained in the attribute information matched according to resolution information, and load the corresponding network resource data of first object attribute information, to ensure that the 3D display modes 3D display modes corresponding with the 3D resources loaded that terminal is supported are identical, so as to so that terminal normally shows loaded 3D resources, and influence of the Three-dimensional Display mode to resolution ratio can be made up;It is adjusted at the same time it can also the brightness according to monochrome information and refresh rate information to terminal screen and refresh rate, to strengthen display effect.
Refer to Fig. 4, it is a kind of structural representation of Internet resources processing unit provided in an embodiment of the present invention, the Internet resources processing unit 1 can apply to terminal, and the Internet resources processing unit 1 can be a kind of browser, and the Internet resources processing unit 1 can include:First acquisition module 10, matching module 20, loaded and displayed module 30;
First acquisition module 10, for obtaining terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
Specifically, the Internet resources processing unit 1 is when request of loading includes the page of 3D resources, first acquisition module 10 can obtain the supported Three-dimensional Display mode of the place terminal of Internet resources processing unit 1, obtain terminal Three-dimensional Display mode, the terminal Three-dimensional Display mode can be pre-set by the Internet resources processing unit 1, and the form of the terminal Three-dimensional Display mode can be (aobvious for 3D- Show type)-(being particularly shown mode), for example, the terminal Three-dimensional Display mode can include at least one in 3D-Glass-Ana, 3D-Glass-Pol, 3D-Glass-Act, 3D-Eye-Bar, 3D-Eye-Len, 3D-Eye-Dir, wherein, Glass represents spectacle, Eye represents bore hole formula, and Ana represents aberration formula, and Pol represents polarization type, Act represents active-shutter, Bar represents optical barrier type, and Len represents lens pillar formula, and Dir represents to point to light-source type.Or, the form of the terminal Three-dimensional Display mode can also be 3D- (display type):(being particularly shown mode), for example, the terminal Three-dimensional Display mode can include 3D-Glass:Ana、3D-Glass:Pol、3D-Glass:Act、3D-Eye:Bar、3D-Eye:Len、3D-Eye:At least one in Dir.
First acquisition module 10 can also obtain each corresponding attribute information of network resource data at least one network resource data in the page of currently requested loading while the terminal Three-dimensional Display mode is obtained.Wherein, it is interrelated between each network resource data, i.e. described each network resource data belongs to a certain pictures or some video, for example, if the page of institute's request of loading is a pictures, then the picture can be to that should have a multiple network resources data, and form, dimension and other attributes of the picture gone out shown by every kind of network resource data can be with different.In the background server side of webpage, three-dimensional marking or two dimension mark can be added in attribute information in advance, and continue to add specific Three-dimensional Display mode in the attribute information added with three-dimensional marking, wherein the attribute information can be the source elements in HTML standard.In the background server side of webpage, there can be the following two kinds addition manner to add dimension mark and Three-dimensional Display mode in attribute information:
The first addition manner:Can be by extending Meida Query, to add Three-dimensional Display mode in the Meida Query in attribute information, the form of Three-dimensional Display mode in Meida Query can be identical with the form of the Three-dimensional Display mode in the Three-dimensional Display mode of the terminal, is not discussed here.Further, then by increasing sourcetype attributes in attribute information, identified with adding three-dimensional marking or two dimension in sourcetype attributes, the corresponding network resource data of attribute information can be distinguished for 3D resources or 2D resources by adding dimension mark.For example, the attribute information that first acquisition module 10 is got can be<Source media=" (min-width:480px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">, wherein, (3D-Eye:Bar it is) the Three-dimensional Display mode added in Meida Query, " 3D " represents to add three-dimensional marking in sourcetype attributes.In another example, described first obtains The attribute information that module 10 is got can be<Source media=" (max-width:320px) " src=" med.jpg " sourcetype=" 2D ">, wherein " 2D " represents to add two dimension mark in sourcetype attributes, that is, it is 2D resources to represent the corresponding network resource data of the attribute information.
Second of addition manner:ViewedType attributes can be added in attribute information, viewedType attributes are added i.e. in source elements, when viewedType attributes are space-time, expression with the addition of two-dimentional mark in attribute information, to show the corresponding network resource data of the attribute information as 2D resources;When viewedType attributes are not space-time, expression with the addition of three-dimensional marking in attribute information, to show the corresponding network resource data of the attribute information as 3D resources, and the content added in viewedType attributes is Three-dimensional Display mode, the form of Three-dimensional Display mode in viewedType attributes can be 3D (display type) (being particularly shown mode), for example, the form of Three-dimensional Display mode in viewedType attributes can be 3DGlassAna, 3DGlassPol, 3DGlassAct, 3DEyeBar, 3DEyeLen, any one in 3DEyeDir.For example, the attribute information that first acquisition module 10 is got can be<Source media=" (max-width:320px) " src=" med.jpg " viewedType=" 3DGlassPol ">, wherein, viewedType attributes are not sky, illustrate that the viewedType attributes in the attribute information represent three-dimensional marking, i.e., what the particular content " 3DGlassPol " that the attribute information is carried in three-dimensional marking, viewedType attributes was represented is Three-dimensional Display mode.
The matching module 20, for in the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, is matched with the terminal Three-dimensional Display mode;
Specifically, first acquisition module 10 is after the corresponding attribute information of each network resource data is got, the matching module 20 can be traveled through to each attribute information, to obtain the attribute information for carrying three-dimensional marking, and extract the Three-dimensional Display mode in the attribute information for carrying three-dimensional marking.Wherein, if each attribute information is to be configured by the background server side of webpage by the first above-mentioned addition manner, then the matching module 20 to each attribute information when traveling through, the sourcetype attributes in each attribute information can be detected, to obtain sourcetype=" 3D " attribute information, the attribute information for carrying three-dimensional marking is obtained, the matching module 20 extracts the Three-dimensional Display mode in media query conditional statements in sourcetype=" 3D " attribute information again.If each attribute information is by net What the background server side of page was configured by second above-mentioned of addition manner, then the matching module 20 to each attribute information when traveling through, whether it is empty that the viewedType attributes in each attribute information can be detected, to obtain viewedType attributes not for empty attribute information, obtain the attribute information for carrying three-dimensional marking, the Three-dimensional Display mode of the matching module 20 again in viewedType attributes are read during viewedType attributes are not for empty attribute information.
The matching module 20 can be matched Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking with the terminal Three-dimensional Display mode after the Three-dimensional Display mode in getting the attribute information for carrying three-dimensional marking.If for example, in the presence of two attribute informations for carrying three-dimensional marking, the Three-dimensional Display mode in wherein attribute information A is 3D-Eye:Three-dimensional Display mode in Bar, attribute information B is 3D-Glass:Act, the terminal Three-dimensional Display mode is 3D-Eye:Bar, then the match is successful with the terminal Three-dimensional Display mode for the Three-dimensional Display mode that the matching module 20 can determine in attribute information A, and determine the Three-dimensional Display mode in attribute information B it fails to match with the terminal Three-dimensional Display mode.
The loaded and displayed module 30, for when it is described carry in the attribute information of three-dimensional marking exist match with the terminal Three-dimensional Display mode attribute information when, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information;
Specifically, when the matching module 20 determines described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, i.e. explanation has the Three-dimensional Display mode at least one attribute information identical with the terminal Three-dimensional Display mode, now, the loaded and displayed module 30 can choose first object attribute information in the attribute information matched, and load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.The corresponding network resource data of the first object attribute information is the 3D resources of basic display condition that is identical with the terminal Three-dimensional Display mode and meeting the terminal.
If the attribute information matched is to pass through the first above-mentioned by the background server side of webpage What addition manner was configured, then the detailed process that the loaded and displayed module 30 obtains the first object attribute information is:The loaded and displayed module 30 judges whether other property values in the media query in the attribute information matched meet the basic display condition of the terminal, and other property values selected in the attribute information matched in media query meet the attribute information of the basic display condition of the terminal, so that as first object attribute information, other property values in the media query include all properties value in media query in addition to Three-dimensional Display mode.When other property values in media query in the attribute information matched meet the quantity of the attribute information of the basic display condition of the terminal more than 1, the selection of loaded and displayed module 30 comes the most preceding attribute information for matching and meeting basic display condition as first object attribute information.If for example, some attribute information matched is<Source media=" (min-width:480px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">, then other property values in the media query in the attribute information are (min-width:480px).Wherein, whether other property values that the loaded and displayed module 30 judges in the media query in attribute information meet the process of the basic display condition of the terminal for prior art, are not discussed here.
If the attribute information matched is to be configured by the background server side of webpage by second above-mentioned of addition manner, the detailed process that the loaded and displayed module 30 obtains the first object attribute information is:The loaded and displayed module 30 judges whether the corresponding property values of media query in the attribute information matched meet the basic display condition of the terminal, and the attribute information that the corresponding property values of media query meet the basic display condition of the terminal is selected in the attribute information matched, to be used as first object attribute information.When the corresponding property values of media query meet the quantity of the attribute information of the basic display condition of the terminal more than 1 in the attribute information matched, the selection of loaded and displayed module 30 comes the most preceding attribute information for matching and meeting basic display condition as first object attribute information.If for example, some attribute information matched is<Source media=" (max-width:320px) " src=" med.jpg " viewedType=" 3DGlassPol ">, then the corresponding property values of media query in the attribute information are (max-width:320px), wherein, the loaded and displayed module 30 judges the corresponding property value (max-width of media query:The process for 320px) whether meeting the basic display condition of the terminal is prior art, is not discussed here.
Alternatively, when described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the loaded and displayed module 30 can choose the second target property information in the attribute information for carrying two dimension mark, and load network resource data corresponding with second target property information is shown, allow the loaded and displayed module 30 when suitable 3D resources can not be found, 2D resources are loaded and shown;The detailed process that the loaded and displayed module 30 obtains second target property information is:The loaded and displayed module 30 judges whether the corresponding property values of media query in the attribute information for carrying two dimension mark meet the basic display condition of the terminal, and the attribute information that the corresponding property values of media query meet the basic display condition of the terminal is selected in the attribute information for carrying two dimension mark, to be used as the second target property information.If for example, some attribute information for carrying two dimension mark is<Source media=" (max-width:320px) " src=" med.jpg " sourcetype=" 2D ">, then the corresponding property values of media query in the attribute information are max-width:320px.Wherein, the process that the loaded and displayed module 30 judges to carry the basic display the condition whether corresponding property values of media query in the attribute information of two dimension mark meet the terminal is prior art, is not discussed here.
For example, the Three-dimensional Display mode in the Three-dimensional Display mode of the terminal is 3D-Eye:Bar, during certain pictures in the request of loading page of first acquisition module 10, gets following 4 attribute informations corresponding with the picture:
1、<Source media=" (min-width:480px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">
2、<Source media=" (min-width:540px)and(3D-Eye:Bar) " src=" large.jpg " sourcetype=" 3D ">
3、<Source media=" (max-width:320px) " src=" med.jpg " sourcetype=" 2D ">
4、<Source media=" (max-width:180px) " src=" med.jpg " sourcetype=" 2D ">The matching module 20 can be traveled through to this 4 attribute informations, to obtain the attribute information for carrying three-dimensional marking, wherein, because first attribute information and second attribute information include sourcetype=" 3D ", therefore, first attribute information and second attribute information are the attribute information for carrying three-dimensional marking.The matching module 20 can extract the media of first attribute information and second attribute information Three-dimensional Display mode in query, because the Three-dimensional Display mode of first attribute information and second attribute information is 3D-Eye:Bar, so the matching module 20 can detect that the Three-dimensional Display mode of first attribute information and second attribute information matches with the terminal Three-dimensional Display mode.The loaded and displayed module 30 further detects whether other property values in first attribute information in media query meet the basic display condition of the terminal, that is, detects min-width:Whether 480px meets the basic display condition of the terminal, if meeting, first attribute information is then defined as first object attribute information, to load the corresponding network resource data of first attribute information, and Three-dimensional Display mode according to entrained by first attribute information shows loaded network resource data;If other property values in the first attribute information in media query do not meet the basic display condition of the terminal, then the loaded and displayed module 30 detects whether other property values in second attribute information in media query meet the basic display condition of the terminal, that is, detects min-width:Whether 540px meets the basic display condition of the terminal, if meeting, second attribute information is then defined as first object attribute information, to load the corresponding network resource data of second attribute information, and Three-dimensional Display mode according to entrained by second attribute information shows loaded network resource data;If other property values in the second attribute information in media query do not meet the basic display condition of the terminal, then the loaded and displayed module 30 can select one of them as the second target property information in the 3rd attribute information and the 4th attribute information for carrying two dimension mark, and load network resource data corresponding with second target property information is shown.
Therefore, the embodiment of the present invention is by obtaining each corresponding attribute information of network resource data in terminal Three-dimensional Display mode and at least one network resource data, and when there is the attribute information matched with terminal Three-dimensional Display mode in the attribute information for carrying three-dimensional marking, first object attribute information can be obtained in the attribute information matched, and load the corresponding network resource data of first object attribute information, to ensure that the 3D display modes 3D display modes corresponding with the 3D resources loaded that terminal is supported are identical, so as to so that terminal normally shows loaded 3D resources.
Fig. 5 is referred to again, it is the structural representation of another Internet resources processing unit provided in an embodiment of the present invention, the Internet resources processing unit 1 can be including the first acquisition module 10 in above-mentioned Fig. 4 correspondence embodiments, matching module 20, loaded and displayed module 30, further, the Internet resources processing unit 1 can also include:Detection module 40, handover module 50, memory module 60, the second acquisition module 70, tune Mould preparation block 80;
The detection module 40, for detecting terminal works information, the terminal works information includes at least one in network type, electricity surplus value, interface display state;
Specifically, the loaded and displayed module 30 is loaded after the corresponding network resource data of the first object attribute information, the detection module 40 can in real time or periodically detect the terminal works information, and the terminal works information includes at least one in network type, electricity surplus value, interface display state.Wherein, the network type can include charge network type and two kinds of free nets type, charge network type can including 2G, 3G, 4G etc. charge type network, free nets type can including wifi etc. free nets.The interface display state includes two kinds of full screen display state and non-full screen display state.
The handover module 50, for when detecting the terminal works information and meeting switching condition, the shown corresponding network resource data of the first object attribute information to be switched into the corresponding network resource data of the second target property information;
Specifically, when the terminal works information is network type, the detection module 40 detects whether the network type meets switching condition, detect whether the network type switches to charge network type from free nets type, if detect the network type switches to charge network type from free nets type, represent that the network type meets switching condition, now, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the handover module 50.Wherein, second target property information is got in the attribute information for carrying two dimension mark, the detailed process for obtaining second target property information may refer to the process of the loaded and displayed module 30 the second target property information of selection in above-mentioned Fig. 4 correspondences embodiment, be not discussed here.Alternatively, after the loaded and displayed module 30 loads and shows the corresponding network resource data of the second target property information, the detection module 40 can continue to detect network type, when detect the network type from charge network type switch back into free nets type when, the network type can also meet switching condition, now, the shown corresponding network resource data of second target property information can be switched back into the corresponding network resource data of first object attribute information by the handover module 50.
When the terminal works information is electricity surplus value, the detection module 40 detects whether the electricity surplus value meets switching condition, that is, detects whether the electricity surplus value is less than default power threshold, if The electricity surplus value is detected less than default power threshold, then represent that the electricity surplus value meets switching condition, now, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the handover module 50.Alternatively, after the loaded and displayed module 30 loads and shows the corresponding network resource data of the second target property information, the detection module 40 can continue to detect electricity surplus value, charged when to the terminal, and when detecting the electricity surplus value and recovering to default power threshold, the electricity surplus value can also meet switching condition, now, the shown corresponding network resource data of second target property information can be switched back into the corresponding network resource data of first object attribute information by the handover module 50.
When the terminal works information is interface display state, the detection module 40 detects whether the interface display state meets switching condition, detect whether the interface display state switches to non-full screen display state from full screen display state, if detect the interface display state switches to non-full screen display state from full screen display state, then represent that the interface display state meets switching condition, now, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the handover module 50.Alternatively, after the loaded and displayed module 30 loads and shows the corresponding network resource data of the second target property information, the detection module 40 can continue to detect the interface display state, when detecting the interface display state and switching back into full screen display state from non-full screen display state, the interface display state can also meet switching condition, now, the shown corresponding network resource data of second target property information can be switched back into the corresponding network resource data of first object attribute information by the handover module 50.
Preferably, the terminal works information can include network type, electricity surplus value and interface display state simultaneously, it is charge network type when the detection module 40 detects network type, or electricity surplus value is less than default power threshold, or interface display state be non-full screen display state when, the shown corresponding network resource data of the first object attribute information can be switched to the corresponding network resource data of the second target property information by the handover module 50.When the detection module 40 detects network type for free nets type, and electricity surplus value is more than default power threshold, and interface display state be full screen display state when, the shown corresponding network resource data of second target property information is switched to the corresponding network resource data of first object attribute information by the handover module 50.
Alternatively, before the corresponding attribute information of each network resource data during first acquisition module 10 obtains terminal Three-dimensional Display mode and at least one network resource data, the detection module 40 can start to detect the terminal works information.It is free nets type when detecting the network type in the terminal works information, and electricity surplus value is more than default power threshold, and interface display state be full screen display state when, the detection module 40 notify first acquisition module 10 start perform corresponding operating;It is charge network type when the detection module 40 detects the network type in terminal works information, or electricity surplus value is less than default power threshold, or interface display state be non-full screen display state when, the detection module 40 directly notifies the loaded and displayed module 30 to choose the second target property information in the attribute information for carrying two dimension mark, and load network resource data corresponding with second target property information is shown, when the terminal works information meets switching condition, the shown corresponding network resource data of second target property information is switched to the corresponding network resource data of first object attribute information by the handover module 50 again.
The memory module 60, for storing the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information, in order to which the handover module 50 obtains corresponding network resource data in handover network resource data according to the network address stored;
Specifically, the loaded and displayed module 30 is in the corresponding network resource data of the loading first object attribute information, the memory module 60 can store the network address corresponding to the corresponding network resource data of the first object attribute information;Similarly, the loaded and displayed module 30 is in the corresponding network resource data of loading second target property information, the memory module 60 can store the network address corresponding to the corresponding network resource data of second target property information, in order to which the handover module 50 can obtain corresponding network resource data in handover network resource data according to the network address stored.For example, the handover module 50 by the shown corresponding network resource data of second target property information before the corresponding network resource data of first object attribute information is switched to, the memory module 60 can first check the network address whether terminal has been stored with corresponding to the corresponding network resource data of the first object attribute information, if there is storage, the network address corresponding to the corresponding network resource data of the first object attribute information that then handover module 50 can be stored according to the memory module 60, is obtained The corresponding network resource data of the first object attribute information, so that the handover module 50 in the attribute information for carry three-dimensional marking without obtaining first object attribute information again again, so that the Internet resources processing unit 1 can be switched between 2D resources and 3D resources faster.
Second acquisition module 70, for obtaining the corresponding monochrome information of Three-dimensional Display mode and refresh rate information entrained by the first object attribute information;
Specifically, the loaded and displayed module 30 is while the loading first object attribute information corresponding network resource data, and second acquisition module 70 can obtain the corresponding monochrome information of Three-dimensional Display mode and the refresh rate information entrained by the first object attribute information from the table 1 in above-mentioned Fig. 3 correspondence embodiments.The table 1 is the list for the corresponding relation that one prestored by the Internet resources processing unit 1 produces influence comprising each Three-dimensional Display mode to picture, as can be seen from Table 1, the Three-dimensional Display mode of aberration formula will not be on picture brightness and resolution ratio produce influence, to refresh rate also without particular requirement;The Three-dimensional Display mode of polarization type can reduce picture brightness, and can halve resolution ratio, and also need to higher refresh rate;The Three-dimensional Display mode of active-shutter will not be on picture brightness and resolution ratio produce influence, but need higher refresh rate;Optical barrier type can reduce picture brightness, but not influence is produced on resolution ratio, and to refresh rate also without particular requirement;Lens pillar formula will not produce influence to the brightness of picture, but can halve resolution ratio, and to refresh rate also without particular requirement;Brightness and resolution ratio generation influence that light-source type will not be on picture are pointed to, to refresh rate also without particular requirement.
The adjusting module 80, brightness and refresh rate for adjusting terminal screen according to the monochrome information and the refresh rate information;
Specifically, when the monochrome information that second acquisition module 70 is got from table 1 is " picture brightness reduction ", the adjusting module 80 can increase the brightness of terminal screen by calling terminal system interface;When the monochrome information that second acquisition module 70 is got from table 1 is " constant ", the adjusting module 80 is adjusted without the brightness to terminal screen;When the refresh rate information that second acquisition module 70 is got from table 1 is " needing higher terminal refresh rate ", the adjusting module 80 can improve the refresh rate of terminal screen by calling terminal system interface;When the refresh rate information that second acquisition module 70 is got from table 1 is "/", the adjusting module 80 is adjusted without the refresh rate to terminal screen.
Alternatively, when 3D resources, which lose focus, or stop loading playing, the adjusting module 80 can be by calling terminal system interface to recover the brightness of terminal screen and refresh rate to original state.
Further, then Fig. 6 is referred to, is a kind of structural representation of loaded and displayed module 30 provided in an embodiment of the present invention, the loaded and displayed module 30 can include:Resolution ratio acquiring unit 301, resource loaded and displayed unit 302;
The resolution ratio acquiring unit 301, for when it is described carry there is the attribute information matched with the terminal Three-dimensional Display mode in the attribute information of three-dimensional marking when, obtain the corresponding resolution information of Three-dimensional Display mode entrained by the attribute information matched;
Specifically, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, the entrained corresponding resolution information of Three-dimensional Display mode in the attribute information that the resolution ratio acquiring unit 301 can match from the table 1 in above-mentioned Fig. 3 correspondence embodiments described in acquisition.For example, if entrained Three-dimensional Display mode is polarization type in the attribute information matched, then the resolution ratio acquiring unit 301 can get the corresponding resolution information of polarization type for " resolution ratio halves ", i.e., entrained Three-dimensional Display mode can halve screen resolution in the attribute information matched described in explanation;If entrained Three-dimensional Display mode is aberration formula in the attribute information matched, then the resolution ratio acquiring unit 301 can get the corresponding resolution information of aberration formula for " constant ", i.e., entrained Three-dimensional Display mode will not produce influence to the resolution ratio of picture in the attribute information matched described in explanation.
The resource loaded and displayed unit 302, for choosing first object attribute information in the attribute information matched according to the resolution information, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information;
Specifically, the resolution ratio acquiring unit 301 is got after the corresponding resolution information of Three-dimensional Display mode entrained in the attribute information matched, the resource loaded and displayed unit 302 can choose first object attribute information according to the resolution information in the attribute information matched, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.When the resolution information is " constant ", the resource loaded and displayed unit 302 can be according to the S103 steps in above-mentioned Fig. 1 correspondence embodiments In to the acquisition methods of first object attribute information, first object attribute information is chosen in the attribute information matched, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
When the resolution information is " resolution ratio halves ", the resource loaded and displayed unit 302 can first select at least one attribute information for matching and meeting basic display condition in the attribute information matched, match and meet at least one again and the maximum attribute information of the corresponding resolution ratio of network resource data is selected in the attribute information of basic display condition as first object attribute information, and compress the corresponding network resource data of the first object attribute information, to load the network resource data after compression, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information, the resource loaded and displayed unit 302 is loaded by the 3D resources for selecting resolution ratio larger, the influence that " resolution ratio halves " is brought can largely be made up.Wherein, the detailed process that the resource loaded and displayed unit 302 selects at least one attribute information for matching and meeting basic display condition may refer to the S103 in above-mentioned Fig. 1 correspondences embodiment, be not discussed here.
Therefore, the embodiment of the present invention is by obtaining each corresponding attribute information of network resource data in terminal Three-dimensional Display mode and at least one network resource data, and when there is the attribute information matched with terminal Three-dimensional Display mode in the attribute information for carrying three-dimensional marking, first object attribute information can be obtained in the attribute information matched according to resolution information, and load the corresponding network resource data of first object attribute information, to ensure that the 3D display modes 3D display modes corresponding with the 3D resources loaded that terminal is supported are identical, so as to so that terminal normally shows loaded 3D resources, and influence of the Three-dimensional Display mode to resolution ratio can be made up;It is adjusted at the same time it can also the brightness according to monochrome information and refresh rate information to terminal screen and refresh rate, to strengthen display effect.
Refer to Fig. 7, it is a kind of structural representation of terminal provided in an embodiment of the present invention, the terminal 1000 can include processor 1001, communication interface 1002, display 1003 and memory 1004 (quantity of the processor 1001 in terminal 1000 can be one or more, in Fig. 7 by taking a processor 1001 as an example).In some embodiments of the present invention, processor 1001, communication interface 1002, display 1003 and memory 1004 can be connected by communication bus or other modes, wherein, Fig. 7 by communication bus exemplified by being connected.
The communication interface 1002, for obtaining terminal Three-dimensional Display mode, and at least one network money The corresponding attribute information of each network resource data in source data;
The processor 1001, for in the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, is matched with the terminal Three-dimensional Display mode;
The processor 1001, is additionally operable to, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, first object attribute information be chosen in the attribute information matched;
The communication interface 1002, is additionally operable to load the corresponding network resource data of the first object attribute information;
The display 1003, for showing loaded network resource data according to Three-dimensional Display mode entrained in the first object attribute information.
Specifically, the communication interface 1002 is when request of loading includes the page of 3D resources, the terminal Three-dimensional Display mode can be obtained, the terminal Three-dimensional Display mode refers to the supported Three-dimensional Display mode of the terminal 1000, what the terminal Three-dimensional Display mode can be pre-set by the terminal 1000, the form of the terminal Three-dimensional Display mode can be 3D- (display type)-(being particularly shown mode), for example, the terminal Three-dimensional Display mode can include 3D-Glass-Ana, 3D-Glass-Pol, 3D-Glass-Act, 3D-Eye-Bar, 3D-Eye-Len, at least one in 3D-Eye-Dir, wherein, Glass represents spectacle, Eye represents bore hole formula, Ana represents aberration formula, Pol represents polarization type, Act represents active-shutter, Bar represents optical barrier type, Len represents lens pillar formula, Dir represents to point to light-source type.Or, the form of the terminal Three-dimensional Display mode can also be 3D- (display type):(being particularly shown mode), for example, the terminal Three-dimensional Display mode can include 3D-Glass:Ana、3D-Glass:Pol、3D-Glass:Act、3D-Eye:Bar、3D-Eye:Len、3D-Eye:At least one in Dir.
Wherein,
The processor 1001, is additionally operable to, when described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information be chosen in the attribute information for carrying two dimension mark;
The communication interface 1002, is additionally operable to the corresponding Internet resources of loading second target property information Data;
The display 1003, is additionally operable to the corresponding network resource data of display second target property information.
Wherein,
The processor 1001, it is additionally operable to detect terminal works information, the terminal works information includes at least one in network type, electricity surplus value, interface display state, and when detecting the terminal works information and meeting switching condition, the shown corresponding network resource data of the first object attribute information is switched into the corresponding network resource data of the second target property information;
The communication interface 1002, is additionally operable to the corresponding network resource data of loading second target property information;
The display 1003, is additionally operable to the corresponding network resource data of display second target property information;
Wherein, second target property information is selected in the attribute information for carrying two dimension mark.
Wherein,
The processor 1001, is additionally operable to obtain the corresponding monochrome information of Three-dimensional Display mode and refresh rate information entrained by the first object attribute information, and the brightness according to the monochrome information and the refresh rate information adjustment display 1003 and refresh rate.
Wherein,
The processor 1001, it is additionally operable to when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, the entrained corresponding resolution information of Three-dimensional Display mode in the attribute information matched described in obtaining, and first object attribute information is chosen in the attribute information matched according to the resolution information.
Wherein,
The memory 1004, for storing the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information;
The communication interface 1002, specifically for obtaining corresponding network resource data according to the network address stored.
Therefore, the embodiment of the present invention is by obtaining each corresponding attribute information of network resource data in terminal Three-dimensional Display mode and at least one network resource data, and when there is the attribute information matched with terminal Three-dimensional Display mode in the attribute information for carrying three-dimensional marking, first object attribute information can be obtained in the attribute information matched according to resolution information, and load the corresponding network resource data of first object attribute information, to ensure that the 3D display modes 3D display modes corresponding with the 3D resources loaded that terminal 1000 is supported are identical, so as to so that terminal 1000 normally shows loaded 3D resources, and influence of the Three-dimensional Display mode to resolution ratio can be made up;It is adjusted at the same time it can also the brightness according to monochrome information and refresh rate information to display 1003 and refresh rate, to strengthen display effect.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, computer program is can be by instruct the hardware of correlation to complete, described program can be stored in a computer read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the interest field of the present invention, therefore the equivalent variations made according to the claims in the present invention with this certainly, still belongs to the scope that the present invention is covered.

Claims (18)

  1. A kind of network resource processing method, it is characterised in that including:
    Obtain terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
    In the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, matched with the terminal Three-dimensional Display mode;
    When described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
  2. The method as described in claim 1, it is characterised in that also include:
    When described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information is chosen in the attribute information for carrying two dimension mark, and loads network resource data corresponding with second target property information is shown.
  3. The method as described in claim 1, it is characterized in that, during the attribute information for carrying and existing in the attribute information of three-dimensional marking and matching with the terminal Three-dimensional Display mode when described described, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and the step of show loaded network resource data according to Three-dimensional Display mode entrained in the first object attribute information after, in addition to:
    Terminal works information is detected, the terminal works information includes at least one in network type, electricity surplus value, interface display state;
    When detecting the terminal works information and meeting switching condition, the shown corresponding network resource data of the first object attribute information is switched into the corresponding network resource data of the second target property information;
    Wherein, second target property information is selected in the attribute information for carrying two dimension mark.
  4. Method as described in any one of claims 1 to 3, it is characterized in that, during the attribute information for carrying and existing in the attribute information of three-dimensional marking and matching with the terminal Three-dimensional Display mode when described described, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and the step of show loaded network resource data according to Three-dimensional Display mode entrained in the first object attribute information after, in addition to:
    Obtain the corresponding monochrome information of Three-dimensional Display mode and the refresh rate information entrained by the first object attribute information;
    According to the brightness of the monochrome information and refresh rate information adjustment terminal screen and refresh rate.
  5. Method as described in any one of Claims 1-4, it is characterized in that, it is described when it is described carry in the attribute information of three-dimensional marking exist match with the terminal Three-dimensional Display mode attribute information when, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information, including:
    When described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, the entrained corresponding resolution information of Three-dimensional Display mode in the attribute information matched described in acquisition;
    First object attribute information is chosen in the attribute information matched according to the resolution information, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
  6. Method as claimed in claim 3, it is characterised in that also include:
    The network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information are stored, in order in switching Corresponding network resource data is obtained according to the network address stored during network resource data.
  7. A kind of Internet resources processing unit, applied to terminal, it is characterised in that including:
    First acquisition module, for obtaining terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
    Matching module, for in the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, is matched with the terminal Three-dimensional Display mode;
    Loaded and displayed module, for when it is described carry in the attribute information of three-dimensional marking exist match with the terminal Three-dimensional Display mode attribute information when, first object attribute information is chosen in the attribute information matched, to load the corresponding network resource data of the first object attribute information, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
  8. Device as claimed in claim 7, it is characterised in that
    The loaded and displayed module, it is additionally operable to when described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information is chosen in the attribute information for carrying two dimension mark, and loads network resource data corresponding with second target property information is shown.
  9. Device as claimed in claim 7, it is characterised in that also include:
    Detection module, for detecting terminal works information, the terminal works information includes at least one in network type, electricity surplus value, interface display state;
    Handover module, for when detecting the terminal works information and meeting switching condition, the shown corresponding network resource data of the first object attribute information to be switched into the corresponding network resource data of the second target property information;
    Wherein, second target property information is selected in the attribute information for carrying two dimension mark.
  10. Device as described in any one of claim 7 to 9, it is characterised in that also include:
    Second acquisition module, for obtaining the corresponding monochrome information of Three-dimensional Display mode and refresh rate information entrained by the first object attribute information;
    Adjusting module, brightness and refresh rate for adjusting terminal screen according to the monochrome information and the refresh rate information.
  11. Device as described in any one of claim 7 to 10, it is characterised in that the loaded and displayed module includes:
    Resolution ratio acquiring unit, for when it is described carry there is the attribute information matched with the terminal Three-dimensional Display mode in the attribute information of three-dimensional marking when, obtain the corresponding resolution information of Three-dimensional Display mode entrained by the attribute information matched;
    Resource loaded and displayed unit, for choosing first object attribute information in the attribute information matched according to the resolution information, and the corresponding network resource data of the first object attribute information is loaded, and loaded network resource data is shown according to Three-dimensional Display mode entrained in the first object attribute information.
  12. Device as claimed in claim 9, it is characterised in that also include:
    Memory module, for storing the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information, in order to which the handover module obtains corresponding network resource data in handover network resource data according to the network address stored.
  13. A kind of terminal, it is characterised in that including:Processor, communication interface and display;
    The communication interface, for obtaining terminal Three-dimensional Display mode, and the corresponding attribute information of each network resource data at least one network resource data;
    The processor, for in the corresponding attribute information of each network resource data, the attribute information for carrying three-dimensional marking is obtained, and by Three-dimensional Display mode entrained in the attribute information for carrying three-dimensional marking, is matched with the terminal Three-dimensional Display mode;
    The processor, is additionally operable to, when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, first object attribute information be chosen in the attribute information matched;
    The communication interface, is additionally operable to load the corresponding network resource data of the first object attribute information;
    The display, for showing loaded network resource data according to Three-dimensional Display mode entrained in the first object attribute information.
  14. Terminal as claimed in claim 13, it is characterised in that
    The processor, is additionally operable to, when described carry in the attribute information of three-dimensional marking in the absence of the attribute information matched with the terminal Three-dimensional Display mode, the second target property information be chosen in the attribute information for carrying two dimension mark;
    The communication interface, is additionally operable to the corresponding network resource data of loading second target property information;
    The display, is additionally operable to the corresponding network resource data of display second target property information.
  15. Terminal as claimed in claim 13, it is characterised in that
    The processor, it is additionally operable to detect terminal works information, the terminal works information includes at least one in network type, electricity surplus value, interface display state, and when detecting the terminal works information and meeting switching condition, the shown corresponding network resource data of the first object attribute information is switched into the corresponding network resource data of the second target property information;
    The communication interface, is additionally operable to the corresponding network resource data of loading second target property information;
    The display, is additionally operable to the corresponding network resource data of display second target property information;
    Wherein, second target property information is selected in the attribute information for carrying two dimension mark.
  16. Terminal as described in any one of claim 13 to 15, it is characterised in that
    The processor, is additionally operable to obtain the corresponding monochrome information of Three-dimensional Display mode and refresh rate information entrained by the first object attribute information, and according to the monochrome information and refresh rate information adjustment The brightness of display and refresh rate.
  17. Terminal as described in any one of claim 13 to 16, it is characterised in that
    The processor, it is additionally operable to when described carry in the attribute information of three-dimensional marking in the presence of the attribute information matched with the terminal Three-dimensional Display mode, the entrained corresponding resolution information of Three-dimensional Display mode in the attribute information matched described in obtaining, and first object attribute information is chosen in the attribute information matched according to the resolution information.
  18. Terminal as claimed in claim 15, it is characterised in that also include:Memory;
    The memory, for storing the network address corresponding to the corresponding network resource data of the first object attribute information, and the network address corresponding to the corresponding network resource data of second target property information;
    The communication interface, specifically for obtaining corresponding network resource data according to the network address stored.
CN201480074586.4A 2014-12-31 2014-12-31 Network resource processing method and device and terminal Active CN105993012B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/095840 WO2016106657A1 (en) 2014-12-31 2014-12-31 Network resource processing method, device, and terminal

Publications (2)

Publication Number Publication Date
CN105993012A true CN105993012A (en) 2016-10-05
CN105993012B CN105993012B (en) 2019-12-06

Family

ID=56283931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480074586.4A Active CN105993012B (en) 2014-12-31 2014-12-31 Network resource processing method and device and terminal

Country Status (2)

Country Link
CN (1) CN105993012B (en)
WO (1) WO2016106657A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710166A (en) * 2018-12-26 2019-05-03 努比亚技术有限公司 A kind of displaying method of terminal, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117291A (en) * 2009-12-30 2011-07-06 北京搜狗科技发展有限公司 Method and system for displaying network resources
CN103313285A (en) * 2013-06-09 2013-09-18 深圳中兴网信科技有限公司 Network resource transmitting and processing device and network resource transmitting and processing method
US8839087B1 (en) * 2012-01-26 2014-09-16 Amazon Technologies, Inc. Remote browsing and searching

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957824B (en) * 2009-07-16 2012-10-10 深圳木兰信息技术有限公司 Method for browsing network resource
US8565830B2 (en) * 2010-05-12 2013-10-22 Lg Electronics Inc. Mobile terminal and method of displaying 3D images thereon
CN102063475B (en) * 2010-12-22 2012-10-10 张丛喆 Webpage user terminal presenting method of three-dimensional model
CN103561065B (en) * 2013-10-22 2017-05-24 深圳市优逸电子科技有限公司 System and method for achieving 3D virtual advertisement with mobile terminal
CN104063466B (en) * 2014-06-27 2017-11-07 深圳先进技术研究院 The 3 D displaying method and system of virtual reality integration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117291A (en) * 2009-12-30 2011-07-06 北京搜狗科技发展有限公司 Method and system for displaying network resources
US8839087B1 (en) * 2012-01-26 2014-09-16 Amazon Technologies, Inc. Remote browsing and searching
CN103313285A (en) * 2013-06-09 2013-09-18 深圳中兴网信科技有限公司 Network resource transmitting and processing device and network resource transmitting and processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710166A (en) * 2018-12-26 2019-05-03 努比亚技术有限公司 A kind of displaying method of terminal, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN105993012B (en) 2019-12-06
WO2016106657A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
US20200242183A1 (en) Recommended content display method, device, and system
US10289603B2 (en) Dynamic search partitioning
US9530251B2 (en) Intelligent method of determining trigger items in augmented reality environments
US9984408B1 (en) Method, medium, and system for live video cooperative shopping
CN106528025B (en) Multi-screen image projection method, terminal, server and system
US10068352B2 (en) Determining visibility of rendered content
US9214138B2 (en) Redundant pixel mitigation
CN105210051A (en) Estimating visibility of content items
CN105630478A (en) Method and device for realizing page switching
JP2016535353A (en) Object detection and segmentation method, apparatus, and computer program product
CN105354288A (en) Image searching method and apparatus based on video contents
CN102186067A (en) Image frame transmission method, device, display method and system
CN106469183A (en) Page rendering method and device, page data processing method and client
CN103412954A (en) Virtual dynamic magazine using augmented reality technique
CN103336702A (en) Method and device of accelerating webpage loading
WO2021184896A1 (en) Page screenshot method and device
JP2012244622A (en) Content converter, content conversion method and storage medium thereof
CN106371834A (en) Method and device for displaying bullet screen data
US20160021427A1 (en) Information display method, apparatus and smart television
US20230352057A1 (en) Systems and methods for dynamically augmenting videos via in-video insertion on mobile devices
CN106598523A (en) Picture loading method, device and electronic equipment
CN115205925A (en) Expression coefficient determining method and device, electronic equipment and storage medium
CN113965665B (en) Method and equipment for determining virtual live image
CN105678688B (en) Picture processing method and device
CN105138763A (en) Method for real scene and reality information superposition in augmented reality

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant