Supercharge Your Innovation With Domain-Expert AI Agents!

Screenshot method and device based on Weex page, apparatus and storage medium

A page and current page technology, applied in the field of information processing, can solve problems such as high complexity, no good solution, complex business logic on the server side, etc., and achieve the effect of reducing complexity

Active Publication Date: 2021-09-24
深圳市活力天汇科技股份有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because Weex official does not provide corresponding Api and solutions, there is currently no good solution for pages written using weex. Front-end generation, but server-side generation, can neither guarantee that the generated pictures are the same as those displayed on the front-end, but also make the business logic on the server-side more complicated and increase the difficulty of development

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
  • Screenshot method and device based on Weex page, apparatus and storage medium
  • Screenshot method and device based on Weex page, apparatus and storage medium
  • Screenshot method and device based on Weex page, apparatus and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0023] The screenshot method based on the Weex page provided by the present invention is applied to mobile terminals of the iOS system, such as smart phones, tablet computers, etc., such as figure 1 shown, including the following steps:

[0024] S1: Get the screenshot instruction of Weex page:.

[0025] S2: Recursively traverse the component tree of the Weex page, and obtain the target component with the same wx_ref attribute from the component tree. ...

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 screenshot method and device based on a Weex page, an apparatus and a storage medium. The screenshot method based on the Weex page comprises the steps of obtaining a screenshot instruction of the Weex page; recursively traversing a component tree of the Weex page, and acquiring a target component with the same attribute as the wx_ref from the component tree; and calling a system method to render the target component into a target picture. According to the technical scheme, the screenshot of a full screen of the Weex page, the local screenshot of a specified component display area of the Weex page and the long screenshot of the Weex page can be obtained.

Description

technical field [0001] The present invention relates to the field of information processing, in particular to a screenshot method, device, equipment and storage medium based on Weex pages. Background technique [0002] With more and more functions undertaken by App applications, increasingly complex business, and subject to iOS native development review, most developers have begun to transform to use cross-terminal dynamic development frameworks, and Weex is one of the very good ones. Frames, too, are becoming more and more popular. [0003] When users use the app, they often need to use the function of sharing screenshots to other apps, and these scenarios require the ability to obtain partial screenshots or long pictures of the interface. However, because Weex official does not provide corresponding Api and solutions, there is currently no good solution for pages written using weex. Front-end generation, but server-side generation, can neither guarantee that the generate...

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
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 陈林茂薛锐
Owner 深圳市活力天汇科技股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More