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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com