CN113934958A - Page loading method and device, electronic equipment and computer readable medium - Google Patents

Page loading method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN113934958A
CN113934958A CN202111545695.8A CN202111545695A CN113934958A CN 113934958 A CN113934958 A CN 113934958A CN 202111545695 A CN202111545695 A CN 202111545695A CN 113934958 A CN113934958 A CN 113934958A
Authority
CN
China
Prior art keywords
dimensional model
weighting coefficient
occupancy rate
state value
occupancy
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.)
Granted
Application number
CN202111545695.8A
Other languages
Chinese (zh)
Other versions
CN113934958B (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.)
Beijing Defeng Xinzheng Technology Co ltd
Original Assignee
Beijing Defeng New Journey 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 Defeng New Journey Technology Co ltd filed Critical Beijing Defeng New Journey Technology Co ltd
Priority to CN202111545695.8A priority Critical patent/CN113934958B/en
Publication of CN113934958A publication Critical patent/CN113934958A/en
Application granted granted Critical
Publication of CN113934958B publication Critical patent/CN113934958B/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/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data

Abstract

The embodiment of the disclosure discloses a page loading method and device, electronic equipment and a computer readable medium. One embodiment of the method comprises: in response to the detection of the selection operation aiming at the three-dimensional model page, acquiring real-time running state information of the user side; generating an operating state value; determining the operating state value range corresponding to the operating state value in the operating state value range set as a target operating state value range; acquiring a three-dimensional model data set corresponding to a visual area range and a zoom level according to a three-dimensional model display threshold level corresponding to a target running state value range in a three-dimensional model display threshold level set; and loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein the three-dimensional model display level of each three-dimensional model data is greater than or equal to the three-dimensional model display threshold level. The implementation mode improves the display speed of the page for displaying the three-dimensional model and reduces the waiting time for the user to browse the three-dimensional model.

Description

Page loading method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a page loading method, a page loading device, electronic equipment and a computer readable medium.
Background
With the rapid development of computer technology, three-dimensional models are more and more widely applied to meet the increasingly diversified browsing demands of users. At present, when a three-dimensional model is displayed, the method generally adopts the following steps: and directly displaying the three-dimensional model with the preset detailed degree.
However, when the three-dimensional model is displayed in the above manner, there are often the following technical problems:
firstly, the running state of equipment for displaying the three-dimensional model is not comprehensively considered, so that when the running load of the equipment is high, the page display of the three-dimensional model is displayed in a stuck state, and a user needs to wait for a long time when browsing the three-dimensional model;
secondly, the requirement of the terminal type of the page for displaying the three-dimensional model on the network rate is not considered, so that when the network occupancy rate of the equipment is high, the page for displaying the three-dimensional model is displayed in a stuck state, a user needs to wait for a long time when browsing the three-dimensional model, and the number of times of page errors is large.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose page loading methods, apparatuses, electronic devices and computer readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a page loading method applied to a user side, where the method includes: in response to the detection of the selection operation of a user for the three-dimensional model page, acquiring real-time running state information of the user side, wherein the real-time running state information comprises central processor occupancy rate, graphic processor occupancy rate, memory occupancy rate and network occupancy rate; generating an operation status value corresponding to the real-time operation status information based on the occupancy rate of the central processing unit, the occupancy rate of the graphic processor, the occupancy rate of the memory and the occupancy rate of the network; determining an operation state value range corresponding to the operation state value in a preset operation state value range set as a target operation state value range, wherein the operation state value range in the operation state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set; acquiring a three-dimensional model data set corresponding to a visual area range and a zoom level according to a three-dimensional model display threshold level corresponding to the target running state value range in the three-dimensional model display threshold level set, wherein the visual area range and the zoom level correspond to the three-dimensional model page; and loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein the three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to the three-dimensional model display threshold level corresponding to the target operation state value range.
In a second aspect, some embodiments of the present disclosure provide a page loading apparatus applied to a user side, where the apparatus includes: the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is configured to respond to the detection of the selection operation of a user for a three-dimensional model page, and acquire real-time running state information of the user side, wherein the real-time running state information comprises central processor occupancy rate, graphic processor occupancy rate, memory occupancy rate and network occupancy rate; a generating unit configured to generate an operation status value corresponding to the real-time operation status information based on the central processor occupancy rate, the graphics processor occupancy rate, the memory occupancy rate, and the network occupancy rate; a determining unit configured to determine an operating state value range corresponding to the operating state value in a preset operating state value range set as a target operating state value range, wherein the operating state value range in the operating state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set; a second obtaining unit configured to obtain a three-dimensional model data set corresponding to a visible region range and a zoom level according to a three-dimensional model display threshold level corresponding to the target operating state value range in the three-dimensional model display threshold level set, wherein the visible region range and the zoom level correspond to the three-dimensional model page; and a loading unit configured to load each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein a three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to a three-dimensional model display threshold level corresponding to the target operating state value range.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: by the page loading method of some embodiments of the disclosure, the display speed of the page displaying the three-dimensional model is improved, and the waiting time required by a user when browsing the three-dimensional model is reduced. Specifically, the reason why the display of the page showing the three-dimensional model is stuck and the user needs to wait for a long time when browsing the three-dimensional model is that: the running state of the equipment for displaying the three-dimensional model is not comprehensively considered, so that when the running load of the equipment is high, the page display for displaying the three-dimensional model is blocked, and a user needs to wait for a long time when browsing the three-dimensional model. Based on this, the page loading method applied to the user side in some embodiments of the present disclosure first obtains the real-time running state information of the user side in response to detecting the selection operation of the user on the three-dimensional model page. The real-time running state information comprises central processor occupancy rate, graphic processor occupancy rate, memory occupancy rate and network occupancy rate. Therefore, the acquired real-time running state information can represent the real-time running state of the user side in each dimension. And then, generating an operation state value corresponding to the real-time operation state information based on the central processor occupancy rate, the graphics processor occupancy rate, the memory occupancy rate and the network occupancy rate. Therefore, the running state value representing the real-time comprehensive running state of the user side can be generated according to the acquired real-time running state information of the user side. And then, determining the operation state value range corresponding to the operation state value in a preset operation state value range set as a target operation state value range. And the operation state value range in the operation state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set. Thus, the operating state value range to which the operating state value belongs can be determined according to the magnitude of the operating state value. And secondly, acquiring a three-dimensional model data set corresponding to a visual area range and a zoom level according to the three-dimensional model display threshold level corresponding to the target operation state value range in the three-dimensional model display threshold level set. Wherein the visible area range and the zoom level correspond to the three-dimensional model page. Therefore, the three-dimensional model display threshold level which can be displayed currently, namely the maximum three-dimensional model display level, can be determined according to the operation state value range to which the operation state value belongs, and then the three-dimensional model data set of which the three-dimensional model display level is greater than or equal to the three-dimensional model display threshold level can be obtained. And finally, loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein the three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to the three-dimensional model display threshold level corresponding to the target operation state value range. Therefore, the three-dimensional models with the three-dimensional model display levels larger than or equal to the three-dimensional model display threshold level can be loaded in the three-dimensional model page. And the three-dimensional model display threshold level is determined according to the real-time running state information of the user side, and the three-dimensional model display level of each three-dimensional model loaded in the three-dimensional model page is greater than or equal to the three-dimensional model display threshold level. And because the larger the display level of the three-dimensional model is, the lower the detail degree of the three-dimensional model is displayed, and the faster the display speed of the page for displaying the three-dimensional model is. Therefore, the waiting time for the user to browse the three-dimensional model is reduced.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of a page loading method in accordance with some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a page loading method according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of a page loading method according to the present disclosure;
FIG. 4 is a schematic block diagram of some embodiments of a page loading apparatus according to the present disclosure;
FIG. 5 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 is a schematic diagram of one application scenario of a page loading method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may obtain the real-time running state information 102 of the user side in response to detecting a selection operation of the user on the three-dimensional model page. The real-time running status information 102 includes a central processor occupancy 1021, a graphics processor occupancy 1022, a memory occupancy 1023, and a network occupancy 1024. Then, the computing device 101 may generate the operation status value 103 corresponding to the real-time operation status information 102 based on the cpu occupancy 1021, the graphic processor occupancy 1022, the memory occupancy 1023, and the network occupancy 1024. Thereafter, the computing device 101 may determine an operating state value range corresponding to the operating state value 103 from the preset operating state value range set 104 as the target operating state value range 105. The operating state value range in the operating state value range set 104 corresponds to a preset three-dimensional model display threshold level in the three-dimensional model display threshold level set 106. Next, the computing device 101 may obtain a three-dimensional model data set 110 corresponding to the visible region range 108 and the zoom level 109 according to the three-dimensional model display threshold level 107 corresponding to the target operating state value range 105 in the three-dimensional model display threshold level set 106. The visible area range 108 and the zoom level 109 correspond to the three-dimensional model page. Finally, the computing device 101 may load each three-dimensional model corresponding to the three-dimensional model data set 110 in the three-dimensional model page. The three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is equal to or greater than the three-dimensional model display threshold level 107 corresponding to the target operating state value range 105.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 2, a flow 200 of some embodiments of a page loading method according to the present disclosure is shown. The page loading method is applied to a user side and comprises the following steps:
step 201, in response to detecting that a user selects a three-dimensional model page, acquiring real-time running state information of the user side.
In some embodiments, an executing agent of the page loading method (e.g., computing device 101 shown in FIG. 1) may monitor real-time operating state information in response to detecting a user selection operation for a three-dimensional model page. The three-dimensional model page may be a page for displaying a three-dimensional model. The real-time operation state information may be related information of the real-time operation state of the user side, and may include but is not limited to: central processor occupancy, graphics processor occupancy, memory occupancy, and network occupancy. The occupancy rate of the central processing unit may be the total usage rate of the central processing unit when the user terminal runs. The graphics processor occupancy may be an overall usage of the graphics processor during the user side operation. The memory occupancy rate may be a total usage rate of the memory when the user terminal operates. The network occupancy rate may be a total usage rate of the network when the user terminal operates. Therefore, the acquired real-time running state information can represent the real-time running state of the user side in each dimension.
And 202, generating an operation state value corresponding to the real-time operation state information based on the occupancy rate of the central processing unit, the occupancy rate of the graphic processor, the occupancy rate of the memory and the network occupancy rate.
In some embodiments, the execution agent may generate the operation status value corresponding to the real-time operation status information based on the central processor occupancy, the graphics processor occupancy, the memory occupancy, and the network occupancy. In practice, first, the execution main body may determine an average value of the central processor occupancy, the graphics processor occupancy, the memory occupancy, and the network occupancy as the operation state average occupancy. Then, the product of the above-described average occupancy rate of the operating state and a preset division value may be determined as an operating state value. The preset division value may be a preset division value representing the operation state value. For example, the preset score value may be 10, and the score representing the operating condition value may be tenths. The preset score value may be 100, and the score representing the operating condition value may be a percentile. It can be understood that the larger the operation state value is, the higher the load of the representation user terminal in operation is. Therefore, the running state value representing the real-time comprehensive running state of the user side can be generated according to the acquired real-time running state information of the user side.
Step 203, determining the operating state value range corresponding to the operating state value in the preset operating state value range set as the target operating state value range.
In some embodiments, the executing body may determine an operating state value range corresponding to the operating state value in a preset operating state value range set as a target operating state value range. The operating state value range in the operating state value range set may be a preset operating state value range. The operating condition value ranges in the set of operating condition value ranges are separated (i.e., do not coincide). The union of the operating state value ranges in the operating state value range set is a value range to which any operating state value belongs. And the operating state value range in the operating state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set. The three-dimensional model display threshold level of the set of three-dimensional model display threshold levels may be a maximum threshold of the three-dimensional model display levels of the displayed three-dimensional model. The three-dimensional model display hierarchy may be a hierarchy that characterizes a level of detail of the displayed three-dimensional model. For example, the three-dimensional model display Level may be LOD (Level of Detail). The smaller the three-dimensional model display hierarchy, the higher the degree of detail of the three-dimensional model display. The larger the operating state value corresponding to the operating state value range is, the larger the three-dimensional model display threshold level corresponding to the operating state value range is. Thus, the operating state value range to which the operating state value belongs can be determined according to the magnitude of the operating state value.
As an example, the set of operating state value ranges may be: the three-dimensional model display threshold level set may be 0, 1, 2, 3, 4. the operating condition value range [0, 2] corresponds to the three-dimensional model display threshold level 0. the operating condition value range (2, 4) corresponds to the three-dimensional model display threshold level 1. the operating condition value range (4, 6) corresponds to the three-dimensional model display threshold level 2. the operating condition value range (6, 8) corresponds to the three-dimensional model display threshold level 3. the operating condition value range (8, 10) corresponds to the three-dimensional model display threshold level 4.
And 204, acquiring a three-dimensional model data set corresponding to the range of the visible area and the zoom level according to the three-dimensional model display threshold level corresponding to the range of the target running state value in the three-dimensional model display threshold level set.
In some embodiments, the execution subject may obtain a three-dimensional model data set corresponding to a range of a visible region and a zoom level according to a three-dimensional model display threshold level corresponding to the range of the target operating state value in the three-dimensional model display threshold level set. Wherein the visible area range and the zoom level correspond to the three-dimensional model page. The visual area range may be a three-dimensional space range in which the three-dimensional model needs to be displayed in the current three-dimensional model page. The zoom level may be a page zoom level of a current three-dimensional model page. In practice, the executing body may obtain, from the associated server, three-dimensional model data of each three-dimensional model within the range of the visible region and having a maximum three-dimensional model display level corresponding to the zoom level greater than the three-dimensional model display threshold level, to obtain a three-dimensional model data set. Therefore, the three-dimensional model display threshold level which can be displayed currently, namely the maximum three-dimensional model display level, can be determined according to the operation state value range to which the operation state value belongs, and then the three-dimensional model data set of which the three-dimensional model display level is greater than or equal to the three-dimensional model display threshold level can be obtained.
Step 205, loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page.
In some embodiments, the execution subject may load each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page. And the three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to the three-dimensional model display threshold level corresponding to the target operation state value range. Therefore, the three-dimensional models with the three-dimensional model display levels larger than or equal to the three-dimensional model display threshold level can be loaded in the three-dimensional model page.
The above embodiments of the present disclosure have the following advantages: by the page loading method of some embodiments of the disclosure, the display speed of the page displaying the three-dimensional model is improved, and the waiting time required by a user when browsing the three-dimensional model is reduced. Specifically, the reason why the user needs to wait for a long time to browse the three-dimensional model due to the fact that the page displaying the three-dimensional model is stuck is that: the running state of the equipment for displaying the three-dimensional model is not comprehensively considered, so that when the running load of the equipment is high, the page display for displaying the three-dimensional model is blocked, and a user needs to wait for a long time when browsing the three-dimensional model. Based on this, the page loading method applied to the user side in some embodiments of the present disclosure first obtains the real-time running state information of the user side in response to detecting the selection operation of the user on the three-dimensional model page. The real-time running state information comprises central processor occupancy rate, graphic processor occupancy rate, memory occupancy rate and network occupancy rate. Therefore, the acquired real-time running state information can represent the real-time running state of the user side in each dimension. And then, generating an operation state value corresponding to the real-time operation state information based on the central processor occupancy rate, the graphics processor occupancy rate, the memory occupancy rate and the network occupancy rate. Therefore, the running state value representing the real-time comprehensive running state of the user side can be generated according to the acquired real-time running state information of the user side. And then, determining the operation state value range corresponding to the operation state value in a preset operation state value range set as a target operation state value range. And the operation state value range in the operation state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set. Thus, the operating state value range to which the operating state value belongs can be determined according to the magnitude of the operating state value. And secondly, acquiring a three-dimensional model data set corresponding to a visual area range and a zoom level according to the three-dimensional model display threshold level corresponding to the target operation state value range in the three-dimensional model display threshold level set. Wherein the visible area range and the zoom level correspond to the three-dimensional model page. Therefore, the three-dimensional model display threshold level which can be displayed currently, namely the maximum three-dimensional model display level, can be determined according to the operation state value range to which the operation state value belongs, and then the three-dimensional model data set of which the three-dimensional model display level is greater than or equal to the three-dimensional model display threshold level can be obtained. And finally, loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein the three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to the three-dimensional model display threshold level corresponding to the target operation state value range. Therefore, the three-dimensional models with the three-dimensional model display levels larger than or equal to the three-dimensional model display threshold level can be loaded in the three-dimensional model page. And the three-dimensional model display threshold level is determined according to the real-time running state information of the user side, and the three-dimensional model display level of each three-dimensional model loaded in the three-dimensional model page is greater than or equal to the three-dimensional model display threshold level. And because the larger the display level of the three-dimensional model is, the lower the detail degree of the three-dimensional model is displayed, and the faster the display speed of the page for displaying the three-dimensional model is. Therefore, the waiting time for the user to browse the three-dimensional model is reduced.
With further reference to FIG. 3, a flow 300 of further embodiments of a page loading method is illustrated. The process 300 of the page loading method, applied to the user side, includes the following steps:
step 301, in response to detecting that a user selects a three-dimensional model page, acquiring real-time running state information of the user side.
In some embodiments, the specific implementation of step 301 and the technical effect brought by the implementation may refer to step 201 in those embodiments corresponding to fig. 2, and are not described herein again.
Step 302, determining a user side type corresponding to the three-dimensional model page.
In some embodiments, an execution subject of the page loading method (e.g., the computing device 101 shown in fig. 1) may determine a user side type corresponding to the three-dimensional model page. The user side type may be a type to which a page of the three-dimensional model page belongs when the page is displayed in the user side, and may include a browser side and a client side. And when the user side type is a browser side, representing that the three-dimensional model page is a browser page. And when the type of the user side is the client side, the representation three-dimensional model page is the page of the software installed on the user side.
Step 303, in response to determining that the user side type is a browser side, performing the following steps:
step 3031, determining the first weighting coefficient as the first central processing unit occupancy rate weighting coefficient corresponding to the central processing unit occupancy rate.
In some embodiments, the execution agent may determine the first weighting factor as a first central processor occupancy weighting factor corresponding to the central processor occupancy. The first weighting coefficient may be a coefficient for weighting the occupancy of the central processing unit when the user side type is a browser side. The first weighting coefficient is equal to or greater than 0 and equal to or less than 1. Here, the specific setting of the first weighting factor is not limited.
Step 3032, determining the second weighting factor as the first graphics processor occupancy weighting factor corresponding to the graphics processor occupancy.
In some embodiments, the execution agent may determine the second weighting factor as a first graphics processor occupancy weighting factor corresponding to the graphics processor occupancy. The second weighting factor may be a factor for weighting the occupancy of the graphics processor when the user side type is a browser side. The second weighting coefficient is equal to or greater than 0 and equal to or less than 1. Here, the specific setting of the second weighting factor is not limited.
Step 3033, determining the third weighting coefficient as the first memory occupancy rate weighting coefficient corresponding to the memory occupancy rate.
In some embodiments, the execution agent may determine the third weighting factor as the first memory occupancy weighting factor corresponding to the memory occupancy. The third weighting coefficient may be a coefficient for performing weighting processing on the memory occupancy rate when the user side type is a browser side. The third weighting coefficient is equal to or greater than 0 and equal to or less than 1. Here, specific setting of the third weighting factor is not limited.
Step 3034, determining the fourth weighting coefficient as the first network occupancy rate weighting coefficient corresponding to the network occupancy rate.
In some embodiments, the execution principal may determine the fourth weighting factor as the first network occupancy weighting factor corresponding to the network occupancy. The fourth weighting coefficient may be a coefficient for performing weighting processing on the network occupancy when the user side type is a browser side. The fourth weighting coefficient is equal to or greater than 0 and equal to or less than 1. The sum of the first weighting factor, the second weighting factor, the third weighting factor, and the fourth weighting factor is 1. The first weighting coefficient, the second weighting coefficient, and the third weighting coefficient are all smaller than the fourth weighting coefficient. Here, the specific setting of the fourth weighting factor is not limited.
3035, based on the central processor occupancy rate and the first central processor occupancy rate weighting coefficient, the graphics processor occupancy rate and the first graphics processor occupancy rate weighting coefficient, the memory occupancy rate and the first memory occupancy rate weighting coefficient, and the network occupancy rate and the first network occupancy rate weighting coefficient, generating the running state value corresponding to the real-time running state information.
In some embodiments, the execution agent may generate the operation status value corresponding to the real-time operation status information based on the cpu occupancy and the first cpu occupancy weighting factor, the graphics processor occupancy and the first graphics processor occupancy weighting factor, the memory occupancy and the first memory occupancy weighting factor, and the network occupancy and the first network occupancy weighting factor. In practice, first, the execution main body may determine the product of the central processor occupancy and the first central processor occupancy weighting coefficient as the first central processor weighted occupancy. Then, the product of the graphics processor occupancy and the first graphics processor occupancy weighting factor may be determined as the first graphics processor weighted occupancy. Then, the product of the memory occupancy rate and the first memory occupancy rate weighting coefficient may be determined as the first memory weighted occupancy rate. Secondly, the product of the network occupancy and the first network occupancy weighting coefficient may be determined as the first network weighted occupancy. Then, the sum of the first central processor weighted occupancy, the first graphics processor weighted occupancy, the first memory weighted occupancy, and the first network weighted occupancy may be determined as the first operation occupancy. Finally, the product of the first operation occupancy and the preset division value may be determined as an operation state value. Here, the specific setting of the preset division value is not limited.
Step 303 is an invention point of the embodiment of the present disclosure, and solves a technical problem mentioned in the background art, that is, a requirement of a terminal type of a page displaying a three-dimensional model on a network rate is not considered, so that when a network occupancy rate of a device is high, a page displaying the three-dimensional model is stuck, a user needs to wait for a long time when browsing the three-dimensional model, and a number of times of page errors is large. ". The display of the page showing the three-dimensional model is stuck, the user needs to wait for a long time when browsing the three-dimensional model, and the factors that the number of page errors is large are as follows: the requirement of the terminal type of the page for displaying the three-dimensional model on the network rate is not considered, so that when the network occupancy rate of the equipment is high, the page for displaying the three-dimensional model is displayed in a stuck state, a user needs to wait for a long time when browsing the three-dimensional model, and the number of page errors is large. If the factors are solved, the effects of improving the display speed of the page displaying the three-dimensional model, reducing the waiting time of the user when browsing the three-dimensional model and reducing the error times of the page can be achieved. To achieve this effect, the present disclosure employs a corresponding weighting coefficient according to the type of the user terminal when generating the operation state value according to the real-time operation state information of the user terminal. Specifically, when the user side type is a browser side, the operation state value is generated through a first weighting coefficient, a second weighting coefficient, a third weighting coefficient and a fourth weighting coefficient which respectively correspond to the central processor occupancy rate, the graphic processor occupancy rate, the memory occupancy rate and the network occupancy rate. And because the first weighting coefficient, the second weighting coefficient and the third weighting coefficient are all smaller than the fourth weighting coefficient, the weight of the network occupancy rate can be improved, and the generated running state value is larger when the network occupancy rate is higher. Therefore, the detail degree of the acquired three-dimensional model data is smaller, namely the size of the acquired three-dimensional model data is smaller. And furthermore, when the network occupancy rate is high, the display speed of the page for displaying the three-dimensional model is increased, the waiting time for a user to browse the three-dimensional model is reduced, and the error frequency of the page is reduced.
In some optional implementations of some embodiments, the executing agent may execute, in response to determining that the client type is a client, the following steps:
and step one, determining the fifth weighting coefficient as the second central processor occupancy rate weighting coefficient corresponding to the central processor occupancy rate.
In some embodiments, the execution body may determine the fifth weighting factor as the second central processor occupancy weighting factor corresponding to the central processor occupancy. The fifth weighting coefficient may be a coefficient for weighting the occupancy rate of the central processing unit when the user terminal type is the client terminal. The fifth weighting factor is 0 or more and 1 or less. The fifth weighting factor is greater than the first weighting factor.
And secondly, determining a sixth weighting coefficient as a second graphics processor occupancy rate weighting coefficient corresponding to the graphics processor occupancy rate.
In some embodiments, the execution principal may determine the sixth weighting factor as a second graphics processor occupancy weighting factor corresponding to the graphics processor occupancy. The sixth weighting coefficient may be a coefficient for performing weighting processing on the occupancy rate of the graphics processor when the user side type is a client. The sixth weighting coefficient is equal to or greater than 0 and equal to or less than 1. The sixth weighting factor is greater than the second weighting factor.
And thirdly, determining a seventh weighting coefficient as a second memory occupancy rate weighting coefficient corresponding to the memory occupancy rate.
In some embodiments, the execution agent may determine a seventh weighting factor as the second memory occupancy weighting factor corresponding to the memory occupancy. The seventh weighting coefficient may be a coefficient for performing weighting processing on the memory occupancy rate when the user side type is the client side. The seventh weighting factor is 0 or more and 1 or less. The seventh weighting factor is greater than the third weighting factor.
And fourthly, determining the eighth weighting coefficient as the second network occupancy rate weighting coefficient corresponding to the network occupancy rate.
In some embodiments, the execution agent may determine the eighth weighting factor as the second network occupancy weighting factor corresponding to the network occupancy. The eighth weighting coefficient may be a coefficient for performing weighting processing on the network occupancy rate when the user side type is the client side. The eighth weighting coefficient is equal to or greater than 0 and equal to or less than 1. The sum of the fifth weighting factor, the sixth weighting factor, the seventh weighting factor, and the eighth weighting factor is 1. The eighth weighting coefficient is smaller than the fourth weighting coefficient.
And fifthly, generating an operation state value corresponding to the real-time operation state information based on the central processor occupancy rate and the second central processor occupancy rate weighting coefficient, the graphics processor occupancy rate and the second graphics processor occupancy rate weighting coefficient, the memory occupancy rate and the second memory occupancy rate weighting coefficient, and the network occupancy rate and the second network occupancy rate weighting coefficient.
In some embodiments, the execution agent may generate the operation status value corresponding to the real-time operation status information based on the central processor occupancy and the second central processor occupancy weighting factor, the graphics processor occupancy and the second graphics processor occupancy weighting factor, the memory occupancy and the second memory occupancy weighting factor, and the network occupancy and the second network occupancy weighting factor. In practice, first, the execution main body may determine the product of the central processor occupancy and the second central processor occupancy weighting coefficient as the second central processor weighted occupancy. Then, the product of the graphics processor occupancy and the second graphics processor occupancy weighting factor may be determined as a second graphics processor weighted occupancy. Then, the product of the memory occupancy rate and the second memory occupancy rate weighting coefficient may be determined as a second memory weighted occupancy rate. Secondly, the product of the network occupancy and the second network occupancy weighting coefficient may be determined as the second network weighted occupancy. Then, the sum of the second central processor weighted occupancy, the second graphics processor weighted occupancy, the second memory weighted occupancy, and the second network weighted occupancy may be determined as a second operation occupancy. Finally, the product of the second operation occupancy and the preset division value may be determined as an operation state value. Here, the specific setting of the preset division value is not limited.
Therefore, when the user side type is the client side, the operation state value can be generated through the fifth weighting coefficient, the sixth weighting coefficient, the seventh weighting coefficient and the eighth weighting coefficient which respectively correspond to the central processor occupancy rate, the graphic processor occupancy rate, the memory occupancy rate and the network occupancy rate. And because the fifth weighting coefficient is greater than the first weighting coefficient, the sixth weighting coefficient is greater than the second weighting coefficient, and the seventh weighting coefficient is greater than the third weighting coefficient, when the client type is the client, the weights of the central processing unit occupancy rate, the graphics processor occupancy rate and the memory occupancy rate can be increased, so that the generated running state value is larger when the central processing unit occupancy rate, the graphics processor occupancy rate and the memory occupancy rate are higher. Therefore, the detail degree of the acquired three-dimensional model data is smaller, namely the size of the acquired three-dimensional model data is smaller. Therefore, the display speed of the page for displaying the three-dimensional model is increased, and the waiting time for the user to browse the three-dimensional model is reduced.
And 304, acquiring a three-dimensional model data set corresponding to a visible area range and a zoom level according to the three-dimensional model display threshold level corresponding to the target running state value range in the three-dimensional model display threshold level set.
In some embodiments, the specific implementation and technical effects of step 304 may refer to step 204 in those embodiments corresponding to fig. 2.
In some optional implementations of some embodiments, first, the executing agent may determine, in response to determining that the user side type is a browser side, whether a three-dimensional model display level in a local cache is greater than or equal to the three-dimensional model display threshold level, and a corresponding three-dimensional model is within the visible area, and three-dimensional model data corresponding to the zoom level. Then, in response to determining that the three-dimensional model display level is not equal to or greater than the three-dimensional model display threshold level in the local cache, and the corresponding three-dimensional model is within the visible region range, and the three-dimensional model data corresponding to the zoom level does not exist, the three-dimensional model data set corresponding to the visible region range and the zoom level may be obtained from the associated server according to the three-dimensional model display threshold level. Here, the specific implementation of the above-mentioned executing subject acquiring the three-dimensional model data set may refer to step 204 in those embodiments corresponding to fig. 2. The acquired three-dimensional model dataset may then be added to a local cache. Therefore, when the user side type is the browser side, the three-dimensional model data can be preferentially acquired from the local cache. And when the three-dimensional model data which needs to be acquired does not exist in the local cache, acquiring the three-dimensional model data from the server so as to add the three-dimensional model data to the local cache. Therefore, when the three-dimensional model data is acquired again, the three-dimensional model data can be acquired from the local cache preferentially.
In some optional implementations of some embodiments, first, the execution subject may determine, in response to determining that the user side type is a client, whether a three-dimensional model display hierarchy in a three-dimensional model object pool exists, where the three-dimensional model display hierarchy is greater than or equal to the three-dimensional model display threshold hierarchy, and a corresponding three-dimensional model is within the visible region, and a three-dimensional model object corresponding to the zoom level. The three-dimensional model object pool may be an object pool to which each three-dimensional model object is added in advance in the user side. Then, each of the at least one three-dimensional model object may be determined as three-dimensional model data in response to determining that there is a three-dimensional model display hierarchy in the pool of three-dimensional model objects that is greater than or equal to the three-dimensional model display threshold hierarchy and that the corresponding three-dimensional model is within the viewable area and that the at least one three-dimensional model object corresponds to the zoom level. Then, the corresponding three-dimensional model display level is greater than or equal to the three-dimensional model display threshold level, the corresponding three-dimensional model is within the visible region, and the three-dimensional model identifier of each three-dimensional model corresponding to the zoom level is determined as a three-dimensional model identifier set. Then, each three-dimensional model identifier corresponding to the at least one three-dimensional model object may be removed from the three-dimensional model identifier set, so as to update the three-dimensional model identifier set. Therefore, the three-dimensional model identifications of the three-dimensional model objects in the three-dimensional model object pool can be removed from the three-dimensional model identification set. Then, each three-dimensional model data having the same three-dimensional model identifier as the three-dimensional model identifier in the updated three-dimensional model identifier set may be obtained from the server according to the three-dimensional model display threshold level. Here, the specific implementation of the above-mentioned executing subject acquiring three-dimensional model data may refer to step 204 in those embodiments corresponding to fig. 2. Finally, the determined three-dimensional model data and the acquired three-dimensional model data may be combined into a three-dimensional model data set. Therefore, when the user side type is the client side, the three-dimensional model data can be preferentially acquired from the three-dimensional model object pool of the user side. And when the three-dimensional model data which needs to be obtained does not exist in the three-dimensional model object pool, obtaining the three-dimensional model data from the server. Therefore, the memory occupancy rate and the network occupancy rate of the user side can be reduced, and the operation load of the user side is reduced.
Optionally, the executing body may remove, from the three-dimensional model object pool, a three-dimensional model object whose loading frequency is less than a preset frequency in response to that the current time satisfies an object pool release period condition corresponding to the three-dimensional model object pool. The object pool release period condition may be that the current time is the object pool release period time of the three-dimensional model object pool. The release cycle time of the object pool can be the cycle time of removing the three-dimensional model objects in the three-dimensional model object pool. For example, the object pool release cycle time may be 1 day 6 am per month. The number of times of loading may be the number of times of loading of the three-dimensional model in the three-dimensional model page from the last release cycle time of the object pool. Therefore, the three-dimensional model objects with less use times can be periodically removed from the three-dimensional model object pool.
Step 305, loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page.
In some embodiments, the specific implementation of step 305 and the technical effect thereof may refer to step 205 in those embodiments corresponding to fig. 2, which are not described herein again.
As can be seen from fig. 3, compared with the description of some embodiments corresponding to fig. 2, the flow 300 of the page loading method in some embodiments corresponding to fig. 3 embodies a step of extending the user side type to the browser side. Therefore, the scheme described in the embodiments can improve the display speed of the page displaying the three-dimensional model when the network occupancy rate is high, reduce the waiting time for the user to browse the three-dimensional model, and reduce the error times of the page.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a page loading apparatus, which correspond to those shown in fig. 2, and which may be applied in various electronic devices.
As shown in FIG. 4, the page loading apparatus 400 of some embodiments includes: a first acquisition unit 401, a generation unit 402, a determination unit 403, a second acquisition unit 404, and a loading unit 405. The first obtaining unit 401 is configured to, in response to detecting a selection operation of a user on a three-dimensional model page, obtain real-time running state information of the user side, where the real-time running state information includes a central processor occupancy rate, a graphics processor occupancy rate, a memory occupancy rate, and a network occupancy rate; the generating unit 402 is configured to generate an operation status value corresponding to the real-time operation status information based on the cpu occupancy, the graphic processor occupancy, the memory occupancy, and the network occupancy; the determining unit 403 is configured to determine, as a target operating state value range, an operating state value range corresponding to the operating state value in a preset operating state value range set, where the operating state value range in the operating state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set; the second obtaining unit 404 is configured to obtain a three-dimensional model data set corresponding to a visible region range and a zoom level according to a three-dimensional model display threshold level corresponding to the target operating state value range in the three-dimensional model display threshold level set, where the visible region range and the zoom level correspond to the three-dimensional model page; the loading unit 405 is configured to load each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein a three-dimensional model display level of each three-dimensional model corresponding to each three-dimensional model is greater than or equal to a three-dimensional model display threshold level corresponding to the target operating state value range.
It will be understood that the elements described in the apparatus 400 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 400 and the units included therein, and will not be described herein again.
Referring now to FIG. 5, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1) 500 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 5 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the detection of the selection operation of a user for the three-dimensional model page, acquiring real-time running state information of the user side, wherein the real-time running state information comprises central processor occupancy rate, graphic processor occupancy rate, memory occupancy rate and network occupancy rate; generating an operation status value corresponding to the real-time operation status information based on the occupancy rate of the central processing unit, the occupancy rate of the graphic processor, the occupancy rate of the memory and the occupancy rate of the network; determining an operation state value range corresponding to the operation state value in a preset operation state value range set as a target operation state value range, wherein the operation state value range in the operation state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set; acquiring a three-dimensional model data set corresponding to a visual area range and a zoom level according to a three-dimensional model display threshold level corresponding to the target running state value range in the three-dimensional model display threshold level set, wherein the visual area range and the zoom level correspond to the three-dimensional model page; and loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein the three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to the three-dimensional model display threshold level corresponding to the target operation state value range.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a generation unit, a determination unit, a second acquisition unit, and a loading unit. The names of these units do not in some cases form a limitation on the unit itself, and for example, the first obtaining unit may also be described as a "unit that obtains the real-time operation state information of the user side in response to detecting a selection operation of the user on the three-dimensional model page".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A page loading method is applied to a user side and comprises the following steps:
in response to the detection of the selection operation of a user on the three-dimensional model page, acquiring real-time running state information of the user side, wherein the real-time running state information comprises central processing unit occupancy rate, graphic processing unit occupancy rate, memory occupancy rate and network occupancy rate;
generating an operation state value corresponding to the real-time operation state information based on the occupancy rate of the central processing unit, the occupancy rate of the graphic processor, the occupancy rate of the memory and the occupancy rate of the network;
determining an operating state value range corresponding to the operating state value in a preset operating state value range set as a target operating state value range, wherein the operating state value range in the operating state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set;
acquiring a three-dimensional model data set corresponding to a visual area range and a zoom level according to a three-dimensional model display threshold level corresponding to the target running state value range in the three-dimensional model display threshold level set, wherein the visual area range and the zoom level correspond to the three-dimensional model page;
and loading each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein the three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to the three-dimensional model display threshold level corresponding to the target operation state value range.
2. The method according to claim 1, wherein after the obtaining of the real-time operation status information of the user terminal, the method further comprises:
and determining the user side type corresponding to the three-dimensional model page.
3. The method of claim 2, wherein the generating an operating state value corresponding to the real-time operating state information based on the central processor occupancy, the graphics processor occupancy, the memory occupancy, and the network occupancy comprises:
in response to determining that the user side type is a browser side, performing the following steps:
determining a first weighting coefficient as a first central processor occupancy rate weighting coefficient corresponding to the central processor occupancy rate;
determining a second weighting factor as a first graphics processor occupancy weighting factor corresponding to the graphics processor occupancy;
determining a third weighting coefficient as a first memory occupancy rate weighting coefficient corresponding to the memory occupancy rate;
determining a fourth weighting coefficient as a first network occupancy weighting coefficient corresponding to the network occupancy, wherein the sum of the first weighting coefficient, the second weighting coefficient, the third weighting coefficient and the fourth weighting coefficient is 1, and the first weighting coefficient, the second weighting coefficient and the third weighting coefficient are all smaller than the fourth weighting coefficient;
and generating an operation state value corresponding to the real-time operation state information based on the central processor occupancy rate and the first central processor occupancy rate weighting coefficient, the graphics processor occupancy rate and the first graphics processor occupancy rate weighting coefficient, the memory occupancy rate and the first memory occupancy rate weighting coefficient, and the network occupancy rate and the first network occupancy rate weighting coefficient.
4. The method of claim 3, wherein the generating an operating state value corresponding to the real-time operating state information based on the central processor occupancy, the graphics processor occupancy, the memory occupancy, and the network occupancy comprises:
in response to determining that the client type is a client, performing the following steps:
determining a fifth weighting coefficient as a second central processor occupancy weighting coefficient corresponding to the central processor occupancy, wherein the fifth weighting coefficient is larger than the first weighting coefficient;
determining a sixth weighting factor as a second graphics processor occupancy weighting factor corresponding to the graphics processor occupancy, wherein the sixth weighting factor is greater than the second weighting factor;
determining a seventh weighting coefficient as a second memory occupancy rate weighting coefficient corresponding to the memory occupancy rate, wherein the seventh weighting coefficient is greater than the third weighting coefficient;
determining an eighth weighting coefficient as a second network occupancy weighting coefficient corresponding to the network occupancy, wherein a sum of the fifth weighting coefficient, the sixth weighting coefficient, the seventh weighting coefficient, and the eighth weighting coefficient is 1, and the eighth weighting coefficient is smaller than the fourth weighting coefficient;
and generating an operation state value corresponding to the real-time operation state information based on the central processor occupancy rate and the second central processor occupancy rate weighting coefficient, the graphics processor occupancy rate and the second graphics processor occupancy rate weighting coefficient, the memory occupancy rate and the second memory occupancy rate weighting coefficient, and the network occupancy rate and the second network occupancy rate weighting coefficient.
5. The method of claim 4, wherein the obtaining a three-dimensional model data set corresponding to a range of viewable areas and a zoom level according to a three-dimensional model display threshold level in the set of three-dimensional model display threshold levels corresponding to the range of target operating condition values comprises:
in response to the fact that the user side type is determined to be a browser side, determining whether a three-dimensional model display level is larger than or equal to a three-dimensional model display threshold level, a corresponding three-dimensional model is in the range of the visible area, and three-dimensional model data corresponding to the zooming level exist in a local cache;
in response to determining that no three-dimensional model display level is greater than or equal to the three-dimensional model display threshold level in the local cache, and the corresponding three-dimensional model is within the visible region range and the three-dimensional model data corresponding to the zoom level, acquiring a three-dimensional model data set corresponding to the visible region range and the zoom level from the associated server according to the three-dimensional model display threshold level;
and adding the acquired three-dimensional model data set to a local cache.
6. The method of claim 5, wherein the obtaining a three-dimensional model data set corresponding to a range of viewable areas and a zoom level according to a three-dimensional model display threshold level in the set of three-dimensional model display threshold levels corresponding to the range of target operating condition values further comprises:
in response to determining that the user side type is a client side, determining whether a three-dimensional model display level greater than or equal to the three-dimensional model display threshold level exists in a three-dimensional model object pool, a corresponding three-dimensional model is in the range of the visible area, and a three-dimensional model object corresponding to the zoom level exists in the three-dimensional model object pool;
in response to determining that there is a three-dimensional model display level in the pool of three-dimensional model objects that is greater than or equal to the three-dimensional model display threshold level and that the corresponding three-dimensional model is within the viewable area, and at least one three-dimensional model object that corresponds to the zoom level, determining each of the at least one three-dimensional model object as three-dimensional model data;
determining a three-dimensional model display level which is greater than or equal to the three-dimensional model display threshold level, a corresponding three-dimensional model in the visible region range and a three-dimensional model identifier of each three-dimensional model corresponding to the zooming level as a three-dimensional model identifier set;
removing each three-dimensional model identifier corresponding to the at least one three-dimensional model object from the three-dimensional model identifier set so as to update the three-dimensional model identifier set;
according to the three-dimensional model display threshold level, acquiring corresponding three-dimensional model data, which are the same as the three-dimensional model identifications in the updated three-dimensional model identification set, from the server;
the determined three-dimensional model data and the acquired three-dimensional model data are combined into a three-dimensional model data set.
7. The method of claim 6, wherein the method further comprises:
and eliminating the three-dimensional model objects with the loading times smaller than the preset times from the three-dimensional model object pool in response to that the current time meets the object pool release period condition corresponding to the three-dimensional model object pool.
8. A page loading device is applied to a user side and comprises:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is configured to respond to the detection of the selection operation of a user for a three-dimensional model page, and acquire real-time running state information of the user side, wherein the real-time running state information comprises central processor occupancy rate, graphic processor occupancy rate, memory occupancy rate and network occupancy rate;
a generating unit configured to generate an operation status value corresponding to the real-time operation status information based on the central processor occupancy, the graphics processor occupancy, the memory occupancy, and the network occupancy;
a determining unit configured to determine an operating state value range corresponding to the operating state value in a preset operating state value range set as a target operating state value range, wherein the operating state value range in the operating state value range set corresponds to a three-dimensional model display threshold level in a preset three-dimensional model display threshold level set;
a second obtaining unit configured to obtain a three-dimensional model data set corresponding to a visible region range and a zoom level according to a three-dimensional model display threshold level corresponding to the target operating state value range in the three-dimensional model display threshold level set, wherein the visible region range and the zoom level correspond to the three-dimensional model page;
and the loading unit is configured to load each three-dimensional model corresponding to the three-dimensional model data set in the three-dimensional model page, wherein the three-dimensional model display level of each three-dimensional model data corresponding to each three-dimensional model is greater than or equal to the three-dimensional model display threshold level corresponding to the target operation state value range.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202111545695.8A 2021-12-17 2021-12-17 Page loading method and device, electronic equipment and computer readable medium Active CN113934958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111545695.8A CN113934958B (en) 2021-12-17 2021-12-17 Page loading method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111545695.8A CN113934958B (en) 2021-12-17 2021-12-17 Page loading method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN113934958A true CN113934958A (en) 2022-01-14
CN113934958B CN113934958B (en) 2022-04-22

Family

ID=79289185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111545695.8A Active CN113934958B (en) 2021-12-17 2021-12-17 Page loading method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113934958B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115033324A (en) * 2022-05-31 2022-09-09 南京数睿数据科技有限公司 Graph display method and device in three-dimensional space page, electronic equipment and medium
CN116627580A (en) * 2023-07-25 2023-08-22 江苏正泰泰杰赛智能科技有限公司 Multi-level cache three-dimensional model loading method for webpage end
CN116627578A (en) * 2023-07-24 2023-08-22 中国电子科技集团公司第十五研究所 Frame rate dynamic adaptation display optimization method for dynamic target label
WO2023202245A1 (en) * 2022-04-21 2023-10-26 北京京东振世信息技术有限公司 Three-dimensional map data loading and sending method and apparatus, electronic device, and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883109A (en) * 2010-06-29 2010-11-10 上海大学 Real-time transmission method for large-scale three-dimensional data in lossy network
US9720888B1 (en) * 2014-05-22 2017-08-01 Amazon Technologies, Inc. Distributed browsing architecture for the delivery of graphics commands to user devices for assembling a plurality of layers of a content page
CN112749358A (en) * 2021-01-13 2021-05-04 中国工商银行股份有限公司 Page rendering method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883109A (en) * 2010-06-29 2010-11-10 上海大学 Real-time transmission method for large-scale three-dimensional data in lossy network
US9720888B1 (en) * 2014-05-22 2017-08-01 Amazon Technologies, Inc. Distributed browsing architecture for the delivery of graphics commands to user devices for assembling a plurality of layers of a content page
CN112749358A (en) * 2021-01-13 2021-05-04 中国工商银行股份有限公司 Page rendering method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程堃: "《LOD模型简化算法的研究与实现》", 《中国优秀博硕士学位论文全文数据库(硕士)》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023202245A1 (en) * 2022-04-21 2023-10-26 北京京东振世信息技术有限公司 Three-dimensional map data loading and sending method and apparatus, electronic device, and medium
CN115033324A (en) * 2022-05-31 2022-09-09 南京数睿数据科技有限公司 Graph display method and device in three-dimensional space page, electronic equipment and medium
CN115033324B (en) * 2022-05-31 2023-09-12 南京数睿数据科技有限公司 Method and device for displaying diagrams in three-dimensional space page, electronic equipment and medium
CN116627578A (en) * 2023-07-24 2023-08-22 中国电子科技集团公司第十五研究所 Frame rate dynamic adaptation display optimization method for dynamic target label
CN116627578B (en) * 2023-07-24 2024-01-26 中国电子科技集团公司第十五研究所 Frame rate dynamic adaptation display optimization method for dynamic target label
CN116627580A (en) * 2023-07-25 2023-08-22 江苏正泰泰杰赛智能科技有限公司 Multi-level cache three-dimensional model loading method for webpage end
CN116627580B (en) * 2023-07-25 2023-09-22 江苏正泰泰杰赛智能科技有限公司 Multi-level cache three-dimensional model loading method for webpage end

Also Published As

Publication number Publication date
CN113934958B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN113934958B (en) Page loading method and device, electronic equipment and computer readable medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN112311656B (en) Message aggregation and display method and device, electronic equipment and computer readable medium
CN112650790B (en) Target point cloud plane determining method and device, electronic equipment and storage medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN112379982B (en) Task processing method, device, electronic equipment and computer readable storage medium
CN110768861B (en) Method, device, medium and electronic equipment for obtaining overtime threshold
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN111680754B (en) Image classification method, device, electronic equipment and computer readable storage medium
CN113760178A (en) Cache data processing method and device, electronic equipment and computer readable medium
CN112163176A (en) Data storage method and device, electronic equipment and computer readable medium
CN112148417A (en) Page adjusting method and device, electronic equipment and computer readable medium
CN112905090A (en) Spreadsheet processing method, device, terminal and storage medium
CN112464039A (en) Data display method and device of tree structure, electronic equipment and medium
CN112099722A (en) Business information display method, device, equipment and computer readable medium
CN112214665A (en) Content display method and device, electronic equipment and computer readable storage medium
CN110795670A (en) Webpage image monitoring method and device, electronic equipment and readable storage medium
CN116755889B (en) Data acceleration method, device and equipment applied to server cluster data interaction
CN116880726B (en) Icon interaction method and device for 3D space, electronic equipment and medium
CN113190284A (en) View rendering method and device, electronic equipment and computer readable medium
CN111857879B (en) Data processing method, device, electronic equipment and computer readable medium
CN113077351A (en) Information pushing method and device applied to insurance industry, electronic equipment and medium
CN112214306A (en) Content display weight value calculation method and device, electronic equipment and computer readable 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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 101499, Huairou District, Beijing

Patentee after: Beijing Defeng Xinzheng Technology Co.,Ltd.

Address before: No.3-8-132, 1st floor, building 3, Fuqian street, Huairou District, Beijing

Patentee before: Beijing Defeng new journey Technology Co.,Ltd.

CP03 Change of name, title or address