CN112765526B - Page screenshot method and device, terminal equipment and medium - Google Patents

Page screenshot method and device, terminal equipment and medium Download PDF

Info

Publication number
CN112765526B
CN112765526B CN202110161282.3A CN202110161282A CN112765526B CN 112765526 B CN112765526 B CN 112765526B CN 202110161282 A CN202110161282 A CN 202110161282A CN 112765526 B CN112765526 B CN 112765526B
Authority
CN
China
Prior art keywords
view
screenshot
page
user
native
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.)
Active
Application number
CN202110161282.3A
Other languages
Chinese (zh)
Other versions
CN112765526A (en
Inventor
高岩
郭波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110161282.3A priority Critical patent/CN112765526B/en
Publication of CN112765526A publication Critical patent/CN112765526A/en
Application granted granted Critical
Publication of CN112765526B publication Critical patent/CN112765526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a page screenshot method, a page screenshot device, terminal equipment and a medium, wherein the method comprises the following steps: displaying a user view comprising a native view in a target page of the hybrid application, and performing screenshot processing on the target page to obtain and display a screenshot view corresponding to the user view, wherein the content contained in the screenshot view is different from the content contained in the user view. By implementing the embodiment of the application, the dynamic screenshot of the native view can be efficiently realized. By implementing the embodiment of the application, the dynamic screenshot of the navigation page can be efficiently realized.

Description

Page screenshot method and device, terminal equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a page screenshot method, a page screenshot apparatus, a terminal device, and a computer storage medium.
Background
With the development of mobile internet technology and the popularization of intelligent mobile devices, the importance of mobile internet in life is more and more obvious, and the development of mobile application programs is more and more important. The current development modes of mobile applications mainly include: native app (native application) development, WebApp (web application) development, and hybirdap (hybrid application). The HybirdApp is between a native App and a WebApp, has the advantages of good user experience of the native App and the advantages of cross-platform development of the WebApp, and becomes a mobile application development mode favored by various large enterprises in recent years.
In the use process of the mobile application program, a screenshot scene is usually involved, and the screenshot can be divided into a physical screenshot and a system screenshot. The physical screenshot is a screenshot performed through a physical key of the terminal device, and is usually a static screenshot mode, that is, the screenshot obtained by intercepting the user view is the same as the user view. The system screenshot is a screenshot performed by a mobile application program, and is usually a dynamic screenshot mode, that is, a screenshot obtained by intercepting a user view may be different from the user view.
At present, dynamic screenshot is usually realized by using an open source library Html2canvas, but the Html2canvas is converted based on a WebView UI (web view), for a Hybrid App, the Hybrid App can call the capability of a Native end to display a Native UI (Native view), and the Html2canvas cannot perform screenshot on the Native UI.
According to the above contents, how to capture the Native UI under the capture scene of the Hybrid App becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a page screenshot method, a page screenshot device, terminal equipment and a page screenshot medium, which can efficiently realize dynamic screenshot of a native view.
In one aspect, an embodiment of the present application provides a page screenshot method, including:
displaying a user view in a target page of a hybrid application, the user view comprising a native view;
screenshot processing is carried out on the target page, and a screenshot view corresponding to the user view is obtained;
displaying the screen capture view, the content contained in the screen capture view differing from the content contained in the user view.
On the other hand, an embodiment of the present application provides a page screenshot device, where the page screenshot device includes:
a display unit for displaying a user view in a target page of a hybrid application, the user view including a native view;
the processing unit is used for carrying out screenshot processing on the target page to obtain a screenshot view corresponding to the user view;
the display unit is further configured to display the screen capture view, where content included in the screen capture view is different from content included in the user view.
Correspondingly, the embodiment of the application also provides a terminal device, which comprises an output device, a processor and a storage device; storage means for storing program instructions; and the processor is used for calling the program instruction and executing the page screenshot method.
Correspondingly, the embodiment of the application also provides a computer storage medium, wherein the computer storage medium stores program instructions, and the program instructions are used for realizing the page screenshot method when being executed.
Accordingly, according to an aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the page screenshot method provided above.
The terminal device can display the user view comprising the original view in the target page of the hybrid application, and perform screenshot processing on the target page to obtain and display the screenshot view corresponding to the user view, wherein the content contained in the screenshot view is different from the content contained in the user view. By implementing the embodiment of the application, the dynamic screenshot of the native view can be efficiently realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a page screenshot method provided in an embodiment of the present application;
fig. 2a is a scene schematic diagram of a page screenshot provided in an embodiment of the present application;
FIG. 2b is a schematic view of another page screenshot provided in the embodiment of the present application;
fig. 2c is a scene schematic diagram of another page screenshot provided in the embodiment of the present application;
FIG. 2d is a schematic view of a scene of still another screenshot of a page provided in an embodiment of the present application;
FIG. 2e is a schematic page diagram illustrating a screenshot provided in an embodiment of the present application;
fig. 3a is a schematic view of a scene of still another screenshot of a page provided in an embodiment of the present application;
FIG. 3b is a schematic view of a scene of still another screenshot of a page provided in an embodiment of the present application;
FIG. 4 is a schematic flowchart of another page screenshot method provided in the present application;
FIG. 5 is a schematic flowchart of yet another page screenshot method provided in the present application;
fig. 6 is a schematic structural diagram of a page screenshot device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to efficiently implement dynamic screenshot of a native view in a screenshot scenario for a hybrid application, an embodiment of the present application provides a page screenshot method, where the page screenshot method is executable by a terminal device running a hybrid application, the hybrid application includes a map application (e.g., flight map), an application associated with the map application (e.g., taxi taking application), a multimedia application, and the like, the multimedia application includes a music application (e.g., QQ music) and a video application (e.g., flight video), and the terminal device herein may be any one of the following: portable devices such as smart phones, tablets, laptops, etc., and desktop computers, etc.
Referring to fig. 1, an embodiment of the present application provides a page screenshot method, where a processing flow of the page screenshot method may include the following steps:
s10: a user view is displayed in a destination page of the hybrid application, the user view including a native view. The target page can be any page with screenshot requirement in the use process of the hybrid application. For example, the target application is a map application, the target page may be a navigation page (e.g., a navigation end page, a navigation planning page, a navigation start page, etc.), and when the user wants to share a route, the terminal device may be triggered to perform the following step S11 through the navigation page, where the navigation page is a page where a screenshot requirement exists.
For another example, the target application is a video playing application, the target page may be a video playing page, and when the user wants to share the video currently being played, the terminal device may be triggered to execute the following step S11 through the video playing page, where the video playing page is a page with a screen capture requirement.
In one embodiment, assuming that the hybrid application in step S10 may be a map application, the target page may be a navigation page, and the terminal device may display a user view corresponding to the map application in the navigation page, where the user view includes a native view, and the native view includes a map area, and the map area displays route information of the current navigation and a map base (for example, the map area here may refer to the map areas shown in fig. 2a to 2 c). The navigation page may include a navigation end page, a navigation plan page, a navigation start page, and the like.
In one embodiment, the navigation page is assumed to be a navigation end page, and the navigation end page is triggered to be displayed when the end of the current navigation is detected. Specifically, the map application provided by the embodiment of the present application may support multiple navigation modes, for example: driving navigation, walking navigation, riding navigation, and the like. Taking the driving navigation mode as an example, the user may input the start point and the end point of the current navigation through the map application, plan the driving navigation route, and travel along the planned driving navigation route. Subsequently, when the terminal device detects that the current navigation is finished, a navigation end page corresponding to the map application may be displayed, where a user view displayed on the navigation end page includes a web page view and the native view, and the web page view includes any one or more of the following: the title bar comprises a view sharing button, and the code table area comprises navigation record information.
The navigation record information may include any one or more of the following: and the total driving mileage, the total driving duration, the average driving speed and the highest driving speed corresponding to the current navigation. Illustratively, the navigation end page may be as shown in the left diagram of fig. 2 a.
Alternatively, in another embodiment, the navigation page may be a navigation plan page, and the route information of the current navigation may include a start point and an end point of the navigation plan route corresponding to the current navigation. Illustratively, the navigation plan page may be as shown in fig. 2b and 2 c.
In one embodiment, it is assumed that the hybrid application in step S10 is a multimedia application, the multimedia application may be a video playing application and a music playing application, and the target page may be a multimedia playing page displayed with a user view, and the native view in the user view includes a playing area, and the playing area displays a playing area base map and multimedia information of a currently playing multimedia file. Exemplarily, assuming that the multimedia application is a video playing application, the multimedia playing page may be as shown in the left diagram of fig. 2 d.
S11: and performing screenshot processing on the target page to obtain a screenshot view corresponding to the user view.
S12: and displaying a screen capture view, wherein the content contained in the screen capture view is different from the content contained in the user view.
In a specific implementation, the user view in step S10 further includes a view sharing button, and after the user views the target page of the hybrid application, if a sharing appeal for a target resource (e.g., a trip, a video, music, etc.) corresponding to the target page exists, a trigger operation may be input for the view sharing button. When the terminal device detects a trigger operation (which can be understood as a screen capture trigger operation) for the view sharing button, screen capture processing can be performed on the target page, so that a screen capture view corresponding to the user view is obtained. The triggering operation may be operations such as clicking, pressing, sliding, and voice for the view sharing button, which is not limited specifically.
Wherein, the screen capture view comprises any one or more of the following: downloading a guidance image and a guidance attention image, the downloading of the guidance image for triggering downloading of the hybrid application may include, for example: a two-dimensional code for downloading the hybrid application; the guidance attention image is used for triggering the association relationship with the target object, for example, an organization, a business, a person or a business, and the association relationship with the target object may be: paying attention to the public number of the target object, adding the target object as a conversation contact person and the like; the guiding of the object of interest may for example comprise: the two-dimensional code is used for adding the two-dimensional code of which the target object is a WeChat friend, the two-dimensional code of the WeChat public number of the concerned target object and the like.
In one embodiment, assuming that the hybrid application is a mapping application and the target page is a navigation end page, as shown in fig. 2a, the navigation end page includes a view sharing button 20. Specifically, when the current navigation is finished and the user wants to share the current navigation route, the view sharing button 20 may be clicked, further, the terminal device may respond to the click of the user on the view sharing button 20, perform screenshot processing on the navigation end page, obtain and display a screenshot view corresponding to the user view, where the screenshot view may include a map area, a code table area, and a target download guidance image, the target download guidance image is used to trigger downloading of the map application, the target download guidance image may include, for example, a two-dimensional code for downloading the map application, and any user may identify the two-dimensional code through the terminal device itself to quickly download the map application.
As can be seen from fig. 2a, the content contained in the user view is different from the content contained in the screenshot video, specifically, the left image in fig. 2a is the user view (i.e. the interface the user sees), and the user view is split into: title bar (return button, view sharing button 20), map area (route, start and end point, map base map), code table area (containing user real-time data (i.e. navigation record information of current navigation)), and score area (capable of generating interaction with user). The right image in fig. 2a is a screen capture view, that is, a picture obtained by a user triggering screen capture is the same as the user view in that the map area and the code table area are unchanged, the bottom is replaced with a download area displaying the target download guide image, and the title bar is removed.
In another embodiment, assuming that the hybrid application is a mapping application and the target page is a navigation plan page, the route information of the current navigation includes a start point and an end point of the navigation plan route corresponding to the current navigation. In this case, when the terminal device detects a sharing operation of a target endpoint for the navigation planning route, screenshot processing is performed on the navigation planning page to obtain a screenshot view corresponding to the user view, the screenshot view includes a guidance attention image of a target object corresponding to the target endpoint, and the target endpoint is any one of the starting point or the end point. Or, in an embodiment, in combination with an actual service requirement, the screenshot here may include a guidance attention image of the target object corresponding to the target endpoint, and may also include a target download guidance image, which is not specifically limited.
For example, referring to fig. 2b, when the starting point of the navigation planning route corresponding to the current navigation is "ten thousand street XX", and the ending point is "kendiry (eight trigrams ridge shop)", and after the user views the navigation planning page, if the user wants to share the public number of the end point corresponding to the merchant "kendir (eight trigrams ridge shop)", the user may press the image area where the end point is located for a long time, and trigger and display the object sharing button 21 corresponding to the end point. Further, the user clicks the object sharing button 21, the terminal device responds to the click of the user on the object sharing button 21, and performs screenshot processing on the navigation planning page to obtain and display a screenshot view corresponding to the user view, where the screenshot view includes the guidance attention image 22.
As can be seen from fig. 2b, the image 22 of interest guide may include, for example, a two-dimensional code corresponding to the public number of the merchant "kendiry (eight diagrams ridge shop)", and any user may establish an association relationship with the merchant "kendiry (eight diagrams ridge shop)" by recognizing the public number of the merchant "kendiry (eight diagrams ridge shop)", which is the merchant concerned by the two-dimensional code. As can be seen from the above, the end point in this example is the target end point, the merchant "kendiry (eight diagrams mountain shop)" is the target object, and the clicking operation input by the user on the object sharing button 21 is the sharing operation on the target end point of the navigation planned route.
It can be understood that, when the target page is a navigation end page, because the start point and the end point of the navigation route corresponding to the current navigation are displayed in the map area in the navigation end page, when the user views the navigation end page, if the user wants to share the resource information (for example, the public number) of the target object corresponding to the start point or the end point, the user can also perform similar screenshot processing on the navigation planning page in a screenshot manner similar to that of the navigation planning page, so as to obtain a screenshot view corresponding to the user view, where the screenshot view includes a guidance attention image of the target object corresponding to the start point or the end point of the navigation route.
Or, when the target page is the navigation planning page, the navigation planning page may still include a view sharing button having the same function as that in the navigation end page, and the terminal device may respond to a trigger operation (i.e., a screen capture trigger operation) of the user on the view sharing button in the navigation planning page, perform screen capture processing on the navigation planning page, and obtain and display a screen capture view corresponding to the user view, where for example, the screen capture processing process for the navigation planning page may be shown in fig. 2 c.
In another embodiment, it is assumed that the hybrid application is a video playing application, the target page is a video playing page displaying a user view, and if the screenshot view includes a guidance attention image for triggering an association relationship with the target object, the target object is a creating user of the multimedia file (for example, a publishing user of the video).
Exemplarily, referring to fig. 2d, a currently played multimedia file is a video published by "XX" machine brother "(i.e. a creating user of the multimedia file), a video playing page includes an object sharing button 23, and after a user clicks the object sharing button 23, a terminal device may perform screenshot processing on the video playing page, so as to obtain a screenshot view corresponding to a user view, where the screenshot view includes a guidance attention image 24, and the guidance attention image 24 includes: the code scanning image (namely the two-dimensional code) representing account information of the 'XX plane brother' in the video playing application. Further, any user can quickly focus on "XX captain" in the video playback application by identifying the code-swept image, or add "XX captain" as a friend in the video playback application. As can be seen from the above, the "XX robot" in this example can be understood as the target object.
It is understood that in the example shown in fig. 2d, the screenshot may include, in addition to the guidance attention image 24, a guidance download image for triggering downloading of the video application, which may be designed according to specific application requirements, and this application is not limited in this respect.
Further, in an embodiment, a screenshot sharing operation button is further displayed in the page displaying the screenshot view, and after the terminal device executes the step S12, the screenshot sharing operation button may further trigger to select an address to be pushed of the screenshot view and trigger to send the screenshot view to a receiving end corresponding to the address to be pushed. The address to be pushed may include any one or more of the following: conversation groups, target conversation users, and content sharing platforms (e.g., WeChat circle of friends) of the users.
For example, as shown in fig. 2e, the page displaying the above screenshot view may include a screenshot view and a screenshot sharing operation area, where the screenshot sharing operation area includes a plurality of screenshot sharing operation buttons, and each screenshot sharing operation button corresponds to a sharing mode, for example, buttons corresponding to "social application", "circle of friends", "save to album", and "upload" in the figure. When a user wants to share the screenshot view to a target session user of the social application, the user clicks a button corresponding to the social application, the terminal device jumps to a session list page corresponding to the social application, the user can select the target session user as an address to be pushed in the session list page, and the terminal device is triggered to send the screenshot view to a receiving end corresponding to the address to be pushed. Subsequently, the target session user may view the screenshot view through a social application.
Or when the user wants to share the screen capture view to the WeChat friend circle of the user, the user clicks a button corresponding to the friend circle, and the terminal device can issue the screen capture view to the WeChat friend circle of the user. When the user wants to save the screenshot, the user can click a button corresponding to 'save to album', and the terminal device can save the screenshot to a local album.
Or, when the user wants to report the screenshot to the background server of the hybrid application, the user can click the button corresponding to the "upload", and the terminal device can send the screenshot to the background server corresponding to the hybrid application. For example, the hybrid application is a map application, the target page is a navigation end page, the user finds that the navigation route navigated at the current time is wrong, the user can click the button corresponding to the "uploading" after obtaining the screenshot view through the terminal device, the terminal device is triggered to send the screenshot view to the background server corresponding to the hybrid application, and background staff can check the screenshot view and process the condition that the navigation route is wrong.
In the embodiment of the application, the terminal device can display the user view including the native view in the target page of the hybrid application, and perform screenshot processing on the target page to obtain and display the screenshot view corresponding to the user view, wherein the content included in the screenshot view is different from the content included in the user view. In this way, dynamic screenshots of native views may be efficiently implemented.
In the embodiment of the present application, the hybrid application is an H5 application (or may also be referred to as a Web application) running in a Native environment, where H5 refers to HTML5 in a broad sense, that is, a fifth generation hypertext markup language, and refers to a Web application built in a mobile terminal by using technologies such as HTML in a narrow sense, and H5 in the present application adopts its narrow sense. When a user opens a target page through mixed application, a Native end initializes a WebView (browser component) to load a user view, but the user view and a screen capture view are different in a dynamic screen capture scene, and if the Native directly captures the user view, the effect cannot be achieved; if the user view is replaced by the screen capture view during screen capture, the screen capture is finished and then restored, visual flicker is caused, and user experience is poor.
In order to solve the above technical problem, the specific implementation manner (i.e. the screenshot implementation manner) of the step S11 may include the following ways:
mode 1: and calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application so as to trigger the Native end to load a hidden view, wherein the hidden view is hidden under the user view, and capturing the hidden view through the Native end to obtain a screenshot view corresponding to the user view, and the content contained in the hidden view is the same as the content contained in the screenshot view. Illustratively, the screenshot process of mode 1 can be seen in fig. 3 a.
As can be seen from the above, in the mode 1, the user view is loaded when the user opens the target page through the hybrid application, the hidden view is separately loaded after the screen capture is triggered, and is loaded as needed, and the hidden view is loaded only when the screen capture is triggered. The screen capture view is decoupled from the user view, the style of the screen capture view can be customized arbitrarily, but the user view and the hidden view need to be loaded separately, which brings overhead on performance.
In order to solve the performance overhead problem of loading a user view and a hidden view separately, the embodiment of the application can divide a target page into a visible area and an off-screen area, wherein the visible area is a window range which is really seen by a user, and the off-screen area is an area outside the window, and the user cannot see the area but is actually loaded in a DOM tree. When a user opens a target page of the hybrid application, the terminal device loads the target page, in the process of loading the target page, a user view is rendered in a visible area, and a hidden view is rendered in an off-screen area (the hidden view is consistent with the screenshot view). Based on this, the embodiment of the present application proposes another screenshot mode, that is, the following mode 2. The DOM is a document object model, is a programming interface for HTML and XML documents, and defines a standard method for accessing and manipulating HTML documents.
Mode 2: assume that the target page includes a viewable area and an off-screen area, the viewable area displaying a user view and the off-screen area displaying a hidden view. Under the circumstance, when a screenshot requirement (for example, the screenshot triggering operation is detected), coordinate information of the hidden view in the target page can be acquired, an H5 end corresponding to the hybrid application is called to send the coordinate information to a Native end corresponding to the hybrid application, and the screenshot of the target page is processed through the Native end according to the coordinate information, so that the screenshot view corresponding to the user view is obtained. The two-dimensional image is generally rectangular, and the coordinate information of the hidden view may be coordinates of two diagonal vertices (such as vertex a and vertex B in fig. 3B) in the rectangular image area corresponding to the hidden view, or may also be coordinates of 4 vertices in the rectangular image area, which is not limited specifically.
In an embodiment, the specific implementation manner of obtaining the screenshot view corresponding to the user view by performing screenshot processing on the target page through the Native terminal according to the coordinate information may include: and calling a screen capture component through a Native terminal, capturing a target image in a coordinate range corresponding to the coordinate information in a target page, and determining the target image as a screen capture view corresponding to the user view. Illustratively, the screenshot process of mode 2can be seen in fig. 3 b.
In another implementation, the specific implementation of obtaining the screenshot view corresponding to the user view by performing screenshot processing on the target page according to the coordinate information through the Native terminal may further include: and calling a screen capture component through a Native terminal to capture a target page to obtain a captured page image, and cutting the captured page image according to the coordinate information to determine a screen capture view corresponding to the user view.
As can be seen from the above, in the mode 2, the user view and the hidden view trigger the terminal device to load once when the user opens the target page, and belong to a full-load mode. In the loading mode, no matter whether the user triggers screen capture or not, the user view and the hidden view can be rendered simultaneously when the user opens the target page, and certain resource waste is inevitably caused compared with the loading on demand.
Based on this, the embodiment of the application may optimize the loading manner of the hidden view in the manner 2, specifically, the target page may still include the visible region and the off-screen region, but in the process of loading the target page, the user view is rendered in the visible region, the off-screen region is not rendered, after the target page is loaded, the user view is displayed in the visible region, and the content displayed in the off-screen region is empty. Based on this, the embodiment of the present application proposes another screenshot mode, that is, the following mode 3.
Mode 3: assume that the target page includes a visual area and an off-screen area, the visual area displays a user view, and the off-screen area displays empty content. Under the condition, when screenshot requirements exist, calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application to trigger the Native end to load the hidden view in the off-screen area, acquiring coordinate information of the hidden view in the target page, calling an H5 end to send the coordinate information to the Native end, and performing screenshot processing on the target page through the Native end according to the coordinate information to determine the screenshot view corresponding to the user view. By adopting the method, when the screenshot requirement exists, the hidden view can be rendered, and the loading on demand is realized.
It can be understood that, in a hybrid application, the H5 end operates in a WebView environment, and cannot invoke the capability of the Native end, such as a screen capture, a camera, bluetooth, and the like, and the JsBridge implements bidirectional communication between the H5 end and the Native end, specifically, the H5 end can invoke the capability of the Native end and obtain a callback result, and can also receive an event sent by the Native end; the Native terminal can send an event to the H5 terminal to notify the change of the state, or can directly call a global function in the JavaScript window. The JsBridge provides JavaScript capability of calling Native codes in hybrid application, and bidirectional communication between the H5 end and the Native end is realized. In this case, based on the JsBridge technology, as shown in fig. 4 (hereinafter, this screenshot scheme is referred to as a screenshot scheme of a dual WebView dual view), implementation process of further refining the above mode 1 may specifically include the following steps:
s41: a user opens a target page of the hybrid application through the terminal equipment;
42: initializing a first WebView through a Native terminal, and loading a user view through the first WebView;
s43: a user triggers screen capture through terminal equipment;
s44: calling the H5 end to inform the Native end through JsBridge;
s45: initializing a second WebView through a Native terminal, setting the second WebView to be in an invisible state, namely a hidden WebView, loading a hidden view through the hidden WebView, and keeping the view of the hidden view consistent with a screen capture view;
s46: after the hidden view is loaded, calling the H5 end to inform the Native end through JsBridge;
s47: and calling the screen capturing capability of the system through a Native terminal to obtain a screen capturing view.
According to the content, the user view and the screen capture view are loaded through different WebView, the screen capture view is decoupled from the user view, and the screen capture scheme of the double WebView has the following advantages: the style of the screenshot can be customized arbitrarily. But because the Native end needs to load two webviews, the overhead on performance is brought.
In an embodiment, based on the JsBridge technology, an implementation process further detailed in the above mode 2can be shown in fig. 5 (hereinafter, this screenshot scheme is referred to as a screenshot scheme of a single WebView dual view), and specifically includes the following steps:
s51: a user opens a target page of the hybrid application through the terminal equipment;
s52: initializing WebView through a Native terminal, and loading a target page, wherein the target page is divided into a visible area and an off-screen area;
s53: a user triggers screen capture through terminal equipment;
s54: the H5 end is called to send the coordinate information of the off-screen area (namely, the hidden view) to the Native end through JsBridge;
s55: and calling the screen capturing capability of the system through a Native terminal, and capturing a screen according to the coordinate information to obtain a screen capturing view.
According to the content, the screenshot scheme of the double views of the double WebView is loaded as required, and only when the screenshot is triggered, the hidden WebView is initialized; the screenshot scheme of the single WebView double-view is full-load, and a user view and a hidden view can be rendered simultaneously when WebView is initialized. Compared with the screenshot scheme of the double WebView, the screenshot scheme of the single WebView double view can solve the problem that a Native terminal needs to load two WebViews, and the performance overhead is caused.
As can be seen from the above, in the screenshot scheme (a screenshot scheme of a dual-view WebView, a screenshot scheme of a single-view WebView, and the like) provided in the embodiment of the present application, a mixed application corresponding to the H5 end may be called to call the screen capturing capability of the Native end through the JsBridge to implement dynamic screenshot, so as to obtain a screenshot view, and on the one hand, the problem that the Native UI cannot be captured through the Html2canvas in the prior art may be solved.
On the other hand, the Html2Canvas realizes the principle of dynamic screen capture, namely simply draws the DOM nodes generated by Html to the Canvas through the Canvas, and then converts the DOM nodes into pictures according to the requirements of the Canvas. However, the Canvas has the same source limitation on the picture resources, a server for storing the picture resources must set cross-domain resource sharing, otherwise, the picture cannot be drawn by the Html2Canvas, and some pictures are stored in a third-party server, such as a micro message head portrait and a news illustration, so that before the dynamic screen capture is realized through the Html2Canvas, the proxy forwarding of the server needs to be configured, and the realization is troublesome. Compared with the scheme of realizing dynamic screen capture by the Html2Canvas, the screen capture scheme provided by the application does not depend on the Canvas, is not limited by homology, has no special requirement on a picture server, and is favorable for the development difficulty of mixed application.
The embodiment of the present application further provides a computer storage medium, in which program instructions are stored, and when the program instructions are executed, the computer storage medium is used for implementing the corresponding method described in the above embodiment.
Referring to fig. 6 again, the structure of the page screenshot device according to the embodiment of the present application is schematically shown, and the page screenshot device according to the embodiment of the present application may be disposed in the terminal device, or may be a computer program (including a program code) running in the terminal device.
In one implementation of the apparatus of the embodiment of the application, the apparatus includes the following structure.
A display unit 60 for displaying a user view in a target page of a hybrid application, the user view including a native view;
the processing unit 61 is configured to perform screenshot processing on the target page to obtain a screenshot view corresponding to the user view;
the display unit 60 is further configured to display the screenshot, where content included in the screenshot is different from content included in the user view.
In one embodiment, the screen capture view includes any one or more of: downloading a guide image and a guide attention image, wherein the download guide image is used for triggering the download of the hybrid application; the guide attention image is used for triggering the establishment of an association relation with a target object.
In an embodiment, the hybrid application is a map application, the target page is a navigation page, and the display unit 60 is specifically configured to display a user view corresponding to the map application in the navigation page, where the user view includes a native view, the native view includes a map area, and the map area displays route information and a map base map of a current navigation.
In one embodiment, the navigation page is a navigation end page, the navigation end page is triggered to be displayed when the end of the current navigation is detected, and the user view further includes a web page view, where the web page view includes any one or more of the following: the title bar comprises a view sharing button, and the code table area comprises navigation record information.
In one embodiment, the navigation record information includes any one or more of: and the total driving mileage, the total driving duration, the average driving speed and the highest driving speed corresponding to the current navigation.
In one embodiment, the screenshot view includes the map region, the code table region, and a target download guide image for triggering downloading of the map application.
In an embodiment, the navigation page is a navigation planning page, the route information includes a start point and an end point of a navigation planning route corresponding to current navigation, and the processing unit 61 is specifically configured to perform screenshot processing on the target page when a sharing operation for a target end point of the navigation planning route is detected, to obtain a screenshot view corresponding to the user view, where the screenshot view includes a guidance attention image of a target object corresponding to the target end point, and the target end point is any one of the start point and the end point.
In one embodiment, the hybrid application is a multimedia application, the target page is a multimedia playing page, the native view includes a playing area, and the playing area displays a playing area base map and multimedia information of a currently playing multimedia file.
In one embodiment, if the screenshot view includes the guide attention image for triggering an association relationship with a target object, the target object is a creation user of the multimedia file.
In an embodiment, the user view further includes a view sharing button, and the processing unit 61 is specifically configured to perform screenshot processing on the target page when a trigger operation for the view sharing button is detected, so as to obtain a screenshot view corresponding to the user view.
In an embodiment, the apparatus further includes a communication unit 62, and the processing unit is further configured to trigger selection of an address to be pushed of the screenshot view through the screenshot sharing operation button, and trigger the communication unit 62 to send the screenshot view to a receiving end corresponding to the address to be pushed.
In an embodiment, the hybrid application is an H5 web application running in a Native environment, and the processing unit 61 is further specifically configured to:
calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application so as to trigger the Native end to load a hidden view, wherein the hidden view is hidden under the user view;
and capturing the screen of the hidden view through the Native terminal to obtain a screen capture view corresponding to the user view, wherein the content contained in the hidden view is the same as the content contained in the screen capture view.
In one embodiment, the target page comprises a visible region and an off-screen region, wherein the visible region displays the user view, and the off-screen region displays a hidden view; the processing unit 61 is further specifically configured to:
acquiring coordinate information of the hidden view in the target page;
calling an H5 end corresponding to the hybrid application to send the coordinate information to a Native end corresponding to the hybrid application;
screenshot processing is carried out on the target page through the Native terminal according to the coordinate information, and a screenshot view corresponding to the user view is obtained; wherein the content contained in the hidden view is the same as the content contained in the screenshot view.
In an embodiment, the processing unit 61 is further specifically configured to invoke a screen capture component through the Native terminal, capture a target image in a coordinate range corresponding to the coordinate information in the target page, and determine the target image as a screen capture view corresponding to the user view.
In an embodiment, the processing unit 61 is further specifically configured to:
calling a screen capture component through the Native terminal to capture the target page to obtain a captured page image;
and cutting the intercepted page image according to the coordinate information to obtain a screen capture view corresponding to the user view.
In one embodiment, the target page comprises a visual area and an off-screen area, the visual area displays the user view, and the content displayed in the off-screen area is empty; the processing unit 61 is further specifically configured to:
calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application so as to trigger the Native end to load a hidden view in the off-screen area;
acquiring coordinate information of the hidden view in the target page, and calling the H5 terminal to send the coordinate information to the Native terminal;
screenshot processing is carried out on the target page through the Native terminal according to the coordinate information so as to determine a screenshot view corresponding to the user view; wherein the content contained in the hidden view is the same as the content contained in the screenshot view.
In the embodiment of the present application, the detailed implementation of the above units can refer to the description of relevant contents in the embodiments corresponding to the foregoing drawings.
The page screenshot device in the embodiment of the application displays a user view comprising a native view in a target page of a hybrid application, and performs screenshot processing on the target page to obtain and display a screenshot view corresponding to the user view, wherein content contained in the screenshot view is different from content contained in the user view. By implementing the embodiment of the application, the dynamic screenshot of the native view can be efficiently realized.
Referring to fig. 7 again, the structure of the terminal device in the embodiment of the present application is schematically illustrated, and the terminal device in the embodiment of the present application includes a power supply module and the like, and includes a processor 70, a storage device 71, an output device 72, an input device 73, and a communication interface 74. A processor 70, a memory device 71, an output device 72, an input device 73, and a communication interface 74. Can interact data, and the processor 70 realizes the corresponding page screenshot function.
The storage 71 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the storage device 71 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), or the like; the storage means 71 may also comprise a combination of memories of the kind described above.
The processor 70 may be a Central Processing Unit (CPU) 70. In one embodiment, the processor 70 may also be a Graphics Processing Unit (GPU) 70. The processor 70 may also be a combination of a CPU and a GPU. In the terminal device, a plurality of CPUs and GPUs can be included as required to perform corresponding page screenshots.
The output device 72 may include a display (LCD, etc.), a speaker, etc., and the input device 73 may refer to a display screen, a fingerprint collector, etc., and may be used to detect relevant operations input by the user (e.g., a trigger operation for a view sharing button, a sharing operation for a target endpoint of a navigation planning route, etc.).
In one embodiment, the storage device 71 is used to store program instructions. Processor 70 may invoke program instructions to implement the various methods as described above in the embodiments of the present application.
In a first possible implementation, the processor 70 of the terminal device invokes a program instruction stored in the storage device 71, so as to display a user view in a target page of the hybrid application, where the user view includes a native view, and performs screenshot processing on the target page to obtain a screenshot view corresponding to the user view; displaying the screen capture view, the content contained in the screen capture view differing from the content contained in the user view.
In one embodiment, the screen capture view includes any one or more of: downloading a guide image and a guide attention image, wherein the download guide image is used for triggering the download of the hybrid application; the guide attention image is used for triggering the establishment of an association relation with a target object.
In an embodiment, the hybrid application is a map application, the target page is a navigation page, and the output device 72 is specifically configured to display a user view corresponding to the map application in the navigation page, where the user view includes a native view, the native view includes a map area, and the map area displays route information and a map base map of a current navigation.
In one embodiment, the navigation page is a navigation end page, the navigation end page is triggered to be displayed when the end of the current navigation is detected, and the user view further includes a web page view, where the web page view includes any one or more of the following: the title bar comprises a view sharing button, and the code table area comprises navigation record information.
In one embodiment, the navigation record information includes any one or more of: and the total driving mileage, the total driving duration, the average driving speed and the highest driving speed corresponding to the current navigation.
In one embodiment, the screenshot view includes the map region, the code table region, and a target download guide image for triggering downloading of the map application.
In an embodiment, the navigation page is a navigation planning page, the route information includes a start point and an end point of a navigation planning route corresponding to current navigation, and the processor 70 is specifically configured to perform screenshot processing on the target page when a sharing operation for a target end point of the navigation planning route is detected, to obtain a screenshot view corresponding to the user view, where the screenshot view includes a guidance attention image of a target object corresponding to the target end point, and the target end point is any one of the start point and the end point.
In one embodiment, the hybrid application is a multimedia application, the target page is a multimedia playing page, the native view includes a playing area, and the playing area displays a playing area base map and multimedia information of a currently playing multimedia file.
In one embodiment, if the screenshot view includes the guide attention image for triggering an association relationship with a target object, the target object is a creation user of the multimedia file.
In an embodiment, the user view further includes a view sharing button, and the processor 70 is specifically configured to perform screenshot processing on the target page when a trigger operation for the view sharing button is detected, so as to obtain a screenshot view corresponding to the user view.
In an embodiment, the apparatus further includes a communication interface 74, and the processing unit is further configured to trigger selection of an address to be pushed of the screenshot view through the screenshot sharing operation button, and trigger the communication interface 74 to send the screenshot view to a receiving end corresponding to the address to be pushed.
In one embodiment, the hybrid application is an H5 web application running in a Native environment, and the processor 70 is further configured to:
calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application so as to trigger the Native end to load a hidden view, wherein the hidden view is hidden under the user view;
and capturing the screen of the hidden view through the Native terminal to obtain a screen capture view corresponding to the user view, wherein the content contained in the hidden view is the same as the content contained in the screen capture view.
In one embodiment, the target page comprises a visible region and an off-screen region, wherein the visible region displays the user view, and the off-screen region displays a hidden view; the processor 70 is further specifically configured to:
acquiring coordinate information of the hidden view in the target page;
calling an H5 end corresponding to the hybrid application to send the coordinate information to a Native end corresponding to the hybrid application;
screenshot processing is carried out on the target page through the Native terminal according to the coordinate information, and a screenshot view corresponding to the user view is obtained; wherein the content contained in the hidden view is the same as the content contained in the screenshot view.
In an embodiment, the processor 70 is further specifically configured to invoke, by the Native terminal, a screen capture component, capture a target image in a coordinate range corresponding to the coordinate information in the target page, and determine the target image as a screen capture view corresponding to the user view.
In one embodiment, processor 70 is further specifically configured to:
calling a screen capture component through the Native terminal to capture the target page to obtain a captured page image;
and cutting the intercepted page image according to the coordinate information to obtain a screen capture view corresponding to the user view.
In one embodiment, the target page comprises a visual area and an off-screen area, the visual area displays the user view, and the content displayed in the off-screen area is empty; the processor 70 is further specifically configured to:
calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application so as to trigger the Native end to load a hidden view in the off-screen area;
acquiring coordinate information of the hidden view in the target page, and calling the H5 terminal to send the coordinate information to the Native terminal;
screenshot processing is carried out on the target page through the Native terminal according to the coordinate information so as to determine a screenshot view corresponding to the user view; wherein the content contained in the hidden view is the same as the content contained in the screenshot view.
In the embodiment of the present application, the specific implementation of the processor 70 can refer to the description related to the embodiment corresponding to the foregoing drawings.
In the embodiment of the application, the terminal device displays the user view including the native view in the target page of the hybrid application, and performs screenshot processing on the target page to obtain and display the screenshot view corresponding to the user view, wherein the content included in the screenshot view is different from the content included in the user view. By implementing the embodiment of the application, the dynamic screenshot of the native view can be efficiently realized.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A method of page screen capture, the method comprising:
displaying a user view in a target page of a hybrid application, wherein the user view comprises a Native view, the target page comprises a visible region and an off-screen region, the user view is displayed on the visible region, the content displayed on the off-screen region is empty, and the visible region and the off-screen region are loaded through the same webpage view WebView initialized by a Native terminal;
screenshot processing is carried out on the target page to obtain a screenshot view corresponding to the user view, and the screenshot process comprises the following steps:
when a screenshot instruction is received, calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application, so as to trigger the Native end to load a hidden view in an off-screen area, wherein the user view is loaded when the target page is initialized, and the hidden view is loaded when the screenshot instruction is received;
acquiring coordinate information of the hidden view in the target page, and calling the H5 terminal to send the coordinate information to the Native terminal;
screenshot processing is carried out on the target page through the Native terminal according to the coordinate information so as to determine a screenshot view corresponding to the user view;
displaying the screen capture view, wherein the content contained in the screen capture view is different from the content contained in the user view, and the content contained in the screen capture view is the same as the content contained in the hidden view loaded by the Native end corresponding to the hybrid application.
2. The method of claim 1, wherein the screen capture view comprises any one or more of: downloading a guide image and a guide attention image, wherein the download guide image is used for triggering the download of the hybrid application; the guide attention image is used for triggering the establishment of an association relation with a target object.
3. The method of claim 2, wherein the hybrid application is a mapping application, the destination page is a navigation page, and displaying the user view in the destination page of the hybrid application comprises:
and displaying a user view corresponding to the map application in the navigation page, wherein the user view comprises a native view, the native view comprises a map area, and the map area displays route information and a map base map of the current navigation.
4. The method of claim 3, wherein the navigation page is a navigation end page that is triggered to be displayed upon detection of the end of the current navigation, and wherein the user view further comprises a web page view comprising any one or more of: the title bar comprises a view sharing button, and the code table area comprises navigation record information.
5. The method of claim 4, wherein the navigation log information includes any one or more of: the total driving mileage, the total driving duration, the average driving speed and the highest driving speed corresponding to the current navigation; the screen capture view comprises the map area, the code table area and a target download guide image, and the target download guide image is used for triggering downloading of the map application.
6. The method of claim 3, wherein the navigation page is a navigation planning page, the route information includes a start point and an end point of a navigation planning route corresponding to the current navigation, and the screenshot processing on the target page to obtain the screenshot view corresponding to the user view includes:
when the sharing operation of a target endpoint aiming at the navigation planning route is detected, screenshot processing is carried out on the target page, a screenshot view corresponding to the user view is obtained, the screenshot view comprises a guidance attention image of a target object corresponding to the target endpoint, and the target endpoint is any one of the starting point or the end point.
7. The method of claim 2, wherein the hybrid application is a multimedia application, the target page is a multimedia playing page, and the native view includes a playing area, and the playing area displays a playing area base map and multimedia information of a currently playing multimedia file.
8. The method of claim 1, wherein the user view further includes a view sharing button, and the performing screenshot processing on the target page to obtain a screenshot view corresponding to the user view includes:
and when the triggering operation aiming at the view sharing button is detected, performing screenshot processing on the target page to obtain a screenshot view corresponding to the user view.
9. The method of claim 8, wherein a screenshot sharing action button is also displayed in the page displaying the screenshot view, the method further comprising:
triggering and selecting an address to be pushed of the screenshot view through the screenshot sharing operation button;
and triggering to send the screen capture view to a receiving end corresponding to the address to be pushed.
10. The method of claim 1, wherein the hybrid application is an H5 web application running in a Native environment, and the screenshot processing on the target page to obtain a screenshot view corresponding to the user view comprises:
calling an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application so as to trigger the Native end to load a hidden view, wherein the hidden view is hidden under the user view;
and capturing the screen of the hidden view through the Native terminal to obtain a screen capture view corresponding to the user view.
11. The method of claim 1, wherein the target page includes a visible region and an off-screen region, the visible region displaying the user view and the off-screen region displaying a hidden view; the screenshot processing of the target page to obtain a screenshot view corresponding to the user view includes:
acquiring coordinate information of the hidden view in the target page;
calling an H5 end corresponding to the hybrid application to send the coordinate information to a Native end corresponding to the hybrid application;
and performing screenshot processing on the target page through the Native terminal according to the coordinate information to obtain a screenshot view corresponding to the user view.
12. A page screen capture apparatus, the apparatus comprising:
the display unit is used for displaying a user view in a target page of the hybrid application, wherein the user view comprises a Native view, the target page comprises a visual area and an off-screen area, the user view is displayed on the visual area, the content displayed on the off-screen area is empty, and the visual area and the off-screen area are loaded through the same webpage view WebView initialized by a Native terminal;
the processing unit is used for carrying out screenshot processing on the target page to obtain a screenshot view corresponding to the user view;
the processing unit is specifically configured to, when a screenshot instruction is received, call an H5 end corresponding to the hybrid application to notify a Native end corresponding to the hybrid application, so as to trigger the Native end to load a hidden view in an off-screen area, where the user view is loaded when the target page is initialized, and the hidden view is loaded when the screenshot instruction is received; acquiring coordinate information of the hidden view in the target page, and calling the H5 terminal to send the coordinate information to the Native terminal; screenshot processing is carried out on the target page through the Native terminal according to the coordinate information so as to determine a screenshot view corresponding to the user view;
the display unit is further configured to display the screenshot, where content included in the screenshot is different from content included in the user view, and the content included in the screenshot is the same as content included in a hidden view loaded by a Native end corresponding to the hybrid application.
13. A terminal device, characterized in that the terminal device comprises a processor and a storage means, the processor and the storage means being interconnected, wherein the storage means is adapted to store a computer program, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method according to any one of claims 1-11.
14. A computer storage medium having stored thereon program instructions for implementing a method according to any one of claims 1 to 11 when executed.
CN202110161282.3A 2021-02-05 2021-02-05 Page screenshot method and device, terminal equipment and medium Active CN112765526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110161282.3A CN112765526B (en) 2021-02-05 2021-02-05 Page screenshot method and device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110161282.3A CN112765526B (en) 2021-02-05 2021-02-05 Page screenshot method and device, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN112765526A CN112765526A (en) 2021-05-07
CN112765526B true CN112765526B (en) 2022-04-29

Family

ID=75705167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110161282.3A Active CN112765526B (en) 2021-02-05 2021-02-05 Page screenshot method and device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN112765526B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181408A (en) * 2019-07-02 2021-01-05 北京京东尚科信息技术有限公司 Method and device for displaying view list on front page of application program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9300893B2 (en) * 2014-03-24 2016-03-29 Intel Corporation Image matching-based pointing techniques
CN105760540A (en) * 2016-03-15 2016-07-13 广州阿里巴巴文学信息技术有限公司 Method and equipment for processing webpage and electronic equipment
CN107818163B (en) * 2017-11-01 2019-03-29 平安科技(深圳)有限公司 Page display method, device, computer equipment and storage medium
CN108182060B (en) * 2018-01-31 2020-11-27 北京腾云天下科技有限公司 Hybrid application point burying method, mobile terminal and system
CN111414560B (en) * 2019-01-04 2024-05-24 腾讯科技(深圳)有限公司 Shared information processing method and device, related equipment and storage medium
CN110087124A (en) * 2019-06-05 2019-08-02 聚好看科技股份有限公司 Long-range control method, terminal device and the smart television of smart television
CN110989897B (en) * 2019-11-21 2021-12-03 富途网络科技(深圳)有限公司 Screenshot picture acquisition method and device, terminal device and storage medium
CN111950663A (en) * 2020-07-06 2020-11-17 北京奇保信安科技有限公司 Display picture generation method and device and electronic equipment
CN112181250A (en) * 2020-09-28 2021-01-05 四川封面传媒有限责任公司 Mobile terminal webpage screenshot method, device, equipment and storage medium
CN112052420A (en) * 2020-10-14 2020-12-08 腾讯科技(深圳)有限公司 Page sharing picture generation method and device and page sharing method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181408A (en) * 2019-07-02 2021-01-05 北京京东尚科信息技术有限公司 Method and device for displaying view list on front page of application program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动手机APP混合模式开发;孙月玲;《电子技术与软件工程》;20180627;第31-33页 *

Also Published As

Publication number Publication date
CN112765526A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US11412292B2 (en) Video processing method, video processing device, and storage medium
US11789603B2 (en) File processing method, terminal, and storage medium
CN108279966B (en) Webpage screenshot method, device, terminal and storage medium
JP6678773B2 (en) Server-based conversion of autoplay content to click-to-play content
US20200073903A1 (en) Method and device of tagging links included in a screenshot of webpage
RU2662632C2 (en) Presenting fixed format documents in reflowed format
US11890540B2 (en) User interface processing method and device
US20190230311A1 (en) Video interface display method and apparatus
CN108475182B (en) Data processing method and electronic terminal
US11314391B2 (en) Navigation bar controlling method and terminal
CN108810132B (en) Animation display method, device, terminal, server and storage medium
CN111432264A (en) Content display method, device and equipment based on media information stream and storage medium
CN112764857A (en) Information processing method and device and electronic equipment
CN111949908A (en) Media information processing method and device, electronic equipment and storage medium
CN104731897B (en) A kind of implementation method that information shows and device
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN113010766B (en) Information searching method, device and storage medium
CN106383705B (en) Method and device for setting mouse display state in application thin client
CN112765526B (en) Page screenshot method and device, terminal equipment and medium
WO2019047184A1 (en) Information display method, apparatus, and terminal
WO2022237310A1 (en) Method and apparatus for displaying text message, electronic device, and storage medium
CN114090896A (en) Information display method and device and electronic equipment
CN111770380A (en) Video processing method and device
CN110853643A (en) Method, device, equipment and storage medium for voice recognition in fast application
US20230410394A1 (en) Image display method and apparatus, device, and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40044591

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant