CN115311051A - Page display method, equipment and storage medium for house with view - Google Patents

Page display method, equipment and storage medium for house with view Download PDF

Info

Publication number
CN115311051A
CN115311051A CN202210951226.4A CN202210951226A CN115311051A CN 115311051 A CN115311051 A CN 115311051A CN 202210951226 A CN202210951226 A CN 202210951226A CN 115311051 A CN115311051 A CN 115311051A
Authority
CN
China
Prior art keywords
house
page
target
application program
source
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.)
Pending
Application number
CN202210951226.4A
Other languages
Chinese (zh)
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.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN202210951226.4A priority Critical patent/CN115311051A/en
Publication of CN115311051A publication Critical patent/CN115311051A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/16Real estate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation

Abstract

The embodiment of the application provides a page display method, equipment and a storage medium for house watching. In the embodiment of the application, the terminal device receives the house watching request, and when the house watching request is received, if the house watching application program is in a background running state, the house watching application program does not need to be entered, the resource data corresponding to the target house source is directly preloaded, and the page corresponding to the target house source is prerendered; if the page to be displayed has the page part which is not subjected to prerendering, generating mark information corresponding to the page part, and after the house-watching application program enters a foreground running state, continuing to render the unrendered part of the page to be displayed according to the mark information to obtain a complete display page for displaying, so that the time consumed for loading and rendering the house-watching application program in the foreground running state is reduced.

Description

Page display method, equipment and storage medium for house with view
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, a device, and a storage medium for displaying a page with a view on a house.
Background
A user (such as a broker) can receive a house-watching request for viewing house source information sent by a tenant or a visitor through an application program A, the user can enter the application program A in response to the house-watching request, when the application program A is in a foreground running mode, a 3D panoramic page corresponding to the house source information which the tenant or the visitor wants to view is loaded, and in the whole process, the time is long from the time when the user performs the application program A to the time when the user finishes loading the 3D panoramic page.
Disclosure of Invention
Aspects of the present application provide a page display method, device and storage medium for house watching, so as to reduce time consumption of loading and rendering of a house watching application program in a foreground running state.
The embodiment of the application provides a page display method for house with a view, which is applied to a house-viewing application program on second terminal equipment, and the method comprises the following steps: receiving a house taking-looking request forwarded by a first terminal device through a server, wherein the house taking-looking request comprises link information of a target house source; under the condition that the house-watching application program is in a background running state on the second terminal device, preloading resource data of a target house source according to the link information of the target house source; pre-rendering a page to be displayed of a target room source according to resource data, and if a first page part which is not pre-rendered exists in the page to be displayed, generating marking information corresponding to the first page part; and responding to the room-viewing application program triggered to be in a foreground running state on the second terminal equipment, acquiring the marking information corresponding to the first page part, and if the marking information is acquired, continuing rendering the first page part of the page to be displayed according to the marking information so as to generate a complete display page of the target room source for display.
The embodiment of the present application further provides a page display device for a house with a watch, which is applied to a house-watching application program of a second terminal device, and includes: the device comprises a receiving module, a loading module, a rendering module, a generating module and an acquiring module; the receiving module is used for receiving a house watching request forwarded by the first terminal equipment through the server, wherein the house watching request comprises link information of a target house source; the loading module is used for preloading resource data of the target room source according to the link information of the target room source under the condition that the room-viewing application program is in a background running state on the second terminal equipment; the system comprises a rendering module and a generating module, wherein the rendering module is used for pre-rendering a page to be displayed of a target room source according to resource data, and the generating module is used for generating mark information corresponding to a first page part if the page to be displayed has the first page part which is not pre-rendered; the acquisition module is used for responding to the condition that the house-watching application program is triggered to be in a foreground running state on the second terminal equipment, and acquiring the mark information corresponding to the first page part; a rendering module to further: and if the target room source is acquired, continuing to render the first page part of the page to be displayed according to the marking information so as to generate a complete display page of the target room source for display.
The embodiment of the present application further provides a page display device for a house to see, including: a memory and a processor; a memory for storing a computer program; and the processor is coupled with the memory and is used for executing the computer program so as to realize the steps of the page display method for house watching provided by the embodiment of the application.
The embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the steps in the page display method for house viewing provided by the embodiment of the present application.
In the embodiment of the application, the terminal device receives the house watching request, and when the house watching request is received, if the house watching application program is in a background running state, the house watching application program does not need to be entered, the resource data corresponding to the target house source is directly preloaded, and the page corresponding to the target house source is prerendered; if the to-be-displayed page has the page part which is not pre-rendered, generating mark information corresponding to the page part, and after the house-viewing application program enters the foreground running state, continuing rendering the unrendered part of the to-be-displayed page according to the mark information to obtain the complete displayed page for displaying, so that the time consumed for loading and rendering the house-viewing application program in the foreground running state is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic structural diagram of a page display system according to an exemplary embodiment of the present application;
fig. 2 is a schematic flowchart of a page display method for house viewing according to an exemplary embodiment of the present application;
FIG. 3 is a schematic structural diagram of a page display device for house viewing according to an exemplary embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a page display device for a house to see according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all 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.
Aiming at the problem that the application program is loaded and rendered in a foreground running state in the prior art, which consumes a long time, in the embodiment of the application, the terminal device receives a house watching request, and when the house watching request is received, if the house watching application program is in a background running state, the house watching application program is not required to be entered, the resource data corresponding to the target house source is directly preloaded, and the page corresponding to the target house source is pre-rendered; if the to-be-displayed page has the page part which is not pre-rendered, generating mark information corresponding to the page part, and after the house-viewing application program enters the foreground running state, continuing rendering the unrendered part of the to-be-displayed page according to the mark information to obtain the complete displayed page for displaying, so that the time consumed for loading and rendering the house-viewing application program in the foreground running state is reduced.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a page display system according to an exemplary embodiment of the present application. As shown in fig. 1, the system 100 includes: a first terminal device 101, a second terminal device 102 and a server device 103.
In this embodiment, the first terminal device 101 may be a terminal device such as a desktop computer, a notebook computer, or a smart phone, and correspondingly, the second terminal device 102 may be a terminal device such as a desktop computer, a notebook computer, or a smart phone, and the server device 103 may be a conventional server, a cloud server, or a server array. The house watching application program corresponding to the house watching user is installed on the first terminal device 101, and the house watching application program corresponding to the broker is installed on the second terminal device 102.
In this embodiment, the first terminal device 101 corresponds to a house-watching user who has a house-watching requirement, and the house-watching user wants to know related information about a target house source, for example, house-related information such as house structure, orientation, lighting, and ventilation of the target house source. For example, there may be VR house see-through requirements, or 3D panoramic page browsing requirements. The first terminal device 101 is installed with a first house-viewing application corresponding to the house-viewing user, the house-viewing user may initiate a house see-with request based on the first house-viewing application, and the first terminal device 101 may send the house see-with request to the server device 103, where the house see-with request includes link information of a target house source. The server device 103 receives the house watching request provided by the first terminal device 101, and the server device 103 sends the house watching request to at least one second terminal device 102 according to a certain scheduling policy, where the scheduling policy may be related to a service time or a service geographic area of the second terminal device 102, and is not limited specifically. The manner in which the server device 103 sends the house watching request to the at least one second terminal device 102 may be a direct connection manner of voice call, or may be a form of sending notification information. In any case, at least one second terminal device 102 may provide the house watching service to the first terminal device 101 in a preemptive manner when receiving the house watching request, that is, which second terminal device 102 responds to the house watching request first, determines that the house watching service is provided to the first terminal device 101 by the second terminal device 102.
Optionally, the server device 103 sends the house watching request to the at least one second terminal device 102, and the at least one second terminal device 102 receives the house watching request and loads the order grabbing page. The order grabbing page comprises an order grabbing control, a broker corresponding to at least one second terminal device 102 can trigger the order grabbing control on the order grabbing page, at least one second terminal device 102 responds to the triggering operation and sends an order grabbing request to a server-side device, the server-side device responds to the order grabbing request sent by a target second terminal device 102a and sends notification information of order grabbing success to the target second terminal device 102a, and meanwhile, sends notification information of order grabbing failure to other second terminal devices 102a with order grabbing failure. And after the target second terminal device 102a receives the notification information that the order grabbing is successful, destroying the order grabbing page. The target second terminal device 102a is installed with a second house watching application program corresponding to the broker, and the order grabbing page may be loaded, rendered, and displayed through the second house watching application program. Additionally, the broker may provide the house watch service to the house-viewing user based on the second house-viewing application. If it is determined that the target second terminal device 102a provides the house watching service for the first terminal device 101, the second house watching application program on the target second terminal device 102a responds to the house watching request, loads and renders a corresponding page of the target house source based on link information in the house watching request, and performs on-screen interaction with the first house watching application program on the first terminal device 101 based on the page corresponding to the target house source, that is, the first house watching application program and the second house watching application program both display the page corresponding to the target house source, and provides the house watching service for the house watching user based on the page. Optionally, the second room-viewing application program may load the page corresponding to the target room source while loading the order-grabbing page, and cover the order-grabbing page on the page corresponding to the target room source, where the page corresponding to the target room source cannot be displayed when the order-grabbing page is displayed. When the list grabbing page is destroyed, the page corresponding to the target house source is displayed, and the same-screen interaction is performed with the first terminal device 101 based on the page corresponding to the target house source, so that a house source watching service is provided for a house watching user.
In this embodiment, the second house viewing application has two running states, the first is a foreground running state, and the other is a background running state; the amount of resources allocated by the target second terminal device to the second house-viewing application in the foreground operating state is greater than the amount of resources allocated by the target second terminal device to the second house-viewing application in the background operating state. The resources allocated by the target second terminal device to the second room viewing application include, but are not limited to: memory resources, CPU resources, or bandwidth resources, etc.
In this embodiment, a method for loading and rendering a corresponding page of a target room source at a target second terminal device 102a is provided, including: receiving a house taking-to-look request forwarded by the first terminal device via the server, where the house taking-to-look request includes link information of a target house source, and the house taking-to-look request is presented on the target second terminal device 102a in the form of notification information, for example, the manner of presenting the notification information of the house taking-to-look request may include but is not limited to: lock screen reminding, notification center reminding or banner reminding, etc. The broker can enter the second house-watching application program by clicking the notification information or clicking the application icon of the second house-watching application program, the second house-watching application program is switched to a foreground running state from a background running state, the second house-watching application program is loaded to a foreground running state and then is subjected to order grabbing, after the order grabbing is successful, the order grabbing page is subjected to order grabbing, when the order grabbing page is loaded, based on the link information of the target house source, the page corresponding to the target house source is loaded and rendered, and after the page corresponding to the target house source is loaded, house-watching service is provided for the house-watching user.
In order to reduce the time from entering the second house viewing application to loading, rendering, and displaying the page corresponding to the target house source, in this embodiment, under the condition that the second house viewing application receives the house viewing request sent by the server device in the background running state, the user does not need to open the second house viewing application, the second house viewing application can pre-load and pre-render the page of the target house source in the background running state, when the user opens the second house viewing application and the second house viewing application performs the foreground running state, the page of the target house source is continuously rendered, a complete page corresponding to the target house source is obtained and displayed, and the time from opening the second house viewing application to displaying the page corresponding to the target house source is reduced.
It should be noted that, in this embodiment, a broker may recommend a target house source to a house-watching user, and a house-watching application program corresponding to the broker provides a house-taking-watching request to a house-watching application program corresponding to the house-watching user, which indicates that the broker wants to provide a house-watching service for the house-watching user. At this time, the house-viewing application corresponding to the broker is installed on the first terminal device 101, and the house-viewing application corresponding to the house-viewing user is installed on the second terminal device 102. The first terminal device 101 sends a house watching taking request to the second terminal device 102 through the server device 103, and then display pages corresponding to the target house source are loaded on the first terminal device 101 and the second terminal device 102, so that the same-screen interaction of the first terminal device and the second terminal device is realized, and further a broker provides house watching taking service for house watching users.
Based on this, the exemplary embodiment of the present application further provides a page display method for house with watch, which is applicable to a house-watching application program on a second terminal device, as shown in fig. 2, and the method includes:
201. receiving a house watching request forwarded by a first terminal device through a server, wherein the house watching request comprises link information of a target house source;
202. under the condition that the house-watching application program is in a background running state on the second terminal device, preloading resource data of the target house source according to the link information of the target house source;
203. pre-rendering a page to be displayed of a target room source according to the resource data; if the page to be displayed has a first page part which is not subjected to prerendering, generating mark information corresponding to the first page part;
204. and responding to the room-viewing application program triggered to be in a foreground running state on the second terminal equipment, acquiring mark information corresponding to the first page part, and if the mark information is acquired, continuing to render the first page part of the page to be displayed according to the mark information so as to generate a complete display page of the target room source for display.
In this embodiment, the second terminal device may receive a house-watching request forwarded by the first terminal device via the server, where the house-watching request includes link information of the target house source; when the house-watching application program on the second terminal equipment receives the house-watching request, determining which running state the house-watching application program is in, and if the house-watching application program is in the background running state, preloading resource data of the target house source according to the link information of the target house source; and after the resource data of the target house source are preloaded, the page to be displayed of the target house source is pre-rendered according to the resource data.
The resource data of the target room source may be locally loaded from the second terminal device according to the link information of the target room source, or the resource data of the target room source may be loaded from the server device according to the link information of the target room source, or the resource data of the target room source may be loaded from the database according to the link information of the target room source.
Optionally, the resource data corresponding to the target room source is preloaded according to the link information of the target room source by looking at the first resource amount corresponding to the room application program in the background running state. The resource data of the target room source includes but is not limited to: rendering data, page data and house source data; rendering data may include, but is not limited to: camera position, size parameter, light emitting sampling parameter and light caching parameter; the page data may include, but is not limited to: hypertext markup Language (HTML) files, cascading Style Sheets (CSS) files, (JavaScript, JS) files, and the like; the CSS file is a file which is matched with an HTML language to be used for manufacturing a webpage, and mainly has the function of controlling the layout of the HTML, and the CSS file is used for simply controlling the display appearance of the webpage; JS is an transliterated script language, is a dynamic type, weak type and prototype-based language, and is provided with a built-in support type; the house source data may include, but is not limited to: a 3D model or panorama of the house origin, etc.
In this embodiment, when the house viewing application is in the background running state, because the time for entering the house viewing application is not determined, that is, the time for switching the house viewing application to the foreground running state is not determined, when the house viewing application is switched from the background running state to the foreground running state, the house viewing application may be in the preloading stage, or in the pre-rendering finishing stage.
For example, a broker may enter a house-viewing application program immediately after receiving a house-viewing request, where the house-viewing application program is in a stage of preloading resource data of a target house source, and then enter a house-viewing application program, and then enter a foreground operating state, the broker may continue to load the resource data of the target house source by using a resource amount corresponding to the foreground operating state, and pre-render a page to be displayed of the target house source according to the resource data.
For another example, when entering the house-viewing application program, the house-viewing application program is in a stage of prerendering a page to be displayed of the target house source, and then after entering the house-viewing application program, the house-viewing application program enters a foreground running state, and then the prerendering can be continued by adopting a resource amount corresponding to the foreground running state.
For another example, when entering the room viewing application, the room viewing application has rendered the page to be displayed of the target room source, and then after entering the room viewing application, the room viewing application enters the foreground operating state, and then the display page of the target room source can be directly displayed.
In this embodiment, because the amount of resources allocated to the room viewing application program in the background running state is small, when the room viewing application program is in the background running state, the complete display page of the target room source may not be rendered, that is, there may be a first page portion that is not pre-rendered, where the first page portion may be a page portion corresponding to a certain acquisition point, or may be a page portion corresponding to a certain space object, or a page portion corresponding to an object included in a certain space object, and this is not limited. Under the condition that the house-watching application program is in a background running state on the second terminal device, if the page to be displayed has a first page part which is not finished with prerendering, generating mark information corresponding to the first page part; the mark information is not limited, for example, when the first page portion is implemented as a page portion corresponding to a certain collection point location, the mark information may be identification information of the collection point location; if the first page portion is implemented as a page portion corresponding to a certain space object, the tag information may be identification information of the space object.
In this embodiment, when the room-viewing application detects that the background holder state is triggered to be the foreground running state on the second terminal device, the room-viewing application is triggered to be the foreground running state on the second terminal device in response; and under the foreground running state, obtaining mark information corresponding to the first page part, if the mark information is obtained, indicating that the house-watching application program is in a pre-rendering stage, and if the pre-rendering of the page to be displayed corresponding to the target house source is not completed and the first page part with unfinished pre-rendering exists, continuing to render the first page part of the page to be displayed of the target house source according to the mark information so as to generate a complete display page of the target house source for display.
In the embodiment of the application, the terminal device receives the house watching request, and when the house watching request is received, if the house watching application program is in a background running state, the house watching application program does not need to be entered, the resource data corresponding to the target house source is directly preloaded, and the page corresponding to the target house source is prerendered; if the page to be displayed has the page part which is not subjected to prerendering, generating mark information corresponding to the page part, and after the house-watching application program enters a foreground running state, continuing to render the unrendered part of the page to be displayed according to the mark information to obtain a complete display page for displaying, so that the time consumed for loading and rendering the house-watching application program in the foreground running state is reduced.
In an optional embodiment, when the amount of resources allocated in the background running state is sufficient, the house viewing application is in the background running state, and a complete display page corresponding to the target house source for display is pre-rendered, and when the house viewing application is triggered from the background running state to the foreground running state, the complete display page corresponding to the target house source is displayed in response to the house viewing application being triggered from the background running state to the foreground running state on the second terminal device.
In an optional embodiment, if the second house-viewing application program is in a foreground running state when the house-viewing request forwarded by the first terminal device through the server is received, the resource data of the target house source is loaded according to the link information of the target house source, and the page to be displayed of the target house source is rendered according to the resource data, so that a complete display page of the target house source for display is generated.
In an optional embodiment, a three-dimensional model corresponding to a target house may exist in the house source data of the target house source, and when the house source data of the target house source includes the three-dimensional model, there is a high demand on the amount of resources allocated to the application program in the process of rendering the three-dimensional model.
Optionally, if the first page part is implemented as a page part corresponding to the three-dimensional model in the room source data, the identification information of the three-dimensional model may be used as the tag information corresponding to the first page part; if the first page part is realized as a page part corresponding to target picture data in the room source data, taking identification information of a collection point position for collecting the target picture data as mark information corresponding to the first page part; the first page part is realized as a page part corresponding to a plurality of picture data in the room source data, the marking information is a plurality of, and each marking information can be identification information of a shooting point position for collecting one piece of picture data.
In an optional embodiment, if the mark information corresponding to the first page portion indicates that the three-dimensional model in the room source data does not complete pre-rendering, the three-dimensional model in the room source data is acquired according to the mark information of the three-dimensional model, and the three-dimensional model is continuously rendered on the pre-rendered page to be displayed to obtain a page to be mapped; and performing texture rendering on the page to be mapped according to the picture data in the house source data to generate a complete display page of the target house source for display. For example, the to-be-posted page includes mesh information corresponding to the three-dimensional model, and a panoramic image acquired at the target room source needs to be mapped onto the to-be-posted page, so as to obtain a complete display page corresponding to the target room source for display.
In an optional embodiment, if the flag information corresponding to the first page portion indicates that the target picture data in the room source data is not rendered completely, the target picture data in the room source data is acquired according to the identification information of the target picture data, and texture rendering is continuously performed on the target picture data on the pre-rendered page to be displayed, so as to generate a complete display page of the target room source for display.
In an optional embodiment, state identification information corresponding to the house watching application program may also be maintained, where the state identification information indicates a running state in which the house watching application program is in a prerendering process, for example, a background running state or a foreground running state. For example, if the page to be displayed of the target room source is pre-rendered under the condition that the room-viewing application program is in the background running state, state identification information corresponding to the room-viewing application program is generated; if the page of the target room source is rendered under the condition that the room-viewing application program is in the background running state, the state identifier corresponding to the room-viewing application program is not generated any more, in other words, the state identifier corresponding to the room-viewing application program is empty at the moment.
Correspondingly, in response to the room-viewing application program being triggered to be in the foreground running state on the second terminal device, acquiring the mark information corresponding to the first page part, including: responding to the fact that the house-watching application program is triggered to be in a foreground running state on the second terminal device, and acquiring state identification information corresponding to the house-watching application program according to an Application Programming Interface (API) corresponding to the house-watching application program; and if the state identification information indicates that the house-watching application program is in the background running state, pre-rendering is carried out on the page to be displayed of the target house source, and then the mark information corresponding to the first page part is obtained. If the status identification information is empty or the status identification information does not exist, the page of the target room source can be rendered under the condition that the room-viewing application program is in the foreground running state, a complete page corresponding to the target room source can be directly obtained, and the marking information corresponding to the first page part does not need to be obtained.
It should be noted that the execution subjects of the steps of the methods provided in the above embodiments may be the same device, or different devices may be used as the execution subjects of the methods. For example, the execution subjects of step 201 to step 203 may be device a; for another example, the execution subject of steps 201 and 202 may be device a, and the execution subject of step 203 may be device B; and so on.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 201, 202, etc., are merely used for distinguishing different operations, and the sequence numbers do not represent any execution order per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
Fig. 3 is a schematic structural diagram of a page display apparatus for house with a view according to an exemplary embodiment of the present application, which is applied to a house-viewing application program of a second terminal device, and as shown in fig. 3, the apparatus includes: a receiving module 31, a loading module 32, a rendering module 33, a generating module 34 and an obtaining module 35.
The receiving module 31 is configured to receive a house taking-looking request forwarded by a first terminal device through a server, where the house taking-looking request includes link information of a target house source;
the loading module 32 is configured to preload resource data of the target room source according to the link information of the target room source when the room-viewing application program is in the background running state on the second terminal device;
the display device comprises a rendering module 33 used for prerendering a page to be displayed of a target room source according to resource data, and a generating module 34 used for generating marking information corresponding to a first page part if the page to be displayed has the first page part which is not prerendered;
the obtaining module 35 is configured to, in response to the house-watching application being triggered to be in a foreground operating state on the second terminal device, obtain the tag information corresponding to the first page portion; a rendering module 33 for further: and if the target room source is acquired, continuing to render the first page part of the page to be displayed according to the marking information so as to generate a complete display page of the target room source for display.
In an optional embodiment, the page displaying apparatus further comprises: a display module; when the house-viewing application program is in the background running state, if a complete display page of the target house source used for displaying the target house source is pre-rendered, the complete display page corresponding to the target house source is displayed in response to the house-viewing application program being triggered to be in the foreground running state from the background running state on the second terminal device.
In an optional embodiment, the loading module is further configured to: if the house watching application program is in a foreground running state when the house watching request forwarded by the first terminal device through the server is received, loading the resource data of the target house source according to the link information of the target house source, and the rendering module is further used for: and rendering the page to be displayed of the target room source according to the resource data so as to generate a complete display page of the target room source for display.
In an alternative embodiment, the resource data includes: rendering data, page data and house source data; and under the condition that the house source data comprise the three-dimensional model, the house-viewing application program has a first page part which is not finished with prerendering under the condition that the house-viewing application program is in a background running state on the second terminal equipment.
In an optional embodiment, the page displaying apparatus further comprises: a processing module; the processing module is further configured to: if the first page part is realized as a page part corresponding to the three-dimensional model in the room source data, taking the identification information of the three-dimensional model as the marking information corresponding to the first page part; and if the first page part is realized as a page part corresponding to the target picture data in the room source data, taking the identification information of the acquisition point position for acquiring the target picture data as the marking information corresponding to the first page part, wherein the marking information is one or more.
In an optional embodiment, the rendering module is specifically configured to: if the marking information corresponding to the first page part indicates that the three-dimensional model in the house source data is not pre-rendered, acquiring the three-dimensional model in the house source data according to the identification information of the three-dimensional model, and continuing to render the three-dimensional model on the pre-rendered page to be displayed to obtain a page to be mapped; and performing texture rendering on the to-be-pasted picture page according to the picture data in the house source data to generate a complete display page of the target house source for display.
In an optional embodiment, the rendering module is specifically configured to: if the mark information corresponding to the first page portion indicates that the target picture data in the room source data is not rendered completely, obtaining the target picture data in the room source data according to the identification information of the target picture data, and continuing to perform texture rendering on the target picture data on the pre-rendered page to be displayed so as to generate a complete display page of the target room source for display.
In an optional embodiment, the generating module is further configured to: if the house-watching application program pre-renders the page to be displayed of the target house source under the condition that the house-watching application program is in the background running state on the second terminal device, state identification information corresponding to the house-watching application program is generated; the acquisition module is specifically configured to: responding to the fact that the house-watching application program is triggered to be in a foreground running state on the second terminal device, and acquiring state identification information corresponding to the house-watching application program according to an Application Programming Interface (API) corresponding to the house-watching application program; and if the state identification information indicates that the house-watching application program is in the background running state, pre-rendering is carried out on the page to be displayed of the target house source, and then the mark information corresponding to the first page part is obtained.
For a detailed implementation of the page display device for viewing a house, reference may be made to the foregoing embodiments, which are not described herein again.
The page display device for house watching receives a house watching request, and when the house watching request is received, if a house watching application program is in a background running state, the house watching application program does not need to be entered, resource data corresponding to a target house source is directly preloaded, and a page corresponding to the target house source is prerendered; if the page to be displayed has the page part which is not subjected to prerendering, generating mark information corresponding to the page part, and after the house-watching application program enters a foreground running state, continuing to render the unrendered part of the page to be displayed according to the mark information to obtain a complete display page for displaying, so that the time consumed for loading and rendering the house-watching application program in the foreground running state is reduced.
Fig. 4 is a schematic structural diagram of a page display device for house with a view according to an exemplary embodiment of the present application, where the page display device is applied to a house-viewing application program of a second terminal device. As shown in fig. 4, the apparatus includes: a memory 44 and a processor 45.
A memory 44 for storing computer programs and may be configured to store other various data to support operations on the page presentation device. Examples of such data include instructions for any application or method operating on the page presentation device.
The memory 44 may be implemented by any type or combination of volatile and non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A processor 45, coupled to the memory 44, for executing computer programs in the memory 44 for: receiving a house taking-looking request forwarded by a first terminal device through a server, wherein the house taking-looking request comprises link information of a target house source; under the condition that the house-watching application program is in a background running state on the second terminal device, preloading resource data of the target house source according to the link information of the target house source; pre-rendering a page to be displayed of a target room source according to resource data, and generating mark information corresponding to a first page part if the page to be displayed has the first page part which is not pre-rendered; and responding to the room-viewing application program triggered to be in a foreground running state on the second terminal equipment, acquiring mark information corresponding to the first page part, and if the mark information is acquired, continuing to render the first page part of the page to be displayed according to the mark information so as to generate a complete display page of the target room source for display.
In an alternative embodiment, processor 45 is further configured to: when the house-watching application program is in the background running state, if a complete display page of the target house source used for displaying the target house source is pre-rendered, the complete display page corresponding to the target house source is displayed in response to the house-watching application program being triggered to be in the foreground running state from the background running state on the second terminal device.
In an alternative embodiment, processor 45 is further configured to: and if the house watching application program is in a foreground running state when the house watching request forwarded by the first terminal device through the server is received, loading the resource data of the target house source according to the link information of the target house source, and rendering the page to be displayed of the target house source according to the resource data to generate a complete display page of the target house source for display.
In an alternative embodiment, the resource data includes: rendering data, page data and house source data; and under the condition that the house source data comprise the three-dimensional model, the house viewing application program has a first page part which is not finished with pre-rendering under the condition that the house viewing application program is in a background running state on the second terminal equipment.
In an alternative embodiment, processor 45 is further configured to: if the first page part is realized as a page part corresponding to the three-dimensional model in the house source data, taking the identification information of the three-dimensional model as the marking information corresponding to the first page part; if the first page part is realized as a page part corresponding to target picture data in the room source data, the identification information of the acquisition point position for acquiring the target picture data is used as the marking information corresponding to the first page part, and the marking information is one or more.
In an optional embodiment, when continuing to render the first page portion of the page to be displayed according to the tag information to generate a complete display page of the target room source for display, the processor 45 is specifically configured to: if the marking information corresponding to the first page part indicates that the three-dimensional model in the house source data is not pre-rendered, obtaining the three-dimensional model in the house source data according to the identification information of the three-dimensional model, and continuing to render the three-dimensional model on the pre-rendered page to be displayed to obtain a page to be mapped; and performing texture rendering on the to-be-pasted picture page according to the picture data in the house source data to generate a complete display page of the target house source for display.
In an alternative embodiment, processor 45 is further configured to: if the mark information corresponding to the first page portion indicates that the target picture data in the room source data is not rendered completely, obtaining the target picture data in the room source data according to the identification information of the target picture data, and continuing to perform texture rendering on the target picture data on the pre-rendered page to be displayed so as to generate a complete display page of the target room source for display.
In an alternative embodiment, processor 45 is further configured to: if the house-watching application program pre-renders the page to be displayed of the target house source under the condition that the house-watching application program is in the background running state on the second terminal device, state identification information corresponding to the house-watching application program is generated; when the processor 45 responds to the house-watching application program being triggered to be in the foreground running state on the second terminal device and acquires the mark information corresponding to the first page portion, the processor is specifically configured to: responding to the fact that the house-watching application program is triggered to be in a foreground running state on the second terminal device, and acquiring state identification information corresponding to the house-watching application program according to an Application Programming Interface (API) corresponding to the house-watching application program; and if the state identification information indicates that the house-watching application program is in the background running state, pre-rendering is carried out on the page to be displayed of the target house source, and then the mark information corresponding to the first page part is obtained.
For details of the page display device for viewing the house, reference may be made to the foregoing embodiments, which are not described herein again.
The page display device for house watching receives a house watching request, and when the house watching request is received, if a house watching application program is in a background running state, the house watching application program does not need to be accessed, resource data corresponding to a target house source is directly preloaded, and a page corresponding to the target house source is pre-rendered; if the to-be-displayed page has the page part which is not pre-rendered, generating mark information corresponding to the page part, and after the house-viewing application program enters the foreground running state, continuing rendering the unrendered part of the to-be-displayed page according to the mark information to obtain the complete displayed page for displaying, so that the time consumed for loading and rendering the house-viewing application program in the foreground running state is reduced.
Further, as shown in fig. 4, the page display apparatus for house with watch further includes: communications component 46, display 47, power component 48, audio component 49, and the like. Only some of the components are schematically shown in fig. 4, and it is not meant that the page presentation apparatus includes only the components shown in fig. 4. It should be noted that the components within the dashed box in fig. 4 are optional components, not necessary components, and may be determined according to the product form of the page display device.
Accordingly, the present application also provides a computer readable storage medium storing a computer program, which when executed by a processor, enables the processor to implement the steps of the page display method for house viewing provided by the present application.
The communication component of fig. 4 described above is configured to facilitate communication between the device in which the communication component is located and other devices in a wired or wireless manner. The device where the communication component is located can access a wireless network based on a communication standard, such as a WiFi, a 2G, 3G, 4G/LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
The display in fig. 4 described above includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The power supply assembly of fig. 4 described above provides power to the various components of the device in which the power supply assembly is located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
The audio component of fig. 4 may be configured to output and/or input an audio signal. For example, the audio component includes a Microphone (MIC) configured to receive an external audio signal when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.

Claims (11)

1. A page display method for house viewing is applied to a house viewing application program on a second terminal device, and is characterized by comprising the following steps:
receiving a house taking-looking request forwarded by a first terminal device through a server, wherein the house taking-looking request comprises link information of a target house source;
the house-watching application program is in a background running state on the second terminal device, and resource data of the target house source are preloaded according to the link information of the target house source;
pre-rendering a page to be displayed of a target room source according to the resource data, and generating mark information corresponding to a first page part if the page to be displayed has the first page part which is not pre-rendered;
and responding to the room-viewing application program triggered to be in a foreground running state on the second terminal equipment, acquiring mark information corresponding to the first page part, and if the mark information is acquired, continuing to render the first page part of the page to be displayed according to the mark information so as to generate a complete display page of the target room source for display.
2. The method of claim 1, further comprising:
when the house-viewing application program is in a background running state, if a complete display page of the target house source used for displaying the target house source is pre-rendered, the complete display page corresponding to the target house source is displayed in response to the house-viewing application program being triggered to be in a foreground running state from the background running state on the second terminal device.
3. The method of claim 1, further comprising:
and if the house watching application program is in a foreground running state when receiving a house watching request forwarded by a first terminal device through a server, loading the resource data of the target house source according to the link information of the target house source, and rendering the page to be displayed of the target house source according to the resource data so as to generate a complete display page of the target house source for display.
4. The method of claim 1, further comprising:
the resource data includes: rendering data, page data and house source data; and under the condition that the house source data comprise the three-dimensional model, the house-viewing application program has a first page part which is not finished with prerendering under the condition that the house-viewing application program is in a background running state on the second terminal equipment.
5. The method of claim 4, further comprising:
if the first page part is realized as a page part corresponding to a three-dimensional model in the room source data, taking identification information of the three-dimensional model as marking information corresponding to the first page part;
and if the first page part is realized as the page part corresponding to the target picture data in the house source data, taking the identification information of the acquisition point position for acquiring the target picture data as the marking information corresponding to the first page part, wherein the marking information is one or more.
6. The method of claim 4, wherein continuing to render the first page portion of the page to be shown according to the markup information to generate a complete display page of the target room source for display comprises:
if the marking information corresponding to the first page part indicates that the three-dimensional model in the room source data is not pre-rendered, obtaining the three-dimensional model in the room source data according to the identification information of the three-dimensional model, and continuing to render the three-dimensional model on a pre-rendered page to be displayed to obtain a page to be mapped; and performing texture rendering on the page to be mapped according to the picture data in the house source data to generate a complete display page of the target house source for display.
7. The method of claim 6, further comprising:
if the mark information corresponding to the first page portion indicates that the target picture data in the room source data is not rendered completely, obtaining the target picture data in the room source data according to the identification information of the target picture data, and continuing to perform texture rendering on the target picture data on a pre-rendered page to be displayed so as to generate a complete display page of the target room source for display.
8. The method of claim 1, further comprising:
if the house-watching application program pre-renders the page to be displayed of the target house source under the condition that the house-watching application program is in a background running state on the second terminal device, generating state identification information corresponding to the house-watching application program;
in response to the house-watching application program being triggered to be in a foreground running state on the second terminal device, acquiring the mark information corresponding to the first page part, including:
responding to the room-viewing application program triggered to be in a foreground running state on the second terminal device, and acquiring state identification information corresponding to the room-viewing application program according to an Application Programming Interface (API) corresponding to the room-viewing application program;
and if the state identification information indicates that the house-watching application program is in a background running state, pre-rendering is performed on the page to be displayed of the target house source, and then the mark information corresponding to the first page part is obtained.
9. A page display device for house with view, which is applied to a house-viewing application program of a second terminal device, and is characterized by comprising: the device comprises a receiving module, a loading module, a rendering module, a generating module and an acquiring module;
the receiving module is used for receiving a house watching request forwarded by a first terminal device through a server, wherein the house watching request comprises link information of a target house source;
the loading module is used for preloading resource data of the target house source according to the link information of the target house source under the condition that the house-watching application program is in a background running state on the second terminal device;
the rendering module is used for prerendering a page to be displayed of a target room source according to the resource data, and the generating module is used for generating mark information corresponding to a first page part if the page to be displayed has the first page part which is not prerendered;
the acquisition module is used for responding to the house-watching application program which is triggered to be in a foreground running state on the second terminal equipment, and acquiring the mark information corresponding to the first page part; the rendering module to further: if the target house source is acquired, continuing to render the first page part of the page to be displayed according to the marking information so as to generate a complete display page of the target house source for display.
10. A page display apparatus for viewing a room, comprising: a memory and a processor; the memory for storing a computer program; the processor, coupled to the memory, is configured to execute the computer program to implement the steps of the method of any one of claims 1-8.
11. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 8.
CN202210951226.4A 2022-08-09 2022-08-09 Page display method, equipment and storage medium for house with view Pending CN115311051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210951226.4A CN115311051A (en) 2022-08-09 2022-08-09 Page display method, equipment and storage medium for house with view

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210951226.4A CN115311051A (en) 2022-08-09 2022-08-09 Page display method, equipment and storage medium for house with view

Publications (1)

Publication Number Publication Date
CN115311051A true CN115311051A (en) 2022-11-08

Family

ID=83860638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210951226.4A Pending CN115311051A (en) 2022-08-09 2022-08-09 Page display method, equipment and storage medium for house with view

Country Status (1)

Country Link
CN (1) CN115311051A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339557A (en) * 2023-02-28 2023-06-27 瑞庭网络技术(上海)有限公司 Information co-screen method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339557A (en) * 2023-02-28 2023-06-27 瑞庭网络技术(上海)有限公司 Information co-screen method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11112942B2 (en) Providing content via multiple display devices
KR102553886B1 (en) Electronic device and method for image control thereof
US10080096B2 (en) Information transmission method and system, and device
CN109857486B (en) Method, device, equipment and medium for processing program page data
JP7217357B2 (en) Mini-program data binding method, apparatus, device and computer program
KR102451508B1 (en) Media item attachment system
US20220350470A1 (en) User Profile Picture Generation Method and Electronic Device
CN112261226A (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN109600656B (en) Video list display method and device, terminal equipment and storage medium
KR20170067260A (en) Method of Operating web page and electronic device supporting the same
US11455075B2 (en) Display method when application is exited and terminal
US20130036196A1 (en) Method and system for publishing template-based content
US9971586B2 (en) System and method for providing service via application
EP3340155A1 (en) Electronic device and method for displaying web page using the same
CN112930517A (en) Selection interface with synchronized suggestion elements
CN113835571A (en) Terminal device, information display method and storage medium
CN111191176B (en) Website content updating method, device, terminal and storage medium
CN110968362B (en) Application running method, device and storage medium
CN112347404A (en) SPA page rendering method, device and system and storage medium
CN111694629A (en) Information display method and device and electronic equipment
CN115311051A (en) Page display method, equipment and storage medium for house with view
CN112153218B (en) Page display method and device, wearable device and storage medium
CN107220371B (en) Page display method and device and storage medium
KR20170089642A (en) Apparatus and method for managing of history information in a electronic device
CN111046265B (en) Card data display method, device, equipment and storage 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