CN110297575B - Page display method and device, terminal equipment and storage medium - Google Patents

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

Info

Publication number
CN110297575B
CN110297575B CN201910580528.3A CN201910580528A CN110297575B CN 110297575 B CN110297575 B CN 110297575B CN 201910580528 A CN201910580528 A CN 201910580528A CN 110297575 B CN110297575 B CN 110297575B
Authority
CN
China
Prior art keywords
data content
application program
current application
control
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910580528.3A
Other languages
Chinese (zh)
Other versions
CN110297575A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910580528.3A priority Critical patent/CN110297575B/en
Publication of CN110297575A publication Critical patent/CN110297575A/en
Application granted granted Critical
Publication of CN110297575B publication Critical patent/CN110297575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a page display method, a page display device, terminal equipment and a storage medium. The method comprises the following steps: when a content display triggering operation is detected in a current application program interface, determining a program identifier of a target program for providing data content to be displayed based on the triggering operation; searching an installation catalog of the target program in a system based on the program identification, and acquiring data contents to be displayed under the installation catalog; and displaying the acquired data content. According to the technical scheme of the embodiment of the invention, the acquisition of the data content to be displayed is realized by searching the installation catalog of the target program in the local system, so that the display of the data content corresponding to the user triggering operation can be realized in a network or non-network environment, the page display scheme is enriched, and the use experience of the user is improved.

Description

Page display method and device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a page display method, a page display device, terminal equipment and a storage medium.
Background
With the rapid popularization of intelligent terminal equipment and the rapid promotion of mobile network speed, content resources and the like, various content services can be rapidly popularized and used, the traditional life style of people is effectively changed, and with the technical breakthroughs of different forms, the service styles of different forms can be rapidly released and subjected to online experiments.
When an interface of a certain Application (APP) is displayed on a mobile terminal, if a trigger operation of content display is detected, for example, when it is detected that a user clicks a certain label (Tab) control on the interface, content that needs to be displayed after the Tab control is clicked needs to be acquired from a server.
According to the page display scheme, the content required to be displayed by clicking the Tab control can be only obtained from the server side, and the corresponding content is displayed, so that the execution method is single, and further improvement is urgently needed.
Disclosure of Invention
The invention provides a page display method, a page display device, terminal equipment and a storage medium, which are used for enriching the existing page display scheme and improving the use experience of a user.
In a first aspect, an embodiment of the present invention provides a page display method, including:
when a content display triggering operation is detected in a current application program interface, determining a program identifier of a target program for providing data content to be displayed based on the triggering operation;
searching an installation catalog of the target program in a system based on the program identification, and acquiring data contents to be displayed under the installation catalog;
and displaying the acquired data content.
In a second aspect, an embodiment of the present invention further provides a page display apparatus, including:
the system comprises a program identifier determining module, a content display triggering module and a display module, wherein the program identifier determining module is used for determining a program identifier of a target program for providing data content to be displayed based on triggering operation when the content display triggering operation is detected in a current application program interface;
the data content acquisition module is used for searching an installation catalog of the target program in the system based on the program identification and acquiring data content to be displayed under the installation catalog;
and the data content display module is used for displaying the acquired data content.
In a third aspect, an embodiment of the present invention further provides a terminal device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement a page showing method as provided in an embodiment of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a page showing method as provided in the first aspect.
When the content display triggering operation is detected in the current application program interface, determining a program identifier of a target program for providing data content to be displayed based on the triggering operation; searching an installation directory of a target program in the system based on the program identification, and acquiring data contents to be displayed under the installation directory; and displaying the acquired data content. According to the technical scheme, the target program is searched locally in the system, and the data content needing to be displayed is acquired, so that the data content corresponding to the user triggering operation can be displayed in a network or non-network environment, the page display scheme is enriched, and the user experience is improved.
Drawings
FIG. 1 is a flowchart of a page display method according to a first embodiment of the present invention;
FIG. 2A is a flowchart of a page display method according to a second embodiment of the present invention;
FIG. 2B is a diagram illustrating a page displaying process according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a page display method according to a third embodiment of the present invention;
fig. 4 is a structural diagram of a page presenting apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a page display method in an embodiment of the present invention, and the embodiment of the present invention is suitable for a case where a user triggers an application program interface to display corresponding data content. The method is executed by a page presentation device, which is realized by software and/or hardware and is specifically configured in the terminal equipment. The terminal equipment can be mobile terminals such as smart phones, tablet computers and personal computers, and can also be fixed equipment such as desktop computers.
A page display method as shown in fig. 1 includes:
s110, when a content display triggering operation is detected in a current application program interface, determining a program identifier of a target program for providing data content to be displayed based on the triggering operation.
Wherein the current application program is an application program with a specific service function for providing at least one target program. Accordingly, the target program may be set inside the current application program, or may exist independently of the current application program. Illustratively, the target program may be at least one of an application program, a component set in the current application program, a plug-in, and an applet.
For example, the content exposure trigger operation detected in the current application program interface may be a trigger operation on a preset control detected in the current application program interface. The preset control can be understood as a control which is arranged in an application program interface for navigation and is established with an association relationship between an application program and a target program. The preset control can be a conventional control, such as a label (Tab) control, a Button (Button) control, or the like; the preset control can also be a container control added with other controls, such as a view container set in the current application program interface.
In this step, the current application program interface is presented; when a user triggers a preset control in a current application program interface, generating a content display instruction, wherein the content display instruction comprises control identification information of the triggered preset control; when the content display instruction is detected to be generated, the content display instruction is analyzed to obtain control identification information, the content identification information of the data content to be displayed is determined according to the control identification information, and the program identification of the target program is determined based on the determined content identification information, wherein the target program is used for providing the data content to be displayed.
For example, a first mapping relationship between the control identification information and the content identification information may be preset, and the first mapping relationship is stored in the local terminal device, another storage device associated with the terminal device, or the cloud, and is acquired when needed.
It can be understood that, in order to facilitate the determination of the target program, a second mapping relationship between the content to be displayed and the target program may be preset, and the second mapping relationship is stored in the other storage device or cloud terminal that is local to the terminal device and has an association relationship with the terminal device, and is directly obtained when needed. For example, the second mapping relationship may be a mapping relationship between content identification information of the content to be presented and program identification information of the target program.
S120, searching an installation catalog of the target program in the system based on the program identification, and acquiring data contents to be displayed under the installation catalog.
Generally, when a program is installed in a terminal device, different installation directories are provided corresponding to program identifiers of the programs, and data related to the programs are stored. Therefore, after the program identifier of the target program is determined, the installation directory of the target program can be searched in the system based on the program identifier, and the data content to be displayed is acquired under the installation directory.
It is understood that, when the content related to the target program is large, the content is generally sorted and stored under the installation directory according to the attribute information of the content related to the target program. The attribute information may be a content category or the like. For example, the contents related to the target program may be stored in advance in a database table included in a data file under the installation directory of the target program according to the attribute information of the contents related to the target program. Correspondingly, when the data content to be displayed is obtained under the installation directory, the data file can be searched under the installation directory, and the database table can be searched in the data file; and reading data from the database table, and analyzing the read data to obtain the data content to be displayed.
In an optional implementation manner of the embodiment of the present invention, when the database table is searched in the data file, the database table corresponding to the data content to be displayed may be determined according to a preset third mapping relationship between the data content and the database table, and the data content may be acquired in the data file storing the database table. The third mapping relationship may be stored in the local storage device of the terminal device, another storage device associated with the terminal device, or a cloud. Correspondingly, when the database table is searched, the third mapping relation is searched and obtained.
It should be noted that, due to different network environments of the terminal device, there may be a situation that timeliness of the read data content to be displayed is poor due to that the data content in the system is not updated in time in synchronization with the content of the server corresponding to the target program. In order to avoid the situation, whether the current application program interface is in the wireless environment or not is detected after the content display triggering operation is detected in the current application program interface and before the program identification is determined based on the triggering operation; and if the current environment is a non-network environment, triggering the operation of determining the program identifier based on the triggering operation, searching the installation catalog of the target program and acquiring the data content to be displayed, so as to display the acquired data content.
Of course, in order to enhance the timeliness of the read data content to be displayed, when it is determined that the current environment is in a networked environment, the data acquisition request may also be directly sent to the server corresponding to the target program, so as to acquire the latest data content to be displayed from the server.
It can be understood that, in order to ensure timeliness of the data content obtained when the terminal device is in the no-network environment next time as much as possible, in an optional implementation manner of the embodiment of the present invention, when it is detected that the terminal device is in the network environment, request information including the last update time of the database table may be sent to the server, so that the server returns the data content of the corresponding database table stored by the server when judging that the last update time is earlier than the last update time of the corresponding database table stored by the server based on the request information; and updating the database table in the data file under the installation directory based on the data content returned by the server.
S130, displaying the acquired data content.
In order to reduce the number of invoked programs, enrich the functions of the application program, and enrich the page display mode, optionally, the acquired data content is displayed, or the acquired data content is displayed in the current application program interface.
It can be understood that, after displaying the acquired data content in the non-network environment, when detecting that the terminal device is in the network environment, in order to ensure timeliness of the displayed data content, further, a request message including the last update time of the database table may be sent to the server, so that the server returns the data content of the corresponding database table stored by the server when judging that the last update time is earlier than the last update time of the corresponding database table stored by the server based on the request message; and updating the displayed data content based on the data content returned by the server.
When the content display triggering operation is detected in the current application program interface, determining a program identifier of a target program for providing data content to be displayed based on the triggering operation; searching an installation directory of a target program in the system based on the program identification, and acquiring data contents to be displayed under the installation directory; and displaying the acquired data content. According to the technical scheme, the target program is searched in the local system, and the data content to be displayed is acquired, so that the data content corresponding to the user triggering operation can be displayed in a network or non-network environment, the page display scheme is enriched, and the user experience is improved.
Example two
Fig. 2A is a flowchart of a page showing method in the second embodiment of the present invention, and the second embodiment of the present invention performs optimization and improvement on the basis of the technical solutions of the above embodiments.
Further, the operation "detecting the content exhibition triggering operation in the current application program interface" is refined into "detecting the triggering operation on the target function entry control in the view container or the view container in the current application program interface" so as to perfect the detection mechanism of the triggering operation on the application program interface.
Further, before the operation of detecting a target function entry control in a view container or a trigger operation of the view container in the current application program interface, additionally determining a plurality of function entry controls corresponding to the view container in the current application program interface; screening at least one function inlet control from the plurality of function inlet controls based on a set reference factor, and determining the arrangement sequence of the screened at least one function inlet control in the view container; and displaying the at least one function entry control in the view container according to the arrangement sequence to further enrich the page display effect and improve the use experience of a user.
A page display method as shown in fig. 2A includes:
s210, determining a plurality of function entrance controls corresponding to the view container in the current application program interface.
S220, screening at least one function inlet control from the plurality of function inlet controls based on set reference factors, and determining the arrangement sequence of the screened at least one function inlet control in the view container.
Wherein, the reference factors comprise: at least one of hardware resource occupation information, user setting information, system configuration information, use frequency information of each function entry control, environment information, and cloud configuration information of the current terminal device. The target functionality portal control comprises: the mobile phone comprises at least one of a mobile phone acceleration function entry control, a garbage cleaning function entry control, a software data cleaning function entry control, an information search function entry control, a voice memo function entry control, an electric quantity management function entry control, a resource management function entry control, a flow-free service entry control and a picture taking view function entry control.
The sorting can adopt a forward sorting mode or a reverse sorting mode.
Optionally, the reference factor includes hardware resource occupation information of the current terminal device; correspondingly, the step of screening out at least one function entry control from the plurality of function entry controls based on the set reference factor, and determining an arrangement order of the screened out at least one function entry control in the view container may be: screening out at least one function entrance control which occupies the least hardware resources of the current terminal equipment from the plurality of function entrance controls, wherein the sum of the hardware resource amount occupied by the at least one function entrance control and the occupied hardware resource amount does not exceed the total hardware resource amount; and sequencing the at least one function entry control according to the hardware resource occupation amount of the at least one function entry control.
Optionally, the reference factor includes user setting information; correspondingly, the step of screening out at least one function entry control from the plurality of function entry controls based on the set reference factor, and determining the arrangement order of the screened out at least one function entry control in the view container may be: screening at least one function inlet control with the highest priority from the plurality of function inlet controls based on priority information of each function inlet control set by a user; and sequencing the at least one function entry control according to the priority set by the user of the at least one function entry control. The user setting information can be stored locally in the terminal device or in a cloud terminal associated with the terminal device in advance.
Optionally, the reference factor includes system configuration information; correspondingly, the step of screening out at least one function entry control from the plurality of function entry controls based on the set reference factor, and determining the arrangement order of the screened out at least one function entry control in the view container may be: screening at least one function inlet control with the highest priority from the plurality of function inlet controls based on the priority information of each function inlet control configured by the system; and sequencing the at least one function entry control according to the system configuration priority of the at least one function entry control. The system configuration information may be pre-stored locally in the terminal device.
Optionally, the reference factor includes information on the frequency of use of each function entry control; accordingly, at least one function entry control is screened from the plurality of function entry controls based on a set reference factor, and determining an arrangement order of the screened at least one function entry control in the view container, which may be: and screening out at least one function entry control with the highest use frequency from the plurality of function entry controls, and sequencing the at least one function entry control according to the use frequency of the at least one function entry control.
Optionally, the reference factor includes environmental information; correspondingly, the step of screening out at least one function entry control from the plurality of function entry controls based on the set reference factor, and determining an arrangement order of the screened out at least one function entry control in the view container may be: and acquiring the use environment information set for each function entry control, screening out at least one function entry control of which the corresponding use environment information is matched with the current environment information from the plurality of function entry controls, and sequencing the at least one function entry control according to the matching degree. The context information may illustratively be a temporal context and/or a location context, etc.
For example, the corresponding relationship between different pieces of usage environment information and each function entry control may be preset, and the corresponding relationship may be stored in advance in the local of the terminal device, in another storage device associated with the terminal device, or in the cloud. Correspondingly, when the function entry controls need to be displayed, the use environment information is obtained and matched for each function entry control locally on the terminal equipment, and other storage equipment or cloud end associated with the terminal equipment.
Illustratively, if the environment information includes a time environment, wherein the time environment includes day and night. Screening out function entry controls matched with the day, such as power management, voice memo, photographing identification and the like, when the current time is in a time period (such as 6; when the current time is in a time period (such as 18-00).
Illustratively, if the context information includes a location context, wherein the location context includes a work area, an entertainment area, a fitness area, and the like. Screening out function entry controls matched with the working area when the current position of the terminal equipment is in the working area, such as file management, voice memo and the like; screening out function entrance controls matched with the entertainment area when the current position of the terminal equipment is in the entertainment area, such as music application, video application, game application and the like; and screening out function entrance controls matched with the fitness area when the current position of the terminal equipment is in the fitness area, such as a pedometer, fitness application, music application and the like.
Optionally, the reference factor includes cloud configuration information; correspondingly, the step of screening out at least one function entry control from the plurality of function entry controls based on the set reference factor, and determining an arrangement order of the screened out at least one function entry control in the view container may be: screening at least one function inlet control with the highest priority from the plurality of function inlet controls based on the priority information of each function inlet control configured by the cloud; and sequencing the at least one function entry control according to the cloud configuration priority of the at least one function entry control. Illustratively, the cloud configuration information may be big data deduction authority information.
S230, displaying the at least one function entrance control in the view container according to the arrangement sequence.
S240, when the triggering operation of the target function entry control in the view container or the view container is detected in the current application program interface, determining the program identification of the target program for providing the data content to be displayed based on the triggering operation.
The schematic diagram of a page showing process shown in fig. 2B is shown. Wherein, the current application program interface comprises a navigation display area 21. Wherein the navigation display area 21 comprises a first navigation area 211 and a second navigation area 212.
The first navigation area 211 is provided with a view container, and the view container contains at least one function entry control for implementing a navigation function, where the function entry control may be a label control or a button control. The target program corresponding to the function entry control may be a hosted program hosted in an application program, and may be, for example, a plug-in or a component such as mobile phone acceleration and deep cleaning, so as to provide corresponding setting services such as mobile phone acceleration and deep cleaning. The target program corresponding to the function entry control can also be other programs independent of the application program, for example, the target program can be a plug-in or a component for simple search, voice memo, power management and the like, so as to provide corresponding services such as search service, memo service, power management and the like. It should be noted that the function entry control displayed in the first navigation area 211 is not fixed, and may be dynamically adjusted according to at least one reference factor of hardware resource occupation information, user setting information, system configuration information, usage frequency information of each function entry control, environment information, and cloud configuration information of the current terminal device.
The second navigation area 212 has a view container disposed therein, and the view container has at least one function entry control disposed therein, wherein the function entry control may be a tab control for displaying a picture. The target program corresponding to the functionality entry control may be another program that exists independently of the application program, for example, a third-party application. It should be noted that the function entry control displayed in the second navigation area 212 is not fixed, and may be dynamically adjusted according to at least one reference factor of the usage frequency information, the user setting information, and the environment information of each function entry control set in the second navigation area 212 by the user.
S250, searching the installation catalog of the target program in the system based on the program identification, and acquiring the data content to be displayed under the installation catalog.
And S260, displaying the acquired data content.
Continuing with the previous example, data content presentation may be performed in the application interface 22 after a trigger operation is performed on the view container in the second navigation area 212.
The method comprises the steps of detecting the content display triggering operation, and refining the step into the step of detecting the triggering operation of a target function entry control or a view container in the current application program interface; before detection, additionally determining a plurality of function entrance controls corresponding to the view container in the current application program interface; screening at least one function inlet control from the plurality of function inlet controls based on set reference factors, and determining the arrangement sequence of the screened at least one function inlet control in the view container; and displaying at least one function entry control in the view container according to the arrangement sequence. According to the technical scheme, the displayed function entry control is dynamically adjusted based on various reference factors, so that different function entry controls are displayed in the view container under different application scenes, the display effect of the page is enriched, the functions of the application program are further improved, and the use experience of a user is improved.
EXAMPLE III
Fig. 3 is a flowchart of a page showing method in the third embodiment of the present invention, and the third embodiment of the present invention performs optimization and improvement on the basis of the technical solutions of the above embodiments.
Furthermore, the page display method also comprises the steps of receiving the data content sent by the target program and displaying the data content sent by the target program on the current application program interface so as to further enrich the functions of the application program.
A page display method as shown in fig. 3 includes:
s310, when the content display triggering operation is detected in the current application program interface, determining the program identification of the target program for providing the data content to be displayed based on the triggering operation.
S320, searching the installation catalog of the target program in the system based on the program identification, and acquiring the data content to be displayed under the installation catalog.
S330, displaying the acquired data content.
S340, receiving the data content sent by the target program, and displaying the data content sent by the target program on a current application program interface.
In this step, the target program may also send data content to the application program; correspondingly, the application program receives the data content sent by the target program and displays the sent data content in the application program interface.
Illustratively, the target program sending data content to the application program may be implemented by means of an automatic trigger.
For example, when the target program is a voice memo plug-in corresponding to the application program, and when the current reminding time recorded in the voice memo plug-in meets the set reminding condition and event reminding is required, a reminding message is generated according to the current reminding event, and the reminding message is sent to the application program, so that the reminding message is displayed through an application program interface.
For another example, when the target program is a downloading program, and after the downloading operation executed by the downloading program is completed, if it is necessary to prompt the user whether to perform subsequent operations such as starting or installing on the downloaded content, the downloading completion information is generated according to the current downloading task, and is sent to the application program, so as to display the downloading completion information through the application program interface, and further prompt the user to perform subsequent processes such as starting or installing on the downloaded content.
For another example, when the target program is a mail program, when the mail program receives a mail, the user needs to be prompted to perform subsequent operation on the received mail, at this time, a mail reminder is generated according to the received mail information, and the mail reminder is sent to the application program so as to display the mail reminder through the application program interface, and then the user is prompted to perform subsequent processing on the received mail. The mail information includes mail subject, mail participant information and the like. The information of the mail participants comprises sender information, and can also comprise carbon copy information and/or recipient information and the like.
Illustratively, the target program sending data content to the application program may be implemented by means of manual triggering.
Illustratively, when the at least one target program interface detects a function triggering operation, generating data content based on the function triggering operation; and sending the generated data content to the current application program, and displaying the data content on the current application program interface.
For example, when the application program interface receives the commodity data sent by at least one shopping object program, the commodity data sent by each shopping object program is displayed. When the user executes screening operation on any target program interface, the target program redetermines the commodity data through the screening operation and sends the redetermined commodity data to the application program so as to update the content displayed by the application program interface. Wherein the screening operation can be based on at least one of distance, price, popularity, and the like.
Optionally, the data content sent by the target program is displayed on the current application program interface, which may be: and carrying out priority sequencing on the data content sent by the target program according to a set rule, and carrying out data display according to a sequencing result.
For example, the data content sent by the target program is prioritized according to a set rule, and the prioritization can be implemented by at least one of the following ways:
carrying out priority sequencing on data contents sent by a target program according to a priority preset by a user; sequencing according to the memory size of the terminal equipment or the CPU resource size occupied by different data content sequences; sorting according to matching programs of different data contents and environment information of the user, wherein the environment information comprises a geographic environment, a time interval or the like; and sorting according to the access frequency of the user to different data contents.
Optionally, the data content sent by the target program is displayed on the current application program interface, which may be: filtering the data content through a preset blacklist and/or screening the data content through a preset white list; and displaying the processed data content on an application program interface. The content contained in the black list and/or the white list can be automatically determined according to the historical operation of the user, and can be manually added or deleted by the user.
In order to ensure that the application program interface can normally display the data content sent by the target program, after the target program sends the data content, the running state of the application program can be detected, when the current application program is not in the running state, the current application program is called up through a daemon process of the current application program, and the data content sent by the target program is displayed in the called-up current application program interface.
It should be noted that, in the embodiment of the present invention, a specific implementation sequence of S340 is not limited at all, that is, S340 may be executed before or after S310 to S330, and may also be executed simultaneously with S310 to S330.
According to the embodiment of the invention, the data content sent by the target program is additionally received, and the data content sent by the target program is displayed on the current application program interface, so that the reverse interaction between the target program and the application program is realized, the page display effect of the application program is enriched, the functions of the application program are further enriched, and the use experience of a user is improved.
Example four
Fig. 4 is a structural diagram of a page display apparatus in a fourth embodiment of the present invention, and the embodiment of the present invention is suitable for a case where a user triggers a program interface to display corresponding data content. The device is realized by software and/or hardware and is specifically configured in the terminal equipment. The terminal equipment can be mobile terminals such as smart phones, tablet computers and personal computers, and can also be fixed equipment such as desktop computers.
A structure diagram of a page presentation apparatus as shown in fig. 4 includes: a program identification determination module 410, a data content acquisition module 420, and a data content presentation module 430.
The program identifier determining module 410 is configured to, when a content display triggering operation is detected in a current application program interface, determine, based on the triggering operation, a program identifier of a target program for providing data content to be displayed;
a data content obtaining module 420, configured to search an installation directory of the target program in a system based on the program identifier, and obtain data content to be displayed in the installation directory;
and a data content display module 430, configured to display the acquired data content.
When a program identifier determining module detects a content display triggering operation in a current application program interface, determining a program identifier of a target program for providing data content to be displayed based on the triggering operation; searching an installation directory of a target program in the system based on the program identification through a data content acquisition module, and acquiring data content to be displayed under the installation directory; and displaying the acquired data content through a data content display module. According to the technical scheme, the target program is searched locally in the system, and the data content needing to be displayed is acquired, so that the data content corresponding to the user triggering operation can be displayed in a network or non-network environment, the page display scheme is enriched, and the user experience is improved.
Further, when the data content obtaining module 420 obtains the data content to be displayed in the installation catalog, it is specifically configured to:
and searching a data file under the installation directory, searching a database table in the data file, reading data from the database table, and analyzing the read data to obtain the data content to be displayed.
Further, the apparatus further comprises a triggering module configured to:
after detecting a content display triggering operation in a current application program interface and before determining the program identifier based on the triggering operation, detecting whether the current application program interface is in a wireless environment, and if so, triggering the operation of determining the program identifier based on the triggering operation.
Further, the apparatus further includes a data content update module, specifically configured to:
after the acquired data content is displayed, when the condition that the data content is in a network environment is detected, sending a request message containing the last update time of the database table to a server, so that the server returns the data content of the corresponding database table stored by the stored server when judging that the last update time is earlier than the last update time of the corresponding database table stored by the server based on the request message;
and updating the displayed data content based on the data content returned by the server.
Further, the program identifier determining module 410, when the content display triggering operation is detected in the current application program interface, is specifically configured to:
detecting a trigger operation on a target function entry control in a view container or the view container in a current application program interface.
Further, the apparatus further includes a function entry control display module, specifically configured to:
determining a plurality of function entry controls corresponding to a view container in a current application program interface before detecting a target function entry control in the view container or a trigger operation of the view container in the current application program interface;
screening at least one function inlet control from the plurality of function inlet controls based on a set reference factor, and determining the arrangement sequence of the screened at least one function inlet control in the view container;
and displaying the at least one function entrance control in the view container according to the arrangement sequence.
Further, the reference factors include: at least one of hardware resource occupation information, user setting information, system configuration information, use frequency information of each function entry control, environment information, and cloud configuration information of the current terminal device. The target functionality entry control comprises: the mobile phone comprises at least one of a mobile phone acceleration function entry control, a garbage cleaning function entry control, a software data cleaning function entry control, an information search function entry control, a voice memo function entry control, an electric quantity management function entry control, a resource management function entry control, a flow-free service entry control and a picture taking view function entry control.
Further, the apparatus further comprises a data content receiving module, configured to:
and receiving the data content sent by the target program, and displaying the data content sent by the target program on a current application program interface.
Further, when the data content receiving module performs displaying of the data content sent by the target program on the current application program interface, the data content receiving module is specifically configured to:
and carrying out priority sequencing on the data content sent by the target program according to a set rule, and carrying out data display according to a sequencing result.
Further, when the data content sent by the target program is displayed on the current application program interface, the data content receiving module is specifically configured to:
and if the current application program is not in the running state, calling the current application program through a daemon process of the current application program, and displaying the data content sent by the target program in a called current application program interface.
The page display device provided by the embodiment of the invention can execute the page display method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of executing the page display method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary terminal device 512 suitable for use in implementing embodiments of the present invention. The terminal device 512 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 invention.
As shown in fig. 5, terminal device 512 is embodied in the form of a general purpose computing device. Components of terminal device 512 may include, but are not limited to: one or more processors or processing units 516, a system memory 528, and a bus 518 that couples the various system components including the system memory 528 and the processing unit 516.
Bus 518 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal device 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal device 512 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 528 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 530 and/or cache memory 532. The terminal device 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 534 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 518 through one or more data media interfaces. Memory 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 540 having a set (at least one) of program modules 542, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in, for example, the memory 528, each of which examples or some combination may include an implementation of a network environment. The program modules 542 generally perform the functions and/or methods of the described embodiments of the invention.
The terminal device 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing device, display 524, etc.), with one or more devices that enable a user to interact with the terminal device 512, and/or with any devices (e.g., network card, modem, etc.) that enable the terminal device 512 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 522. Also, the terminal device 512 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 520. As shown, the network adapter 520 communicates with the other modules of the terminal device 512 via a bus 518. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the terminal device 512, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
The processing unit 516 executes various functional applications and data processing by running at least one program of the programs stored in the system memory 528, for example, to implement a page display method provided by the embodiment of the present invention.
EXAMPLE six
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a page display method provided in any embodiment of the present invention, and the method includes: when a content display triggering operation is detected in a current application program interface, determining a program identifier of a target program for providing data content to be displayed based on the triggering operation; searching an installation catalog of the target program in a system based on the program identification, and acquiring data contents to be displayed under the installation catalog; and displaying the acquired data content.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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 the context of this document, 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.
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 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 wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like 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 latter scenario, 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).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A page display method is characterized by comprising the following steps:
when the trigger operation of a preset control is detected in the current application program interface, if the current situation in a network-free environment is detected, a content display instruction is generated; the preset control is a control which is arranged in the current application program interface and used for navigation and is established with an incidence relation between the current application program and a target program;
when the content display instruction is detected to be generated, analyzing the content display instruction to acquire control identification information of a triggered preset control, and determining the content identification information of the data content to be displayed according to the control identification information;
determining a program identifier of the target program based on the content identification information; the target program is arranged in the current application program or exists independently of the current application program;
searching an installation catalog of the target program in a system based on the program identification, and acquiring data contents to be displayed under the installation catalog; the installation catalog is set when the target program is installed in the terminal equipment;
displaying the acquired data content;
when the condition that the database tables are in a network environment is detected, sending a request message containing the last update time of the database tables to the server side, so that the server side returns the data contents of the corresponding database tables stored by the server side when judging that the last update time is earlier than the last update time of the corresponding database tables stored by the server side based on the request message;
updating the displayed data content based on the data content returned by the server;
the detecting of the trigger operation on the preset control in the current application program interface includes:
detecting a trigger operation on a target function entry control in a view container or the view container in a current application program interface.
2. The method of claim 1, wherein obtaining the data content to be displayed under the installation catalog comprises:
and searching a data file under the installation directory, searching a database table in the data file, reading data from the database table, and analyzing the read data to obtain the data content to be displayed.
3. The method of claim 1, wherein before detecting a trigger operation to a target functionality portal control in a view container or the view container in a current application program interface, the method further comprises:
determining a plurality of function entrance controls corresponding to the view container in the current application program interface;
screening at least one function inlet control from the plurality of function inlet controls based on set reference factors, and determining the arrangement sequence of the screened at least one function inlet control in the view container;
and displaying the at least one function entrance control in the view container according to the arrangement sequence.
4. The method of claim 3, wherein the reference factors comprise: at least one of hardware resource occupation information, user setting information, system configuration information, use frequency information of each function entry control, environment information, and cloud configuration information of the current terminal device.
5. The method of claim 1, wherein the target functionality portal control comprises: the mobile phone comprises at least one of a mobile phone acceleration function entry control, a garbage cleaning function entry control, a software data cleaning function entry control, an information search function entry control, a voice memo function entry control, an electric quantity management function entry control, a resource management function entry control, a flow-free service entry control and a picture taking view function entry control.
6. The method according to any one of claims 1-2, further comprising:
and receiving the data content sent by the target program, and displaying the data content sent by the target program on a current application program interface.
7. The method of claim 6, wherein exposing the data content sent by the target program on a current application program interface comprises:
and carrying out priority sequencing on the data content sent by the target program according to a set rule, and carrying out data display according to a sequencing result.
8. The method of claim 6, wherein exposing the data content sent by the target program on a current application program interface comprises:
and if the current application program is not in the running state, calling the current application program through a daemon process of the current application program, and displaying the data content sent by the target program in a called current application program interface.
9. A page presentation apparatus, comprising:
the program identifier determining module is used for generating a content display instruction if the current network-free environment is detected when the triggering operation of the preset control is detected in the current application program interface; the preset control is a control which is arranged in the current application program interface and used for navigation and is established with an incidence relation between the current application program and a target program;
when the content display instruction is detected to be generated, analyzing the content display instruction to acquire control identification information of a triggered preset control, and determining the content identification information of the data content to be displayed according to the control identification information;
determining a program identifier of the target program based on the content identification information; the target program is arranged in the current application program or exists independently of the current application program;
the data content acquisition module is used for searching an installation catalog of the target program in the system based on the program identification and acquiring data content to be displayed under the installation catalog; the installation catalog is set when the target program is installed in the terminal equipment;
the data content display module is used for displaying the acquired data content;
the data content updating module is used for sending a request message containing the last updating time of the database table to the server when the condition that the server is in a network environment is detected, so that the server returns the data content of the corresponding database table stored by the server when judging that the last updating time is earlier than the last updating time of the corresponding database table stored by the server based on the request message; updating the displayed data content based on the data content returned by the server;
the detecting of the trigger operation on the preset control in the current application program interface includes:
detecting a trigger operation on a target function entry control in a view container or the view container in a current application program interface.
10. A terminal device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a page rendering method as recited in any of claims 1-8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a page rendering method according to any one of claims 1 to 8.
CN201910580528.3A 2019-06-28 2019-06-28 Page display method and device, terminal equipment and storage medium Active CN110297575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910580528.3A CN110297575B (en) 2019-06-28 2019-06-28 Page display method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910580528.3A CN110297575B (en) 2019-06-28 2019-06-28 Page display method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110297575A CN110297575A (en) 2019-10-01
CN110297575B true CN110297575B (en) 2023-01-17

Family

ID=68029726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910580528.3A Active CN110297575B (en) 2019-06-28 2019-06-28 Page display method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110297575B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090823B (en) * 2019-12-23 2024-02-09 广州市百果园信息技术有限公司 Page application integration system, application access method, device and equipment
CN112269619B (en) * 2020-11-13 2023-08-08 中盈优创资讯科技有限公司 Page display method and device based on large data volume

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750722B (en) * 2013-12-30 2019-04-09 腾讯科技(深圳)有限公司 A kind of acquisition of information and methods of exhibiting and device
CN105808282A (en) * 2014-12-31 2016-07-27 北京神州泰岳软件股份有限公司 Method and device for updating webpage contents of application program
CN105808221A (en) * 2014-12-31 2016-07-27 阿里巴巴集团控股有限公司 Card type desktop realization method and apparatus
CN106033361A (en) * 2015-03-13 2016-10-19 阿里巴巴集团控股有限公司 Method and device for showing application page, and method and device for updating application page data
CN105847430B (en) * 2016-05-20 2019-04-16 北京小米移动软件有限公司 Mix application page data access method and device
CN107273194A (en) * 2017-05-23 2017-10-20 北京小度信息科技有限公司 Task executing method and terminal device
CN107506118A (en) * 2017-08-09 2017-12-22 广州市动景计算机科技有限公司 Feature card arrangement collocation method, device and terminal device
CN108563469A (en) * 2017-10-20 2018-09-21 五八有限公司 page loading method, device, storage medium and terminal device
CN108376172A (en) * 2018-02-27 2018-08-07 北京金和网络股份有限公司 The webpage Localization methodologies of mobile client
CN108427583A (en) * 2018-03-14 2018-08-21 五八有限公司 Page display method, device, equipment and the readable storage medium storing program for executing of application program
CN109582891A (en) * 2018-11-16 2019-04-05 百度在线网络技术(北京)有限公司 Web page picture methods of exhibiting, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110297575A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
US11314568B2 (en) Message processing method and apparatus, storage medium, and computer device
CN110309005B (en) Function calling method and device, terminal equipment and storage medium
CN110619076B (en) Search term recommendation method and device, computer and storage medium
CN110309475B (en) Page display method and device, terminal equipment and storage medium
CN110309006B (en) Function calling method and device, terminal equipment and storage medium
CN109815416B (en) Associated information pushing method and device, electronic equipment and storage medium
US20220385612A1 (en) Mail processing method and apparatus, electronic device and storage medium
CN110297575B (en) Page display method and device, terminal equipment and storage medium
CN109561212B (en) Merging method, device, equipment and storage medium for published information
CN112732386A (en) Message processing method, device, terminal and storage medium
CN109117153B (en) Application processing method, device, terminal and storage medium
US20230409816A1 (en) Document update method and apparatus, device, and medium
CN108449255B (en) Comment interaction method and equipment, client device and electronic equipment
US20120297399A1 (en) Automatically updating the display state of the user interface of a client device in a publish/subscribe system
CN112214706A (en) Information publishing method and device, electronic equipment and storage medium
CN115037709A (en) Information processing method, device, electronic equipment and storage medium
CN113157439B (en) Resource statistics method, device and terminal
CN111381819A (en) List creation method and device, electronic equipment and computer-readable storage medium
CN105874874B (en) Method and device for processing information
CN110109597B (en) Singing list switching method, device, system, terminal and storage medium
CN112258244A (en) Method, device, equipment and storage medium for determining task of target object
CN111124627B (en) Method and device for determining call initiator of application program, terminal and storage medium
CN109391537B (en) Information processing method and device and computer storage medium
CN116541591A (en) Information processing method, device, electronic equipment and storage medium
CN113741748A (en) Information display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant