WO2014067368A1 - 资源预览图的获取方法、装置以及设备 - Google Patents
资源预览图的获取方法、装置以及设备 Download PDFInfo
- Publication number
- WO2014067368A1 WO2014067368A1 PCT/CN2013/083993 CN2013083993W WO2014067368A1 WO 2014067368 A1 WO2014067368 A1 WO 2014067368A1 CN 2013083993 W CN2013083993 W CN 2013083993W WO 2014067368 A1 WO2014067368 A1 WO 2014067368A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- module
- application
- screenshot
- preset
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
- H04L67/5651—Reducing the amount or size of exchanged application data
Definitions
- the present invention is based on a Chinese patent application with the application number 201210422240.1 and the application date being October 29, 2012, and claims the priority of the Chinese patent application, the entire contents of the Chinese patent application This application is hereby incorporated by reference.
- the present disclosure relates to the field of communications, and in particular, to a method, an apparatus, and a device for acquiring a resource preview map. Background technique
- the user Before using a mobile terminal such as a mobile phone to download resources such as applications and data packages from the electronic market, the user will check the content introduction, rating, and preview of the resource in advance. Since the preview image can more intuitively display the content form and usage effect of a certain resource, the user pays special attention to the preview map corresponding to a resource, and the probability of the user viewing the preview image is compared with the content introduction and scoring of the resource. Much higher.
- the industry provides a preview of the resource to the user:
- the party uploading the resource is responsible for uploading a preview of the resource.
- the Android (Android) electronic market provides a lot of applications about the "lock screen", the preview of the download interface.
- the maps are all uploaded by the developer's own screenshots; when the electronic marketplace collects resources, it is allowed to sell in the electronic market by ensuring the authenticity of the preview map corresponding to the resources.
- the above method for providing a resource preview map can ensure the authenticity of the resources sold in the electronic market, however, since there is no uniform standard, the above method cannot enable the user to directly compare the contents of the same type of resources according to the preview map before using the resource. Inferior, this defect is particularly evident for resources like "theme”. For example, many of the theme market applications built into the Android-based mobile operating system have an online page that provides a preview of each theme resource pack; since there is no control over the preview image, users will not be able to compare and may be misleading To the inferior theme package. Summary of the invention
- the embodiment of the present disclosure provides a method, an apparatus, and a device for acquiring a resource preview map, which can automatically obtain a resource preview map of a resource pack of a unified standard.
- an embodiment of the present disclosure provides a method for acquiring a resource preview image, where the method includes:
- the screenshot result is provided to the user as a resource preview of the resource package to preview an actual application effect of the resource package.
- an embodiment of the present disclosure provides an apparatus for acquiring a resource preview image, where the apparatus includes: an application module, configured to apply a preset resource package;
- a screenshot module configured to: take a screenshot of the application interface of the resource package according to a preset rule, and obtain a screenshot result; and send a module, where the screenshot result is used as a resource preview image of the resource package to provide a preview to the user The actual application effect of the resource package.
- an embodiment of the present disclosure provides an apparatus, where the apparatus includes:
- One or more processors are One or more processors;
- One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, wherein the one or more modules have the following functions:
- the screenshot result is provided to the user as a resource preview of the resource package to preview the actual application effect of the resource package.
- the preview of the resource package can be obtained by using the preset rule after the application, and the resource preview of the obtained resource package is a preview of the real effect, and
- the same type of resource package application or data package
- the method provided by the embodiment of the present disclosure can obtain the resource package (including the application or the data) in an objective and real form.
- the preview of the package is compared by the user according to the effect of the preview image to determine whether to download or use.
- FIG. 1 is an exemplary flowchart of a method for acquiring a resource preview image according to an embodiment of the present disclosure
- FIG. 2 is an exemplary flowchart of a method for acquiring a resource preview image according to another embodiment of the present disclosure
- FIG. 3 is a schematic structural diagram of an apparatus for acquiring a resource preview image according to an embodiment of the present disclosure
- 4 is a schematic structural diagram of an apparatus for acquiring a resource preview image according to another embodiment of the present disclosure
- FIG. 5 is a schematic structural diagram of an apparatus for acquiring a resource preview image according to another embodiment of the present disclosure
- FIG. 6 is a schematic structural diagram of an apparatus for acquiring a resource preview image according to another embodiment of the present disclosure. detailed description
- FIG. 1 is a schematic flowchart of a method for acquiring a resource preview image according to an embodiment of the present disclosure, which includes a step S101, a step S102, and a step S103, including:
- the screenshot result is provided as a resource preview image of the resource package to a user to preview an actual application effect of the resource package.
- step S101 the following manner is adopted:
- the preset rule includes:
- the preset non-application class resource module is displayed on the preset interface and the screenshot is taken.
- step S102 the following manner is adopted:
- the resource module is an application-type resource module or a non-application-type resource module preset in the preset rule, display the interface after the resource module is applied according to the preset rule, and view the resource module The corresponding interface is taken as a screenshot.
- the method further includes:
- step S102 Unload the application corresponding to the resource package.
- step S102 the following manner may be adopted:
- the screenshot result is sent to the server, so that the server provides the screenshot result as a resource preview of the resource package to the user to preview the actual application effect of the resource package.
- Step S204 and the specific application scenario is:
- the administrator of the service provider of the theme supermarket generates a resource preview map for the resource package of the topic class sent by the service provider or the third party to the server for display to the user.
- the preset rule for obtaining the preview image may be established as follows:
- the modules in the resource bundle of the topic class can be divided into an application class resource module and a non-application class resource module, and then, according to the characteristics of the two types of resource blocks themselves, respective rules for obtaining a preview map are established.
- An application class resource module refers to a module that needs to invoke an operating system function or an interface installed in an APP to display an interface, and is a module that is visible to the user and has an operation interface, for example, an notification bar of the Android system, a desktop, and a short message. , dialing and contacts, etc.
- Modules that can be displayed without calling the functions of the operating system or the APP installed in the terminal can be classified as non-application-like resource modules, for example, desktop clocks, desktop photo frames, icons, fonts, and boot animations are visible to the user or There is no operation interface, so it belongs to the non-application class resource module.
- an operation interface of the application may be set as a previewable view of the application class resource module.
- an application resource module of "SMS” two operation interfaces of "SMS conversation list page” and “SMS conversation details page” can be intercepted, and the two screenshots can be set as “SMS” preview. Figure. After this rule is established, when the "SMS" resource module effect is presented in the form of a preview image, the preview images are taken from the screenshots of the above two operation interfaces.
- a method of generating a preview image of the non-application class resource module may be formulated for the non-application. Since the non-application class resource module does not have an operation interface, the screenshot of the operation interface cannot be used as a preview image like the application class resource module, but a set of methods for generating a preview image can be preset.
- the resource preview map is obtained for the non-application resource module, and the method is as follows:
- the non-application class resource in the theme resource package and display the non-application class resource on the preset interface in a preset manner, and then take a screenshot as a resource preview map.
- the non-application class resource module of "icon” when generating the preview image, you can tile the 16 icons displayed in the icon module on a canvas, and then tile the The canvas of the icon is a screenshot of one or several images, and the saved image can be used as a preview of the non-application resource module of "icon”.
- the rule for obtaining a preview image for the resource package of the topic class may be common to the resource package of the topic class, and the rule is formulated before the resource preview map is acquired.
- the rule can preferably be implemented by writing to a configuration file by code, and saving the configuration file to a mobile phone for acquiring a resource preview map.
- the preset resource package can be specified by the user or preset by the developer.
- this step S202 can be implemented as follows:
- the administrator connects the mobile phone used to obtain the resource preview map to the server.
- the administrator wants to obtain the resource preview map of the resource package of a topic class published on the server
- the user clicks the resource preview map, and the server selects the preset resource.
- the package is sent to the mobile phone, and the mobile phone obtains the resource package and installs it locally, and applies the theme package that needs to obtain the resource preview map to the system.
- step S202 As a second implementation manner of step S202, the following form may also be adopted:
- the server installs and applies the default resource bundle directly on the server.
- the mobile phone obtains the resource package and installs it locally, including two ways:
- the mobile phone actively downloads the resource package to the local device by the server, and installs it;
- the server actively sends the resource package to the mobile phone, and the mobile phone obtains the resource package.
- the interfaces corresponding to which modules are marked in the preset rule need to be screenshotd, and the marking manner is set in the setting module of the preset rule. For example, if the interface corresponding to the notification bar is set in the preset rule, the module identifier corresponding to the notification bar is recorded in the preset rule.
- step S203 is implemented as follows:
- the resource module included in the resource package that needs the screenshot may be detected first, and then, if the rule for acquiring the preview image is established in advance for each resource module in step S201, the resource package included in the resource package is established.
- the preview image corresponding to the resource module may directly use the created preview image as a preview image corresponding to the resource package.
- the resource package that needs to be screenshotd includes the "SMS" resource module, and the preview image corresponding to the "SMS" resource module is established when the rule for obtaining the preview image is established for each resource module in advance, and the preview image is directly used as the "SMS".
- a preview of the resource module is actually two operation interfaces of "SMS conversation list page" and "SMS conversation detail page".
- the resource module included in the resource package that needs the screenshot may be detected first, and then, if the rule for acquiring the preview image is previously established for each resource module in step S201, the resource package is not established.
- the corresponding preview image of the resource module provides the user with some screenshot interface, and receives the user's selection of the provided screenshot interface, and the screenshot interface with the most occurrences or the screenshot interface selected by the user is used as the resource package. Preview image.
- the method may further include:
- sending the resource preview of the resource bundle to the server includes at least two cases:
- the first type after completing the acquisition of the resource preview image, the terminal actively sends the obtained resource preview image to the service.
- the terminal After the completion of the resource preview, the terminal stores the resource preview map in the local preset path.
- the server uses the server, it actively requests the resource preview map from the terminal, and the terminal sends the resource preview map to the server.
- step S204 can be replaced by:
- the server provides the screenshot result as a resource preview of the resource bundle to the user for previewing the actual effect of the resource bundle.
- the lock screen program is installed, for example, the lock screen program can be automatically installed in advance; generally, the lock screen program is automatically started after the installation is completed. If the lock screen program is not automatically started, the lock screen program can be opened through a setting menu or the like. Finally, the preview image can be intercepted, and the system can be notified by the program to lock the screen and display the lock screen interface.
- the preview of the resource package can be obtained through the screenshot after the application by using the preset rule
- the resource preview of the obtained resource package is a preview of the real effect, and in the case that the usage rule is the same, the same
- the method provided by the embodiment of the present disclosure can obtain a preview image of a resource package (including an application or a data package) objectively and formally and uniformly, by the user. Compare the effects of the preview to determine whether to download or use.
- FIG. 3 is a schematic structural diagram of an apparatus for acquiring a resource preview image according to an embodiment of the present disclosure.
- the acquiring device of the resource preview map of the example of FIG. 3 includes a rule application module 301, a screenshot module 302, and a sending module 303, where:
- the application module 301 is configured to apply a preset resource package.
- the method includes two implementation manners: First, the administrator connects the mobile phone used to obtain the resource preview map to the server, and when the administrator wants to obtain the resource preview image of the resource package of a theme class published on the server, click The resource preview is obtained, and the server sends the resource package that needs to obtain the resource preview to the mobile phone, and the application module 301 acquires the resource package and installs it to the local device, and applies the theme package that needs to obtain the resource preview to the system. Second, the server directly installs and applies the preset resource package locally on the server.
- the screenshot module 302 is configured to take a screenshot of the interface after the resource package is applied according to a preset rule, and obtain a screenshot result.
- the interfaces corresponding to which modules are marked in the preset rule need to be screenshotd, and the marking manner is set in the setting module of the preset rule. For example, if the interface corresponding to the notification bar is set in the preset rule, the module identifier corresponding to the notification bar is recorded in the preset rule.
- the screenshot module 302 detects all the modules in the resource package, determines whether the module identifier of each module is recorded in the preset rule, and if so, performs a screenshot according to the method for obtaining the resource preview map for the module according to the preset rule.
- the screenshot module 302 may first detect the resource module included in the resource package that needs to be screenshotd, and then, if the rule for acquiring the preview image is established for each resource module in advance, the resource module included in the resource package is established. If the preview is previewed, the created preview image may be directly used as a preview image corresponding to the resource package.
- the resource package that needs to be captured includes the "SMS" resource module, and the preview image corresponding to the "SMS" resource module is established when the rule for obtaining the preview image is established for each resource module in advance, and the preview image is directly used as the "SMS".
- a preview of the resource module is actually two operation interfaces of "SMS conversation list page" and "SMS conversation detail page".
- the screenshot module 302 may first detect the resource module included in the resource package that needs the screenshot, and then, if the rule for acquiring the preview image is established for each resource module in advance, the resource module corresponding to the resource package is not established.
- Preview view the user is provided with some screenshot interface, receiving the user's selection of the provided screenshot interface, will The screenshot interface with the most occurrences or the screenshot interface selected by the user is used as a preview map corresponding to the resource package.
- the sending module 303 is configured to provide the screenshot result as a resource preview image of the resource package to the user to preview an actual application effect of the resource package.
- each functional module is merely an example, and the actual application may be based on requirements, such as configuration requirements of corresponding hardware or convenience of implementation of software.
- the above-mentioned function allocation is completed by different function modules, that is, the internal structure of the acquisition device of the resource preview map is divided into different functional modules to complete all or part of the functions described above.
- the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be executed by corresponding hardware.
- the foregoing screenshot module may have the foregoing preset according to the preset.
- the hardware of the resource preview map of the resource package is obtained by a rule, such as a screenshot device, or a general processor or other hardware device capable of executing a corresponding computer program to complete the foregoing functions;
- the sending to the module may be configured to send the resource preview image of the resource package to the server, so that the server provides the resource preview image of the resource package to the user to perform the application effect of the resource package.
- the hardware of the preview function such as the uploader, may also be a general processor or other hardware device capable of executing the corresponding computer program to perform the aforementioned functions (the various embodiments described herein may apply the above described principles).
- the preset rule for obtaining the preview image may be established as follows: First, the module in the resource package of the topic class may be divided into an application class resource module and a non-application program. The class resource module, then, according to the characteristics of the two types of resource blocks themselves, establish rules for obtaining preview images.
- the application class resource module refers to a module that needs to invoke a function of an operating system or an interface that can be displayed by an APP installed in the terminal, and is a module that is visible to the user and has an operation interface, for example, an Android system. Notification bar, desktop, SMS, dial-up and contacts, etc.
- Modules that can be displayed without calling the functions of the operating system or the APP installed in the terminal can be classified as non-application-like resource modules, for example, desktop clocks, desktop photo frames, icons, fonts, and boot animations are visible to the user or There is no operation interface, so it belongs to the non-application class resource module.
- non-application-like resource modules for example, desktop clocks, desktop photo frames, icons, fonts, and boot animations are visible to the user or There is no operation interface, so it belongs to the non-application class resource module.
- the application interface of the application can be set as a preview of the application class resource module.
- the application resource module of "SMS” two operation interfaces of "SMS conversation list page” and “SMS conversation details page” can be intercepted, and the two screenshots can be set as "SMS" preview.
- Figure. After this rule is established, when the "SMS" resource module effect is presented in the form of a preview image, the preview images are taken from the screenshots of the above two operation interfaces.
- a set of methods for generating a preview image of the non-application class resource module may be formulated for the non-application program. Because the non-application class resource module is not operating The interface, therefore, can't use the screenshot of the operation interface as the preview image like the application class resource module, but you can preset a set of methods to generate the preview image.
- the resource preview image is obtained by using the non-application resource module in the following manner: acquiring the non-application resource in the theme resource package, and displaying the non-application resource in a preset manner on the preset interface. Take a screenshot as a resource preview.
- the rule for obtaining a preview image for the resource package of the topic class may be common to the resource package of the topic class, and the rule is formulated before the resource preview image is acquired.
- the rule may preferably be implemented by writing to a configuration file by code, and saving the configuration file to a mobile phone for acquiring a resource preview map.
- the application module 301 of the example of FIG. 3 may include an acquisition unit 401, such as the acquisition device of the resource preview map provided by another embodiment of the present disclosure as shown in FIG.
- the acquisition installation unit 401 is for a resource package that needs to acquire a resource preview map, and installs the resource package.
- the screenshot module 302 of the example of FIG. 4 may include an acquisition unit 501, a determination unit 502, and a preview map processing unit 503, such as the resource preview map acquisition device provided by another embodiment of the present disclosure, as shown in FIG.
- An obtaining unit 501 configured to acquire a resource module included in the resource package
- the determining unit 502 is configured to determine whether the resource module is an application class resource module or a non-application class resource module preset in the preset rule;
- the preview image processing unit 503 is configured to display, according to the preset rule, an interface corresponding to the resource module, if the resource module is an application-type resource module or a non-application-type resource module preset in the preset rule. And taking a screenshot of the interface corresponding to the resource module.
- the acquiring device of the resource preview image of the example shown in FIG. 3 may further include an uninstalling module 601.
- the acquiring device unloading module 601 of the resource preview map provided by another embodiment of the present disclosure is used to uninstall the application corresponding to the resource bundle.
- the screenshot result is provided to the user as a resource preview of the resource package to preview an actual application effect of the resource package.
- An embodiment of the present disclosure further provides an apparatus, where the apparatus includes:
- One or more processors are One or more processors;
- One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, wherein the one or more modules have the following functions:
- the screenshot result is provided to the user as a resource preview of the resource package to preview the actual application effect of the resource package.
- the application preset resource package includes:
- the preset rule includes:
- the screenshot of the interface after the application of the resource package according to the preset rule includes: acquiring a resource module included in the resource package;
- the resource module is an application-type resource module or a non-application-type resource module preset in the preset rule, display the interface after the resource module is applied according to the preset rule, and view the resource module The corresponding interface is taken as a screenshot.
- the one or more modules may further include the following functions:
- the providing the screenshot result as a resource preview of the resource package to the user to preview the actual application effect of the resource package, in the following manner:
- the resource preview map provides the user with a preview of the actual application effect of the resource bundle.
- Embodiments of the present disclosure also provide a non-volatile readable storage medium having stored therein one or more programs, the one or more modules being applied to one or more processors When the device is enabled, the device can be executed with the following steps:
- the screenshot result is provided to the user as a resource preview of the resource package to preview the actual application effect of the resource package.
- the application preset resource package includes:
- the preset rule includes:
- the screenshot of the interface after the application of the resource package according to the preset rule includes: acquiring a resource module included in the resource package;
- the resource module is an application-type resource module or a non-application-type resource module preset in the preset rule, display the interface after the resource module is applied according to the preset rule, and view the resource module The corresponding interface is taken as a screenshot.
- the one or more modules may also cause the device to execute an instruction of the following steps:
- the providing the screenshot result as a resource preview of the resource package to the user to preview the actual application effect of the resource package, in the following manner:
- the screenshot result is sent to the server, so that the server provides the screenshot result as a resource preview of the resource package to the user to preview the actual application effect of the resource package.
- a person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program instructing related hardware, and the program may be stored in a computer readable storage medium, the storage medium It may include: a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
- ROM read only memory
- RAM random access memory
- magnetic disk magnetic disk or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
本公开实施例提供了一种资源预览图的获取方法、装置以及设备,属于通信领域。本公开通过应用预设的资源包;根据预设规则对所述资源包应用后的界面进行截图,得到截图结果;将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应用效果。在本公开实施例中由于资源包的预览图可以通过预设规则在应用后通过截图获取,得到的资源包的资源预览图均为真实效果的预览图,并且在使用规则相同的情况下,同一类资源包具有统一标准的预览图,因此,本公开实施例提供的方法能够客观真实、形式统一地获取资源包的预览图,由用户根据预览图的效果进行比较,从而决定是否下载使用。
Description
资源预览图的获取方法、 装置以及设备 本申请基于申请号为 201210422240.1、 申请日为 2012年 10月 29日的中国专利申请 提出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为 参考。 技术领域
本公开涉及通信领域, 尤其涉及资源预览图的获取方法、 装置以及设备。 背景技术
用户使用手机之类的移动终端从电子市场下载应用程序和数据包等资源前,都会事先 察看一下该资源的内容介绍、评分和预览图等。 由于预览图能够比较直观地展现某种资源 的内容形式和使用效果等概况, 因此, 用户特别留意一种资源所对应的预览图, 相对于资 源的内容介绍和评分, 用户察看预览图的概率要高得多。
业界向用户提供资源预览图的方法是: 由上传资源的一方负责上传关于资源的预览 图, 例如, Android (安卓)电子市场上提供了很多关于"锁屏"的应用程序, 其下载界面的 预览图均是开发者自己截图上传; 电子市场方在收录资源时, 通过人工审核资源对应的预 览图的真实性, 确保为真时才允许在电子市场出售。
上述提供资源预览图的方法虽然可以保证电子市场上出售的资源的真实性, 然而, 由 于没有一个统一的标准, 上述方法无法使用户在使用资源前, 根据预览图直观比较同一类 资源的内容优劣,这一缺陷对于类似"主题"类资源表现尤其明显。例如,许多基于 Android 的手机操作系统内置的主题市场应用程序,其在线页面提供了每个主题资源包的预览图效 果; 由于对展示预览图没有进行任何控制, 用户将无法比较且可能被误导下载到劣质的主 题包。 发明内容
本公开实施例提供资源预览图的获取方法、装置以及设备, 可以自动获取统一标准的 资源包的资源预览图。
一方面, 本公开实施例提供一种资源预览图的获取方法, 所述方法包括:
应用预设的资源包;
根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果;
将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应 用效果。
另一方面, 本公开实施例提供一种资源预览图的获取装置, 所述装置包括: 应用模块, 用于应用预设的资源包;
截图模块, 用于根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果; 发送模块,用于将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资 源包的实际应用效果。
又一方面, 本公开实施例提供一种设备, 所述设备包括:
一个或多个处理器;
存储器; 和
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 其中, 所述一个或多个模块具有如下功能:
应用预设的资源包;
根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果;
将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应 用效果。
从上述本公开实施例可知,在本公开实施例中由于资源包的预览图可以通过预设规则 在应用后通过截图获取, 得到的资源包的资源预览图均为真实效果的预览图, 并且在使用 规则相同的情况下, 同一类资源包 (应用程序或数据包) 具有统一标准的预览图, 因此, 本公开实施例提供的方法能够客观真实、形式统一地获取资源包(包括应用程序或数据包) 的预览图, 由用户根据预览图的效果进行比较, 从而决定是否下载使用。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。 附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对现有技术或实施例描述中所需 要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例, 对于本领域技术人员来讲, 还可以如这些附图获得其他的附图。
图 1是本公开实施例提供的资源预览图的获取方法的示例性流程图;
图 2是本公开另一实施例提供的资源预览图的获取方法的示例性流程图;
图 3是本公开实施例提供的资源预览图的获取装置结构示意图;
图 4是本公开另一实施例提供的资源预览图的获取装置结构示意图; 图 5是本公开另一实施例提供的资源预览图的获取装置结构示意图;
图 6是本公开另一实施例提供的资源预览图的获取装置结构示意图。 具体实施方式
下面将结合本公开实施例中的附图, 对本公开实施例中的技术方案进行清楚、 完整地 描述, 显然, 所描述的实施例仅仅是本公开一部分实施例, 而不是全部的实施例。 基于本 公开中的实施例, 本领域技术人员所获得的所有其他实施例, 都属于本公开保护的范围。
请参阅附图 1, 是本公开实施例提供的资源预览图的获取方法流程示意图, 包括步骤 S101、 步骤 S102和步骤 S103, 包括:
5101、 应用预设的资源包。
5102、 根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果。
5103、将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实 际应用效果。
较佳地, 步骤 S101 , 采用如下方式:
获取预设的资源包, 并安装所述资源包。
较佳地, 所述预设规则包括:
对所述资源包中的预设的应用程序类资源模块,调用所述应用程序类资源模块对应的 应用程序, 对所述应用程序的显示界面进行截图;
对于所述资源包中的预设的非应用程序类资源模块,在预设界面上显示所述预设的非 应用程序类资源模块并截图。
较佳地, 步骤 S102, 采用如下方式:
获取所述资源包包含的资源模块;
判断所述资源模块是否为所述预设规则中预设的应用程序类资源模块或非应用程序 类资源模块;
若所述资源模块为所述预设规则中预设的应用程序类资源模块或非应用程序类资源 模块, 根据所述预设规则显示所述资源模块应用后的界面, 并对所述资源模块对应的界面 进行截图。
较佳地, 步骤 S 102之后, 所述方法还包括:
卸载所述资源包对应的应用。
较佳地, 步骤 S102, 可以采用如下方式:
将所述截图结果发送至服务器, 以便于所述服务器将所述截图结果作为所述资源包的 资源预览图提供给用户预览所述资源包的实际应用效果。
请参阅附图 2, 是本公开实施例提供的资源预览图的获取方法流程示意图, 在该实施 例中, 以获取主题的资源预览图为例进行说明, 包括步骤 S201、 步骤 S202、 步骤 S203 和步骤 S204, 且具体的应用场景为:
主题超市的服务商的管理员,对服务商或第三方发送至服务器上的主题类的资源包生 成资源预览图, 以提供给用户查看。
例如, 包括:
S201 , 预先为主题类的资源包建立获取预览图的预设规则。
在本公开实施例中, 建立获取预览图的预设规则, 可以采取如下方式:
首先可以将主题类的资源包中的模块划分为应用程序类资源模块和非应用程序类资 源模块, 然后, 按照这两类资源块本身的特性建立各自获取预览图的规则。
应用程序类资源模块, 是指需要调用操作系统的功能或终端中安装的 APP才可显示 的界面的模块, 表现为用户可见并且具有操作界面的模块, 例如, 安卓系统的通知栏、 桌 面、 短信、 拨号与联系人等。 而不需要调用操作系统的功能或终端中安装的 APP 即可显 示的模块都可以归为非应用程序类资源模块, 例如而桌面时钟、 桌面相框、 图标、 字体和 开机动画等由于对用户可见或者没有操作界面, 因此属于非应用程序类资源模块。
对于应用程序类资源模块, 作为本公开一个实施例, 可以将所述应用程序的操作界面 设置为所述应用程序类资源模块的可预览图。 例如, 对于 "短信"这一应用程序类资源模 块, 可以截取其中的 "短信会话列表页"和 "短信会话详情页"两个操作界面, 将所述两 个截图设置为 "短信"的可预览图。 这一规则建立后, 凡是以预览图形式呈现 "短信"类 资源模块效果时, 其预览图均取自上述两个操作界面的截图。
对于非应用程序类资源模块, 作为本公开一个实施例, 可以为所述非应用程序制定一 套生成所述非应用程序类资源模块的预览图的方法。由于非应用程序类资源模块没有操作 界面, 因此, 不能像应用程序类资源模块一样以操作界面的截图作为预览图, 但可以预置 一套生成预览图的方法。 优选地, 对非应用程序类资源模块获取资源预览图, 采用如下方 式:
获取主题资源包中的非应用程序类资源,并将非应用程序类资源以预设的方式显示在 预设界面上后进行截图, 作为资源预览图。
例如, 对于 "图标" 这一非应用程序类资源模块, 在生成预览图时, 可以将图标模 块中包含的以每页显示 16个图标的方式平铺在一幅画布上, 然后将平铺有图标的画布截 图为一张或数张图片, 所保存的图片可以作为 "图标"这一非应用程序类资源模块的预览 图。
作为一种优选的方式,所述为主题类的资源包建立获取预览图的规则可对主题类的资 源包通用, 在获取资源预览图之前, 制定该规则。 并且, 该规则可优选地实现为通过代码 写入到一配置文件中, 并将该配置文件保存到用于获取资源预览图的手机中。
S202, 应用预设的资源包。
较佳地, 预设的资源包可由用户指定, 或由开发人员预先设定。
优选地, 本步骤 S202可以为如下实现方式:
管理员将用于获取资源预览图的手机与服务器连接, 当管理员欲获取服务器上发布的 某个主题类的资源包的资源预览图时, 点击获取资源预览图, 服务器将该预设的资源包发 送给手机, 手机获取该资源包并安装到本地, 将所述需要获取资源预览图的主题包应用到 系统中。
作为步骤 S202的第二种实现方式, 还可以采用如下形式:
服务器直接在服务器本地安装并应用预设的资源包。
较佳地, 手机获取该资源包并安装到本地包括两种方式:
第一种方式, 手机主动由服务器下载该资源包到本地, 并进行安装;
第二种方式, 服务器主动将该资源包下发给手机, 手机获取该资源包。
S203 , 根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果。
优选地, 在预设规则中标记了哪些模块对应的界面需要进行截图, 标记的方式为, 在 预设规则的设置模块标识。 例如, 欲在预设规则中设置获取通知栏对应的界面, 则在预设 规则中记录通知栏对应的模块标识。
优选地, 本步骤 S203采用如下方式实现:
检测得到资源包中的全部模块;
判断每一个模块的模块标识是否被记录在预设规则中, 如果是, 则根据预设规则中规 定的对该模块获取资源预览图的方法进行截图, 得到该模块对应的截图结果。
在本公开一个实施例中, 可以先检测需要截图的资源包包含的资源模块, 然后, 若在 步骤 S201 中, 预先为每种资源模块建立获取预览图的规则时已建立所述资源包包含的资 源模块对应的预览图, 则可以直接将所述建立的预览图作为所述资源包对应的预览图。例
如, 需要截图的资源包包含 "短信"资源模块, 而预先为每种资源模块建立获取预览图的 规则时已建立 "短信"资源模块对应的预览图, 则直接将该预览图作为 "短信"资源模块 对应的预览图。 以前述实施例为例, "短信 "资源模块对应的预览图实际上就是 "短信会 话列表页"和 "短信会话详情页"两个操作界面。
在本公开另一个实施例中, 可以先检测需要截图的资源包包含的资源模块, 然后, 若 在步骤 S201 中, 预先为每种资源模块建立获取预览图的规则时没有建立所述资源包包含 的资源模块对应的预览图, 则为用户提供一些截图界面, 接收用户对所述提供的截图界面 的选择,将出现次数最多的截图界面或所述用户所选择的截图界面作为所述资源包对应的 预览图。
较佳地, 由于与服务器连接的手机只用于自动获取资源包的资源预览图, 为了避免安 装过多的主题对手机造成负担, 在本步骤 S203之后, 本方法还可以包括:
卸载已经完成资源预览图获取的资源包对应的主题。
S204、将所述截图结果发送至服务器, 以便于所述服务器将所述截图结果作为所述资 源包的资源预览图提供给用户进行所述资源包的实际效果的预览。
需要说明的是, 上述步骤 S201至步骤 S204是自动完成的, 因此, 预览图的生成效率 非常高。
较佳地, 将所述资源包的资源预览图发送至服务器包括至少两种情况:
第一种, 终端在完成资源预览图的获取后, 主动将获取得到的资源预览图发送给服务
TO 第二种, 终端在完成资源预览图的获取后, 将资源预览图存储在本地的预设路径, 服 务器使用时主动向终端索取资源预览图, 终端将资源预览图发送至服务器。
以步骤 S202的第二种实现方式, 则本步骤 S204可以被替换为:
服务器将截图结果作为所述资源包的资源预览图提供给用户进行所述资源包的实际 效果的预览。
以下以截取 Android系统的 "锁屏"应用程序的预览图为例, 说明本公开实施例提供 的方法。
首先, 选取截图界面, 即预先设置 Android解锁界面为预览图;
然后, 安装锁屏程序, 例如, 可预先自动安装好锁屏程序; 一般地, 锁屏程序安装完 成后就会自动启动, 若锁屏程序没有自动启动, 可通过设置菜单等打开该锁屏程序; 最后, 截取预览图, 可以通过程序告知系统锁屏并展示锁屏界面, 截图即可。
在本公开实施例中由于资源包的预览图可以通过预设规则在应用后通过截图获取,得 到的资源包的资源预览图均为真实效果的预览图, 并且在使用规则相同的情况下, 同一类 资源包(应用程序或数据包)具有统一标准的预览图, 因此, 本公开实施例提供的方法能 够客观真实、 形式统一地获取资源包(包括应用程序或数据包) 的预览图, 由用户根据预 览图的效果进行比较, 从而决定是否下载使用。
请参阅附图 3, 是本公开实施例提供的资源预览图的获取装置结构示意图。 为了便于 说明, 仅仅示出了与本公开实施例相关的部分。 附图 3示例的资源预览图的获取装置包括 规则应用模块 301、 截图模块 302和发送模块 303, 其中:
应用模块 301, 用于应用预设的资源包。
较佳地,包括两种实现方式:一、管理员将用于获取资源预览图的手机与服务器连接, 当管理员欲获取服务器上发布的某个主题类的资源包的资源预览图时,点击获取资源预览 图, 服务器将该需要获取资源预览图的资源包发送给手机, 应用模块 301获取该资源包并 安装到本地, 将所述需要获取资源预览图的主题包应用到系统中。 二、 服务器直接在服务 器本地安装并应用预设的资源包。
截图模块 302, 用于根据预设规则对所述资源包应用后的界面进行截图, 得到截图结 果。 优选地, 在预设规则中标记了哪些模块对应的界面需要进行截图, 标记的方式为, 在 预设规则的设置模块标识。 例如, 欲在预设规则中设置获取通知栏对应的界面, 则在预设 规则中记录通知栏对应的模块标识。截图模块 302检测得到资源包中的全部模块, 判断每 一个模块的模块标识是否被记录在预设规则中, 如果是, 则根据预设规则中规定的对该模 块获取资源预览图的方法进行截图, 得到该模块对应的资源预览图。 在一个实施例中, 截 图模块 302可以先检测需要截图的资源包包含的资源模块, 然后, 若预先为每种资源模块 建立获取预览图的规则时已建立所述资源包包含的资源模块对应的预览图,则可以直接将 所述建立的预览图作为所述资源包对应的预览图。 例如, 需要截图的资源包包含 "短信" 资源模块, 而预先为每种资源模块建立获取预览图的规则时已建立"短信"资源模块对应 的预览图, 则直接将该预览图作为 "短信"资源模块对应的预览图。 以前述实施例为例, "短信"资源模块对应的预览图实际上就是 "短信会话列表页"和 "短信会话详情页"两 个操作界面。
在另一个实施例中, 截图模块 302可以先检测需要截图的资源包包含的资源模块, 然 后,若预先为每种资源模块建立获取预览图的规则时没有建立所述资源包包含的资源模块 对应的预览图, 则为用户提供一些截图界面, 接收用户对所述提供的截图界面的选择, 将
出现次数最多的截图界面或所述用户所选择的截图界面作为所述资源包对应的预览图。 发送模块 303, 用于将所述截图结果作为所述资源包的资源预览图提供给用户预览所 述资源包的实际应用效果。
需要说明的是, 以上资源预览图的获取装置的实施方式中, 各功能模块的划分仅是举 例说明,实际应用中可以根据需要,例如相应硬件的配置要求或者软件的实现的便利考虑, 而将上述功能分配由不同的功能模块完成, 即将所述资源预览图的获取装置的内部结构划 分成不同的功能模块, 以完成以上描述的全部或者部分功能。 而且, 实际应用中, 本实施 例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行相应的软件完 成, 例如, 前述的截图模块, 可以是具有执行前述根据预设规则对所述资源包应用后的界 面进行截图得到所述资源包的资源预览图的硬件, 例如截图器, 也可以是能够执行相应计 算机程序从而完成前述功能的一般处理器或者其他硬件设备; 再如前述的发送至模块, 可 以是具有执行前述将所述资源包的资源预览图发送至服务器, 以便于所述服务器将所述资 源包的资源预览图提供给用户进行所述资源包的应用效果的预览功能的硬件, 例如上传 器,也可以是能够执行相应计算机程序从而完成前述功能的一般处理器或者其他硬件设备 (本说明书提供的各个实施例都可应用上述描述原则) 。
在附图 3示例的资源预览图的获取装置中, 建立获取预览图的预设规则, 可以采取如 下方式:首先可以将主题类的资源包中的模块划分为应用程序类资源模块和非应用程序类 资源模块, 然后, 按照这两类资源块本身的特性建立各自获取预览图的规则。 在本公开实 施例中, 应用程序类资源模块是指需要调用操作系统的功能或终端中安装的 APP才可显 示的界面的模块, 表现为用户可见并且具有操作界面的模块, 例如, 安卓系统的通知栏、 桌面、 短信、 拨号与联系人等。 而不需要调用操作系统的功能或终端中安装的 APP 即可 显示的模块都可以归为非应用程序类资源模块, 例如而桌面时钟、 桌面相框、 图标、 字体 和开机动画等由于对用户可见或者没有操作界面, 因此属于非应用程序类资源模块。
对于应用程序类资源模块,可以将所述应用程序的操作界面设置为所述应用程序类资 源模块的可预览图。 例如, 对于 "短信"这一应用程序类资源模块, 可以截取其中的 "短 信会话列表页"和 "短信会话详情页"两个操作界面, 将所述两个截图设置为 "短信"的 可预览图。 这一规则建立后, 凡是以预览图形式呈现 "短信"类资源模块效果时, 其预览 图均取自上述两个操作界面的截图。
对于非应用程序类资源模块, 作为本公开一个实施例, 可以为所述非应用程序制定一 套生成所述非应用程序类资源模块的预览图的方法。由于非应用程序类资源模块没有操作
界面, 因此, 不能像应用程序类资源模块一样以操作界面的截图作为预览图, 但可以预置 一套生成预览图的方法。 优选地, 对非应用程序类资源模块获取资源预览图, 采用如下方 式: 获取主题资源包中的非应用程序类资源, 并将非应用程序类资源以预设的方式显示在 预设界面上后进行截图, 作为资源预览图。 例如, 对于 "图标" 这一非应用程序类资源 模块, 在生成预览图时, 可以将图标模块中包含的以每页显示 16个图标的方式平铺在一 幅画布上, 然后将平铺有图标的画布截图为一张或数张图片, 所保存的图片可以作为 "图 标"这一非应用程序类资源模块的预览图。 作为一种优选的方式, 所述为主题类的资源包 建立获取预览图的规则可对主题类的资源包通用, 在获取资源预览图之前, 制定该规则。 并且, 该规则可优选地实现为通过代码写入到一配置文件中, 并将该配置文件保存到用于 获取资源预览图的手机中。
附图 3示例的应用模块 301可以包括获取安装单元 401, 如附图 4所示本公开另一实 施例提供的资源预览图的获取装置。获取安装单元 401用于将需要获取资源预览图的资源 包, 并安装所述资源包。
附图 4示例的截图模块 302可以包括获取单元 501、 判断单元 502和预览图处理单元 503, 如附图 5所示本公开另一实施例提供的资源预览图的获取装置, 其中:
获取单元 501, 用于获取所述资源包包含的资源模块;
判断单元 502, 用于判断所述资源模块是否为所述预设规则中预设的应用程序类资源 模块或非应用程序类资源模块;
预览图处理单元 503, 用于若所述资源模块为所述预设规则中预设的应用程序类资源 模块或非应用程序类资源模块, 根据所述预设规则显示所述资源模块对应的界面, 并对所 述资源模块对应的界面进行截图。
附图 3示例的资源预览图的获取装置还可以包括卸载模块 601, 如附图 6所示本公开 另一实施例提供的资源预览图的获取装置卸载模块 601用于卸载资源包对应的应用。
需要说明的是, 上述装置各模块 /单元之间的信息交互、 执行过程等内容, 由于与本 公开方法实施例基于同一构思, 其带来的技术效果与本公开方法实施例相同, 具体内容可 参见本公开方法实施例中的叙述, 此处不再赘述。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通 过程序来指令相关的硬件来完成, 比如以下各种方法的一种或多种或全部:
应用预设的资源包;
根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果;
将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应 用效果。
本公开实施例还提供了一种设备, 所述设备包括:
一个或多个处理器;
存储器; 和
一个或多个模块 (programs ) , 所述一个或多个模块存储于所述存储器中并被配置成 由所述一个或多个处理器执行, 其中, 所述一个或多个模块具有如下功能:
应用预设的资源包;
根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果;
将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应 用效果。
较佳地, 所述应用预设的资源包, 包括:
获取预设的资源包, 并安装所述资源包。
较佳地, 所述预设规则包括:
对所述资源包中的预设的应用程序类资源模块,调用所述应用程序类资源模块对应的 应用程序, 对所述应用程序的显示界面进行截图;
对所述资源包中的预设的非应用程序类资源模块,在预设界面上显示所述预设的非应 用程序类资源模块并截图。
较佳地, 所述根据预设规则对所述资源包应用后的界面进行截图, 包括: 获取所述资源包包含的资源模块;
判断所述资源模块是否为所述预设规则中预设的应用程序类资源模块或非应用程序 类资源模块;
若所述资源模块为所述预设规则中预设的应用程序类资源模块或非应用程序类资源 模块, 根据所述预设规则显示所述资源模块应用后的界面, 并对所述资源模块对应的界面 进行截图。
优选地, 所述一个或多个模块还可以包括如下功能:
在所述得到截图结果之后, 卸载所述资源包对应的应用。
所述将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实 际应用效果, 采用如下方式:
将所述截图结果发送至服务器, 以便于所述服务器将所述截图结果作为所述资源包的
资源预览图提供给用户预览所述资源包的实际应用效果。
本公开实施例还提供了一种非易失性可读存储介质,该存储介质中存储有一个或多个 模块 (programs) , 该一个或多个模块被应用在具有一个或多个处理器的设备时, 可以使 得该设备执行如下步骤的指令 (instructions) :
应用预设的资源包;
根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果;
将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应 用效果。
较佳地, 所述应用预设的资源包, 包括:
获取预设的资源包, 并安装所述资源包。
较佳地, 所述预设规则包括:
对所述资源包中的预设的应用程序类资源模块,调用所述应用程序类资源模块对应的 应用程序, 对所述应用程序的显示界面进行截图;
对所述资源包中的预设的非应用程序类资源模块,在预设界面上显示所述预设的非应 用程序类资源模块并截图。
较佳地, 所述根据预设规则对所述资源包应用后的界面进行截图, 包括: 获取所述资源包包含的资源模块;
判断所述资源模块是否为所述预设规则中预设的应用程序类资源模块或非应用程序 类资源模块;
若所述资源模块为所述预设规则中预设的应用程序类资源模块或非应用程序类资源 模块, 根据所述预设规则显示所述资源模块应用后的界面, 并对所述资源模块对应的界面 进行截图。
优选地, 所述一个或多个模块还可以使得该设备执行如下步骤的指令:
在所述得到截图结果之后, 卸载所述资源包对应的应用。
所述将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实 际应用效果, 采用如下方式:
将所述截图结果发送至服务器, 以便于所述服务器将所述截图结果作为所述资源包的 资源预览图提供给用户预览所述资源包的实际应用效果。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通 过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可读存储介质中, 存储介质
可以包括:只读存储器(Read Only Memory,简称 ROM )、随机存取存储器(Random Access Memory , 简称 RAM) 、 磁盘或光盘等。
以上对本公开实施例提供的资源预览图的获取方法、装置以及一种移动终端进行了详 细介绍, 本文中应用了具体个例对本公开的原理及实施方式进行了阐述, 以上实施例的说 明只是用于帮助理解本公开的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依 据本公开的思想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明书内 容不应理解为对本公开的限制。
Claims
1、 一种资源预览图的获取方法, 其特征在于, 所述方法包括:
应用预设的资源包;
根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果;
将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应 用效果。
2、 如权利要求 1所述的方法, 其特征在于, 所述应用预设的资源包, 采用如下方式: 获取预设的资源包, 并安装所述资源包。
3、 如权利要求 1所述的方法, 其特征在于, 所述预设规则包括:
对所述资源包中的预设的应用程序类资源模块,调用所述应用程序类资源模块对应的 应用程序, 对所述应用程序的显示界面进行截图;
对所述资源包中的预设的非应用程序类资源模块,在预设界面上显示所述预设的非应 用程序类资源模块并截图。
4、 如权利要求 2所述的方法, 其特征在于, 所述根据预设规则对所述资源包应用后 的界面进行截图, 采用如下方式:
获取所述资源包包含的资源模块;
判断所述资源模块是否为所述预设规则中预设的应用程序类资源模块或非应用程序 类资源模块;
若所述资源模块为所述预设规则中预设的应用程序类资源模块或非应用程序类资源 模块, 根据所述预设规则显示所述资源模块应用后的界面, 并对所述资源模块对应的界面 进行截图。
5、 如权利要求 1所述的方法, 其特征在于, 所述得到截图结果之后, 所述方法还包 括:
卸载所述资源包对应的应用。
6、 如权利要求 1所述的方法, 其特征在于, 所述将所述截图结果作为所述资源包的 资源预览图提供给用户预览所述资源包的实际应用效果, 采用如下方式:
将所述截图结果发送至服务器, 以便于所述服务器将所述截图结果作为所述资源包的 资源预览图提供给用户预览所述资源包的实际应用效果。
7、 一种资源预览图的获取装置, 其特征在于, 所述装置包括:
应用模块, 用于应用预设的资源包;
截图模块, 用于根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果; 发送模块,用于将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资 源包的实际应用效果。
8、 如权利要求 7所述的装置, 其特征在于, 所述应用模块包括:
获取安装单元, 用于获取预设的资源包, 并安装所述资源包。
9、 如权利要求 7所述的装置, 其特征在于, 所述预设规则包括:
对所述资源包中的预设的应用程序类资源模块,调用所述应用程序类资源模块对应的 应用程序, 对所述应用程序的显示界面进行截图;
对所述资源包中的预设的非应用程序类资源模块,在预设界面上显示所述预设的非应 用程序类资源模块并截图。
10、 如权利要求 8所述的装置, 其特征在于, 所述截图模块包括:
获取单元, 用于获取所述资源包包含的资源模块;
判断单元,用于判断所述资源模块是否为所述预设规则中预设的应用程序类资源模块 或非应用程序类资源模块;
预览图处理单元,用于若所述资源模块为所述预设规则中预设的应用程序类资源模块 或非应用程序类资源模块, 根据所述预设规则显示所述资源模块应用后的界面, 并对所述 资源模块对应的界面进行截图。
11、 如权利要求 7所述的装置, 其特征在于, 所述装置还包括:
卸载模块, 用于在得到截图结果之后, 卸载所述资源包对应的应用。
12、 如权利要求 7所述的装置, 其特征在于, 所述截图模块, 用于将所述截图结果发 送至服务器, 以便于所述服务器将所述截图结果作为所述资源包的资源预览图提供给用户 预览所述资源包的实际应用效果。
13、 一种设备, 其特征在于, 所述设备包括:
一个或多个处理器;
存储器; 和
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或 多个处理器执行, 其中, 所述一个或多个模块具有如下功能:
应用预设的资源包;
根据预设规则对所述资源包应用后的界面进行截图, 得到截图结果;
将所述截图结果作为所述资源包的资源预览图提供给用户预览所述资源包的实际应
用效果。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210422240.1 | 2012-10-29 | ||
| CN201210422240.1A CN102968244B (zh) | 2012-10-29 | 2012-10-29 | 资源预览图的获取方法、装置以及设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014067368A1 true WO2014067368A1 (zh) | 2014-05-08 |
Family
ID=47798414
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/083993 Ceased WO2014067368A1 (zh) | 2012-10-29 | 2013-09-23 | 资源预览图的获取方法、装置以及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102968244B (zh) |
| WO (1) | WO2014067368A1 (zh) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102968244B (zh) * | 2012-10-29 | 2016-03-30 | 小米科技有限责任公司 | 资源预览图的获取方法、装置以及设备 |
| CN108804188A (zh) * | 2018-05-30 | 2018-11-13 | 珠海市君天电子科技有限公司 | 界面换肤方法及装置 |
| CN109274828B (zh) * | 2018-09-30 | 2021-01-15 | 华为技术有限公司 | 一种生成截图的方法、控制方法及电子设备 |
| CN111984173B (zh) * | 2020-07-17 | 2022-03-25 | 维沃移动通信有限公司 | 表情包生成方法和装置 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010028363A1 (en) * | 2000-04-10 | 2001-10-11 | Mitsubishi Corporation And Starnet Co., Ltd. | Method for receiving and managing electronic files and file-managing device used therefor |
| CN101068235A (zh) * | 2006-08-18 | 2007-11-07 | 腾讯科技(深圳)有限公司 | 一种视频节目的预览方法及系统 |
| CN101174205A (zh) * | 2007-09-21 | 2008-05-07 | 上海陆行鲨信息科技有限公司 | 一种让用户使用网站制作手机电子书、图册、游戏的方法 |
| CN101321000A (zh) * | 2008-07-21 | 2008-12-10 | 成都移网传媒科技有限责任公司 | 手机蓝牙触摸屏交互系统及方法 |
| CN102509256A (zh) * | 2011-11-17 | 2012-06-20 | 厦门游家网络有限公司 | 一种Flash小游戏批量添加截图的方法及装置 |
| CN102968244A (zh) * | 2012-10-29 | 2013-03-13 | 北京小米科技有限责任公司 | 资源预览图的获取方法、装置以及设备 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4693664B2 (ja) * | 2006-03-13 | 2011-06-01 | キヤノン株式会社 | プリンタ装置及びプログラムと印刷方法 |
| CN101304438B (zh) * | 2008-06-18 | 2010-12-01 | 腾讯科技(深圳)有限公司 | 一种手机主题的传输处理方法和系统 |
| JP4881983B2 (ja) * | 2009-08-26 | 2012-02-22 | シャープ株式会社 | 印刷制御プログラムおよび印刷制御方法 |
-
2012
- 2012-10-29 CN CN201210422240.1A patent/CN102968244B/zh active Active
-
2013
- 2013-09-23 WO PCT/CN2013/083993 patent/WO2014067368A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010028363A1 (en) * | 2000-04-10 | 2001-10-11 | Mitsubishi Corporation And Starnet Co., Ltd. | Method for receiving and managing electronic files and file-managing device used therefor |
| CN101068235A (zh) * | 2006-08-18 | 2007-11-07 | 腾讯科技(深圳)有限公司 | 一种视频节目的预览方法及系统 |
| CN101174205A (zh) * | 2007-09-21 | 2008-05-07 | 上海陆行鲨信息科技有限公司 | 一种让用户使用网站制作手机电子书、图册、游戏的方法 |
| CN101321000A (zh) * | 2008-07-21 | 2008-12-10 | 成都移网传媒科技有限责任公司 | 手机蓝牙触摸屏交互系统及方法 |
| CN102509256A (zh) * | 2011-11-17 | 2012-06-20 | 厦门游家网络有限公司 | 一种Flash小游戏批量添加截图的方法及装置 |
| CN102968244A (zh) * | 2012-10-29 | 2013-03-13 | 北京小米科技有限责任公司 | 资源预览图的获取方法、装置以及设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102968244A (zh) | 2013-03-13 |
| CN102968244B (zh) | 2016-03-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110780930B (zh) | 启动Android系统的方法、装置、电子设备及存储介质 | |
| TWI640922B (zh) | Method and device for providing application information in mobile terminal devices | |
| US10852912B2 (en) | Image creation app in messaging app | |
| CN104699616B (zh) | 一种应用测试的方法、装置及系统 | |
| US10194288B2 (en) | Sticker distribution system for messaging apps | |
| CN102017673B (zh) | 在用户终端和智能卡之间执行窗件的交互工作系统及其方法 | |
| CN103746782B (zh) | 获取应用的反馈信息的方法和装置 | |
| CN110968331B (zh) | 应用程序运行的方法和装置 | |
| WO2019071618A1 (zh) | 一种图像处理方法及设备 | |
| CN106951371B (zh) | 一种基于依赖注入的安卓应用半自动化测试方法 | |
| JP2019513260A (ja) | サービス実行方法及びデバイス | |
| CN104750487A (zh) | 一种移动终端app的开发方法及启动方法 | |
| WO2014015732A1 (zh) | 一种终端能力描述信息的生成方法及系统 | |
| CN108174255A (zh) | 智能电视开机方法、智能电视及计算机可读存储介质 | |
| CN110865837A (zh) | 一种进行系统升级的方法和终端 | |
| US10585565B2 (en) | Information processing apparatus, information processing method and storage medium for authenticating user login and screen customization | |
| CN102902560A (zh) | 应用程序的下载方法及系统 | |
| WO2014067368A1 (zh) | 资源预览图的获取方法、装置以及设备 | |
| CN111427594A (zh) | 应用程序运行方法及装置 | |
| WO2016070690A1 (zh) | 实现终端设备上的网页和应用间通信的方法、装置和系统 | |
| CN106383765A (zh) | 一种数据监控方法及装置 | |
| WO2022237826A1 (zh) | 用户界面的测试方法、系统、集群、介质及程序产品 | |
| CN106445479A (zh) | 信息推送方法及装置 | |
| CN108959553A (zh) | 一种url更新方法、装置及电子设备 | |
| CN115698988A (zh) | 用于经由远程浏览器实例查看不兼容网页的系统和方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13851136 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13851136 Country of ref document: EP Kind code of ref document: A1 |