Method and device for generating widget

A technology of widgets and fragments, applied in the field of network applications, can solve the problems of high development cost, high threshold for programming development, and limited types of widgets, and achieve the effect of satisfying user needs and rich data content.

Inactive Publication Date: 2011-06-15
HUAWEI TECH CO LTD +1
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Programming-style development has a high threshold, users without programming experience cannot participate, and the development cost is relatively high. In addition, because developers are limited to those with programming experience, the types of widgets developed are limited; while for web pages For widgets generated by extractive methods, if the webpage where the user defines the content of interest is called the original webpage, the content of the generated widget only depends on the content of the original webpage. Since the content of the original webpage is limited, it will cause the webpage Extractively generated widgets have limited functionality

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for generating widget
  • Method and device for generating widget
  • Method and device for generating widget

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] see figure 1 , this embodiment provides a method for generating widgets, the specific process is as follows:

[0030] 101: Create attribute information of the data to be acquired according to the webpage specified by the user and the page fragment marked on the webpage;

[0031] 102: Acquire structured data according to the created attribute information of the data to be acquired;

[0032] 103: Transform the acquired structured data into visual content.

[0033] To sum up, the method provided by this embodiment creates the attribute information of the data to be acquired, and obtains the structured data according to the created attribute information, so that the content of the acquired data is rich, and because the attribute information of the data to be acquired is based on Therefore, users can directly participate in the process of generating widgets, which can satisfy diverse user needs as much as possible.

Embodiment 2

[0035] This embodiment provides a method for generating widgets. The method detects the user's action of marking the page fragments of the webpage, and obtains reusable structured data according to the page fragments marked by the user, thereby generating the widgets. see figure 2 , the method flow provided by this embodiment is specifically as follows:

[0036] 201: Create attribute information of the data to be acquired according to the webpage specified by the user and the page fragment marked on the webpage;

[0037] For this step, in order to be able to generate widgets that meet the needs of users, the method provided by this embodiment adopts the method of direct participation by users, that is, the user specifies a webpage, and after loading the webpage specified by the user, the user According to the user's preference and operation level, choose to create simple or complex attribute information of the data to be obtained in different ways. The attribute information...

Embodiment 3

[0062] see image 3 , this embodiment provides an apparatus for generating widgets, the apparatus comprising:

[0063] The creation module 301 is used to create attribute information of the data to be acquired according to the webpage specified by the user and the page fragment marked on the webpage;

[0064] An acquisition module 302, configured to acquire structured data according to the attribute information of the data to be acquired created by the creation module 301;

[0065] The conversion module 303 is configured to convert the structured data acquired by the acquisition module 302 into visual content.

[0066] Among them, see Figure 4 , when the user creates simple attribute information of the data to be acquired, the creating module 301 specifically includes:

[0067] The first acquiring unit 301a is configured to load the webpage specified by the user, and after detecting that the user marks the page fragment of the webpage, obtain the path information correspon...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for generating a widget, which belong to the technical field of network application. The method comprises the following steps of: establishing attribute information of data to be acquired according to a webpage specified by a user and a page fragment marked on the webpage; acquiring structured data according to the established attribute information of the data to be acquired; and converting the acquired structured data into visible contents. The device comprises an establishing module, an acquisition module and a conversion module. The attribute information of the data to be acquired is established and the structured data is acquired according to the established attribute information, so that the acquired data has rich contents; moreover, the attribute information of the data to be acquired is established according to the webpage specified by the user, so that the user can directly participate in a widget generating process and the effect of meeting diversified user requirements is achieved.

Description

technical field [0001] The invention relates to the technical field of network applications, in particular to a method and device for generating widgets. Background technique [0002] A widget (Widget) is a small utility program that can run on a computer or a mobile phone, and generally combines with the network to provide users with functions such as weather, news, and reminders. With the popularization of the Internet, the application of widgets is becoming more and more extensive, and there are more and more types, and the market prospect is broad. [0003] There are currently two ways to generate widgets: program design and web page extraction. Among them, the program design method means that when developing a widget, it is necessary to download the SDK (Software Development Kit, software development kit) provided by it first, and carry out similar to traditional software development, and the developer needs to have certain programming experience. The webpage extracti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F17/30905G06F9/4443G06F9/451G06F16/9577
Inventor 张杰符海芳季光王桂玲
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products