CN103778121A - Webgame material rendering method and device - Google Patents

Webgame material rendering method and device Download PDF

Info

Publication number
CN103778121A
CN103778121A CN 201210395228 CN201210395228A CN103778121A CN 103778121 A CN103778121 A CN 103778121A CN 201210395228 CN201210395228 CN 201210395228 CN 201210395228 A CN201210395228 A CN 201210395228A CN 103778121 A CN103778121 A CN 103778121A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
material
address
custom
user
element
Prior art date
Application number
CN 201210395228
Other languages
Chinese (zh)
Inventor
刘峰
钟杨
关亮亮
杨经宇
王瑞阳
Original Assignee
腾讯科技(深圳)有限公司
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

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/30Information retrieval; Database structures therefor ; File system structures therefor
    • G06F17/30861Retrieval from the Internet, e.g. browsers
    • G06F17/3089Web site content organization and management, e.g. publishing, automatic linking or maintaining pages
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Abstract

The invention is applicable to the technical field of webpages and provides a webgame material rendering method and device. The method includes acquiring a material identifier of an element in a webgame and used for uniquely identifying the element; judging whether the material identifier is correlated with a user-defined address which is a material source of the element and defined by a user; acquiring a material from the user-defined address to render the element when the material identifier is correlated with the user-defined address. By means of the method and device, the webgame has user customizability, and the webgame user participation degree is improved.

Description

一种网页游戏的素材渲染方法及装置 Material rendering method and device for web games

技术领域 FIELD

[0001] 本发明属于网页技术领域,尤其涉及一种网页游戏的素材渲染方法及装置。 [0001] The present invention belongs to the field of Web technology, particularly to a game web material rendering method and apparatus.

背景技术 Background technique

[0002] 随着网络技术的发展,网页游戏风靡开来,其直接通过网页呈现给玩家,无需下载安装客户端,对用户终端的硬件配置要求低,且打开、关闭和切换十分方便,因此越来越受到了广大网民的青睐。 [0002] With the development of network technology, web games swept off, presenting to the players directly through the web, without the need to download and install the client, low hardware requirements of the user terminal, and open, close and switch is very convenient, so the more increasingly favored by the majority of Internet users.

[0003] 然而,对于网页游戏来说,其素材全部由开发者在开发游戏时定义,并从网页游戏指定的地址下载获取,玩家无法根据自身的喜好对网页游戏的人物造型、物品图标、背景贴图等网页游戏元素进行定制,网页游戏不具备用户可定制性,导致网页游戏的用户参与度低。 [0003] However, for web games, its entire material is defined by the developer in the development of the game and download the game from the web page to obtain the specified address, the player can not figure modeling of web games, articles icon according to their preferences, background textures and other elements to customize web games, web games do not have the user customizability, causing the user web games participation low.

发明内容 SUMMARY

[0004] 本发明实施例的目的在于提供一种网页游戏的素材渲染方法,旨在解决现有的网页游戏不具备用户可定制性,网页游戏的用户参与度低的问题。 [0004] The object of embodiments of the present invention to provide a method for rendering web material game, to solve the conventional web games do not have user-customizable, low user engagement web game problems.

[0005] 本发明实施例是这样实现的,一种网页游戏的素材渲染方法,包括: [0005] Embodiments of the invention are achieved in a material web game rendering method, comprising:

[0006] 获取所述网页游戏中元素的素材标识,所述素材标识用于唯一标示所述元素; [0006] Gets the webpage identifier creative game elements, the identifier is used to uniquely identify the material element;

[0007] 判断所述素材标识是否关联了自定义地址,所述自定义地址为用户为所述元素自定义的素材的来源; [0007] It is determined whether the material identification associated with the custom address, the address for a user to customize the custom element material source;

[0008] 当所述素材标识关联了自定义地址时,从所述自定义地址中获取素材以对所述元 [0008] When the material identification associated with the custom address, obtaining the custom address from the material to the element

素进行渲染。 Su rendering.

[0009] 本发明实施例的另一目的在于提供一种网页游戏的素材渲染装置,包括: [0009] Another object of an embodiment of the present invention to provide a game web material rendering device, comprising:

[0010] 获取单元,用于获取所述网页游戏中元素的素材标识,所述素材标识用于唯一标示所述元素; [0010] acquiring unit, configured to obtain the identifier of the material web game elements, the identifier is used to uniquely identify the material element;

[0011] 判断单元,用于判断所述素材标识是否关联了自定义地址,所述自定义地址为用户为所述元素自定义的素材的来源; [0011] determination means for determining whether the material identification associated with the custom address, the address for a user to customize the custom element material source;

[0012] 第一渲染单元,用于当所述素材标识关联了自定义地址时,从所述自定义地址中获取素材以对所述元素进行渲染。 [0012] The first rendering unit, when the material for the custom identifier associated with the address, obtaining the custom address from the material to render the element.

[0013] 本发明实施例预先将用户自行定制的素材的地址与相应的素材标识相关联,由此,在网页游戏的加载过程中,能够根据素材标识判断用户是否对网页游戏的元素自行定制了素材,并对用户自行定制的素材进行获取并渲染,由此使得网页游戏具备了用户可定制性,提高了网页游戏的用户参与度。 [0013] Embodiments of the invention address the previously user-customizable material identification with the respective associated material, whereby, during the loading of the page of the game, can be determined according to whether the user identification element material web games customized our material, and user-customizable material were acquired and rendering, thus making web games have a user customizable, improving the user web games participation.

附图说明 BRIEF DESCRIPTION

[0014] 图1是本发明实施例提供的网页游戏素材渲染方法的实现流程图; [0014] FIG. 1 is a flow chart for implementing web game assets rendering method according to an embodiment of the present invention;

[0015] 图2是本发明实施例提供的网页游戏素材渲染方法步骤SlOl之前的实现流程图; [0015] FIG. 2 is a flow chart for implementing the web before rendering method step SlOl game assets according to an embodiment of the present invention;

[0016] 图3是本发明另一实施例提供的网页游戏素材渲染方法步骤SlOl之前的实现流程图; [0016] FIG. 3 is a flow chart for implementing a web provided before rendering method step SlOl game assets to another embodiment of the present invention;

[0017]图4是本发明另一实施例提供的网页游戏素材渲染装置的结构框图; [0017] FIG. 4 is a block diagram provided by web game assets rendering device according to another embodiment of the present invention;

[0018]图5是本发明实施例提供的网页游戏素材渲染装置的结构框图; [0018] FIG. 5 is a block diagram web game assets according to an embodiment of the present invention, the rendering apparatus;

[0019]图6是本发明另一实施例提供的网页游戏素材渲染装置的结构框图; [0019] FIG. 6 is a block diagram provided by web game assets rendering device according to another embodiment of the present invention;

[0020]图7是本发明另一实施例提供的网页游戏素材渲染装置的结构框图; [0020] FIG. 7 is a block diagram provided by web game assets rendering device according to another embodiment of the present invention;

[0021]图8是本发明另一实施例提供的网页游戏素材渲染装置的结构框图。 [0021] FIG. 8 is a block diagram provided by web game assets rendering device according to another embodiment of the present invention.

具体实施方式 detailed description

[0022] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0022] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0023] 本发明实施例预先将用户自行定制的素材的地址与相应的素材标识相关联,由此,在对网页游戏的加载过程中,能够根据素材标识判断用户是否对网页游戏的元素自行定制了素材,并对用户自行定制的素材进行获取并渲染,由此使得网页游戏具备了用户可定制性,提高了网页游戏的用户参与度。 [0023] Example embodiments of the present invention address the previously user-customizable material identification with the respective associated material, whereby, during loading of web game, the user can be determined whether the game elements on web material according to customize their own identification the material, and user-customizable material were acquired and rendering, thus making web games have a user customizable, improving the user web games participation.

[0024] 图1示出了本发明实施例提供的网页游戏的素材渲染方法的实现流程,详述如下: [0024] FIG 1 illustrates the present invention implemented game web material rendering process according to an embodiment of the method, described in detail as follows:

[0025] 在步骤SlOl中,获取网页游戏中元素的素材标识,其中,一个素材标识用于唯一标示一个元素。 [0025] In step SlOl, the acquisition material web game identification elements, wherein a clip identifier is used to uniquely identify an element.

[0026] 对于网页游戏来说,其需要呈现给用户的内容包括人物造型、物品图标、背景贴图等诸多元素,当加载网页游戏时,通过渲染不同的素材来表现这些元素,且素材可以为Flash、图片、音乐等形式的资源文件。 [0026] For web game, it needs to be presented to the user's content, including character modeling, objects icons, background textures, and many other elements when loading web games, to represent these elements by rendering a different material, and the material can be a Flash the form of pictures, music files and other resources.

[0027] 在本发明实施例中,当用户未对这些元素自行定制素材之前,其需要渲染的素材均是由开发人员指定,并以网络资源的形式存放在相关的网络服务器上的,当网页游戏进行加载时,通过读取相关加载文件中的素材标识,根据素材标识获取到素材,并将获取到的素材根据加载文件中的相关指示信息渲染至网页游戏的对应位置中。 [0027] In the embodiment of the present invention, if that user has not subscribed to the material of these elements themselves, which need to be rendered material are specified by the developer, and in the form of network resources stored on the relevant web server, if the web when the game is loaded, the material obtained by reading the load file identifying in accordance with the relevant material to the material identifier and material acquired position information to a corresponding page rendering the game according to the instructions in the load file.

[0028] 在本发明实施例中,素材标识可以为统一资源定位符(Uniform ResourceLocator, URL),由开发人员在开发网页游戏时进行配置,作为网页游戏中需要进行素材渲染的元素的唯一标识。 Uniquely identifies [0028] In the embodiment of the present invention, the material identifier may be a uniform resource locator (Uniform ResourceLocator, URL), configured in the development of web game by the developer, as a web-based games require the material to render the element.

[0029] 在步骤S102中,判断该素材标识是否关联了自定义地址,该自定义地址为用户为网页游戏中的元素自定义的素材的来源。 [0029] In step S102, it is determined whether the material identification associated with the custom address, the address of the user to customize the game elements in the source page customized clip.

[0030] 在本发明实施例中,用户可以预先对网页游戏中的元素自行定制素材,并指定其自行定制的素材的来源。 [0030] In an embodiment of the present invention, the user can advance the game element customized web material itself, and to specify their own custom source material. 因此,步骤SlOl之前,可以预先通过检测用户对网页游戏中某一元素的配置行为,获取到用户对该元素配置的自定义地址,该自定义地址即指示了用户为该元素配置的自行定制的素材的来源,通过将该自定义地址与该元素的素材标识相关联,即可以通过判断素材标识是否关联自定义地址,来获知用户是否对该元素的素材进行了自行定制。 Thus, prior to step the SLOL, the game may be previously arranged on the behavior of a web element, the acquired address of the user to customize the configuration of the detecting element by the user, i.e. the custom address indicating the own custom configured for the user element the source of the material, by the custom address associated with the element identification material, i.e. the material can be identified by determining whether the custom address associated to know whether a user to customize the creative elements themselves. [0031] 作为本发明的一个实施例,如图2所示,在步骤SlOl之前,还包括: [0031] As one embodiment of the present invention, shown in Figure 2, prior to the step of the SLOL, further comprising:

[0032] 步骤S201,获取用户为元素配置的自定义地址。 [0032] step S201, the address acquiring custom configured for the user element.

[0033] 步骤S202,将该自定义地址与该元素的素材标识关联后作为用户的配置文件存储在服务器。 [0033] step S202, after the address associated with the custom material with the element identified as a user profile is stored in the server.

[0034] 则相应地,步骤S102具体为: [0034] correspondingly, step S102 includes:

[0035] 从服务器读取用户的配置文件; [0035] The user reads the configuration file from the server;

[0036] 根据该配置文件判断素材标识是否关联了自定义地址。 [0036] According to this configuration file determines the material identification is associated custom address.

[0037] 具体地,上述用户配置行为可以在验证了用户身份之后进行,素材标识与自定义地址的关联关系作为该用户的配置文件存储在相关服务器,当需要加载网页游戏时,通过从服务器读取该用户的配置文件,从而判断出网页游戏中的元素是否由用户自定义了素材。 Carried out after the [0037] Specifically, the above user configuration behavior can verify the user's identity, material identification custom address the relationship and as the user's profile is stored in the relevant server, when you need to load web games, reading from the server to take the user's profile, so that the game is judged whether the page element by a user to customize the creative. 例如,用户登录了其在某网站的账号,体验该网站内的网页游戏,则上述配置行为与用户的账号相匹配,一旦用户对素材进行了自行定制,则无论用户之后在哪台终端上体验该款网页游戏,均能够在网页游戏中加载该用户自行定制的素材。 For example, a user logged into their account a site in experience the web game within the site, the above configure the behavior of the user accounts to match, once the user of the material has been customizable and then after regardless of the user experience on which terminal which web games, were able to load the user-customized web material in the game.

[0038] 作为本发明的另一实施例,如图3所示,在步骤SlOl之前,还包括: [0038] As another embodiment of the present invention, as shown in Figure 3, prior to the step of the SLOL, further comprising:

[0039] 步骤S301,获取用户为元素配置的自定义地址。 [0039] In step S301, the address acquiring custom configured for the user element.

[0040] 步骤S302,将该自定义地址与该元素的素材标识关联后存储为本地配置文件。 [0040] Step S302, the relation definition since the address of the memory element material identified as a local configuration file.

[0041] 则相应地,步骤S102具体为: [0041] correspondingly, step S102 includes:

[0042] 读取本地配置文件; [0042] The local configuration file to read;

[0043] 根据该本地配置文件判断素材标识是否关联了自定义地址。 [0043] It is determined whether the creative associated with custom identification address according to the local configuration file.

[0044] 具体地,上述用户配置行为可以以本地配置文件的形式进行本地存储,当需要加载网页游戏时,从本地存储中读取本地配置文件,从而判断出网页游戏中的元素是否由用户自定义了素材。 [0044] Specifically, the user can configure the behavior of local storage in the form of local configuration files need to load when web games, read the local configuration file from the local store, the page elements to determine whether the game by the user from It defines the material. 例如,用户在一台终端上对某款网页游戏进行了上述配置行为,则任何用户在该终端上体验该网页游戏,浏览器等相关网页游戏加载程序均会从该终端的本地存储中读取相关的本地配置文件,从而在网页游戏中加载该用户自行定制的素材。 For example, a user on a section of web games were above configuration acts on one end, then any user to experience the web game, web browser and other related games loader on the terminal will read from the local storage of the terminal relevant local configuration file, which loads the user-customized web material in the game.

[0045] 在步骤S103中,当该素材标识关联了自定义地址时,从该自定义地址中获取素材以对该进行渲染。 [0045] In step S103, when the identifier associated with the creative custom address, obtaining the material from the custom address to the rendering.

[0046] 在本实施例中,当判断出素材标识关联了自定义地址时,则直接从预设地址获取素材并根据加载文件的相关指示信息,将获取到的素材渲染至网页游戏中的指定位置。 [0046] In the present embodiment, when it is judged that the creative associated with custom identification address is acquired directly from the material and the preset address information according to the instructions of the loaded file, the acquired material to render the web page specified in the game position.

[0047] 作为本发明的一个实施例,自定义地址可以为本地存储地址,例如,加载该网页游戏的计算机、手机等终端设备的本地存储地址,即在该情况下,用户自行定制的素材是存储在终端设备的本地存储中的,此时,通过从本地硬盘、存储卡等存储介质中读取文件,获取到用户自行定制的素材并进行渲染。 [0047] As the present embodiment of the invention, custom address may be a local storage address, e.g., load storage address for the page game computers, mobile phones and other devices, i.e., in this case, user-customizable material is stored in a local storage device in the terminal, in which case, by reading from the local hard disk, memory cards and other storage media files acquired creative and user-customized rendering.

[0048] 作为本发明的另一实施例,自定义地址可以为网络存储地址,例如,用户将某些专门提供网页游戏素材的网站中的素材作为自行定制的素材,则此时,自定义地址为该素材的URL,根据该URL进行下载,获取到用户自行定制的素材并进行渲染。 [0048] As another embodiment of the present invention, the address may be a custom network storage address, e.g., the user provides certain specialized game assets material web site as customize their own material, at this time, custom address , a material for the URL based on the URL to download, access to user-customized material and rendering.

[0049] 在本发明实施例中,上述素材获取过程可以由相关的插件完成。 [0049] In an embodiment of the present invention, the acquisition process can be completed by the material relevant plug. 以浏览器为例,对于IE内核的浏览器来说,可以使用异步可插入协议(Asynchronous Pluggable Protocols,APP)来完成用户自行定制的素材的获取和渲染;对于Webkit内核的浏览器来说,可以根据不同的封装采用不同的接口,在此不用于限定本发明。 In the browser, for example, for the core IE browsers can be used to obtain and render Asynchronous Pluggable Protocol (Asynchronous Pluggable Protocols, APP) to complete the user-customizable material; for Webkit-browsers, may using different interfaces depending on the package, which is not intended to limit the present invention. [0050] 在本发明实施例中,针对用户未对网页游戏中的元素自行定制素材的情况,如图4所示,在步骤S104中,当该素材标识不关联自定义地址时,根据该素材标识获取素材以对该元素进行渲染。 [0050] In an embodiment of the present invention, for the case where the user is not a web page customized game elements in their own material, as shown in step S104, when the identification is not associated creative custom address, based on the creative 4 identification obtaining material for rendering the elements. 即在该情况下,依旧按照原始的素材渲染方式,从该素材标识指示的地址中获取素材以进行渲染。 That is, in the original material still rendering, obtaining material from the material identification address indicated in this case for rendering. 例如,当素材标识包括URL时,则根据该URL从网络中下载素材并进行渲染。 For example, when the material identification including the URL, the URL is downloaded from the network in accordance with the material and render.

[0051] 由此,通过预先将用户自行定制的素材的地址与相应的素材标识相关联,在网页游戏的加载过程中,即能够根据素材标识判断出用户是否对网页游戏的元素自行定制了素材,并对用户自行定制的素材进行获取并渲染,由此使得网页游戏具备了用户可定制性,提高了网页游戏的用户参与度。 [0051] Accordingly, the address advance user-customizable material clip corresponding identifier associated with the game during the loading of the web, i.e., it can be determined whether the user's own customized game elements web material according to the material identification , and user-customizable material were acquired and rendering, thus making web games have a user customizable, improving the user web games participation.

[0052] 图5示出了本发明实施例提供的网页游戏素材渲染装置的结构框图,该装置可以运行于浏览器、网络客户端等具备网页加载功能的软件模块中,用于运行本发明图1至图3实施例所述的网页游戏素材渲染方法。 [0052] FIG. 5 shows a block diagram of the present invention provides a web material rendered game apparatus embodiment, the apparatus may run a browser, other network client software module includes a page load function, for operating the present invention in FIG. web game assets 1 to 3 embodiment the rendering method. 为了便于说明,仅示出了与本实施例相关的部分。 For ease of description, only a part related to the present embodiment.

[0053] 参照图5,该装置包括: [0053] Referring to Figure 5, the apparatus comprising:

[0054] 第一获取单元51,获取网页游戏中元素的素材标识,其中,一个素材标识用于唯一标示网页游戏中的一个元素。 [0054] The first acquiring unit 51 acquires the identification material web game elements, wherein a clip identifier is used to uniquely identify an element in web game.

[0055] 判断单元52,判断该素材标识是否关联了自定义地址,其中,自定义地址为用户为该元素自定义的素材的来源。 [0055] The judgment unit 52 judges whether the material identification associated with the custom address, wherein the address of a custom user-defined clip for the source element.

[0056] 第一渲染单元53,当该素材标识关联了自定义地址时,从该自定义地址中获取素材以对该元素进行渲染。 [0056] The first rendering unit 53, when the creative associated with the custom identification address, obtaining material from the custom address for rendering the element.

[0057] 可选地,当自定义地址包括本地存储地址,第一渲染单元53具体用于从本地存储地址中读取素材以对该元素进行渲染。 [0057] Alternatively, when the custom address includes a local storage address, a first rendering unit 53 specifically for reading from the local memory addresses material for rendering the element.

[0058] 可选地,当自定义地址包括网络存储地址,第一渲染单元53具体用于从网络存储地址中下载素材以对该元素进行渲染。 [0058] Alternatively, when the custom address includes a network storage address, a first rendering unit 53 creatives downloaded from the network specifically for memory addresses for rendering the element.

[0059] 可选地,如图6所示,该装置还包括: [0059] Alternatively, as shown in FIG. 6, the apparatus further comprising:

[0060] 第二获取单元54,获取用户为元素配置的自定义地址。 [0060] The second acquiring unit 54, acquires address custom configured for the user element.

[0061] 第一存储单元55,将该自定义地址与素材标识关联后作为用户的配置文件存储在服务器。 [0061] The first storage unit 55, after the material associated with the custom address identified as the user's profile stored in the server.

[0062] 且判断单元52包括: [0062] 52 and the determination unit comprises:

[0063] 第一读取子单元521,从服务器读取该用户的配置文件。 [0063] The first reading sub-unit 521, reads the user's profile from the server.

[0064] 第一判断子单元522,根据配置文件判断素材标识是否关联了自定义地址。 [0064] a first determining sub-unit 522, is determined based on the profile identifier is associated creative custom addresses.

[0065] 可选地,如图7所示,该装置还包括: [0065] Alternatively, as shown in FIG. 7, the apparatus further comprising:

[0066] 第三获取单元56,获取用户为元素配置的自定义地址。 [0066] The third acquiring unit 56, acquires address custom configured for the user element.

[0067] 第二存储单元57,将该自定义地址与素材标识关联后存储为本地配置文件。 [0067] The second storage unit 57, after the material associated with the custom address identifier is stored as local profile.

[0068] 且判断单元52包括: [0068] 52 and the determination unit comprises:

[0069] 第二读取子单元523,读取本地配置文件。 [0069] The second reading sub-unit 523, reads the local configuration files.

[0070] 第二判断子单元524,根据本地配置文件判断素材标识是否关联了自定义地址。 [0070] The second determining sub-unit 524, is determined according to a local configuration file associated with the clip identified whether custom address.

[0071] 可选地,如图8所示,该装置还包括: [0071] Alternatively, as shown in FIG. 8, the apparatus further comprising:

[0072] 第二渲染单元58,当该素材标识不关联自定义地址时,从素材标识指示的地址中获取素材以对该元素进行渲染。 [0072] The second rendering unit 58, when the identification is not associated creative custom address, obtaining material from the address indicated by the identification material to render the element. [0073] 本发明实施例预先将用户自行定制的素材的地址与相应的素材标识相关联,由此,在网页游戏的加载过程中,能够根据素材标识判断用户是否对网页游戏的元素自行定制了素材,并对用户自行定制的素材进行获取并渲染,由此使得网页游戏具备了用户可定制性,提高了网页游戏的用户参与度。 [0073] Embodiments of the invention address the previously user-customizable material identification with the respective associated material, whereby, during the loading of the page of the game, can be determined according to whether the user identification element material web games customized our material, and user-customizable material were acquired and rendering, thus making web games have a user customizable, improving the user web games participation.

[0074] 以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 [0074] The foregoing is only preferred embodiments of the present invention but are not intended to limit the present invention, any modifications within the spirit and principle of the present invention, equivalent substitutions and improvements should be included in the present within the scope of the invention.

Claims (12)

  1. 1.一种网页游戏的素材渲染方法,其特征在于,包括: 获取所述网页游戏中元素的素材标识,所述素材标识用于唯一标示所述元素; 判断所述素材标识是否关联了自定义地址,所述自定义地址为用户为所述元素自定义的素材的来源; 当所述素材标识关联了自定义地址时,从所述自定义地址中获取素材以对所述元素进行渲染。 1. A method of rendering the material web games, characterized by comprising: obtaining the identifier of the material web game elements, the identifier is used to uniquely identify the material element; determining whether the material identification associated with the custom address, the address for a user to customize the custom element source material; when the material identification associated with the custom address obtaining material for rendering the elements from the custom addresses.
  2. 2.如权利要求1所述的方法,其特征在于,所述自定义地址包括本地存储地址,所述从所述自定义地址中获取素材包括: 从所述本地存储地址中读取素材。 2. The method according to claim 1, wherein said custom address includes a local storage address, obtaining the address from the custom clip comprising: reading clip from the local memory addresses.
  3. 3.如权利要求1所述的方法,其特征在于,所述自定义地址包括网络存储地址,所述从所述自定义地址中获取素材包括: 从所述网络存储地址中下载素材。 The method according to claim 1, wherein said custom storage address includes a network address, the material comprising the acquisition from the custom addresses: creatives downloaded from the network storage address.
  4. 4.如权利要求1至3任一项所述的方法,其特征在于,在所述获取所述网页游戏中元素的素材标识之前,还包括: 获取所述用户为所述元素配置的所述自定义地址; 将所述自定义地址与所述素材标识关联后作为所述用户的配置文件存储在服务器; 所述判断所述素材标识是否关联了自定`义地址包括: 从所述服务器读取所述用户的所述配置文件; 根据所述配置文件判断所述素材标识是否关联了所述自定义地址。 4. A method according to any one of claims 1 to 3, characterized in that, prior to identifying the material web in said game element obtaining, further comprising: obtaining the user the configuration of the element custom address; after the custom address identifier associated with the material as the user profile stored in the server; the determination of the material identification is associated `custom-defined addresses comprising: reading from the server take the user to the profile; determining whether the material according to the configuration file associated with the identification whether the custom address.
  5. 5.如权利要求1至3任一项所述的方法,其特征在于,在所述获取所述网页游戏中元素的素材标识之前,还包括: 获取所述用户为所述元素配置的所述自定义地址; 将所述自定义地址与所述素材标识关联后存储为本地配置文件; 所述判断所述素材标识是否关联了自定义地址包括: 读取所述本地配置文件; 根据所述本地配置文件判断所述素材标识是否关联了所述自定义地址。 5. A method according to any one of claims 1 to 3, characterized in that, prior to identifying the material web in said game element obtaining, further comprising: obtaining the user the configuration of the element custom address; the custom address identifier stored in association with the material for the local configuration file; determining the identity of the material is associated custom address comprises: reading the local configuration file; according to the local determining the profile of the material identification is associated custom address.
  6. 6.如权利要求1所述的方法,其特征在于,还包括: 当所述素材标识不关联自定义地址时,根据所述素材标识获取素材以对所述元素进行渲染。 6. The method according to claim 1, characterized in that, further comprising: when the material identification is not associated custom address, the identifier obtaining material to render the material element according to.
  7. 7.—种网页游戏的素材渲染装置,其特征在于,包括: 第一获取单元,用于获取所述网页游戏中元素的素材标识,所述素材标识用于唯一标示所述元素; 判断单元,用于判断所述素材标识是否关联了自定义地址,所述自定义地址为用户为所述元素自定义的素材的来源; 第一渲染单元,用于当所述素材标识关联了自定义地址时,从所述自定义地址中获取素材以对所述元素进行渲染。 7.- species rendering the material web game apparatus comprising: a first acquiring unit for acquiring the identifier of the material web game elements, the identifier is used to uniquely identify the material element; determining means, the first rendering unit, when said material identification associated with the custom address; means for determining whether the material associated with custom address identifies the address for a user to customize the custom element material source , for rendering the elements of the custom address obtaining material from.
  8. 8.如权利要求7所述的装置,其特征在于,所述自定义地址包括本地存储地址,所述第一渲染单元具体用于从所述本地存储地址中读取素材以对所述元素进行渲染。 8. The apparatus according to claim 7, wherein said custom address includes a local storage address, the first rendering unit configured to read the material from the local storage address of the element to be rendering.
  9. 9.如权利要求7所述的装置,其特征在于,所述自定义地址包括网络存储地址,所述第一渲染单元具体用于从所述网络存储地址中下载素材以对所述元素进行渲染。 9. The apparatus according to claim 7, wherein said custom storage address includes a network address, the first rendering unit is configured to download from the network storage address creatives to render the element .
  10. 10.如权利要求7至9任一项所述的装置,其特征在于,还包括: 第二获取单元,用于获取所述用户为所述元素配置的所述自定义地址; 第一存储单元,用于将所述自定义地址与所述素材标识关联后作为所述用户的配置文件存储在服务器; 所述判断单元包括: 第一读取子单元,用于从所述服务器读取所述用户的所述配置文件; 第一判断子单元,用于根据所述配置文件判断所述素材标识是否关联了所述自定义地址。 10. The device according to any one of claims 7 to 9, characterized in that, further comprising: a second obtaining unit configured to obtain the user of the custom address configuration element; a first memory unit for the custom address associated with the material after the identification of the user profile as stored in the server; the determining unit comprises: a first sub-reading unit for reading from the said server the user profile; a first determining subunit, for determining the material according to the configuration file associated with the identification whether the custom address.
  11. 11.如权利要求7至9任一项所述的装置,其特征在于,还包括: 第三获取单元,用于获取所述用户为所述元素配置的所述自定义地址; 第二存储单元,用于将所述自定义地址与所述素材标识关联后存储为本地配置文件; 所述判断单元包括: 第二读取子单元,用于读取所述本地配置文件; 第二判断子单元,用于根据所述本地配置文件判断所述素材标识是否关联了所述自定义地址。 11. The device according to any one of claims 7 to 9, characterized in that, further comprising: a third acquisition unit for acquiring the user configuration of the custom address element; a second storage unit , the custom for the address stored in association with the identifier for the local creative profile; the determining unit comprises: a second reading sub-unit, for reading the local profile; a second judgment sub-unit , for determining the material according to the local configuration file associated with the identifying whether the custom address.
  12. 12.如权利要求7所述的装置,其特征在于,还包括: 第二渲染单元,用于当所述素材标识不关联自定义地址时,根据所述素材标识获取素材以对所述元素进行渲染。 12. The apparatus according to claim 7, characterized in that, further comprising: a second rendering unit, when said material identification is not associated custom address, according to the material identifier obtaining material for the element rendering.
CN 201210395228 2012-10-17 2012-10-17 Webgame material rendering method and device CN103778121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210395228 CN103778121A (en) 2012-10-17 2012-10-17 Webgame material rendering method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210395228 CN103778121A (en) 2012-10-17 2012-10-17 Webgame material rendering method and device

Publications (1)

Publication Number Publication Date
CN103778121A true true CN103778121A (en) 2014-05-07

Family

ID=50570366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210395228 CN103778121A (en) 2012-10-17 2012-10-17 Webgame material rendering method and device

Country Status (1)

Country Link
CN (1) CN103778121A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114767A1 (en) * 2003-11-21 2005-05-26 Canon Kabushiki Kaisha Image processing system, image processing method, image processing apparatus, program for implementing the method, and storage medium
CN1869995A (en) * 2006-04-30 2006-11-29 珠海市西山居软件有限公司 Device and method for self-defining image resource in network game by player
US20100056275A1 (en) * 2008-09-04 2010-03-04 United States Of America As Represented By The Secretary Of The Army Massively Multiplayer Online Game Technologies
CN102523491A (en) * 2011-10-28 2012-06-27 深圳市龙视传媒有限公司 Customization method, presentation method and system of digital TV portal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114767A1 (en) * 2003-11-21 2005-05-26 Canon Kabushiki Kaisha Image processing system, image processing method, image processing apparatus, program for implementing the method, and storage medium
CN1869995A (en) * 2006-04-30 2006-11-29 珠海市西山居软件有限公司 Device and method for self-defining image resource in network game by player
US20100056275A1 (en) * 2008-09-04 2010-03-04 United States Of America As Represented By The Secretary Of The Army Massively Multiplayer Online Game Technologies
CN102523491A (en) * 2011-10-28 2012-06-27 深圳市龙视传媒有限公司 Customization method, presentation method and system of digital TV portal

Similar Documents

Publication Publication Date Title
US20100235321A1 (en) Programming model for synchronizing browser caches across devices and web services
US20080263139A1 (en) Method for providing content to a mobile device, gateway for providing content and mobile device
US20090241104A1 (en) Application management within deployable object hierarchy
US20120011262A1 (en) Method and System of Processing Cookies Across Domains
US20100093396A1 (en) Systems and methods for storing or performing functions within removable memory, such as a subscriber identity module of a mobile device
US20140351954A1 (en) Providing limited versions of applications
CN102063299A (en) Method and device for assessing application running condition of mobile terminal, mobile terminal
CN1987851A (en) Updating display method for webpage data
US20130144934A1 (en) Web Content Targeting Based on Client Application Availability
CN103338254A (en) Terminal across application pushing method, device, terminal and system
US20120117127A1 (en) Apparatus and methods for improving uninstall process
US8386955B1 (en) User-optimized content for web browsing windows
CN102591705A (en) Open platform agent access method and open platform agent access device
CN102663073A (en) Method and system for recommending based on downloaded files
CN102520987A (en) Online experience and installation method, device, server and management system of application program
US20110138376A1 (en) Interworking system between user terminal and smart card for executing widget, and method thereof
Espada et al. Extensible architecture for context-aware mobile web applications
Freeman Pro AsP. Net MVC 5 platform
US20140026067A1 (en) Method and apparatus for processing movement of web object based on intent
CN103618710A (en) Individual processing method and device of file between mobile device and computing device
CN102779128A (en) Method and device for offline running of HTML5 (hypertext markup language 5) application program in mobile terminal
JP2012247927A (en) Screen generation system, screen generation method, and screen generation program
CN104052796A (en) Plug-in processing method, device, system and terminal
US20090024801A1 (en) Method and system to detect a cached web page
CN102799443A (en) Information processing method, server and terminal equipment

Legal Events

Date Code Title Description
C06 Publication