CN112307401A - Page display method and device, storage medium and electronic equipment - Google Patents

Page display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112307401A
CN112307401A CN202011249279.9A CN202011249279A CN112307401A CN 112307401 A CN112307401 A CN 112307401A CN 202011249279 A CN202011249279 A CN 202011249279A CN 112307401 A CN112307401 A CN 112307401A
Authority
CN
China
Prior art keywords
data
application
page
display
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011249279.9A
Other languages
Chinese (zh)
Inventor
刘顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011249279.9A priority Critical patent/CN112307401A/en
Publication of CN112307401A publication Critical patent/CN112307401A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a page display method, a page display device, a storage medium and electronic equipment, wherein the method comprises the following steps: when the situation that the terminal application is switched to the foreground of the terminal equipment is detected, business data are obtained based on the data display application, the data display application is called to create a business data page corresponding to the business data, and the business data page is displayed on the current display page of the terminal application. By adopting the embodiment of the application, the business data page is generated by the data display application and displayed on the page applied by the terminal, so that the purpose of open screen display is achieved, and the data display application is isolated from the terminal application process, so that the normal operation of the terminal application is not influenced when the data display application fails, and the normal operation of the terminal application is ensured.

Description

Page display method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a page display method and apparatus, a storage medium, and an electronic device.
Background
At present, because intelligent devices are deeply used in life of people, terminal applications in the intelligent devices are frequently used, and therefore, the method for releasing the screen-opening advertisements when the terminal applications are started is an effective publicizing mode.
Disclosure of Invention
The embodiment of the application provides a page display method, a page display device, a storage medium and electronic equipment, a service data page can be generated through a data display application and displayed on a page of a terminal application, the purpose of screen display is achieved, and due to the fact that the data display application is isolated from a terminal application process, when the data display application breaks down, normal operation of the terminal application cannot be affected, and normal operation of the terminal application is guaranteed. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a page display method, where the method includes:
when detecting that the terminal application is switched to a foreground of the terminal equipment, acquiring service data based on the data display application;
calling the data display application to create a service data page corresponding to the service data;
and displaying the service data page on a current display page of the terminal application.
In a second aspect, an embodiment of the present application provides a page display apparatus, where the apparatus includes:
the foreground and background monitoring module is used for acquiring service data based on the data display application when the condition that the terminal application is switched to the foreground of the terminal equipment is detected;
the page generation module is used for calling the data display application to create a business data page corresponding to the business data;
and the page display module is used for displaying the business data page on the current display page of the terminal application.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, when it is detected that a terminal application is switched to a foreground of a terminal device, service data is obtained based on a data presentation application, the data presentation application is called to create a service data page corresponding to the service data, and the service data page is displayed on a current presentation page of the terminal application. The data display application generates a business data page and displays the business data page on the page applied by the terminal, so that the purpose of screen display is achieved, and the data display application is isolated from the terminal application process, so that the normal operation of the terminal application cannot be influenced when the data display application fails, and the normal operation of the terminal application is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a page display method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a page display method according to an embodiment of the present application;
fig. 3a is an exemplary schematic diagram of acquiring a service display right according to an embodiment of the present application;
fig. 3b is an exemplary schematic diagram of acquiring service data according to an embodiment of the present application;
fig. 3c is an exemplary schematic diagram of a page for displaying service data according to an embodiment of the present application;
fig. 3d is an exemplary schematic diagram of a service data page removal provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a page displaying apparatus according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a page displaying apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The page display method provided by the embodiment of the application can be realized by depending on a computer program and can run on a page display device based on a von neumann system. The computer program may be integrated into the application or may run as a separate tool-like application. The terminal application and the data display application in the embodiment of the application may be an Android Application Package (APK), the data display application may be an APK which is built in the terminal device and runs in a background of the terminal device, and an application icon of the data display application may not be displayed on the terminal device. The terminal application may be other application software for implementing application functions in the terminal device besides the data presentation application, such as a network communication application, a news reading application, a travel navigation application, or a game application. The page display apparatus in the embodiment of the present application may be a terminal device including a terminal application and a data display application, where the terminal device includes but is not limited to: the page display device can also be an embedded program of a terminal device for calling the data display application, an APK for calling the data display application, a functional module in the data display application, and is used for displaying a service data page on a screen of the terminal device when the terminal device is started, wherein the service data page can bear charges for a commodity operator or a service provider, directly or indirectly introduces self-promoted commodities or advertisement service data pages of provided services, brief introduction information or announcement messages of the terminal device, public safety information and the like, and can call the data display application to realize the creation of the service data page, Rendering and displaying functions and the like.
The page display method provided by the present application is described in detail below with reference to specific embodiments.
Referring to fig. 1, a schematic flow chart of a page display method according to an embodiment of the present application is provided. As shown in fig. 1, the method of the embodiment of the present application may include the following steps S101-S103.
S101, when it is detected that the terminal application is switched to the foreground of the terminal equipment, service data are obtained based on the data display application.
Specifically, when detecting that the terminal application is switched to the foreground of the terminal device, that is, when detecting that the application process of the terminal application runs in the foreground of the terminal device, the page display device may obtain the service data for displaying the service data page through the data display application, where an interface currently displayed by the terminal device is an application interface provided for the terminal application at this time.
It can be understood that the service data may be service data requested by the page presentation device to the service background corresponding to the data presentation application, may also be service data stored in the local storage of the terminal device when the data presentation application is installed, or may also be service data periodically distributed and stored in the local storage of the terminal device by the service background after the data presentation application is installed. The business data can generate a business data page displayed on the terminal device in a rendering mode, and the data content contained in the business data can include data such as cost information borne by a commodity operator or a service provider, advertisement business data for directly or indirectly introducing promoted products or provided services, profile information or announcement messages of terminal applications and the like. The service background may specifically be a background service device corresponding to the data presentation application, and the service background may store various service data and may periodically update the various service data.
And S102, calling the data display application to create a service data page corresponding to the service data.
Specifically, the page display device calls a data display application to create a service data page corresponding to the service data, and it can be understood that the service data is acquired in the form of data content, so that the service data needs to be encapsulated to obtain a service data page that can be used for display; optionally, the page display device may perform rendering processing on the obtained service data to generate a service data page, where the service data page may be an additional page displayed on a current display page of the terminal application, and specifically may include a page where a commodity operator or a service provider undertakes charges, an advertisement service data page where a promoted product or a provided service is directly or indirectly introduced, and a page where profile information or an announcement message of the terminal application is also included.
S103, displaying the business data page on a current display page of the terminal application.
Specifically, the page display device displays the service data page created by the data display application on the current display page of the terminal application, so as to cover the current display page of the terminal application, which is equivalent to displaying the service data page when the terminal application is switched to the foreground. The current display page may specifically be an application interface provided by the terminal application when the terminal application is switched to the foreground of the terminal device, for example, a welcome interface when the terminal application is started, a home interface of the terminal application, and the like. The covering effect may include, but is not limited to, a covering effect of the business data page, such as full page coverage, partial page coverage, transparency coverage and the like, on the current display page, and the setting of the page size, the page display position and the transparency parameter of the business data page when the business data page is partially covered and the transparency is covered may be adjusted according to actual requirements.
In the embodiment of the application, when it is detected that the terminal application is switched to the foreground of the terminal device, the service data is acquired based on the data display application, the data display application is called to create the service data page corresponding to the service data, and the service data page is displayed on the current display page of the terminal application. The data display application generates a business data page and displays the business data page on the page applied by the terminal, so that the purpose of screen display is achieved, and the data display application is isolated from the terminal application process, so that the normal operation of the terminal application cannot be influenced when the data display application fails, and the normal operation of the terminal application is ensured.
Referring to fig. 2, a schematic flow chart of a page display method according to an embodiment of the present application is provided. As shown in fig. 2, the method of the embodiment of the present application may include the following steps S201 to S207.
S201, acquiring a data display authority corresponding to the terminal application based on the data display application.
Specifically, the page display device calls a data display application, and acquires a data display permission corresponding to the terminal application through the data display application, wherein the data display permission refers to a permission of the terminal application to a service data page released by the page display device when the page display device is started, and the page display device can select whether to release the service data page when the terminal application is started after acquiring the data display permission.
Optionally, the method for obtaining the data display right includes, but is not limited to, the following:
in a first permission obtaining mode of the embodiment of the application, in a terminal device, a page display device sends a request for obtaining data display permission to a terminal application through a data display application, and obtains the data display permission returned by the terminal application;
in a second permission obtaining manner of the embodiment of the application, the page display device sends a request for obtaining the data display permission to the service background through the data display application, and obtains the data display permission returned by the service background. The business service background can be specifically background service equipment corresponding to the data display application, can be a remote server, and can also be a cloud server, the page display device can request the business service background to acquire the data display permission, the business service background can store the data display permission authorized in advance by the terminal application, and an operator of the terminal application can perform the operation of sending the data display permission to the page display device on the business service background.
Referring to fig. 3a together, as shown in fig. 3a, an exemplary schematic diagram of a feasible service display permission acquisition is shown, a page display device is a terminal device including a data display application and a terminal application, a service background is a cloud server platform, a terminal application operator authorizes the service background, the service background stores authorization information of the service display permission of the terminal application operator in the service background, when the service background receives a request for acquiring the service display permission, which is sent to the service background by the page display device calling the data display application, the stored service display permission is sent to the data display application, and then the page display device acquiring the service display permission can release a service data page when the terminal application is started.
S202, when detecting that the terminal application is cold-started in the foreground of the terminal equipment, acquiring service data based on the data display application.
Specifically, when the page display device detects that the terminal application is switched to the foreground of the terminal device and the current start operation of the terminal application is cold start, the interface currently displayed by the terminal device is an application interface provided by the terminal application, the page display device obtains service data for displaying a service data page through the data display application, and can call the data display application for the page display device to obtain the service data for displaying the service data page. The business data can generate a business data page displayed on the terminal device in a rendering mode, and the data content contained in the business data can include data such as cost information borne by a commodity operator or a service provider, advertisement business data for directly or indirectly introducing promoted products or provided services, profile information or announcement messages of terminal applications and the like.
Optionally, the method for the page display device to obtain the service data through the data display application includes, but is not limited to, the following:
in the first service data obtaining method in the embodiment of the application, the page display device calls the data display application, and controls the data display application to obtain the service data stored in the data display application, where the service data in the data display application may be the service data of the service data page displayed last time when the terminal application is cold-started, and the service data is stored in the data display application after last display, so that the service data page can be directly called when being displayed later.
In a second service data obtaining manner of the embodiment of the application, the page display device invokes the data display application, and controls the data display application to send a request for obtaining service data to the service background, where the service background may store service data authorized in advance by a service data publisher, or the service data publisher may perform an operation of sending service data to the data display application on the service background, where the service data publisher may be a commodity operator or a service provider who needs to publish an advertisement, or an operator of a terminal application. Similarly, the page display device may also invoke the data display application to periodically obtain the service data from the service background and store the service data in the local storage of the terminal device, and the time interval for periodically obtaining the service data may be the initial setting of the page display device, may also be set in the service background and send to the page display device.
Referring to fig. 3b together, as shown in fig. 3b, a schematic diagram of a feasible example for obtaining service data is shown, a page display device is a terminal device including a data display application and a terminal application, a service background is a cloud server platform, a service data delivery party sends service data to be delivered to the service background, the service background stores the received service data in the service background, and when the service background receives a service data obtaining request sent by the page display device calling the data display application, the stored service data is sent to the data display application, and the data display application can generate a service data page according to the received service data.
S203, calling the data display application to create a service data page corresponding to the service data.
Specifically, the page display device calls a data display application, the data display application creates a service data page according to the received service data, and it can be understood that the service data is obtained in the form of data content, and therefore the service data needs to be rendered by the data display application to obtain a service data page, and the data display page may specifically include a page where a commodity operator or a service provider bears expenses, an advertisement service data page where a promoted product or a provided service is directly or indirectly introduced, a page where profile information or an announcement message of a terminal application is also available, and the like.
And S204, creating a data display form on the current display page of the terminal application, and adding the service data page to the data display form.
Specifically, the page display device creates a data display window, displays the data display window on the current display page of the terminal application, and adds the service data page created by the data display application on the data display window. The data display window is a window which is created by a page display device and is used for displaying service data pages, the window is a document and can be used for collecting information and inputting, editing or displaying data which a window designer wants to display, and the page display device is used for adding service data pages in the data display window and displaying the service data pages.
Referring to fig. 3c, as shown in fig. 3c, a schematic diagram of a distance between pages for displaying service data is shown, when a terminal application meets a condition that a page displaying device puts in a service data page, the page displaying device creates a data displaying window, the data displaying window covers a display page when the terminal application is started, and then the service data page created by the data displaying application is added to the data displaying window, so that an effect that the service data page covers the display page of the terminal application is formed.
Optionally, the data display window may set a transparency for the covering effect of the terminal application, that is, the current display page of the terminal application is still visible through the window, the visibility of the current display page of the terminal application may be adjusted by the transparency covered by the window, the transparency may be an initial setting stored in the page display device, may also be set on the terminal device, and may also be set by the service background and sent to the page display device. Similarly, the area of the data display window and the position of the data display window can be set according to the same method.
S205, judging whether the closing operation aiming at the service data page is detected.
Specifically, the page display device determines whether a closing operation for the service data page is detected, where the closing operation is an operation of actively closing the service data page by a user of the terminal device during a service data page display time period. The closing operation may be clicking a screen or clicking a closing button on a service data page.
If the page display device detects a closing operation for the service data page, executing S207; if the page displaying apparatus does not detect the closing operation for the service data page, S206 is executed.
S206, judging whether the display time of the service data page reaches the display duration.
Specifically, the page display device judges whether the display time of the service data page reaches the display time length, the display time length may be an initial setting stored in the page display device, may also be set on the terminal device, and may also be set by the service background and sent to the page display device.
If the page display device confirms that the service data page reaches the display duration, S107 is executed.
And S207, closing the data display form.
Specifically, the page display device detects a closing operation for the service data page in the display time period of the service data page, or the page display device confirms that the display time of the service data page reaches the display duration, then the page display device closes the data display window, naturally removes the service data page, and continues to display the current display interface of the terminal application on the screen of the terminal device.
Referring to fig. 3d together, as shown in fig. 3d, which is an exemplary schematic diagram of removing a service data page, a service data page is being displayed on a page of the terminal device in fig. 3d, and "skip 10 s" at the upper right corner is a button for closing the service data page, where "10 s" is a countdown of a display time period of the service data page to be reached, and when the number becomes "0 s", it indicates that the display time period of the service data page reaches the display time period, the page display device closes the data display window, and similarly, when the user of the terminal device clicks the button, a closing operation is triggered, the page display device closes the data display window,
optionally, the page display apparatus may update the data display application when the data display application fails or a new version is released.
Specifically, when the page showing device detects the updated data aiming at the data showing application, the silent installation parameter of the data showing application is obtained, the update data can be sent to the page showing device by the business service background, the page showing device can add the silent installation parameter to the execution file when updating the data showing application according to the update data, namely, silent installation can be performed on the data presentation application, wherein the silent installation refers to installation directly according to default settings, which can also be called unattended installation, namely, some common software integrated by pre-design can be silently installed in the installation process, the software can be used after the installation is finished, the silent installation of the data display application can not disturb the user, and the existence sense of the data display application in the mobile phone is reduced.
Optionally, when the page display device detects that the data display application fails, the page display device calls the data display application to send application error reporting information to the service background, where the application error reporting information may include a reason why the data display application fails, and the service background generates corresponding update information for solving the failure according to the application error reporting information and sends the update information to the page display device. When the data display application fails, the normal operation of the terminal application cannot be influenced, and the fault repair of the data display application cannot influence the data of the terminal application.
In the embodiment of the application, the data display permission of the terminal application is acquired based on the data display application, and the business data page can be released when the terminal application is started. When the terminal application is detected to be in cold start on a foreground of the terminal equipment, business data is obtained based on the data display application, the data display application is called to create a business data page corresponding to the business data, a data display window is created on a current display page of the terminal page and a business data page is added, the business data page is generated through the data display application and displayed on the page of the terminal application, the purpose of screen-opening display is achieved, and due to the fact that the data display application is isolated from a terminal application process, normal operation of the terminal application cannot be affected when the data display application breaks down, and normal operation of the terminal application is guaranteed. When the closing operation aiming at the service data page is triggered, or the data display window is closed when the display time reaches the display time, the purpose of removing the service data page is achieved, and inconvenience and trouble brought to a user of the terminal equipment are avoided. The data display application is subjected to silent installation when the data display application needs to be updated or fault repair, so that the sense of existence of the data display application is reduced, the normal operation of the terminal application is not influenced without changing the data of the terminal application, and the maintenance cost is reduced.
The page display device provided by the embodiment of the present application will be described in detail with reference to fig. 4 to 5. It should be noted that, the page displaying apparatus shown in fig. 4-5 is used for executing the method of the embodiment shown in fig. 1 and 2 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the specific technology are not disclosed, please refer to the embodiment shown in fig. 1 and 2 of the present application.
Referring to fig. 4, a schematic structural diagram of a page displaying apparatus according to an exemplary embodiment of the present application is shown. The page presentation means may be implemented as all or part of the apparatus in software, hardware or a combination of both. The device 1 comprises a foreground and background monitoring module 11, a page generating module 12 and a page display module 13.
The foreground and background monitoring module 11 is configured to, when it is detected that the terminal application is switched to a foreground of the terminal device, obtain service data based on the data presentation application;
a page generating module 12, configured to invoke the data presentation application to create a service data page corresponding to the service data;
and a page display module 13, configured to display the service data page on a current display page of the terminal application.
In this embodiment, when it is detected that the terminal application is switched to the foreground of the terminal device, service data is obtained based on the data presentation application, the data presentation application is called to create a service data page corresponding to the service data, and the service data page is displayed on the current presentation page of the terminal application. The data display application generates a business data page and displays the business data page on the page applied by the terminal, so that the purpose of screen display is achieved, and the data display application is isolated from the terminal application process, so that the normal operation of the terminal application cannot be influenced when the data display application fails, and the normal operation of the terminal application is ensured.
Please refer to fig. 5, which shows a schematic structural diagram of a page displaying apparatus according to an exemplary embodiment of the present application. The page presentation means may be implemented as all or part of the apparatus in software, hardware or a combination of both. The device 1 comprises a foreground and background monitoring module 11, a page generating module 12, a page display module 13, a permission obtaining module 14, a page closing module 15 and an updating module 16.
The foreground and background monitoring module 11 is configured to, when it is detected that the terminal application is switched to a foreground of the terminal device, obtain service data based on the data presentation application;
optionally, the foreground and background monitoring module 11 is specifically configured to, when detecting that the terminal application is cold-started in a foreground of the terminal device, obtain service data based on the data display application.
A page generating module 12, configured to invoke the data presentation application to create a service data page corresponding to the service data;
and a page display module 13, configured to display the service data page on a current display page of the terminal application.
Optionally, the page display module 13 is specifically configured to create a data display window on the current display page of the terminal application, and add the service data page to the data display window.
The permission obtaining module 14 is configured to obtain a data display permission corresponding to the terminal application based on the data display application;
the page closing module 15 is configured to close the data display window when the display time of the service data page reaches the display duration;
and when the service data page is in the display duration and the closing operation aiming at the service data page is detected, closing the data display window.
An updating module 16, configured to, when update data for the data presentation application is detected, obtain a silent installation parameter of the data presentation application;
updating the data presentation application based on the update data and the silent installation parameter.
In this embodiment, the data display permission of the terminal application is acquired based on the data display application, and it is ensured that the service data page can be released when the terminal application is started. When the terminal application is detected to be in cold start on a foreground of the terminal equipment, business data is obtained based on the data display application, the data display application is called to create a business data page corresponding to the business data, a data display window is created on a current display page of the terminal page and a business data page is added, the business data page is generated through the data display application and displayed on the page of the terminal application, the purpose of screen-opening display is achieved, and due to the fact that the data display application is isolated from a terminal application process, normal operation of the terminal application cannot be affected when the data display application breaks down, and normal operation of the terminal application is guaranteed. When the closing operation aiming at the service data page is triggered, or the data display window is closed when the display time reaches the display time, the purpose of removing the service data page is achieved, and inconvenience and trouble brought to a user of the terminal equipment are avoided. The data display application is subjected to silent installation when the data display application needs to be updated or fault repair, so that the sense of existence of the data display application is reduced, the normal operation of the terminal application is not influenced without changing the data of the terminal application, and the maintenance cost is reduced.
It should be noted that, when the page displaying apparatus provided in the foregoing embodiment executes the page displaying method, only the division of the functional modules is used for illustration, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the page display device and the page display method provided by the above embodiments belong to the same concept, and the details of the implementation process are referred to as method embodiments, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the page displaying method according to the embodiment shown in fig. 1 to 3c, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 3c, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the page displaying method according to the embodiment shown in fig. 1 to 3c, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 3c, and is not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts throughout the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 6, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a page presentation application program.
In the electronic device 1000 shown in fig. 6, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the processor 1001 may be configured to call the page showing application stored in the memory 1005, and specifically perform the following operations:
when detecting that the terminal application is switched to a foreground of the terminal equipment, acquiring service data based on the data display application;
calling the data display application to create a service data page corresponding to the service data;
and displaying the service data page on a current display page of the terminal application.
In one embodiment, before performing the operation of acquiring the service data based on the data presentation application when detecting that the terminal application is switched to the foreground of the terminal device, the processor 1001 further performs the following operation:
and acquiring the data display permission corresponding to the terminal application based on the data display application.
In an embodiment, when the processor 1001 detects that the terminal application is switched to the foreground of the terminal device, and acquires service data based on the data presentation application, the following operations are specifically performed:
and when detecting that the terminal application is cold-started on a foreground of the terminal equipment, acquiring service data based on the data display application.
In an embodiment, when the processor 1001 displays the service data page on the current display page of the terminal application, the following operations are specifically performed:
and creating a data display window on the current display page of the terminal application, and adding the service data page on the data display window.
In one embodiment, the processor 1001, when executing the page showing method, further performs the following operations:
when the display time of the service data page reaches the display duration, closing the data display window;
and when the service data page is in the display duration and the closing operation aiming at the service data page is detected, closing the data display window.
In one embodiment, the processor 1001, when executing the page showing method, further performs the following operations:
when detecting the update data aiming at the data presentation application, acquiring the silent installation parameters of the data presentation application;
updating the data presentation application based on the update data and the silent installation parameter.
In this embodiment, the data display permission of the terminal application is acquired based on the data display application, and it is ensured that the service data page can be released when the terminal application is started. When the terminal application is detected to be in cold start on a foreground of the terminal equipment, business data is obtained based on the data display application, the data display application is called to create a business data page corresponding to the business data, a data display window is created on a current display page of the terminal page and a business data page is added, the business data page is generated through the data display application and displayed on the page of the terminal application, the purpose of screen-opening display is achieved, and due to the fact that the data display application is isolated from a terminal application process, normal operation of the terminal application cannot be affected when the data display application breaks down, and normal operation of the terminal application is guaranteed. When the closing operation aiming at the service data page is triggered, or the data display window is closed when the display time reaches the display time, the purpose of removing the service data page is achieved, and inconvenience and trouble brought to a user of the terminal equipment are avoided. The data display application is subjected to silent installation when the data display application needs to be updated or fault repair, so that the sense of existence of the data display application is reduced, the normal operation of the terminal application is not influenced without changing the data of the terminal application, and the maintenance cost is reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A page display method is characterized by comprising the following steps:
when detecting that the terminal application is switched to a foreground of the terminal equipment, acquiring service data based on the data display application;
calling the data display application to create a service data page corresponding to the service data;
and displaying the service data page on a current display page of the terminal application.
2. The method according to claim 1, wherein before the step of acquiring the service data based on the data presentation application when detecting that the terminal application is switched to the foreground of the terminal device, the method further comprises:
and acquiring the data display permission corresponding to the terminal application based on the data display application.
3. The method according to claim 1, wherein when it is detected that the terminal application is switched to a foreground of the terminal device, acquiring the service data based on the data presentation application comprises:
and when detecting that the terminal application is cold-started on a foreground of the terminal equipment, acquiring service data based on the data display application.
4. The method of claim 1, wherein the displaying the service data page on a current presentation page of the terminal application comprises:
and creating a data display window on the current display page of the terminal application, and adding the service data page on the data display window.
5. The method of claim 4, further comprising:
when the display time of the service data page reaches the display duration, closing the data display window;
and when the service data page is in the display duration and the closing operation aiming at the service data page is detected, closing the data display window.
6. The method of claim 1, further comprising:
when detecting the update data aiming at the data presentation application, acquiring the silent installation parameters of the data presentation application;
updating the data presentation application based on the update data and the silent installation parameter.
7. A page display apparatus, the apparatus comprising:
the foreground and background monitoring module is used for acquiring service data based on the data display application when the condition that the terminal application is switched to the foreground of the terminal equipment is detected;
the page generation module is used for calling the data display application to create a business data page corresponding to the business data;
and the page display module is used for displaying the business data page on the current display page of the terminal application.
8. The apparatus of claim 7, further comprising:
and the permission acquisition module is used for acquiring the data display permission corresponding to the terminal application based on the data display application.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 6.
10. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 6.
CN202011249279.9A 2020-11-10 2020-11-10 Page display method and device, storage medium and electronic equipment Pending CN112307401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011249279.9A CN112307401A (en) 2020-11-10 2020-11-10 Page display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011249279.9A CN112307401A (en) 2020-11-10 2020-11-10 Page display method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112307401A true CN112307401A (en) 2021-02-02

Family

ID=74325745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011249279.9A Pending CN112307401A (en) 2020-11-10 2020-11-10 Page display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112307401A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835785A (en) * 2021-09-30 2021-12-24 上海掌门科技有限公司 Method, apparatus, medium, and program product for presenting presence information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170046015A1 (en) * 2015-08-13 2017-02-16 Xiaomi Inc. Method and apparatus for presenting multimedia information
CN107402781A (en) * 2017-06-26 2017-11-28 努比亚技术有限公司 Spread its tail page display management method, terminal and computer-readable recording medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170046015A1 (en) * 2015-08-13 2017-02-16 Xiaomi Inc. Method and apparatus for presenting multimedia information
CN107402781A (en) * 2017-06-26 2017-11-28 努比亚技术有限公司 Spread its tail page display management method, terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835785A (en) * 2021-09-30 2021-12-24 上海掌门科技有限公司 Method, apparatus, medium, and program product for presenting presence information

Similar Documents

Publication Publication Date Title
CN108491275B (en) Program optimization method, device, terminal and storage medium
CN109862187B (en) Message processing method, device, terminal and storage medium
CN107889070B (en) Picture processing method, device, terminal and computer readable storage medium
WO2016161682A1 (en) Prompt method and device for multisystem terminal notification message
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
US20220229528A1 (en) Method, apparatus, and system for generating resource value transfer request
CN112416613A (en) Application data processing method, device, equipment and medium
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN111222861B (en) Recharging method and device after arrearage and computing equipment
CN111767554A (en) Screen sharing method and device, storage medium and electronic equipment
US20230084001A1 (en) Video playing method, apparatus and device in map, computer-readable storage medium and computer program product
CN112307401A (en) Page display method and device, storage medium and electronic equipment
CN111596971A (en) Application cleaning method and device, storage medium and electronic equipment
CN108650645B (en) Method and related device for preventing malicious fee deduction
CN112765654A (en) Management and control method and device based on private data calling
CN104298548A (en) Information processing method and electronic device
CN110659082A (en) Application program interface display method and device, terminal and storage medium
CN106302821B (en) Data request method and equipment thereof
CN110955480B (en) View display method and device
CN113950043B (en) Communication method, device, storage medium and terminal
WO2017148337A1 (en) Methods of providing and acquiring terminal service, device, and terminal
CN111556482B (en) Virtual SIM card switching method and device, storage medium and terminal
CN110533469B (en) Advertisement operation method and device, server, intelligent terminal and storage medium
CN106708605B (en) Method and device for detecting resource leakage
CN115633021A (en) Remote debugging method and device for terminal equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202

RJ01 Rejection of invention patent application after publication